/* Scoped to .tv-v3 (via :where(), so every rule keeps the specificity of the original design stylesheet) so sections of different designs can share a page. */
/*
 * School website - Template 3 ("home-v3" design).
 *
 * The design's stylesheet, moved out of the page. Differences from the original, all driven by
 * real school data instead of demo content:
 *  - brand colours: --Colours-Shades-Primary-P---500 / -600 / -50 are overridden per school by an
 *    inline <style> in index.blade.php; shadows that hard-coded the default blue use color-mix()
 *  - nav: collapses below 1200px (was 992px), never wraps its labels, has dropdowns (gallery,
 *    language, login) and a plain band (.v3top / .v3nav--static) when the school has no slider
 *  - hero: arrows centred with top:50% instead of 422px, 560px tall on phones, background fallback
 *  - notices: image slot holds the school's announcement image, a short list shrinks to its
 *    content, scrollbar hides when nothing scrolls; stats tiles have no hover photo / scrim
 *  - gallery: centred flex grid (--cols) instead of a fixed 4-column grid
 *  - 1200-1879px: the 1920px column widths of about / FAQ / notices / footer are made flexible
 */

:where(.tv-v3) {
  /* Padding scale */
  --Padding-p-none: 0px;
  --Padding-p-tiny: 4px;
  --Padding-p-small: 8px;
  --Padding-p-medium: 16px;
  --Padding-p-regular: 24px;
  --Padding-p-large: 32px;
  --Padding-p-xl: 32px;
  --Padding-p-xxlarge: 48px;
  --Padding-p-xl2: 48px;
  --Padding-p-xl3: 64px;
  --Padding-p-xl4: 80px;

  /* Corner radius */
  --Corner-Radius-sharp: 0px;
  --Corner-Radius-small: 8px;
  --Corner-Radius-smooth-edge: 16px;
  --Corner-Radius-infinity: 9999px;

  /* Opacity */
  --Opacity-opacity-100: 1;

  /* Colours */
  --Colours-Shades-Neutral-N---50: #FFFFFF;
  --Colours-Shades-Neutral-N---100: #F7F7F7;
  --Colours-Shades-Neutral-N---200: #EAEAEA;
  --Colours-Shades-Neutral-N---300: #D6D6D6;
  /* 400/500 are referenced by the announcement scrollbar thumb but were never defined in the design */
  --Colours-Shades-Neutral-N---400: #ADADAD;
  --Colours-Shades-Neutral-N---500: #8A8A8A;
  --Colours-Shades-Neutral-N---700: #5C5C5C;
  --Colours-Shades-Neutral-N---800: #3D3D3D;
  --Colours-Shades-Neutral-N---900: #1A1A1A;
  --Colours-Shades-Secondary-S---50: #EFFAF4;
  --Colours-Shades-Secondary-S---100: #D6F2E4;
  --Colours-Shades-Secondary-S---400: #7AD9B0;
  --Colours-Shades-Secondary-S---500: #57CC99;
  --Colours-Shades-Secondary-S---600: #3FA87A;
  --Colours-Shades-Primary-P---50: #F2F5F7;
  --Colours-Shades-Primary-P---500: #22577A;
  --Colours-Shades-Primary-P---600: #1b4662;
  --green: #4CAF7D;
  --green-dark: #3d9468;
  --navy: #16365C;
  --navy-deep: #102c4d;
  --blue: #2B8EF5;
  --text-dark: #16365C;
  --text-body: #4A6381;
  --white: #FFFFFF;
  --yellow: #F5C04E;
  --pagination-active: #57CC99;
  --pagination-idle: #EAEAEA;

  /* Layout */
  --topbar-h: 56px;
  --topbar-pad-x: 40px;

  /* Bootstrap overrides */
  --bs-body-font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  --bs-body-color: var(--text-dark);
  --bs-border-radius-pill: var(--Corner-Radius-infinity);
}

:where(.tv-v3) {
  overflow-x: hidden;
}

:where(.tv-v3) a {
  text-decoration: none;
  color: inherit;
}

/* ---------- Buttons ---------- */
:where(.tv-v3) .btn {
  font-weight: 500;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

:where(.tv-v3) .btn:hover {
  transform: translateY(-1px);
}

:where(.tv-v3) .btn-navy {
  background: var(--navy);
  color: var(--white);
  padding: 10px 26px;
  font-size: 14px;
}

:where(.tv-v3) .btn-navy:hover {
  background: var(--navy-deep);
  color: var(--white);
}

:where(.tv-v3) .btn-green {
  background: var(--green);
  color: var(--white);
  padding: 10px 22px;
  font-size: 14px;
}

:where(.tv-v3) .btn-green:hover {
  background: var(--green-dark);
  color: var(--white);
  box-shadow: 0 8px 20px color-mix(in srgb, var(--green) 35%, transparent);
}

/* Button / Primary / Default / Large / Only icon = On */
/* size-14 (56px), p-3 (12px), rounded-[999px] */
:where(.tv-v3) .btn-icon {
  width: 56px;
  height: 56px;
  gap: var(--Padding-p-none);
  padding: 12px;
  border-radius: 999px;
  opacity: var(--Opacity-opacity-100);
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--white);
  transition: background .2s ease, transform .2s ease;
}

:where(.tv-v3) .btn-icon:hover {
  background: var(--Colours-Shades-Primary-P---600);
  color: var(--white);
}

:where(.tv-v3) .btn-icon:active {
  transform: scale(.94);
}

:where(.tv-v3) .btn-icon:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--Colours-Shades-Primary-P---500) 35%, transparent);
  outline-offset: 2px;
}

:where(.tv-v3) .btn-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

:where(.tv-v3) .lang svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* ---------- Variant 3: floating nav card ---------- */
/* 1620px, p-6, rounded-2xl, shadow, 1px N-200 outline, at left 150 / top 40 */
:where(.tv-v3) .v3nav {
  position: absolute;
  left: 50%;
  top: 40px;
  transform: translateX(-50%);
  z-index: 50;
  width: calc(100% - 300px);
  max-width: 1620px;
  padding: var(--Padding-p-regular);
  background: var(--Colours-Shades-Neutral-N---50);
  border-radius: 16px;
  box-shadow: 0 7px 28px 6px rgba(189, 189, 189, .24);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .v3nav__brand {
  flex: 0 0 auto;
}

:where(.tv-v3) .v3nav__logo {
  width: 160px;
  height: 56px;
  object-fit: contain;
  display: block;
}

:where(.tv-v3) .v3nav__list {
  gap: var(--Padding-p-regular);
}

/* link: 20px Ubuntu, green underline slides in */
:where(.tv-v3) .v3nav__link {
  position: relative;
  padding: 0 0 4px;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  white-space: nowrap;
}

:where(.tv-v3) .v3nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--Colours-Shades-Secondary-S---500);
  opacity: 0;
  transition: width .25s ease, opacity .25s ease;
}

/* same override for the floating nav card */
:where(.tv-v3) .v3nav .v3nav__link,
:where(.tv-v3) .v3nav .v3nav__link:hover,
:where(.tv-v3) .v3nav .v3nav__link.active,
:where(.tv-v3) .v3nav .v3nav__link:focus {
  color: var(--Colours-Shades-Neutral-N---900);
}

:where(.tv-v3) .v3nav__link:hover::after,
:where(.tv-v3) .v3nav__link.active::after {
  width: 100%;
  opacity: 1;
}

/* language: px-4 py-2 */
:where(.tv-v3) .v3lang {
  padding: var(--Padding-p-small) var(--Padding-p-medium);
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--Colours-Shades-Neutral-N---900);
  font-family: inherit;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  white-space: nowrap;
  cursor: pointer;
}

:where(.tv-v3) .v3lang svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* nav link with a dropdown (Gallery) */
:where(.tv-v3) .v3nav__link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  vertical-align: -5px;
}

/* dropdown menus (gallery, language, login) */
:where(.tv-v3) .v3nav .dropdown-menu {
  --bs-dropdown-min-width: 11rem;
  --bs-dropdown-padding-x: 8px;
  --bs-dropdown-padding-y: 8px;
  --bs-dropdown-font-size: 16px;
  --bs-dropdown-border-color: var(--Colours-Shades-Neutral-N---200);
  --bs-dropdown-border-radius: 12px;
  --bs-dropdown-link-color: var(--Colours-Shades-Neutral-N---900);
  --bs-dropdown-link-hover-color: var(--Colours-Shades-Neutral-N---900);
  --bs-dropdown-link-hover-bg: var(--Colours-Shades-Secondary-S---50);
  --bs-dropdown-link-active-color: var(--Colours-Shades-Secondary-S---600);
  --bs-dropdown-link-active-bg: var(--Colours-Shades-Secondary-S---100);
  box-shadow: 0 7px 28px 6px rgba(189, 189, 189, .24);
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .v3nav .dropdown-item {
  padding: 8px 12px;
  border-radius: 8px;
}

/* no slider: the nav card sits on a plain band instead of over the hero */
:where(.tv-v3) .v3top {
  padding: 40px 0;
  background: var(--Colours-Shades-Primary-P---50);
}

:where(.tv-v3) .v3nav--static {
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  margin-inline: auto;
}

/* actions sit behind a left divider */
:where(.tv-v3) .v3nav__actions {
  gap: var(--Padding-p-medium);
  padding-left: var(--Padding-p-medium);
  border-left: 1px solid var(--Colours-Shades-Neutral-N---200);
}

:where(.tv-v3) .v3btn-login,
:where(.tv-v3) .v3btn-admission {
  padding: var(--Padding-p-small) var(--Padding-p-medium);
  border-radius: 24px;
  color: var(--Colours-Shades-Neutral-N---50);
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  white-space: nowrap;
}

:where(.tv-v3) .v3btn-login {
  background: var(--Colours-Shades-Primary-P---500);
}

:where(.tv-v3) .v3btn-login:hover {
  background: var(--Colours-Shades-Primary-P---600);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .v3btn-admission {
  background: var(--Colours-Shades-Secondary-S---500);
}

:where(.tv-v3) .v3btn-admission:hover {
  background: var(--Colours-Shades-Secondary-S---600);
  color: var(--Colours-Shades-Neutral-N---50);
}

@media (max-width: 1599.98px) {

  :where(.tv-v3) .v3nav__link,
:where(.tv-v3) .v3lang,
:where(.tv-v3) .v3btn-login,
:where(.tv-v3) .v3btn-admission {
    font-size: 16px;
    line-height: 24px;
  }

  :where(.tv-v3) .v3nav__list {
    gap: var(--Padding-p-medium);
  }
}

@media (max-width: 1399.98px) {
  :where(.tv-v3) .v3nav {
    width: calc(100% - 2 * var(--topbar-pad-x));
  }
}

@media (max-width: 1199.98px) {
  :where(.tv-v3) .v3nav {
    padding: var(--Padding-p-medium);
  }

  :where(.tv-v3) .v3nav__logo {
    width: 130px;
    height: 44px;
  }

  :where(.tv-v3) .v3nav__actions {
    padding-left: 0;
    border-left: 0;
    gap: var(--Padding-p-small);
  }
}

/* ---------- Hero slider ---------- */
/* Hero Banner - Style 1: 1920×900, aspect-ratio 32/15 */
:where(.tv-v3) .hero {
  max-width: 1920px;
  height: 900px;
  max-height: 900px;
  background: var(--Colours-Shades-Primary-P---50);
  /* shows while / if a banner image is unavailable */
  padding-bottom: var(--Padding-p-large);
  aspect-ratio: 32 / 15;
  opacity: var(--Opacity-opacity-100);
}

:where(.tv-v3) .hero .carousel,
:where(.tv-v3) .hero .carousel-inner,
:where(.tv-v3) .hero .carousel-item {
  position: absolute;
  inset: 0;
}

:where(.tv-v3) .hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* arrow row: full 1920px, px-10, top 422px, space-between */
:where(.tv-v3) .hero__arrows {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  max-width: 1920px;
  padding-inline: 40px;
  z-index: 4;
  /* the row spans the whole banner: only the buttons take clicks so linked slides stay clickable */
  pointer-events: none;
}

:where(.tv-v3) .hero__arrows .hero__arrow {
  pointer-events: auto;
}

:where(.tv-v3) .hero__arrow:active {
  transform: scale(.94);
}

/* the slider arrows look the same under the pointer (no colour change, no lift) */
:where(.tv-v3) .hero__arrow:hover {
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--white);
  transform: none;
}

/* Pagination - Style 1: p-2, rounded-2xl, N-50 bg, 1px N-200 outline */
:where(.tv-v3) .hero .carousel-indicators {
  position: relative;
  z-index: 4;
  margin: 0;
  padding: var(--Padding-p-small);
  gap: var(--Padding-p-small);
  background: var(--Colours-Shades-Neutral-N---50);
  border-radius: 16px;
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
}

:where(.tv-v3) .hero .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  border-radius: 24px;
  background-color: var(--Colours-Shades-Neutral-N---200);
  opacity: 1;
  text-indent: 0;
  transition: width 1.5s linear, background-color 1.5s linear;
}

:where(.tv-v3) .hero .carousel-indicators [data-bs-target].active {
  width: 28px;
  background-color: var(--Colours-Shades-Secondary-S---500);
}

/* ---------- About Us (v3) ---------- */
/* px-36 py-20, transparent, gap 24 */
:where(.tv-v3) .about {
  max-width: 1920px;
  padding: var(--Padding-p-xl4) 144px;
  gap: var(--Padding-p-regular);
  font-family: 'Ubuntu', system-ui, sans-serif;
}

/* container 1620, three columns, gap 24 */
:where(.tv-v3) .about__grid {
  max-width: 1620px;
  gap: var(--Padding-p-regular);
}

/* col 1: 662px copy */
:where(.tv-v3) .about__copy {
  width: 662px;
  flex: 0 0 662px;
  gap: 12px;
}

:where(.tv-v3) .about__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Secondary-S---50);
  outline: 1px solid var(--Colours-Shades-Secondary-S---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Secondary-S---600);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .about__tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:where(.tv-v3) .about__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .about__text {
  flex: 1;
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* Read More: pl-4 pr-2 py-2, P-500, rounded-3xl */
:where(.tv-v3) .btn-read {
  padding: var(--Padding-p-small) var(--Padding-p-small) var(--Padding-p-small) var(--Padding-p-medium);
  gap: var(--Padding-p-small);
  border-radius: 24px;
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
}

:where(.tv-v3) .btn-read:hover {
  background: var(--Colours-Shades-Primary-P---600);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .btn-read i {
  width: 20px;
  height: 20px;
  padding: var(--Padding-p-tiny);
  border-radius: 16px;
  background: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .btn-read svg {
  width: 12px;
  height: 12px;
  fill: var(--Colours-Shades-Primary-P---500);
  display: block;
}

/* col 2: photo, h-[476px] */
:where(.tv-v3) .about__media {
  flex: 1;
  min-width: 0;
  height: 476px;
  gap: 10px;
}

:where(.tv-v3) .about__photo {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}

/* col 3: point cards, gap 24 */
:where(.tv-v3) .about__points {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--Padding-p-regular);
}

/* card: p-4, N-100, shadow, 1px N-200 outline, rounded-xl */
:where(.tv-v3) .point {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: var(--Padding-p-medium);
  background: var(--Colours-Shades-Neutral-N---100);
  border-radius: 12px;
  box-shadow: 0 2px 12px 0 rgba(189, 189, 189, .16);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
}

:where(.tv-v3) .point__icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 12px;
  border-radius: 24px;
  background: var(--Colours-Shades-Secondary-S---500);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .point__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

:where(.tv-v3) .point__body {
  flex: 1;
  min-width: 0;
  gap: var(--Padding-p-small);
}

:where(.tv-v3) .point__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
}

:where(.tv-v3) .point__text {
  color: var(--Colours-Shades-Neutral-N---700);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}


/* ---------- Educational Programs (Accordion) ---------- */
:where(.tv-v3) .programs {
  width: 100%;
  max-width: 1920px;
  margin-inline: auto;
  padding: var(--Padding-p-xl4) 144px;
  background: var(--Colours-Shades-Primary-P---50);
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .programs__container {
  width: 100%;
  max-width: 1620px;
  gap: 40px;
}

:where(.tv-v3) .programs__head {
  width: 100%;
  max-width: 846px;
  gap: 12px;
}

:where(.tv-v3) .programs__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .programs__tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:where(.tv-v3) .programs__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .programs__text {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .programs__list {
  width: 100%;
  gap: var(--Padding-p-regular);
}

/* Card */
:where(.tv-v3) .program-row {
  position: relative;
  width: 100%;
  padding: var(--Padding-p-regular);
  border-radius: 16px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--Padding-p-regular);
  cursor: pointer;
  user-select: none;
  transition: background-color 1s cubic-bezier(.16, 1.1, .3, 1),
    box-shadow 1s cubic-bezier(.16, 1.1, .3, 1),
    outline-color 1s cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .program-row:hover:not(.is-active) {
  outline-color: var(--Colours-Shades-Primary-P---500);
}

:where(.tv-v3) .program-row:focus-visible {
  outline: 2px solid var(--Colours-Shades-Primary-P---500);
  outline-offset: 2px;
}

/* Number: Outlined in collapsed state */
:where(.tv-v3) .program-row__num {
  flex: 0 0 64px;
  width: 64px;
  font-size: 60px;
  line-height: 67px;
  font-weight: 700;
  font-family: 'Ubuntu', system-ui, sans-serif;
  color: transparent;
  -webkit-text-stroke: 1.8px var(--Colours-Shades-Primary-P---500);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: color 1s cubic-bezier(.16, 1.1, .3, 1),
    -webkit-text-stroke 1s cubic-bezier(.16, 1.1, .3, 1);
}

/* Main text column */
:where(.tv-v3) .program-row__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 8px;
}

:where(.tv-v3) .program-row__header {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

:where(.tv-v3) .program-row__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  transition: color 1s cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .program-row__badge {
  padding: 4px 12px;
  border-radius: 16px;
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  white-space: nowrap;
  transition: background-color 1s cubic-bezier(.16, 1.1, .3, 1),
    color 1s cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .program-row__desc {
  width: 100%;
  color: var(--Colours-Shades-Neutral-N---700);
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;
  transition: color 1s cubic-bezier(.16, 1.1, .3, 1);
}

/* Photo inside card (collapsed = 0 width) */
:where(.tv-v3) .program-row__image {
  width: 0;
  max-width: 0;
  height: 0;
  opacity: 0;
  border-radius: 16px;
  object-fit: cover;
  margin: 0;
  pointer-events: none;
  flex-shrink: 0;
  transition: max-width 1s cubic-bezier(.16, 1.1, .3, 1),
    width 1s cubic-bezier(.16, 1.1, .3, 1),
    height 1s cubic-bezier(.16, 1.1, .3, 1),
    opacity .5s ease;
}

/* Toggle button */
:where(.tv-v3) .program-row__toggle {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 0;
  border: 0;
  outline: 1px solid var(--Colours-Shades-Primary-P---500);
  outline-offset: -1px;
  background: transparent;
  color: var(--Colours-Shades-Primary-P---500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 1s cubic-bezier(.16, 1.1, .3, 1),
    outline-color 1s cubic-bezier(.16, 1.1, .3, 1),
    color 1s cubic-bezier(.16, 1.1, .3, 1),
    transform 1s cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .program-row:not(.is-active) .program-row__toggle:hover {
  transform: scale(1.06);
}

:where(.tv-v3) .program-row__toggle svg {
  width: 12px;
  height: 12px;
  display: block;
}

:where(.tv-v3) .program-row .program-row__icon-minus {
  display: none;
}

:where(.tv-v3) .program-row .program-row__icon-plus {
  display: block;
}

/* Active card styling */
:where(.tv-v3) .program-row.is-active {
  background: var(--Colours-Shades-Primary-P---500);
  outline-color: var(--Colours-Shades-Primary-P---500);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--Colours-Shades-Primary-P---500) 22%, transparent);
}

:where(.tv-v3) .program-row.is-active .program-row__num {
  color: var(--Colours-Shades-Neutral-N---50);
  -webkit-text-stroke: 0px transparent;
}

:where(.tv-v3) .program-row.is-active .program-row__title {
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .program-row.is-active .program-row__badge {
  background: var(--Colours-Shades-Neutral-N---50);
  color: var(--Colours-Shades-Neutral-N---900);
  font-weight: 500;
}

:where(.tv-v3) .program-row.is-active .program-row__desc {
  color: var(--Colours-Shades-Neutral-N---50);
  opacity: 0.9;
  /* the open card has room for a longer description */
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

:where(.tv-v3) .program-row.is-active .program-row__image {
  width: 280px;
  max-width: 280px;
  height: 190px;
  opacity: 1;
  pointer-events: auto;
}

:where(.tv-v3) .program-row.is-active .program-row__toggle {
  transform: scale(1.333);
  background: var(--Colours-Shades-Neutral-N---50);
  outline-color: var(--Colours-Shades-Neutral-N---50);
  color: var(--Colours-Shades-Primary-P---500);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

:where(.tv-v3) .program-row.is-active .program-row__icon-plus {
  display: none;
}

:where(.tv-v3) .program-row.is-active .program-row__icon-minus {
  display: block;
}

/* ---------- Admission CTA (v3) ---------- */
:where(.tv-v3) .cta {
  max-width: 1920px;
  width: 100%;
  padding: var(--Padding-p-xl4) 144px;
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .cta__inner {
  width: 100%;
  max-width: 1620px;
  min-height: 384px;
  padding: 40px;
  background: var(--Colours-Shades-Primary-P---500);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

:where(.tv-v3) .cta__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* isometric triangle lattice */
:where(.tv-v3) .cta__pattern-mesh line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 1;
}

/* a few hexes read brighter than the lattice */
:where(.tv-v3) .cta__pattern-hexes polygon {
  fill: rgba(255, 255, 255, 0.07);
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1.5;
}

:where(.tv-v3) .cta__content {
  position: relative;
  z-index: 1;
  max-width: 848px;
  width: 100%;
  gap: 32px;
}

/* Tag: px-3 py-2, N-50 bg, 1px N-100 outline, rounded-xl */
:where(.tv-v3) .cta__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .cta__tag svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* Title: text-3xl bold leading-8 */
:where(.tv-v3) .cta__title {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 30px;
  line-height: 32px;
  font-weight: 700;
}

/* Text: text-base leading-6 */
:where(.tv-v3) .cta__text {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  opacity: 0.92;
}

/* Register Now button: pl-4 pr-2 py-2, S-500, rounded-3xl */
:where(.tv-v3) .btn-register {
  padding: 8px 8px 8px 16px;
  gap: var(--Padding-p-small);
  border-radius: 24px;
  background: var(--Colours-Shades-Secondary-S---500);
  color: var(--Colours-Shades-Neutral-N---50);
  font-family: 'Ubuntu', system-ui, sans-serif;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

:where(.tv-v3) .btn-register:hover {
  background: var(--Colours-Shades-Secondary-S---600);
  color: var(--Colours-Shades-Neutral-N---50);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px color-mix(in srgb, var(--Colours-Shades-Secondary-S---500) 35%, transparent);
}

:where(.tv-v3) .btn-register i {
  width: 32px;
  height: 32px;
  border-radius: 16px;
  background: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .btn-register svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* ---------- Announcements (v2) ---------- */
/* ---------- Announcements (v3) ---------- */
:where(.tv-v3) .news {
  max-width: 1920px;
  width: 100%;
  padding: var(--Padding-p-xl4) 144px;
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .news__container {
  max-width: 1620px;
  width: 100%;
  gap: 40px;
}

/* Centered Header: w-846px */
:where(.tv-v3) .news__header {
  max-width: 846px;
  width: 100%;
  gap: 12px;
}

:where(.tv-v3) .news__tag {
  padding: 8px 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Secondary-S---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  color: var(--Colours-Shades-Secondary-S---600);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .news__tag svg {
  width: 18px;
  height: 18px;
  display: block;
}

:where(.tv-v3) .news__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .news__text {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* Two-column layout: 659px + 921px */
:where(.tv-v3) .news__body {
  max-width: 1620px;
  width: 100%;
  gap: 40px;
  align-items: flex-start;
}

/* Left column: Student Graphic Illustration */
:where(.tv-v3) .news__visual {
  width: 659px;
  height: 496px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  /* the slot holds the school's announcement image (any aspect ratio), centred and never cropped */
  display: flex;
  align-items: center;
  justify-content: center;
}

:where(.tv-v3) .news__visual-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border-radius: 16px;
  pointer-events: none;
  user-select: none;
  display: block;
}

/* Right column: Announcements List + Scrollbar */
:where(.tv-v3) .news__list-wrap {
  width: 921px;
  flex: 1;
  min-width: 0;
  /* a short list (1-2 notices) shrinks to its content instead of leaving a blank 496px */
  max-height: 496px;
  align-self: center;
  gap: 12px;
}

:where(.tv-v3) .news__cards-scroll {
  flex: 1;
  max-height: 496px;
  overflow-y: auto;
  overflow-x: hidden;
  gap: 24px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}

:where(.tv-v3) .news__cards-scroll::-webkit-scrollbar {
  display: none;
}

/* Custom Scrollbar Track & Thumb */
:where(.tv-v3) .news__scrollbar {
  flex: 0 0 6px;
  width: 6px;
  align-self: stretch;
  background: var(--Colours-Shades-Neutral-N---200);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

:where(.tv-v3) .news__scrollbar-thumb {
  width: 100%;
  background: var(--Colours-Shades-Neutral-N---400);
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 40px;
  cursor: grab;
  transition: background-color .15s ease;
}

:where(.tv-v3) .news__scrollbar-thumb:active {
  cursor: grabbing;
  background: var(--Colours-Shades-Neutral-N---500);
}

/* Announcement Card: 208px height (h-52), 16px radius, white */
:where(.tv-v3) .notice-card {
  position: relative;
  width: 100%;
  height: 208px;
  min-height: 208px;
  flex-shrink: 0;
  background: var(--Colours-Shades-Neutral-N---50);
  border-radius: 16px;
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  overflow: hidden;
  cursor: pointer;
  transition: outline-color 1s cubic-bezier(.16, 1.1, .3, 1), box-shadow 1s cubic-bezier(.16, 1.1, .3, 1);
  display: flex;
  flex-direction: row;
  align-items: stretch;
}

:where(.tv-v3) .notice-card.is-active,
:where(.tv-v3) .notice-card:hover {
  outline: 1.5px solid var(--Colours-Shades-Secondary-S---500);
  outline-offset: -1.5px;
  box-shadow: 0 6px 20px color-mix(in srgb, var(--Colours-Shades-Secondary-S---500) 16%, transparent);
}

/* Left vertical strip (for active state) */
:where(.tv-v3) .notice-card__strip {
  width: 0;
  opacity: 0;
  background: var(--Colours-Shades-Secondary-S---500);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 0;
  overflow: hidden;
  flex-shrink: 0;
  transition: width 1s cubic-bezier(.16, 1.1, .3, 1), opacity 1s cubic-bezier(.16, 1.1, .3, 1), padding 1s cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .notice-card.is-active .notice-card__strip,
:where(.tv-v3) .notice-card:hover .notice-card__strip {
  width: 56px;
  opacity: 1;
  padding: 20px 8px 16px 8px;
}

:where(.tv-v3) .notice-card__date-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

:where(.tv-v3) .notice-card__date {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 15px;
  line-height: 18px;
  font-weight: 500;
  white-space: nowrap;
  transform: rotate(-90deg);
  display: block;
}

:where(.tv-v3) .notice-card__badge-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--Colours-Shades-Neutral-N---50);
  color: var(--Colours-Shades-Secondary-S---500);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

:where(.tv-v3) .notice-card__badge-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Main Card Content */
:where(.tv-v3) .notice-card__body {
  flex: 1;
  min-width: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

:where(.tv-v3) .notice-card__top {
  gap: 16px;
  align-items: flex-start;
}

:where(.tv-v3) .notice-card__headline {
  flex: 1;
  min-width: 0;
  gap: 8px;
}

:where(.tv-v3) .news__scrollbar.is-idle {
  visibility: hidden;
}

:where(.tv-v3) .notice-card__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.tv-v3) .notice-card__summary {
  color: var(--Colours-Shades-Neutral-N---700);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

/* Actions: Expanded pill when active vs circular when default */
:where(.tv-v3) .notice-card__btn-view {
  padding: 6px 14px 6px 16px;
  gap: 8px;
  border-radius: 24px;
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  display: none;
  align-items: center;
  flex-shrink: 0;
  transition: background-color .2s ease, transform .2s ease;
}

:where(.tv-v3) .notice-card__btn-view:hover {
  background: var(--Colours-Shades-Primary-P---600);
  color: var(--Colours-Shades-Neutral-N---50);
  transform: translateY(-1px);
}

:where(.tv-v3) .notice-card__btn-view svg {
  width: 14px;
  height: 14px;
}

:where(.tv-v3) .notice-card__btn-icon {
  padding: 4px 4px 4px 8px;
  border: 0;
  border-radius: 24px;
  background: transparent;
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  flex-shrink: 0;
  transition: outline-color cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .notice-card__btn-icon:hover {
  outline-color: var(--Colours-Shades-Primary-P---500);
}

/* the navy dot inside the pill */
:where(.tv-v3) .notice-card__btn-dot {
  width: 24px;
  height: 24px;
  border-radius: 24px;
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: background-color .2s ease;
}

:where(.tv-v3) .notice-card__btn-icon:hover .notice-card__btn-dot {
  background: var(--Colours-Shades-Primary-P---600);
}

:where(.tv-v3) .notice-card__btn-dot svg {
  width: 10px;
  height: 10px;
  display: block;
}

:where(.tv-v3) .notice-card.is-active .notice-card__btn-view,
:where(.tv-v3) .notice-card:hover .notice-card__btn-view {
  display: inline-flex;
}

:where(.tv-v3) .notice-card.is-active .notice-card__btn-icon,
:where(.tv-v3) .notice-card:hover .notice-card__btn-icon {
  display: none;
}

/* while a card is hovered, the previously active one steps back */
:where(.tv-v3) .news__cards-scroll:hover .notice-card.is-active:not(:hover) {
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  box-shadow: none;
}

:where(.tv-v3) .news__cards-scroll:hover .notice-card.is-active:not(:hover) .notice-card__strip {
  width: 0;
  opacity: 0;
  padding: 0;
}

:where(.tv-v3) .news__cards-scroll:hover .notice-card.is-active:not(:hover) .notice-card__btn-view {
  display: none;
}

:where(.tv-v3) .news__cards-scroll:hover .notice-card.is-active:not(:hover) .notice-card__btn-icon {
  display: inline-flex;
}

/* Divider line */
:where(.tv-v3) .notice-card__divider {
  width: 100%;
  height: 1px;
  background: var(--Colours-Shades-Neutral-N---200);
}

/* Bottom metadata / classes */
:where(.tv-v3) .notice-card__meta {
  color: var(--Colours-Shades-Neutral-N---700);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Achievements (v2) ---------- */
/* ---------- Achievements in Numbers (v3) ---------- */
/* px-36 py-12, transparent page bg */
:where(.tv-v3) .stats {
  width: 100%;
  max-width: 1920px;
  padding: var(--Padding-p-xxlarge) 144px;
  font-family: 'Ubuntu', system-ui, sans-serif;
}

/* panel: 1620px, p-10, P-500, rounded-3xl, gap 40 */
:where(.tv-v3) .stats__panel {
  width: 100%;
  max-width: 1620px;
  padding: 40px;
  gap: 40px;
  background: var(--Colours-Shades-Primary-P---500);
  border-radius: 24px;
}

:where(.tv-v3) .stats__head {
  width: 100%;
  max-width: 846px;
  gap: 12px;
}

/* tag: N-50 bg, 1px N-100 outline, rounded-xl */
:where(.tv-v3) .stats__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .stats__tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:where(.tv-v3) .stats__title {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .stats__text {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* grid: rounded-2xl, 1px white/20 outline, tiles flush with white/25 rules */
:where(.tv-v3) .stats__grid {
  width: 100%;
  display: flex;
  align-items: stretch;
  border-radius: 16px;
  outline: 1px solid rgba(255, 255, 255, .20);
  outline-offset: -1px;
  overflow: hidden;
}

/* tile: h-64 (256px), p-6, white/5 */
:where(.tv-v3) .stat {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  height: 256px;
  padding: var(--Padding-p-regular);
  background: rgba(255, 255, 255, .05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  overflow: hidden;
  transition: background-color .45s cubic-bezier(.2, .8, .3, 1);
}

:where(.tv-v3) .stat+.stat {
  border-left: 1px solid rgba(255, 255, 255, .25);
}

:where(.tv-v3) .stat:hover {
  background: rgba(255, 255, 255, .09);
}

/* the hover photo layer + navy scrim of the design are dropped: the tiles carry no photo, and
   the scrim's hard-coded blue would clash with a school's own brand colour */

/* hover: the label lifts 20px (timeline 193 -> 173) */
:where(.tv-v3) .stat:hover .stat__label {
  translate: 0 -20px;
}


:where(.tv-v3) .stat__value {
  position: relative;
  z-index: 1;
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 60px;
  line-height: 67px;
  font-weight: 700;
}

:where(.tv-v3) .stat__label {
  position: relative;
  z-index: 1;
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 20px;
  line-height: 24px;
  font-weight: 500;
  translate: 0 0;
  transition: translate 1s cubic-bezier(.16, 1.1, .3, 1);
}

/* ---------- Educators (v3) ---------- */
:where(.tv-v3) .staff {
  width: 100%;
  max-width: 1920px;
  padding: var(--Padding-p-xl4) 144px;
  gap: var(--Padding-p-regular);
  background: var(--Colours-Shades-Primary-P---50);
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .staff__container {
  width: 100%;
  max-width: 1620px;
  gap: 40px;
}

:where(.tv-v3) .staff__head {
  width: 100%;
  max-width: 846px;
  gap: 12px;
}

/* tag: N-50 bg, 1px S-100 outline, rounded-xl */
:where(.tv-v3) .staff__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Secondary-S---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .staff__tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:where(.tv-v3) .staff__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .staff__text {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* rail: horizontal scroller, cards 384px apart with a 24px gap */
:where(.tv-v3) .staff__rail {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: var(--Padding-p-regular);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x mandatory;
}

:where(.tv-v3) .staff__rail::-webkit-scrollbar {
  display: none;
}

/* card: w-96 h-80, p-3, N-50, 1px N-200 outline, rounded-2xl */
:where(.tv-v3) .educator {
  position: relative;
  flex: 0 0 384px;
  width: 384px;
  height: 320px;
  padding: 12px;
  background: var(--Colours-Shades-Neutral-N---50);
  border-radius: 16px;
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 0;
  overflow: hidden;
  scroll-snap-align: start;
  cursor: pointer;
  transition: background-color .3s cubic-bezier(.42, 0, 1, 1),
    outline-color .3s cubic-bezier(.42, 0, 1, 1),
    box-shadow .3s cubic-bezier(.42, 0, 1, 1);
}

/* hover: card fills navy, photo shrinks, panel fades in white */
:where(.tv-v3) .educator:hover,
:where(.tv-v3) .educator:focus-within {
  background: var(--Colours-Shades-Primary-P---500);
  outline-color: var(--Colours-Shades-Primary-P---500);
  box-shadow: 0 10px 28px color-mix(in srgb, var(--Colours-Shades-Primary-P---500) 22%, transparent);
}

/* photo fills the card, then shrinks 322 → 237 to make room for the panel */
:where(.tv-v3) .educator__photo {
  width: 100%;
  height: 296px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  flex: 0 0 auto;
  transition: height .3s cubic-bezier(.42, 0, 1, 1);
}

:where(.tv-v3) .educator:hover .educator__photo,
:where(.tv-v3) .educator:focus-within .educator__photo {
  height: 211px;
}

/* panel fades in under the photo on hover */
:where(.tv-v3) .educator__panel {
  width: 100%;
  height: 0;
  padding-top: 0;
  gap: 4px;
  opacity: 0;
  overflow: hidden;
  transition: height .3s cubic-bezier(.42, 0, 1, 1),
    padding-top .3s cubic-bezier(.42, 0, 1, 1),
    opacity .3s cubic-bezier(.42, 0, 1, 1);
}

:where(.tv-v3) .educator:hover .educator__panel,
:where(.tv-v3) .educator:focus-within .educator__panel {
  height: 85px;
  padding-top: var(--Padding-p-regular);
  opacity: 1;
}

:where(.tv-v3) .educator__name {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.tv-v3) .educator__role {
  color: var(--Colours-Shades-Neutral-N---50);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  opacity: .9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* controls: progress track + prev/next */
:where(.tv-v3) .staff__controls {
  width: 100%;
  gap: var(--Padding-p-regular);
}

:where(.tv-v3) .staff__track {
  flex: 1;
  min-width: 0;
  height: 8px;
  background: var(--Colours-Shades-Neutral-N---50);
  border-radius: 12px;
  overflow: hidden;
}

:where(.tv-v3) .staff__progress {
  height: 8px;
  width: 20%;
  min-width: 48px;
  background: var(--Colours-Shades-Secondary-S---500);
  border-radius: 8px;
  transition: width .25s ease, transform .25s ease;
}

:where(.tv-v3) .staff__nav {
  gap: var(--Padding-p-medium);
}

/* nothing to scroll: hide the progress track and arrows */
:where(.tv-v3) .staff__controls.is-idle {
  display: none !important;
}

:where(.tv-v3) .staff__btn {
  padding: 12px;
  border: 0;
  border-radius: 24px;
  background: var(--Colours-Shades-Secondary-S---500);
  color: var(--Colours-Shades-Neutral-N---50);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

:where(.tv-v3) .staff__btn:hover {
  background: var(--Colours-Shades-Secondary-S---600);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .staff__btn:active {
  transform: scale(.94);
}

:where(.tv-v3) .staff__btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

/* ---------- FAQs (v3) ---------- */
/* px-36 py-20, two columns: 797px copy + flex-1 accordion, gap 40 */
:where(.tv-v3) .faq {
  width: 100%;
  max-width: 1920px;
  padding: var(--Padding-p-xl4) 144px;
  gap: var(--Padding-p-regular);
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .faq__container {
  width: 100%;
  max-width: 1620px;
  gap: 40px;
  align-items: flex-start;
}

:where(.tv-v3) .faq__head {
  width: 797px;
  flex: 0 0 797px;
  gap: 12px;
}

/* tag: S-50 bg, 1px S-100 outline, S-600 text */
:where(.tv-v3) .faq__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Secondary-S---50);
  outline: 1px solid var(--Colours-Shades-Secondary-S---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Secondary-S---600);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .faq__tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:where(.tv-v3) .faq__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .faq__text {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* accordion column: gap 16 */
:where(.tv-v3) .faq__list {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--Padding-p-medium);
}

/* item: p-4, rounded-xl, 1px N-200 outline; closed = N-50, open = N-100 */
:where(.tv-v3) .faq__list .accordion-item {
  width: 100%;
  background: var(--Colours-Shades-Neutral-N---50);
  border: 0;
  border-radius: 12px;
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  overflow: hidden;
  transition: background-color .35s ease;
}

:where(.tv-v3) .faq__list .accordion-item:has(.accordion-button:not(.collapsed)) {
  background: var(--Colours-Shades-Neutral-N---100);
}

/* header row: icon then question, gap 12 */
:where(.tv-v3) .faq__list .accordion-button {
  padding: var(--Padding-p-medium);
  gap: 12px;
  background: transparent;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  text-align: left;
  box-shadow: none;
}

:where(.tv-v3) .faq__list .accordion-button:not(.collapsed) {
  background: transparent;
  color: var(--Colours-Shades-Neutral-N---900);
}

:where(.tv-v3) .faq__list .accordion-button:focus {
  box-shadow: none;
}

:where(.tv-v3) .faq__list .accordion-button::after {
  display: none;
}

/* icon: p-2 rounded-3xl; outline when closed, filled P-500 when open */
:where(.tv-v3) .faq__icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: var(--Padding-p-small);
  border-radius: 24px;
  background: transparent;
  outline: 1px solid var(--Colours-Shades-Primary-P---500);
  outline-offset: -1px;
  color: var(--Colours-Shades-Primary-P---500);
  display: grid;
  place-items: center;
  transition: background-color .35s ease, color .35s ease, outline-color .35s ease;
}

:where(.tv-v3) .faq__icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

:where(.tv-v3) .faq__list .accordion-button .faq__icon-minus {
  display: none;
}

:where(.tv-v3) .faq__list .accordion-button:not(.collapsed) .faq__icon {
  background: var(--Colours-Shades-Primary-P---500);
  outline-color: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .faq__list .accordion-button:not(.collapsed) .faq__icon-plus {
  display: none;
}

:where(.tv-v3) .faq__list .accordion-button:not(.collapsed) .faq__icon-minus {
  display: block;
}

/* answer: gap 12 under the header, text-sm leading-5 */
:where(.tv-v3) .faq__list .accordion-body {
  padding: 0 var(--Padding-p-medium) var(--Padding-p-medium);
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  opacity: 1;
  transition: opacity .5s ease;
}

/* open/close eases over ~1s with a soft spring overshoot */
:where(.tv-v3) .faq__list .accordion-collapse.collapsing {
  transition: height 1s cubic-bezier(.16, 1.1, .3, 1);
}

:where(.tv-v3) .faq__list .accordion-collapse.collapsing .accordion-body,
:where(.tv-v3) .faq__list .accordion-collapse:not(.show) .accordion-body {
  opacity: 0;
}

/* ---------- Gallery (v3) ---------- */
/* px-36 py-20, P-50 background */
:where(.tv-v3) .gallery {
  width: 100%;
  max-width: 1920px;
  padding: var(--Padding-p-xl4) 144px;
  gap: var(--Padding-p-regular);
  background: var(--Colours-Shades-Primary-P---50);
  font-family: 'Ubuntu', system-ui, sans-serif;
}

:where(.tv-v3) .gallery__container {
  width: 100%;
  max-width: 1620px;
  gap: 40px;
}

:where(.tv-v3) .gallery__head {
  width: 100%;
  max-width: 846px;
  gap: 12px;
}

:where(.tv-v3) .gallery__tag {
  padding: var(--Padding-p-small) 12px;
  border-radius: 12px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .gallery__tag svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

:where(.tv-v3) .gallery__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
}

:where(.tv-v3) .gallery__text {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

/* four-up grid of album cards */
:where(.tv-v3) .gallery__list {
  --cols: 4;
  --gap: var(--Padding-p-regular);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--gap);
}

/* card: p-4, N-50, rounded-2xl, 1px N-200 outline, gap 16 */
:where(.tv-v3) .album {
  flex: 0 0 calc((100% - (var(--cols) - 1) * var(--gap)) / var(--cols));
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--Padding-p-medium);
  padding: var(--Padding-p-medium);
  background: var(--Colours-Shades-Neutral-N---50);
  border-radius: 16px;
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  overflow: hidden;
  transition: outline-color .35s ease, box-shadow .35s ease;
}

:where(.tv-v3) .album:hover,
:where(.tv-v3) .album:focus-visible {
  outline-color: var(--Colours-Shades-Secondary-S---500);
  box-shadow: 0 6px 20px color-mix(in srgb, var(--Colours-Shades-Secondary-S---500) 16%, transparent);
}

/* photo stack: h-52 (208px); three plates, percentages off the 384px frame */
:where(.tv-v3) .album__stack {
  position: relative;
  width: 100%;
  height: 208px;
  flex-shrink: 0;
}

:where(.tv-v3) .album__stack img {
  position: absolute;
  border-radius: 12px;
  outline: 2px solid var(--Colours-Shades-Neutral-N---50);
  outline-offset: -2px;
  object-fit: cover;
  /* 700ms ease-in-out, matching the Figma timeline */
  transition: width .7s cubic-bezier(.42, 0, .58, 1),
    height .7s cubic-bezier(.42, 0, .58, 1),
    transform .7s cubic-bezier(.42, 0, .58, 1);
}

/* back-left plate, rotated -5° */
:where(.tv-v3) .album__plate--left {
  left: 3.24%;
  top: 36px;
  width: 78.9%;
  height: 166px;
  transform-origin: top left;
  transform: rotate(-5deg);
  z-index: 0;
}

:where(.tv-v3) .album:hover .album__plate--left {
  width: 84.9%;
  height: 178px;
  transform: rotate(-5deg) translate(-12.4px, -7.4px);
}

/* back-right plate, rotated +5° */
:where(.tv-v3) .album__plate--right {
  left: 10.59%;
  top: 9px;
  width: 78.9%;
  height: 166px;
  transform-origin: top left;
  transform: rotate(5deg);
  z-index: 1;
}

:where(.tv-v3) .album:hover .album__plate--right {
  width: 84.9%;
  height: 178px;
  transform: rotate(5deg) translate(-10.3px, -9.4px);
}

/* front plate sits flat on top */
:where(.tv-v3) .album__plate--front {
  left: 3.16%;
  top: 5px;
  width: 86.2%;
  height: 181px;
  z-index: 2;
}

:where(.tv-v3) .album__rule {
  width: 100%;
  height: 1px;
  background: var(--Colours-Shades-Neutral-N---200);
  flex-shrink: 0;
}

/* footer row: title + counts, arrow on the right */
:where(.tv-v3) .album__foot {
  width: 100%;
  gap: 12px;
}

:where(.tv-v3) .album__body {
  flex: 1;
  min-width: 0;
  gap: 4px;
}

:where(.tv-v3) .album__name {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 16px;
  line-height: 20px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.tv-v3) .album__meta {
  gap: var(--Padding-p-small);
}

:where(.tv-v3) .album__meta span {
  color: var(--Colours-Shades-Neutral-N---700);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

:where(.tv-v3) .album__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--Colours-Shades-Neutral-N---300);
}

/* arrow: p-2 rounded-2xl, outlined navy; fills navy on hover */
:where(.tv-v3) .album__go {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  padding: var(--Padding-p-small);
  border-radius: 16px;
  outline: 1px solid var(--Colours-Shades-Primary-P---500);
  outline-offset: -1px;
  background: transparent;
  color: var(--Colours-Shades-Primary-P---500);
  display: grid;
  place-items: center;
  transition: background-color .35s ease, color .35s ease, outline-color .35s ease;
}

:where(.tv-v3) .album:hover .album__go {
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .album__go svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  display: block;
}

/* ---------- Footer (v3) ---------- */
:where(.tv-v3) .footer {
  width: 100%;
  max-width: 1920px;
  background: var(--Colours-Shades-Neutral-N---50);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  font-family: 'Ubuntu', system-ui, sans-serif;
}

/* body: px-36 py-20 */
:where(.tv-v3) .footer__body-wrap {
  width: 100%;
  padding: var(--Padding-p-xl4) 144px;
  gap: var(--Padding-p-xl2);
}

:where(.tv-v3) .footer__body {
  width: 100%;
  max-width: 1620px;
  gap: var(--Padding-p-large);
  align-items: stretch;
}

/* columns are split by 224px hairline rules (Figma: w-56 rotated) */
:where(.tv-v3) .footer__col+.footer__col,
:where(.tv-v3) .footer__brand+.footer__col {
  position: relative;
  padding-left: var(--Padding-p-large);
}

:where(.tv-v3) .footer__col+.footer__col::before,
:where(.tv-v3) .footer__brand+.footer__col::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  /* 224px in the design; the link column here can hold one more link (Photos + Videos) */
  height: 272px;
  background: var(--Colours-Shades-Neutral-N---200);
}

:where(.tv-v3) .footer__brand {
  flex: 1;
  min-width: 0;
  gap: var(--Padding-p-regular);
}

:where(.tv-v3) .footer__logo {
  width: 160px;
  height: 56px;
  object-fit: contain;
  display: block;
}

:where(.tv-v3) .footer__about {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

/* link columns w-48, contact w-80, apps w-96 */
/* widths are content widths; the 32px divider gutter is added on top
   because box-sizing is border-box (w-48 / w-80 / w-96 in Figma) */
:where(.tv-v3) .footer__col {
  width: calc(192px + var(--Padding-p-large));
  flex: 0 0 calc(192px + var(--Padding-p-large));
  gap: var(--Padding-p-regular);
}

:where(.tv-v3) .footer__col--contact {
  width: calc(320px + var(--Padding-p-large));
  flex: 0 0 calc(320px + var(--Padding-p-large));
}

:where(.tv-v3) .footer__col--apps {
  width: calc(384px + var(--Padding-p-large));
  flex: 0 0 calc(384px + var(--Padding-p-large));
}

:where(.tv-v3) .footer__title {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 18px;
  line-height: 24px;
  font-weight: 500;
}

:where(.tv-v3) .footer__links {
  gap: var(--Padding-p-medium);
}

:where(.tv-v3) .footer__links a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
  transition: color .2s ease-out;
}

/* green underline grows in on hover */
:where(.tv-v3) .footer__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--Colours-Shades-Secondary-S---500);
  opacity: 0;
  transition: width .25s ease-out, opacity .25s ease-out;
}

:where(.tv-v3) .footer__links a:hover {
  color: var(--Colours-Shades-Secondary-S---500);
}

:where(.tv-v3) .footer__links a:hover::after {
  width: 100%;
  opacity: 1;
}

/* contact rows: bare 20px icon + value */
:where(.tv-v3) .footer__contact {
  width: 100%;
  gap: var(--Padding-p-regular);
}

:where(.tv-v3) .footer__ci {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--Colours-Shades-Neutral-N---800);
}

:where(.tv-v3) .footer__ci svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  display: block;
}

:where(.tv-v3) .footer__cvalue {
  flex: 1;
  min-width: 0;
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 16px;
  line-height: 20px;
  font-weight: 400;
}

/* app tiles: 2×2, pairs split by a hairline */
:where(.tv-v3) .footer__apps {
  width: 100%;
  gap: var(--Padding-p-regular);
}

:where(.tv-v3) .footer__apps-row {
  width: 100%;
  gap: var(--Padding-p-regular);
}

:where(.tv-v3) .app-tile {
  flex: 1;
  min-width: 0;
  height: 44px;
  gap: 12px;
  border-radius: 8px;
}

:where(.tv-v3) .footer__apps-row .app-tile+.app-tile {
  position: relative;
  padding-left: var(--Padding-p-regular);
}

/* 44px rule, the height of one tile */
:where(.tv-v3) .footer__apps-row .app-tile+.app-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 44px;
  background: var(--Colours-Shades-Neutral-N---200);
}

/* mark: size-11, p-2, N-100, 1px N-200 outline, rounded-3xl */
:where(.tv-v3) .app-tile__mark {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: var(--Padding-p-small);
  border-radius: 24px;
  background: var(--Colours-Shades-Neutral-N---100);
  outline: 1px solid var(--Colours-Shades-Neutral-N---200);
  outline-offset: -1px;
  color: var(--Colours-Shades-Primary-P---500);
  transition: background-color .2s ease, color .2s ease;
}

:where(.tv-v3) .app-tile:hover .app-tile__mark {
  background: var(--Colours-Shades-Primary-P---500);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .app-tile__mark svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}

:where(.tv-v3) .app-tile__name {
  color: var(--Colours-Shades-Neutral-N---900);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

:where(.tv-v3) .app-tile__os {
  color: var(--Colours-Shades-Neutral-N---800);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

/* bottom bar: px-36 py-3, N-100, 1px N-200 top border */
:where(.tv-v3) .footer__bar {
  width: 100%;
  padding: 12px 144px;
  gap: var(--Padding-p-large);
  background: var(--brand-secondary, var(--Colours-Shades-Neutral-N---100));
  border-top: 1px solid var(--Colours-Shades-Neutral-N---200);
  color: var(--brand-secondary-contrast, var(--Colours-Shades-Neutral-N---900));
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

:where(.tv-v3) .footer__bar-inner {
  width: 100%;
  max-width: 1620px;
  gap: var(--Padding-p-large);
}

/* socials: p-2, 1px N-100 outline, rounded-3xl */
:where(.tv-v3) .footer__social a {
  padding: var(--Padding-p-small);
  border-radius: 24px;
  outline: 1px solid var(--Colours-Shades-Neutral-N---100);
  outline-offset: -1px;
  color: var(--Colours-Shades-Neutral-N---900);
  transition: background-color .2s ease, outline-color .2s ease, color .2s ease;
}

:where(.tv-v3) .footer__social a:hover {
  background: var(--Colours-Shades-Secondary-S---500);
  outline-color: var(--Colours-Shades-Secondary-S---500);
  color: var(--Colours-Shades-Neutral-N---50);
}

:where(.tv-v3) .footer__social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  display: block;
}

/* ---------- Responsive ---------- */
/* The design is drawn for a 1920px canvas. Between 1200px and 1599px the fixed copy columns
   (662px about copy, 797px FAQ head, 659px notice visual) leave their neighbours too narrow,
   so let them flex. */
@media (min-width: 1200px) and (max-width: 1599.98px) {
  :where(.tv-v3) .about__copy {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  :where(.tv-v3) .faq__head {
    width: auto;
    flex: 1 1 0;
  }

  :where(.tv-v3) .news__visual {
    width: auto;
    flex: 1 1 0;
    min-width: 0;
  }

  :where(.tv-v3) .news__list-wrap {
    width: auto;
    flex: 1.5 1 0;
  }
}

/* The four fixed-width footer columns (224 + 224 + 352 + 416px) plus the brand column only fit
   on a 1920px canvas: below that the brand takes its own row and the columns share the next. */
@media (max-width: 1879.98px) {
  :where(.tv-v3) .footer__body {
    flex-wrap: wrap;
    flex-direction: row !important;
  }

  :where(.tv-v3) .footer__brand {
    flex: 1 1 100%;
  }

  :where(.tv-v3) .footer__brand+.footer__col {
    padding-left: 0;
  }

  :where(.tv-v3) .footer__brand+.footer__col::before {
    display: none;
  }

  :where(.tv-v3) .footer__col {
    flex: 1 1 calc(160px + var(--Padding-p-large));
    width: auto;
  }

  :where(.tv-v3) .footer__col--contact {
    flex: 1 1 calc(240px + var(--Padding-p-large));
    width: auto;
  }

  :where(.tv-v3) .footer__col--apps {
    flex: 1 1 calc(320px + var(--Padding-p-large));
    width: auto;
  }
}

/* narrower than that the columns pair up two per row, without the hairline rules */
@media (max-width: 1399.98px) {

  :where(.tv-v3) .footer__col,
:where(.tv-v3) .footer__col--contact,
:where(.tv-v3) .footer__col--apps {
    flex: 1 1 calc(50% - var(--Padding-p-large));
    padding-left: 0 !important;
  }

  :where(.tv-v3) .footer__col::before {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  :where(.tv-v3) .faq__head {
    width: 100%;
    flex: 1 1 auto;
  }

  :where(.tv-v3) .faq__list {
    width: 100%;
    flex: 0 0 auto;
  }

  :where(.tv-v3) .about__copy {
    width: 100%;
    flex: 1 1 auto;
  }

  :where(.tv-v3) .about__media {
    width: 100%;
    height: 380px;
  }

  :where(.tv-v3) .about__points {
    width: 100%;
  }
}


@media (max-width: 1200px) {
  :where(.tv-v3) .about {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .programs {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .program-row.is-active .program-row__image {
    width: 240px;
    max-width: 240px;
    height: 163px;
  }

  :where(.tv-v3) .cta {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .news {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .news__body {
    flex-direction: column;
    align-items: center;
  }

  :where(.tv-v3) .news__visual {
    width: 100%;
    max-width: 659px;
  }

  :where(.tv-v3) .news__list-wrap {
    width: 100%;
    max-width: 921px;
  }

  :where(.tv-v3) .stats {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .staff {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .faq {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .gallery {
    padding: var(--Padding-p-xl4) var(--topbar-pad-x);
  }

  :where(.tv-v3) .footer__body-wrap,
:where(.tv-v3) .footer__bar {
    padding-inline: var(--topbar-pad-x);
  }
}

@media (max-width: 991.98px) {
  :where(.tv-v3) .gallery__list {
    --cols: 3;
  }

  :where(.tv-v3) .program-row__num {
    font-size: 44px;
    flex-basis: 52px;
    width: 52px;
  }

  :where(.tv-v3) .program-row.is-active .program-row__image {
    width: 200px;
    max-width: 200px;
    height: 136px;
  }

  :where(.tv-v3) .about__media {
    height: auto;
  }

  :where(.tv-v3) .about__media .about__photo {
    height: 380px;
  }
}

@media (max-width: 860px) {
  :where(.tv-v3) .cta__inner {
    padding: 32px 20px;
    min-height: 340px;
  }

  :where(.tv-v3) .cta__title {
    font-size: 26px;
    line-height: 32px;
  }

  :where(.tv-v3) .gallery__list {
    --cols: 2;
  }

  :where(.tv-v3) .stats__grid {
    flex-wrap: wrap;
  }

  :where(.tv-v3) .stat {
    flex: 1 1 50%;
    height: 220px;
  }

  :where(.tv-v3) .stat:nth-child(3) {
    border-left: 0;
  }

  :where(.tv-v3) .stat:nth-child(n+3) {
    border-top: 1px solid rgba(255, 255, 255, .25);
  }
}

@media (max-width: 767.98px) {

  /* 900px is more than a phone screen; the banner is centre-cropped either way */
  :where(.tv-v3) .hero {
    height: 560px;
    max-height: 560px;
  }

  :where(.tv-v3) .program-row {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
    padding: var(--Padding-p-medium);
  }

  :where(.tv-v3) .program-row__num {
    font-size: 36px;
    flex-basis: 44px;
    width: 44px;
  }

  :where(.tv-v3) .program-row__content {
    flex: 1 1 calc(100% - 120px);
  }

  :where(.tv-v3) .program-row__toggle {
    margin-left: auto;
  }

  :where(.tv-v3) .program-row__desc {
    width: 100%;
    flex-basis: 100%;
  }

  :where(.tv-v3) .program-row.is-active .program-row__image {
    width: 100%;
    max-width: 100%;
    height: 190px;
    order: 4;
  }

  :where(.tv-v3) .news__visual {
    height: 420px;
  }

  :where(.tv-v3) .news__list-wrap,
:where(.tv-v3) .news__cards-scroll {
    max-height: 460px;
  }
}

@media (max-width: 575.98px) {
  :where(.tv-v3) {
    --topbar-pad-x: 16px;
  }

  :where(.tv-v3) .v3nav__logo {
    width: 110px;
    height: 38px;
  }

  :where(.tv-v3) .btn-icon {
    width: 44px;
    height: 44px;
    padding: 8px;
  }

  :where(.tv-v3) .btn-icon svg {
    width: 24px;
    height: 24px;
  }

  :where(.tv-v3) .about {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .about__title {
    font-size: 24px;
  }

  :where(.tv-v3) .about__media .about__photo {
    height: 260px;
  }

  :where(.tv-v3) .programs {
    padding: var(--Padding-p-xl2) var(--topbar-pad-x);
  }

  :where(.tv-v3) .programs__title {
    font-size: 24px;
  }

  :where(.tv-v3) .cta {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .cta__inner {
    padding: var(--Padding-p-regular) 16px;
    min-height: auto;
  }

  :where(.tv-v3) .cta__title {
    font-size: 24px;
    line-height: 28px;
  }

  :where(.tv-v3) .btn-register {
    font-size: 16px;
    line-height: 24px;
  }

  :where(.tv-v3) .news {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .news__title {
    font-size: 20px;
    line-height: 26px;
  }

  :where(.tv-v3) .news__visual {
    height: 320px;
  }

  :where(.tv-v3) .notice-card {
    height: auto;
    min-height: 200px;
  }

  :where(.tv-v3) .notice-card__body {
    padding: 16px;
  }

  :where(.tv-v3) .notice-card.is-active .notice-card__strip {
    width: 44px;
    padding: 14px 4px;
  }

  :where(.tv-v3) .notice-card__date {
    font-size: 13px;
  }

  :where(.tv-v3) .stats {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .stats__title {
    font-size: 24px;
  }

  :where(.tv-v3) .stats__panel {
    padding: var(--Padding-p-regular);
  }

  :where(.tv-v3) .stat {
    flex: 1 1 100%;
    height: 180px;
    border-left: 0;
  }

  :where(.tv-v3) .stat:nth-child(n+2) {
    border-top: 1px solid rgba(255, 255, 255, .25);
  }

  :where(.tv-v3) .stat__value {
    font-size: 44px;
    line-height: 50px;
  }

  :where(.tv-v3) .staff {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .staff__title {
    font-size: 24px;
  }

  :where(.tv-v3) .educator {
    flex: 0 0 280px;
    width: 280px;
    height: 260px;
  }

  :where(.tv-v3) .educator__photo {
    height: 236px;
  }

  :where(.tv-v3) .educator:hover .educator__photo,
:where(.tv-v3) .educator:focus-within .educator__photo {
    height: 151px;
  }

  :where(.tv-v3) .faq {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .faq__title {
    font-size: 22px;
  }

  :where(.tv-v3) .gallery {
    padding-block: var(--Padding-p-xl2);
  }

  :where(.tv-v3) .gallery__title {
    font-size: 22px;
  }

  :where(.tv-v3) .gallery__list {
    --cols: 1;
  }

  :where(.tv-v3) .footer__col {
    flex: 1 1 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  :where(.tv-v3) .hero .carousel-item,
:where(.tv-v3) .hero .carousel-indicators [data-bs-target],
:where(.tv-v3) .program-row,
:where(.tv-v3) .program-row__num,
:where(.tv-v3) .program-row__title,
:where(.tv-v3) .program-row__badge,
:where(.tv-v3) .program-row__desc,
:where(.tv-v3) .program-row__image,
:where(.tv-v3) .program-row__toggle {
    transition: none;
  }
}

/* ---------- Hover effects ----------
   About points lift and take the primary outline; the FAQ items and the language selector react too.
   Only on devices that can hover (no sticky hover after a tap). */
@media (hover: hover) and (pointer: fine) {

  :where(.tv-v3) .point {
    transition: translate .3s ease, box-shadow .3s ease, outline-color .3s ease;
  }

  :where(.tv-v3) .point:hover {
    translate: 0 -4px;
    outline-color: var(--Colours-Shades-Primary-P---500);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--Colours-Shades-Primary-P---500) 16%, transparent);
  }

  :where(.tv-v3) .faq__list .accordion-item:hover {
    background: var(--Colours-Shades-Neutral-N---100);
  }

  :where(.tv-v3) .faq__list .accordion-button {
    transition: color .25s ease;
  }

  :where(.tv-v3) .faq__list .accordion-button:hover {
    color: var(--Colours-Shades-Primary-P---500);
  }

  :where(.tv-v3) .v3lang {
    transition: background-color .25s ease;
  }

  :where(.tv-v3) .v3lang:hover {
    background: color-mix(in srgb, currentColor 10%, transparent);
  }

  /* hero pagination dots: the dot under the pointer takes the active colour (the slide change keeps its own timing) */
  :where(.tv-v3) .hero .carousel-indicators [data-bs-target]:not(.active):hover {
    background-color: var(--Colours-Shades-Secondary-S---500);
    cursor: pointer;
    transition: width 1.5s linear, background-color .25s ease;
  }
}

@media (prefers-reduced-motion: reduce) {

  :where(.tv-v3) .point {
    transition: none;
    translate: none;
  }
}
