@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/montserrat.woff2') format('woff2');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/opensans.woff2') format('woff2');
}

:root {
  --navy: #0C1C4A;
  --navy-dark: #06102D;
  --gold: #66B3E5;
  --text: #000000;
  --text-light: #5a5a5a;
  --bg-light: #F5F7FA;
  --border: #AEADB3;
  --radius: 8px;
  --transition-theme: background 0.3s, color 0.3s, border-color 0.3s;
}

[data-theme="dark"] {
  --navy: #66B3E5;
  --navy-dark: #000000;
  --text: #ffffff;
  --text-light: #d8dee8;
  --bg-light: #05070d;
  --border: #3f4652;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  line-height: 1.8;
  background: var(--bg-light);
  transition: var(--transition-theme);
}
h1, h2, h3 { font-family: 'Montserrat', sans-serif; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

nav {
  background: var(--navy-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.nav-inner {
  width: 100%;
  margin: 0;
  padding: 0 1.5rem;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--gold);
}
.nav-logo span { color: #fff; font-weight: 400; }
.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  list-style: none;
}
.nav-links a {
  color: #cdd6e8;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.7rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}
.nav-links a.nav-home {
  width: 32px;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-links a.nav-home svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--gold);
  background: rgba(102,179,229,0.1);
}
.search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(102,179,229,0.55);
  border-radius: 50%;
  background: rgba(102,179,229,0.08);
  color: #cdd6e8;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 30px;
  padding: 0 0.55rem;
  border: 1px solid rgba(102,179,229,0.55);
  border-radius: 4px;
  background: rgba(102,179,229,0.08);
  color: #cdd6e8;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  line-height: 1;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.search-toggle svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}
.language-toggle:hover,
.language-toggle:focus-visible,
.search-toggle:hover,
.search-toggle:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--navy-dark);
  outline: none;
}
.site-search-panel {
  position: fixed;
  top: 72px;
  right: 1rem;
  z-index: 140;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  width: min(520px, calc(100vw - 2rem));
  padding: 0.65rem;
  border: 1px solid rgba(102,179,229,0.36);
  border-radius: 8px;
  background: var(--bg-white);
  box-shadow: 0 16px 40px rgba(0,0,0,0.24);
}
.site-search-panel[hidden] { display: none; }
.site-search-input {
  flex: 1;
  min-width: 0;
  height: 38px;
  padding: 0 0.8rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg-light);
  color: var(--text);
  font: 500 0.92rem 'Open Sans', sans-serif;
}
.site-search-input:focus { border-color: var(--gold); outline: none; }
.site-search-count {
  min-width: 3.4rem;
  color: var(--text-light);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
}
.site-search-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(102,179,229,0.5);
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}
.site-search-home {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
}
.site-search-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.site-search-action:hover,
.site-search-action:focus-visible { background: var(--gold); color: var(--navy-dark); outline: none; }
.site-search-mark {
  border-radius: 3px;
  background: rgba(102,179,229,0.35);
  color: inherit;
  padding: 0.02em 0.08em;
}
.site-search-mark.is-active {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 0 0 2px rgba(12,28,74,0.18);
}
.site-search-pages {
  display: flex;
  flex-basis: 100%;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
.site-search-pages:empty { display: none; }
.site-search-pages__label {
  color: var(--text-light);
  font-size: 0.76rem;
  font-weight: 700;
}
.site-search-page-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.22rem 0.55rem;
  border: 1px solid rgba(102,179,229,0.34);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.76rem;
  font-weight: 700;
}
.site-search-page-link:hover,
.site-search-page-link:focus-visible {
  border-color: var(--gold);
  background: rgba(102,179,229,0.16);
  color: var(--navy-dark);
  outline: none;
}
.site-search-page-link span { color: var(--text-light); }

.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 44%, #1f6d9e 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(102,179,229,0.24), rgba(102,179,229,0.08)),
    url('/images/img-02.webp') center/cover no-repeat;
  opacity: 0.2;
}
.page-hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}
.hero-logo {
  width: 170px;
  margin: 0 auto 2rem;
  display: block;
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.4));
}
.page-hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
}
.page-hero p { max-width: 680px; color: #D7EAF7; margin: 0.8rem auto 0; font-size: 1rem; }
.media-jump-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.35rem;
  background: transparent;
  box-shadow: none;
}
.media-jump-nav a {
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 0.48rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--navy-dark);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.media-jump-nav a:hover,
.media-jump-nav a:focus-visible {
  color: #ffffff;
  border-color: var(--gold);
  background: var(--navy);
}
.back-to-top-row {
  display: flex;
  justify-content: center;
  margin-top: 1.5rem;
}
.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(102,179,229,0.5);
  border-radius: 50%;
  background: var(--navy-dark);
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 22px rgba(0,0,0,0.18);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.back-to-top:hover,
.back-to-top:focus-visible {
  background: var(--gold);
  color: var(--navy-dark);
  outline: none;
  transform: translateY(-2px);
}

.content {
  max-width: 1180px;
  margin: 0 auto;
  padding: 4rem 1.5rem 5.5rem;
}
.video-section {
  margin-bottom: 5rem;
}
.video-section:last-child {
  margin-bottom: 0;
}
.videos-title {
  color: var(--navy);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 0.65rem;
  margin-top: 2rem;
}
.video-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(12,28,74,0.08);
  transition: var(--transition-theme), transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(12,28,74,0.13);
}
.video-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.video-card:nth-child(7),
.video-card:nth-child(10) {
  grid-column: span 2;
}
.video-grid--trio {
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 250px;
}
.video-grid--trio .video-card:nth-child(1) {
  grid-column: span 1;
  grid-row: span 1;
}
.video-grid--quartet .video-card:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.video-grid--quartet .video-card:nth-child(4) {
  grid-column: span 2;
}
.video-grid--pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 340px;
}
.video-grid--pair .video-card:nth-child(1),
.video-grid--pair .video-card:nth-child(2) {
  grid-column: span 1;
  grid-row: span 1;
}
.video-frame {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  background: var(--navy-dark);
}
.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--navy-dark);
  object-fit: cover;
}
.video-poster-button {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: var(--navy-dark);
}
.video-poster-button img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video-poster-button span {
  position: relative;
  z-index: 1;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0,0,0,0.58);
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.video-poster-button span::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-42%, -50%);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-left: 21px solid #fff;
}
.video-poster-button:hover span,
.video-poster-button:focus-visible span {
  background: rgba(0,0,0,0.72);
}
.video-frame.is-playing .video-poster-button {
  display: none;
}
.video-card h3 {
  color: var(--navy);
  font-size: 0.96rem;
  line-height: 1.25;
  margin: 0;
  padding: 0.9rem 1rem;
  min-height: 62px;
  display: flex;
  align-items: center;
}

.gdp-section {
  padding: 2.25rem;
  border: 1px solid rgba(102,179,229,0.28);
  border-radius: 8px;
  background: #eef2f5;
  box-shadow: 0 16px 38px rgba(12,28,74,0.1);
}
.gdp-heading p {
  max-width: 680px;
  margin: 0.75rem auto 0;
  color: var(--text-light);
  text-align: center;
  font-size: 0.95rem;
}
.gdp-chart {
  margin-top: 2rem;
}
.gdp-controls {
  display: grid;
  grid-template-columns: 44px minmax(110px, auto) 1fr;
  align-items: center;
  gap: 0.85rem;
}
.gdp-play {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(102,179,229,0.5);
  border-radius: 50%;
  background: var(--navy-dark);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.9rem;
  line-height: 1;
}
.gdp-play:hover,
.gdp-play:focus-visible {
  background: var(--gold);
  color: var(--navy-dark);
  outline: none;
}
.gdp-range-label {
  color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
}
.gdp-range-label strong {
  display: inline-block;
  min-width: 4ch;
  color: var(--text);
}
.gdp-range {
  width: 100%;
  accent-color: var(--navy);
}
.gdp-line-wrap {
  margin-top: 1.35rem;
  overflow-x: auto;
  border: 1px solid rgba(12,28,74,0.1);
  border-radius: 8px;
  background: #f7f9fb;
}
.gdp-line-svg {
  display: block;
  width: 100%;
  min-width: 860px;
  height: auto;
  font-family: 'Montserrat', sans-serif;
}
.gdp-line-svg--mobile {
  min-width: 0;
}
.gdp-legend-mobile {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.35rem 0.6rem;
  margin-top: 1rem;
  padding: 0.75rem 0.5rem 0.5rem;
  border-top: 1px solid rgba(12,28,74,0.1);
}
.gdp-m-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.76rem;
  color: var(--text-light);
  overflow: hidden;
}
.gdp-m-dot {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  border: 1px solid rgba(12,28,74,0.18);
}
.gdp-m-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gdp-m-val {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.74rem;
}
.gdp-grid {
  stroke: rgba(12,28,74,0.12);
  stroke-width: 1;
}
.gdp-axis-text,
.gdp-year-text {
  fill: rgba(12,28,74,0.58);
  font-size: 17px;
  font-weight: 700;
}
.gdp-line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  opacity: 0.9;
}
.gdp-dot {
  stroke: rgba(255,255,255,0.9);
  stroke-width: 3;
}
.gdp-cursor {
  stroke: rgba(12,28,74,0.24);
  stroke-width: 2;
}
.gdp-legend-bg {
  fill: rgba(255,255,255,0.86);
  stroke: rgba(12,28,74,0.1);
}
.gdp-legend-text {
  fill: var(--text-light);
  font-family: 'Open Sans', sans-serif;
  font-size: 15px;
  font-weight: 400;
}
.gdp-legend-swatch {
  stroke: rgba(12,28,74,0.18);
  stroke-width: 2;
}
.gdp-source {
  margin-top: 1.25rem;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

footer {
  background: var(--navy-dark);
  padding: 1.5rem;
  text-align: center;
  color: #6a82a0;
  font-size: 0.85rem;
}
footer strong { color: var(--gold); }

.theme-toggle {
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #AEADB3;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--gold); border-color: var(--gold); background: rgba(102,179,229,0.08); }
.theme-toggle svg { width: 16px; height: 16px; fill: currentColor; pointer-events: none; }
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="dark"] .icon-sun { display: block; }
[data-theme="dark"] .icon-moon { display: none; }
[data-theme="dark"] .video-card {
  background: #000000;
  box-shadow: none;
}
[data-theme="dark"] .gdp-section {
  background: #111111;
  box-shadow: none;
}
[data-theme="dark"] .videos-title,
[data-theme="dark"] .video-card h3,
[data-theme="dark"] .gdp-range-label {
  color: var(--text);
}
[data-theme="dark"] .gdp-legend-mobile {
  border-top-color: rgba(255,255,255,0.1);
}
[data-theme="dark"] .gdp-m-item {
  color: rgba(255,255,255,0.6);
}
[data-theme="dark"] .gdp-m-val {
  color: #fff;
}
[data-theme="dark"] footer {
  background: #000000;
}

@media (max-width: 640px) {
  .content {
    padding: 3rem 1rem 4.5rem;
  }
  .video-section {
    margin-bottom: 4rem;
  }
  .nav-inner {
    height: auto;
    min-height: 60px;
    align-items: flex-start;
    flex-direction: column;
    gap: 0.7rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }
  .nav-links {
    justify-content: flex-start;
  }
  .search-toggle {
    width: 30px;
    height: 30px;
  }
  .language-toggle {
    min-width: 44px;
    height: 30px;
  }
  .site-search-panel {
    top: 104px;
    left: 0.75rem;
    right: 0.75rem;
    width: auto;
  }
  .gdp-section {
    padding: 1.4rem 1rem;
  }
  .gdp-controls {
    grid-template-columns: 42px 1fr;
  }
  .gdp-range-label {
    white-space: normal;
  }
  .gdp-range {
    grid-column: 1 / -1;
  }
  .gdp-line-svg:not(.gdp-line-svg--mobile) {
    min-width: 820px;
  }
}

@media (max-width: 920px) {
  .video-grid,
  .video-grid--trio,
  .video-grid--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
  .video-card:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }
  .video-grid--trio .video-card:nth-child(1),
  .video-grid--pair .video-card:nth-child(1) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .video-card:nth-child(7),
  .video-card:nth-child(10) {
    grid-column: span 1;
  }
}

@media (max-width: 560px) {
  .video-grid,
  .video-grid--trio,
  .video-grid--pair {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 1rem;
  }
  .video-card,
  .video-card:nth-child(1),
  .video-card:nth-child(7),
  .video-card:nth-child(10),
  .video-grid--trio .video-card:nth-child(1),
  .video-grid--pair .video-card:nth-child(1),
  .video-grid--pair .video-card:nth-child(2) {
    grid-column: auto;
    grid-row: auto;
  }
  .video-frame {
    aspect-ratio: 16 / 9;
    flex: none;
  }
}
