/* ── Reset & base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 18px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  color: #1a1a1a;
  background: #fafaf8;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

img { max-width: 100%; height: auto; display: block; }
a { color: #8b2500; text-decoration: underline; }
a:hover { color: #c43400; }
.site-header a, .dest-nav-btn a, .image-bar a { color: #fff; text-decoration: none; }
.site-header a:hover, .dest-nav-btn a:hover, .image-bar a:hover { color: #fff; }

/* ── Layout ───────────────────────────────────────────────────────────────── */
.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.main-content {
  position: relative;
}
.ad-sidebar {
  position: absolute;
  top: 0;
  left: calc(50% + 410px);
  width: 300px;
}
@media (max-width: 1140px) {
  .ad-sidebar { display: none; }
}

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  background: #1a1a1a;
  padding: 0.2rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.4rem);
  max-width: calc(780px - 2.4rem);
  height: 8px;
  border-radius: 4px;
  background: #8b2500;
  clip-path: inset(0 calc(100% - var(--progress, 0%)) 0 0 round 4px);
  transition: clip-path 0.3s;
}

.site-logo {
  font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  position: relative;
  top: 3px;
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

/* ── Header next button ───────────────────────────────────────────────────── */
/* ── Header next button (generic, used by photo essay / quiz) ─────────────── */
.header-next-btn {
  margin-left: auto;
  flex-shrink: 0;
  display: inline-block;
  background: #8b2500;
  color: #fff;
  text-decoration: none;
  padding: 0.35rem 0.9rem;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: filter 0.15s;
}

/* ── Destination nav button ───────────────────────────────────────────────── */
.dest-nav-btn {
  flex-shrink: 0;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
}

.dest-nav-arrow { font-size: 1.1rem; line-height: 0; position: relative; top: 1px; }

.dest-nav-btn a {
  display: inline-block;
  padding: 0.175rem 0.56rem 0.175rem 0.7rem;
  background: #8b2500;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: filter 0.15s;
  position: relative;
}
.dest-nav-btn a:hover { filter: brightness(1.2); }

.dest-nav-empty {
  color: rgba(255,255,255,0.3);
  pointer-events: none;
}

/* Tooltip — appears to the right */
.dest-nav-btn a[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: calc(100% + 6px);
  background: rgba(0,0,0,0.82);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 0.28rem 0.55rem;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s;
  z-index: 100;
}
.dest-nav-btn a[data-tooltip]:hover::after { opacity: 1; }

.hero-image,
.inline-image,
.photo-essay-image {
  -webkit-user-drag: none;
}

/* ── Search ───────────────────────────────────────────────────────────────── */
.search-box { position: relative; flex-shrink: 0; margin-left: auto; margin-right: 0.5rem; }
.search-toggle {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem;
  line-height: 1;
  position: relative;
  top: 2px;
}
.search-input {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  width: 220px;
  margin-top: 0.35rem;
  padding: 0.45rem 0.65rem;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  outline: none;
}
.search-input::placeholder { color: #999; }
.search-active .search-input { display: block; }
.search-chat-mode .search-input { display: none; }
.search-chat-mode .search-results { display: none; }
.search-chat-mode ~ .main-content #curate-toolbar,
body:has(.search-chat-mode) #curate-toolbar { display: none; }
.search-results {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 2.2rem);
  width: 220px;
  list-style: none;
  background: #333;
  border: 1px solid #555;
  border-top: none;
  border-radius: 0 0 4px 4px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 200;
}
.search-active .search-results:not(:empty) { display: block; }
.search-results li a {
  display: block;
  padding: 0.3rem 0.65rem;
  color: #fff;
  text-decoration: none;
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  line-height: 1.1;
}
.search-results li + li { border-top: 1px solid #444; }
.search-results li a:hover,
.search-results li a.search-highlight {
  background: #8b2500;
}
.search-results li .search-name {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-results li .search-detail {
  font-size: 0.7rem;
  color: #aaa;
}
.search-results li .search-topic {
  display: block;
  font-size: 0.68rem;
  color: #888;
  line-height: 1;
}
.search-results li a:hover .search-detail,
.search-results li a.search-highlight .search-detail,
.search-results li a:hover .search-topic,
.search-results li a.search-highlight .search-topic { color: #ddd; }
.search-chat {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 0.35rem;
  width: min(600px, 90vw);
  max-height: 70vh;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 6px;
  z-index: 200;
  flex-direction: column;
}
.search-chat-mode .search-chat { display: flex; }
.search-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 0.5rem;
  max-height: 55vh;
}
.search-chat-user {
  padding: 0.4rem 0.65rem;
  margin: 0.25rem 0;
  background: #333;
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
}
.search-chat-reply {
  padding: 0.4rem 0.65rem;
  margin: 0.25rem 0;
  color: #ddd;
  font-size: 0.9rem;
  line-height: 1.6;
}
.search-chat-reply a { color: #d4a017; }
.search-chat-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4em 0;
  font-size: 0.78rem;
}
.search-chat-table th,
.search-chat-table td {
  padding: 0.3rem 0.5rem;
  border: 1px solid #444;
  text-align: left;
}
.search-chat-table th {
  background: #333;
  font-weight: 600;
  color: #fff;
}
.search-chat-table td {
  color: #ccc;
}
.search-chat-reply code {
  background: #333;
  padding: 0.1em 0.3em;
  border-radius: 3px;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 0.75rem;
}
.search-chat-code {
  background: #2a2a2a;
  border: 1px solid #444;
  border-radius: 4px;
  padding: 0.5rem 0.65rem;
  margin: 0.4em 0;
  font-family: ui-monospace, 'SF Mono', monospace;
  font-size: 0.72rem;
  line-height: 1.5;
  overflow-x: auto;
  white-space: pre;
  color: #ccc;
}
.search-chat-thinking {
  padding: 0.4rem 0.65rem;
  color: #999;
  font-size: 0.8rem;
}
.search-chat-input-row {
  display: flex;
  border-top: 1px solid #444;
  padding: 0.4rem;
  gap: 0.3rem;
}
.search-chat-input {
  flex: 1;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 0.4rem 0.6rem;
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  outline: none;
}
.search-chat-input::placeholder { color: #999; }
.search-chat-send {
  background: #8b2500;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.4rem 0.7rem;
  font-size: 0.8rem;
  cursor: pointer;
}
.search-chat-send:disabled { opacity: 0.5; cursor: default; }

/* ── Breadcrumbs ──────────────────────────────────────────────────────────── */
.breadcrumbs { flex: 1; min-width: 0; overflow: hidden; position: relative; margin-left: -1rem; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  gap: 0.2rem;
  font-size: 0.78rem;
  font-family: system-ui, sans-serif;
  color: #fff;
  flex-wrap: nowrap;
}
.breadcrumbs li { white-space: nowrap; flex-shrink: 0; }
.breadcrumbs li + li::before { content: "›"; }
.breadcrumbs a { color: #fff; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs.overflow::before {
  content: "\2026";
  position: sticky;
  left: 0;
  float: left;
  background: #1a1a1a;
  padding-right: 0;
  font-size: 0.78rem;
  color: #fff;
  z-index: 1;
}

/* ── Main content ─────────────────────────────────────────────────────────── */
.main-content { padding: 0.7rem 0 3rem; min-height: 100vh; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.image-block {
  position: relative;
  margin-bottom: 1.75rem;
  -webkit-tap-highlight-color: transparent;
}

.hero-image {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.inline-image {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.image-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #000;
  color: #fff;
  padding: 0.5rem 0.75rem;
  font-family: system-ui, sans-serif;
  border-radius: 0 0 4px 4px;
}

.image-bar-text {
  flex: 1;
  min-width: 0;
}

.image-bar-desc {
  display: block;
  font-size: 0.85rem;
}

.image-bar-credit {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.5);
  margin-top: 0.15rem;
}
.image-bar-credit a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.image-bar-credit a:hover { color: #fff; }


.hero-info {
  margin-bottom: 1.5rem;
}

.page-header {
  margin-bottom: 0.4rem;
}

.page-title {
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 0.2rem;
}

.page-tagline {
  font-size: 1rem;
  font-style: italic;
  color: #444;
}

.hero-country {
  font-family: system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
}

/* ── Article body ─────────────────────────────────────────────────────────── */
.article-body p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}


/* ── Byline ───────────────────────────────────────────────────────────────── */
.byline {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.3rem;
}

/* ── Further Reading ──────────────────────────────────────────────────────── */
.further-reading {
  flex-basis: 100%;
  border-top: 1px solid #e0d8cc;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  font-size: 1rem;
}
.further-reading ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.further-reading li {
  padding: 0.15rem 0;
}
.further-reading a {
  color: #8b2500;
}

/* ── People list ──────────────────────────────────────────────────────────── */
.people-list { padding-top: 0.5rem; }
.people-list h2 { margin-top: 0; }
.people-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.people-list .who-item {
  padding: 0.5rem 0;
  line-height: 1.4;
  border-top: 1px solid #e0d8cc;
}
.people-list .who-item:first-child { border-top: none; }
.people-list .who-row-link,
.people-list .who-item--no-photo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}
.people-list .who-row-link { border-radius: 6px; }
.people-list .who-row-link:hover { background: rgba(0,0,0,0.035); }
.people-list .who-row-link:hover strong { color: #8b2500; }
.people-list .who-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  flex: 0 0 auto;
}
.people-list .who-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
}
.people-list .who-text { flex: 1 1 auto; }
.people-list .who-item strong { color: #1a1a1a; }
.people-list .people-hook {
  color: #555;
  font-size: 0.92em;
}
.people-list .who-item--no-photo .who-text { opacity: 0.88; }
.person-sentence.person-highlighted {
  animation: person-highlight 4s ease;
  border-radius: 3px;
}
@keyframes person-highlight {
  0%, 30% { background: #f0d8b8; }
  100% { background: transparent; }
}

/* ── CTA section ──────────────────────────────────────────────────────────── */
.cta-section {
  background: #f5f0e8;
  border-left: 4px solid #8b2500;
  padding: 1.5rem;
  margin: 2.5rem 0;
  border-radius: 0 4px 4px 0;
  text-align: left;
}

.cta-slim {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.cta-slim h2 {
  margin: 0;
  flex: 1;
}
.cta-slim .cta-slim-buttons {
  display: flex;
  gap: 0.5rem;
}

.cta-section h2 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.cta-row {
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
  gap: 1rem;
  padding: 0.75rem 0;
  border-top: 1px solid #ddd6c8;
}

.cta-row p {
  font-size: 1rem;
  margin: 0;
  flex: 1;
}

.cta-row .btn-primary {
  float: right;
  margin-left: 1rem;
  min-width: 10rem;
  text-align: center;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: #8b2500;
  color: #fff;
  text-decoration: none;
  padding: 0.7rem 1.1rem;
  min-width: 7.5rem;
  text-align: center;
  white-space: nowrap;
  border-radius: 4px;
  font-family: system-ui, sans-serif;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: filter 0.15s;
}
a.btn-primary { color: #fff; text-decoration: none; }
a.btn-primary:hover { color: #fff; }
.btn-primary:hover { filter: brightness(1.2); }


/* ── Navigation ───────────────────────────────────────────────────────────── */
.page-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e0e0e0;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-prev, .nav-next {
  font-family: system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #8b2500;
  padding: 0.5rem 0;
}
.nav-prev:hover, .nav-next:hover { color: #a82c00; }

/* ── Photo Essay ──────────────────────────────────────────────────────────── */
.photo-essay-page {
  position: relative;
}
@view-transition { navigation: auto; }
img.hero-image,
img.photo-essay-image {
  background: #000;
}
.photo-essay-page .image-block {
  min-height: 55vh;
}

.up-next {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  opacity: 0;
  animation: up-next 5s ease 0.8s;
  pointer-events: none;
}
.up-next-label { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.7); }
.up-next-name { font-size: 1rem; font-weight: 600; }
@keyframes up-next { 6%,70% { opacity: 1; } }

.photo-progress {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  color: #888;
}

.progress-bar {
  flex: 1;
  height: 4px;
  background: #e0e0e0;
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #8b2500;
  transition: width 0.3s ease;
}


.photo-essay-image {
  display: block;
  width: 100%;
  border-radius: 4px 4px 0 0;
}

.photo-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}

.photo-counter {
  font-family: system-ui, sans-serif;
  font-size: 0.85rem;
  color: #888;
}

.photo-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.photo-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d0d0d0;
  text-decoration: none;
  transition: background 0.15s;
}
.photo-dot:hover { background: #aaa; }
.photo-dot.active { background: #8b2500; }

/* ── Quiz ─────────────────────────────────────────────────────────────────── */


.quiz-idle {
  text-align: center;
  padding: 2rem 0;
}

.quiz-intro {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.quiz-start-btn {
  font-size: 1rem;
  padding: 0.9rem 2.2rem;
}

.quiz-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-family: system-ui, sans-serif;
  font-size: 0.82rem;
  color: #888;
}

.quiz-difficulty {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
.quiz-difficulty--easy   { background: #e8f5e9; color: #2e7d32; }
.quiz-difficulty--medium { background: #fff3e0; color: #e65100; }
.quiz-difficulty--hard   { background: #fce4ec; color: #c62828; }

.quiz-question {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

.quiz-options {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.quiz-option-btn {
  width: 100%;
  text-align: left;
  padding: 0.8rem 1rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  background: #fff;
  font-family: Georgia, serif;
  font-size: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.quiz-option-btn:hover:not(:disabled) {
  border-color: #8b2500;
  background: #fdf5f3;
}
.quiz-option-btn.correct {
  border-color: #2e7d32;
  background: #e8f5e9;
}
.quiz-option-btn.wrong {
  border-color: #c62828;
  background: #fce4ec;
}
.quiz-option-btn:disabled { cursor: default; }

.quiz-explanation {
  background: #f5f5f5;
  border-left: 4px solid #8b2500;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0 1rem;
  font-size: 0.92rem;
  color: #333;
  border-radius: 0 4px 4px 0;
  overflow: hidden;
}
.quiz-next-btn { float: right; margin-left: 1rem; }

.quiz-results {
  text-align: center;
  padding: 2rem 0;
}
.quiz-results .cta-section { margin-bottom: 0; }

.results-title {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.results-score {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.score-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a1a1a;
}

.score-verdict {
  font-family: system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
}
.verdict--poor   { background: #fce4ec; color: #c62828; }
.verdict--ok     { background: #fff3e0; color: #e65100; }
.verdict--good   { background: #e8f5e9; color: #2e7d32; }
.verdict--expert { background: #e3f2fd; color: #1565c0; }

.results-pct {
  font-size: 1rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.results-actions { display: flex; justify-content: center; }

/* ── Index page ───────────────────────────────────────────────────────────── */
.index-header {
  margin-bottom: 0.3rem;
}

.index-header h1 {
  font-size: 1.6rem;
  line-height: 1.15;
  margin-bottom: 0.4rem;
}

.index-lead {
  font-size: 1rem;
  color: #444;
  font-style: italic;
}

.destination-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.destination-card {
  border-bottom: 1px solid #eee;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0;
  border-left: 4px solid transparent;
  transition: background 0.1s;
  position: relative;
  cursor: pointer;
}
.card-link:hover { background: #f5f0e8; border-left-color: #8b2500; }

.card-main-link {
  color: inherit;
  text-decoration: none;
}
.card-main-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}
.card-link:has(.card-main-link:hover) { background: #f5f0e8; border-left-color: #8b2500; }
[data-curate-status="pending"] .card-link { background: rgba(128,128,128,0.1); }
[data-curate-status="pending"] .card-link:hover { background: rgba(128,128,128,0.18); }
[data-curate-status="rejected"] .card-link { background: #f5e8e8; }
[data-curate-status="rejected"] .card-link:hover { background: #f0dada; }

.card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex-shrink: 0;
}

.card-thumb {
  flex-shrink: 0;
  width: 160px;
  height: 107px;
  border-radius: 4px;
  overflow: hidden;
  background: #e8e8e8;
}

.card-thumb img {
  width: 160px;
  height: 107px;
  object-fit: cover;
  display: block;
}

.card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0ebe3;
}

.card-rank {
  font-family: system-ui, sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #8b2500;
}

.card-text { flex: 1; min-width: 0; }

.card-topic {
  display: block;
  font-size: 0.65rem;
  font-family: Georgia, serif;
  color: #8b2500;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  position: relative;
  z-index: 2;
  margin-bottom: 0.2rem;
  line-height: 1.4;
}

.card-topic:hover { text-decoration: underline; }

.card-dateline {
  position: absolute;
  bottom: 0.4rem;
  right: 0.5rem;
  font-family: Georgia, serif;
  font-size: 0.65rem;
  color: #666;
  white-space: nowrap;
}


.card-name {
  font-size: 1.43rem;
  font-weight: normal;
  line-height: 1.2;
}

.card-country {
  font-family: system-ui, sans-serif;
  font-size: 0.83rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b2500;
}

.card-tagline {
  display: block;
  font-size: 0.875rem;
  color: #555;
  font-style: italic;
  margin-top: 0.2rem;
}
.card-byline {
  font-size: 0.75rem;
  color: #888;
  font-style: normal;
  margin-top: 0.2rem;
}
.home-section {
  margin-bottom: 2.5rem;
}
.home-section + .home-section .index-header {
  border-top: 2px solid #1a1a1a;
  padding-top: 1.5rem;
  margin-top: 0.2rem;
}

.card-arrow {
  display: none;
}

/* ── Privacy page ─────────────────────────────────────────────────────────── */
.privacy-page h1 { font-size: 2rem; margin-bottom: 0.25rem; }
.privacy-page h2 { font-size: 1.2rem; margin: 1.75rem 0 0.4rem; }
.privacy-page p, .privacy-page li { font-size: 1rem; margin-bottom: 0.75rem; }
.privacy-page ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.privacy-date { color: #888; font-family: system-ui, sans-serif; font-size: 0.85rem; margin-bottom: 1.5rem; }

/* ── Carousel (home + topic index) ────────────────────────────────────────── */
.carousel {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 6px;
  overflow: hidden;
}
.carousel[data-carousel] { opacity: 0; }
.carousel.carousel-ready { opacity: 1; }
.carousel-slide {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-decoration: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.carousel-slide.carousel-active {
  display: block;
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.carousel-slide.carousel-next {
  display: block;
}
.carousel-slide.carousel-dragging {
  position: absolute;
  z-index: 2;
  pointer-events: auto;
}
.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.carousel-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1rem 0.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.site-footer {
  background: #1a1a1a;
  color: #999;
  padding: 0.75rem 0;
  font-family: system-ui, sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

.site-footer p { margin-bottom: 0; }
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 600px) {
  html { font-size: 16px; }

  /* Header */
  .site-header .container { gap: 0; flex-wrap: wrap; }
  .site-logo { margin-left: -0.4rem; }
  .header-next-btn { padding: 0.3rem 0.7rem; font-size: 0.78rem; }

  /* Breadcrumbs — push to second row below logo + nav button, wrap freely */
  .breadcrumbs { order: 3; flex-basis: 100%; margin-top: -0.3rem; }
  .site-header .dest-nav-btn { order: 2; }

  /* Search */
  .search-box { order: 2; margin-right: 0; z-index: 201; }
  .search-input, .search-results { width: 180px; }
  .search-chat { width: 90vw; right: auto; left: 50%; transform: translateX(-50%); position: fixed; top: 3.5rem; }

  /* Hero */
  .page-title { font-size: 1.35rem; }
  .page-tagline { font-size: 0.9rem; }

  /* Index cards */
  .index-header h1 { font-size: 1.35rem; }
  .card-name { font-size: 1.15rem; }
  .card-tagline { display: none; }
  .card-text--long-title { padding-bottom: 1.3rem; }
  .card-topic { padding: 0 0.5rem 0 0; margin-bottom: 0.15rem; }

  /* Photo essay */
  .photo-counter { display: none; }

  /* Quiz */
  .quiz-question { font-size: 1rem; }
  .quiz-option-btn { padding: 0.65rem 0.8rem; font-size: 1rem; }

  /* CTA */
  .cta-slim { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cta-slim .cta-slim-buttons { width: 100%; }
  .cta-slim .cta-slim-buttons .btn-primary { width: 100%; text-align: center; }

}
