
/* === Custom Fonts: Febila Vintage + Ocean Trace (site-wide) === */

@font-face{
  font-family: "Febila Vintage";
  src: url("fonts/febila-vintage/Febila-Stamp.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face{
  font-family: "Ocean Trace";
  src: url("fonts/ocean-trace/OceanTrace.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Typewriter";
  src: url("fonts/typewriter/typeo___.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Arial";
  src: url("fonts/typewriter/ARIAL.TTF") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face{
  font-family: "RM Typerighter";
  src: url("fonts/ocean-trace/rm_typerighter_old.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "zai_RemingtonDeluxeTypewriter1938";
  src: url("fonts/zai-remington-deluxe-typewriter-1938/zai_RemingtonDeluxeTypewriter1938.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


div.article-summary.visible {

  background: black !important;
}


:root{
  --font-display: "Febila Vintage", "Ocean Trace", Georgia, "Times New Roman", serif;
  --font-body: "Febila Vintage", "Ocean Trace", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Make ALL text use our fonts by default */
html, body { font-family: var(--font-body); }
* { font-family: inherit; }
h1, h2, h3, .wordmark { font-family: var(--font-display); }
p { font-family: var(--font-body); }

/* Base Reset & Tokens */
* { box-sizing: border-box; }
html, body { height: 100%; }
:root{
  --bg: #0b0f16;
  --panel: rgba(255,255,255,0.08);
  --panel-strong: rgba(255,255,255,0.14);
  --text: #e8eef8;
  --muted: #a9b3c7;
  --accent: #9ae6ff;
  --accent-2: #ff8bd3;
  --shadow: 0 10px 40px rgba(0,0,0,0.45);
  --radius: 20px;
  --space: clamp(14px, 1.2vw, 22px);
}

body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.skip-link{
  position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden;
}
.skip-link:focus{ left: 1rem; top: 1rem; width:auto; height:auto; padding:.6rem 1rem; background:#000; color:#fff; border-radius:10px; }

/* Background video and FX */
.video-wrap{
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background: #000;
}
.bg-video{
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: saturate(1.1) contrast(1.05) brightness(0.9);
  object-fit: cover;
}
.video-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 600px at 10% 0%, rgba(154,230,255,0.15), transparent 60%),
    radial-gradient(1000px 600px at 90% 100%, rgba(255,139,211,0.12), transparent 60%),
    linear-gradient(0deg, rgba(0,0,0,0.35), rgba(0,0,0,0.35));
  pointer-events: none;
}
.scanlines{
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.02),
    rgba(255,255,255,0.02) 1px,
    transparent 2px,
    transparent 3px
  );
  mix-blend-mode: overlay;
  pointer-events: none;
}
.vignette{
  position: absolute; inset: 0;
  box-shadow: inset 0 0 220px 50px rgba(0,0,0,0.75);
  pointer-events: none;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  height: 100px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: var(--space);
  padding: calc(var(--space) * .75) var(--space);
  backdrop-filter: blur(8px);
  background: linear-gradient(to bottom, rgba(5,8,13,0.7), rgba(5,8,13,0));
  z-index: 10;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand{ display:flex; align-items:center; gap:.6rem; letter-spacing:.02em; }
.logo{ font-family: 'Press Start 2P', monospace; font-size: 1.1rem; color: var(--accent); filter: drop-shadow(0 0 10px rgba(154,230,255,0.65)); }
.wordmark{  monospace; font-size: 1.8rem; color: var(--text); }

.nav{ display:flex; gap:.4rem; flex-wrap: wrap; }
.nav-link{
  appearance: none; border: 1px solid rgba(255,255,255,0.14); background: var(--panel);
  color: var(--text); padding:.6rem .9rem; border-radius: 999px; cursor: pointer;
  transition: transform .15s ease, background .2s, border-color .2s;
}
.nav-link:hover{ transform: translateY(-1px); background: var(--panel-strong); border-color: rgba(255,255,255,0.25); }


button#muteBtn.ctrl {
  display:none !important;
}

.sound-unlock {
  display:none !important;
}

section#decades-grid.section.reveal.visible {
  display:none !important;
}


.controls{ display:flex; gap:.4rem; }
/* Revamp the playback controls to feel more modern and elegant */
.controls{
  display: flex;
  gap: .5rem;
    margin: 0 auto !important;
    width: 3%;
}
.controls .ctrl{
  appearance: none;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--text);
  padding: .6rem .7rem;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: background .2s ease, transform .15s ease;
}
.controls .ctrl:hover{
  transform: translateY(-1px);
  background: rgba(232,201,122,0.15);
}
.controls .ctrl[aria-pressed="true"]{
  background: rgba(232,201,122,0.25);
}

/* Hero */
.hero{
  display:grid; place-items:center;
  min-height: 78svh;
  padding: 8svh var(--space);
}
.hero-card{
  max-width: min(960px, 92vw);
  text-align: center;
}
h1{
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.1;
  margin: 0 0 .6rem 0;
  letter-spacing: -0.02em;
}
.headline-top{ display:block; font-family: 'VT323', monospace; font-size: .9em; color: var(--accent); }
.headline-bottom{ display:block; font-family: 'Inter', sans-serif; text-shadow: 0 4px 40px rgba(154,230,255,0.25), 0 4px 40px rgba(255,139,211,0.18); }

.lede{ color: var(--muted); margin: 0 0 1rem 0; }

.cta-row{ display:flex; gap:.6rem; justify-content:center; flex-wrap: wrap; }
.cta{
  display:inline-block; text-decoration:none; color: var(--text);
  border:1px solid rgba(255,255,255,0.18); padding:.75rem 1rem; border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.06));
  box-shadow: var(--shadow);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.cta:hover{ transform: translateY(-1px); box-shadow: 0 14px 50px rgba(0,0,0,0.55); }
.cta.primary{ border-color: rgba(154,230,255,0.65); background: linear-gradient(180deg, rgba(154,230,255,0.22), rgba(154,230,255,0.06)); }

/* Sections */
.section{ padding: 8svh var(--space); }
.card.glass{
  background: radial-gradient(120% 120% at 0% 0%, rgba(255,255,255,0.16), rgba(255,255,255,0.06) 60%) border-box;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px) saturate(1.2);
}
.card.tile{
  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: clamp(18px, 2.5vw, 28px);
  box-shadow: var(--shadow);
}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space);
}

.features{ margin: .4rem 0 0 0; padding: 0 0 0 1.2rem; color: var(--muted); }
.features li{ margin: .2rem 0; }

.form label{ display: grid; gap:.35rem; margin:.6rem 0; }
.form input, .form textarea{
  width:100%; padding:.75rem .9rem; border-radius: 12px;
  border:1px solid rgba(255,255,255,0.22); background: rgba(0,0,0,0.35); color: var(--text);
}
.form button{ margin-top: .6rem; }

/* Footer */
.site-footer{ padding: 6svh var(--space); color: var(--muted); text-align:center; }

/* Extras */
.card + .card{ margin-top: var(--space); }

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .bg-video{ display: none; }
  .video-wrap{ background: #0c111a; }
}

/* Small screens tweaks */
@media (max-width: 720px){
  .site-header{ grid-template-columns: 1fr auto; grid-template-areas: 'brand controls' 'nav nav';  position: absolute;
        width: 100%; }
  .brand{ grid-area: brand; }
  .nav{ grid-area: nav; }
  .controls{ grid-area: controls; justify-self: end; 
    width: fit-content;
  }
    #top-headlines h2 {margin-top:0px !important;}

  }


/* === Decade Grid === */
.decade-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.6rem;margin-top:.75rem}
.decade-link{display:block;text-align:center;padding:.8rem 1rem;border:1px solid rgba(217,184,105,.35);border-radius:12px;text-decoration:none;
background:linear-gradient(180deg,rgba(217,184,105,.08),rgba(217,184,105,.03));transition:transform .15s ease, box-shadow .2s ease, border-color .2s ease}
.decade-link:hover{transform:translateY(-1px);border-color:rgba(232,201,122,.95);box-shadow:0 12px 28px rgba(0,0,0,.25),0 0 16px rgba(232,201,122,.25)}

/* === Nav Dropdown (1900s) === */
.nav-item.dropdown{ position: relative; }
.nav-item.dropdown .dropdown-menu{
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  /* min-width: 220px; */
  padding: .4rem;
  border-radius: 12px;
  border: 1px solid rgba(217,184,105,0.35);
  background: rgba(10,10,14,0.95);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(232,201,122,0.15) inset;
  z-index: 10001;
}
.dropdown-item{
  display:block;
  padding: .5rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.dropdown-item:hover{
  transform: translateY(-1px);
  background: rgba(232,201,122,0.10);
  border-color: rgba(232,201,122,0.35);
}

/* === Hamburger navigation === */
/* The hamburger button inherits the aesthetic of the original navigation button, but
   uses a simple icon (☰) to toggle the full list of decades. */
.nav-toggle{
  appearance: none;
  border: 1px solid rgba(217,184,105,0.35);
  background: var(--panel);
  color: var(--text);
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, border-color .2s ease;
}
.nav-toggle:hover{
  transform: translateY(-1px);
  background: var(--panel-strong);
  border-color: rgba(232,201,122,0.6);
}
.nav-menu{
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  padding: .4rem;
  border-radius: 12px;
  border: 1px solid rgba(217,184,105,0.35);
  background: rgba(10,10,14,0.95);
  box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(232,201,122,0.15) inset;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  z-index: 10001;
  display: none;
}
.nav-menu.show{
  display: block;
}
.nav-menu a{
  display: block;
  padding: .5rem .7rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
  border: 1px solid transparent;
  transition: background .2s ease, transform .15s ease, border-color .2s ease;
}
.nav-menu a:hover{
  transform: translateY(-1px);
  background: rgba(232,201,122,0.10);
  border-color: rgba(232,201,122,0.35);
}

/* Highlight the active headline when its summary is open */
.headlines li.active > a{
  color: #d9b869 !important;
}

/* Style article summaries with a distinctive font */
.article-summary{
  font-family: "Ocean Trace", var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text);
  margin-top: .4rem;
    background-color: rgba(0, 0, 0, 0.2) !important; /* 50% transparent black */

}


/* === Global Type Scale Bump === */
html{ font-size: clamp(16px, 1.1vw + 12px, 20px); }
body{ line-height: 1.7; }
h1{ font-size: clamp(2.8rem, 6.8vw, 6rem); line-height: 1.05; }
h2{ font-size: clamp(1.8rem, 3.6vw, 2.6rem); line-height: 1.15;color:rgb(217,184,105) !important }
h3{ font-size: clamp(1.4rem, 2.6vw, 2rem);  line-height: 1.2; }
p, li{ font-size: clamp(1.05rem, 1.4vw, 1.25rem); }


/* === Video Chooser Section (applies to all pages) === */
.video-chooser .card.glass{ padding: clamp(16px, 2vw, 28px); }
.video-chooser h2{ margin: 0 0 .4rem; }
.video-chooser .lede{ margin: 0 0 .6rem; opacity: .9; }

.video-inline-list{
  list-style:none;
  display:flex;
  gap:.5rem;
  padding:0;
  margin:0;
  flex-wrap:wrap;
}
.video-inline-list li{
  border:1px solid rgba(217,184,105,0.35);
  background:linear-gradient(180deg, rgba(217,184,105,0.10), rgba(217,184,105,0.03));
  padding:.45rem .7rem;
  border-radius:10px;
  cursor:pointer;
  user-select:none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.video-inline-list li:hover{
  transform:translateY(-1px);
  border-color:rgba(232,201,122,0.9);
  box-shadow:0 10px 26px rgba(0,0,0,.28), 0 0 16px rgba(232,201,122,.25);
  background:linear-gradient(180deg, rgba(232,201,122,0.18), rgba(217,184,105,0.06));
}
.video-inline-list li.active{
  background:linear-gradient(180deg, rgba(232,201,122,0.26), rgba(217,184,105,0.08));
  border-color:rgba(232,201,122,1);
}


/* --- Centering rule injected by ChatGPT on 2025-10-25 --- */
.card.glass.reveal.centered-section.visible{
  /* Prefer modern centering over fixed negative margins */
  margin-left: 0 !important;
  margin-right: 0 !important;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
}
/* Fallback: allow auto margins on centered-section containers */
.centered-section{
  margin-left: auto !important;
  margin-right: auto !important;
}
/* --- End injected rule --- */



/* --- Match 1900s button to Home button (active style & size) --- */
#1900s > .nav-link {
  /* Size to match Home */
  font-size: 1.05rem;
  padding: 0.8rem 1.2rem;
  border-radius: 12px;
  border-width: 1px;
}

/* Apply the same "active" look as Home */
#1900s > .nav-link {
  background: linear-gradient(180deg, rgba(232,201,122,0.26), rgba(217,184,105,0.08));
  border-color: rgba(232,201,122,1);
  color: var(--text);
}

/* Keep dropdown menu items unchanged */
#1900s .dropdown-menu .dropdown-item {
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
}
#1900s .dropdown-menu .dropdown-item:hover{
  background: var(--panel-strong);
  border-color: rgba(255,255,255,0.25);
}

/* === Typewriter caret (injected) === */
.typing-caret {
  display: inline-block;
  border-right: 2px solid currentColor;
  animation: caret-blink 1s step-end infinite;
}
@keyframes caret-blink {
  50% { border-color: transparent; }
}


/* Typewriter caret */
.typing-caret {
  position: relative;
}
.typing-caret::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  animation: caret-blink 1s steps(1, end) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* Make Top headlines section text stand alone (no card/glass chrome) */
#top-headlines {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  backdrop-filter: none !important;
  padding-left: 0;
  padding-right: 0;
  margin-top: 20px !important;
}
#top-headlines h2 { margin-bottom: 12px; font-family:'Febila Vintage' !important; color: rgb(217, 184, 105) !important;margin-top: 60px;}
#top-headlines ul.headlines { list-style: disc inside; padding: 0; margin: 0; }

/* Top headlines typography */
#top-headlines, #top-headlines * {
  font-family: "zai_RemingtonDeluxeTypewriter1938", system-ui, -apple-system, Segoe UI, Roboto, Inter, sans-serif !important;
  letter-spacing: .2px;
}

/* Prevent element-level border blink that can look like flashing */
.typing-caret {
  border-right: none !important;
  animation: none !important;
}
.typing-caret::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  animation: caret-blink 1s steps(1, end) infinite;
}
@keyframes caret-blink { 50% { opacity: 0; } }

/* Make reveal pop a bit more */
.reveal { opacity: 0; transform: translateY(32px); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal, .reveal.visible { opacity: 1; transform: none; }
}


/* === Choose your background video: polished layout === */
#choose-background-video, .choose-background-video, .bg-video-chooser{
  margin: var(--space) auto;
  max-width: min(1100px, 92vw);
}
#videoInlineList{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: clamp(10px, 2vw, 16px);
  padding: 0;
  list-style: none;
}
#videoInlineList li{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
#videoInlineList li:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.35);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
}
#videoInlineList .thumb{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  display: block;
  overflow: hidden;
}
#videoInlineList .thumb img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.02);
}
#videoInlineList .meta{
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.35;
}
#videoInlineList .meta .title{ font-weight: 600; display:block; margin-bottom: 4px; }
#videoInlineList .meta .desc{ opacity: .8; font-size: 12px; }


/* Decades nav: plain text links (no button chrome) */
.decade-link, .decade-link:link, .decade-link:visited{
  display: inline-block;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 .35rem .35rem 0;
  color: var(--link, #cfe3ff);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.decade-link:hover{ opacity: .85; transform: none !important; }
.decade-grid{ gap: .35rem .75rem; }


/* === Page transition overlay with rotating camcorder === */
#page-transition-overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  display: grid;
  place-items: center;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s ease;
}
#page-transition-overlay.active{
  pointer-events: all;
  opacity: 1;
}
.camcorder {
  width: 80px; height: 80px;
  animation: spin 1.2s linear infinite;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.5));
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Decades of the 1900s background-free */
.decade-grid{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding-left: 0;
  padding-right: 0;
}


/* External link hover effects for Top headlines */
#top-headlines a[target="_blank"] {
  position: relative;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .30s ease, transform .30s ease, color .2s ease, text-shadow .25s ease;
}
#top-headlines a[target="_blank"]:hover {
  color: #a7cfff;
}
#top-headlines a[target="_blank"]::after {
  content: "↗";
  font-size: 0.8em;
  margin-left: 4px;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
#top-headlines a[target="_blank"]:hover::after {
  opacity: 1;
  transform: translateY(0);
}


/* Enhanced Top headlines link style: subtle glow + smaller font size */
#top-headlines a[target="_blank"] {
  font-size: 0.92em;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity .30s ease, transform .30s ease, color .2s ease, text-shadow .25s ease;
}
#top-headlines a[target="_blank"]:hover {
  color: #c8e4ff;
  text-shadow: 0 0 8px rgba(200, 228, 255, 0.6);
}


/* Fade-in animation for Top headlines links */
#top-headlines a[target="_blank"] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .30s ease, transform .30s ease, color .2s ease, text-shadow .25s ease;
}
#top-headlines a[target="_blank"].visible {
  opacity: 1;
  transform: translateY(0);
}


/* Staggered fade-in for Top headlines links */
#top-headlines a[target="_blank"] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .30s ease, transform .30s ease, color .2s ease, text-shadow .25s ease;
}
#top-headlines a[target="_blank"].visible {
  opacity: 1;
  transform: translateY(0);
}

/* Bottom Decades section background-free across pages */
#decades-grid, .decades-grid, .decade-grid {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding-left: 0;
  padding-right: 0;
}


/* Headline links: underline only on hover, with fade-in */
#top-headlines a[target="_blank"]{
  text-decoration: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .30s ease, transform .30s ease, color .2s ease, text-shadow .25s ease;
  cursor: pointer;
}
#top-headlines a[target="_blank"]:hover{
  text-decoration: underline;
  text-underline-offset: 3px;
}
#top-headlines a[target="_blank"].visible{
  opacity: 1;
  transform: translateY(0);
  font-family: 'Febila Vintage' !important;
  font-size: 25px;
}


/* Force era/year dropdown to top-right on all pages */
.era-dropdown, .year-dropdown, #eraDropdown, #yearDropdown, .decade-menu, .year-menu {
  position: fixed !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 9999 !important;
}


.card.glass.reveal.visible{ display:none !important; }



/* === Inline Article Summary Styles === */
/* Fade out other headlines completely when a summary overlay is active */
ul.headlines.summary-active li { transition: opacity .4s ease; }
ul.headlines.summary-active li:not(.active){
  opacity: 0;
  pointer-events: none;
}

ul.headlines li .article-summary{
  color: #fff;
  background: transparent;
  margin: .5rem 0 0.75rem 0.75rem;
  padding: 0.25rem 0 0 0.75rem;
  border-left: 2px solid rgba(255,255,255,.25);
  line-height: 1.5;
  font-size: 1.15rem;
  opacity: 0;
  transition: opacity .25s ease;
}
ul.headlines li .article-summary.visible{ opacity: 1; }
