@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* Zmienne CSS - łatwa konfiguracja kolorów i czcionek */
:root {
  /* Kolory */
  --primary-color: #b59a71;
  /* Główny kolor akcentowy (Fiolet) */
  --secondary-color: #b9945c95;
  /* Jaśniejszy fiolet */
  --background-color: #ffffff;
  /* Tło strony */
  --text-color: #4e4d4d;
  /* Główny kolor tekstu */
  --light-text-color: #8b8b8b;
  /* Tekst poboczny */
  --white: #ffffff;

  /* Nagłówek i Stopka */
  --header-bg: #e7d8b9;
  --footer-bg: #212121;
  --footer-text: #ffffff;

  /* Czcionki */
  --font-heading: "Playfair Display", serif;
  --font-body: "Lato", sans-serif;

  /* Inne */
  --header-height: 80px;
  --border-radius: 8px;
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html {
  scroll-behavior: smooth;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[id] {
  scroll-margin-top: calc(var(--header-height) + 15px);
}

body {
  font-family: var(--font-body);
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
  /* Zapobiega przykryciu treści przez nagłówek */
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Nagłówek */
#main-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: var(--header-bg);
  box-shadow: var(--box-shadow);
  z-index: 1000;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  height: 100%;
}

.logo img {
  height: 60px;
  width: auto;
  mix-blend-mode: multiply;
}

/* Nawigacja */
#main-nav ul {
  display: flex;
  gap: 30px;
}

.nav-link {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-color);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Hamburger Menu (Domyślnie ukryte) */
/* Hamburger Menu (Domyślnie ukryte) */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  color: var(--text-color);
}

.hamburger .material-symbols-rounded {
  font-size: 36px;
  display: block;
}

/* Sekcje Główne */
.content-section {
  padding: 40px 0;
  min-height: calc(100vh - var(--header-height) - 150px);
  /* przybliżona wysokość stopki */
  animation: fadeIn 0.5s ease-in-out;
}

.content-section.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sekcja Home */
.home-container {
  display: flex;
  gap: 40px;
  align-items: center;
}

.home-image-wrapper {
  flex: 1;
}

.home-image-wrapper.mobile-image {
  display: none;
}

.home-text-wrapper {
  flex: 1;
  background: #fefcf5;
  padding: 3rem;
  border-radius: var(--border-radius);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-text-wrapper h1 {
  text-align: center !important;
}

/* Reset lead paragraph style on homepage since the whole box has it now */
.home-text-wrapper.doc-content > p:first-of-type {
  background: none;
  padding: 0;
  margin-bottom: 1.25rem;
}

/* Homepage specific centering for the offer highlights */
.home-offer-summary {
  text-align: center;
  margin-top: 1rem;
}

.home-offer-summary ul {
  display: inline-block;
  text-align: left;
  margin: 1rem 0;
}

.home-text-wrapper .home-offer-summary p,
.home-offer-summary p {
  text-align: center !important;
  margin-top: 1rem;
}

/* Sekcja O Mnie - Nowy układ Hero */
.about-hero {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.about-hero-image {
  flex: 0 0 400px;
}

.about-hero-text {
  flex: 1;
}

.about-hero-text h1 {
  margin-top: 0;
}

@media (max-width: 992px) {
  .about-hero {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .about-hero-image {
    flex: 0 0 auto;
    max-width: 100%;
  }
}

.about-reversed-hero {
  display: flex;
  gap: 60px;
  align-items: center;
  margin: 10px 0 60px 0;
}

@media (max-width: 992px) {
  .about-reversed-hero {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
    text-align: center;
  }
}

/* Sekcja Oferta */
.offer-content {
  display: flex;
  gap: 40px;
  margin-top: 30px;
}

.offer-table-wrapper {
  flex: 1;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.offer-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  overflow: hidden;
}

#offer .doc-content .offer-table th,
#offer .doc-content .offer-table td {
  padding: 30px 15px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
}

.offer-table th {
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 700;
}

.offer-table tr:hover {
  background-color: #f5f5f5;
}

.offer-images {
  flex: 1;
}

.offer-images img {
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sekcja Kontakt */
.contact-container {
  max-width: 600px;
}

#contact-form {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin-top: 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #aaaaaa;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  background-color: #fefcf5;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}

.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white) !important;
  text-decoration: none !important;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  transition: background-color 0.3s;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  text-decoration: none !important;
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Komunikaty statusu formularza */
.form-status {
  margin-bottom: 12px;
  font-size: 0.95rem;
  min-height: 1.4em;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.form-status--success {
  color: #2e7d32;
  background-color: #e8f5e9;
  padding: 10px 14px;
}

.form-status--error {
  color: #c62828;
  background-color: #ffebee;
  padding: 10px 14px;
}

/* Stopka */
footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 0;
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-info h3 {
  color: var(--white);
  margin-bottom: 15px;
}

.footer-info a {
  color: var(--secondary-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsywność (Mobile) */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #main-nav {
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--header-bg);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);

    /* Chowanie menu */
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
  }

  #main-nav.open {
    max-height: 300px;
    padding: 20px 0;
  }

  #main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .about-container {
    flex-direction: column-reverse;
    /* Obrazek na górze lub dole */
  }

  .home-container {
    flex-direction: column;
  }

  .home-text-wrapper h1,
  #home h1 {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    line-height: 1.3 !important;
    text-align: center !important;
    margin-bottom: 0.5rem !important;
  }

  .home-text-wrapper {
    padding: 1.5rem 1.25rem !important;
  }

  /* Wyjustowany tekst z większą liczbą słów w wierszu, dopasowanym rozmiarem i dzieleniem słów na 2 wiersze */
  .home-text-wrapper p,
  .home-text-wrapper.doc-content p {
    font-size: clamp(0.88rem, 3.6vw, 0.95rem) !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: left !important;
    hyphens: auto !important;
    -webkit-hyphens: auto !important;
    -ms-hyphens: auto !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    letter-spacing: -0.015em !important;
    word-spacing: -0.02em !important;
  }

  .home-text-wrapper p.text-center,
  .home-text-wrapper .text-center,
  .home-text-wrapper .text-center p {
    text-align: center !important;
    text-align-last: center !important;
  }

  .home-image-wrapper.desktop-image {
    display: none;
  }

  .home-image-wrapper.mobile-image {
    display: block;
    margin: 0.75rem 0 1.5rem 0;
    width: 100%;
  }

  .home-image-wrapper.mobile-image img {
    width: 100%;
    border-radius: var(--border-radius);
  }

  .offer-content {
    flex-direction: column;
  }

  /* Nagłówki wyłącznie z wyrazem "Cennik" (H2 w sekcji Oferta) w 1 wierszu na mobile */
  #offer .doc-content h2 {
    font-size: clamp(0.82rem, 4.3vw, 1.4rem) !important;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  /* Brak dzielenia wyrazów na pół w widoku mobilnym - przenoszenie całych słów */
  p, .doc-content p, h1, h2, h3, h4, li, a {
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: left;
  }

  /* Responsywna tabela w ofercie (karty na urządzeniach mobilnych) */
  .offer-table,
  .offer-table tbody,
  .offer-table tr,
  .offer-table td {
    display: block;
    width: 100%;
  }

  .offer-table thead {
    display: none;
  }

  .offer-table tr {
    margin-bottom: 20px;
    border: 1px solid rgba(181, 154, 113, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background: #fefcf5;
    padding: 12px 16px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  }

  .offer-table tr:hover,
  .offer-table tr:active {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(181, 154, 113, 0.25);
  }

  #offer .doc-content .offer-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: right !important;
    padding: 10px 0 !important;
    border-bottom: 1px solid #eeeeee;
    font-size: 0.85rem;
    color: var(--text-color);
    font-weight: 400;
  }

  #offer .doc-content .offer-table td a {
    color: var(--text-color) !important;
    font-weight: 400 !important;
    font-size: 0.85rem !important;
  }

  #offer .doc-content .offer-table td:last-child {
    border-bottom: none;
  }

  #offer .doc-content .offer-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: var(--primary-color);
    text-align: left;
    padding-right: 15px;
    font-size: 0.88rem;
    flex-shrink: 0;
    max-width: 50%;
  }
}

/* Hover efekt na nagłówkach sekcji oferty (grafika + tytuł razem) */
#lekcje-spiewu,
#emisja-glosu,
#logopedia,
#zajecia-grupowe {
  transition: opacity 0.4s ease;
  cursor: default;
}

#lekcje-spiewu:hover,
#emisja-glosu:hover,
#logopedia:hover,
#zajecia-grupowe:hover {
  opacity: 0.5;
}

/* Footnotes for Offer Table */
.offer-footnotes {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--light-text-color);
  font-style: italic;
}

.offer-footnotes p {
  margin-bottom: 5px;
}

/* Checkbox zgody RODO */
.form-group--checkbox {
  margin-bottom: 16px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--light-text-color);
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.rodo-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 700;
}

.rodo-link:hover {
  color: #8f7a59;
}

/* Contact Section */
#contact .doc-content {
  text-align: center;
  margin-bottom: 30px;
}

#contact .doc-content p {
  margin-bottom: 10px;
  text-align: center !important;
}

.contact-socials {
  margin-top: 30px;
  text-align: center;
}

.contact-socials h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  color: var(--text-color);
}

.contact-socials ul {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Unify social links and offer table links style */
.contact-socials a,
.doc-content .contact-socials a,
.offer-table td a {
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-flex; /* Use inline-flex for consistent behavior */
  align-items: center;
}

.contact-socials a:hover,
.doc-content .contact-socials a:hover,
.offer-table td a:hover {
  text-decoration: none;
  color: #8f7a59; /* Darker shade of primary color */
}

/* Remove bullets/dots from social lists inside doc-content */
.doc-content .social-list li::before {
  content: none;
}

.doc-content .social-list li {
  padding-left: 0;
}

.social-icon {
  font-size: 1.2em;
  margin-right: 8px; /* Slightly increased for better spacing with text */
}
.blog-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 30px;
}

.blog-item {
  display: flex;
  gap: 30px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  align-items: flex-start;
}

.blog-image {
  flex-shrink: 0;
}

.blog-image img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: opacity 0.3s ease;
}

.blog-image img:hover {
  opacity: 0.5;
}

.blog-content {
  flex: 1;
}

.blog-content h2 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blog-intro {
  margin-bottom: 20px;
  color: var(--text-color);
}

.blog-content .btn-primary {
  display: inline-block;
  width: auto;
  text-decoration: none;
}

@media (max-width: 768px) {
  .blog-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-content {
    width: 100%;
  }

  .blog-header-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 10px;
  }

  .blog-header-img {
    width: 200px;
    height: 200px;
    margin: 0 auto;
  }
}

/* --- Migrated Inline Styles --- */

/* Utility Classes */
.text-decoration-none {
  text-decoration: none !important;
}

.w-full-auto {
  width: 100%;
  height: auto;
}

.text-center {
  text-align: center !important;
}

.d-inline-block {
  display: inline-block;
}

.w-auto {
  width: auto;
}

/* Flexbox Utilities */
.d-flex {
  display: flex !important;
}

.align-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.flex-column {
  flex-direction: column;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.flex-1 {
  flex: 1;
}

.gradient-box {
  background: #fefcf5;
  padding: 1.5rem 2rem;
  border-radius: var(--border-radius);
  margin: 2rem 0;
}

.gradient-box p:first-child {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.gradient-box *:last-child,
.gradient-box ul:last-child li:last-child {
  margin-bottom: 0;
}

.gap-20 {
  gap: 20px;
}

.nowrap {
  white-space: nowrap !important;
  hyphens: none !important;
  -webkit-hyphens: none !important;
  -ms-hyphens: none !important;
}

/* Margins & Paddings */
.m-0 {
  margin: 0 !important;
}

.p-0 {
  padding: 0 !important;
}

.my-20 {
  margin-top: 20px;
  margin-bottom: 20px;
}

.my-40 {
  margin-top: 40px;
  margin-bottom: 40px;
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.mb-100 {
  margin-bottom: 100px;
}

.mt-0 {
  margin-top: 0 !important;
}

.mt-20 {
  margin-top: 20px;
}

.mt-50 {
  margin-top: 50px;
}

.mt-70 {
  margin-top: 70px;
}

.mt-75 {
  margin-top: 75px;
}

.mb-75 {
  margin-bottom: 75px;
}

.mt-100 {
  margin-top: 100px;
}

/* Google Docs Export Image Containers */
.g-image-container {
  overflow: hidden;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  flex-shrink: 0;
  transform: rotate(0rad) translateZ(0px);
  -webkit-transform: rotate(0rad) translateZ(0px);
}

.g-image {
  margin-left: 0;
  margin-top: 0;
  object-fit: contain;
  transform: rotate(0rad) translateZ(0px);
  -webkit-transform: rotate(0rad) translateZ(0px);
}

/* Specific Dimensions */
.size-portret {
  max-width: 601.7px;
  width: 100%;
  height: auto;
}

.size-offer-icon-1,
.size-offer-icon-2,
.size-offer-icon-3,
.size-offer-icon-4 {
  width: 75px;
  height: 75px;
  flex-shrink: 0;
}

/* Blog Specific Styles */
.blog-header-box {
  background-color: #fefcf5;
  padding: 20px;
  border-radius: 8px;
}

.blog-header-box h3 {
  font-family: 'Bebas Neue', 'Cinzel', sans-serif !important;
  font-size: clamp(2rem, 4.5vw, 3.5rem) !important;
  line-height: 1.1;
  letter-spacing: 0.06em;
}

.blog-header-img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: var(--border-radius);
  transition: opacity 0.3s ease;
}

.blog-header-img:hover {
  opacity: 0.5;
}

.author-profile-container {
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.author-img-circle {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
}

.author-name {
  font-weight: bold;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

/* =============================================
   Document Content Styles (O mnie, Oferta, etc.)
   ============================================= */

.doc-content {
  line-height: 1.8;
}

/* Paragraphs with better spacing */
.doc-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
  hyphens: none;
  -webkit-hyphens: none;
}

/* Main section heading */
.doc-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  position: relative;
}

/* Section subheadings */
.doc-content h2 {
  font-size: 1.75rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

/* Sub-subheadings */
.doc-content h3 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  color: var(--primary-color);
}

/* Lists styling with proper indentation and bullets */
.doc-content ul {
  margin: 1.5rem 0;
  padding-left: 0;
  list-style: none;
}

.doc-content ul li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  line-height: 1.7;
}

/* Custom bullet points - all solid */
.doc-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  background-color: var(--primary-color);
  border-radius: 50%;
  opacity: 0.8;
}

/* Highlight first part of list items (before colon) */
.doc-content ul li strong,
.doc-content ul li b {
  color: var(--text-color);
  font-weight: 700;
}

/* Lead paragraph styling */
.doc-content > p:first-of-type {
  font-size: 1.1rem;
  color: var(--text-color);
  background: #fefcf5;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

/* Class to remove lead styling when not needed */
.doc-content p.not-lead {
  background: none !important;
  padding: 0 !important;
  font-size: var(--body-font-size, inherit) !important;
  margin-bottom: 1.25rem;
}

/* Horizontal rules as section separators */
.doc-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--primary-color),
    transparent
  );
  margin: 3rem 0;
  opacity: 0.5;
}

/* Question/intro paragraphs before lists */
.doc-content ul + p,
.doc-content p + ul {
  margin-top: 1.5rem;
}

/* Special styling for "Co wspólnie wypracujemy?" etc. */
.doc-content p.section-title,
.doc-content p:has(+ ul) {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
}

/* Images in doc content */
.doc-content .g-image-container {
  margin: 2rem 0;
  display: block;
}

.doc-content .g-image-container.size-offer-icon-1,
.doc-content .g-image-container.size-offer-icon-2,
.doc-content .g-image-container.size-offer-icon-3,
.doc-content .g-image-container.size-offer-icon-4 {
  margin: 3rem 0 1rem 0;
}

/* Info boxes for special callouts */
.doc-content .info-box {
  background: #fefcf5;
  border: 1px solid rgba(181, 154, 113, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin: 2rem 0;
}

/* Emphasized paragraphs */
.doc-content em {
  font-style: italic;
  color: var(--light-text-color);
}

/* Strong text */
.doc-content strong {
  font-weight: 700;
  color: var(--text-color);
}

/* Links within content */
.doc-content a {
  color: var(--primary-color);
  text-decoration: underline;
  text-decoration-color: rgba(181, 154, 113, 0.4);
  text-underline-offset: 3px;
  transition: all 0.3s ease;
}

.doc-content a:hover {
  text-decoration-color: var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .doc-content h1 {
    font-size: 2rem;
  }

  .doc-content h2 {
    font-size: 1.5rem;
  }

  .doc-content h3 {
    font-size: 1.2rem;
  }

  .doc-content ul li {
    padding-left: 1.5rem;
  }

  .doc-content > p:first-of-type {
    padding: 1rem;
  }
}

/* Grupy zajęciowe */
.groups-container {
  display: flex;
  gap: 20px;
  margin-top: 2rem;
}

.group-card {
  flex: 1;
  background: #fefcf5;
  border: 1px solid rgba(181, 154, 113, 0.3);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--box-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.group-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.group-card h4 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  border-bottom: 1px solid rgba(181, 154, 113, 0.2);
  padding-bottom: 0.5rem;
}

.group-card ul {
  margin: 0 !important;
  padding: 0 !important;
}

.group-card ul li {
  margin-bottom: 0.5rem !important;
  padding-left: 1.5rem !important;
}

.group-card ul li::before {
  top: 0.5rem !important;
}

@media (max-width: 768px) {
  .groups-container {
    flex-direction: column;
  }
}

/* Editorial Image Floats for Blog */
.blog-float-img-right {
  float: right;
  margin: 0 0 15px 25px;
  max-width: 220px;
  width: 100%;
}

.blog-float-img-left {
  float: left;
  margin: 0 25px 15px 0;
  max-width: 220px;
  width: 100%;
}

.blog-float-img-right img,
.blog-float-img-left img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  display: block;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

@media (max-width: 768px) {
  .blog-float-img-right,
  .blog-float-img-left {
    float: none;
    margin: 20px auto;
    max-width: 320px;
  }
}

/* Wymuszenie wyjustowania tekstu w artykułach bloga */
.doc-content p {
  text-align: justify !important;
  text-justify: inter-word;
}

/* Container for readable article widths */
.container--readable {
  max-width: 800px;
  margin: 0 auto;
}

/* Blockquotes in articles */
.doc-content blockquote {
  border-left: 4px solid var(--primary-color);
  background-color: #fefcf5;
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-color);
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.doc-content blockquote strong {
  color: var(--primary-color);
}

/* Image captions in blog */
.blog-float-img-right .caption,
.blog-float-img-left .caption {
  display: block;
  font-size: 0.8rem;
  color: var(--light-text-color);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
  line-height: 1.4;
}

/* Call to Action Box w artykule */
.blog-cta-box {
  background-color: #fefcf5;
  border: 1.5px solid var(--primary-color);
  border-radius: var(--border-radius);
  padding: 30px 25px;
  margin: 35px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(181, 154, 113, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-cta-box:hover {
  box-shadow: 0 8px 22px rgba(181, 154, 113, 0.25);
  transform: translateY(-2px);
}

.blog-cta-box p {
  text-align: center !important;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 20px !important;
  line-height: 1.5;
}


