/* Workshop pages: /workshops, /workshop (The Next Chapter), /kind-mind-gym.
   Builds on assets/premium/site.css and uses its colour variables. */

/* Key facts under the hero */
.workshop-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-light, rgba(245,241,232,.2)); margin-top: clamp(40px, 6vw, 72px); }
.workshop-facts div { padding: 22px 22px 22px 0; border-bottom: 1px solid var(--line-light, rgba(245,241,232,.2)); }
.workshop-facts span { display: block; color: var(--gold, #d1a55d); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 10px; }
.workshop-facts strong { font-family: var(--display); font-size: clamp(24px, 2.2vw, 34px); font-weight: 400; color: var(--paper, #f5f1e8); }

/* Time-zone list (The Next Chapter) */
.workshop-times { columns: 2; column-gap: 48px; margin: 0; padding: 0; list-style: none; }
.workshop-times li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); break-inside: avoid; font-size: 16px; }
.workshop-times li b { font-weight: 500; }

/* Pathway cells used as plain content, not links */
.workshop-flow a { cursor: default; }
.workshop-flow a:hover { color: var(--ink); background: transparent; }
.workshop-flow a:hover p, .workshop-flow a:hover span { color: var(--ink-soft); }

/* Dark booking band */
.workshop-book { text-align: center; }
#times-title, .workshop-book h2 { margin: 0; font-family: var(--display); font-size: clamp(43px, 4.9vw, 88px); font-weight: 400; letter-spacing: -.04em; line-height: .82; }
#times-title em { color: var(--jade-700); font-weight: 400; }
.workshop-book h2 { margin-bottom: 26px; }
.workshop-book h2 em { color: var(--gold-light); font-weight: 400; }
.workshop-book p { max-width: 560px; margin: 0 auto 30px; }
.workshop-note { margin-top: 28px !important; font-size: 13px; opacity: .7; }

/* Section headings on plain (paper) sections, matching .pathways headings */
.kmg-heading { margin: 0; font-family: var(--display); font-size: clamp(39px, 4vw, 69px); font-weight: 400; letter-spacing: -.035em; line-height: .9; }
.kmg-heading em { color: var(--jade-700); font-weight: 400; }

/* Workshops overview: one cell per workshop */
.workshop-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.workshop-list article { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 60px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.workshop-list .workshop-kind { color: var(--ink-soft); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.workshop-list h3 { margin: 30px 0 18px; font-family: var(--display); font-size: clamp(36px, 3.4vw, 58px); font-weight: 400; line-height: .95; }
.workshop-list h3 em { color: var(--jade-700); }
.workshop-list p { margin: 0 0 14px; color: var(--ink-soft); font-weight: 300; max-width: 46ch; }
.workshop-list .workshop-meta { color: var(--ink); font-weight: 400; }
.workshop-list .text-link { margin-top: auto; padding-top: 30px; align-self: flex-start; }
.workshop-list .workshop-meta { margin-bottom: 30px; }
.workshop-list .button { margin-top: auto; align-self: flex-start; }
.workshop-visual { display: flex; align-items: center; height: 150px; margin-bottom: 34px; }
.workshop-visual img, .workshop-visual svg { width: auto; height: 100%; }
.workshop-private { margin-top: 44px; color: var(--ink-soft); font-weight: 300; }

/* Kind Mind Gym introduction with the logo */
.kmg-intro { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.kmg-intro img { width: 100%; max-width: 460px; height: auto; justify-self: center; }
.kmg-intro h2 { margin: 0 0 28px; font-family: var(--display); font-size: clamp(40px, 4.4vw, 76px); font-weight: 400; letter-spacing: -.035em; line-height: .9; }
.kmg-intro h2 em { color: var(--jade-700); font-weight: 400; }
.kmg-intro p { max-width: 52ch; margin: 0 0 18px; color: var(--ink-soft); font-size: 18px; font-weight: 300; }

/* Seat board */
.seat-legend { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 0 0 22px; color: var(--ink-soft); font-size: 13px; }
.seat-legend span { display: inline-flex; align-items: center; gap: 8px; }
.seat-legend i { display: inline-block; width: 12px; height: 12px; border: 1px solid var(--jade-700); border-radius: 50%; }
.seat-legend i.is-booked { background: var(--jade-700); }
.seat-legend i.is-line { width: 1px; height: 16px; border: 0; border-radius: 0; background: var(--gold); }
.seat-board { border-top: 1px solid var(--line); }
.seat-row { display: grid; grid-template-columns: minmax(220px, 1fr) auto minmax(200px, .8fr); gap: 20px 40px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.seat-when strong { display: block; font-family: var(--display); font-size: clamp(26px, 2.2vw, 36px); font-weight: 400; line-height: 1.05; }
.seat-when span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: 13.5px; }
.seat-dots { display: flex; align-items: center; gap: 6px; }
.seat-dots i { width: 15px; height: 15px; border: 1px solid var(--jade-700); border-radius: 50%; }
.seat-dots i.is-booked { background: var(--jade-700); }
.seat-dots i:nth-child(10) { margin-right: 9px; }
.seat-dots i:nth-child(10)::after { content: ""; display: block; width: 1px; height: 26px; margin: -6px 0 0 21px; background: var(--gold); }
.seat-status { margin: 0; font-size: 15px; }
.seat-status.is-going { color: var(--jade-700); font-weight: 600; }
.seat-status.is-full { color: var(--ink-soft); }
.seat-note { margin-top: 26px; color: var(--ink-soft); font-size: 15px; font-weight: 300; }
.seat-note a { color: var(--jade-700); }

/* The next group: four dates, what is included, gift */
.kmg-group { margin: 0 0 18px; font-family: var(--display); font-size: clamp(28px, 2.4vw, 40px); font-weight: 400; line-height: 1.1; }
.kmg-group em { color: var(--jade-700); }
.kmg-dates + .kmg-group { margin-top: 48px; }
.kmg-dates { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.kmg-dates li { padding: clamp(24px, 2.4vw, 38px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kmg-dates span { color: var(--jade-700); font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kmg-dates h3 { margin: 14px 0 8px; font-family: var(--display); font-size: clamp(30px, 2.7vw, 44px); font-weight: 400; line-height: 1; }
.kmg-dates p { margin: 0; color: var(--ink-soft); font-size: 17px; line-height: 1.5; }
.kmg-dates p b { color: var(--ink); font-weight: 600; }
.kmg-dates .kmg-when { margin-bottom: 18px; color: var(--ink); font-size: 16px; }
.kmg-included { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 40px; margin: 40px 0 0; padding: 0; list-style: none; }
.kmg-included li { color: var(--ink-soft); font-size: 17px; line-height: 1.5; }
.kmg-included b { display: block; margin-bottom: 4px; color: var(--ink); font-weight: 600; }
.kmg-center { margin: 44px 0 0; text-align: center; }
.kmg-gift { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 100px); align-items: start; }
.kmg-gift p { max-width: 56ch; margin: 0 0 18px; color: var(--ink-soft); font-size: 18px; }
.kmg-gift p b { color: var(--ink); font-weight: 600; }

.kmg-looks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; margin-top: 48px; }
.kmg-looks figure { margin: 0; }
.kmg-looks figure div { display: grid; gap: 16px; }
.kmg-looks img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
.kmg-looks figcaption { margin-top: 14px; color: var(--ink-soft); font-size: 16px; line-height: 1.45; }
.kmg-looks figcaption b { display: block; color: var(--ink); font-family: var(--display); font-size: 28px; font-weight: 400; line-height: 1.2; }
.kmg-center { color: var(--ink-soft); font-size: 16px; }

/* Booking form on the dark band */
.kmg-form { max-width: 760px; margin: 0 auto; text-align: left; }
.kmg-form fieldset { margin: 0 0 34px; padding: 0; border: 0; }
.kmg-form legend { margin-bottom: 14px; color: var(--gold); font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.kmg-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kmg-choices.is-times { grid-template-columns: 1fr; gap: 10px; }
.kmg-choice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--line-light); color: var(--paper); cursor: pointer; transition: border-color 200ms ease, background 200ms ease; }
.kmg-choice:hover { border-color: rgba(239,207,153,.6); }
.kmg-choice:has(input:checked) { border-color: var(--gold); background: rgba(209,165,93,.08); }
.kmg-choice:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.kmg-choice input { flex: 0 0 auto; width: 17px; height: 17px; margin-top: 5px; accent-color: var(--gold); }
.kmg-choice b { display: block; font-family: var(--display); font-size: 27px; font-weight: 400; line-height: 1.1; }
.kmg-choice b em { color: var(--gold-light); }
.kmg-choice b s { font-size: 0.8em; opacity: 0.7; }
.kmg-choice small { display: block; margin-top: 6px; color: rgba(245,241,232,.62); font-size: 14px; line-height: 1.45; }
.kmg-submit { text-align: center; }
.kmg-submit .button { min-width: 260px; }
.kmg-form .form-status { min-height: 1.5em; text-align: center; color: rgba(245,241,232,.7); }
.kmg-banner { max-width: 640px; margin: 0 auto 40px; padding: 20px 24px; border: 1px solid var(--gold); color: var(--paper); text-align: center; }
.kmg-banner[hidden] { display: none; }
.kmg-banner .button { margin-top: 16px; }
.kmg-attended[hidden] { display: none; }
.kmg-attended .check-row { max-width: none; margin-top: 0; color: var(--paper); font-size: 15px; }
.kmg-date { display: grid; gap: 8px; margin-top: 18px; color: rgba(245,241,232,.62); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.kmg-date input { max-width: 320px; padding: 14px 16px; border: 1px solid var(--line-light); border-radius: 0; background: transparent; color: var(--paper); font: inherit; font-size: 16px; font-weight: 400; letter-spacing: 0; text-transform: none; }
.kmg-date input:focus { outline: none; border-color: var(--gold); }

@media (max-width: 960px) {
  .kmg-dates, .kmg-included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kmg-gift { grid-template-columns: minmax(0, 1fr); }
  .kmg-looks { grid-template-columns: 1fr; }
  .kmg-looks figure div { grid-template-columns: 1fr 1fr; }
  .seat-row { grid-template-columns: 1fr; gap: 12px; }
  .kmg-intro { grid-template-columns: minmax(0, 1fr); }
  .kmg-intro img { max-width: 320px; }
}
@media (max-width: 760px) {
  .workshop-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workshop-facts strong { font-size: 21px; }
  .workshop-times { columns: 1; }
  .workshop-list { grid-template-columns: 1fr; }
  .kmg-choices { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .kmg-dates, .kmg-included { grid-template-columns: 1fr; }
  .workshop-facts { grid-template-columns: 1fr; }
  .workshop-facts div { padding-block: 16px; }
  .seat-dots { gap: 4px; }
  .seat-dots i { width: 11px; height: 11px; }
  .seat-dots i:nth-child(10) { margin-right: 7px; }
  .seat-dots i:nth-child(10)::after { height: 20px; margin: -5px 0 0 15px; }
}
