/* Native editorial rows: shared across About and Workshops, including editor. */
.fa-editorial-section { margin-block: 0 4rem; }
/* Prose-only sections, including Legal, keep their existing reading width. */
.entry__content > .fa-editorial-section:has(.wp-block-columns) { max-width: none; }
.fa-editorial-row { margin-block: 0 1.5rem; }
.fa-editorial-row > .wp-block-columns {
  display: flex;
  flex-wrap: nowrap;
  align-items: start;
  gap: 5.5%;
}
.fa-editorial-row .wp-block-column { flex: 1 1 0; min-width: 0; }
.fa-editorial-row .fa-rich-text { max-width: none; margin: 0; }
.fa-editorial-row .wp-block-image { margin: 0; }
.fa-editorial-row .wp-block-image img { height: auto; max-height: none; }
.fa-editorial-row .wp-block-heading { margin-block: 0 1rem; }
.fa-editorial-row h2 { font-size: var(--fa-heading-size, clamp(1.625rem, 2.2vw, 2rem)); }
.fa-editorial-row h4 { font-size: 1.15rem; line-height: 1.4; }
.fa-editorial-row p { margin-bottom: 1rem; }
.fa-editorial-row .wp-block-buttons { display: flex; justify-content: center; }
.fa-editorial-row .wp-block-button { margin-block: 1rem; }
.fa-editorial-feature { margin-bottom: 2rem; }
.fa-editorial-feature .wp-block-image { margin: 0 auto 1.5rem; max-width: 300px; }
/* Explicit native Image dimensions take precedence over the default photo caps. */
.fa-editorial-feature .wp-block-image.is-resized { max-width: 100%; }
.fa-editorial-feature--icon { padding-left: 3rem; position: relative; }
.fa-editorial-feature--icon::before { content: '✿'; color: var(--fa-color-orange); position: absolute; left: 0; font-size: 1.4rem; }
.fa-editorial-feature--icon[class*="is-style-fa-commitment-"]::before { content: ''; background: var(--fa-color-orange); mask: var(--fa-commitment-icon) center / contain no-repeat; position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; }
.fa-editorial-newsletter { background: #fdf3f1; text-align: center; padding: 2rem 12%; }
.fa-editorial-section--dark { padding: 4rem 5%; }
.site-main .fa-editorial-section--dark { background: var(--fa-color-blue-dark); color: white; }
.site-main .fa-editorial-section--dark :is(.wp-block-heading, p, li, a, strong) { color: inherit; }
.fa-editorial-section--dark .fa-editorial-row { margin-bottom: 2rem; }
.fa-editorial-section--dark h2 { margin-inline: auto; }
.fa-editorial-row.fa-media-text { display: block; padding: 0 4% 2rem; margin-top: 3rem; }
.fa-media-text > .wp-block-columns { align-items: center; }
.fa-media-text .wp-block-column:first-child { flex-grow: 1.4; margin-top: -3rem; }
.fa-media-text .wp-block-column:last-child { padding-block: 3rem; }
.fa-mobile-only { display: none; }
.about-page .editorial-rich-content__inner { width: 100%; max-width: none; }
.about-page .fa-editorial-section > .fa-editorial-row { max-width: 1200px; width: 85%; margin-inline: auto; }
.about-page .fa-editorial-section--dark { padding-inline: 0; }
.editorial-hero { place-items: start center; }
.editorial-hero__panel { margin-top: 0; }
.editorial-hero__panel h1 { font-size: var(--fa-heading-size, clamp(1.8rem, 3vw, 2.6rem)); }
.editorial-hero--archive { min-height: 450px; }
.blog-page .editorial-hero__panel { padding-block: 1.5rem 3rem; }
.post-card__body { padding-inline: 1.25rem; }
.post-card__title { font-weight: var(--fa-heading-weight, 400); }
.post-card__title a { color: inherit; text-decoration: none; }

@media (max-width: 980px) {
  .fa-editorial-row > .wp-block-columns { flex-direction: column; gap: 2rem; }
  .fa-editorial-row .wp-block-column { width: 100%; flex-basis: auto; }
  .fa-editorial-section--dark { padding-block: 3rem; }
  .fa-editorial-feature .wp-block-image { max-width: 50%; }
  .fa-media-text .wp-block-column:last-child { padding: 1rem 0 3rem; }
  .fa-editorial-row.fa-media-text { padding-inline: 8%; }
}
@media (max-width: 640px) {
  .fa-mobile-only { display: block; }
  .fa-mobile-center { text-align: center; }
  .fa-editorial-newsletter { padding: 1.5rem 8%; }
  .fa-editorial-section { margin-bottom: 3rem; }
  .fa-editorial-feature .wp-block-image { max-width: 80%; }
}
.fa-hero-copy--tablet,
.fa-hero-copy--mobile { display: none; }
.editorial-hero__signature { width: 209px; height: auto; margin: 20px auto 0; }
@media (min-width: 641px) and (max-width: 980px) {
  .fa-hero-copy--desktop { display: none; }
  .fa-hero-copy--tablet { display: block; }
}
@media (max-width: 640px) {
  .fa-hero-copy--desktop,
  .fa-hero-copy--wide { display: none; }
  .fa-hero-copy--mobile { display: block; }
}

/* Native display headings retain their measure and alignment in both editors. */
.fa-editorial-row h2.has-text-align-center { margin-inline: auto; text-align: center; }
.fa-editorial-section--dark h2 strong { font-family: var(--fa-heading-font, inherit); font-weight: var(--fa-heading-weight, 400); }
.fa-editorial-section--dark .fa-editorial-feature { margin-bottom: 2.5rem; }
.fa-editorial-feature h3 { font-size: var(--fa-heading-size, clamp(1.125rem, 1.7vw, 1.55rem)); }
@media (min-width: 981px), (max-width: 640px) {
  /* Icon feature headings keep their display hierarchy and wrap with the card. */
  .fa-editorial-feature--icon h3 {
    font-size: var(--fa-heading-size, clamp(1.5rem, 2vw, 1.75rem));
    letter-spacing: var(--fa-heading-tracking, 1px);
    line-height: var(--fa-heading-leading, 1.4);
    text-transform: var(--fa-heading-transform, uppercase);
  }
}
@media (max-width: 980px) {
  /* Illustrated narratives retain a heading hierarchy when their columns stack. */
  .fa-editorial-feature:not(.fa-editorial-feature--icon) h3 {
    font-size: var(--fa-heading-size, 1.5rem);
    line-height: var(--fa-heading-leading, 1.4);
    text-transform: var(--fa-heading-transform, uppercase);
  }
}

/* The wide media-and-copy composition extends beyond the prose container. */
.workshops-page .editorial-rich-content__inner { width: calc(100% - 100px); max-width: 1340px; }
.fa-editorial-row.fa-media-text { max-width: none; padding-inline: 4%; background: #fdf3f1; }
@media (min-width: 981px) {
  /* Display sections use the large, light heading variant; prose and media/copy retain their own scale. */
  .fa-editorial-section:has(.wp-block-columns) .fa-editorial-row:not(.fa-media-text) h2 {
    font-family: var(--fa-heading-font, var(--fa-font-display));
    font-size: var(--fa-heading-size, 40px);
    font-weight: var(--fa-heading-weight, 400);
    text-transform: var(--fa-heading-transform, uppercase);
  }
  .fa-editorial-section:has(.wp-block-columns) .fa-editorial-row:not(.fa-media-text) h2 :is(strong, b) {
    font-family: var(--fa-heading-font, inherit);
    font-weight: var(--fa-heading-weight, inherit);
  }
  .fa-media-text .wp-block-column:first-child { flex-grow: 1.5; }
  .fa-media-text .wp-block-image img { aspect-ratio: 698 / 484; object-fit: cover; width: 100%; }
}
@media (max-width: 980px) {
  .workshops-page .editorial-rich-content__inner { width: 95%; }
  .fa-editorial-row.fa-media-text { padding-inline: 8%; }
}
@media (max-width: 640px) {
  .workshops-page .editorial-rich-content__inner { width: 90%; }
  .fa-editorial-row.fa-media-text { padding-inline: 11%; }
  .fa-editorial-row h2 { font-size: var(--fa-heading-size, 26px); line-height: var(--fa-heading-leading, 1.4); }
  .fa-editorial-section:has(.wp-block-columns) .fa-editorial-row:not(.fa-media-text) h2 {
    font-family: var(--fa-heading-font, var(--fa-font-display));
    font-size: var(--fa-heading-size, 32px);
    font-weight: var(--fa-heading-weight, 400);
    text-transform: var(--fa-heading-transform, uppercase);
  }
  .fa-editorial-section:has(.wp-block-columns) .fa-editorial-row:not(.fa-media-text) h2 :is(strong, b) {
    font-family: var(--fa-heading-font, inherit);
    font-weight: var(--fa-heading-weight, inherit);
  }
}

.is-style-fa-commitment-recycle { --fa-commitment-icon: url('../images/commitments/recycle.svg'); }
.is-style-fa-commitment-hand-holding-droplet { --fa-commitment-icon: url('../images/commitments/hand-holding-droplet.svg'); }
.is-style-fa-commitment-spa { --fa-commitment-icon: url('../images/commitments/spa.svg'); }
.is-style-fa-commitment-creative-commons-zero { --fa-commitment-icon: url('../images/commitments/creative-commons-zero.svg'); }
.is-style-fa-commitment-seedling { --fa-commitment-icon: url('../images/commitments/seedling.svg'); }
