/*
Theme Name: Civilizatio
Theme URI: https://civilizatio.com
Author: Civilizatio
Author URI: https://civilizatio.com
Description: Editorial dark theme for Civilizatio — a platform for first-person interviews on global politics. Features auto-populating interactive world maps, magazine-style homepage, dynamic author archives, and reader-friendly interview typography with drop caps and reading progress. Custom built to replace static HTML with dynamic WordPress queries.
Version: 1.5.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: civilizatio
Tags: news, magazine, blog, dark-mode, editorial, interview, custom-colors, custom-menu, featured-images, full-width-template, sticky-post, threaded-comments
*/

/* ================================================================
   CIVILIZATIO — DESIGN TOKENS
   ================================================================ */
:root {
  --bg:        #0e0e0e;
  --surface:   #161616;
  --surface2:  #1e1e1e;
  --border:    #2a2a2a;
  --text:      #e8e2d9;
  --muted:     #888;
  --accent:    #c8a96e;
  --accent2:   #e05c3a;
  --white:     #f5f0ea;
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Mulish', sans-serif;
  --map-ocean:   #111820;
  --map-land:    #1e2a1e;
  --map-reached: #c8a96e;
  --map-hover:   #e8c98e;
  --map-border:  #2a3a2a;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* WordPress-required generic classes */
.alignleft   { float: left;  margin: 0 1.5em 1em 0; }
.alignright  { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption  { max-width: 100%; }
.wp-caption-text, .gallery-caption {
  font-size: 12px; color: var(--muted); text-align: center; padding-top: 6px;
}
.screen-reader-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px;
  overflow: hidden; word-wrap: normal !important;
}
.sticky { /* placeholder for WP "sticky" class */ }
.bypostauthor { /* placeholder */ }

/* ================================================================
   TOP BAR
   ================================================================ */
.topbar {
  border-bottom: 1px solid var(--border);
  padding: 10px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeDown 0.6s ease both;
}
.topbar-social { display: flex; gap: 6px; align-items: center; }
.topbar-social a {
  display: flex; align-items: center; gap: 7px;
  padding: 5px 10px;
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 11px; letter-spacing: 0.1em;
  transition: color 0.2s, border-color 0.2s;
}
.topbar-social a:hover { color: var(--accent); border-color: var(--border); }
.topbar-social a svg { width: 14px; height: 14px; flex-shrink: 0; }

/* ================================================================
   HEADER
   ================================================================ */
header.site-header {
  border-bottom: 1px solid var(--border);
  padding: 28px 40px 22px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  animation: fadeDown 0.7s ease 0.1s both;
}
.header-nav {
  display: flex; gap: 32px;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; font-weight: 500;
}
.header-nav a {
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
  padding-bottom: 2px;
}
.header-nav a::after {
  content: ''; position: absolute;
  bottom: -1px; left: 0; width: 0; height: 1px;
  background: var(--accent); transition: width 0.3s;
}
.header-nav a:hover { color: var(--white); }
.header-nav a:hover::after { width: 100%; }
.header-nav a.active,
.header-nav a.current-menu-item,
.header-nav .current-menu-item > a { color: var(--accent); }
.header-nav a.active::after,
.header-nav a.current-menu-item::after,
.header-nav .current-menu-item > a::after { width: 100%; }
.header-right {
  display: flex; justify-content: flex-end; gap: 20px; align-items: center;
}
.header-quiz-link {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
}
.header-quiz-link:hover { color: var(--accent); }

/* ── HAMBURGER (mobile only, hidden on desktop) ──────────── */
.mobile-menu-toggle {
  display: none; /* shown only in mobile media query */
  background: none;
  border: 1px solid var(--border);
  width: 40px; height: 40px;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s;
}
.mobile-menu-toggle:hover { border-color: var(--accent); }
.mobile-menu-bar {
  display: block;
  width: 18px; height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--accent);
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-bar:nth-child(2) {
  opacity: 0;
}
.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--accent);
}

/* ── MOBILE DRAWER (slides down from header) ─────────────── */
.mobile-drawer {
  display: none;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  animation: mobileDrawerSlide 0.3s ease;
  overflow: hidden;
}
.mobile-drawer.open { display: block; }
@keyframes mobileDrawerSlide {
  from { max-height: 0; opacity: 0; }
  to   { max-height: 700px; opacity: 1; }
}
.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  padding: 8px 0;
}
.mobile-drawer-nav a {
  display: block;
  padding: 18px 24px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.15s, color 0.15s, padding-left 0.2s;
  text-transform: none;
  letter-spacing: 0;
}
.mobile-drawer-nav a:last-child { border-bottom: none; }
.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:focus {
  background: var(--bg);
  color: var(--accent);
  padding-left: 30px;
}
.mobile-drawer-nav .current-menu-item > a,
.mobile-drawer-nav a.current { color: var(--accent); }
.btn-outline {
  border: 1px solid var(--accent); color: var(--accent);
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 600; padding: 8px 18px;
  cursor: pointer; background: none;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { background: var(--accent); color: var(--bg); }
.btn-filled {
  background: var(--accent); color: var(--bg);
  font-family: var(--sans); font-size: 10px;
  letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 700; padding: 14px 28px;
  border: none; cursor: pointer;
  transition: background 0.2s; display: inline-block;
}
.btn-filled:hover { background: var(--white); }

/* ── BRAND / LOGO ──────────────────────────────────────── */
.site-brand {
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}
/* Custom uploaded logo (Appearance → Customize → Site Identity) */
.site-brand .custom-logo-link {
  display: inline-block;
  line-height: 0;
}
.site-brand .custom-logo {
  max-height: 64px;
  width: auto;
  display: block;
}
/* Text wordmark fallback — editorial all-caps */
.logo-wordmark {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 32px;
  letter-spacing: 0.22em;
  color: var(--white);
  text-transform: uppercase;
  padding-left: 0.22em; /* compensate for the trailing letter-spacing */
  position: relative;
  display: inline-block;
}
.logo-wordmark::after {
  content: '';
  position: absolute;
  left: 50%; bottom: -10px;
  transform: translateX(-50%);
  width: 32px; height: 1px;
  background: var(--accent);
}

/* Footer brand */
.footer-brand {
  display: inline-block;
  text-decoration: none;
  margin-bottom: 14px;
}
.footer-brand .custom-logo {
  max-height: 56px;
  width: auto;
}
.footer-wordmark {
  font-family: 'Cinzel', 'Playfair Display', Georgia, serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 0.2em;
  color: var(--white);
  text-transform: uppercase;
  padding-left: 0.2em;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  display: grid;
  grid-template-columns: 1fr 380px;
  min-height: 540px;
  border-bottom: 1px solid var(--border);
  animation: fadeUp 0.8s ease 0.2s both;
}
.hero-image-wrap { position: relative; overflow: hidden; }
.hero-image-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease;
}
.hero-image-wrap:hover img { transform: scale(1.04); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(14,14,14,0.55) 0%, transparent 60%),
              linear-gradient(to top, rgba(14,14,14,0.8) 0%, transparent 50%);
}
.hero-text {
  position: absolute; bottom: 40px; left: 40px; right: 40px;
}
.hero-label {
  display: inline-block;
  background: var(--accent2); color: #fff;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 10px; margin-bottom: 14px;
}
.hero-title {
  font-family: var(--serif);
  font-size: 38px; font-weight: 700; line-height: 1.18;
  color: var(--white);
  margin-bottom: 12px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  transition: color 0.2s;
}
.hero-title:hover { color: var(--accent); }
.hero-meta {
  font-size: 11px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(232,226,217,0.6);
}

.hero-sidebar {
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
}
.hero-sidebar-title {
  padding: 22px 28px 18px;
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  border-bottom: 1px solid var(--border);
}
.sidebar-item {
  display: flex; gap: 16px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
  cursor: pointer;
}
.sidebar-item:hover { background: var(--surface); }
.sidebar-item-thumb {
  width: 72px; height: 72px;
  flex-shrink: 0; overflow: hidden;
}
.sidebar-item-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-item-title {
  font-family: var(--serif);
  font-size: 14px; font-weight: 400; line-height: 1.4;
  color: var(--text); transition: color 0.2s;
}
.sidebar-item:hover .sidebar-item-title { color: var(--accent); }
.sidebar-item-date {
  font-size: 10px; color: var(--muted);
  margin-top: 6px; letter-spacing: 0.08em;
}

/* ================================================================
   SECTION HEADER
   ================================================================ */
.section-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 32px;
}
.section-header h2 {
  font-family: var(--serif);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  white-space: nowrap;
}
.section-header::after {
  content: ''; flex: 1; height: 1px; background: var(--border);
}
.section-header a {
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  white-space: nowrap; transition: color 0.2s;
}
.section-header a:hover { color: var(--accent); }

/* ================================================================
   MAIN GRID
   ================================================================ */
.main-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 60px 40px;
}

/* ================================================================
   INTERVIEW CARDS GRID
   ================================================================ */
.interviews-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 32px; margin-bottom: 70px;
}
.card {
  display: flex; flex-direction: column;
  cursor: pointer;
  animation: fadeUp 0.7s ease both;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
.card:nth-child(5) { animation-delay: 0.5s; }
.card:nth-child(6) { animation-delay: 0.6s; }
.card-thumb {
  height: 220px; overflow: hidden;
  position: relative; margin-bottom: 18px;
  background: var(--surface);
}
.card-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.card:hover .card-thumb img { transform: scale(1.06); }
.card-category {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 8px;
}
.card-title {
  font-family: var(--serif);
  font-size: 19px; font-weight: 700; line-height: 1.3;
  color: var(--white); margin-bottom: 10px;
  transition: color 0.2s;
}
.card:hover .card-title { color: var(--accent); }
.card-excerpt {
  font-size: 13px; color: var(--muted);
  line-height: 1.65; flex: 1;
}
.card-date {
  font-size: 10px; letter-spacing: 0.1em;
  color: var(--muted); margin-top: 14px;
  text-transform: uppercase;
}

/* ================================================================
   FEATURED WIDE CARD
   ================================================================ */
.featured-wide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--border);
  margin-bottom: 70px;
  animation: fadeUp 0.8s ease 0.3s both;
  cursor: pointer;
}
.featured-wide:hover .featured-wide-title { color: var(--accent); }
.featured-wide-image {
  height: 380px; overflow: hidden;
  background: var(--surface);
}
.featured-wide-image img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.featured-wide:hover .featured-wide-image img { transform: scale(1.04); }
.featured-wide-body {
  padding: 48px 44px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--surface);
}
.featured-wide-label {
  display: inline-block;
  background: var(--accent); color: var(--bg);
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 5px 10px; margin-bottom: 20px;
  width: fit-content;
}
.featured-wide-title {
  font-family: var(--serif);
  font-size: 30px; font-weight: 700; line-height: 1.25;
  color: var(--white); margin-bottom: 18px;
  transition: color 0.2s;
}
.featured-wide-excerpt {
  font-size: 14px; color: var(--muted);
  line-height: 1.75; margin-bottom: 28px;
}
.read-more {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); transition: gap 0.2s;
}
.read-more:hover { gap: 14px; }
.read-more::after { content: '→'; }

/* ================================================================
   TWO-COL: ARTICLE LIST + SIDEBAR
   ================================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 60px;
  margin-bottom: 70px;
  align-items: start;
}
.two-col.single-col { grid-template-columns: 1fr; max-width: 760px; margin-left: auto; margin-right: auto; }
.two-col > div:first-child { min-height: 1px; }
.article-list { display: flex; flex-direction: column; }
.article-list-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background 0.2s;
}
.article-list-item:hover .article-list-title { color: var(--accent); }
.article-list-thumb {
  height: 70px; overflow: hidden; background: var(--surface);
}
.article-list-thumb img { width: 100%; height: 100%; object-fit: cover; }
.article-list-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 6px;
}
.article-list-title {
  font-family: var(--serif);
  font-size: 16px; font-weight: 400; line-height: 1.4;
  color: var(--white); transition: color 0.2s;
}
.article-list-date {
  font-size: 10px; color: var(--muted); margin-top: 6px;
}

/* ================================================================
   SIDEBAR WIDGETS
   ================================================================ */
.widget { margin-bottom: 40px; }
.widget-title {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.newsletter-form {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 28px 24px;
}
.newsletter-form p {
  font-size: 13px; color: var(--muted);
  margin-bottom: 18px; line-height: 1.6;
}
.newsletter-form input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans); font-size: 13px;
  padding: 11px 14px; outline: none;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.newsletter-form input:focus { border-color: var(--accent); }
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form button {
  width: 100%;
  background: var(--accent); color: var(--bg);
  border: none;
  font-family: var(--sans); font-size: 10px;
  font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px; cursor: pointer;
  transition: background 0.2s;
}
.newsletter-form button:hover { background: var(--white); }
.trending-list { list-style: none; }
.trending-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 16px; align-items: flex-start;
  cursor: pointer;
}
.trending-num {
  font-family: var(--serif);
  font-size: 28px; font-weight: 900;
  color: var(--border); line-height: 1;
  flex-shrink: 0; width: 28px;
  transition: color 0.2s;
}
.trending-list li:hover .trending-num { color: var(--accent); }
.trending-text {
  font-family: var(--serif);
  font-size: 14px; line-height: 1.4;
  color: var(--text); transition: color 0.2s;
}
.trending-list li:hover .trending-text { color: var(--accent); }
.quiz-cta {
  display: block; background: var(--surface);
  border: 1px solid var(--border);
  padding: 24px; text-align: center;
  transition: border-color 0.2s;
}
.quiz-cta:hover { border-color: var(--accent); }
.quiz-cta-icon { font-size: 32px; margin-bottom: 12px; }
.quiz-cta-title {
  font-family: var(--serif); font-size: 16px;
  color: var(--white); margin-bottom: 8px;
}
.quiz-cta-text {
  font-size: 12px; color: var(--muted); margin-bottom: 18px;
}

/* ================================================================
   TAGS STRIP
   ================================================================ */
.tags-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 40px;
  display: flex; gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.tags-strip::-webkit-scrollbar { height: 4px; }
.tags-strip::-webkit-scrollbar-track { background: transparent; }
.tags-strip::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.tag-chip:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.tag-chip.active {
  color: var(--accent);
  border-color: var(--accent);
  background: rgba(200,169,110,0.06);
}
.tag-chip .tag-count {
  display: inline-block;
  font-size: 10px;
  padding: 1px 7px;
  background: var(--bg);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 600;
}
.tag-chip:hover .tag-count,
.tag-chip.active .tag-count { color: var(--accent); }

/* ================================================================
   ABOUT PAGE — HERO
   ================================================================ */
.about-hero {
  position: relative;
  padding: 100px 40px 90px;
  text-align: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg-lines {
  position: absolute; inset: 0;
  pointer-events: none; opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, var(--accent) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--accent) 60px);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
  position: relative;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: ''; position: absolute; top: 50%;
  width: 40px; height: 1px;
  background: var(--accent); opacity: 0.5;
}
.hero-eyebrow::before { right: calc(100% + 14px); }
.hero-eyebrow::after  { left:  calc(100% + 14px); }
.about-hero h1 {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 900; line-height: 1.1;
  color: var(--white);
  max-width: 840px; margin: 0 auto 28px;
}
.about-hero h1 em { color: var(--accent); font-style: italic; }
.hero-subtitle {
  font-size: 17px; color: var(--muted);
  max-width: 560px; margin: 0 auto 48px;
  line-height: 1.75; font-weight: 300;
}
.hero-cta {
  display: inline-flex; gap: 16px;
  flex-wrap: wrap; justify-content: center;
}

/* ================================================================
   STATS STRIP
   ================================================================ */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--border);
}
.stat-item {
  padding: 36px 40px;
  border-right: 1px solid var(--border);
  text-align: center;
  position: relative; overflow: hidden;
}
.stat-item:last-child { border-right: none; }
.stat-item::after {
  content: '';
  position: absolute; bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.4s ease;
}
.stat-item:hover::after { width: 100%; }
.stat-num {
  font-family: var(--serif);
  font-size: 52px; font-weight: 900;
  color: var(--accent);
  line-height: 1; margin-bottom: 8px;
}
.stat-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
}

/* ================================================================
   MAP SECTIONS
   ================================================================ */
.map-section {
  padding: 80px 40px 60px;
  border-bottom: 1px solid var(--border);
}
.map-section.surface { background: var(--surface); }
.map-section .section-header { margin-bottom: 48px; }
.map-section .section-header h2 {
  font-family: var(--sans);
  font-size: 10px; letter-spacing: 0.24em;
}
.map-container {
  position: relative;
  background: var(--map-ocean);
  border: 1px solid var(--border);
  border-radius: 2px;
  overflow: hidden;
}
.map-container svg { width: 100%; display: block; }
.map-container svg path { transition: fill 0.25s ease; }
#world-map path.reached { fill: var(--map-reached); cursor: pointer; }
#world-map path.reached:hover { fill: var(--map-hover); }
#readers-map path.has-readers { cursor: pointer; }
#readers-map path.has-readers:hover { filter: brightness(1.3); }

.map-tooltip {
  position: fixed;
  background: #111;
  border: 1px solid var(--accent);
  padding: 14px 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  max-width: 240px;
  z-index: 999;
}
.map-tooltip.visible { opacity: 1; }
.map-tooltip-country {
  font-family: var(--serif);
  font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.map-tooltip-articles {
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.1em; text-transform: uppercase;
}

.map-legend {
  display: flex; gap: 28px; align-items: center;
  margin-top: 20px; padding: 0 4px;
  flex-wrap: wrap;
}
.legend-item { display: flex; align-items: center; gap: 8px; }
.legend-dot {
  width: 12px; height: 12px;
  border-radius: 1px; flex-shrink: 0;
}
.legend-dot.reached  { background: var(--map-reached); }
.legend-dot.unreached{ background: var(--map-land); border: 1px solid var(--map-border); }
.legend-text { font-size: 11px; color: var(--muted); letter-spacing: 0.08em; }

.legend-gradient {
  display: flex; align-items: center; gap: 10px;
  flex-wrap: wrap;
}
.legend-bar {
  width: 160px; height: 10px;
  background: linear-gradient(to right, #2a3a1a, #5a7a30, #a89040, #c8a96e, #f0d090);
  border-radius: 1px;
}
.legend-range { font-size: 11px; color: var(--muted); }

.country-pills {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 32px;
}
.country-pill {
  display: flex; align-items: center; gap: 8px;
  background: var(--surface2);
  border: 1px solid var(--border);
  padding: 8px 16px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 12px; font-weight: 500;
  color: var(--text);
  font-family: var(--sans);
}
.country-pill:hover, .country-pill.active {
  border-color: var(--accent);
  background: rgba(200,169,110,0.08);
  color: var(--accent);
}

.country-panel {
  margin-top: 40px; display: none;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  padding: 32px 36px;
  animation: fadeIn 0.3s ease;
}
.country-panel.visible { display: block; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}
.panel-flag { font-size: 40px; margin-bottom: 14px; }
.panel-country {
  font-family: var(--serif);
  font-size: 28px; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.panel-meta {
  font-size: 11px; color: var(--accent);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 18px;
}
.panel-desc {
  font-size: 14px; color: var(--muted);
  line-height: 1.75; margin-bottom: 24px;
  max-width: 640px;
}
.panel-interviews { display: flex; flex-direction: column; gap: 12px; }
.panel-interview-link {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}
.panel-interview-link:hover { border-color: var(--accent); }
.panel-interview-arrow {
  color: var(--accent); font-size: 16px;
  flex-shrink: 0; margin-top: 1px;
}
.panel-interview-title {
  font-family: var(--serif);
  font-size: 15px; color: var(--text);
  line-height: 1.4; transition: color 0.2s;
}
.panel-interview-link:hover .panel-interview-title { color: var(--accent); }
.panel-interview-date {
  font-size: 11px; color: var(--muted);
  margin-top: 4px;
}
.panel-close {
  float: right; background: none; border: none;
  color: var(--muted); font-size: 18px;
  cursor: pointer; transition: color 0.2s;
}
.panel-close:hover { color: var(--white); }

.readers-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 32px; align-items: start;
}
.readers-sidebar-title {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.readers-rank-list { list-style: none; }
.readers-rank-item {
  display: flex; align-items: center; gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
}
.rank-num {
  font-family: var(--serif);
  font-size: 13px; font-weight: 700;
  color: var(--border); width: 20px;
  flex-shrink: 0; text-align: right;
}
.rank-country { font-size: 13px; color: var(--text); flex: 1; }
.rank-bar-wrap {
  width: 60px; height: 3px;
  background: var(--border);
  border-radius: 2px; overflow: hidden;
}
.rank-bar { height: 100%; background: var(--accent); border-radius: 2px; }
.rank-count {
  font-size: 11px; color: var(--accent);
  font-weight: 600; width: 30px;
  text-align: right; flex-shrink: 0;
}

/* ================================================================
   ABOUT — MISSION/VISION/VALUES
   ================================================================ */
.about-section {
  max-width: 1280px; margin: 0 auto;
  padding: 80px 40px;
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 80px;
}
.mvv-card {
  background: var(--bg);
  padding: 48px 40px;
  position: relative; overflow: hidden;
}
.mvv-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.4s ease;
}
.mvv-card:hover::before { transform: scaleX(1); }
.mvv-icon { font-size: 32px; margin-bottom: 20px; }
.mvv-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.mvv-title {
  font-family: var(--serif);
  font-size: 22px; font-weight: 700;
  color: var(--white); margin-bottom: 16px;
  line-height: 1.3;
}
.mvv-text {
  font-size: 14px; color: var(--muted);
  line-height: 1.8;
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  margin-bottom: 80px; padding-bottom: 80px;
  border-bottom: 1px solid var(--border);
}
.story-text .eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.story-text h2 {
  font-family: var(--serif);
  font-size: 38px; font-weight: 700;
  color: var(--white); line-height: 1.2;
  margin-bottom: 24px;
}
.story-text h2 em { color: var(--accent); font-style: italic; }
.story-text p {
  font-size: 15px; color: var(--muted);
  line-height: 1.85; margin-bottom: 18px;
}
.quote-block {
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 36px 40px;
  position: relative;
}
.quote-mark {
  font-family: var(--serif);
  font-size: 80px; font-weight: 900;
  color: var(--accent); opacity: 0.15;
  position: absolute; top: 10px; left: 20px;
  line-height: 1;
}
.quote-text {
  font-family: var(--serif);
  font-size: 22px; font-style: italic;
  color: var(--white); line-height: 1.55;
  position: relative; z-index: 1;
}
.quote-author {
  font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent);
  margin-top: 22px;
}

.join-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 40px;
  text-align: center;
}
.join-title {
  font-family: var(--serif);
  font-size: 46px; font-weight: 700;
  color: var(--white); margin: 20px 0 16px;
}
.join-title em { color: var(--accent); font-style: italic; }
.join-sub {
  font-size: 16px; color: var(--muted);
  max-width: 520px; margin: 0 auto 60px;
  line-height: 1.7;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px; margin: 0 auto 56px;
  text-align: left;
}
.step {
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--bg);
  transition: border-color 0.2s;
}
.step:hover { border-color: var(--accent); }
.step-num {
  font-family: var(--serif);
  font-size: 56px; font-weight: 900;
  color: var(--border);
  line-height: 1; margin-bottom: 16px;
  transition: color 0.2s;
}
.step:hover .step-num { color: rgba(200,169,110,0.25); }
.step-title {
  font-family: var(--serif);
  font-size: 18px; font-weight: 700;
  color: var(--white); margin-bottom: 10px;
}
.step-text {
  font-size: 13px; color: var(--muted);
  line-height: 1.75;
}
.join-cta {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}

/* ================================================================
   SINGLE POST / INTERVIEW
   ================================================================ */
.single-wrap {
  max-width: 760px; margin: 0 auto;
  padding: 60px 40px 80px;
}
.single-meta-top {
  text-align: center; margin-bottom: 28px;
}
.single-category {
  display: inline-block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent2); margin-bottom: 18px;
}
.single-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.4vw, 52px);
  font-weight: 900; line-height: 1.15;
  color: var(--white);
  margin-bottom: 22px;
  text-align: center;
}
.single-meta {
  display: flex; justify-content: center;
  gap: 28px; flex-wrap: wrap;
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--muted);
  margin-bottom: 50px;
}
.single-meta span { display: inline-flex; align-items: center; gap: 8px; }
.single-meta strong { color: var(--accent); font-weight: 600; }
.single-featured {
  margin: 0 -40px 50px; max-height: 480px; overflow: hidden;
}
.single-featured img {
  width: 100%; height: 100%; object-fit: cover;
}
.single-content {
  font-size: 17px; line-height: 1.85;
  color: var(--text);
}
.single-content p { margin-bottom: 1.4em; }
.single-content h2,
.single-content h3,
.single-content h4 {
  font-family: var(--serif);
  color: var(--white);
  margin-top: 1.8em; margin-bottom: 0.6em;
  line-height: 1.25;
}
.single-content h2 { font-size: 30px; }
.single-content h3 { font-size: 24px; }
.single-content h4 { font-size: 20px; }
.single-content a {
  color: var(--accent);
  border-bottom: 1px solid rgba(200,169,110,0.3);
  transition: border-color 0.2s;
}
.single-content a:hover { border-bottom-color: var(--accent); }
.single-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 8px 0 8px 28px;
  margin: 1.8em 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--white);
  line-height: 1.5;
}
.single-content ul,
.single-content ol { margin: 1.2em 0 1.4em 1.6em; }
.single-content li { margin-bottom: 0.6em; }
.single-content img,
.single-content figure { margin: 1.8em 0; }
.single-content figcaption {
  font-size: 12px; color: var(--muted);
  text-align: center; margin-top: 8px;
}
.single-content code {
  background: var(--surface);
  padding: 2px 6px; border-radius: 2px;
  font-size: 0.92em;
}
.single-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 20px; overflow-x: auto;
  margin: 1.8em 0;
  font-size: 14px;
}

.single-tags {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex; flex-wrap: wrap; gap: 10px;
  align-items: center;
}
.single-tags-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-right: 8px;
}
.single-tag {
  display: inline-block;
  padding: 6px 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 11px; letter-spacing: 0.08em;
  color: var(--text);
  transition: border-color 0.2s, color 0.2s;
}
.single-tag:hover { border-color: var(--accent); color: var(--accent); }

.single-share {
  margin-top: 36px; padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  gap: 16px; flex-wrap: wrap;
}
.single-share-label {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-right: 8px;
}
.single-share a {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--muted); transition: border-color 0.2s, color 0.2s;
}
.single-share a:hover { border-color: var(--accent); color: var(--accent); }
.single-share a svg { width: 14px; height: 14px; }

.single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 50px;
}
.single-nav-link {
  border: 1px solid var(--border);
  padding: 22px 24px;
  transition: border-color 0.2s;
}
.single-nav-link:hover { border-color: var(--accent); }
.single-nav-direction {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
}
.single-nav-title {
  font-family: var(--serif);
  font-size: 16px; line-height: 1.4;
  color: var(--text);
}
.single-nav-link:hover .single-nav-title { color: var(--white); }
.single-nav-link.next { text-align: right; }

.related-posts {
  background: var(--surface);
  padding: 70px 40px;
  border-top: 1px solid var(--border);
}
.related-posts-inner {
  max-width: 1280px; margin: 0 auto;
}

/* ================================================================
   ARCHIVE / CATEGORY
   ================================================================ */
.archive-header {
  padding: 80px 40px 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.archive-eyebrow {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 16px;
}
.archive-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 900;
  color: var(--white); margin-bottom: 16px;
}
.archive-desc {
  font-size: 15px; color: var(--muted);
  max-width: 640px; margin: 0 auto;
  line-height: 1.7;
}

.pagination {
  display: flex; justify-content: center;
  gap: 8px; margin-top: 60px;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center; justify-content: center;
  min-width: 40px; height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  font-size: 13px; color: var(--muted);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.pagination .page-numbers:hover {
  border-color: var(--accent); color: var(--accent);
}
.pagination .page-numbers.current {
  background: var(--accent); color: var(--bg);
  border-color: var(--accent);
}

/* ================================================================
   COMMENTS
   ================================================================ */
.comments-area {
  max-width: 760px; margin: 0 auto;
  padding: 60px 40px;
  border-top: 1px solid var(--border);
}
.comments-title {
  font-family: var(--serif);
  font-size: 26px; font-weight: 700;
  color: var(--white); margin-bottom: 30px;
}
.comment-list { list-style: none; padding: 0; }
.comment-list li {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}
.comment-author {
  font-family: var(--serif);
  font-size: 16px; font-weight: 700;
  color: var(--white); margin-bottom: 4px;
}
.comment-meta {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 14px;
}
.comment-content { color: var(--text); font-size: 15px; line-height: 1.75; }
.comment-respond {
  margin-top: 40px; padding: 30px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.comment-form input,
.comment-form textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans); font-size: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus,
.comment-form textarea:focus { outline: none; border-color: var(--accent); }

/* ================================================================
   404 / SEARCH
   ================================================================ */
.error-404, .search-empty {
  max-width: 700px; margin: 0 auto;
  padding: 100px 40px; text-align: center;
}
.error-404 .big-num {
  font-family: var(--serif);
  font-size: 160px; font-weight: 900;
  color: var(--accent); line-height: 1;
  margin-bottom: 20px;
}
.search-form {
  display: flex; gap: 0;
  max-width: 480px; margin: 30px auto 0;
}
.search-form input {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--sans); font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s;
}
.search-form input:focus { border-color: var(--accent); }
.search-form button {
  background: var(--accent); color: var(--bg);
  border: none;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 0 24px; cursor: pointer;
  transition: background 0.2s;
}
.search-form button:hover { background: var(--white); }

/* ================================================================
   FOOTER
   ================================================================ */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 60px 40px 32px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 50px;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 30px; font-weight: 900;
  color: var(--white); margin-bottom: 14px;
}
.footer-logo span { color: var(--accent); }
.footer-desc {
  font-size: 13px; color: var(--muted);
  line-height: 1.7; margin-bottom: 20px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-social a svg { width: 15px; height: 15px; }

.footer-col h4 {
  font-size: 9px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 13px; color: var(--muted);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between;
  align-items: center;
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.06em;
}

/* ================================================================
   READING IMPROVEMENTS (single posts)
   ================================================================ */
/* Reading progress bar — sticky on top while reading */
.reading-progress {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: transparent;
  z-index: 1000;
  pointer-events: none;
}
.reading-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent) 0%, #e8c98e 100%);
  transition: width 0.1s linear;
  box-shadow: 0 0 8px rgba(200,169,110,0.4);
}

/* Drop cap — opt-in. Add class "has-drop-cap" to any paragraph block
   in the editor (Block menu → Advanced → Additional CSS class) and the
   first letter will get the editorial drop-cap treatment.
   No longer applied automatically since interview formats vary. */
.single-content p.has-drop-cap::first-letter,
.single-content p.drop-cap::first-letter {
  font-family: var(--serif);
  font-weight: 900;
  float: left;
  font-size: 5.4em;
  line-height: 0.85;
  margin: 0.08em 0.12em 0 -0.05em;
  color: var(--accent);
}

/* Q & A formatting — apply class .qa-q to your question paragraph
   and .qa-a to your answer paragraph in the editor for cleaner display.
   These classes are OPT-IN — they only style paragraphs that explicitly
   have them, so normal interview formatting (e.g. "Hasan:" with bold)
   is unaffected. */
.single-content p.qa-q,
.single-content p[class*="qa-q"] {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1em;
  color: var(--white);
  margin-top: 2.2em;
  padding-left: 22px;
  border-left: 3px solid var(--accent);
}
.single-content p.qa-a,
.single-content p[class*="qa-a"] {
  padding-left: 22px;
  margin-bottom: 1.4em;
  color: var(--text);
}

/* Pull quote — apply class .pull-quote to a blockquote for full-width emphasis */
.single-content blockquote.pull-quote,
.single-content blockquote.is-style-large {
  border-left: none;
  font-size: 28px;
  text-align: center;
  padding: 40px 20px;
  margin: 2.4em -20px;
  position: relative;
  background: var(--surface);
}
.single-content blockquote.pull-quote::before,
.single-content blockquote.is-style-large::before {
  content: '"';
  font-family: var(--serif);
  font-size: 80px;
  color: var(--accent);
  opacity: 0.25;
  display: block;
  line-height: 0.5;
  margin-bottom: 14px;
}

/* Wider, more readable interview body */
.single-content.is-interview {
  font-size: 18px;
  line-height: 1.95;
}

/* AUTHOR BIO CARD (end of post) */
.author-bio-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  margin-top: 50px;
  padding: 28px 30px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
}
.author-bio-avatar img {
  border-radius: 50%;
  width: 80px; height: 80px;
  display: block;
}
.author-bio-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 4px;
}
.author-bio-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
  transition: color 0.2s;
}
.author-bio-name:hover { color: var(--accent); }
.author-bio-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.author-bio-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  transition: gap 0.2s;
}
.author-bio-link:hover { color: var(--white); }

/* AUTHOR ARCHIVE PAGE */
.author-header {
  padding: 80px 40px 50px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.author-header-inner {
  max-width: 720px;
  margin: 0 auto;
}
.author-avatar-wrap {
  width: 140px; height: 140px;
  margin: 0 auto 24px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  padding: 6px;
}
.author-avatar-wrap img,
.author-avatar {
  width: 100%; height: 100%;
  border-radius: 50%;
  display: block;
}
.author-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.author-name {
  font-family: var(--serif);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.1;
}
.author-bio {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 600px;
  margin: 0 auto 20px;
}
.author-meta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.author-meta a {
  color: var(--accent);
  transition: color 0.2s;
}
.author-meta a:hover { color: var(--white); }
.author-meta strong {
  color: var(--white);
  font-weight: 700;
}

/* Avatar in author byline (single post sidebar, etc.) */
.byline-avatar img {
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 8px;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-sidebar { display: none; }
  .interviews-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .readers-layout { grid-template-columns: 1fr; }
  .mvv-grid { grid-template-columns: 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; max-width: 440px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .topbar, header.site-header { padding: 12px 20px; }
  .header-nav { display: none; }
  /* Show the hamburger button on mobile only */
  .mobile-menu-toggle { display: inline-flex; }
  /* Grid: [hamburger] [logo center] [contact right] */
  header.site-header {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  .site-brand { justify-content: center; }
  .header-right { gap: 10px; }
  .header-quiz-link { display: none; } /* hamburger handles Quiz now */
  .btn-outline { padding: 7px 14px; font-size: 9px; }
  .logo-wordmark { font-size: 22px; letter-spacing: 0.18em; }
  .footer-wordmark { font-size: 18px; }
  .interviews-grid { grid-template-columns: 1fr; }
  .featured-wide { grid-template-columns: 1fr; }
  .featured-wide-image { height: 240px; }
  .main-wrap { padding: 40px 20px; }
  .site-footer { padding: 40px 20px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .about-hero { padding: 60px 20px; }
  .map-section, .about-section, .join-section { padding-left: 20px; padding-right: 20px; }
  .stats-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-num { font-size: 38px; }
  .topbar-social a span { display: none; }
  .single-wrap, .comments-area { padding: 40px 20px; }
  .single-featured { margin: 0 -20px 40px; }
  .single-nav { grid-template-columns: 1fr; }
  .archive-header, .author-header { padding: 60px 20px 40px; }
  .tags-strip { padding: 18px 20px; }
  .author-bio-card { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .author-bio-card .author-bio-avatar { display: flex; justify-content: center; }
  .single-content.is-interview { font-size: 16px; line-height: 1.85; }
}
