/* /workshop only (src/workshop-page.mjs). Builds on site.css and contact.css (the form fields reuse .cbox-input). */
.ws-hero { padding: 80px 0 64px; }
.ws-hero .display { max-width: 900px; margin-bottom: 20px; }
.ws-free { color: var(--main); }
.ws-promise { max-width: 720px; margin-bottom: 28px; }
.ws-strip { list-style: none; padding: 0; margin: 0 0 32px; display: flex; flex-wrap: wrap; gap: 8px; }
.ws-strip li { font: 500 13px/18px var(--mono); color: var(--ink); background: var(--elevated); border: 1px solid var(--hairline); border-radius: var(--r-pill); padding: 7px 14px; }
.ws-strip li:nth-child(4) { border-color: var(--main); color: var(--main); }
/* Hero with the vertical announcement video: text left, a 9:16 card right on desktop; below 1000px the card follows
   the button, centred. */
.ws-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 72px; align-items: center; }
.ws-hero-grid .ws-h1 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.06; }
/* Self-hosted video card (D-812): 1.5px ink border, flat --main-soft offset shadow. width/height attrs + aspect-ratio
   reserve the 9:16 box, so the poster never shifts the page. */
.ws-vcard { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: #e9e3d8; border: 1.5px solid var(--ink); box-shadow: 12px -10px 0 var(--main-soft); }

/* Under the hero: details left, the registration card top right (sticky while the details scroll past). Below 1000px
   the card comes first, straight after the hero. */
.ws-body { padding: 56px 0 96px; }
.ws-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; column-gap: 64px; align-items: start; }
.ws-main { grid-column: 1; grid-row: 1; }
.ws-side { grid-column: 2; grid-row: 1; position: sticky; top: 84px; }
.ws-block { padding: 36px 0; border-top: 1px solid var(--hairline); }
.ws-block:first-child { padding-top: 0; border-top: 0; }
.ws-block:last-child { padding-bottom: 0; }
.ws-block > .h2 { font-size: clamp(22px, 2.4vw, 28px); margin-bottom: 14px; }
.ws-list { font-size: 17px; line-height: 1.6; color: var(--ink); }
.ws-agenda td:first-child { font: 500 14px/24px var(--mono); color: var(--ink); white-space: nowrap; width: 96px; }
.ws-agenda td { color: var(--ink); }
.ws-agenda tr:last-child td { border-bottom: 0; }
.ws-host { display: grid; grid-template-columns: 200px 1fr; gap: 28px; align-items: start; }
.ws-host figure { margin: 0; }
.ws-host figure > img { width: 100%; height: auto; border-radius: var(--r-md); border: 1px solid var(--hairline); display: block; }
.ws-host .cert { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.ws-host .cert-badge { flex: none; display: block; }
.ws-host .cert img { width: 64px; height: 64px; display: block; }
.ws-host .cert p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ink); }
.ws-host .prose { font-size: 17px; }

.ws-reg { scroll-margin-top: 84px; }
.ws-card { font-size: 16px; background: var(--elevated); border: 1.5px solid var(--ink); box-shadow: 12px -10px 0 var(--main-soft); padding: 28px; }
.ws-side .ws-when { margin-bottom: 18px; }
.ws-side .ws-grid { gap: 12px; }
.ws-card .h2 { margin-bottom: 8px; }
.ws-when { margin-bottom: 24px; color: var(--body); }
.ws-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ws-f { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.ws-f label, .ws-f legend { font-size: 14px; font-weight: 500; color: var(--ink); padding: 0; }
.ws-wide { grid-column: 1 / -1; }
.ws-f .cbox-radios label { font-weight: 400; font-size: 15px; }
.ws-submit { margin-top: 20px; }
.ws-fine { margin-top: 14px; }
.ws-form .lead { margin-bottom: 20px; }
.ws-msg:focus { outline: none; }
.ws-msg .lead { margin-top: 8px; }
[hidden] { display: none !important; }

@media (max-height: 820px) and (min-width: 1001px) { .ws-side { position: static; } } /* card taller than the window */
@media (max-width: 1000px) {
  .ws-layout { grid-template-columns: 1fr; }
  .ws-side { grid-column: 1; grid-row: 1; position: static; max-width: 640px; margin-bottom: 56px; }
  .ws-main { grid-row: 2; }
  .ws-hero-grid { grid-template-columns: 1fr; }
  .ws-hero-grid .ws-video { width: min(420px, calc(100% - 12px)); margin: 40px auto 0; }
}
@media (max-width: 860px) {
  .ws-host { grid-template-columns: 1fr; }
  .ws-host figure { max-width: 240px; }
}
@media (max-width: 560px) {
  .ws-hero { padding: 48px 0 40px; }
  .ws-strip li { font-size: 12px; padding: 6px 12px; }
  .ws-card { padding: 24px 18px; margin-right: 10px; box-shadow: 8px -8px 0 var(--main-soft); }
  .ws-grid { grid-template-columns: 1fr; }
  .ws-submit, .ws-hero .btn { width: 100%; }
  .ws-agenda td { padding: 12px 14px; }
  .ws-agenda td:first-child { width: 64px; }
}
