/* Upcoming workshop / webinar (templates/workshop/WorkshopUpcoming.astro), from the Figma file's webinar pages.
   Built 2026-10-19, not a Webflow port. Linked only on upcoming workshops (pages/workshop/[slug].astro).
   Colours from the Slate style guide: O1 #F66719, O2 #F89762, D1 #16161E, L1 #F6F4F1, L3 #E6F1FF.
   Light by day, dark by night (body class), like the rest of the site. */
.wsu {
  --wsu-bg: #ffffff;
  --wsu-alt: #f6f4f1;
  --wsu-text: #16161e;
  --wsu-muted: #3d3d48;
  --wsu-line: #c9c6bf;
  --wsu-card: #f6f4f1;
  --wsu-blue: #e6f1ff;
  --wsu-blue-line: #8f97a3;
  --wsu-accent: #f66719;
  --wsu-peach: #f89762;
  background: var(--wsu-bg);
  color: var(--wsu-text);
  padding: 5rem 0;
}
body.dark-mode .wsu {
  --wsu-bg: #16161e;
  --wsu-alt: #1f1f2a;
  --wsu-text: #f6f4f1;
  --wsu-muted: #c9c7d2;
  --wsu-line: #3a3a4a;
  --wsu-card: #23232f;
  --wsu-blue: #2a3442;
  --wsu-blue-line: #4b5566;
}
.wsu *, .wsu *::before, .wsu *::after { box-sizing: border-box; }
.wsu-faq { background: var(--wsu-alt); }
.wsu-wrap { max-width: 80rem; margin: 0 auto; padding: 0 2.5rem; }
.wsu-col { max-width: 37rem; }
.wsu-h2 {
  margin: 0 0 2.5rem;
  font-family: 'Forma DJR Text', Arial, sans-serif;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.wsu-h2-narrow { max-width: 14ch; }
.wsu-text { font-size: 1rem; line-height: 1.6; color: var(--wsu-muted); }
.wsu-rich > :first-child { margin-top: 0; }
.wsu-rich p { margin: 0 0 1rem; }
.wsu-rich strong { color: var(--wsu-text); }
.wsu-rich ul, .wsu-rich ol { margin: 0 0 1rem; padding-left: 1.25rem; }
.wsu-rich li { margin-bottom: .25rem; }
.wsu-rich a { color: var(--wsu-accent); }

/* about, what you will walk away with, why attend, who should attend and about the speaker: one grid, the form sticky beside them.
   The cream bands behind "About This Session" and "Who Should Attend" are painted full width by each block's shadow. */
.wsu-main { padding: 0; }
.wsu-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 37rem) minmax(0, 1fr);
  column-gap: 4rem;
  align-items: start;
}
.wsu-block { grid-column: 1; }
.wsu-about, .wsu-who {
  padding: 5rem 0 4rem;
  background: var(--wsu-alt);
  box-shadow: 0 0 0 100vmax var(--wsu-alt);
  clip-path: inset(0 -100vmax);
}
.wsu-who { padding-bottom: 5rem; }
.wsu-away { padding-top: 5rem; }
.wsu-why, .wsu-speaker { padding: 5rem 0; }
.wsu-form-col { grid-column: 2; grid-row: 1 / span 5; align-self: stretch; position: relative; z-index: 2; padding-top: 10.5rem; }
.wsu-form-box {
  position: sticky;
  top: 8.5rem; /* below the floating site navigation */
  scroll-margin-top: 8.5rem;
  background: #ffffff;
  color: #16161e;
  border: 1px solid var(--wsu-accent);
  border-radius: .5rem;
  padding: 2rem 2rem 1.5rem;
  min-height: 20rem;
}

/* what you will walk away with: numbered cards on a timeline */
.wsu-steps { list-style: none; margin: 0; padding: 0 0 0 1.25rem; position: relative; display: grid; gap: 1rem; }
.wsu-steps::before { content: ''; position: absolute; left: 0; top: .25rem; bottom: 2rem; width: 1px; background: var(--wsu-line); }
.wsu-steps-wrap { position: relative; }
.wsu-steps-progress { position: absolute; left: 0; top: .25rem; width: 1px; height: 0; background: var(--wsu-accent); z-index: 1; }
.wsu-step { position: relative; }
.wsu-step-dot {
  position: absolute;
  left: calc(-1.25rem - 3.5px);
  top: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--wsu-line);
  background: var(--wsu-bg);
}
.wsu-step-dot { z-index: 2; transition: background-color .2s ease, border-color .2s ease; }
.wsu-step:first-child .wsu-step-dot, .wsu-step-dot.is-reached { background: var(--wsu-accent); border-color: var(--wsu-accent); }
.wsu-step-card { background: var(--wsu-card); border: 1px solid var(--wsu-line); padding: 1.5rem 1.5rem 1.25rem; }
.wsu-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--wsu-peach);
  color: #ffffff;
  font-size: .8125rem;
  margin-bottom: 1rem;
}
.wsu-step-title { margin: 0 0 .75rem; font-size: 1rem; font-weight: 600; line-height: 1.4; }
.wsu-step-text { margin: 0; font-size: .9375rem; line-height: 1.55; color: var(--wsu-muted); }

/* who should attend: 2 × 2 cards */
.wsu-who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--wsu-blue-line); border-left: 1px solid var(--wsu-blue-line); }
.wsu-who-card { display: grid; grid-template-rows: 11rem auto; border-right: 1px solid var(--wsu-blue-line); border-bottom: 1px solid var(--wsu-blue-line); background: var(--wsu-blue); }
.wsu-who-pic { display: flex; align-items: center; justify-content: center; border-bottom: 1px solid var(--wsu-blue-line); padding: 1.25rem; }
.wsu-who-pic img { max-height: 100%; max-width: 70%; object-fit: contain; }
.wsu-who-text { margin: 0; padding: 1.25rem; font-size: .9375rem; line-height: 1.5; color: var(--wsu-muted); }
.wsu-who-text strong { color: var(--wsu-text); font-weight: 600; }

/* faq */
.wsu-faq-list { border-top: 1px solid var(--wsu-line); }
.wsu-faq-item { border-bottom: 1px solid var(--wsu-line); }
.wsu-faq-q { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.25rem 0; min-height: 44px; cursor: pointer; list-style: none; }
.wsu-faq-q::-webkit-details-marker { display: none; }
.wsu-faq-q:focus-visible { outline: 2px solid var(--wsu-accent); outline-offset: 4px; }
.wsu-faq-h3 { margin: 0; font-family: 'Forma DJR Text', Arial, sans-serif; font-size: 1.25rem; font-weight: 400; line-height: 1.3; }
.wsu-faq-icon { position: relative; flex: none; width: 1rem; height: 1rem; }
.wsu-faq-icon::before, .wsu-faq-icon::after { content: ''; position: absolute; left: 0; top: 50%; width: 100%; height: 1.5px; background: currentColor; transition: transform .2s ease; }
.wsu-faq-icon::after { transform: rotate(90deg); }
.wsu-faq-item[open] .wsu-faq-icon::after { transform: rotate(0deg); }
.wsu-faq-item[open] .wsu-faq-h3 { color: var(--wsu-accent); }
.wsu-faq-a { margin: 0; padding: 0 2.5rem 1.25rem 0; font-size: 1rem; line-height: 1.6; color: var(--wsu-muted); }

@media (max-width: 991px) {
  .wsu-main-grid { grid-template-columns: 1fr; }
  .wsu-form-col { grid-column: 1; grid-row: 2; padding-top: 2.5rem; }
  .wsu-form-box { position: static; }
  .wsu-away { padding-top: 4rem; }
  .wsu-why, .wsu-speaker { padding: 4rem 0; }
  .wsu-col { max-width: none; }
  .wsu-h2 { font-size: 2.5rem; }
}
@media (max-width: 479px) {
  .wsu { padding: 3.5rem 0; }
  .wsu-about, .wsu-who { padding: 3.5rem 0 3rem; }
  .wsu-away { padding-top: 3.5rem; }
  .wsu-why, .wsu-speaker { padding: 3.5rem 0; }
  .wsu-wrap { padding: 0 1.25rem; }
  .wsu-h2 { font-size: 2rem; margin-bottom: 1.75rem; }
  .wsu-form-box { padding: 1.5rem 1.25rem 1rem; }
  .wsu-who-grid { grid-template-columns: 1fr; }
  .wsu-faq-a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .wsu-faq-icon::before, .wsu-faq-icon::after, .wsu-step-dot { transition: none; }
}

/* the hero's "Register here" button: a compact pill, as in the design (the recap design's "Watch now" is unchanged) */
.section_webinar-hero a[href="#register"].button-new-s { width: auto; display: inline-flex; }

/* the speaker's photo in the hero: larger than its file size allows by default (up to 46rem wide), as in the design */
@media (min-width: 992px) {
  .section_webinar-hero .webinar_header-banner { width: 46%; max-width: 46rem; height: 92%; }
  .section_webinar-hero .webinar_header-img { width: 100%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom right; }
}
