/* ==========================================================================
   CHRONICLE. — PREMIUM EDITORIAL MAGAZINE & PERSONAL BLOG STYLESHEET
   Reference Architecture: Ghost Headline, Framer Editorial, Substack/Medium
   ========================================================================== */

:root,
[data-theme="sepia"] {
  --bg-page: #f5f0e6;
  --bg-surface: #ece6d9;
  --bg-elevated: #fdfbf7;
  --bg-glass: rgba(245, 240, 230, 0.88);

  --text-primary: #1e1b18;
  --text-secondary: #4a443c;
  --text-muted: #7b7368;

  --accent: #9a5b25;
  --accent-hover: #7d4618;
  --accent-soft: rgba(154, 91, 37, 0.12);

  --border-subtle: rgba(30, 27, 24, 0.09);
  --border-strong: rgba(30, 27, 24, 0.2);

  --shadow-sm: 0 4px 14px rgba(30, 27, 24, 0.04);
  --shadow-md: 0 12px 32px rgba(30, 27, 24, 0.08);
  --shadow-lg: 0 24px 60px rgba(30, 27, 24, 0.14);
}

[data-theme="paper"] {
  --bg-page: #f9f9fb;
  --bg-surface: #f0f1f5;
  --bg-elevated: #ffffff;
  --bg-glass: rgba(249, 249, 251, 0.88);

  --text-primary: #111318;
  --text-secondary: #454852;
  --text-muted: #717684;

  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.1);

  --border-subtle: rgba(17, 19, 24, 0.08);
  --border-strong: rgba(17, 19, 24, 0.18);

  --shadow-sm: 0 4px 14px rgba(17, 19, 24, 0.04);
  --shadow-md: 0 12px 32px rgba(17, 19, 24, 0.07);
  --shadow-lg: 0 24px 60px rgba(17, 19, 24, 0.12);
}

[data-theme="night"] {
  --bg-page: #0f1014;
  --bg-surface: #16181e;
  --bg-elevated: #1b1d24;
  --bg-glass: rgba(15, 16, 20, 0.88);

  --text-primary: #eceae4;
  --text-secondary: #b4b2ac;
  --text-muted: #7b7974;

  --accent: #d4a359;
  --accent-hover: #e3b66e;
  --accent-soft: rgba(212, 163, 89, 0.14);

  --border-subtle: rgba(236, 234, 228, 0.08);
  --border-strong: rgba(236, 234, 228, 0.2);

  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 14px 36px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 28px 68px rgba(0, 0, 0, 0.68);
}

/* ==========================================================================
   DYNAMIC TOPIC ATMOSPHERE ENGINE (SAME TEMPLATE, 5 DISTINCT NUANCES)
   1. anime     -> Crimson-Rose & Spy Classroom Velvet (Thea Aesthetic)
   2. musik     -> Studio Indigo & Acoustic Vinyl Gold
   3. game      -> PlayStation 5 DualSense Cobalt Blue & Astro Ice
   4. teknologi -> Cyber-Emerald & Quantum Circuit Blueprint
   5. journey   -> Warm Cream / Sepia Editorial (Existing Classic)
   ========================================================================== */
:root[data-topic-vibe="anime"]:not([data-theme="night"]) {
  --bg-page: #faf1f3;
  --bg-surface: #f2e2e6;
  --bg-elevated: #fffafb;
  --bg-glass: rgba(250, 241, 243, 0.88);
  --accent: #be123c;
  --accent-hover: #9f1239;
  --accent-soft: rgba(190, 18, 60, 0.12);
  --border-subtle: rgba(136, 19, 55, 0.1);
  --border-strong: rgba(190, 18, 60, 0.24);
}
:root[data-topic-vibe="anime"][data-theme="night"] {
  --bg-page: #140c10;
  --bg-surface: #1d1117;
  --bg-elevated: #25161e;
  --bg-glass: rgba(20, 12, 16, 0.88);
  --accent: #fb7185;
  --accent-hover: #fda4af;
  --accent-soft: rgba(251, 113, 133, 0.15);
}

:root[data-topic-vibe="musik"]:not([data-theme="night"]) {
  --bg-page: #f3f2fa;
  --bg-surface: #e6e4f4;
  --bg-elevated: #fbfaff;
  --bg-glass: rgba(243, 242, 250, 0.88);
  --accent: #4f46e5;
  --accent-hover: #3730a3;
  --accent-soft: rgba(79, 70, 229, 0.12);
  --border-subtle: rgba(49, 46, 129, 0.1);
  --border-strong: rgba(79, 70, 229, 0.24);
}
:root[data-topic-vibe="musik"][data-theme="night"] {
  --bg-page: #0d0e1a;
  --bg-surface: #141627;
  --bg-elevated: #1b1e34;
  --bg-glass: rgba(13, 14, 26, 0.88);
  --accent: #818cf8;
  --accent-hover: #a5b4fc;
  --accent-soft: rgba(129, 140, 248, 0.15);
}

:root[data-topic-vibe="game"]:not([data-theme="night"]) {
  --bg-page: #eef4fb;
  --bg-surface: #dfe9f6;
  --bg-elevated: #f9fcff;
  --bg-glass: rgba(238, 244, 251, 0.88);
  --accent: #0070d1;
  --accent-hover: #0055a5;
  --accent-soft: rgba(0, 112, 209, 0.12);
  --border-subtle: rgba(0, 67, 156, 0.1);
  --border-strong: rgba(0, 112, 209, 0.25);
}
:root[data-topic-vibe="game"][data-theme="night"] {
  --bg-page: #0a101d;
  --bg-surface: #10192b;
  --bg-elevated: #162238;
  --bg-glass: rgba(10, 16, 29, 0.88);
  --accent: #38bdf8;
  --accent-hover: #7dd3fc;
  --accent-soft: rgba(56, 189, 248, 0.15);
}

:root[data-topic-vibe="teknologi"]:not([data-theme="night"]) {
  --bg-page: #eef7f6;
  --bg-surface: #dfeeec;
  --bg-elevated: #f9fefe;
  --bg-glass: rgba(238, 247, 246, 0.88);
  --accent: #0d9488;
  --accent-hover: #0f766e;
  --accent-soft: rgba(13, 148, 136, 0.12);
  --border-subtle: rgba(19, 78, 74, 0.1);
  --border-strong: rgba(13, 148, 136, 0.25);
}
:root[data-topic-vibe="teknologi"][data-theme="night"] {
  --bg-page: #091515;
  --bg-surface: #0f2020;
  --bg-elevated: #152b2b;
  --bg-glass: rgba(9, 21, 21, 0.88);
  --accent: #2dd4bf;
  --accent-hover: #5eead4;
  --accent-soft: rgba(45, 212, 191, 0.15);
}

:root[data-topic-vibe="journey"]:not([data-theme="night"]) {
  --bg-page: #f5f0e6;
  --bg-surface: #ece6d9;
  --bg-elevated: #fdfbf7;
  --bg-glass: rgba(245, 240, 230, 0.88);
  --accent: #9a5b25;
  --accent-hover: #7d4618;
  --accent-soft: rgba(154, 91, 37, 0.12);
}

/* Curated Cover Art Color Palettes */
.palette-amber {
  background: linear-gradient(135deg, rgba(180, 110, 45, 0.18), rgba(140, 75, 25, 0.06));
  color: var(--accent);
}
.palette-indigo {
  background: linear-gradient(135deg, rgba(79, 92, 186, 0.18), rgba(50, 60, 130, 0.06));
  color: #5b6bc0;
}
.palette-emerald {
  background: linear-gradient(135deg, rgba(46, 139, 105, 0.18), rgba(28, 95, 70, 0.06));
  color: #388e6c;
}
.palette-rose {
  background: linear-gradient(135deg, rgba(185, 74, 98, 0.18), rgba(130, 45, 65, 0.06));
  color: #b8546a;
}
.palette-slate {
  background: linear-gradient(135deg, rgba(95, 110, 128, 0.2), rgba(60, 70, 85, 0.06));
  color: var(--text-secondary);
}
.palette-bronze {
  background: linear-gradient(135deg, rgba(165, 120, 68, 0.2), rgba(115, 80, 40, 0.06));
  color: #a67c46;
}
.palette-AmberDark {
  background: linear-gradient(135deg, rgba(145, 95, 55, 0.2), rgba(90, 55, 30, 0.06));
  color: var(--accent);
}
.palette-teal {
  background: linear-gradient(135deg, rgba(52, 135, 145, 0.18), rgba(32, 90, 98, 0.06));
  color: #3b8d96;
}

/* ==========================================================================
   BASE RESET & GLOBAL TYPOGRAPHY
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.28s ease, color 0.28s ease;
}

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

button,
input {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--text-primary);
  color: var(--bg-page);
  padding: 0.6rem 1.1rem;
  border-radius: 8px;
  z-index: 9999;
}

.skip-link:focus {
  top: 1rem;
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 1.75rem;
}

.top-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 1000;
}

.top-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--accent);
  transition: width 0.12s linear;
}

/* ==========================================================================
   STICKY PREMIUM NAVBAR & MEGA-DROPDOWN
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar-inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  gap: 1.25rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 36px;
  padding: 0 0.9rem;
  border-radius: 99px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.mobile-nav-toggle:hover,
.navbar.mobile-open .mobile-nav-toggle {
  background-color: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

.navbar.mobile-open .mobile-nav-toggle .chevron-svg {
  transform: rotate(180deg);
}

.brand-mark {
  color: var(--accent);
  font-size: 1.15rem;
}

.brand-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand-tag {
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.18rem 0.6rem;
  border-radius: 99px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 99px;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.nav-item:hover,
.nav-dropdown.open .dropdown-trigger {
  background-color: var(--bg-surface);
  color: var(--text-primary);
}

.chevron-svg {
  transition: transform 0.22s ease;
}

.nav-dropdown.open .chevron-svg {
  transform: rotate(180deg);
}

/* Mega Dropdown Panel (Centered Exactly in the Middle of the Page Container) */
.nav-dropdown {
  position: static;
}

.mega-dropdown {
  position: absolute;
  top: calc(100% + 0.65rem);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  width: min(1150px, calc(100vw - 2.5rem));
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 300;
}

.nav-dropdown.open .mega-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.mega-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
  gap: 1rem;
  flex-wrap: wrap;
}

.mega-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.mega-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.mega-reset-btn {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 0.42rem 0.9rem;
  border-radius: 99px;
  transition: opacity 0.2s ease;
}

.mega-reset-btn:hover {
  opacity: 0.85;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}

.mega-col {
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 0.85rem;
  display: flex;
  flex-direction: column;
}

.tree-parent {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.4rem;
  width: 100%;
  text-align: left;
  padding: 0.55rem 0.6rem;
  border-radius: 10px;
  margin-bottom: 0.55rem;
  transition: background-color 0.18s ease;
}

.tree-parent:hover {
  background-color: var(--bg-surface);
}

.tree-parent-left {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  min-width: 0;
}

.tree-icon {
  font-size: 1.15rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.tree-title {
  display: block;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-primary);
}

.tree-sub {
  display: block;
  font-size: 0.71rem;
  line-height: 1.3;
  margin-top: 0.15rem;
  color: var(--text-muted);
}

.tree-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: 99px;
  background-color: var(--bg-surface);
  color: var(--text-secondary);
  flex-shrink: 0;
}

.tree-branch,
.tree-subbranch {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.tree-branch {
  padding-left: 0.35rem;
}

.tree-subbranch {
  padding-left: 1.1rem;
  margin-top: 0.15rem;
}

.tree-leaf,
.tree-subleaf {
  display: flex;
  align-items: center;
  width: 100%;
  text-align: left;
  padding: 0.38rem 0.55rem;
  border-radius: 7px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: all 0.18s ease;
}

.tree-subleaf {
  font-size: 0.8rem;
}

.leaf-line {
  font-family: monospace;
  color: var(--text-muted);
  margin-right: 0.4rem;
}

.leaf-label {
  flex: 1;
}

.leaf-count {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tree-leaf:hover,
.tree-subleaf:hover,
.tree-parent.active-tag,
.tree-leaf.active-tag,
.tree-subleaf.active-tag {
  background-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

/* Navbar Right Actions — ALL CONTAINERS LOCKED TO IDENTICAL 38PX HEIGHT */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 99px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.action-btn:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.count-pill {
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  height: 20px;
  min-width: 20px;
  padding: 0 0.38rem;
  border-radius: 99px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.theme-segmented,
.lang-segmented {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 3px;
  border-radius: 99px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.seg-btn,
.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 0 0.72rem;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  color: var(--text-muted);
  transition: all 0.2s ease;
}

.seg-btn.active,
.lang-btn.active {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   COMMON TAG BREADCRUMBS & SECTION HEADERS
   ========================================================================== */
.breadcrumb-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
}

.tag-crumb {
  color: var(--accent);
  transition: opacity 0.2s ease;
}

.tag-crumb.sub {
  color: var(--text-secondary);
  background-color: var(--bg-surface);
  padding: 0.1rem 0.5rem;
  border-radius: 6px;
}

.tag-crumb:hover {
  opacity: 0.75;
}

.crumb-sep {
  color: var(--text-muted);
}

.section-kicker {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.section-main-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.18;
}

/* ==========================================================================
   SECTION 01 // HERO BENTO SPREAD (7-COL LEAD + 5-COL CURATED STACK)
   ========================================================================== */
.hero-bento-section {
  padding: 2.5rem 0 3.5rem;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 2rem;
  align-items: stretch;
}

/* Left 5-Slide Hero Slider Wrapper (100% BALANCED WITH RIGHT COLUMN & FIXED HEIGHT) */
.hero-slider-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  height: 100%;
  min-height: 585px;
}

.hero-lead-card {
  grid-area: 1 / 1;
  height: 100%;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: opacity 0.45s ease, visibility 0.45s ease, transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hero-slide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}

/* Minimalist Small Bubbles Floating at Bottom Center of Cover Media */
.slider-bubbles {
  position: absolute;
  top: 222px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  border-radius: 99px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background-color: var(--text-muted);
  opacity: 0.4;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  opacity: 0.75;
}

.slider-dot.active {
  width: 22px;
  background-color: var(--accent);
  opacity: 1;
}

.hero-lead-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.hero-lead-media {
  position: relative;
  height: 265px;
  min-height: 265px;
  max-height: 265px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

.media-top-badges {
  position: absolute;
  top: 1.15rem;
  left: 1.25rem;
  right: 1.25rem;
  display: flex;
  justify-content: space-between;
  z-index: 3;
}

.badge-pill-solid {
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: 99px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.badge-pill-glass {
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.28rem 0.75rem;
  border-radius: 99px;
}

.hero-artwork-svg {
  width: 100%;
  max-height: 260px;
  transition: transform 0.45s ease;
}

.hero-lead-card:hover .hero-artwork-svg {
  transform: scale(1.04);
}

.hero-lead-body {
  padding: 1.85rem 2.2rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.hero-lead-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.82rem;
  font-weight: 500;
  line-height: 1.24;
  height: 2.48em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.hero-lead-card:hover .hero-lead-title {
  color: var(--accent);
}

.hero-lead-excerpt {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.96rem;
  line-height: 1.68;
  height: 5.04em;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-lead-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  gap: 1rem;
}

.author-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-subtle);
}

.author-name {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.2;
}

.post-date {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.btn-bookmark-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background-color: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.btn-bookmark-icon:hover,
.btn-bookmark-icon.saved {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-soft);
}

.read-more-pill {
  background-color: var(--text-primary);
  color: var(--bg-elevated);
  padding: 0.55rem 1.15rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.hero-lead-card:hover .read-more-pill {
  background-color: var(--accent);
  color: #ffffff;
}

/* Right Curated Picks Column */
.hero-picks-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.picks-column-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.kicker-line {
  flex: 1;
  height: 1px;
  background-color: var(--border-subtle);
}

.picks-card-stack {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.pick-row-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: 16px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.pick-row-card:hover {
  transform: translateX(4px);
  border-color: var(--border-strong);
}

.pick-num-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 600;
  border: 1px solid var(--border-subtle);
}

.pick-row-body {
  flex: 1;
  min-width: 0;
}

.breadcrumb-tags.compact {
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
}

.pick-row-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.14rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.pick-row-card:hover .pick-row-title {
  color: var(--accent);
}

.pick-row-meta {
  display: flex;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.picks-highlight-box {
  padding: 1rem 1.2rem;
  border-radius: 14px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.highlight-label {
  display: block;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

/* ==========================================================================
   SECTION 02 // STRUCTURED 3-COLUMN MAGAZINE ARCHIVE
   ========================================================================== */
.archive-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--border-subtle);
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.archive-tools {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.search-field-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 99px;
  padding: 0.52rem 1rem 0.52rem 2.35rem;
  font-size: 0.85rem;
  width: 240px;
  color: var(--text-primary);
  transition: border-color 0.2s ease, width 0.2s ease;
}

.search-input:focus {
  outline: none;
  border-color: var(--accent);
  width: 270px;
}

.layout-toggle {
  display: inline-flex;
  background-color: var(--bg-surface);
  padding: 0.2rem;
  border-radius: 99px;
  border: 1px solid var(--border-subtle);
}

.layout-btn {
  padding: 0.32rem 0.75rem;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-muted);
}

.layout-btn.active {
  background-color: var(--bg-elevated);
  color: var(--text-primary);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Filter Pills Bar */
.filter-pills-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.75rem;
}

.filter-pill {
  flex-shrink: 0;
  padding: 0.45rem 1rem;
  border-radius: 99px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.filter-pill:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.filter-pill.active {
  background-color: var(--text-primary);
  color: var(--bg-elevated);
  border-color: var(--text-primary);
  font-weight: 600;
}

/* Active Filter Banner */
.active-filter-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.25rem;
  margin-bottom: 1.75rem;
  border-radius: 12px;
  background-color: var(--accent-soft);
  border: 1px solid var(--border-subtle);
  font-size: 0.86rem;
}

.banner-info strong {
  color: var(--accent);
  margin: 0 0.35rem;
}

.banner-count {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.banner-reset-btn {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.banner-reset-btn:hover {
  text-decoration: underline;
}

/* 3-Column Magazine Cards Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.post-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.post-card-cover {
  position: relative;
  height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  cursor: pointer;
  overflow: hidden;
}

.cover-parent-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.9rem;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  z-index: 2;
}

.card-save-btn {
  position: absolute;
  top: 0.8rem;
  right: 0.85rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.2s ease;
}

.card-save-btn:hover,
.card-save-btn.saved {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

.card-art-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.4s ease;
}

.post-card:hover .card-art-svg {
  transform: scale(1.05);
}

.post-card-body {
  padding: 1.4rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.32rem;
  font-weight: 500;
  line-height: 1.28;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

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

.post-card-excerpt {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.68;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.post-card-footer {
  display: flex;
  align-items: center;
  padding-top: 0.95rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  color: var(--text-muted);
  gap: 0.4rem;
}

.card-read-link {
  margin-left: auto;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s ease;
}

.card-read-link:hover {
  color: var(--accent);
}

/* List View Mode */
.articles-grid.list-mode {
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.articles-grid.list-mode .post-card {
  flex-direction: row;
  align-items: stretch;
}

.articles-grid.list-mode .post-card-cover {
  width: 260px;
  height: auto;
  flex-shrink: 0;
  border-bottom: none;
  border-right: 1px solid var(--border-subtle);
}

.empty-state-box {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  color: var(--text-secondary);
}

.btn-reset-empty {
  margin-top: 1rem;
  padding: 0.55rem 1.2rem;
  border-radius: 99px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   SECTION 03 & LANDING GATEWAY // MODERN EDITORIAL PORTAL CARDS
   ========================================================================== */
.landing-intro-section {
  padding: 3.5rem 0 3.25rem;
}

.landing-welcome-box {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.75rem;
}

.landing-headline {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2.25rem, 4vw, 3.2rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.02em;
  margin: 0.55rem 0 0.9rem;
  color: var(--text-primary);
}

.landing-subheadline {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
  max-width: 58ch;
  margin: 0 auto;
}

.topic-bento-section {
  padding: 2rem 0 3.5rem;
}

/* 5-Card Balanced Bento Grid (Top Row: 3 Cards, Bottom Row: 2 Wide Cards) */
.bento-taxonomy-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  align-items: stretch;
  text-align: left;
}

.bento-taxonomy-grid > .taxonomy-card {
  grid-column: span 2;
}

.bento-taxonomy-grid > .taxonomy-card:nth-child(4),
.bento-taxonomy-grid > .taxonomy-card:nth-child(5) {
  grid-column: span 3;
}

.taxonomy-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease, border-color 0.28s ease;
}

.taxonomy-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

/* Visual Banner Header inside each Topic Card */
.portal-card-banner {
  position: relative;
  height: 175px;
  min-height: 175px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  cursor: pointer;
}

.portal-vibe-img,
.hero-vibe-img,
.card-vibe-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  z-index: 1;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.portal-card-banner::after,
.hero-lead-media::after,
.post-card-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 16, 20, 0.38) 0%,
    rgba(15, 16, 20, 0.08) 50%,
    rgba(15, 16, 20, 0.42) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.taxonomy-card:hover .portal-vibe-img,
.hero-lead-card:hover .hero-vibe-img,
.post-card:hover .card-vibe-img {
  transform: scale(1.06);
}

/* Dynamic Sub-Topic Bento Grid (Peta Sub-Topik on Topic Magazine Page) */
.subtopic-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.subtopic-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.26s ease, border-color 0.26s ease;
  position: relative;
  overflow: hidden;
}

.subtopic-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.85;
}

.subtopic-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.subtopic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.subtopic-badge-group {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.subtopic-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background-color: var(--accent-soft);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.subtopic-kicker {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.subtopic-count-pill {
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.26rem 0.75rem;
  border-radius: 99px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.subtopic-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 0.45rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

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

.subtopic-card-desc {
  font-size: 0.88rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 1.15rem;
}

.subtopic-articles-preview {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  margin-bottom: 1.25rem;
}

.subtopic-preview-label {
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.15rem;
}

.subtopic-preview-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-primary);
  padding: 0.35rem 0;
  border-bottom: 1px dashed var(--border-subtle);
  cursor: pointer;
  text-align: left;
  transition: color 0.18s ease;
}

.subtopic-preview-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.subtopic-preview-item:hover {
  color: var(--accent);
}

.subtopic-preview-item span:first-child {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.subtopic-preview-time {
  font-size: 0.73rem;
  color: var(--text-muted);
  flex-shrink: 0;
}

@media (max-width: 820px) {
  .subtopic-bento-grid {
    grid-template-columns: 1fr;
  }
}

.portal-banner-top {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  right: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.portal-index-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.26rem 0.7rem;
  border-radius: 99px;
  background-color: var(--bg-glass);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.portal-count-pill {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.24rem 0.7rem;
  border-radius: 99px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.portal-banner-svg {
  width: 100%;
  height: 100%;
  transition: transform 0.45s ease;
}

.taxonomy-card:hover .portal-banner-svg {
  transform: scale(1.06);
}

/* Portal Card Content Body */
.portal-card-body {
  padding: 1.6rem 1.7rem 1.55rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.portal-card-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 500;
  line-height: 1.22;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: color 0.2s ease;
}

.taxonomy-card:hover .portal-card-title {
  color: var(--accent);
}

.portal-card-desc {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}

.portal-subtags-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.65rem;
}

.portal-subtags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
  margin-bottom: 1.5rem;
}

.portal-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.4rem 0.82rem;
  border-radius: 99px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.portal-chip::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--accent);
  opacity: 0.65;
}

.portal-chip:hover {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent);
  transform: translateY(-1px);
}

.gateway-card-footer {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border-subtle);
}

.gateway-enter-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.7rem 1.15rem;
  border-radius: 12px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.gateway-arrow-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  transition: transform 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.taxonomy-card:hover .gateway-enter-btn,
.gateway-enter-btn:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.taxonomy-card:hover .gateway-arrow-circle,
.gateway-enter-btn:hover .gateway-arrow-circle {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: transparent;
  color: #ffffff;
  transform: translateX(3px);
}

/* ==========================================================================
   SECTION 04 // TENTANG: SHORT BIO & LATAR BELAKANG FLATLUTE
   ========================================================================== */
.about-newsletter-section {
  padding: 3.5rem 0 4rem;
  border-top: 1px solid var(--border-subtle);
}

.about-bento-wrapper {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 1.75rem;
  align-items: stretch;
}

.about-bio-card,
.about-origin-card {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bio-profile-header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin: 1rem 0 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.bio-avatar-large {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  color: #ffffff;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.45rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.bio-author-name {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 500;
  line-height: 1.15;
}

.bio-author-role {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.about-text {
  font-family: 'Lora', Georgia, serif;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.bio-interest-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

.interest-tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 99px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}

.origin-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.22;
  margin: 0.35rem 0 1rem;
  color: var(--text-primary);
}

.newsletter-inline-box {
  margin-top: 1.25rem;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.newsletter-inline-text h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
}

.newsletter-inline-text p {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  gap: 0.6rem;
}

.newsletter-input {
  flex: 1;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-btn {
  background-color: var(--text-primary);
  color: var(--bg-elevated);
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background-color 0.2s ease;
}

.newsletter-btn:hover {
  background-color: var(--accent);
  color: #ffffff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.25rem 0;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand-col p {
  margin-top: 0.25rem;
  font-size: 0.8rem;
}

.footer-links-col {
  display: flex;
  gap: 1.5rem;
}

.footer-links-col a:hover {
  color: var(--text-primary);
}

/* ==========================================================================
   DISTRACTION-FREE COMFORT READER MODAL (MEDIUM / SUBSTACK STYLE)
   ========================================================================== */
.reader-overlay {
  position: fixed;
  inset: 0;
  background-color: var(--bg-page);
  z-index: 600;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.26s ease;
}

.reader-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.reader-toolbar {
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.reader-toolbar-inner {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.reader-toolbar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 54px;
  width: 100%;
  gap: 0.75rem;
}

.reader-quick-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.reader-back-btn {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.85rem;
  border-radius: 99px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.reader-back-btn:hover {
  border-color: var(--border-strong);
}

.reader-ai-pill {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 0.75rem;
  border-radius: 99px;
  font-size: 0.76rem;
  font-weight: 600;
  white-space: nowrap;
}

.reader-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  height: 34px;
  padding: 0 0.8rem;
  border-radius: 99px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.aa-badge {
  font-family: 'Newsreader', Georgia, serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--accent);
}

.reader-expand-btn:hover,
.reader-toolbar.tools-open .reader-expand-btn {
  border-color: var(--accent);
  background-color: var(--accent-soft);
  color: var(--accent);
}

.reader-toolbar.tools-open .reader-expand-btn .chevron-svg {
  transform: rotate(180deg);
}

/* Collapsible Reader Controls Drawer (Hidden by Default for Minimalist Reading) */
.reader-controls {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  flex-wrap: wrap;
  padding: 0.75rem 0 0.85rem;
  border-top: 1px solid var(--border-subtle);
}

.reader-toolbar.tools-open .reader-controls {
  display: flex;
}

.reader-ctrl-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ctrl-group-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.ctrl-pill-row {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.ctrl-btn {
  padding: 0.34rem 0.68rem;
  border-radius: 8px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.ctrl-btn:hover,
.ctrl-btn.active,
.ctrl-btn.saved {
  border-color: var(--accent);
  color: var(--accent);
  background-color: var(--accent-soft);
}

.reader-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding: 3rem 1.5rem 5rem;
}

.reader-canvas {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.14rem;
  line-height: 1.88;
}

.reader-canvas.wide-spacing {
  line-height: 2.12;
}

.reader-canvas.sans-font .reader-prose {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.reader-Hierarchy-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background-color: var(--accent-soft);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  margin-bottom: 1rem;
}

.reader-title {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 0.85rem;
}

.reader-subtitle {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.reader-byline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.15rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 2rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.byline-sub {
  display: flex;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.byline-actions {
  display: flex;
  gap: 0.5rem;
}

/* Reader Table of Contents Box */
.reader-toc-box {
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2.25rem;
}

.toc-box-title {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.6rem;
}

.reader-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
}

.reader-toc-list a {
  color: var(--text-secondary);
}

.reader-toc-list a:hover {
  color: var(--accent);
}

/* Long-Form Reader Prose */
.reader-prose {
  font-family: 'Lora', Georgia, serif;
  color: var(--text-secondary);
}

.reader-prose p {
  margin-bottom: 1.55rem;
}

.reader-prose p.lead-dropcap::first-letter {
  float: left;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 3.6rem;
  line-height: 0.84;
  padding-right: 0.65rem;
  padding-top: 0.15rem;
  color: var(--accent);
}

.reader-prose h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.65rem;
  font-weight: 500;
  color: var(--text-primary);
  margin: 2.4rem 0 0.9rem;
  line-height: 1.25;
}

.reader-prose blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  background-color: var(--bg-elevated);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.65;
}

.reader-footer {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-subtle);
}

.reader-next-prev {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.np-card {
  padding: 1.2rem;
  border-radius: 14px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  text-align: left;
  transition: border-color 0.2s ease;
}

.np-card.align-right {
  text-align: right;
}

.np-card:hover {
  border-color: var(--accent);
}

.np-dir {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.np-card strong {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--text-primary);
}

/* ==========================================================================
   SAVED BOOKMARKS DRAWER & TOAST
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 700;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.saved-drawer {
  width: min(420px, 100vw);
  height: 100vh;
  background-color: var(--bg-page);
  border-left: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.saved-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
}

.saved-drawer-header h2 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.saved-drawer-body {
  padding: 1.5rem;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.saved-card-item {
  padding: 1.15rem;
  border-radius: 14px;
  background-color: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.saved-card-item h4 {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.2rem;
  font-weight: 500;
  margin: 0.3rem 0 0.65rem;
  cursor: pointer;
}

.saved-card-item h4:hover {
  color: var(--accent);
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: var(--text-primary);
  color: var(--bg-elevated);
  padding: 0.72rem 1.25rem;
  border-radius: 99px;
  font-size: 0.82rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  z-index: 900;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: all 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-bento-grid,
  .about-bento-wrapper {
    grid-template-columns: 1fr;
  }
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bento-taxonomy-grid,
  .mega-grid {
    grid-template-columns: 1fr;
  }
  .bento-taxonomy-grid > .taxonomy-card,
  .bento-taxonomy-grid > .taxonomy-card:nth-child(4),
  .bento-taxonomy-grid > .taxonomy-card:nth-child(5) {
    grid-column: span 1;
  }
  .hide-tablet {
    display: none;
  }
}

@media (max-width: 900px) {
  .navbar-inner {
    flex-direction: column;
    align-items: stretch;
    min-height: 56px;
    padding-top: 0;
    padding-bottom: 0;
    gap: 0;
  }

  .navbar-brand {
    width: 100%;
    min-height: 56px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .brand-name {
    font-size: 1.45rem;
  }

  .mobile-nav-toggle {
    display: inline-flex;
  }

  /* Collapsed by default on mobile for a clean minimalist top bar */
  .navbar-nav,
  .navbar-actions {
    display: none;
    width: 100%;
  }

  .navbar.mobile-open .navbar-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.65rem 0;
    border-top: 1px solid var(--border-subtle);
  }

  .navbar.mobile-open .navbar-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 0 0.85rem;
    border-top: 1px solid var(--border-subtle);
  }
}

@media (max-width: 720px) {
  .hide-mobile {
    display: none;
  }
  .mega-dropdown {
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: calc(100vw - 1.5rem);
    max-height: 75vh;
    overflow-y: auto;
  }
  .nav-dropdown.open .mega-dropdown {
    transform: translateX(-50%) translateY(0);
  }
  .reader-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .reader-ctrl-group {
    width: 100%;
    justify-content: space-between;
  }
  .articles-grid,
  .reader-next-prev,
  .articles-grid.list-mode .post-card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }
  .articles-grid.list-mode .post-card-cover {
    width: 100%;
    height: 170px;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
  }
  .newsletter-form {
    flex-direction: column;
  }
}
