:root {
  --navy: #082f52;
  --navy-soft: #173f63;
  --gold: #b99045;
  --gold-soft: #d8bc7d;
  --cream: #fff8ed;
  --cream-deep: #f1dfbf;
  --paper: #fffdf8;
  --ink: #17344d;
  --muted: #61717b;
  --line: rgba(169, 130, 58, 0.28);
  --shadow: rgba(8, 47, 82, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: #fff8ef;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 248, 237, 0.98);
  border-bottom: 1px solid rgba(169, 130, 58, 0.22);
  box-shadow: 0 10px 26px rgba(8, 47, 82, 0.08);
}
.site-nav {
  width: min(1180px, calc(100% - 36px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.7vw, 24px);
  width: 100%;
}
.nav-menu a,
.nav-dropdown__trigger {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 2px;
  color: var(--navy);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.nav-menu a:hover,
.nav-menu a:focus-visible,
.nav-dropdown__trigger:hover,
.nav-dropdown__trigger:focus-visible,
.nav-menu a[aria-current="page"] {
  border-bottom-color: var(--gold);
  outline: none;
}
.nav-dropdown { position: relative; }
.nav-dropdown::after {
  content: "";
  position: absolute;
  left: -18px;
  right: -18px;
  top: 100%;
  height: 16px;
}
.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  display: none;
  min-width: 230px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 252, 247, 0.98);
  box-shadow: 0 18px 38px var(--shadow);
}
.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  display: grid;
  gap: 4px;
}
.nav-dropdown__menu a {
  display: block;
  min-height: auto;
  padding: 11px 12px;
  border-radius: 9px;
  border-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.nav-dropdown__menu a:hover,
.nav-dropdown__menu a:focus-visible { background: #ead8b9; }
.nav-toggle {
  display: none;
  appearance: none;
  border: 1.5px solid rgba(169, 130, 58, 0.48);
  border-radius: 50%;
  background: rgba(255, 250, 243, 0.92);
  width: 52px;
  height: 52px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--navy);
  border-radius: 999px;
}

.section-shell {
  width: min(1140px, calc(100% - 34px));
  margin: 0 auto;
}

.media-hero {
  position: relative;
  overflow: hidden;
  min-height: clamp(360px, 50vw, 720px);
  padding: 0;
  background:
    linear-gradient(180deg, rgba(8, 25, 42, 0.08), rgba(8, 25, 42, 0.12)),
    url("assets/media-stories/media-stories-hero.png") center center / cover no-repeat,
    #f8ead4;
  border-bottom: 1px solid rgba(169, 130, 58, 0.2);
}
.media-hero::before,
.media-hero::after {
  display: none;
}
.media-hero__content {
  position: relative;
  z-index: 1;
  width: min(840px, 100%);
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  margin: 0 0 15px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.media-hero h1 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.98;
}
.gold-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(420px, 78%);
  margin: 23px auto 20px;
}
.gold-rule::before,
.gold-rule::after {
  content: "";
  height: 1px;
  flex: 1;
  background: rgba(185, 144, 69, 0.55);
}
.gold-rule span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(185, 144, 69, 0.12);
}
.media-hero p:last-child {
  max-width: 760px;
  margin: 0 auto;
  color: var(--navy-soft);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.16rem, 2.4vw, 1.75rem);
  line-height: 1.38;
}

.media-search-section,
.media-feature-section,
.media-section {
  padding: clamp(38px, 6vw, 68px) 0 0;
}
.media-search-section,
.media-feature-section,
.media-section {
  text-align: center;
}
.media-search-section .section-heading,
.media-feature-section .section-heading,
.media-section .section-heading {
  margin-left: auto;
  margin-right: auto;
}
.section-heading {
  max-width: 720px;
  margin-bottom: 22px;
}
.section-heading--split {
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 20px;
  max-width: none;
}
.section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.05;
}

.media-search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(760px, 100%);
  margin: 0 auto;
  min-height: 58px;
  padding: 0 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 28px rgba(8, 47, 82, 0.08);
}
.media-search-box span {
  color: var(--gold);
  font-size: 1.35rem;
  font-weight: 900;
}
.media-search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-size: 1rem;
}
.media-filter-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}
.media-filter-row button {
  appearance: none;
  border: 1px solid rgba(185, 144, 69, 0.36);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  color: var(--navy);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 15px;
}
.media-filter-row button:hover,
.media-filter-row button:focus-visible,
.media-filter-row button.is-active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fffaf1;
  outline: none;
}
.media-no-results {
  max-width: 760px;
  margin: 22px auto 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 253, 248, 0.76);
  color: var(--navy);
  font-weight: 800;
}

.media-feature-card {
  display: grid;
  grid-template-columns: minmax(210px, 320px) 1fr;
  gap: clamp(24px, 5vw, 52px);
  align-items: center;
  padding: clamp(22px, 4vw, 40px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 7px solid var(--gold);
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(8, 47, 82, 0.1);
}
.media-feature-body {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.media-feature-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(135deg, #eadcc6, #fff8ed);
  box-shadow: 0 18px 28px rgba(8, 47, 82, 0.18);
}
.media-feature-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.media-feature-body h3,
.media-card-body h4 {
  margin: 0;
  color: var(--navy);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.1;
}
.media-feature-body h3 { font-size: clamp(2rem, 5vw, 3.25rem); }
.media-card-body h4 { font-size: 1.42rem; }
.media-card-label {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.media-card-author,
.media-card-meta {
  margin: 10px 0 0;
  color: var(--navy-soft);
  font-weight: 800;
}
.media-card-summary {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.65;
}
.media-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}
.media-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(185, 144, 69, 0.14);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: capitalize;
}
.media-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--navy);
  font-weight: 900;
  text-decoration: none;
}
.media-card-link:hover,
.media-card-link:focus-visible {
  color: var(--gold);
  outline: none;
}
.media-cover-credit {
  display: inline-flex;
  justify-content: center;
  width: fit-content;
  margin-top: 12px;
  margin-left: auto;
  margin-right: auto;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}
.media-cover-credit:hover,
.media-cover-credit:focus-visible {
  color: var(--gold);
  outline: none;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.media-grid--originals {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.media-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 16px 34px rgba(8, 47, 82, 0.08);
}
.media-card-image {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: linear-gradient(135deg, #eadcc6, #fff8ed);
  border-bottom: 1px solid var(--line);
}
.media-card-image--video {
  aspect-ratio: 16 / 9;
}
.media-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.media-card-image--video img {
  object-fit: cover;
}
.media-card-image--video::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 47, 82, 0), rgba(8, 47, 82, 0.2));
  opacity: 0;
  transition: opacity .18s ease;
}
.media-card-image--video::after {
  content: "▶";
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%) scale(.94);
  border-radius: 50%;
  background: rgba(8, 47, 82, .84);
  box-shadow: 0 12px 28px rgba(8, 47, 82, .2);
  color: #fff8ed;
  font-size: 1.35rem;
  line-height: 1;
  text-indent: 3px;
  opacity: 0;
  transition: opacity .18s ease, transform .18s ease;
}
.media-card:hover .media-card-image--video::before,
.media-card:focus-within .media-card-image--video::before,
.media-card:hover .media-card-image--video::after,
.media-card:focus-within .media-card-image--video::after {
  opacity: 1;
}
.media-card:hover .media-card-image--video::after,
.media-card:focus-within .media-card-image--video::after {
  transform: translate(-50%, -50%) scale(1);
}
.media-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  text-align: center;
}
.media-card-body .media-card-link { margin-top: auto; padding-top: 18px; }
.media-recommended {
  margin-top: 18px;
  padding: 14px;
  border: 1px solid rgba(185, 144, 69, 0.22);
  border-radius: 12px;
  background: rgba(255, 248, 237, 0.62);
  text-align: left;
}
.media-recommended p {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
}
.media-recommended ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.45;
}
.media-recommended li + li {
  margin-top: 4px;
}
.media-empty-message {
  grid-column: 1 / -1;
  margin: 0;
  padding: 22px;
  border: 1px dashed rgba(185, 144, 69, 0.48);
  border-radius: 14px;
  background: rgba(255, 253, 248, 0.7);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.site-footer {
  margin-top: clamp(54px, 8vw, 92px);
  padding: 38px 22px;
  text-align: center;
  background: var(--navy);
  color: #fff8ed;
}
.site-footer a { color: #fff8ed; }
.site-footer__motto {
  margin: 0 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
}
.site-footer__motto span { color: var(--gold-soft); }
.site-footer__links,
.site-footer__copyright {
  margin: 8px 0 0;
  color: rgba(255, 248, 237, 0.82);
}

@media (max-width: 980px) {
  .site-nav {
    justify-content: flex-end;
    min-height: 76px;
  }
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute;
    left: 50%;
    right: auto;
    top: calc(100% + 10px);
    width: min(680px, calc(100vw - 72px));
    transform: translateX(-50%);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255, 252, 247, 0.98);
    box-shadow: 0 18px 38px var(--shadow);
  }
  .nav-menu.is-open { display: flex; }
  .nav-menu a,
  .nav-dropdown__trigger {
    width: 100%;
    justify-content: space-between;
    min-height: 46px;
    padding: 11px 12px;
    border-bottom: 0;
    border-radius: 10px;
  }
  .nav-menu a:hover,
  .nav-menu a:focus-visible,
  .nav-menu a[aria-current="page"],
  .nav-dropdown__trigger:hover,
  .nav-dropdown__trigger:focus-visible {
    background: rgba(185, 144, 69, 0.14);
  }
  .nav-dropdown::after { display: none; }
  .nav-dropdown__menu {
    position: static;
    transform: none;
    min-width: 0;
    margin: 0 0 6px 12px;
    box-shadow: none;
    background: rgba(242, 226, 198, 0.36);
  }
  .media-grid,
  .media-grid--originals {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .media-feature-card {
    grid-template-columns: minmax(180px, 260px) 1fr;
  }
}

@media (max-width: 680px) {
  .section-shell {
    width: min(100% - 26px, 1140px);
  }
  .media-hero {
    min-height: clamp(280px, 72vw, 420px);
    background-position: center center;
  }
  .media-search-box {
    min-height: 54px;
  }
  .media-filter-row {
    display: grid;
    grid-template-columns: 1fr;
  }
  .media-filter-row button {
    width: 100%;
  }
  .media-feature-card {
    grid-template-columns: 1fr;
    padding: 18px;
  }
  .media-feature-image {
    max-width: 280px;
    width: 100%;
    margin: 0 auto;
  }
  .media-grid,
  .media-grid--originals {
    grid-template-columns: 1fr;
  }
  .media-card-body {
    padding: 18px;
  }
}
