.terms-hero,
.legal-section,
.profile-hero,
.news-article {
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.terms-hero {
  background: var(--royal-deep);
  color: #fff;
  padding: 168px 0 56px;
}

/* =========================================================
   FULL-BLEED HERO — EDGE TO EDGE
   ========================================================= */

#heroSection {
  position: relative;

  /* Break out of any centered/max-width parent */
  width: 100vw;
  max-width: none;

  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  min-height: 690px;
  overflow: hidden;
}

#heroMedia {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  overflow: hidden;
}

#heroMedia video {
  display: block;

  width: 100%;
  height: 100%;

  margin: 0;
  padding: 0;

  object-fit: cover;
  object-position: center 84%;
}

/* =========================================================
   HERO VIDEO CONTROL
   ========================================================= */

#heroSection .hero-controls {
  position: absolute;

  right: 24px;
  bottom: 24px;

  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  margin: 0;
  padding: 0;
}

#heroPause {
  width: 44px;
  height: 44px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 0;
  border-radius: 50%;

  background: rgba(255, 255, 255, 0.82);
  color: #111827;

  cursor: pointer;

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

#heroPause:hover {
  transform: scale(1.06);
  background: #ffffff;

  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

#heroPause:active {
  transform: scale(0.96);
}

#heroPause svg {
  display: block;
}

@media (max-width: 768px) {
  #heroSection {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);

    min-height: 520px;
  }

  #heroMedia video {
    object-position: center 84%;
  }

  #heroSection .hero-controls {
    right: 16px;
    bottom: 16px;
  }

  #heroPause {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  #heroSection {
    min-height: 460px;
  }

  #heroSection .hero-controls {
    right: 12px;
    bottom: 12px;
  }

  #heroPause {
    width: 40px;
    height: 40px;
  }
}

/* =========================================================
   FULL-BLEED HERO VIDEO
   ========================================================= */

#heroSection {
  position: relative;
  width: 100%;
  min-height: 680px;
  overflow: hidden;
}

#heroMedia {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#heroMedia video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 84%;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {
  #heroSection {
    min-height: 600px;
  }

  #heroMedia video {
    object-position: center 84%;
  }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {
  #heroSection {
    min-height: 520px;
  }

  #heroMedia video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 84%;
  }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 480px) {
  #heroSection {
    min-height: 460px;
  }

  #heroMedia video {
    object-position: center 84%;
  }
}
.terms-hero .breadcrumb { color: rgba(255,255,255,0.55); }
.terms-hero .breadcrumb a { color: rgba(255,255,255,0.75); }
.terms-hero .updated-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 18px;
}
.terms-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 20px;
}
.terms-hero h1 {
  color: #fff;
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 14px;
}
.terms-hero-intro p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 56ch;
}

/* =========================================================
   LEARNING VIDEOS
   Responsive, accessible YouTube embeds
   ========================================================= */

.vshs-creative-learning {
  width: 100%;
  padding: clamp(64px, 8vw, 112px) clamp(22px, 5vw, 76px);
  background: #f5f7fa;
  color: #12161c;
  border-top: 1px solid #e2e7ee;
}

.vshs-creative-learning-intro {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.vshs-creative-learning-kicker {
  margin: 0 0 14px;
  color: #1b3a6b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.vshs-creative-learning-intro h2 {
  margin: 0;
  color: #12161c;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 800;
}

.vshs-creative-learning-intro > p:last-child {
  max-width: 720px;
  margin: 20px auto 0;
  color: #5b6472;
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.7;
}

.vshs-creative-video-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 30px);
  width: 100%;
  max-width: 1500px;
  margin: 54px auto 0;
}

.vshs-creative-video-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid #001a38;
  box-shadow: 0 12px 35px rgba(10, 27, 51, .07);
}

.vshs-creative-video-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(255, 255, 255, 0.12);
}

.vshs-creative-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #071b33;
}

.vshs-creative-video-frame video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.vshs-creative-video-body {
  padding: 24px 24px 27px;
}

.vshs-creative-video-label {
  display: block;
  margin-bottom: 9px;
  color: #1b3a6b;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
}

.vshs-creative-video-body h3 {
  margin: 0;
  color: #12161c;
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(19px, 1.5vw, 24px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.vshs-creative-video-body p {
  margin: 11px 0 0;
  color: #5b6472;
  font-size: 14px;
  line-height: 1.65;
}

@media (max-width: 1050px) {
  .vshs-creative-video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .vshs-creative-learning {
    padding: 60px 18px;
  }

  .vshs-creative-video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 38px;
  }

  .vshs-creative-video-body {
    padding: 20px 20px 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vshs-creative-video-card {
    scroll-behavior: auto;
  }
}


/* Subject-specific identity for Chemistry */
.vshs-creative-chemistry .vshs-creative-kicker { letter-spacing: .22em; }
.vshs-creative-chemistry .vshs-creative-description { max-width: 650px; }
