/* Meet Our Students (ourstudents.html) – generated markup from scripts/build_ourstudents.py. Hero reuses .cn-hero (country.css). */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.os-hero .cn-hero__in { padding-bottom: 56px; }
.os-hero .cn-hero__in > * { max-width: none; }
.os-kicker { margin-top: 22px; }
.os-h1 { font-size: clamp(2.3rem, 8.5vw, 4rem); }
.os-lead { max-width: 36em; }
.os-hsub { margin: 8px 0 0; color: rgba(255,255,255,.85); font-size: .95rem; max-width: 36em; }
.os-hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.os-btn { min-height: 48px; padding: .8rem 1.3rem; font-size: 1rem; border-radius: 6px; gap: 8px; display: inline-flex; align-items: center; text-shadow: none; }
.os-btn--line { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.85); }
.os-btn--line:hover { background: #fff; color: var(--navy-deep); }
.os-btn:focus-visible, .os-car__btn:focus-visible, .os-thumb:focus-visible, .os-chip:focus-visible, .os-track:focus-visible, .os-ct:focus-visible, .os-card__link:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy-deep); }
.os-stats { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 36px; text-shadow: none; }
.os-stats li { display: flex; flex-direction: column; }
.os-stat__n { font-size: 1.9rem; font-weight: 800; line-height: 1; color: #fff; }
.os-stat__l { font-size: .8rem; color: rgba(255,255,255,.88); margin-top: 4px; }
.os-intro-wrap { background: #fff; border-bottom: 1px solid var(--line); }
.os-intro { margin: 0; padding: 26px 0; font-size: 1.0625rem; line-height: 1.6; color: var(--ink); max-width: 52em; }
.os-sec { padding: 56px 0; }
.os-h2 { font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.15; margin: 0 0 8px; color: var(--navy-deep); font-weight: 800; letter-spacing: -.01em; }
.os-sub { margin: 0 0 24px; color: var(--muted); }
/* stories: no-JS = stacked list */
.os-stories { background: var(--gray); }
.os-stories .os-h2 { margin-bottom: 24px; }
.os-track { display: grid; gap: 20px; }
.os-story { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; display: grid; grid-template-columns: 1fr; }
.os-story__media { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%); display: flex; align-items: flex-end; justify-content: center; aspect-ratio: 4 / 3; overflow: hidden; }
.os-story__img { width: auto; height: 100%; max-width: 100%; object-fit: contain; object-position: bottom; display: block; }
.os-story__media--none span { margin: auto; font-size: 3rem; font-weight: 800; color: #fff; }
.os-story__body { padding: 22px 20px 26px; position: relative; }
.os-story__q { color: var(--red-soft); width: 34px; height: 34px; }
.os-stars { display: flex; gap: 2px; margin: 6px 0 10px; color: var(--red-bright); }
.os-star { fill: currentColor; }
.os-story__quote { margin: 0; font-size: 1.02rem; line-height: 1.65; color: var(--ink); }
.os-story__quote p { margin: 0; }
.os-story__name { margin: 18px 0 2px; font-weight: 800; color: var(--navy-deep); font-size: 1.05rem; }
.os-story__prog { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .04em; color: var(--red); line-height: 1.4; }
a.os-story__prog { text-decoration: underline; text-underline-offset: .2em; display: inline-flex; align-items: center; min-height: 44px; }
.os-story__meta { margin: 8px 0 0; color: var(--muted); font-size: .9rem; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.os-story__li a { display: inline-flex; min-height: 44px; align-items: center; color: var(--navy); font-weight: 600; }
/* JS carousel */
.os-car__ctrls { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin: -8px 0 14px; }
.os-car__pos { margin: 0 auto 0 0; font-size: .9rem; color: var(--muted); font-weight: 600; }
.os-car__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.os-car__btn:hover:not(:disabled) { background: var(--navy-deep); color: #fff; border-color: var(--navy-deep); }
.os-car__btn:disabled { opacity: .45; cursor: default; }
.ab-js .os-car--multi.is-ready .os-track { display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 14px; }
.ab-js .os-car--multi.is-ready .os-track::-webkit-scrollbar { display: none; }
.ab-js .os-car--multi.is-ready .os-story { flex: 0 0 100%; scroll-snap-align: start; box-shadow: none; }
.os-rail { list-style: none; margin: 16px 0 0; padding: 4px 2px; display: flex; gap: 10px; overflow-x: auto; scrollbar-width: thin; }
.os-thumb { width: 56px; height: 56px; border-radius: 50%; padding: 0; border: 3px solid transparent; background: var(--navy); overflow: hidden; cursor: pointer; display: block; flex: none; opacity: .7; }
.os-thumb[aria-current="true"] { border-color: var(--red-bright); opacity: 1; }
.os-thumb:hover { opacity: 1; }
.os-thumb__img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.os-thumb__ini { color: #fff; font-weight: 700; }
@media (min-width: 768px) {
  .os-story { grid-template-columns: minmax(240px, 38%) 1fr; }
  .os-story__media { aspect-ratio: auto; min-height: 380px; }
  .os-story__body { padding: 34px 36px; align-self: center; }
  .os-story__quote { font-size: 1.12rem; }
}
/* gallery */
.os-tools { margin-bottom: 22px; }
.os-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.os-chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; }
.os-chip[aria-pressed="true"] { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.os-tools__row { display: grid; gap: 12px; grid-template-columns: 1fr; }
.os-field { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 600; color: var(--muted); }
.os-field__w { position: relative; display: block; }
.os-field__w .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.os-field input, .os-field select { width: 100%; min-height: 48px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 0 12px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; }
.os-field input { padding-left: 38px; }
.os-field input:focus, .os-field select:focus { outline: 3px solid var(--navy); outline-offset: 1px; }
.os-count { margin: 12px 0 0; font-size: .9rem; color: var(--muted); }
.os-none { text-align: center; padding: 30px 0; color: var(--muted); }
.os-reset { min-height: 44px; }
/* gallery background: soft gradient + sticky, viewport-sized dotted world map (network-hero.js map mode) behind the cards */
.os-gal { position: relative; isolation: isolate; background: linear-gradient(180deg, #F4F7FC 0%, #EEF2F9 100%); }
.os-gal__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: clip; }
.os-gal__map { position: sticky; top: 0; display: block; width: 100%; height: 100vh; }
@media (max-width: 599px) { .os-gal__map { opacity: .55; } }
/* cards: 3 per row (tablet, phone landscape) -> 5 per row (desktop, capped); 1 per row with the photo left on phones in portrait */
.os-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.os-card { position: relative; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 22px 12px 10px; background: #fff; border: 1px solid rgba(213,218,226,.7); border-radius: 18px; box-shadow: 0 1px 2px rgba(26,50,104,.05), 0 8px 24px -12px rgba(26,50,104,.22); transition: transform .2s ease, box-shadow .2s ease; }
.os-card:hover { transform: translateY(-3px); box-shadow: 0 1px 2px rgba(26,50,104,.06), 0 16px 32px -14px rgba(26,50,104,.32); }
.os-card[hidden] { display: none; }
.os-card__ph { flex: none; width: 100%; max-width: 116px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; display: flex; align-items: center; justify-content: center; background: var(--gray-2); box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--red); font-weight: 800; font-size: 1.6rem; color: var(--navy-deep); }
.os-card__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.os-card__body { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; flex: 1; padding-top: 14px; }
.os-card__lv { order: -1; display: inline-flex; align-items: center; gap: 5px; margin: 0 0 2px; padding: 3px 10px; border-radius: 999px; background: #EEF2F9; color: var(--navy-deep); font-size: .72rem; font-weight: 700; line-height: 1.3; }
.os-card__lv .i { flex: none; color: var(--navy); }
.os-card__name { margin: 8px 0 4px; font-size: 1rem; line-height: 1.3; color: var(--navy-deep); font-weight: 800; overflow-wrap: anywhere; }
.os-card__prog { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .03em; color: var(--red); line-height: 1.4; overflow-wrap: anywhere; text-transform: uppercase; }
.os-card__country, .os-card__cohort { margin: 6px 0 0; font-size: .85rem; color: var(--muted); }
.os-card__country { display: inline-flex; align-items: center; gap: 4px; }
.os-card__country .i { flex: none; color: var(--red); }
.os-card__link { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; margin-top: auto; padding-top: 4px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.os-card__link .i { transition: transform .2s ease; }
.os-card__link:hover .i { transform: translateX(3px); }
@media (min-width: 600px) { .os-tools__row { grid-template-columns: 2fr 1fr; } }
@media (min-width: 1024px) { .os-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px 20px; } }
@media (max-width: 599px) and (orientation: portrait) {
  .os-grid { grid-template-columns: 1fr; gap: 12px; }
  .os-card { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 14px 14px 10px; border-radius: 16px; }
  .os-card__ph { width: 76px; max-width: none; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--red); font-size: 1.3rem; }
  .os-card__body { align-items: flex-start; padding-top: 0; }
  .os-card__lv { margin: 0 0 4px; }
  .os-card__name { margin: 0 0 2px; }
  .os-card__country, .os-card__cohort { margin-top: 4px; }
  .os-card__link { margin-top: 0; padding-top: 0; }
}
@media (max-width: 599px) and (orientation: landscape) { .os-card { padding: 18px 8px 8px; } .os-card__ph { max-width: 96px; } }
@media (prefers-reduced-motion: reduce) { .os-card, .os-card__link .i { transition: none; } .os-card:hover { transform: none; } }
/* contact */
.os-cts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: 1fr; }
.os-ct { display: flex; gap: 12px; align-items: center; min-height: 64px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); text-decoration: none; }
.os-ct:hover { border-color: var(--navy); }
.os-ct .i { color: var(--red); flex: none; }
.os-ct__l { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.os-ct__v { display: block; font-weight: 700; color: var(--navy-deep); overflow-wrap: anywhere; }
@media (min-width: 768px) { .os-cts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .os-cts { grid-template-columns: repeat(4, 1fr); } }
@media (prefers-reduced-motion: reduce) { .os-track { scroll-behavior: auto !important; } }
.os-car__ctrls[hidden], .os-rail[hidden], .os-tools[hidden], .os-none[hidden] { display: none; }
/* gallery pager (rendered by ourstudents.js; hidden without JS so every student stays listed) */
.os-pager { margin-top: 28px; }
.os-pager[hidden] { display: none; }
.os-pager__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.os-pg { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: #fff; color: var(--navy-deep); font-weight: 600; font-size: .95rem; text-decoration: none; }
.os-pg:hover { border-color: var(--navy-deep); }
.os-pg[aria-current="page"] { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.os-pg[aria-disabled="true"] { color: var(--muted); background: transparent; cursor: default; }
.os-pg--gap { border: 0; background: none; min-width: 24px; padding: 0; color: var(--muted); }
.os-pg:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--navy-deep); }
.os-pager__status { text-align: center; margin: 10px 0 0; font-size: .88rem; color: var(--muted); }
#os-gal-h:focus { outline: none; } #os-gal-h:focus-visible { outline: 3px solid var(--navy-deep); outline-offset: 4px; }
@media (max-width: 420px) { .os-pg { padding: 0 10px; font-size: .9rem; } .os-pager__list { gap: 4px; } }
/* compact pager on phones in portrait: Previous · 3 / 11 · Next, full-width thumb targets */
.os-pager--compact .os-pager__list { flex-wrap: nowrap; gap: 8px; }
.os-pager--compact .os-pager__list li { flex: 1 1 0; display: flex; }
.os-pager--compact .os-pager__list li:nth-child(2) { flex: 0 0 auto; }
.os-pager--compact .os-pg { flex: 1; min-height: 48px; border-radius: 12px; }
.os-pager--compact .os-pg--pos { min-width: 72px; font-variant-numeric: tabular-nums; }
.os-pager--compact .os-pg--prev::before { content: "\2039"; margin-right: 6px; font-size: 1.3em; line-height: 1; }
.os-pager--compact .os-pg--next::after { content: "\203A"; margin-left: 6px; font-size: 1.3em; line-height: 1; }
.os-pager--compact .os-pg[aria-disabled="true"] { opacity: .55; }
