/* Forum and workshop refinements, scoped to the requested pages. */
body[data-page-color="forum"] {
  --page-canvas: #edf2e7;
  --page-tint: #d2e0c6;
  --page-panel: #dce7d3;
  --page-paper: #f8fbf4;
}

body[data-page-color="workshop"] {
  --page-canvas: #f0f3ea;
  --page-tint: #d8e4d3;
  --page-panel: #dde6d4;
  --page-paper: #fbfcf7;
}

body[data-page-color="forum"] .page-hero--immersive::after {
  background: linear-gradient(90deg, rgba(13, 36, 26, .95), rgba(13, 36, 26, .88) 36%, rgba(13, 36, 26, .47) 58%, rgba(13, 36, 26, .02) 81%);
}

body[data-page-color="forum"] .page-hero--immersive .page-hero-photo img {
  object-position: 65% 53%;
}

body[data-page-color="workshop"] .page-hero--immersive {
  min-height: clamp(820px, 60vw, 1080px);
  background-color: #10342f;
}

body[data-page-color="workshop"] .page-hero--immersive::after {
  background: linear-gradient(90deg, rgba(7, 34, 30, .94), rgba(7, 34, 30, .87) 37%, rgba(7, 34, 30, .43) 57%, rgba(7, 34, 30, .01) 80%);
}

body[data-page-color="workshop"] .page-hero--immersive .page-hero-photo img {
  object-position: 67% 55%;
}

body[data-page-color="workshop"] .page-hero--immersive .page-hero-copy {
  width: min(57%, 740px);
}

body[data-page-color="workshop"] .page-hero--immersive h1 {
  font-size: clamp(3.4rem, 6vw, 7rem);
}

body[data-page-color="workshop"] .page-hero--immersive h1 em {
  color: #e6bc9d;
  font-weight: 400;
}

.workshop-hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 24px;
  padding-top: 19px;
  border-top: 1px solid rgba(248, 246, 234, .4);
  color: #f8f6ea;
  font-size: .92rem;
  line-height: 1.6;
}

body[data-page-color="workshop"] .page-hero--immersive .actions,
body[data-page-color="forum"] .page-hero--immersive .actions {
  margin-top: 26px;
  gap: 12px;
}

body[data-page-color="forum"] .page-hero--immersive .button,
body[data-page-color="workshop"] .page-hero--immersive .button,
.workshop-feature .button {
  min-height: 48px;
  max-width: 100%;
  padding: 14px 22px;
  border: 1px solid #f6f4e9;
  border-radius: 2px;
  background: #f6f4e9;
  color: #203e32;
  font-size: .9rem;
  line-height: 1.4;
}

body[data-page-color="workshop"] .page-hero--immersive .button.outline {
  border-color: #f6f4e9;
  background: transparent;
  color: #f6f4e9;
}

body[data-page-color="forum"] .page-hero--immersive .button:hover,
body[data-page-color="workshop"] .page-hero--immersive .button:hover,
.workshop-feature .button:hover {
  border-color: #e6bc9d;
  background: #e6bc9d;
  color: #203e32;
}

body[data-page-color="forum"] .page-hero--immersive .button:focus-visible,
body[data-page-color="workshop"] .page-hero--immersive .button:focus-visible,
.workshop-feature .button:focus-visible {
  outline: 3px solid #f6f4e9;
  outline-offset: 5px;
}

.forum-community-photo {
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) 5% 0;
}

.forum-community-photo img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: contain;
}

.forum-community-photo figcaption {
  margin-top: 14px;
  color: #405d48;
  font-size: .85rem;
}

body[data-page-color="education"] .education-workshop-link,
body[data-page-color="education"] .education-team-link {
  margin-top: 14px;
}

.workshop-feature {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 610px;
  margin: 14px 0 60px;
  overflow: hidden;
  background: #10342f;
  color: #fdfbf5;
}

.workshop-feature > img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
}

.workshop-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(7, 34, 30, .96), rgba(7, 34, 30, .88) 48%, rgba(7, 34, 30, .10) 91%);
}

.workshop-feature-copy {
  position: relative;
  z-index: 2;
  width: 75%;
  padding: clamp(32px, 4vw, 58px);
}

body[data-page-color="education"] .workshop-feature .eyebrow {
  margin: 0 0 22px;
  color: #e5ecdd;
  font-size: .78rem;
  letter-spacing: .13em;
}

.workshop-feature h2 {
  margin: 0 0 24px;
  color: #fdfbf5;
  font-size: clamp(3rem, 4.5vw, 4.7rem);
  font-weight: 400;
  line-height: 1.02;
}

.workshop-feature p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 23px;
  color: #fdfbf5;
  font-size: 1.05rem;
  line-height: 1.6;
}

.workshop-feature .workshop-feature-meta {
  font-size: .9rem;
}

body[data-page-color="workshop"] .side-note {
  padding: 27px;
  border-top: 0;
  background: #dde6d4;
}

.workshop-facts {
  margin: 0;
}

.workshop-facts > div + div {
  margin-top: 23px;
}

.workshop-facts dt {
  margin-bottom: 5px;
  color: #46624b;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.workshop-facts dd {
  margin: 0;
  color: #263d34;
  font-family: var(--serif);
  font-size: 1.8rem;
  line-height: 1.2;
}

body[data-page-color="workshop"] .side-note .button {
  width: 100%;
  margin-top: 28px;
  padding-inline: 12px;
  gap: 8px;
}

.workshop-practice,
.workshop-takeaways {
  padding-left: 23px;
  color: #3f5245;
  font-size: 1.05rem;
  line-height: 1.7;
}

.workshop-practice li,
.workshop-takeaways li {
  margin-bottom: 20px;
  padding-left: 5px;
}

.workshop-practice strong {
  display: block;
  color: #263d34;
  font-weight: 600;
}

.workshop-registration {
  scroll-margin-top: 28px;
}

.workshop-registration .registration-schedule {
  font-weight: 600;
  color: #263d34;
}

#workshop-details {
  scroll-margin-top: 28px;
}

@media (max-width: 1000px) {
  body[data-page-color="workshop"] .content-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  body[data-page-color="workshop"] .side-note {
    position: static;
    width: 100%;
  }

  .workshop-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
  }

  .workshop-facts > div + div {
    margin-top: 0;
  }

  body[data-page-color="workshop"] .side-note .button {
    width: auto;
  }
}

@media (max-width: 760px) {
  body[data-page-color="forum"] .page-hero--immersive::after {
    background: linear-gradient(180deg, rgba(13, 36, 26, .96), rgba(13, 36, 26, .87) 52%, rgba(13, 36, 26, .08) 90%);
  }

  body[data-page-color="forum"] .page-hero--immersive .page-hero-photo img {
    object-position: 65% center;
  }

  body[data-page-color="workshop"] .page-hero--immersive {
    min-height: max(980px, calc(100svh - 86px));
  }

  body[data-page-color="workshop"] .page-hero--immersive .page-hero-copy {
    width: 100%;
  }

  body[data-page-color="workshop"] .page-hero--immersive h1 {
    font-size: clamp(2.9rem, 10.8vw, 4.65rem);
  }

  body[data-page-color="workshop"] .page-hero--immersive::after {
    background: linear-gradient(180deg, rgba(7, 34, 30, .96), rgba(7, 34, 30, .88) 59%, rgba(7, 34, 30, .06) 91%);
  }

  body[data-page-color="workshop"] .page-hero--immersive .page-hero-photo img {
    object-position: 70% center;
  }

  .workshop-hero-facts {
    display: grid;
    gap: 4px;
    font-size: .88rem;
  }

  .workshop-feature {
    min-height: 730px;
  }

  .workshop-feature-copy {
    width: 100%;
    align-self: start;
    padding: 38px 28px 230px;
  }

  .workshop-feature h2 {
    font-size: clamp(2.7rem, 8.9vw, 4rem);
  }

  .workshop-feature::after {
    background: linear-gradient(180deg, rgba(7, 34, 30, .96), rgba(7, 34, 30, .88) 63%, rgba(7, 34, 30, .06) 94%);
  }

  .workshop-feature > img {
    object-position: 70% center;
  }
}

@media (max-width: 420px) {
  .workshop-facts {
    grid-template-columns: minmax(0, 1fr);
  }

  .workshop-feature-copy {
    padding-inline: 24px;
  }
}
