/* Десктоп: по 150px отступов слева и справа */
body {
  padding-left: 150px;
  padding-right: 150px;
}


/* Основные переменные цветов из дизайна */
:root {
  --color-dark-bg: #30253C;
  --color-mid-bg: #604A79;
  --color-light-bg: #C1B497;
  --color-highlight: #D9CAA9;
  --color-text-dark: #1e1e1e;
  --color-text-light: #FFFFFF;
  --color-accent:    #d24904;
}

/* Сбросы и базовые стили */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--color-text-dark);
  line-height: 1.6;
  background-color: #FFFFFF;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--color-text-dark);
  margin-bottom: 0.5em;
}
h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.3rem; }
p {
  margin-bottom: 1em;
  font-size: 1rem;
}
a {
  text-decoration: none;
  cursor: pointer;
}

/* Header */
.header {
  background-color: var(--color-dark-bg);
  background-size: cover;
  background-position: center;
  color: var(--color-text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}
.header .logo img {
  height: 32px;
  width: auto;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}
.nav a {
  color: #dddddd;
  font-weight: 600;
}
.nav a:hover {
  color: #ffffff;
}

/* Hero section */
.hero {
  background-image: image-set(
    url('images/Home_header.webp') type("image/webp"),
    url('images/Home_header.png') type("image/png")
  );
  background-size: cover;
  background-position: center;
  color: var(--color-text-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 2rem;
}
.hero-text {
  max-width: 600px;
}
.hero-text h1 {
  color: var(--color-text-light);
}
.hero-text p {
  color: #cccccc;
  font-size: 1.1rem;
  margin-top: 1rem;
}
.hero-image img {
  max-width: 50%;
  height: auto;
}
  
  /* Mission section */
  .mission {
    background-color: var(--color-dark-bg);
    color: var(--color-text-light);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 4rem 2rem;
  }
  .mission-text {
    max-width: 1000px;
  }
  .mission-text h2 {
    color: var(--color-text-light);
  }
  .mission-text p {
    font-size: 1rem;
    margin-top: 1rem;
    line-height: 1.5;
  }
  .mission-image img {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
  }
  
  /* Features section (3 cards) */
.features {
  background-color: var(--color-dark-bg);
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  color: var(--color-text-light); /* общий цвет текста — белый */
}

/* Заголовок и вводный абзац */
.features h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--color-text-light);
}

.features p {
  grid-column: 1 / -1;
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2rem;
  color: #eeeeee; /* чуть светлее белого для описания */
}

/* ─── Desktop: 3 карточки в ряд ─── */
.cards {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.card {
  background-color: #FFF;
  border-radius: 8px;
  padding: 1.5rem;
  flex: 1 1 280px;
  text-align: center;
}

.card img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.1rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: #555555;
}



/* Кнопка под картами */
.section-cta {
  grid-column: 1;        /* привязать в первую колонку */
  justify-self: center;  /* по центру этой колонки */
  margin-top: 2rem;
}
.section-cta .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  font-weight: 600;
  border: none;
  border-radius: 4px;
}

  
  /* Steps section (4 small cards) */
  /* Steps section */
.steps-section {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 4rem 2rem;
}

/* === Steps Section (как в Initiatives) === */
.steps-section {
  background-color: var(--color-dark-bg);
  padding: 4rem 2rem;
}

.steps-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--color-text-light);
  text-align: center;
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.step {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  width: 280px;           /* те же размеры, что и у карточек выше */
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.step img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  margin-bottom: 1rem;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--color-text-dark);
  margin: 0.5rem 1rem;
}

.step p {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.95rem;
  color: #555555;
  margin: 0 1rem 1.5rem;
  line-height: 1.4;
}

.card .img-wrapper,
.step .img-wrapper {
  padding: 0.5rem;            /* отступ вокруг картинки */
  background-color: #FFFFFF;  /* белый фон (тот же, что и у карточки) */
  border-radius: 6px;         /* лёгкое скругление углов */
  margin-bottom: 1rem;        /* отступ под обёрткой для текста */
}

/* Сама картинка растягивается по ширине обёртки */
.card .img-wrapper img,
.step .img-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

/* Убираем прежний прямой вызов img margin у карточек */
.card img,
.step img {
  margin: 0;
}

  
  /* Blog section */
  .blog-section {
    background-color: var(--color-light-bg);
    padding: 4rem 2rem;
    color: var(--color-text-dark);
  }
  .blog-section .section-tag {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #555555;
  }
  .blog-section h2 {
    font-size: 2rem;
    margin-bottom: 0.3rem;
  }
  .blog-section p {
    max-width: 700px;
    margin-bottom: 2rem;
  }
  .blog-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
  }
  .blog-card {
    flex: 1 1 280px;
  }
  .blog-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    display: block;
    margin-bottom: 0.5rem;
  }
  .blog-card .badge {
    background-color: #7f6e52;
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-right: 0.5rem;
  }
  .blog-card .reading-time {
    font-size: 0.8rem;
    color: #333333;
  }
  .blog-card h3 {
    font-size: 1.1rem;
    margin: 0.5rem 0;
  }
  .blog-card a {
    font-size: 0.9rem;
    color: #333333;
    text-decoration: underline;
  }
  
  /* Community CTA (Join Our Community Today) */
  .community-cta {
    background: url('images/Home_CTA_Background.png') center center/cover no-repeat;
    padding: 4rem 2rem;
    text-align: center;
    color: var(--color-text-light);
  }
  .community-cta h2 {
    color: var(--color-text-light);
  }
  .community-cta p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }
  .community-cta .btn {
    padding: 0.75rem 1.5rem;
    background-color: #FFFFFF;
    color: var(--color-dark-bg);
    font-weight: 600;
    border: none;
    border-radius: 4px;
  }
  
  
 /* How-it-works / Description section */
.how-it-works-section {
  background-color: var(--color-light-bg);
  padding: 4rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
}

/* Текстовая часть с увеличенным отступом слева */
.how-it-works-section .text-block {
  flex: 1 1 50%;
  /* Было padding-left: 2rem; */
  padding-left: 6rem;  /* теперь двойной сдвиг */
}

.how-it-works-section .text-block h2 {
  margin-bottom: 1rem;
  width: 850px;
}
.how-it-works-section .text-block p {
  margin-bottom: 1.5rem;
  width: 850px;
}

/* Вкладки */
.tabs {
  margin-bottom: 1.5rem;
}
.tab {
  padding: 1rem;
  width: 850px;
  background-color: #eee;
  border-radius: 4px;
  margin-bottom: 0.5rem;
  cursor: pointer;
}
.tab.active {
  background-color: var(--color-highlight);
  
}
.tab h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.tab p {
  font-size: 0.9rem;
  color: #444444;
}

/* Картинка-иллюстрация */
.how-it-works-section .image-block {
  flex: 1;
  text-align: center;
  padding-right: 6rem;  /* сдвигаем картинку влево */
}

.how-it-works-section .image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* скрытые картинки */
.how-it-works-section .image-block img.hidden {
  display: none;
}



  
  /* Testimonials section */
.testimonials {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 4rem 2rem;
  text-align: center;
}

/* Заголовок */
.testimonials h2 {
  margin-bottom: 0.5rem;
  color: var(--color-text-light);
}

/* Подзаголовок */
.testimonials p {
  margin-bottom: 2rem;
  color: #dddddd; /* можете заменить на var(--color-text-light) или чуть светлее */
}

/* Карточки отзывов */
.testimonial-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

/* Одна карточка */
.testimonial {
  flex: 1 1 300px;
  max-width: 300px;
}

/* Звёзды */
.testimonial .stars {
  color: var(--color-gold, #FFD700);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Сам отзыв */
.testimonial blockquote {
  font-style: italic;
  margin: 0 0 0.5rem;
  color: var(--color-text-light);
}

/* Автор и его титул */
.testimonial .author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.testimonial .author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.testimonial .author .name {
  font-weight: 600;
  color: var(--color-text-light);
}

.testimonial .author .title {
  font-size: 0.9rem;
  color: #cccccc;
}
  
  .author {
    display: flex;
    align-items: center;
    gap: 0.75rem;        /* расстояние между фото и текстовой колонкой */
    justify-content: center;
  }
  
  .author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    flex-shrink: 0;
  }
  
  .author-info {
    display: flex;
    flex-direction: column;
    align-items: center; /* центрируем текст под фото */
  }
  
  .author-info .name {
    white-space: nowrap; /* не даём имени переноситься на новую строку */
    font-weight: 700;
    color: var(--color-text-light);
  }
  
  .author-info .title {
    margin-top: 0.25rem;
    font-size: 0.9rem;
    color: #cccccc;
  }
  
 /* Final CTA (Get Involved) */
 .get-involved-cta {
  background-color: var(--color-mid-bg);
  color: var(--color-text-light);
  text-align: center;
  padding: 4rem 2rem;
}
.get-involved-cta h2 {
  margin-bottom: 1rem;
}
.get-involved-cta p {
  max-width: 600px;
  margin: 0 auto 1.5rem;
}
.get-involved-cta .btn {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  margin-right: 1rem;
}
.get-involved-cta .btn-secondary {
  padding: 0.75rem 1.5rem;
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  font-weight: 600;
  border: none;
  border-radius: 4px;
}

.footer {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
}

/* Главный flex-контейнер */
.footer .footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;      /* на узких экранах будет перенос */
  padding: 1.5rem 2rem;
  gap: 1rem;
}

/* Слева: логотип + текст */
.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Логотип */
.footer-logo img {
  display: block;
  max-height: 40px;
  width: auto;
}

/* Копирайт */
.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  white-space: nowrap;  /* чтобы текст не разбивался */
}
.footer-copy a {
  color: var(--color-text-light);
  text-decoration: underline;
  margin: 0 .25rem;
}

/* Навигация справа */
.footer-nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;      /* при необходимости перенос ссылок */
}
.footer-nav a {
  color: var(--color-text-light);
  text-decoration: none;
  font-size: 0.9rem;
}

.mobile-only {
  display: none;
}
/* ✅ Бургер-меню */
.burger {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--color-text-light);
  position: absolute;
  top: 1.2rem;
  right: 2rem;
  z-index: 1001;
}

@media (max-width: 768px) {
  .burger {
    display: block;
  }

  .nav {
    display: none;
    width: 100%;
    background: var(--color-dark-bg);
    text-align: center;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 1000;
  }

  .nav.active {
    display: block;
  }
}
  

  /* Адаптивность: стили для мобильных устройств */
  @media (max-width: 768px) {
    /* Stack header/nav vertically on mobile */
    .header {
      position: relative;
      height: 60px; /* подбери под свой дизайн */
    }
  
    .header .logo {
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    }
  
    .header .burger {
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
    }

    html, body {
      overflow-x: hidden !important;
    }

    .nav ul {
      flex-direction: column;
      align-items: center;
      gap: 0.5rem;
      margin-top: 1rem;
    }
  
    /* Hero section: stack text and image */
    
    .hero {
      flex-direction: column;
      text-align: center;
    }
    .hero-image img {
      max-width: 80%;
      margin-top: 2rem;
    }
  
    /* Mission section: stack columns */
    .mission {
      flex-direction: column;
      text-align: center;
      align-items: center;
    }
    .mission-text {
      max-width: 90%;
    }
    .mission-image {
      margin-top: 1.5rem;
    }
    .mission-image img {
      max-width: 60%;
    }
  
    /* Initiatives (3 cards) section: center content */
    .initiatives {
      text-align: center;
    }
    .cards {
      display: flex;
      justify-content: flex-start;      /* вот это решает проблему */
      overflow-x: auto;
      -webkit-overflow-scrolling: touch;
      scroll-snap-type: x mandatory;
      gap: 1rem;
      padding-inline: 1rem;
      scroll-padding-inline-start: 1rem;
      margin: 0;
    }
    .cards .card {
      flex: 0 0 calc(100% - 2rem);
      scroll-snap-align: start;
      box-sizing: border-box;
      margin: 0;
      width: auto;
      max-width: none;
    }
    .cards::-webkit-scrollbar {
      display: none;
    }
  
    /* 4 cards */
    .steps-section h2 {
      margin-top: -3rem;}
    .steps {
      display: flex;                          /* horizontal flex */
      justify-content: flex-start;            /* начинаем с первой карточки */
      flex-wrap: nowrap;                      /* ни одной второй строки */
      overflow-x: auto;                       /* горизонтальный скролл */
      -webkit-overflow-scrolling: touch;      /* плавность на iOS */
      scroll-snap-type: x mandatory;          /* включаем snap */
      gap: 1rem;                              /* Abstand zwischen cards */
  
      /* по 1rem «воздуха» слева и справа */
      padding-inline: 1rem;
      /* смещаем точку прилипания на 1rem внутрь */
      scroll-padding-inline-start: 1rem;
  
      margin: 0;                              /* сброс внешних отступов */
    }
  
    /* прячем стандартный скроллбар в WebKit */
    .steps::-webkit-scrollbar {
      display: none;
    }
  
    .step {
      flex: 0 0 80%;                          /* каждая карточка занимает 80% контейнера */
      max-width: 320px;                       /* но не шире 320px */
      scroll-snap-align: start;               /* «прилипает» к началу видимой области */
      box-sizing: border-box;                 /* include padding/border */
      margin: 0;                              /* сбросим любые свои margin */
    }
    
    
    .how-it-works-section h2 {
      margin-top: -3rem; 
    }
    /* How-it-works section: stack text and image */
    .how-it-works-section {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    .how-it-works-section .text-block {
      padding-left: 0;
      padding-right: 0;
      width: 100%;
      max-width: 90%;
    }
  
    .how-it-works-section .tab {
      width: 100%;
      max-width: 100%;
    }
  
    .how-it-works-section .image-block {
      padding-right: 0;
      max-width: 90%;
      margin-top: -1rem;
      margin-bottom: -3rem;
    }
    .how-it-works-section .text-block h2,
    .how-it-works-section .text-block p {
      max-width: 90%;
      margin-left: auto;
      margin-right: auto;
      font-size: 1rem;
      line-height: 1.4;
    }
  

    @media (max-width: 768px) {
      .testimonials .testimonial-cards {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        box-sizing: border-box;
        gap: 1rem;
    
        /* убираем ширину 100vw — пусть контейнер подстраивается под контент */
        width: auto;
        margin: 0;
        padding: 0;
      }
    
      .testimonials .testimonial-cards::-webkit-scrollbar {
        display: none;
      }
    
      .testimonials .testimonial-cards .testimonial {
        /* каждая карточка 80vw ширины */
        flex: 0 0 80vw;
        scroll-snap-align: start;
        box-sizing: border-box;
    
        /* отступ справа между слайдами */
        margin-right: 1rem;
      }
    
      /* добавляем «воздух» слева только для первой карточки */
      .testimonials .testimonial-cards .testimonial:first-child {
        margin-left: calc((100vw - 80vw) / 2);
      }
    
      /* и «воздух» справа только для последней */
      .testimonials .testimonial-cards .testimonial:last-child {
        margin-right: calc((100vw - 80vw) / 2 + 1rem);
          /* +1rem чтобы учесть gap */
      }
    }
    
    
    .get-involved-cta h2 {
      margin-top: -3rem;   
    }
    .mobile-only {
      display: block;
    }
    .get-involved-title {
      /* чуть подтяни наверх, если нужно */
      margin-top: 0.5rem;
    }
    .features .section-cta {
      text-align: center;
      margin: 1rem auto;
      padding: 0 1rem;
      box-sizing: border-box;
    }
    .features .section-cta .btn {
      display: inline-block;
      width: 100%;
      max-width: var(--feature-card-width);
      white-space: nowrap;
      margin: 0 auto;
      box-sizing: border-box;
    }
    .get-involved-cta .cta-buttons {
      text-align: center;  /* центрируем всё содержимое */
    }
  
    .get-involved-cta .btn-secondary {
      display: block;           /* в строку ниже */
      margin: 1rem auto 0;      /* сверху отступ и по центру */
      max-width: 80%;           /* не шире 80% экрана */
      padding: 0.75rem 1rem;     /* можно подправить внутренние отступы */
      box-sizing: border-box;    /* чтобы padding не «ломал» ширину */
    }
    .get-involved-cta .btn-secondary {
      background-color: var(--color-mid-bg) !important;
      color: var(--color-text-light) !important;
      border: none; /* если нужно убрать обводку */
    }

    .mobile-only {
      display: inline-block;
    }

    body {
      margin: 0;
      padding: 0;
    
    }
  
    .hero-text,
    .mission-text,
    .features > h2,
    .features > p,
    .blog-section > h2,
    .blog-section > p,
    .community-cta > h2,
    .community-cta > p {
      max-width: 640px;
      margin-left: auto;
      margin-right: auto;
      margin-top: 0;
      margin-bottom: 0.5rem;
      text-align: left;
    }
    
    .mobile-hide {
      display: none !important;
    }

    .mission-text {
      text-align: left;
      padding-left: 0rem;
      padding-right: rem;
      
    }
    .features {
      text-align: left;
    }
  
    .features h2,
    .features p {
      text-align: left;
      margin-left: 0;
      margin-right: 0;
      margin-top: 0;
      margin-bottom: 0.5rem;
    }

    img, picture {
      max-width: 100%;
      height: auto;
      display: block;
    }

.readmore-hidden {
  display: none;
}

.readmore-hidden.show {
  display: block;
}

.readmore-toggle {
  background: none;
  border: none;
  color: var(--color-accent);
  font-weight: 600;
  cursor: pointer;
  margin-top: 1rem;
  font-size: 1rem;
}

section,
.features,
.mission,
.hero,
.community-cta,
.blog-section,
.testimonials {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero + .mission,
.mission + .features,
.features + .blog-section,
.blog-section + .community-cta {
  margin-top: 0rem;
}

h2 {
  margin-bottom: 0rem;
}

p {
  margin-bottom: 0.8rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  white-space: normal;         /* дозволяє переносити текст */
  display: flex;               /* включає flex */
  flex-wrap: wrap;             /* дозволяє перенос */
  gap: 0.5rem;                 /* невеликий відступ між елементами */
}

  }
  
  /* ===== Contact Page ===== */
.contact-section {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 4rem 2rem;
}

/* Центрируем форму и задаём ей максимальную ширину */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Общие стили для группы поля + лейбла */
.form-group {
  display: flex;
  flex-direction: column;
}

/* Лейблы */
.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Текстовые инпуты и textarea */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  background-color: var(--color-mid-bg);
  border: none;
  border-radius: 4px;
  padding: 0.75rem 1rem;
  color: var(--color-text-light);
  font-size: 1rem;
  font-family: 'Open Sans', sans-serif;
  resize: vertical;
}

/* Фокус в полях */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-highlight);
}

/* Чекбокс и его лейбл */
.checkbox-group {
  flex-direction: row;
  align-items: center;
}

.checkbox-group input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}

/* Ссылка в чекбоксе */
.checkbox-group a {
  color: var(--color-highlight);
  text-decoration: underline;
}

/* Кнопка отправки */
.contact-form .btn {
  align-self: flex-start;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-accent);
  color: var(--color-text-light);
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.contact-form .btn:hover {
  background-color: darken(var(--color-accent), 10%);
}


/* Hero wrapper */
.hero {
  background-color: var(--color-dark-bg);
  color: var(--color-text-light);
  padding: 4rem 2rem 2rem;
  text-align: center;
}

/* Ensure the image spans the text column */
/* Hero-image clamp: never smaller than 200px, never larger than 400px, and at most 50% of its container */
.hero.inner-hero .hero-text .hero-img {
  display: block;
  margin: 0 auto 1.5rem;
  width: 100%;
  max-width: min(400px, 1000%);
  min-width: 200px;
  height: auto;
  border-radius: 8px;
}


/* Typography remains unchanged */
.hero-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.hero-text p {
  font-size: 1.1rem;
  line-height: 1.6;
}


/* === Added modifications === */
.hero-text {
  text-align: left !important;
}
.section-cta.left-align {
  justify-self: start !important;
}
.section-cta.center-align {
  grid-column: 1 / -1 !important;
  justify-self: center !important;
}


@media (max-width: 768px) {
  h1, h2 {
    font-size: 1.6rem !important;
  }
  p {
    font-size: 1rem !important;
  }
}

