/* Self-hosted fonts (SIL Open Font License 1.1, see assets/fonts/OFL-*.txt).
   Variable woff2 files, latin subset, from Google Fonts; one file covers weights 400-800. */
@font-face {
  font-family: "Plus Jakarta Sans";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/plus-jakarta-sans-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Sora";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/sora-latin-var.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.nowrap {
  white-space: nowrap;
}

/* Click-to-load YouTube: nothing is requested from Google/YouTube before the click. */
.video-consent {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  aspect-ratio: 16 / 9;
  width: 100%;
  padding: 1.2rem;
  box-sizing: border-box;
  overflow: hidden;
  border-radius: var(--radius-lg, 22px);
  color: #fff;
  text-align: center;
  /* Dark overlay keeps white text well above 4.5:1 on the local poster image. */
  background:
    linear-gradient(rgba(6, 22, 30, 0.72), rgba(6, 22, 30, 0.72)),
    url("../img/hero-background.jpg") center / cover no-repeat,
    #0b2a35;
}

.video-consent-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.82rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--primary-strong, #083d4a);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.video-consent-play::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0.45rem 0 0.45rem 0.75rem;
  border-color: transparent transparent transparent currentColor;
}

.video-consent-play:hover {
  background: var(--accent-soft, #ffd58c);
}

.video-consent-play:focus-visible {
  outline: 3px solid var(--accent, #f5a623);
  outline-offset: 3px;
}

.video-consent-note {
  margin: 0;
  max-width: 34rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #fff;
}

.video-consent.is-playing {
  padding: 0;
  background: #000;
}

.video-consent iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
