:root {
  --navy-950: #041f4a;
  --navy-900: #062858;
  --navy-800: #08336e;
  --blue-600: #155acb;
  --ink: #092456;
  --muted: #5f6570;
  --line: #dfe4ec;
  --paper: #ffffff;
  --page: #f7f9fc;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input { font: inherit; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 316px;
  color: white;
  background:
    radial-gradient(circle at 30% 35%, rgba(27, 103, 190, .28), transparent 33%),
    linear-gradient(155deg, #031b43 0%, #052b5f 62%, #04356e 100%);
  box-shadow: 7px 0 30px rgba(3, 23, 55, .12);
  z-index: 30;
}

.sidebar::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: rgba(255,255,255,.14);
}

.sidebar-top { min-height: 92px; display: flex; align-items: center; padding: 0 30px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; white-space: nowrap; }
.brand-mark { font-size: 44px; line-height: 1; font-weight: 850; letter-spacing: -2.8px; }
.brand-name { font-size: 20px; font-weight: 680; letter-spacing: -.6px; }
.sidebar-content { padding: 14px 23px 26px; display: flex; min-height: calc(100vh - 92px); flex-direction: column; }
.sidebar-content h2 { font-size: 19px; margin: 0 8px 17px; }

.side-search {
  height: 48px;
  border: 1px solid rgba(169, 203, 244, .42);
  border-radius: 9px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: #b9c9e4;
  margin: 0 8px 22px;
  transition: border-color .2s, background .2s;
}
.side-search:focus-within { border-color: #b6d3ff; background: rgba(255,255,255,.06); }
.side-search span { font-size: 26px; transform: rotate(-15deg); }
.side-search input { width: 100%; border: 0; outline: 0; background: transparent; color: white; font-size: 15px; }
.side-search input::placeholder { color: #b9c9e4; }

.sidebar nav { display: grid; gap: 5px; }
.sidebar nav a { height: 52px; padding: 0 18px; display: flex; align-items: center; gap: 15px; border-radius: 11px; font-size: 14px; font-weight: 510; transition: background .2s, transform .2s; }
.sidebar nav a:hover { background: rgba(255,255,255,.08); transform: translateX(2px); }
.sidebar nav a.active { background: linear-gradient(110deg, #0c448f, #10499f); box-shadow: inset 0 0 0 1px rgba(54,133,235,.26); }
.ui-icon { width: 1em; height: 1em; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nav-icon { width: 29px; display: grid; place-items: center; font-size: 25px; line-height: 1; }
.nav-category-icon { width: 22px; height: 22px; stroke-width: 1.7; }
.lms-icon { width: 22px; height: 22px; stroke-width: 1.7; }

.sidebar-promo { margin: auto 5px 0; border: 1px solid #185fb6; border-radius: 11px; padding: 18px 17px; background: linear-gradient(145deg, rgba(3,36,81,.32), rgba(8,68,141,.75)); }
.promo-phone { width: 42px; height: 42px; color: white; stroke-width: 1.7; }
.sidebar-promo h3 { margin: 11px 0 5px; font-size: 17px; }
.sidebar-promo p { color: #ccdaf0; line-height: 1.45; margin: 0 0 13px; font-size: 13px; }
.sidebar-promo a { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; background: white; color: var(--ink); border-radius: 8px; padding: 10px 14px; font-size: 14px; font-weight: 700; }

.page-area { margin-left: 316px; min-width: 0; }
.topbar { height: 76px; position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.95); backdrop-filter: blur(16px); border-bottom: 1px solid #e2e6ec; display: flex; align-items: center; justify-content: center; padding: 0 310px 0 25px; }
.primary-nav { display: flex; align-items: center; gap: clamp(25px, 3vw, 48px); }
.primary-nav a { font-size: 14px; font-weight: 560; transition: color .2s; }
.primary-nav a:hover { color: #1761cf; }
.primary-nav span { margin-left: 5px; }
.top-actions { position: absolute; right: 24px; display: flex; align-items: center; gap: 18px; }
.language { border: 0; background: transparent; color: var(--ink); cursor: pointer; padding: 10px; display: flex; gap: 7px; align-items: center; }
.language span:first-child { font-size: 23px; }
.contact-button { background: var(--navy-950); color: white; border-radius: 9px; min-height: 42px; padding: 0 16px; display: flex; align-items: center; gap: 9px; font-size: 14px; box-shadow: 0 7px 18px rgba(4,31,74,.16); }
.contact-icon { width: 16px; height: 16px; stroke-width: 2; }
.menu-button, .mobile-brand { display: none; }

main { background: white; min-height: calc(100vh - 76px); }
.intro { position: relative; padding: 22px clamp(28px, 3vw, 48px) 48px; overflow: hidden; }
.intro::before { content: ""; position: absolute; z-index: 0; top: 0; right: -120px; width: 530px; height: 240px; opacity: .55; background: repeating-linear-gradient(165deg, transparent 0 18px, #eaf3ff 19px 25px); transform: skewY(-8deg); }
.intro > * { position: relative; z-index: 1; }
.intro-heading { margin-bottom: 17px; }
.eyebrow { display: none; }
.intro-heading h1 { font-size: clamp(37px, 3.8vw, 56px); letter-spacing: -2.5px; line-height: 1.05; margin: 0 0 7px; max-width: 840px; }
.intro-heading > p:last-child { margin: 0; color: #565b65; font-size: 17px; }

.hero-banner { height: 96px; position: relative; overflow: hidden; color: white; border-radius: 13px; padding: 0 23px; display: flex; align-items: center; gap: 21px; background: linear-gradient(100deg, #052655 0%, #06356e 55%, #021b3c 100%); box-shadow: 0 8px 20px rgba(5,38,85,.14); }
.hero-banner::before { content: ""; position: absolute; inset: 0; opacity: .19; background-image: radial-gradient(circle, #d2e9ff 1px, transparent 1.5px); background-size: 7px 7px; mask-image: linear-gradient(90deg, transparent 44%, black 64%, black 100%); }
.book-symbol { width: 58px; height: 58px; border: 1.5px solid #9bc3ef; border-radius: 50%; display: grid; place-items: center; flex: none; }
.book-icon { width: 32px; height: 32px; stroke-width: 1.55; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h2 { margin: 0 0 5px; font-size: 22px; letter-spacing: -.5px; }
.hero-copy p { margin: 0; font-size: 15px; color: #e8eff9; }
.globe-art { width: 285px; height: 285px; border-radius: 50%; position: absolute; right: 80px; top: -75px; border: 1px solid #5f9bd4; background: radial-gradient(circle at 32% 28%, rgba(134,196,255,.55), rgba(15,80,139,.2) 34%, rgba(2,25,57,.9) 69%); box-shadow: inset -30px -23px 55px #02132d, 0 0 25px rgba(87,162,233,.24); }
.globe-art::after, .globe-art::before { content: ""; position: absolute; inset: 22px 60px; border: 1px solid rgba(164,211,255,.34); border-radius: 50%; }
.globe-art::after { inset: 60px 22px; }
.orbit { position: absolute; inset: 48% -8%; height: 1px; border-top: 1px solid rgba(164,211,255,.3); transform: rotate(13deg); }
.orbit-two { transform: rotate(-15deg); }
.explore-button { margin-left: auto; position: relative; z-index: 3; width: 132px; min-height: 47px; border-radius: 8px; background: white; color: var(--ink); display: flex; align-items: center; justify-content: center; gap: 24px; font-weight: 700; box-shadow: 0 5px 13px rgba(0,0,0,.15); }

.catalogue-tools { margin: 21px 0 16px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.filter-row { display: flex; gap: 13px; flex-wrap: wrap; }
.filter-pill { height: 41px; min-width: 142px; padding: 0 22px; border-radius: 999px; border: 1px solid #dbe2eb; background: white; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; font-weight: 610; transition: all .2s; }
.filter-pill:hover { border-color: #aac3e8; transform: translateY(-1px); }
.filter-pill.selected { background: linear-gradient(110deg, #06295b, #0b448e); color: white; border-color: transparent; box-shadow: 0 5px 12px rgba(6,41,91,.18); }
.audience-icon { width: 18px; height: 18px; flex: none; font-size: 18px; font-weight: 700; line-height: 1; }
.audience-icon svg { width: 100%; height: 100%; display: block; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.catalogue-search { width: min(270px, 27%); height: 41px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #dde3eb; border-radius: 999px; background: #fbfcfe; }
.catalogue-search:focus-within { border-color: #89addd; box-shadow: 0 0 0 3px #e7f1ff; }
.catalogue-search input { border: 0; outline: 0; background: transparent; min-width: 0; flex: 1; color: var(--ink); }
.catalogue-search button { border: 0; background: transparent; cursor: pointer; font-size: 20px; color: #607088; }

.series-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px 15px; }
.series-card { height: 290px; min-width: 0; border: 1px solid #e2e4e8; border-radius: 13px; overflow: hidden; display: grid; grid-template-columns: 44% 56%; background: linear-gradient(90deg, var(--soft) 0 25%, white 63%); box-shadow: 0 5px 10px rgba(15,29,50,.08); transition: transform .25s, box-shadow .25s; }
.series-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(15,29,50,.13); }
.cover-wrap { position: relative; height: 100%; overflow: hidden; background: var(--soft); }
.cover-scene { position: absolute; top: 50%; left: 50%; height: 100%; aspect-ratio: 1; transform: translate(-50%, -50%); }
.cover-scene img, .book-cover { position: absolute; display: block; }
.book-background { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.book-cover { top: 8.37%; left: 50%; width: auto; height: 67.78%; transform: translateX(-50%); box-shadow: 6px 6px 3px rgba(0,0,0,.42); }
.book-cover--landscape { top: 50%; width: 92%; height: auto; max-height: 67.78%; object-fit: contain; transform: translate(-50%, -50%); }
.series-details { padding: 19px 18px 15px 24px; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.series-kicker { width: 100%; display: flex; align-items: center; gap: 13px; color: var(--accent); font-size: 10px; font-weight: 760; }
.series-kicker i { display: block; height: 1px; flex: 1; background: var(--accent); opacity: .45; }
.series-details h2 { color: var(--accent); font-size: clamp(27px, 2.2vw, 37px); letter-spacing: -1.4px; line-height: 1.05; margin: 12px 0 8px; }
.audience-badge { border: 1px solid color-mix(in srgb, var(--accent) 70%, white); border-radius: 5px; color: var(--accent); font-size: 11px; padding: 3px 7px; display: inline-flex; align-items: center; gap: 5px; }
.audience-badge .audience-icon { width: 13px; height: 13px; }
.series-details p { color: #505866; font-size: 13px; line-height: 1.45; margin: 11px 0 10px; }
.series-actions { width: min(100%, 340px); margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 7px; }
.primary-actions { display: flex; flex-direction: column; gap: 7px; }
.series-actions .primary-actions a { min-height: 35px; border-radius: 6px; padding: 0 13px; display: inline-flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 12px; font-weight: 710; }
.extra-resources { order: -1; min-height: 35px; display: flex; align-items: stretch; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 45%, white); border-radius: 6px; background: white; }
.extra-resource { min-width: 0; flex: 1; padding: 0 11px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; color: var(--accent); font-size: 11px; font-weight: 710; }
.extra-resource + .extra-resource { border-left: 1px solid color-mix(in srgb, var(--accent) 23%, white); }
.extra-resource:not(.is-unavailable):hover { background: color-mix(in srgb, var(--soft) 70%, white); }
.extra-resource.is-unavailable { opacity: .52; cursor: not-allowed; }
.extra-resource-icon { width: 18px; height: 18px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.compact-resources { display: none; }
.sample-button { border: 1px solid var(--accent); color: var(--accent); background: white; }

/* -------------------------------------------------------------------------
   SAMPLE BUTTON ANIMATION
   The previous glowing effect is retained below as a disabled comment.
   ------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   GLOWING EFFECT (DISABLED — previous version, retained on request)
   -------------------------------------------------------------------------
.sample-button {
  animation: sample-button-glow-pulse 2.4s ease-in-out infinite alternate;
  transition: transform .2s ease;
}

@keyframes sample-button-glow-pulse {
  from { box-shadow: 0 0 9px 1px color-mix(in srgb, var(--accent) 42%, transparent); }
  to { box-shadow: 0 0 20px 4px color-mix(in srgb, var(--accent) 85%, transparent), 0 0 42px 9px color-mix(in srgb, var(--accent) 40%, transparent); }
}
------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------
   PULSE EFFECT (ACTIVE)
   Uses each series' existing accent color instead of replacing it with red.
   ------------------------------------------------------------------------- */
.sample-button {
  animation: sample-button-pulse 2s infinite;
  transition: transform .2s ease;
}

.series-actions .sample-button:hover {
  transform: translateY(-1px) scale(1.045);
}

@keyframes sample-button-pulse {
  0%, 100% {
    box-shadow:
      0 0 5px color-mix(in srgb, var(--accent) 40%, transparent),
      0 0 10px color-mix(in srgb, var(--accent) 20%, transparent);
  }

  50% {
    box-shadow:
      0 0 10px color-mix(in srgb, var(--accent) 80%, transparent),
      0 0 25px color-mix(in srgb, var(--accent) 50%, transparent);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sample-button { animation: none; box-shadow: 0 0 16px 2px color-mix(in srgb, var(--accent) 55%, transparent); }
  .series-actions .sample-button:hover { transform: translateY(-1px); }
}

.resource-button { color: white; background: var(--accent); box-shadow: 0 5px 12px color-mix(in srgb, var(--accent) 22%, transparent); }
.series-actions a:hover { transform: translateY(-1px); }
.series-actions a:focus-visible, .compact-resources summary:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 30%, transparent); outline-offset: 2px; }

.empty-state { min-height: 300px; border: 1px dashed #cbd6e5; border-radius: 14px; display: grid; place-items: center; align-content: center; gap: 8px; text-align: center; background: #f9fbff; }
.empty-state[hidden] { display: none; }
.empty-state > span { font-size: 45px; color: #8295af; }
.empty-state h2, .empty-state p { margin: 0; }
.empty-state p { color: var(--muted); }
.empty-state button { margin-top: 12px; border: 0; border-radius: 8px; color: white; background: var(--navy-900); padding: 10px 16px; cursor: pointer; }

.support-strip { margin: 0 clamp(28px, 3vw, 48px) 34px; min-height: 78px; padding: 14px 20px; border: 1px solid #dbe5f2; border-radius: 13px; background: linear-gradient(95deg, #f2f7ff, #fff); display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.support-strip > div { display: flex; align-items: center; gap: 15px; }
.support-strip > div > span { width: 46px; height: 46px; border-radius: 50%; background: var(--navy-900); color: white; display: grid; place-items: center; font-size: 23px; }
.support-strip p { margin: 0; color: #566176; font-size: 14px; }
.support-strip strong { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.support-strip > a { white-space: nowrap; border: 1px solid #cbd9eb; padding: 11px 16px; border-radius: 8px; font-weight: 680; }
.mobile-bottom, .drawer-layer { display: none; }
.drawer-layer.open { display: block; }

/* WIDE CATALOGUE ACTIONS: use the available horizontal room for extras. */
@media (min-width: 1600px) {
  .series-actions { width: min(100%, 375px); display: grid; grid-template-columns: minmax(165px, 1fr) minmax(130px, .82fr); align-items: stretch; gap: 8px 10px; }
  .primary-actions { grid-column: 1; grid-row: 1; }
  .extra-resources { order: 0; grid-column: 2; grid-row: 1; min-height: 0; flex-direction: column; }
  .extra-resource { min-height: 35px; justify-content: flex-start; padding: 0 12px; }
  .extra-resource + .extra-resource { border-top: 1px solid color-mix(in srgb, var(--accent) 23%, white); border-left: 0; }
}

@media (min-width: 1261px) and (max-height: 800px) {
  .sidebar-top { min-height: 84px; }
  .sidebar-content { min-height: calc(100vh - 84px); padding-top: 8px; padding-bottom: 16px; }
  .sidebar-content h2 { margin-bottom: 11px; }
  .side-search { margin-bottom: 16px; }
  .sidebar nav a { height: 48px; }
}

@media (max-width: 1260px) {
  .sidebar { display: none; }
  .page-area { margin-left: 0; }
  .topbar { justify-content: space-between; height: 78px; padding: 0 25px; }
  .menu-button { width: 46px; height: 46px; border: 0; border-radius: 9px; background: var(--navy-950); display: grid; align-content: center; justify-content: center; gap: 5px; cursor: pointer; }
  .menu-button span { display: block; width: 22px; height: 2px; border-radius: 2px; background: white; }
  .mobile-brand { display: block; color: var(--ink); margin-right: auto; margin-left: 20px; }
  .mobile-brand .brand-mark { font-size: 35px; }
  .mobile-brand .brand-name { font-size: 17px; }
  .primary-nav { display: none; }
  .top-actions { position: static; }
  .drawer-layer { position: fixed; z-index: 100; inset: 0; }
  .drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(0,16,42,.55); backdrop-filter: blur(3px); }
  .sidebar-mobile { display: block; position: absolute; animation: slideIn .22s ease-out; }
  .sidebar-mobile .sidebar-top { justify-content: space-between; }
  .sidebar-mobile nav { gap: 4px; }
  .sidebar-mobile nav a { height: 48px; font-size: 14px; }
  /* Mobile drawer close: fixed circular target with a crisp vector icon. */
  .sidebar-close { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; display: grid; place-items: center; color: white; border: 1px solid rgba(255,255,255,.36); border-radius: 50%; background: rgba(255,255,255,.08); box-shadow: 0 3px 10px rgba(0, 13, 37, .18); cursor: pointer; transition: background .2s ease, border-color .2s ease, transform .2s ease; }
  .sidebar-close:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.64); transform: scale(1.06); }
  .sidebar-close:focus-visible { outline: 3px solid rgba(144, 198, 255, .9); outline-offset: 3px; }
  .sidebar-close-icon { width: 20px; height: 20px; stroke-width: 2.35; }
  .catalogue-search { width: 250px; }
  @keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
}

@media (max-width: 900px) {
  .intro { padding: 47px 32px 36px; }
  .intro-heading h1 { font-size: 44px; }
  .hero-banner { height: 222px; padding: 28px 28px; align-items: flex-start; }
  .book-symbol { margin-top: 8px; }
  .hero-copy { padding-top: 8px; max-width: 330px; }
  .hero-copy h2 { font-size: 27px; }
  .hero-copy p { margin-top: 12px; line-height: 1.5; }
  .globe-art { width: 300px; height: 300px; right: -40px; top: -20px; opacity: .88; }
  .explore-button { position: absolute; right: 19px; bottom: 22px; }
  .catalogue-tools { align-items: stretch; flex-direction: column; }
  .filter-row { flex-wrap: nowrap; overflow-x: auto; padding: 1px 0 4px; scrollbar-width: none; }
  .filter-row::-webkit-scrollbar { display: none; }
  .filter-pill { flex: 0 0 auto; }
  .catalogue-search { width: 100%; }
  /* -----------------------------------------------------------------------
     DISABLED: TWO-COLUMN CATALOGUE CARD ENLARGEMENT (max-width: 900px)
     This made cards and buttons too large while the catalogue still shows
     two columns, clipping the Sample and Visit resource site buttons.
     Remove these comment markers only to restore the previous layout.
     -----------------------------------------------------------------------
  .series-card { height: 342px; grid-template-columns: 49% 51%; }
  .series-details { padding: 28px 20px 20px 27px; }
  .series-details h2 { font-size: 35px; margin-top: 21px; }
  .series-details p { font-size: 15px; margin-top: 20px; }
  .series-actions { gap: 9px; }
  .series-actions a { min-height: 43px; min-width: 174px; font-size: 13px; }
  ----------------------------------------------------------------------- */
}

/* MOBILE CATALOGUE BREAKPOINT: starts at 745px so action buttons stay visible. */
@media (max-width: 745px) {
  body { background: white; }
  .topbar { height: 69px; padding: 0 17px; }
  .menu-button { width: 38px; height: 38px; border-radius: 8px; }
  .mobile-brand { margin-left: 12px; }
  .mobile-brand .brand-mark { font-size: 29px; letter-spacing: -2px; }
  .mobile-brand .brand-name { font-size: 13px; letter-spacing: -.4px; }
  .top-actions { gap: 4px; }
  .language { font-size: 0; gap: 0; padding: 8px; }
  .language span:first-child { font-size: 23px; }
  .language span:last-child { display: none; }
  .contact-button { display: none; }
  .intro { padding: 30px 17px 100px; }
  .eyebrow { display: block; color: #1d65c8; font-size: 10px; font-weight: 760; letter-spacing: 1.4px; margin: 0 0 9px; }
  .intro-heading h1 { font-size: clamp(36px, 10vw, 49px); line-height: .98; letter-spacing: -2.2px; margin-bottom: 12px; }
  .intro-heading > p:last-child { font-size: 15px; line-height: 1.45; }
  .hero-banner { height: 184px; padding: 21px 20px; gap: 15px; border-radius: 12px; }
  .book-symbol { width: 45px; height: 45px; }
  .book-icon { width: 25px; height: 25px; }
  .hero-copy { padding-top: 3px; max-width: 245px; }
  .hero-copy h2 { font-size: 21px; line-height: 1.15; }
  .hero-copy p { font-size: 13px; margin-top: 8px; max-width: 210px; }
  .globe-art { width: 230px; height: 230px; right: -96px; top: -5px; opacity: .72; }
  .explore-button { min-height: 41px; width: 120px; bottom: 16px; left: 80px; right: auto; }
  .catalogue-tools { margin-top: 17px; }
  .filter-row { margin-right: -17px; }
  .filter-pill { min-width: auto; height: 42px; padding: 0 19px; }
  .series-grid { grid-template-columns: 1fr; gap: 12px; }
  .series-card { min-height: 330px; height: 330px; grid-template-columns: 43% 57%; border-radius: 12px; }
  .series-details { padding: 17px 13px 13px 17px; }
  .series-details h2 { font-size: clamp(27px, 8vw, 35px); margin: 12px 0 7px; }
  .series-details p { font-size: 12px; line-height: 1.38; margin: 9px 0 8px; }
  .series-actions { width: 100%; gap: 6px; }
  .series-actions .primary-actions a { min-height: 36px; padding: 0 11px; gap: 10px; font-size: 11px; }
  .extra-resources { display: none; }
  .compact-resources { order: -1; display: block; width: 100%; }
  .compact-resources summary { min-height: 36px; padding: 0 11px; display: flex; align-items: center; justify-content: space-between; color: var(--accent); border: 1px solid var(--accent); border-radius: 6px; background: white; cursor: pointer; font-size: 11px; font-weight: 710; list-style: none; }
  .compact-resources summary::-webkit-details-marker { display: none; }
  .compact-resources[open] summary { border-bottom-right-radius: 0; border-bottom-left-radius: 0; }
  .compact-resources-menu { display: flex; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--accent) 45%, white); border-top: 0; border-radius: 0 0 6px 6px; background: white; }
  .compact-resources-menu .extra-resource { min-height: 34px; justify-content: flex-start; padding: 0 11px; }
  .compact-resources-menu .extra-resource + .extra-resource { border-top: 1px solid color-mix(in srgb, var(--accent) 23%, white); border-left: 0; }
  .series-card:has(.compact-resources[open]) { height: auto; }
  .series-kicker { font-size: 9px; gap: 8px; }
  .audience-badge { font-size: 10px; }
  .support-strip { display: none; }
  .mobile-bottom { position: fixed; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); bottom: 0; left: 0; right: 0; height: 72px; background: rgba(255,255,255,.97); border-top: 1px solid #d5dce6; box-shadow: 0 -8px 25px rgba(5,31,70,.08); backdrop-filter: blur(12px); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-bottom a { display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 3px; font-size: 10px; font-weight: 620; color: #68758a; }
  .mobile-category-icon { width: 22px; height: 22px; stroke-width: 1.7; }
  .mobile-bottom a.active { color: var(--navy-900); }
  .sidebar-mobile { width: min(316px, 88vw); }
}

@media (max-width: 390px) {
  .mobile-brand .brand-name { display: none; }
  .series-card { height: 330px; }
  .series-details { padding-left: 14px; }
  .series-details h2 { font-size: 27px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
