/* M28 Investigates prototype v0.7.3: the Learning Lab page and the course pages (Bex's brief of 28 Nov 2026, D-195).
   The structure of IICI's "Upcoming regular courses" (a heading with a graduation cap and a thin line, a table START DATE |
   COURSE with a calendar, the course and "READ MORE & APPLY", thin lines between rows), in M28's own colours and type:
   black, white, the live red; Source Sans 3; the site's seven type steps. Nothing of IICI's look (no gold, no map lines). */

.ll { padding-block: clamp(2rem, 1.4rem + 2.4vw, 3.5rem) clamp(3rem, 2rem + 4vw, 5rem); }
.ll__head { display: flex; align-items: center; gap: .875rem; padding-bottom: 1rem; margin-bottom: 1.75rem; border-bottom: 1px solid var(--charcoal-t25); }
.ll__cap { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border: 1px solid var(--red); border-radius: 50%; color: var(--red-t45); }
.ll__cap .icon { width: 1.375rem; height: 1.375rem; }
.ll__head h1 { font: 800 var(--ts-section)/1.15 var(--f-text); letter-spacing: .04em; text-transform: uppercase; color: var(--white); }

/* the table: column labels, then one row per course with thin lines between rows */
.llt__labels { display: grid; grid-template-columns: 15rem 1fr auto; gap: 1.5rem; padding: 0 0 .625rem; border-bottom: 1px solid var(--charcoal-t25);
  font: 700 var(--ts-label)/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--grey-s22); }
.llt { margin: 0; padding: 0; list-style: none; }
.llt__row { display: grid; grid-template-columns: 15rem 1fr auto; align-items: center; gap: 1.5rem; padding-block: 1.125rem; border-bottom: 1px solid var(--charcoal-t12); }
.llt__date { display: flex; align-items: center; gap: .625rem; font: 700 .875rem/1.3 var(--f-text); letter-spacing: .06em; text-transform: uppercase; color: var(--grey-s22); }
.llt__date .icon { flex: none; width: 1.25rem; height: 1.25rem; color: var(--red-t45); }
.llt__row--dated .llt__date { color: var(--white); }
.llt__name { font: 700 var(--ts-sub)/1.25 var(--f-text); color: var(--white); }
.llt__name a { color: inherit; text-decoration: none; }
.llt__name a:hover { color: var(--red-t45); }
.llt__btn { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .625rem 1.25rem; border: 1px solid var(--red); border-radius: 999px;
  font: 800 .75rem/1 var(--f-text); letter-spacing: .09em; text-transform: uppercase; color: var(--white); white-space: nowrap; transition: background .2s; }
.llt__btn:hover { background: var(--red-s30); }
@media (max-width: 47.99em) {
  .llt__labels { display: none; }
  .llt__row { grid-template-columns: 1fr; gap: .5rem; padding-block: 1.25rem; }
  .llt__btn { justify-self: start; margin-top: .25rem; }
}
@media (min-width: 48em) and (max-width: 63.99em) { .llt__labels, .llt__row { grid-template-columns: 11rem 1fr auto; gap: 1rem; } }

.ll__note { max-width: 52rem; margin-top: 1.75rem; font: 400 var(--ts-small)/1.6 var(--f-text); color: var(--grey); }
.ll__tailored { margin-top: .75rem; font: 600 1.0625rem/1.5 var(--f-text); color: var(--white); }
.ll__tailored a, .ll__answer a, .cf__privacy a { color: var(--white); text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: .2em; }
.ll__h2 { margin-bottom: 1rem; font: 800 var(--ts-section)/1.15 var(--f-text); color: var(--white); }
.ll__quotes { margin-top: 3rem; }
.ll__photos { max-width: 64rem; margin: 3rem auto 0; }      /* at most 1024 px wide: the smaller photos stay sharp */
.ll__answer { max-width: 44rem; font: 400 var(--ts-body)/var(--ts-body-lh) var(--f-text); color: var(--grey); }

/* the sliders: a row that scrolls sideways (no script), one item at a time; arrows and dots (44 px) come with ll.js */
.lsl { position: relative; }
.lsl__track { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-x: contain; }
.lsl__slide { flex: 0 0 100%; scroll-snap-align: start; }
.lsl__fig { margin: 0; }
.lsl__fig img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; max-height: 78vh; object-fit: contain; background: #000; }      /* one frame for all: no photo is cropped, none leaves a gap */
.lsl__track { align-items: start; }
.lsl__fig figcaption { margin-top: .625rem; font: 400 var(--ts-small)/1.4 var(--f-text); color: var(--grey-s22); }
.lsl__nav { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: .75rem; }
.lsl__nav[hidden] { display: none; }
.lsl__btn { flex: none; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid var(--charcoal-t30); border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.lsl__btn svg { width: 1.25rem; height: 1.25rem; }
.lsl__btn:hover { border-color: var(--red); color: var(--red-t45); }
.lsl__dots { display: flex; flex: 0 1 auto; flex-wrap: wrap; justify-content: center; min-width: 0; }
.lsl__dots button { position: relative; width: 2.75rem; height: 2.75rem; border: 0; background: transparent; cursor: pointer; }
.lsl__dots button::after { content: ""; position: absolute; left: 50%; top: 50%; width: .625rem; height: .625rem; margin: -.3125rem 0 0 -.3125rem; border-radius: 50%; background: var(--charcoal-t30); }
.lsl__dots button[aria-current]::after { background: var(--red); }
.lq { margin: 0; padding: 1.5rem 0; }
.lq blockquote p { font: 400 var(--ts-stand)/1.45 var(--f-text); color: var(--white); }
.lq figcaption { margin-top: .75rem; font: 600 var(--ts-small)/1.4 var(--f-text); color: var(--grey-s22); }

/* a course page */
.co { padding-block: 1.5rem clamp(3rem, 2rem + 4vw, 5rem); }
.co__head { padding-block: 1.25rem 1.5rem; border-bottom: 1px solid var(--charcoal-t25); }
.co__kicker { display: flex; align-items: center; gap: .5rem; margin-bottom: .75rem; font: 700 var(--ts-label)/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--red-t45); }
.co__kicker .icon { width: 1.125rem; height: 1.125rem; }
.co__head h1 { font: 800 var(--ts-headline)/var(--ts-headline-lh) var(--f-text); letter-spacing: -.02em; color: var(--white); text-wrap: balance; }
.co__short { max-width: 48rem; margin-top: 1rem; font: 400 var(--ts-stand)/1.45 var(--f-text); color: var(--grey); }
.co__grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 62em) { .co__grid { grid-template-columns: minmax(0, 1fr) 20rem; gap: 4rem; } }
.co__main section + section { margin-top: 2.25rem; }
.co h2 { margin-bottom: .75rem; font: 800 var(--ts-sub)/1.2 var(--f-text); color: var(--white); }
.co__main p { font: 400 1.1875rem/1.65 var(--f-text); color: var(--grey); }
.co__learn { display: grid; gap: .625rem; margin: 0; padding-left: 1.25rem; font: 400 1.1875rem/1.55 var(--f-text); color: var(--grey); }
.co__learn li::marker { color: var(--red); }
.co__mods { display: grid; gap: 1.25rem; margin: 0; padding: 0; list-style: none; counter-reset: mod; }
.co__mods li { position: relative; padding-left: 2.5rem; counter-increment: mod; }
.co__mods li::before { content: counter(mod); position: absolute; left: 0; top: .1rem; display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 1px solid var(--charcoal-t30); border-radius: 50%; font: 700 .8125rem/1 var(--f-text); color: var(--white); }
.co__mods h3 { font: 700 1.1875rem/1.3 var(--f-text); color: var(--white); }
.co__mods p { margin-top: .25rem; font-size: 1.0625rem !important; }
.co__side { align-self: start; padding-top: .25rem; }
@media (min-width: 62em) { .co__side { position: sticky; top: 9rem; } }
.co__facts { margin: 0; border-top: 1px solid var(--charcoal-t25); }
.co__facts div { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; padding-block: .75rem; border-bottom: 1px solid var(--charcoal-t12); }
.co__facts dt { font: 700 var(--ts-small)/1.35 var(--f-text); color: var(--grey-s22); }
.co__facts dd { margin: 0; font: 600 var(--ts-small)/1.35 var(--f-text); color: var(--white); }
.co__form { max-width: 46rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--charcoal-t25); }
.co__state { margin-bottom: 1.25rem; font: 600 1.0625rem/1.5 var(--f-text); color: var(--white); }
.co__back { margin-top: 2.5rem; font: 600 var(--ts-small)/1 var(--f-text); }
.co__back a { color: var(--grey); }
.co__back a:hover { color: var(--white); }

/* the form */
.cf { display: grid; gap: 1rem; }
.cf__f { display: grid; gap: .375rem; }
.cf__f label { font: 700 var(--ts-small)/1.3 var(--f-text); color: var(--white); }
.cf input[type=text], .cf input[type=email], .cf textarea { width: 100%; min-height: 2.875rem; padding: .625rem .75rem; border: 1px solid var(--charcoal-t30); border-radius: 4px; background: #0F0F0F;
  font: 400 1.0625rem/1.4 var(--f-text); color: var(--white); }
.cf input[readonly] { border-style: dashed; color: var(--grey); }
.cf input:focus, .cf textarea:focus { outline: 2px solid var(--white); outline-offset: 1px; border-color: var(--white); }
.cf__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf__check { display: flex; align-items: flex-start; gap: .625rem; font: 400 1rem/1.45 var(--f-text); color: var(--grey); cursor: pointer; }
.cf__check input { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .125rem; accent-color: var(--red); }
.cf__send { min-height: 2.875rem; padding: .75rem 1.5rem; border: 0; border-radius: 999px; background: var(--red-s30); font: 800 .8125rem/1 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--white); cursor: pointer; }
.cf__send:hover { background: #A52020; }
.cf__msg { padding: .75rem 1rem; border: 1px solid var(--red); border-radius: 4px; font: 600 1rem/1.45 var(--f-text); color: var(--white); }
.cf__privacy { font: 400 var(--ts-small)/1.5 var(--f-text); color: var(--grey-s22); }
