:root {
  --ink: #17273d;
  --muted: #5d6b7d;
  --soft-muted: #8793a2;
  --paper: #f8f8f4;
  --surface: #ffffff;
  --surface-alt: #f2f5f7;
  --navy: #173656;
  --navy-dark: #10253e;
  --orange: #ec7b3e;
  --orange-soft: #fff0e6;
  --sage: #e7f0ea;
  --sage-ink: #2e6550;
  --line: #dfe5e9;
  --line-strong: #cbd5dc;
  --shadow: 0 20px 60px rgba(23, 39, 61, 0.08);
  --shadow-subtle: 0 8px 24px rgba(23, 39, 61, 0.06);
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, select { font: inherit; }

a { color: inherit; text-decoration: none; }

button { cursor: pointer; }

button:disabled { cursor: not-allowed; }

img { display: block; max-width: 100%; }

.container { width: min(var(--container), calc(100% - 48px)); margin-inline: auto; }

.section { padding: 104px 0; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 11px 15px;
  color: #fff;
  background: var(--navy-dark);
  border-radius: 8px;
  transition: transform 160ms ease;
}

.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid #e99b45;
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  background: rgba(248, 248, 244, 0.95);
  border-bottom: 1px solid rgba(203, 213, 220, 0.72);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 82px;
  gap: 28px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.brand img { width: 43px; height: 43px; }

.brand span { display: grid; line-height: 1.05; }

.brand strong { font-size: 0.98rem; letter-spacing: -0.02em; }

.brand small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
  color: #445367;
  font-size: 0.88rem;
  font-weight: 650;
}

.main-nav a { padding: 8px 0; }

.main-nav a:hover { color: var(--navy); }

.social-links { display: flex; align-items: center; gap: 7px; }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  gap: 6px;
  color: #45556a;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, color 160ms ease;
}

.social-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.social-link:hover { color: var(--navy); border-color: #aebbc5; transform: translateY(-1px); }

.social-link.is-disabled { opacity: 0.58; cursor: not-allowed; }

.social-link .social-short { display: none; }

.social-link .social-full { display: inline; }

.hero { overflow: hidden; padding: 92px 0 88px; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(310px, 0.75fr);
  align-items: center;
  gap: clamp(48px, 8vw, 122px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 15px;
  color: var(--orange);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span { width: 24px; height: 2px; background: currentColor; }

h1, h2, h3, h4, p { margin-top: 0; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.11; }

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(2.72rem, 6vw, 5.05rem);
  letter-spacing: -0.065em;
}

h1 em {
  color: var(--orange);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lede {
  max-width: 610px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.7vw, 1.19rem);
}

.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  gap: 10px;
  border: 0;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

.button:hover:not(:disabled):not(.is-disabled) { transform: translateY(-2px); }

.button-primary { color: #fff; background: var(--navy); box-shadow: 0 10px 22px rgba(23, 54, 86, 0.17); }

.button-primary:hover:not(.is-disabled) { background: var(--navy-dark); box-shadow: 0 14px 26px rgba(23, 54, 86, 0.23); }

.button-dark { color: #fff; background: var(--ink); }

.button-dark:hover:not(:disabled) { background: var(--navy); }

.button.is-disabled, .button:disabled { opacity: 0.52; box-shadow: none; pointer-events: none; }

.text-link { color: var(--navy); font-size: 0.91rem; font-weight: 800; }

.text-link:hover { color: var(--orange); }

.text-link span { margin-left: 4px; }

.hero-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 28px 0 0;
  color: var(--soft-muted);
  font-size: 0.82rem;
}

.hero-note span { color: var(--sage-ink); font-weight: 800; }

.hero-panel {
  position: relative;
  min-height: 375px;
  padding: 28px 30px 20px;
  overflow: hidden;
  color: #f7fbff;
  background: var(--navy);
  border-radius: var(--radius-lg);
  box-shadow: 22px 25px 0 #e4ebed;
  display: flex;
  flex-direction: column;
}

.hero-panel::before, .hero-panel::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  content: "";
}

.hero-panel::before { width: 275px; height: 275px; right: -113px; bottom: -123px; }

.hero-panel::after { width: 180px; height: 180px; right: -34px; bottom: -64px; }

.hero-panel-top, .hero-panel-footer, .archive-number, .hero-panel > p, .hero-panel-rule { position: relative; z-index: 1; }

.hero-panel-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.panel-kicker { color: #b9cbdd; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.15em; }

.online-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  color: #e3f1e9;
  background: rgba(255,255,255,0.09);
  border-radius: 99px;
  font-size: 0.65rem;
  font-weight: 700;
}

.online-pill i { width: 6px; height: 6px; background: #7bd49f; border-radius: 50%; }

.archive-number { margin-top: 48px; color: #fff; font-size: clamp(4.8rem, 8.5vw, 6.8rem); font-weight: 800; letter-spacing: -0.09em; line-height: 0.82; position: relative; z-index: 1; }

.archive-desc { max-width: 165px; margin: 15px 0 25px; color: #d6e1eb; font-size: 0.86rem; line-height: 1.45; position: relative; z-index: 1; }

.director-photo-overlay {
  position: absolute;
  bottom: 45px;
  right: 15px;
  height: 200px;
  width: auto;
  object-fit: contain;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 16px rgba(10, 22, 38, 0.2));
}

.hero-panel-rule { height: 1px; background: rgba(255,255,255,0.22); margin-top: auto; position: relative; z-index: 2; }

.hero-panel-footer-name {
  position: relative;
  z-index: 2;
  margin-top: 10px;
  text-align: center;
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  width: 100%;
}

.trust-strip { background: var(--navy-dark); }

.trust-items { display: flex; align-items: stretch; justify-content: center; }

.trust-items span {
  flex: 1;
  padding: 16px 24px;
  color: #dce7ef;
  border-left: 1px solid rgba(255,255,255,0.11);
  font-size: 0.8rem;
  font-weight: 650;
  text-align: center;
}

.trust-items span:last-child { border-right: 1px solid rgba(255,255,255,0.11); }

.trust-items b { margin-right: 9px; color: var(--orange); font-size: 0.68rem; letter-spacing: 0.08em; }

.how-section { background: #fff; }

.section-heading { margin-bottom: 42px; }

.two-column-heading, .archive-heading { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(270px, 0.45fr); align-items: end; gap: 50px; }

.section-heading h2 { margin-bottom: 0; font-size: clamp(2rem, 3.8vw, 3.12rem); letter-spacing: -0.055em; }

.section-heading > p, .archive-heading-side > p { margin: 0 0 5px; color: var(--muted); font-size: 0.98rem; }

.archive-heading-side { display: grid; gap: 11px; justify-items: start; }

.library-button { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); font-size: 0.8rem; font-weight: 800; }
.library-button:hover { color: var(--orange); }

.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 0; list-style: none; }

.step-card { position: relative; min-height: 258px; padding: 28px; background: var(--paper); border: 1px solid #eef0eb; border-radius: var(--radius-md); }

.step-number { position: absolute; top: 28px; right: 28px; color: #a2adb7; font-size: 0.69rem; font-weight: 800; letter-spacing: 0.1em; }

.step-icon { display: grid; width: 52px; height: 52px; place-items: center; margin-bottom: 30px; color: var(--navy); background: #e5eef3; border-radius: 15px; }

.step-icon svg { width: 31px; height: 31px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.step-card:nth-child(2) .step-icon { color: #a94a1b; background: var(--orange-soft); }
.step-card:nth-child(3) .step-icon { color: var(--sage-ink); background: var(--sage); }

.step-card h3 { margin-bottom: 11px; font-size: 1.18rem; letter-spacing: -0.03em; }

.step-card p { max-width: 290px; margin: 0; color: var(--muted); font-size: 0.9rem; }

.finder-section { padding-top: 94px; padding-bottom: 94px; background: #e8eff2; }

.finder-shell { display: grid; grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.25fr); align-items: center; gap: clamp(40px, 7vw, 96px); }

.finder-intro h2 { margin-bottom: 17px; font-size: clamp(2rem, 3.8vw, 3.08rem); letter-spacing: -0.055em; }

.finder-intro > p:not(.eyebrow) { max-width: 350px; margin-bottom: 27px; color: var(--muted); }

.finder-tip { display: flex; gap: 10px; max-width: 390px; padding: 13px 14px; color: #52647a; background: rgba(255,255,255,0.65); border-left: 3px solid var(--orange); font-size: 0.76rem; line-height: 1.45; }

.finder-tip svg { flex: 0 0 auto; width: 19px; height: 19px; margin-top: 1px; fill: none; stroke: var(--orange); stroke-width: 1.8; }

.finder-card { padding: 31px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { display: grid; gap: 8px; }

.field label { color: #435369; font-size: 0.79rem; font-weight: 800; }

.field select {
  width: 100%;
  min-height: 53px;
  padding: 0 39px 0 14px;
  color: var(--ink);
  appearance: none;
  background-color: #fff;
  background-image: linear-gradient(45deg, transparent 50%, #627285 50%), linear-gradient(135deg, #627285 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-size: 0.91rem;
  font-weight: 650;
}

.field select:disabled { color: #99a4af; background-color: #f5f6f6; cursor: not-allowed; }

.field select:not(:disabled):hover { border-color: #97a9b7; }

.finder-result { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 99px; padding: 18px; margin-top: 21px; background: #f6f9fa; border: 1px solid #e3ebed; border-radius: 14px; }

.result-copy { display: flex; align-items: flex-start; gap: 11px; }

.status-dot { width: 9px; height: 9px; flex: 0 0 auto; margin-top: 5px; background: var(--orange); border-radius: 50%; }

.status-dot.is-ready { background: #3da06f; box-shadow: 0 0 0 4px #daf0e2; }

.result-label { margin: 0 0 3px; color: #768495; font-size: 0.69rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.result-copy strong { display: block; max-width: 290px; font-size: 0.98rem; line-height: 1.35; }

.finder-result .button { flex: 0 0 auto; min-width: 149px; min-height: 45px; padding-inline: 14px; font-size: 0.79rem; }

.form-message { min-height: 23px; margin: 14px 0 0; color: #708096; font-size: 0.78rem; }

.form-message.is-warning { color: #a5552d; }

.finder-library-link { display: inline-flex; margin-top: 2px; color: var(--navy); font-size: 0.77rem; font-weight: 800; }
.finder-library-link:hover { color: var(--orange); }

.archive-section { padding-bottom: 118px; }

.archive-controls { display: flex; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 28px; }

.year-filters { display: flex; flex-wrap: wrap; gap: 8px; }

.filter-button {
  min-height: 38px;
  padding: 8px 13px;
  color: #58677a;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.79rem;
  font-weight: 750;
}

.filter-button:hover { color: var(--navy); border-color: #9eafbb; }

.filter-button.is-active { color: #fff; background: var(--navy); border-color: var(--navy); }

.bulk-actions { display: flex; align-items: center; gap: 12px; color: #536176; font-size: 0.78rem; font-weight: 700; }

.bulk-actions .button { min-height: 40px; padding: 9px 13px; font-size: 0.78rem; }

.archive-root { display: grid; gap: 18px; }

.year-group { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md); }

.year-group[hidden] { display: none; }

.year-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 75px;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
}

.year-group summary::-webkit-details-marker { display: none; }

.year-group summary::after {
  width: 9px;
  height: 9px;
  margin-left: 15px;
  border-right: 2px solid #6b7b8e;
  border-bottom: 2px solid #6b7b8e;
  content: "";
  transform: rotate(45deg) translateY(-2px);
  transition: transform 150ms ease;
}

.year-group[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }

.year-summary { display: flex; align-items: center; gap: 12px; }

.year-summary strong { font-size: 1.2rem; letter-spacing: -0.035em; }

.year-summary span { color: #708096; font-size: 0.78rem; font-weight: 700; }

.year-content { padding: 0 24px 24px; border-top: 1px solid var(--line); }

.year-topline { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 0 17px; }

.year-topline p { margin: 0; color: #798799; font-size: 0.78rem; }

.folder-link { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); font-size: 0.78rem; font-weight: 800; }
.folder-link:hover { color: var(--orange); }
.folder-link svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.pdf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }

.pdf-card { position: relative; min-width: 0; padding: 17px; background: #fbfcfc; border: 1px solid #e5ebed; border-radius: 13px; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; }

.pdf-card:has(input:checked) { border-color: #7291a9; box-shadow: 0 8px 20px rgba(23,54,86,0.1); }

.pdf-card:hover { border-color: #c1cdd4; box-shadow: var(--shadow-subtle); transform: translateY(-2px); }

.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }

.month-pill, .availability-pill { display: inline-flex; align-items: center; min-height: 23px; padding: 4px 7px; border-radius: 99px; font-size: 0.65rem; font-weight: 800; letter-spacing: 0.045em; text-transform: uppercase; }

.month-pill { color: #4f6075; background: #edf2f4; }
.availability-pill { color: #a1542d; background: var(--orange-soft); }
.availability-pill.is-ready { color: var(--sage-ink); background: var(--sage); }

.pdf-card h4 { min-height: 42px; margin: 15px 0 15px; font-size: 0.98rem; letter-spacing: -0.025em; }

.card-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }

.open-pdf { display: inline-flex; align-items: center; gap: 5px; color: var(--navy); font-size: 0.78rem; font-weight: 850; }
.open-pdf:hover { color: var(--orange); }
.open-pdf svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }

.not-ready { color: #8d99a4; font-size: 0.75rem; font-weight: 700; }

.card-choice { display: inline-flex; align-items: center; gap: 5px; color: #637286; font-size: 0.71rem; font-weight: 700; cursor: pointer; }

.card-choice input { width: 15px; height: 15px; accent-color: var(--navy); cursor: pointer; }

.card-choice input:disabled { cursor: not-allowed; }

.site-footer { padding: 30px 0; color: #bdccd8; background: var(--navy-dark); }

.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }

.footer-brand { color: #fff; }
.footer-brand small { color: #9eb0bf; }

.site-footer p { margin: 0; color: #aebfcd; font-size: 0.8rem; }

.back-to-top { color: #f3a95f; font-size: 0.78rem; font-weight: 800; }
.back-to-top:hover { color: #fff; }

/* ==========================================
   DAILY CURRENT AFFAIRS SECTION & MODAL LIGHTBOX
   ========================================== */

/* Header Nav Badge */
.nav-daily-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-weight: 750;
}

.nav-badge {
  padding: 2px 7px;
  color: #fff;
  background: var(--orange);
  border-radius: 99px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid var(--line-strong);
}
.button-secondary:hover {
  border-color: var(--navy);
  background: var(--surface-alt);
}

/* Section Container */
.daily-section {
  background: linear-gradient(180deg, #f2f5f7 0%, var(--paper) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.daily-heading-desc {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Featured Card */
.daily-featured-container {
  margin-bottom: 40px;
}

.featured-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1.15fr);
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.featured-media {
  position: relative;
  background: var(--navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 380px;
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.featured-shell:hover .featured-media img {
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 12px;
  color: #fff;
  background: var(--orange);
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 4px 12px rgba(236,123,62,0.3);
}

.slide-count-pill {
  position: absolute;
  bottom: 16px;
  right: 16px;
  padding: 6px 12px;
  color: #fff;
  background: rgba(16, 37, 62, 0.88);
  backdrop-filter: blur(8px);
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 750;
  border: 1px solid rgba(255,255,255,0.15);
}

.featured-content {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.daily-date-pill, .daily-category-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.daily-date-pill {
  color: var(--navy);
  background: var(--surface-alt);
  border: 1px solid var(--line);
}

.daily-category-pill {
  color: var(--sage-ink);
  background: var(--sage);
}

.featured-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}

.featured-summary {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.featured-bullets {
  max-height: 180px;
  overflow-y: auto;
  margin: 0 0 24px 0;
  padding: 8px 12px 8px 24px;
  color: var(--ink);
  font-size: 0.88rem;
  background: rgba(248, 248, 244, 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  scrollbar-width: thin;
  scrollbar-color: var(--soft-muted) transparent;
}

.featured-bullets::-webkit-scrollbar {
  width: 6px;
}

.featured-bullets::-webkit-scrollbar-track {
  background: transparent;
}

.featured-bullets::-webkit-scrollbar-thumb {
  background-color: var(--line-strong);
  border-radius: 99px;
}

.featured-bullets::-webkit-scrollbar-thumb:hover {
  background-color: var(--orange);
}

.featured-bullets li {
  margin-bottom: 8px;
  line-height: 1.45;
}

.featured-bullets li:last-child {
  margin-bottom: 0;
}

.featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Control Desk (Search + Date Picker) */
.daily-controls-shell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding: 20px 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-subtle);
}

.daily-search-box {
  position: relative;
  flex: 1 1 340px;
}

.daily-search-box .search-icon {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  fill: var(--soft-muted);
}

.daily-search-box input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px 10px 42px;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.daily-search-box input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(236,123,62,0.15);
}

.daily-date-filter {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.daily-date-filter input[type="date"] {
  min-height: 44px;
  padding: 8px 14px;
  font-size: 0.86rem;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
}

.clear-date-btn {
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 750;
  color: var(--orange);
  background: var(--orange-soft);
  border: none;
  border-radius: 99px;
  cursor: pointer;
}
.clear-date-btn:hover {
  background: #ffe3d1;
}

/* Category Chips */
.daily-categories-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.daily-chip {
  padding: 8px 16px;
  color: var(--muted);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 750;
  transition: all 160ms ease;
  cursor: pointer;
}

.daily-chip:hover {
  color: var(--navy);
  border-color: var(--line-strong);
}

.daily-chip.is-active {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 4px 12px rgba(23,38,61,0.18);
}

/* Results Header Bar */
.daily-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.daily-tip-pill {
  color: var(--sage-ink);
  background: var(--sage);
  padding: 4px 10px;
  border-radius: 99px;
  font-size: 0.74rem;
}

/* Daily Cards Grid */
.daily-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.daily-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.daily-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(23, 39, 61, 0.1);
  border-color: #cbd5dc;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--navy-dark);
  cursor: pointer;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.card-media:hover img {
  transform: scale(1.04);
}

.card-slide-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 4px 8px;
  color: #ffffff;
  background: rgba(16, 37, 62, 0.85);
  backdrop-filter: blur(6px);
  border-radius: 99px;
  font-size: 0.68rem;
  font-weight: 750;
}

.card-body {
  padding: 20px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.card-title {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.35;
  cursor: pointer;
  transition: color 150ms ease;
}

.card-title:hover {
  color: var(--orange);
}

.card-summary {
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.5;
  margin-bottom: 14px;
}

.card-highlights {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--line);
}

.card-highlights summary {
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
  cursor: pointer;
  padding: 4px 0;
}

.card-highlights ul {
  margin: 10px 0 0 0;
  padding-left: 18px;
  color: var(--ink);
  font-size: 0.82rem;
}

.card-highlights li {
  margin-bottom: 4px;
}

.card-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 14px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 6px 12px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 750;
  transition: all 160ms ease;
  cursor: pointer;
}

.card-btn svg {
  width: 14px;
  height: 14px;
}

.card-btn-view {
  color: var(--navy);
  background: #ffffff;
  border: 1px solid var(--line-strong);
}

.card-btn-view:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

.card-btn-pdf {
  color: #ffffff;
  background: var(--orange);
  border: 1px solid var(--orange);
}

.card-btn-pdf:hover {
  background: #d66528;
  border-color: #d66528;
}

/* Empty State */
.daily-empty-state {
  text-align: center;
  padding: 60px 20px;
  background: #ffffff;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-md);
}

.empty-icon {
  font-size: 2.8rem;
  margin-bottom: 12px;
}

/* Glassmorphism Lightbox Modal */
.daily-modal-overlay {
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(10, 22, 38, 0.85);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 200ms ease;
}

.daily-modal-overlay[hidden] {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.daily-modal-content {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.daily-modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 10;
  width: 36px;
  height: 36px;
  font-size: 1.6rem;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
}

.daily-modal-close:hover {
  color: var(--navy);
  background: #ffffff;
}

.daily-modal-header {
  padding: 20px 24px 14px;
  border-bottom: 1px solid var(--line);
}

.modal-meta-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.daily-counter-pill {
  margin-left: auto;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.daily-modal-header h3 {
  font-size: 1.15rem;
  margin: 0;
  letter-spacing: -0.02em;
}

.daily-modal-viewport {
  position: relative;
  background: #0c1b2e;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  max-height: 520px;
  padding: 10px;
}

.modal-image-wrapper {
  max-width: 100%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image-wrapper img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
  cursor: pointer;
}

.modal-nav-btn:hover:not(:disabled) {
  background: rgba(236,123,62,0.9);
}

.modal-nav-btn:disabled {
  opacity: 0.25;
  cursor: not-allowed;
}

.prev-btn { left: 14px; }
.next-btn { right: 14px; }

.daily-modal-thumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--paper);
  border-top: 1px solid var(--line);
  overflow-x: auto;
}

.modal-thumb-btn {
  width: 50px;
  height: 50px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: var(--navy);
  opacity: 0.6;
  transition: all 160ms ease;
  cursor: pointer;
}

.modal-thumb-btn.is-active {
  border-color: var(--orange);
  opacity: 1;
  transform: scale(1.08);
}

.modal-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.daily-modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 14px 24px;
  background: #ffffff;
  border-top: 1px solid var(--line);
}

/* Responsive Daily Styles */
@media (max-width: 900px) {
  .featured-shell {
    grid-template-columns: 1fr;
  }
  .featured-media {
    min-height: 260px;
  }
  .featured-content {
    padding: 24px;
  }
  .daily-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .daily-grid {
    grid-template-columns: 1fr;
  }
  .daily-controls-shell {
    padding: 16px;
  }
  .daily-results-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}


@media (max-width: 1050px) {
  .header-inner { gap: 18px; }
  .main-nav { gap: 16px; }
  .social-link { min-width: 34px; padding-inline: 8px; }
  .pdf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 800px) {
  .container { width: min(var(--container), calc(100% - 36px)); }
  .section { padding: 75px 0; }
  .site-header { position: static; }
  .header-inner { flex-wrap: wrap; gap: 13px 20px; padding: 13px 0; }
  .main-nav { order: 3; width: 100%; margin-left: 0; gap: 20px; overflow-x: auto; }
  .social-links { margin-left: auto; }
  .social-link { min-width: 36px; padding-inline: 8px; }
  .social-link .social-full { display: none; }
  .social-link .social-short { display: inline; }
  .hero { padding: 70px 0 63px; }
  .hero-grid, .finder-shell, .two-column-heading, .archive-heading { grid-template-columns: 1fr; gap: 34px; }
  .hero-panel { min-height: 280px; max-width: 530px; }
  .archive-number { margin-top: 42px; }
  .steps-list { grid-template-columns: 1fr; }
  .step-card { min-height: 0; }
  .finder-section { padding-block: 75px; }
  .finder-intro > p:not(.eyebrow) { margin-bottom: 21px; }
  .archive-controls { align-items: flex-start; flex-direction: column; }
  .bulk-actions { width: 100%; justify-content: space-between; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; }
}

@media (max-width: 560px) {
  .container { width: min(var(--container), calc(100% - 28px)); }
  h1 { font-size: clamp(2.45rem, 13vw, 3.65rem); }
  .brand img { width: 39px; height: 39px; }
  .main-nav { gap: 16px; font-size: 0.81rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
  .hero-panel { padding: 24px; border-radius: 20px; box-shadow: 13px 15px 0 #e4ebed; }
  .trust-items { width: 100%; overflow-x: auto; justify-content: flex-start; }
  .trust-items span { min-width: 205px; padding: 14px 16px; }
  .section-heading { margin-bottom: 30px; }
  .finder-card { padding: 20px; border-radius: 20px; }
  .field-grid { grid-template-columns: 1fr; }
  .finder-result { align-items: stretch; flex-direction: column; }
  .finder-result .button { width: 100%; }
  .year-group summary { min-height: 67px; padding: 16px; }
  .year-content { padding: 0 16px 16px; }
  .year-topline { align-items: flex-start; flex-direction: column; gap: 6px; }
  .pdf-grid { grid-template-columns: 1fr; }
  .pdf-card h4 { min-height: 0; }
  .bulk-actions { align-items: stretch; flex-direction: column; }
  .bulk-actions .button { width: 100%; }
  .site-footer { padding: 26px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; gap: 14px; }
}

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