/* ============================================================
   LAWTECH DIGEST — The Critic-style design
   White bg · Orange accent · Playfair Display + Source Serif 4 + Inter
   ============================================================ */

:root {
  --orange:    #bf4316;   /* The Critic warm orange/rust accent */
  --navy:      #172845;   /* footer + admin */
  --bg:        #ffffff;
  --text:      #1a1a1a;
  --muted:     #666666;
  --rule:      #e2e2e2;
  --rule-dark: #c0c0c0;
  --danger:    #c0392b;
  --success:   #1e6a45;
  --placeholder-bg: #2a3b52;  /* dark blue-grey for missing images */
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-font-smoothing: antialiased; }

body {
  background: #F2F1EF;
  color: var(--text);
  font-family: 'Source Serif 4', Georgia, serif;
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.wide-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================================
   HEADER
   ============================================================ */

.site-header {
  background: rgba(236, 236, 234, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid var(--rule);
}

/* Compact nav logo (visible only when scrolled on desktop) */
.nav-compact-logo {
  display: none;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  margin-right: 1rem;
  white-space: nowrap;
}
.nav-compact-logo-icon {
  height: 22px;
  width: 22px;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.1s;
}
.nav-compact-logo:hover .nav-compact-logo-icon {
  animation: coin-spin 0.8s ease-in-out forwards;
}
.nav-compact-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

/* Compact search in nav — hidden until scrolled */
.nav-compact-search-item { display: none; }

/* Scrolled state — desktop only */
.site-header.scrolled .header-top { display: none; }
.site-header.scrolled .nav-compact-logo { display: flex; }
.site-header.scrolled .nav-compact-search-item { display: flex; align-items: center; }

/* Logo row */
.header-top {
  padding: 0.9rem 0 0.7rem;
  border-bottom: 1px solid var(--rule);
}

.header-top-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
.nav-icon-btn.header-search-btn,
.nav-icon-btn.header-hamburger-btn {
  border: none;
}
.header-search-btn {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
}
.header-hamburger-btn {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 40px;
}

.site-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -1px;
  line-height: 1;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: font-size 0.25s ease;
}
.logo-icon {
  height: 48px; width: 48px; display: block; object-fit: cover; border-radius: 50%;
  transition: transform 0.1s, height 0.25s ease, width 0.25s ease;
}
.site-logo:hover .logo-icon {
  animation: coin-spin 0.8s ease-in-out forwards;
}
@keyframes coin-spin {
  0%   { transform: rotateY(0deg); }
  30%  { transform: rotateY(180deg); }
  60%  { transform: rotateY(360deg); }
  80%  { transform: rotateY(420deg); }
  90%  { transform: rotateY(390deg); }
  100% { transform: rotateY(360deg); }
}
.logo-first { font-style: italic; font-weight: 400; }
.logo-second { font-weight: 900; }
.site-logo:hover { color: var(--orange); }

.header-tagline {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Nav strip */
.main-nav {
  background: transparent;
  position: relative;
}

.nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 40px;
  border-bottom: 1px solid var(--rule);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
  overflow: visible;
  gap: 0;
}

.nav-links a {
  display: block;
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  padding: 0 0.9rem;
  white-space: nowrap;
  line-height: 40px;
  border-right: 1px solid var(--rule);
  transition: color 0.15s;
}
.nav-links li:first-child a { border-left: 1px solid var(--rule); }
.nav-links a:hover { color: #fff; background: var(--orange); }
.nav-item-dropdown:hover > a { color: #fff !important; background: var(--orange) !important; }
.nav-links a.active { color: inherit; background: transparent; }
.nav-links a.active:hover { color: #fff; background: var(--orange); }
.nav-links a.nav-highlight { color: var(--orange); }

/* Nav hover dropdowns */
.nav-item-dropdown { position: relative; }
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  border: none;
  min-width: 300px;
  z-index: 200;
  list-style: none;
  margin: 0;
  padding: 0.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.nav-item-dropdown:hover .nav-dropdown { display: grid; }
.nav-dropdown li a,
.nav-dropdown li a:first-child {
  display: block;
  padding: 0.4rem 1rem;
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  border: none !important;
  text-align: center;
}
.nav-dropdown li a:hover { color: #fff; background: rgba(0,0,0,0.15); }
.nav-dropdown--categories li a,
.nav-dropdown--categories li a:first-child { text-align: left !important; }

/* Archive year headings */
.archive-year-heading {
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 0.4rem;
  margin: 2rem 0 1rem;
}

/* Right side of nav */
.nav-right {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
  flex-shrink: 0;
}

.nav-login {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 0 0.9rem;
  border-left: 1px solid var(--rule);
  line-height: 40px;
  white-space: nowrap;
  transition: color 0.15s;
}
.nav-login:hover { color: var(--text); }

.nav-icon-btn {
  background: none;
  border: none;
  border-left: 1px solid var(--rule);
  padding: 0 0.75rem;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  transition: color 0.15s, background 0.15s;
}
.nav-icon-btn:hover { color: var(--orange); background: #fafafa; }
.nav-icon-btn[aria-expanded="true"] { color: var(--orange); }


/* Search bar (drop-down strip) */
.search-bar {
  border-bottom: 2px solid var(--orange);
  background: rgba(234, 227, 223, 0.75);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.search-bar.open { max-height: 60px; }

.search-bar-form {
  display: flex;
  align-items: center;
  padding: 0.6rem 0;
  gap: 0;
}
.search-bar-input {
  flex: 1;
  border: none;
  border-bottom: 1px solid var(--rule);
  outline: none;
  padding: 0.35rem 0.5rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.4);
}
.search-bar-input::placeholder { color: var(--muted); }
.search-bar-submit {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.4rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  margin-left: 0.8rem;
}
.search-bar-submit:hover { background: #a33810; }
.search-bar-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0 0.5rem;
  line-height: 1;
}
.search-bar-close:hover { color: var(--text); }

/* Nav drawer — right-side panel */
.nav-drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 900;
}
.nav-drawer-overlay.open { display: block; }

.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  background: rgba(23, 40, 69, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 901;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
}
.nav-drawer.open { transform: translateX(0); }

/* Close button row */
.drawer-close-row {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem 0.5rem;
}
.drawer-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 1.35rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.15s;
}
.drawer-close-btn:hover { color: #fff; }

.drawer-search {
  padding: 0.75rem 1.5rem 1rem;
}
.drawer-search-form {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  overflow: hidden;
}
.drawer-search-input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  padding: 0.55rem 0.75rem;
}
.drawer-search-input::placeholder { color: rgba(255,255,255,0.45); }
.drawer-search-btn {
  background: none;
  border: none;
  border-left: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.65);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: color 0.15s;
}
.drawer-search-btn:hover { color: #fff; }

/* Nav items */
.drawer-nav {
  list-style: none;
  padding: 0.5rem 0 0;
  margin: 0;
  flex: 1;
}
.drawer-nav-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.drawer-nav-item:first-child {
  border-top: 1px solid rgba(255,255,255,0.1);
}
.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.4rem;
  padding: 1rem 1.5rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.15s;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.drawer-nav-link:hover { color: var(--orange); }

/* Expand arrow */
.drawer-arrow {
  display: inline-flex;
  align-items: center;
  transition: transform 0.25s ease;
  color: rgba(255,255,255,0.5);
}
.drawer-arrow svg { display: block; }
.drawer-nav-item.expanded .drawer-arrow { transform: rotate(180deg); }

/* Categories submenu */
.drawer-sub {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.drawer-nav-item.expanded .drawer-sub { max-height: 1200px; }
.drawer-sub-item {
  border-top: 1px solid rgba(255,255,255,0.06);
}
.drawer-sub-link {
  display: block;
  padding: 0.7rem 1.5rem 0.7rem 2.25rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.15s;
}
.drawer-sub-link:hover { color: var(--orange); }


/* ============================================================
   MAIN CONTENT
   ============================================================ */

.site-main { padding-bottom: 4rem; background-color: #F2F1EF; }
.page-article .site-main { background-color: #fff; padding-bottom: 0; }
.page-article .related-section {
  background: #F2F1EF;
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: 2rem calc(50vw - 580px) 4rem;
  box-sizing: border-box;
}

/* Compact tiles in related section */
.page-article .related-section .card-image-link { aspect-ratio: 4 / 2.2; }
.page-article .related-section .card-title { font-size: 0.95rem; margin-top: 0.4rem; margin-bottom: 0.5rem; }
.page-article .related-section .card-body { padding: 0.65rem 0.75rem 0.9rem; }
.page-article .related-section .card-meta { font-size: 0.72rem; }

/* ============================================================
   HERO — 50/50 split (image left, text right)
   ============================================================ */

.hero {
  display: grid;
  grid-template-columns: 6fr 6fr;
  min-height: 462px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0;
  background-color: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  transition: background-color 0.2s ease;
}
.hero:hover { background-color: rgba(191, 67, 22, 0.12); }

.hero-image-link { display: block; overflow: hidden; position: relative; z-index: 1; }

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-image-link:hover .hero-img { transform: none; }

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 462px;
  background: var(--placeholder-bg);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}

.hero-content {
  padding: 2.5rem 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  text-align: center;
  border-right: 1px solid var(--rule);
}

.hero-title-link { text-decoration: none; }
.hero-title-link::after { content: ''; position: absolute; inset: 0; z-index: 0; }

.hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1.7;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.3px;
  margin: 0;
}
.hero-title-link:hover .hero-title { color: var(--orange); text-decoration: underline; }
.hero .card-category { position: relative; z-index: 1; }

.hero-excerpt {
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  color: var(--muted);
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: auto;
}

.hero-author {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--text);
}
.hero-source {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.75rem;
  font-style: italic;
  font-weight: 600;
  color: var(--navy);
}
.hero-source::before { content: ' · '; color: var(--muted); }
.hero-date {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
}
.hero-date::before { content: ' · '; }

.hero-audio-wrap { display: flex; justify-content: center; position: relative; z-index: 2; margin-top: 1rem; width: 100%; }
.hero-audio-player {
  margin: 0;
  padding: 0.6rem 1.2rem 0.6rem 2%;
  position: relative;
  z-index: 2;
  background: linear-gradient(to right, transparent calc(2% + 38px + 0.9rem), rgba(0,0,0,0.06) calc(2% + 38px + 0.9rem));
  border-radius: 4px;
  width: 90%;
}

#heroAudioCurrent { margin-left: 1rem; }

.hero-listen-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 auto;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0,0,0,0.2);
  background: transparent;
  border-radius: 2rem;
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  cursor: pointer;
}
.hero-listen-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.hero-meta-cat {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}

/* ============================================================
   SECTION HEADING
   ============================================================ */

.section-header {
  padding: 1.8rem 0 0.5rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid rgba(26, 26, 26, 0.05);
  text-align: center;
  position: relative;
  z-index: 2;
  background: #F2F1EF;
}

.section-header--page {
  padding-top: 2rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.section-title {
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--orange);
}

.section-count {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  color: var(--muted);
}

/* ============================================================
   ARTICLE CATEGORY LABEL (orange, above titles)
   ============================================================ */

.card-category {
  display: inline-block;
  position: relative;
  z-index: 1;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.3rem;
  line-height: 1;
}
.card-category:hover { color: #a33810; }
.card-category--lg { font-size: 0.7rem; margin-bottom: 0.5rem; }

/* ============================================================
   ARTICLE GRID — 3 columns
   ============================================================ */

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
  border-left: none;
  margin-bottom: 2rem;
  isolation: isolate;
}

.article-grid--3 { margin-top: 1.5rem; }

/* Wide 4th card + event promo tile */
.article-grid--with-event .grid-card--wide {
  grid-column: span 2;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
}
.article-grid--with-event .grid-card--wide .card-image-link {
  position: absolute;
  inset: 0;
  aspect-ratio: unset;
  width: 100%;
  height: 100%;
}
.article-grid--with-event .grid-card--wide .card-img,
.article-grid--with-event .grid-card--wide .card-img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Black overlay */
.article-grid--with-event .grid-card--wide .card-image-link::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}
/* Card body centred over image */
.article-grid--with-event .grid-card--wide .card-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: center;
  background: none;
}
.article-grid--with-event .grid-card--wide .card-category { color: rgba(255,255,255,0.8); }
.article-grid--with-event .grid-card--wide .card-title { color: #fff; font-size: 1.79rem; }
.article-grid--with-event .grid-card--wide .tile-share { margin-top: 0.75rem; }
.article-grid--with-event .grid-card--wide .card-meta,
.article-grid--with-event .grid-card--wide .card-source,
.article-grid--with-event .grid-card--wide .card-date,
.article-grid--with-event .grid-card--wide .card-meta-sep { color: rgba(255,255,255,0.75); }
.article-grid--with-event .grid-card--wide .tile-share .share-btn { color: rgba(255,255,255,0.8); }
.article-grid--with-event .grid-card--wide .tile-share .share-btn:hover { color: #fff; }
.article-grid--with-event .grid-card--wide .share-copied { color: #fff; }
/* Event tile matches row height automatically (same grid row) */
.article-grid--with-event .event-promo-tile { max-height: none; overflow: auto; }
.event-promo-tile {
  background: #fff !important;
  border: 1px solid var(--orange);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
  position: relative;
}
.event-promo-tile:hover { background: #fff !important; }
.event-promo-label {
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.714rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(191, 67, 22, 0.1);
  display: inline-block;
  align-self: center;
  padding: 0.25rem 0.75rem;
  margin-top: 0;
}
.event-promo-body {
  flex: 1;
  padding: 0.75rem 1.25rem 0.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
}
.event-promo-title-link { text-decoration: none; }
.event-promo-title-link:hover .event-promo-title { color: var(--orange); text-decoration: underline; }
.event-promo-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
  margin: 0;
}
.event-promo-date,
.event-promo-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.78rem;
  color: var(--muted);
  margin: 0;
}
.event-promo-desc {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}
.event-promo-share {
  border-top: 1px solid rgba(191,67,22,0.12);
  padding: 0.6rem 1rem 0.75rem;
  justify-content: center;
  margin: 0;
}
@media (max-width: 860px) {
  .article-grid--with-event .grid-card--wide { grid-column: span 1; }
}

/* Card summary — hidden in grid, shown in list */
.card-summary {
  display: none;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0.4rem 0 0;
}

/* View toolbar */
.view-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 1rem 0 0.25rem;
}
.view-toolbar-left { display: flex; align-items: center; gap: 0.4rem; }
.view-toolbar-right { display: flex; gap: 0.4rem; }

.month-picker {
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--rule-dark);
  padding: 0.4rem 2rem 0.4rem 0.75rem;
  border-radius: 3px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23666'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.6rem center;
  background-size: 8px;
  transition: border-color 0.15s;
}
.month-picker:focus { outline: none; border-color: var(--navy); }
.view-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--rule-dark);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  transition: all 0.15s;
}
.view-btn.active, .view-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

/* List view overrides — desktop only */
@media (min-width: 641px) {
  .list-view .article-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .list-view .grid-card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--rule);
    background: transparent;
  }
  .list-view .card-image-link {
    flex-shrink: 0;
    width: 140px;
  }
  .list-view .card-img,
  .list-view .card-img-placeholder {
    width: 140px;
    height: 90px;
    object-fit: cover;
  }
  .list-view .card-body {
    flex: 1;
    padding: 0;
    text-align: left;
  }
  .list-view .card-summary { display: block; }
  .list-view .card-title { font-size: 1rem; }
}

/* Hide toolbar on mobile */
@media (max-width: 640px) {
  .view-toolbar { display: none; }
}

.grid-card {
  background-color: rgba(191, 67, 22, 0.12);
  overflow: hidden;
  transition: background-color 0.2s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.grid-card:hover { background-color: #e2c3c5; }
.grid-card:hover .card-title { text-decoration: underline; }

.card-image-link {
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--placeholder-bg);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}
.card-image-link:hover .card-img { transform: scale(1.04); }

.card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--placeholder-bg);
  display: flex;
  align-items: flex-end;
  padding: 0.8rem;
}

.placeholder-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.card-body {
  padding: 0.9rem 1rem 1.2rem;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title-link { text-decoration: none; }
.card-title-link::after { content: ''; position: absolute; inset: 0; z-index: 0; }

.card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-top: 0.6rem;
  margin-bottom: 0.8rem;
}
.card-title-link:hover .card-title { color: var(--orange); text-decoration: underline; }

.card-author {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.2rem;
}

.card-meta {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.72rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.3rem;
}
.card-date { color: var(--muted); }
.card-source { color: var(--navy); font-weight: 600; }
.card-meta-sep { margin: 0 0.3rem; color: var(--muted); }

/* ============================================================
   ARTICLE PAGE
   ============================================================ */

.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 0;
  background-color: #ffffff;
}

.article-header { margin-bottom: 1.5rem; text-align: center; }

.article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  letter-spacing: -0.5px;
  margin: 3% 0 0.8rem;
}

.article-byline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 5%;
}
.byline-author { font-weight: 600; color: var(--text); }
.byline-sep { color: var(--rule-dark); }
.byline-source { color: var(--muted); }
.byline-date { color: var(--muted); }

.article-hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  margin-bottom: 2rem;
}

/* Audio player */
.audio-player {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 0 0 1rem;
  padding: 0.4rem 0;
}
.audio-play-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.18);
  background: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.audio-play-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}
.audio-time {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-variant-numeric: tabular-nums;
  color: var(--mid);
  flex-shrink: 0;
  min-width: 2.8rem;
  text-align: center;
}
.audio-track {
  flex: 1;
  height: 3px;
  background: var(--rule);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}
.audio-progress {
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 2px;
  pointer-events: none;
  transition: width 0.1s linear;
}
.audio-track:hover .audio-progress { background: var(--ink); }
.audio-listen-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.9rem;
  font-weight: 700;
  font-style: italic;
  color: var(--mid);
}
.audio-time--hidden,
.audio-track--hidden { display: none; }

.article-body {
  font-size: 1.1rem;
  line-height: 1.85;
  color: var(--text);
  padding-top: 1rem;
  margin-bottom: 2rem;
}
.article-body p + p { margin-top: 1rem; }

.article-body p:first-of-type::first-letter,
.article-content p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4.5rem;
  font-weight: 700;
  line-height: 0.8;
  float: left;
  margin-right: 0.1em;
  margin-top: 0.05em;
  color: var(--text);
}

.article-content p { margin-top: 1.2rem; }
.article-content::after { content: ''; display: table; clear: both; }
.article-content [data-callout] { padding: 1.6rem 2rem !important; }
.article-content p:first-child { margin-top: 0; }
.article-content h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; margin: 2rem 0 0.5rem; }
.article-content h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 1.5rem 0 0.4rem; }
.article-content ul, .article-content ol { margin: 1rem 0 1rem 1.5rem; }
.article-content li { margin-bottom: 0.4rem; }
.article-content blockquote { border-left: 3px solid var(--orange); margin: 1.5rem 0; padding: 0.5rem 1.2rem; color: var(--mid); font-style: italic; }

.article-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0 calc(0.65rem + 2%);
}
.article-share:not(.tile-share) .share-bar-icons {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-bottom: calc(0.65rem + 2%);
}
.article-share:not(.tile-share) .share-bar-icons::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% + 1.5rem);
  height: 1px;
  background: var(--rule);
}
.article-share:not(.tile-share) .share-copied {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 120%;
  white-space: nowrap;
}
.tile-share {
  margin: auto 0 0;
  padding-top: 0.75rem;
  position: relative;
  z-index: 1;
  flex-direction: row;
  justify-content: center;
}
.tile-share .share-btn { width: 24px; height: 24px; }
.tile-share .share-copied { font-size: 0.72rem; }
.hero .tile-share { margin-top: 0; }
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: var(--muted);
  border: 1px solid var(--rule);
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s;
}
.share-btn:hover { color: var(--orange); border-color: var(--orange); }
.share-copied {
  font-size: 0.75rem;
  color: var(--orange);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.share-copied.visible { opacity: 1; }

/* Prev / Next article navigation */
.article-prev-next {
  margin: 2.5rem 0;
  padding: 1.8rem 0;
}
.article-prev-next-inner {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 2rem;
  align-items: start;
}
.apn-divider {
  background: var(--rule);
  height: 100%;
  min-height: 60px;
}
.apn-col--next { text-align: right; }
.apn-link {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-decoration: none;
  color: var(--ink);
}
.apn-label {
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
}
.apn-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--orange);
  transition: transform 0.2s ease;
  display: inline-block;
}
.apn-col--prev .apn-link:hover .apn-title { transform: translateX(-6px); text-decoration: underline; }
.apn-col--next .apn-link:hover .apn-title { transform: translateX(6px); text-decoration: underline; }
.apn-author {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.75rem;
  color: var(--mid);
}
@media (max-width: 600px) {
  .article-prev-next { margin: 1.5rem 0; padding: 1rem 0; }
  .article-prev-next-inner { grid-template-columns: 1fr 1px 1fr; gap: 0.75rem; }
  .apn-label { font-size: 0.55rem; }
  .apn-title { font-size: 0.78rem; }
  .apn-author { display: none; }
}

.article-source {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
}

.btn-source {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-source:hover { background: #a33810; color: #fff; }

.article-cta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}
.article-cta-link {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-cta-link:hover { color: #a33810; }
.article-cta-btn { margin-top: 0; }

.related-section {
  margin-top: 3rem;
  margin-left: -2rem;
  margin-right: -2rem;
  padding: 2rem 2rem 4rem;
  background-color: #F3F0ED;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */

.search-standalone {
  display: flex;
  gap: 0;
  margin: 1.5rem 0 2rem;
}
.search-standalone-input {
  flex: 1;
  border: 1px solid var(--rule);
  border-right: none;
  padding: 0.65rem 1rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  color: var(--text);
  outline: none;
}
.search-standalone-input:focus { border-color: var(--orange); }
.search-standalone-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.65rem 1.2rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.search-standalone-btn:hover { background: #a33810; }

/* ============================================================
   ARTICLES CONTAINER
   ============================================================ */

#articlesContainer { padding-bottom: 0; }

/* ============================================================
   PAGINATION
   ============================================================ */

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.8rem;
}
.pagination-link { font-weight: 700; color: var(--orange); }
.pagination-link:hover { color: #a33810; }
.pagination-info { color: var(--muted); }

/* ============================================================
   EVENTS PAGE
   ============================================================ */

.event-card { display: flex; flex-direction: column; overflow: hidden; }
.event-card .card-body { text-align: left; }
.event-card .card-summary { display: block; }
.event-card .article-share { margin-bottom: 0.25rem; position: relative; z-index: 1; flex-direction: row; flex-wrap: wrap; justify-content: flex-start; gap: 0.4rem; }
.event-card-link { position: relative; z-index: 1; }
.event-card .card-title-link { color: inherit; text-decoration: none; }
.event-card:hover .card-title-link { color: var(--orange); text-decoration: underline; }
.event-cal-btn { position: absolute; bottom: 0.6rem; right: 0.6rem; z-index: 1; color: var(--muted); opacity: 0.5; transition: opacity 0.2s, color 0.2s; line-height: 0; }
.event-cal-btn:hover { opacity: 1; color: var(--navy); }

.event-card-date {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--orange);
  margin: 0 0 0.5rem 0;
}

.event-card--past { opacity: 0.65; }
.event-card--past .event-card-date { color: var(--muted); }

.event-card-title { margin-top: 0; }

.event-card-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--orange);
  text-decoration: none;
  position: relative;
  z-index: 1;
}
.event-card-link:hover { text-decoration: underline; }

/* ============================================================
   VIDEO PAGE
   ============================================================ */
.video-page-header { display: flex; flex-direction: column; align-items: center; gap: 1rem; padding: 1.5rem 0 1rem; border-bottom: 2px solid #000; margin-bottom: 0; text-align: center; }
.video-search-form { display: flex; align-items: center; gap: 0.5rem; }
.video-search-input { font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; padding: 0.45rem 0.75rem; border: 1px solid #c8cdd8; outline: none; width: 220px; }
.video-search-input:focus { border-color: var(--navy); }
.video-search-select {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  padding: 0.45rem 2.2rem 0.45rem 0.75rem;
  border: 1px solid #c8cdd8;
  outline: none;
  color: #2c2a27;
  background: #fff;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3a5f' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  transition: border-color 0.12s;
}
.video-search-select:focus { border-color: var(--navy); }
.video-search-btn { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; padding: 0.45rem 1rem; background: var(--navy); color: #fff; border: none; cursor: pointer; }
.video-search-clear { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; color: var(--muted); text-decoration: none; }
.video-search-clear:hover { color: var(--navy); }
.video-search-result { font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); margin: 0.75rem 0 0; }
.card-image-link { position: relative; display: block; }
.video-play-badge { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; background: rgba(0,0,0,0.65); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; pointer-events: none; padding-left: 3px; }

/* ============================================================
   EMAIL BULLETIN
   ============================================================ */
.bulletin-page { max-width: 640px; margin: 0 auto; padding: 3rem 0; }
.bulletin-hero { text-align: center; margin-bottom: 2.5rem; border-bottom: 2px solid #000; padding-bottom: 2rem; }
.bulletin-hero .bulletin-label { font-family: 'Inter', system-ui, sans-serif; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--orange); margin-bottom: 0.75rem; }
.bulletin-title { font-family: 'Playfair Display', Georgia, serif; font-size: 2.6rem; font-weight: 900; color: var(--navy); line-height: 1.15; margin: 0 0 0.8rem; }
.bulletin-subtitle { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.05rem; color: var(--muted); line-height: 1.6; margin: 0; }
.bulletin-form-wrap { background: #f7f8fa; border: 1px solid #e2e5ec; padding: 2rem; margin-bottom: 2.5rem; }
.bulletin-form { display: flex; flex-direction: column; gap: 1.1rem; }
.bulletin-field { display: flex; flex-direction: column; gap: 0.35rem; }
.bulletin-label-field { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--navy); }
.bulletin-input { font-family: 'Inter', system-ui, sans-serif; font-size: 0.95rem; color: #2c2a27; background: #fff; border: 1px solid #c8cdd8; padding: 0.65rem 0.85rem; outline: none; width: 100%; transition: border-color 0.12s; box-sizing: border-box; }
.bulletin-input:focus { border-color: var(--navy); }
.bulletin-optional { font-weight: 400; color: var(--muted); font-size: 0.72rem; margin-left: 0.3rem; }
.bulletin-categories { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.4rem 1rem; margin-top: 0.25rem; }
.bulletin-cat-label { display: flex; align-items: center; gap: 0.45rem; font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; color: var(--text); cursor: pointer; line-height: 1.4; }
.bulletin-cat-label input { margin: 0; flex-shrink: 0; accent-color: var(--orange); }
.bulletin-consent { display: flex; align-items: flex-start; gap: 0.5rem; }
.bulletin-check-label { display: flex; align-items: flex-start; gap: 0.55rem; font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; color: var(--text); cursor: pointer; line-height: 1.5; }
.bulletin-check-label input { margin-top: 0.2rem; flex-shrink: 0; accent-color: var(--orange); }
.bulletin-submit { font-family: 'Inter', system-ui, sans-serif; font-size: 0.88rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--orange); color: #fff; border: none; padding: 0.85rem 2rem; cursor: pointer; transition: background 0.15s; align-self: flex-start; }
.bulletin-submit:hover { background: #a33810; }
.bulletin-unsub { font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; color: var(--muted); margin: 0; line-height: 1.5; }
.bulletin-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; border-top: 1px solid #e2e5ec; padding-top: 2rem; }
.bulletin-feature { text-align: center; }
.bulletin-feature-icon { color: var(--orange); font-size: 0.6rem; display: block; margin-bottom: 0.5rem; }
.bulletin-feature h3 { font-family: 'Inter', system-ui, sans-serif; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin: 0 0 0.4rem; }
.bulletin-feature p { font-family: 'Source Serif 4', Georgia, serif; font-size: 0.85rem; color: var(--muted); margin: 0; line-height: 1.5; }
@media (max-width: 640px) { .bulletin-features { grid-template-columns: 1fr; } .bulletin-title { font-size: 2rem; } }

/* Coming soon pages */
.coming-soon-body { padding: 3rem 0; text-align: center; }
.coming-soon-text { font-family: 'Source Serif 4', Georgia, serif; font-size: 1.1rem; color: var(--muted); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
/* ---- About hero ---- */
.about-hero {
  position: relative;
  margin: 0 calc(-50vw + 50%);
  max-height: 520px;
  overflow: hidden;
}
.about-hero-img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.about-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 55%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 3rem 2rem;
}
.about-hero-quote {
  max-width: 680px;
  text-align: center;
  margin: 0;
}
.about-hero-quote p {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  font-style: italic;
  color: #fff;
  line-height: 1.5;
  margin: 0 0 0.6rem;
}
.about-hero-quote cite {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  font-style: normal;
}

/* ---- About article body ---- */
.about-article {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 2rem 4rem;
}
.about-article-header {
  margin-bottom: 2rem;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1.5rem;
}
.about-article-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin: 0 0 0.6rem;
}
.about-article-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin: 0 0 0.6rem;
}
.about-article-byline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  margin: 0;
}
.about-article-body p {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text);
  margin: 0 0 1.4rem;
}
.about-article-body p:first-of-type::first-letter {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 4rem;
  font-weight: 700;
  float: left;
  line-height: 0.8;
  margin: 0.1em 0.1em 0 0;
  color: var(--navy);
}
.about-contact-line { margin-top: 2rem !important; }


/* ---- Contact page ---- */
.contact-page { max-width: 600px; margin: 0 auto; padding: 2rem 0 4rem; }
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact-label { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 700; color: var(--navy); }
.contact-input { font-family: 'Source Serif 4', Georgia, serif; font-size: 1rem; color: var(--text); background: #fff; border: 1px solid var(--rule-dark); padding: 0.55rem 0.75rem; outline: none; transition: border-color 0.2s; }
.contact-input:focus { border-color: var(--navy); }
.contact-textarea { resize: vertical; min-height: 160px; }
.contact-submit { align-self: flex-start; font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; background: var(--navy); color: #fff; border: none; padding: 0.7rem 1.8rem; cursor: pointer; transition: background 0.2s; }
.contact-submit:hover { background: var(--orange); }
.contact-success { margin-top: 2rem; padding: 1.25rem 1.5rem; background: #f0f7f2; border-left: 3px solid var(--success); font-family: 'Source Serif 4', Georgia, serif; color: var(--success); }
.contact-error { font-family: 'Inter', system-ui, sans-serif; font-size: 0.85rem; color: var(--danger); margin: 0; }
@media (max-width: 680px) {
  .about-hero-img { height: 340px; }
  .about-hero-quote p { font-size: 1.25rem; }
  .about-article-title { font-size: 2rem; }
  .about-article { padding: 1.5rem 1rem 3rem; }
}

/* ============================================================
   FLASH MESSAGES
   ============================================================ */

.flash-messages { padding: 1rem 0 0; }
.flash {
  padding: 0.7rem 1rem;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  border-left: 3px solid;
}
.flash--success { background: #eaf5ee; border-color: var(--success); color: var(--success); }
.flash--error   { background: #fdecea; border-color: var(--danger);  color: var(--danger); }

/* ============================================================
   EMPTY STATE
   ============================================================ */

.empty-state {
  grid-column: 1 / -1;
  color: var(--muted);
  font-style: italic;
  padding: 3rem 0;
  font-family: 'Inter', system-ui, sans-serif;
}

.empty-page { text-align: center; padding: 6rem 0; }
.empty-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 5rem;
  font-weight: 900;
  color: var(--rule-dark);
}
.empty-page-text { color: var(--muted); margin: 1rem 0 2rem; font-family: 'Inter', system-ui, sans-serif; }

/* ============================================================
   NEWSLETTER BAND
   ============================================================ */

.newsletter-band {
  background-color: var(--navy);
  padding: 4rem 2rem;
}

.newsletter-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.newsletter-logo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.9;
}

.newsletter-band-text {
  flex: 1;
}

.newsletter-band-heading {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.7rem;
  font-weight: 700;
  font-style: italic;
  color: #fff;
  margin-bottom: 0.5rem;
}

.newsletter-band-sub {
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
}

.newsletter-band-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
  width: 280px;
}

.newsletter-band-input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  padding: 0.6rem 0.9rem;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.15s;
}
.newsletter-band-input::placeholder { color: rgba(255,255,255,0.35); }
.newsletter-band-input:focus { border-color: rgba(255,255,255,0.5); }

.newsletter-band-btn {
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 0.7rem 1.2rem;
  font-family: 'Libre Franklin', system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s;
}
.newsletter-band-btn:hover { background: #a33810; }

@media (max-width: 900px) {
  .newsletter-band-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
  .newsletter-band-form { width: 100%; max-width: 360px; }
}

/* ============================================================
   FOOTER — dark navy, 3-column (The Critic / LRB style)
   ============================================================ */

.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  padding: 3rem 0 0;
  margin-top: 0;
  font-family: 'Inter', system-ui, sans-serif;
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: '';
  position: absolute;
  right: -5%;
  bottom: -20%;
  width: 420px;
  height: 420px;
  background: url('/static/hermes.jpg') center / cover no-repeat;
  border-radius: 50%;
  opacity: 0.08;
  filter: grayscale(100%);
  pointer-events: none;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col-heading {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.2rem;
}

.footer-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s;
}
.footer-col-links a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.footer-logo {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  font-style: italic;
}
.footer-logo:hover { color: rgba(255,255,255,0.75); }

.footer-copy {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
}

.footer-top-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all 0.15s;
  flex-shrink: 0;
}
.footer-top-btn:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.08);
}

#secretAdminBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 0.8rem;
  color: rgba(0,0,0,0.15);
  text-decoration: none;
  user-select: none;
  z-index: 9999;
  line-height: 1;
}
#secretAdminBtn:hover { color: rgba(0,0,0,0.3); }

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: all 0.15s;
  flex-shrink: 0;
}
.social-icon:hover {
  border-color: rgba(255,255,255,0.6);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.footer-admin-btn {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

/* ============================================================
   ADMIN (unchanged)
   ============================================================ */

.admin-body { background: #f0f2f5; font-family: 'Inter', system-ui, sans-serif; }

.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--navy);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
}

.admin-brand {
  display: block;
  padding: 1.5rem 1.2rem 1.2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
}
.admin-brand-name {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.admin-brand-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-top: 0.2rem;
}

.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: all 0.12s;
}
.admin-nav-link:hover, .admin-nav-link.active { background: rgba(255,255,255,0.1); color: #fff; }
.admin-nav-icon { font-size: 0.45rem; opacity: 0.5; }
.admin-sidebar-footer { border-top: 1px solid rgba(255,255,255,0.1); padding: 0.5rem 0; }
.admin-nav-link--logout { color: rgba(255,100,100,0.7); }
.admin-nav-link--logout:hover { color: #ff8080; background: rgba(255,0,0,0.08); }

.admin-main { display: flex; flex-direction: column; min-width: 0; }
.admin-topbar {
  background: #fff;
  border-bottom: 1px solid #dde1e8;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 10;
}
.admin-page-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.topbar-actions { display: flex; gap: 0.6rem; align-items: center; }
.admin-content { padding: 2rem; flex: 1; }

.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat-card { background: #fff; border: 1px solid #dde1e8; padding: 1.5rem 1.5rem 1.2rem; border-top: 3px solid var(--navy); }
.stat-number { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 2.5rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 0.3rem; }
.stat-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8f8e84; }

.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.admin-two-col--narrow { grid-template-columns: 420px 420px; }
.admin-panel { background: #fff; border: 1px solid #dde1e8; }
.admin-panel--form { padding: 1.5rem; }
.panel-header { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.2rem; border-bottom: 1px solid #dde1e8; }
.panel-title { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.panel-link { font-size: 0.78rem; color: var(--navy); }

.admin-table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.admin-table th { background: #f8f9fb; border-bottom: 1px solid #dde1e8; padding: 0.6rem 1rem; text-align: left; font-weight: 600; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: #8f8e84; }
.admin-table td { padding: 0.65rem 1rem; border-bottom: 1px solid #eef0f4; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfc; }
.td-title { max-width: 320px; }
.td-title-link { color: #2c2a27; font-weight: 500; }
.td-title-link:hover { color: var(--orange); }
.td-date { white-space: nowrap; color: #8f8e84; }
.td-actions { white-space: nowrap; }
.td-center { text-align: center; }
.td-url { max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.td-empty { color: #8f8e84; font-style: italic; padding: 1.5rem 1rem; text-align: center; }

.btn { display: inline-block; font-family: 'Inter', system-ui, sans-serif; font-size: 0.82rem; font-weight: 600; padding: 0.55rem 1.1rem; cursor: pointer; border: none; text-decoration: none; transition: all 0.12s; letter-spacing: 0.03em; }
.btn--primary   { background: var(--navy); color: #fff; }
.btn--primary:hover { background: #0d1f36; color: #fff; }
.btn--secondary { background: #fff; color: var(--navy); border: 1px solid #a8a49c; }
.btn--secondary:hover { background: var(--navy); color: #fff; }
.btn--ghost     { background: transparent; color: #8f8e84; border: 1px solid #d4d0c9; }
.btn--ghost:hover { background: #f7f5f0; color: #2c2a27; }
.btn--sm        { font-size: 0.75rem; padding: 0.35rem 0.8rem; }
.btn--full      { width: 100%; text-align: center; }

.tbl-btn { display: inline-block; font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; font-weight: 600; color: var(--navy); background: none; border: 1px solid #dde1e8; padding: 0.25rem 0.6rem; cursor: pointer; margin-right: 0.3rem; text-decoration: none; }
.tbl-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.tbl-btn--danger { color: var(--danger); }
.tbl-btn--danger:hover { background: var(--danger); border-color: var(--danger); color: #fff; }
.tbl-btn--img-ok { color: #2a7a2a; border-color: #b8ddb8; }
.tbl-btn--img-ok:hover { background: #2a7a2a; border-color: #2a7a2a; color: #fff; }
.tbl-btn--img-missing { color: #999; border-color: #ddd; border-style: dashed; }
.tbl-btn--img-missing:hover { background: #666; border-color: #666; color: #fff; border-style: solid; }
.star-btn { background: none; border: none; font-size: 1.1rem; cursor: pointer; color: #d4d0c9; padding: 0; line-height: 1; }
.star-btn--on { color: #c9a84c; }
.star-btn:hover { color: #c9a84c; }

.admin-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group--check { flex-direction: row; align-items: center; gap: 0.6rem; }
.form-label { font-size: 0.78rem; font-weight: 600; color: var(--navy); }
.required { color: var(--danger); }
.form-optional { color: #8f8e84; font-weight: 400; }
.form-input, .form-select, .form-textarea { font-family: 'Inter', system-ui, sans-serif; font-size: 0.88rem; color: #2c2a27; background: #fff; border: 1px solid #c8cdd8; padding: 0.55rem 0.75rem; outline: none; width: 100%; transition: border-color 0.12s; box-sizing: border-box; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--navy); }
.form-select, select.form-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231e3a5f' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.2rem;
  cursor: pointer;
}
.form-input--sm { width: 200px; }
.form-select--sm { width: 160px; }
.form-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-hint { font-size: 0.72rem; color: #8f8e84; line-height: 1.5; }


/* Rich text editor */
.rte-toolbar { display: flex; align-items: center; gap: 2px; padding: 0.35rem 0.5rem; background: #f3f4f6; border: 1px solid #c8cdd8; border-bottom: none; }
.rte-btn { background: none; border: 1px solid transparent; padding: 0.2rem 0.55rem; font-size: 0.82rem; cursor: pointer; color: #2c2a27; border-radius: 3px; line-height: 1.4; }
.rte-btn:hover { background: #e4e6ec; border-color: #b0b5c0; }
.rte-sep { width: 1px; height: 18px; background: #c8cdd8; margin: 0 4px; }
div.rte-editor { min-height: 260px; line-height: 1.7; overflow-y: auto; word-break: break-word; }
div.rte-editor:focus { border-color: var(--navy); outline: none; }
div.rte-editor:empty:before { content: attr(data-placeholder); color: #a0a0a0; pointer-events: none; }
div.rte-editor a { color: var(--navy); text-decoration: underline; }
.check-label { display: flex; align-items: center; gap: 0.5rem; font-size: 0.85rem; cursor: pointer; }
.form-actions { display: flex; gap: 0.75rem; align-items: center; padding-top: 0.5rem; }
.panel-filters { display: flex; justify-content: space-between; align-items: center; padding: 0.8rem 1rem; border-bottom: 1px solid #dde1e8; background: #f8f9fb; }
.panel-section { padding: 1.25rem 1.25rem 0; }
.panel-section--bordered { border-bottom: 1px solid #dde1e8; padding-bottom: 1.25rem; margin-bottom: 0.5rem; }
.panel-section-heading { font-size: 0.85rem; font-weight: 700; color: var(--navy); margin: 0 0 0.35rem; text-transform: uppercase; letter-spacing: 0.04em; }
.panel-section-desc { font-size: 0.8rem; color: #666; margin: 0 0 0.9rem; line-height: 1.5; }
.keyword-add-form { display: flex; gap: 0.6rem; align-items: center; flex-wrap: wrap; }
.keyword-add-form .form-input { width: 240px; }
.keyword-add-form .form-select { width: 220px; }
.keyword-cat-heading { font-size: 0.78rem; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.05em; margin: 0 0 0.5rem; }
.kw-chip { font-family: 'Inter', monospace; font-size: 0.8rem; background: #eef0f5; color: var(--navy); padding: 0.15rem 0.5rem; border-radius: 2px; }
.filter-form { display: flex; gap: 0.5rem; align-items: center; }
.filter-count { font-size: 0.75rem; color: #8f8e84; }
.admin-pagination { display: flex; gap: 1rem; align-items: center; justify-content: center; padding: 1rem; border-top: 1px solid #dde1e8; font-size: 0.82rem; color: #8f8e84; }
.badge { display: inline-block; font-size: 0.65rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 0.15rem 0.45rem; margin-right: 0.3rem; }
.badge--featured { background: #fef8e7; color: #c9a84c; border: 1px solid #c9a84c; }
.badge--active   { background: #eaf5ee; color: #1e6a45; border: 1px solid #1e6a45; }
.badge--inactive { background: #f7f7f7; color: #8f8e84; border: 1px solid #d4d0c9; }

.login-body { background: #f0f2f5; display: flex; align-items: center; justify-content: center; min-height: 100vh; }
.login-wrap { width: 100%; max-width: 380px; padding: 2rem; }
.login-card { background: #fff; border-top: 4px solid var(--navy); padding: 2.5rem; }
.login-brand { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.6rem; font-weight: 900; color: var(--navy); margin-bottom: 0.2rem; text-decoration: none; }
.login-sub { font-family: 'Inter', system-ui, sans-serif; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: #8f8e84; margin-bottom: 1.8rem; }
.login-form { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.login-hint { font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; color: #8f8e84; margin-top: 1rem; text-align: center; }
.login-hint code { background: #f0f2f5; padding: 0.1rem 0.3rem; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-content { border-right: none; border-bottom: 1px solid var(--rule); padding: 1.5rem; }
  .hero-img-placeholder { min-height: 280px; }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .admin-two-col { grid-template-columns: 1fr; }
  .admin-two-col--narrow { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-inner { display: none; }
}

@media (max-width: 640px) {
  .wide-container { padding: 0 1rem; }
  .page-article .article-page { padding-left: 0.75rem; padding-right: 0.75rem; }
  .site-logo { font-size: 2.4rem; }
  .header-top-inner { justify-content: center; }
  .header-tagline { display: none; }
  .article-grid { grid-template-columns: 1fr; gap: 1%; }
  .article-grid { margin-bottom: 1rem; }
  .site-main { padding-bottom: 3rem; }
  .hero-title { font-size: 1.7rem; }
  .article-title { font-size: 1.9rem; }
  .footer-cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { position: relative; height: auto; }
  .stats-row { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  [data-callout] { display: none !important; }
  .page-article .related-section .article-grid { margin-left: 2%; margin-right: 2%; }
  .header-search-btn { display: none; }
  .header-top { padding: 0.35rem 0; border-bottom: 1px solid var(--orange); }
  .site-logo { font-size: 1.5rem; }
  .logo-icon { height: 30px; width: 30px; }
  .main-nav { display: none; }
  .header-top-inner { justify-content: center; position: relative; }
  .header-hamburger-btn { left: 0; }
  .header-search-btn { display: none; }
}

/* ============================================================
   ARCHIVE
   ============================================================ */
.archive-page { max-width: 860px; margin: 0 auto; padding: 2rem 0 6rem; }
.archive-hero { border-bottom: 2px solid #000; padding-bottom: 1.5rem; margin-bottom: 2rem; text-align: center; }
.archive-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 0.4rem; }
.archive-back { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; font-weight: 600; color: var(--muted); text-decoration: none; display: block; text-align: left; margin-bottom: 0.75rem; }
.archive-back:hover { color: var(--navy); }
.archive-title { font-family: 'Playfair Display', Georgia, serif; font-size: 2.4rem; font-weight: 900; color: var(--navy); margin: 0 0 0.4rem; }
.archive-subtitle { font-family: 'Source Serif 4', Georgia, serif; font-size: 1rem; color: var(--muted); margin: 0; }
.archive-empty { font-family: 'Inter', system-ui, sans-serif; color: var(--muted); padding: 2rem 0; }

/* Archive index grid */
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e2e5ec; border: 1px solid #e2e5ec; }
.archive-month-card { background: #fff; padding: 1.25rem 1.5rem; text-decoration: none; display: flex; flex-direction: column; gap: 0.3rem; transition: background 0.12s; }
.archive-month-card:hover { background: #f5f6f9; }
.archive-month-label { font-family: 'Playfair Display', Georgia, serif; font-size: 1.1rem; font-weight: 700; color: var(--navy); }
.archive-month-count { font-family: 'Inter', system-ui, sans-serif; font-size: 0.78rem; color: var(--muted); }

/* Archive month view */
.archive-day-heading { font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #000; padding: 1.25rem 0 0.6rem; border-top: 1px solid #e2e5ec; margin-top: 0.5rem; text-align: center; }
.archive-day-heading:first-of-type { border-top: none; margin-top: 0; }
.archive-list { display: flex; flex-direction: column; }
.archive-row { display: grid; grid-template-columns: 100px 1fr; gap: 1rem; padding: 0.75rem 0.5rem; border-bottom: 1px solid #f0f0f0; align-items: flex-start; transition: background-color 0.2s ease; }
.archive-row:hover { background-color: rgba(191, 67, 22, 0.12); }
.archive-row-thumb { display: block; width: 100px; height: 65px; overflow: hidden; flex-shrink: 0; }
.archive-row-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.archive-row-body { display: flex; flex-direction: column; gap: 0.25rem; min-width: 0; overflow: hidden; }
.archive-row-title { font-family: 'Playfair Display', Georgia, serif; font-size: 1.15rem; font-weight: 700; color: var(--text); text-decoration: none; line-height: 1.3; word-break: break-word; overflow-wrap: break-word; }
.archive-row-title:hover { color: var(--orange); text-decoration: underline; }
.archive-row-meta { font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; color: var(--muted); margin: 0; }

@media (max-width: 640px) {
  .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .archive-row { grid-template-columns: 1fr; }
  .archive-row-thumb { width: 100%; height: 140px; }
}

/* ============================================================
   NAV BADGE
   ============================================================ */
.nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; background: var(--orange); color: #fff; font-size: 0.65rem; font-weight: 700; border-radius: 9px; margin-left: 0.4rem; line-height: 1; }

/* ============================================================
   REVIEW PAGE
   ============================================================ */
.review-tabs { display: flex; gap: 0.25rem; }
.review-tab { font-family: 'Inter', system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; padding: 0.4rem 1rem; border: 1px solid #d1d5de; background: #f5f6f8; color: var(--muted); cursor: pointer; transition: all 0.12s; }
.review-tab:hover { background: #eaecf1; color: var(--navy); }
.review-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.review-tab-count { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 4px; background: rgba(255,255,255,0.25); border-radius: 9px; font-size: 0.65rem; font-weight: 700; margin-left: 0.35rem; }
.review-tab.active .review-tab-count { background: rgba(255,255,255,0.3); }

.review-toolbar { display: flex; align-items: center; gap: 1rem; padding: 0.65rem 1rem; background: #f5f6f9; border-bottom: 2px solid #e2e5ec; }
.review-select-all-label { display: flex; align-items: center; gap: 0.45rem; font-family: 'Inter', system-ui, sans-serif; font-size: 0.8rem; font-weight: 600; color: var(--navy); cursor: pointer; }
.review-toolbar .rev-btn--publish:disabled,
.review-toolbar .rev-btn--trash:disabled { opacity: 0.4; cursor: not-allowed; }
.review-list { display: flex; flex-direction: column; gap: 0; }
.review-card { display: grid; grid-template-columns: 90px 1fr auto; align-items: center; gap: 1rem; padding: 0.85rem 1rem; border-bottom: 1px solid #e8eaef; background: #fff; transition: background 0.1s; }
.review-card--checkable { grid-template-columns: 24px 90px 1fr auto; }
.review-card-check { display: flex; align-items: center; justify-content: center; }
.review-card-check input { width: 15px; height: 15px; cursor: pointer; accent-color: var(--navy); }
.review-card:hover { background: #f9fafb; }
.review-card--trashed { opacity: 0.7; }

.review-card-thumb { width: 90px; height: 58px; overflow: hidden; background: #e8eaef; flex-shrink: 0; }
.review-card-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review-card-thumb--empty { background: #e8eaef; }

.review-card-body { min-width: 0; }
.review-card-title { font-family: 'Inter', system-ui, sans-serif; font-size: 0.9rem; font-weight: 600; color: var(--navy); text-decoration: none; line-height: 1.35; display: block; margin-bottom: 0.25rem; }
.review-card-title:hover { text-decoration: underline; }
.review-card-meta { font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; color: var(--muted); display: flex; align-items: center; flex-wrap: wrap; gap: 0.25rem; margin-bottom: 0.3rem; }
.review-meta-sep { color: #ccc; }
.review-card-summary { font-family: 'Source Serif 4', Georgia, serif; font-size: 0.8rem; color: var(--muted); margin: 0; line-height: 1.45; }

.review-card-actions { display: flex; flex-direction: column; gap: 0.3rem; align-items: flex-end; flex-shrink: 0; }
.rev-btn { font-family: 'Inter', system-ui, sans-serif; font-size: 0.72rem; font-weight: 600; padding: 0.3rem 0.75rem; border: none; cursor: pointer; text-decoration: none; display: inline-block; text-align: center; white-space: nowrap; transition: opacity 0.12s; }
.rev-btn:hover { opacity: 0.82; }
.rev-btn--publish { background: #1a7a3c; color: #fff; }
.rev-btn--trash { background: #f0f0f0; color: #c0392b; border: 1px solid #e0e0e0; }
.rev-btn--delete { background: #c0392b; color: #fff; }
.rev-btn--unpublish { background: #f0f0f0; color: var(--navy); border: 1px solid #e0e0e0; }
.rev-btn--edit { background: transparent; color: var(--navy); border: 1px solid #c8cdd8; }
.rev-btn--llm { background: #f5f0ff; color: #6b3fa0; border: 1px solid #c9b8e8; }
.rev-btn--llm:hover { background: #ede5ff; }

.llm-result {
  margin-top: 0.6rem;
  background: #f9f7ff;
  border: 1px solid #c9b8e8;
  border-radius: 4px;
  padding: 0.6rem 0.75rem;
}
.llm-result-text {
  font-size: 0.85rem;
  color: var(--text);
  margin: 0 0 0.5rem;
  line-height: 1.6;
  white-space: pre-wrap;
}
.llm-result-actions { display: flex; gap: 0.4rem; }

.review-empty { padding: 3rem 1rem; text-align: center; font-family: 'Inter', system-ui, sans-serif; font-size: 0.9rem; color: var(--muted); background: #fff; }
