/* =========================================================================
   Good Growth Plan (Figma "Good Growth Plan — Nouvelle page", 1139:10325)
   ========================================================================= */
.editorial,
.chapter,
.contact-band {
  --ggp-ink: #17341f;
  --ggp-green: #007a33;
  --ggp-body: #53665a;
  --ggp-tint: #f4f8f5;
  --ggp-line: #d9e6dd;
  --ggp-shadow: 0 18px 20px rgba(18, 53, 31, 0.1);
}

/* Hero: the photo tinted green, a lighter green wash over its lower half. */
.hero--green { min-height: 720px; }
.hero--green .hero__scrim {
  background:
    linear-gradient(180deg, transparent 0%, rgba(11, 111, 56, 0.18) 50%),
    rgba(16, 45, 27, 0.7);
}
.hero--green .hero__inner { max-width: 1048px; }
.hero--green .hero__title {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4.4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.18;
}
.hero--green .hero__subtitle {
  max-width: 892px;
  font-size: 1.1875rem;
  line-height: 30px;
  color: rgba(255, 255, 255, 0.92);
}

/* Editorial intro: text on the left, campaign visual on the right. */
.editorial { padding-block: 64px 66px; background: #fff; }
.editorial__inner {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 600px);
  justify-content: space-between;
  gap: 48px;
  align-items: start;
}
.editorial__text { padding-top: 28px; }
.editorial__eyebrow,
.chapter__eyebrow {
  margin: 0 0 16px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  color: var(--ggp-green);
}
.editorial__title {
  margin: 0 0 27px;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 600;
  line-height: 1.24;
  color: var(--ggp-ink);
}
.editorial__lead {
  margin-bottom: 19px;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 29px;
  color: #33483a;
}
.editorial__body {
  font-size: 1rem;
  line-height: 26px;
  color: #607067;
}
.editorial__quote {
  position: relative;
  margin: 36px 0 0;
  min-height: 126px;
  padding-block: 26px; padding-inline: 25px 30px;
  border: 1px solid #d8e7dd;
  border-radius: var(--r-md);
  background: #f0f7f2;
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 28px;
  color: var(--ggp-ink);
}
.editorial__quote::before {
  content: "";
  position: absolute;
  inset-block: -1px; inset-inline: -1px auto;
  width: 6px;
  border-radius: 6px;
  background: #00a33c;
}

.editorial__visual {
  position: relative;
  aspect-ratio: 600 / 610;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: var(--ggp-shadow);
  background: var(--syn-green-800);
}
.editorial__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial__overlay {
  position: absolute;
  top: 82px;
  inset-inline-start: 0;
  inset-inline-end: 0;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
}
/* Shade behind the banners and hashtag, fading to the right. */
.editorial__overlay::before {
  content: "";
  position: absolute;
  top: -16px;
  inset-inline-start: 0;
  width: 86.7%;
  height: 255px;
  background: linear-gradient(90deg, rgba(13, 46, 32, 0.28), rgba(13, 46, 32, 0));
}
.editorial__banner {
  position: relative;
  width: max-content;
  min-width: 360px;
  max-width: 100%;
  min-height: 68px;
  margin: 0;
  padding-block: 14px 12px; padding-inline: 22px 48px;
  background: url("../../images/campaign-banner-1.svg") 0 0 / 100% 100% no-repeat;
  font-size: 1.375rem;
  line-height: 28px;
}
.editorial__banner + .editorial__banner {
  min-width: 500px;
  min-height: 74px;
  margin-top: -8px;
  padding-top: 16px;
  background-image: url("../../images/campaign-banner-2.svg");
  font-size: 1.25rem;
  line-height: 27px;
}
.editorial__hashtag {
  position: relative;
  margin-block: 20px 0; margin-inline: 94px 0;
  font-size: 1.75rem;
  line-height: 34px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
}

/* Numbered section: "01" beside the heading, blocks underneath. */
.chapter { padding-block: 100px 70px; background: #fff; }
.chapter--light { background: var(--ggp-tint); }
.chapter--has-aside { padding-bottom: 86px; }
.chapter__top {
  display: grid;
  grid-template-columns: 130px minmax(0, 920px);
  align-items: start;
}
.chapter--has-aside .chapter__top {
  grid-template-columns: 130px minmax(0, 650px) minmax(0, 350px);
  justify-content: space-between;
}
.chapter__number {
  margin: -6px 0 0;
  font-family: var(--font-heading);
  font-size: 2.875rem;
  font-weight: 600;
  line-height: 55px;
  color: #d5e5da;
}
.chapter--light .chapter__number { color: #c8ddd0; }
.chapter__title {
  max-width: 780px;
  margin: 0 0 30px;
  font-size: clamp(1.875rem, 3.2vw, 2.625rem);
  font-weight: 600;
  line-height: 1.26;
  color: var(--ggp-ink);
}
.chapter--has-aside .chapter__title { margin-bottom: 22px; font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.25; }
.chapter__intro {
  font-size: 1rem;
  line-height: 27px;
  color: var(--ggp-body);
}
.chapter--has-aside .chapter__intro { font-size: 1.0625rem; line-height: 29px; }
.chapter__aside { margin-top: -16px; }

.chapter__stats,
.chapter__panel { max-width: 1140px; }
.chapter__top + * { margin-top: 46px; }
.chapter__stats + .chapter__panel { margin-top: 52px; }
.chapter__panel + .chapter__panel { margin-top: 28px; }
.chapter__stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.chapter__stats + .chapter__stats { margin-top: 20px; }

/* Key figure card. */
.metric {
  --metric-accent: #00a33c;
  position: relative;
  min-height: 184px;
  padding: 27px 23px 24px;
  border: 1px solid var(--ggp-line);
  border-radius: 18px;
  background: #fff;
}
.metric::before {
  content: "";
  position: absolute;
  inset: -1px -1px auto;
  height: 5px;
  border-radius: 18px;
  background: var(--metric-accent);
}
.metric--amber { --metric-accent: #f49a00; }
.metric--orange { --metric-accent: #e78c22; }
.metric--blue { --metric-accent: #4d87c8; }
.metric--teal { --metric-accent: var(--syn-teal-ink); }
.metric--brick { --metric-accent: var(--syn-brick); }
.metric__value {
  margin: 0 0 10px;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  line-height: 40px;
  color: var(--ggp-ink);
}
.metric__label {
  margin: 0 0 8px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 22px;
  color: #314a3a;
}
.metric__text {
  font-size: 0.8125rem;
  line-height: 20px;
  color: #718078;
}

/* Highlight panels. */
.panel__eyebrow,
.panel__tag-label {
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
}
.panel__eyebrow { font-size: 0.6875rem; line-height: 17px; }
.panel__tag-label { font-size: 0.625rem; line-height: 15px; }
.panel__title { margin: 0; font-weight: 600; }
.panel__number,
.panel__tag-text {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 600;
}

/* Dark card beside the section text. */
.panel--aside {
  display: flex;
  flex-direction: column;
  min-height: 520px;
  padding: 34px 30px 38px;
  border-radius: 22px;
  background: var(--ggp-ink);
  box-shadow: var(--ggp-shadow);
  color: #dce7e0;
}
.panel--aside .panel__eyebrow { margin-bottom: 25px; color: #f49a00; }
.panel--aside .panel__title { margin-bottom: 2px; font-size: 1.75rem; line-height: 38px; color: #fff; }
.panel--aside .panel__text { font-size: 0.9375rem; line-height: 25px; }
.panel--aside .panel__tag {
  margin-top: 38px;
  padding-top: 29px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.panel--aside .panel__tag-label { margin-bottom: 17px; color: #9ed7ae; }
.panel--aside .panel__tag-text { font-size: 1.25rem; line-height: 30px; color: #fff; }

/* Dark band: key figure, a divider, then the text. */
.panel--band-dark {
  display: grid;
  grid-template-columns: 252px minmax(0, 1fr);
  min-height: 220px;
  padding: 34px 34px 38px;
  border-radius: 22px;
  background: var(--ggp-ink);
  color: #d7e5db;
}
.panel--band-dark .panel__number { font-size: 3.125rem; line-height: 58px; color: #fff; }
.panel--band-dark .panel__caption {
  margin: 4px 0 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 21px;
  color: #bfd5c5;
}
.panel--band-dark .panel__body {
  min-height: 148px;
  padding-inline-start: 43px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.16);
}
.panel--band-dark .panel__eyebrow { margin-bottom: 12px; color: #9ed7ae; }
.panel--band-dark .panel__title { margin-bottom: 18px; font-size: 1.5rem; line-height: 32px; color: #fff; }
.panel--band-dark .panel__text { max-width: 720px; font-size: 0.9375rem; line-height: 25px; }
.panel--band-dark .panel__tag { grid-column: 2; padding-inline-start: 43px; }

/* Light band: text on the left, the tag boxed on the right. */
.panel--band-light {
  display: grid;
  grid-template-columns: minmax(0, 820px) 190px;
  justify-content: space-between;
  align-items: start;
  gap: 32px;
  min-height: 234px;
  padding-block: 29px; padding-inline: 31px 50px;
  border: 1px solid #dde9e1;
  border-radius: var(--r-lg);
  background: #f2f7f3;
}
.panel--band-light .panel__figure { display: none; }
.panel--band-light .panel__eyebrow { margin-bottom: 15px; color: var(--ggp-green); }
.panel--band-light .panel__title { margin-bottom: 16px; font-size: 1.5rem; line-height: 32px; color: var(--ggp-ink); }
.panel--band-light .panel__text { font-size: 0.875rem; line-height: 23px; color: #5d6f64; }
.panel--band-light .panel__tag {
  margin-top: 32px;
  min-height: 86px;
  padding: 16px 17px;
  border: 1px solid #d3e3d8;
  border-radius: 14px;
  background: #fff;
}
.panel--band-light .panel__tag-label { margin-bottom: 11px; color: #f49a00; }
.panel--band-light .panel__tag-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 21px;
  color: var(--ggp-ink);
}

/* Contact band: the contact cards in a row. */
.contact-band {
  --contact-ink: var(--ggp-ink);
  padding-block: 101px 150px;
  background: var(--ggp-tint);
}
.contact-band .contact__eyebrow { margin-bottom: 16px; color: var(--ggp-green); }
.contact-band__title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 600;
  line-height: 1.3;
  color: var(--ggp-ink);
}
.contact-band__intro { font-size: 0.9375rem; line-height: 23px; color: #607067; }
.contact-band__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 26px;
  margin-top: 50px;
}
.contact-band__cards > li { min-width: 0; }
.contact-band .contact__card { height: 100%; }

@media (max-width: 1024px) {
  .editorial__text { padding-top: 0; }
  .editorial__visual { width: 100%; max-width: 600px; }

  .chapter--has-aside .chapter__top { grid-template-columns: 60px minmax(0, 100%) minmax(0, 350px); gap: 25px; }
  .chapter__top { grid-template-columns: 60px minmax(0, 100%); gap: 25px; }
  .chapter__aside { max-width: 560px; margin-top: 40px; }
  .panel--aside { min-height: 0; }
  .panel--band-light { padding-inline-end: 31px; min-height: 100%; }
  .panel--band-light .panel__tag { margin-top: 0; justify-self: start; min-width: 190px; }
  .contact-band__cards { justify-content: center; }
}


@media (max-width: 870px) {
    .chapter--has-aside .chapter__top { grid-template-columns: 60px minmax(0, 1fr); }
    .chapter__aside { grid-column: 1 / -1; max-width: initial; }
    .chapter__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .editorial { padding-block: 48px; }
  /* .editorial__inner { grid-template-columns: minmax(0, 1fr); } */
  .editorial__overlay { top: 40px; }
  .editorial__overlay::before { top: -12px; height: 190px; }
  .editorial__banner,
  .editorial__banner + .editorial__banner {
    min-width: 0;
    min-height: 0;
    padding-block: 10px; padding-inline: 16px 36px;
    font-size: 1rem;
    line-height: 22px;
  }
  .editorial__banner + .editorial__banner { margin-top: -6px; padding-top: 12px; }
  .editorial__hashtag { margin-block: 14px 0; margin-inline: 16px 0; font-size: 1.375rem; line-height: 28px; }

  .chapter { padding-block: 56px; }
  .chapter__top,
  .chapter--has-aside .chapter__top { grid-template-columns: minmax(0, 1fr); }
  .chapter__number { margin: 0 0 8px; font-size: 2.25rem; line-height: 44px; }
  .chapter__aside { margin-top: 32px; }
  .chapter__top + * { margin-top: 32px; }
  .chapter__stats + .chapter__panel { margin-top: 32px; }
  /* .chapter__stats { grid-template-columns: minmax(0, 1fr); gap: 16px; } */
  .metric { min-height: 0; }

  .panel--aside,
  .panel--band-dark,
  .panel--band-light { padding: 28px 22px; }
  .panel--band-dark { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .panel--band-dark .panel__body { min-height: 0; padding: 20px 0 0; border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, 0.16); }
  .panel--band-dark .panel__tag { grid-column: auto; padding-inline-start: 0; }

  .contact-band { padding-block: 56px 72px; }
  /* .contact-band__cards { flex-direction: column; margin-top: 32px; } */
}

@media (max-width: 690px) {
  .editorial__inner { grid-template-columns: minmax(0, 1fr); }
  .editorial__visual { margin-inline: auto; }
  /* .chapter__stats { grid-template-columns: minmax(0, 1fr); gap: 16px; } */
  .contact-band__cards { flex-direction: column; margin-top: 32px; }
  .panel--band-light { grid-template-columns: minmax(0, 1fr); gap: 20px; }

}

@media (max-width: 450px) {
  .chapter__stats { grid-template-columns: minmax(0, 1fr); gap: 16px; }

}
/* Tablets: a row of exactly three cards stays on one line instead of two
   cards plus one alone underneath (cultures, icon cards, latest news). */
@media (min-width: 721px) and (max-width: 1024px) {
  .card-grid--grid .card-grid__items:has(> * > :nth-child(3):last-child),
  .features--icons .features__items:has(> * > :nth-child(3):last-child),
  .block-ref__content .views-element-container > div:has(> :nth-child(3):last-child) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
  /* Narrower news cards: smaller type, and the links lined up at the foot. */
  .block-ref__content .teaser__body { padding: 20px; }
  .block-ref__content .teaser__title { margin: 10px 0; font-size: 1.05rem; }
  .block-ref__content .teaser__text { margin-bottom: 18px; font-size: 0.85rem; -webkit-line-clamp: 4; }
  .block-ref__content .teaser__text + .teaser__link { margin-top: auto; }
}

