/* ============================================================================
   Travelmate — Unified Stylesheet
   ============================================================================
   Shared across all pages (12 guides, index, imprint, privacy).
   
   Country-specific overrides (hero image, thead color) are set inline.
   Japan & South Korea keep supplementary component CSS inline.
   ============================================================================ */

/* ============================================================================
   GUIDE STYLES — System A (Vietnam Master)
   ============================================================================ */

:root {
 --vn-dark: #1E1520;
 --vn-navy: #2A2030;
 --vn-red: #DA251D;
 --vn-green: #059669;
 --vn-teal: #0D9488;
 --vn-blue: #2563EB;
 --vn-gold: #D4A017;
 --vn-orange: #F97316;
 --vn-sky: #0EA5E9;
 --vn-yellow: #EAB308;
 --vn-gray: #B7A89C;
 --vn-light: #F5EDE2;
 --vn-secondary: #D6C7B6;
 --vn-bg: #241A27;
 --vn-bg-alt: #2A2030;
 --vn-surface: #342838;
 --vn-surface-2: #403044;
 --vn-panel: #4B3A50;
 --vn-ink: #F8F0E7;
 --vn-muted: #CCBCAA;
 --vn-line: rgba(212,160,23,0.18);
 --vn-line-strong: rgba(212,160,23,0.34);
 --vn-shadow: 0 4px 20px rgba(8,5,10,0.3);
 --nav-width: 270px;
}
* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scrollbar-color: rgba(212,160,23,0.75) rgba(255,255,255,0.06); min-height: 100%; }
body {
 font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
 min-height: 100%;
 background:
  linear-gradient(180deg,
   #1a1225 0%,
   #2A2F38 12%,
   #28303A 25%,
   #2C3340 38%,
   #30353E 50%,
   #33342F 62%,
   #36332B 75%,
   #3A3228 88%,
   #3D3126 100%);
 color: var(--vn-ink);
 line-height: 1.65;
 font-size: 15px;
 overflow-x: hidden;
}
body::before {
 content: '';
 position: fixed;
 inset: 0;
 background:
  radial-gradient(ellipse at 15% 8%, rgba(140,160,190,0.06), transparent 40%),
  radial-gradient(ellipse at 85% 92%, rgba(160,130,90,0.06), transparent 40%);
 pointer-events: none;
 z-index: -1;
}
a { color: inherit; }
.menu-toggle {
 position: fixed;
 top: 18px;
 left: 18px;
 z-index: 220;
 width: 40px;
 height: 40px;
 border: 1px solid rgba(212,160,23,0.3);
 border-radius: 10px;
 background: linear-gradient(135deg, rgba(212,160,23,0.22), rgba(218,37,29,0.22));
 color: var(--vn-light);
 box-shadow: 0 4px 14px rgba(0,0,0,0.3);
 font-size: 17px;
 cursor: pointer;
 display: none;
 backdrop-filter: blur(10px);
}
.menu-toggle:hover { transform: translateY(-2px); }
.nav-scrim {
 position: fixed;
 inset: 0;
 background: rgba(16,10,16,0.64);
 opacity: 0;
 pointer-events: none;
 transition: opacity 0.3s ease;
 z-index: 120;
}
body.menu-open { overflow: hidden; }
body.menu-open .nav-scrim { opacity: 1; pointer-events: auto; }
.nav-sidebar {
 position: fixed;
 top: 0;
 left: 0;
 width: var(--nav-width);
 height: 100vh;
 background:
  radial-gradient(circle at top, rgba(212,160,23,0.12), transparent 26%),
  linear-gradient(180deg, #2C1822 0%, #241A27 30%, #2A2530 55%, #2E2D33 80%, #33342F 100%);
 border-right: 1px solid rgba(212,160,23,0.12);
 box-shadow: 4px 0 16px rgba(5,3,6,0.25);
 overflow-y: auto;
 z-index: 140;
 padding-bottom: 120px;
 transition: transform 0.35s ease;
}
.nav-sidebar::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, rgba(255,255,255,0.035), transparent 24%);
 pointer-events: none;
}
.nav-sidebar::-webkit-scrollbar { width: 3px; }
.nav-sidebar::-webkit-scrollbar-track { background: transparent; }
.nav-sidebar::-webkit-scrollbar-thumb {
 background: rgba(212,160,23,0.35);
 border-radius: 999px;
}
.nav-sidebar::-webkit-scrollbar-button { display: none; height: 0; }
.nav-sidebar { scrollbar-width: thin; scrollbar-color: rgba(212,160,23,0.35) transparent; }
.nav-logo {
 padding: 20px 18px 14px;
 border-bottom: 1px solid rgba(212,160,23,0.12);
 position: sticky;
 top: 0;
 background: linear-gradient(180deg, rgba(34,22,29,0.98), rgba(34,22,29,0.88));
 backdrop-filter: blur(14px);
 z-index: 2;
}
.nav-logo h2 {
 color: #fff;
 font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
 font-size: 22px;
 font-weight: 700;
 letter-spacing: 0.03em;
}
.nav-logo .subtitle {
 color: rgba(245,237,226,0.72);
 font-size: 11px;
 display: block;
 margin-top: 7px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
}
.nav-section { padding: 12px 0 4px; }
.nav-section-title {
 color: rgba(245,237,226,0.62);
 font-size: 10px;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.2em;
 padding: 8px 18px 4px;
}
.nav-item {
 display: block;
 color: rgba(245,237,226,0.76);
 text-decoration: none;
 padding: 7px 18px;
 font-size: 12.5px;
 border-left: 3px solid transparent;
 transition: all 0.25s ease;
 position: relative;
}
.nav-item:hover,
.nav-item.is-active {
 color: #fff;
 background: linear-gradient(90deg, rgba(218,37,29,0.18), rgba(212,160,23,0.08));
 border-left-color: var(--vn-gold);
 padding-left: 26px;
}
.main-content { margin-left: var(--nav-width); min-height: 100vh; }
.header {
 background:
  linear-gradient(135deg, rgba(43,45,51,0.96) 0%, rgba(42,47,56,0.94) 52%, rgba(48,53,62,0.92) 100%);
 color: #fff;
 padding: 44px 36px 36px;
 position: relative;
 overflow: hidden;
 border-bottom: 1px solid rgba(212,160,23,0.18);
}
.header::before {
 content: '';
 position: absolute;
 inset: 0;
 /* background: set per-country inline */
 opacity: 0.14;
 mix-blend-mode: screen;
}
.header::after {
 content: '';
 position: absolute;
 inset: auto -10% -30% 40%;
 height: 200px;
 background: radial-gradient(circle, rgba(212,160,23,0.28), transparent 62%);
 filter: blur(10px);
}
.header h1 {
 font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
 font-size: clamp(26px, 4vw, 38px);
 line-height: 1.08;
 font-weight: 700;
 letter-spacing: 0.02em;
 position: relative;
 z-index: 1;
 max-width: 780px;
 text-shadow: 0 10px 30px rgba(0,0,0,0.28);
}
.header p {
 font-size: 17px;
 color: rgba(255,244,231,0.88);
 margin-top: 12px;
 position: relative;
 z-index: 1;
 max-width: 760px;
}
.header .meta {
 margin-top: 22px;
 font-size: 12px;
 color: rgba(255,244,231,0.72);
 position: relative;
 z-index: 1;
 text-transform: uppercase;
 letter-spacing: 0.16em;
 display: flex;
 flex-wrap: wrap;
 gap: 12px 24px;
}
.container {
 max-width: 1240px;
 margin: 0 auto;
 padding: 24px 24px 34px;
 counter-reset: chapter;
}
.section {
 background: rgba(44,33,49,0.25);
 backdrop-filter: blur(6px);
 -webkit-backdrop-filter: blur(6px);
 border: 1px solid rgba(212,160,23,0.06);
 border-radius: 10px;
 box-shadow: var(--vn-shadow);
 margin-bottom: 20px;
 scroll-margin-top: 26px;
 overflow: hidden;
 position: relative;
}
.section::before {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(180deg, rgba(255,255,255,0.015), transparent 18%);
 pointer-events: none;
}
.section-header {
 color: var(--vn-light);
 padding: 12px 24px;
 display: flex;
 align-items: center;
 gap: 12px;
 position: relative;
 background: linear-gradient(135deg, #2C1822, #241A27);
 border-bottom: 1px solid rgba(212,160,23,0.06);
 overflow: hidden;
}
.section-header::before {
 counter-increment: chapter;
 content: "\2726\00a0" counter(chapter, decimal-leading-zero);
 font-size: 13px;
 font-weight: 500;
 color: var(--vn-gold);
 opacity: 0.55;
 letter-spacing: 0.05em;
 font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
 white-space: nowrap;
 flex-shrink: 0;
}
.section-header::after {
 content: '';
 position: absolute;
 inset: 0;
 background: linear-gradient(120deg, transparent 20%, rgba(255,232,186,0.08) 38%, transparent 54%);
 transform: translateX(-60%);
 animation: header-shimmer 7s ease-in-out infinite;
}
.section-header h3 {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
 font-size: clamp(16px, 2vw, 19px);
 font-weight: 500;
 line-height: 1.35;
 letter-spacing: 0.01em;
 color: rgba(255,248,240,0.88);
 position: relative;
 z-index: 1;
}
.section-content { padding: 16px 24px 22px; position: relative; z-index: 1; }
.section-content p { margin-bottom: 15px; color: rgba(248,240,231,0.9); }
.section-content strong { color: #fff3e4; }
.section-content em { color: #ffd991; }
.section-content h3 {
 font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
 font-size: 15px;
 font-weight: 700;
 color: #ffe7bd;
 margin: 20px 0 8px;
}
.section-content h4 {
 font-size: 15px;
 font-weight: 700;
 color: #ffd991;
 margin: 18px 0 8px;
 letter-spacing: 0.02em;
}
.section-content ul { margin: 12px 0 14px 22px; }
.section-content li { margin-bottom: 7px; color: rgba(248,240,231,0.9); }
.section-content svg {
 background: rgba(22,16,24,0.3);
 border: 1px solid rgba(212,160,23,0.15);
 border-radius: 10px;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 16px 40px rgba(0,0,0,0.22);
 padding: 12px;
}
.section-img {
 width: 100%;
 height: 220px;
 aspect-ratio: 60/11;
 object-fit: cover;
 display: block;
 filter: saturate(0.95) contrast(1.02) brightness(0.92);
 border-top: 1px solid rgba(212,160,23,0.1);
 border-bottom: 1px solid rgba(212,160,23,0.1);
}
table {
 width: 100%;
 border-collapse: separate;
 border-spacing: 0;
 margin: 18px 0;
 font-size: 14px;
 background: rgba(27,20,30,0.35);
 border: 1px solid rgba(212,160,23,0.12);
 border-radius: 8px;
 overflow: hidden;
}
thead th {
 /* background: set per-country inline, default below */
 background: linear-gradient(135deg, rgba(218,37,29,0.96), rgba(138,28,24,0.96));
 color: #fff8f0;
 padding: 12px 14px;
 text-align: left;
 font-size: 12px;
 font-weight: 700;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 border-bottom: 1px solid rgba(255,228,196,0.18);
}
tbody td {
 padding: 11px 14px;
 color: rgba(248,240,231,0.92);
 background: rgba(44,33,49,0.3);
 border-bottom: 1px solid rgba(212,160,23,0.08);
 border-right: 1px solid rgba(212,160,23,0.06);
 vertical-align: top;
}
tbody tr:nth-child(even) td { background: rgba(55,42,60,0.25); }
tbody tr:hover td { background: rgba(76,57,66,0.35); }
tbody tr:last-child td { border-bottom: none; }
tbody td:last-child,
thead th:last-child { border-right: none; }
.weather-good {
 background: rgba(5,150,105,0.26) !important;
 color: #d7ffee !important;
 box-shadow: inset 0 0 0 1px rgba(110,231,183,0.12);
}
.weather-ok {
 background: rgba(234,179,8,0.2) !important;
 color: #fff2bf !important;
 box-shadow: inset 0 0 0 1px rgba(252,211,77,0.12);
}
.weather-risky {
 background: rgba(249,115,22,0.2) !important;
 color: #ffe2c3 !important;
 box-shadow: inset 0 0 0 1px rgba(251,146,60,0.12);
}
.weather-bad {
 background: rgba(218,37,29,0.2) !important;
 color: #ffe0dd !important;
 box-shadow: inset 0 0 0 1px rgba(252,129,129,0.12);
}
.info-box {
 border-left: 4px solid var(--vn-blue);
 background: rgba(37,99,235,0.1);
 padding: 16px 20px;
 border-radius: 0 8px 8px 0;
 margin: 18px 0;
 font-size: 14px;
 color: rgba(248,240,231,0.92);
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.info-box.success { border-color: var(--vn-green); background: rgba(5,150,105,0.1); }
.info-box.warning { border-color: var(--vn-orange); background: rgba(249,115,22,0.1); }
.info-box.error { border-color: var(--vn-red); background: rgba(218,37,29,0.12); }
.info-box strong { display: block; margin-bottom: 4px; color: #fff5e7; }
.badge {
 display: inline-block;
 padding: 4px 10px;
 border-radius: 999px;
 font-size: 10px;
 font-weight: 700;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 vertical-align: middle;
 border: 1px solid rgba(255,255,255,0.08);
}
.badge-rec { background: rgba(5,150,105,0.85); color: #fff; }
.badge-new { background: rgba(37,99,235,0.85); color: #fff; }
.badge-best { background: rgba(13,148,136,0.9); color: #fff; }
.badge-hot { background: rgba(218,37,29,0.9); color: #fff; }
.route-flow {
 background: rgba(28,21,31,0.35);
 color: #dacfc1;
 font-family: Consolas, Monaco, monospace;
 padding: 14px 18px;
 border-radius: 8px;
 font-size: 13px;
 line-height: 1.75;
 white-space: pre-wrap;
 margin: 16px 0;
 overflow-x: auto;
 border: 1px solid rgba(212,160,23,0.12);
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.route-flow .hl { color: #ffd991; font-weight: 700; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 18px; margin: 18px 0; }
.section-content .card {
 background: rgba(74,58,79,0.3);
 border-radius: 8px;
 padding: 14px 16px;
 border: 1px solid rgba(212,160,23,0.12);
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}
.section-content .card h4 { margin-top: 0; color: #ffe7bd; }
.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 16px 0; }
.pros,
.cons {
 padding: 14px 16px;
 border-radius: 8px;
 box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}
.pros { background: rgba(5,150,105,0.1); border: 1px solid rgba(16,185,129,0.15); }
.cons { background: rgba(218,37,29,0.1); border: 1px solid rgba(248,113,113,0.12); }
.pros h4 { color: #aff6d5; margin-top: 0; }
.cons h4 { color: #ffc0ba; margin-top: 0; }
.site-footer {
 margin: 6px 24px 28px;
 padding: 16px 20px;
 border-radius: 10px;
 border: 1px solid rgba(212,160,23,0.12);
 background: linear-gradient(135deg, rgba(49,36,53,0.92), rgba(35,26,39,0.96));
 color: rgba(248,240,231,0.76);
 box-shadow: var(--vn-shadow);
}
.site-footer strong {
 display: block;
 color: #fff0d2;
 font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
 font-size: 18px;
 margin-bottom: 4px;
}
.back-top {
 position: fixed;
 right: 26px;
 bottom: 26px;
 width: 40px;
 height: 40px;
 border-radius: 50%;
 display: flex;
 align-items: center;
 justify-content: center;
 text-decoration: none;
 font-size: 18px;
 color: #2d1609;
 background: linear-gradient(135deg, #F2C14E, #D4A017 58%, #B88111 100%);
 box-shadow: 0 4px 14px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.35);
 z-index: 110;
 transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
 opacity: 0;
 pointer-events: none;
 visibility: hidden;
}
.back-top.is-visible { opacity: 1; pointer-events: auto; visibility: visible; }
.back-top:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 22px 42px rgba(0,0,0,0.38); }
.skip-link {
 position: absolute;
 top: -50px;
 left: 0;
 background: var(--vn-gold);
 color: #1a1a2e;
 padding: 8px 16px;
 z-index: 99999;
 border-radius: 0 0 8px 0;
 font-weight: 600;
 font-size: 14px;
 text-decoration: none;
 transition: top 0.2s;
}
.skip-link:focus { top: 0; }
:focus-visible {
 outline: 2px solid var(--vn-gold);
 outline-offset: 3px;
 border-radius: 4px;
}
.nav-item:focus-visible {
 outline: none;
 border-left-color: var(--vn-gold);
 background: linear-gradient(90deg, rgba(218,37,29,0.18), rgba(212,160,23,0.08));
 padding-left: 26px;
 color: #fff;
}
@keyframes header-shimmer {
 0%, 100% { transform: translateX(-60%); opacity: 0.18; }
 50% { transform: translateX(52%); opacity: 0.82; }
}
@media (max-width: 980px) {
 .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
 .nav-sidebar { transform: translateX(-110%); }
 body.menu-open .nav-sidebar { transform: translateX(0); }
 .main-content { margin-left: 0; }
 .header { padding: 60px 18px 28px; }
 .container { padding: 16px 12px 24px; }
 .section-header,
 .section-content { padding-left: 16px; padding-right: 16px; }
 .section-header { align-items: flex-start; }
 .section-img { height: 180px; }
 .pros-cons { grid-template-columns: 1fr; }
 .site-footer { margin: 0 14px 24px; }
}
@media (max-width: 640px) {
 .header h1 { font-size: 32px; }
 .header p { font-size: 15px; }
 .header .meta { gap: 8px 14px; }
  .section-header { gap: 14px; }
  .section-header::before { font-size: 12px; }
  .section-header h3 { font-size: 16px; }
  .card-grid { grid-template-columns: 1fr; }
}
@media print {
 body { background: #fff; color: #111; }
 .nav-sidebar,
 .menu-toggle,
 .nav-scrim,
 .back-top { display: none !important; }
 .main-content { margin-left: 0; }
 .section,
 .site-footer { box-shadow: none; border: 1px solid #ddd; background: #fff; color: #111; }
}
@media (prefers-reduced-motion: reduce) {
 .section-header::after { animation: none; }
 .nav-item { transition: none; }
 .back-top { transition: none; }
}


/* ============================================================================
   MISSING CSS CLASSES - IMPLEMENTATION GUIDE
   ============================================================================
   
   This file contains CSS rules for 47 missing classes identified across
   7 travel guide files. Classes are organized by system and include
   suggested implementations based on usage patterns.
   
   SYSTEM B (Southeast Asia): 41 missing classes
   SYSTEM A (Diverse Destinations): 7 missing classes
   
   ========================================================================== */

/* ============================================================================
   SYSTEM B - SOUTHEAST ASIA (Cambodia, Thailand, Laos)
   ========================================================================== */

/* Navigation & Sidebar Enhancements */
.sidebar {
  position: fixed;
  left: 0;
  top: 0;
  width: 270px;
  height: 100vh;
  background: linear-gradient(180deg, #2C1822 0%, #241A27 30%, #2A2530 55%, #2E2D33 80%, #33342F 100%);
  border-right: 1px solid rgba(212, 160, 23, 0.12);
  overflow-y: auto;
  z-index: 140;
  padding-bottom: 36px;
}

.sidebar-header {
  padding: 20px 18px 14px;
  border-bottom: 1px solid rgba(212, 160, 23, 0.12);
  position: sticky;
  top: 0;
  background: linear-gradient(180deg, rgba(34, 22, 29, 0.98), rgba(34, 22, 29, 0.88));
  backdrop-filter: blur(14px);
  z-index: 2;
}

.sidebar-header h2 {
  color: #fff;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.nav-link {
  display: block;
  color: rgba(245, 237, 226, 0.76);
  text-decoration: none;
  padding: 7px 18px;
  font-size: 12.5px;
  border-left: 3px solid transparent;
  transition: all 0.25s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.is-active {
  color: #fff;
  background: linear-gradient(90deg, rgba(218, 37, 29, 0.18), rgba(212, 160, 23, 0.08));
  border-left-color: var(--vn-gold);
  padding-left: 26px;
}

.nav-number {
  display: inline-block;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  color: var(--vn-gold);
  opacity: 0.7;
  margin-right: 8px;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 44px 36px 36px;
  background: linear-gradient(135deg, rgba(43, 45, 51, 0.96) 0%, rgba(42, 47, 56, 0.94) 52%, rgba(48, 53, 62, 0.92) 100%);
  border-bottom: 1px solid rgba(212, 160, 23, 0.18);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  /* background: set per-country inline */
  opacity: 0.14;
  mix-blend-mode: screen;
}

.hero::after {
  content: '';
  position: absolute;
  inset: auto -10% -30% 40%;
  height: 200px;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.28), transparent 62%);
  filter: blur(10px);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: 0.02em;
  max-width: 780px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  color: #fff;
}

.tagline {
  font-size: 17px;
  color: rgba(255, 244, 231, 0.88);
  margin-top: 12px;
  max-width: 760px;
}

/* Meta Information & Badges */
.meta-badges {
  margin-top: 22px;
  font-size: 12px;
  color: rgba(255, 244, 231, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
}

.badge-primary {
  background: rgba(37, 99, 235, 0.85);
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-secondary {
  background: rgba(107, 114, 128, 0.85);
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-accent {
  background: rgba(168, 85, 247, 0.85);
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-info {
  background: rgba(59, 130, 246, 0.85);
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-success {
  background: rgba(5, 150, 105, 0.85);
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-danger {
  background: rgba(218, 37, 29, 0.85);
  color: #fff;
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.badge-outline {
  background: transparent;
  color: rgba(245, 237, 226, 0.88);
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(212, 160, 23, 0.4);
}

/* Content Wrapper */
.content-wrapper {
  position: relative;
  z-index: 1;
}

/* Section Enhancements */
.section-number {
  display: inline-block;
  font-family: "SF Mono", "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--vn-gold);
  opacity: 0.55;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
  margin-right: 8px;
}

/* Image Showcase */
.img-showcase {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin: 18px auto;
  max-width: 680px;
}

.img-showcase img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  filter: saturate(0.95) contrast(1.02) brightness(0.92);
}

.caption {
  padding: 12px 16px;
  background: rgba(27, 20, 30, 0.5);
  color: rgba(248, 240, 231, 0.88);
  font-size: 13px;
  font-style: italic;
  border-top: 1px solid rgba(212, 160, 23, 0.1);
}

/* Card Components */
.card-body {
  padding: 14px 16px;
  background: rgba(74, 58, 79, 0.3);
  border-radius: 0px;
  border: 1px solid rgba(212, 160, 23, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.card-body h4 {
  margin-top: 0;
  color: #ffe7bd;
  font-size: 15px;
  font-weight: 700;
}

.card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 8px 8px 0 0;
  filter: saturate(0.95) contrast(1.02) brightness(0.92);
}

/* Comparison Grid */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.compare-item {
  background: rgba(44, 33, 49, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(212, 160, 23, 0.06);
  border-radius: 10px;
  padding: 16px;
  box-shadow: var(--vn-shadow);
}

.compare-item .label {
  display: block;
  font-size: 12px;
  color: rgba(245, 237, 226, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 8px;
}

.compare-item .value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.compare-item .detail {
  display: block;
  font-size: 12px;
  color: rgba(248, 240, 231, 0.76);
  margin-top: 6px;
}

/* Temperature Table Styling (index climate section) */
#climate table {
  width: 100%;
  border-collapse: collapse;
}
#climate th, #climate td {
  text-align: center;
  padding: 8px 6px;
  white-space: nowrap;
}
#climate th {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(248,240,231,0.55);
  border-bottom: 1px solid rgba(212,160,23,0.15);
}
#climate td {
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
#climate td:first-child {
  text-align: left;
  white-space: normal;
}

.temp-cool {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  font-weight: 600;
}

.temp-warm {
  background: rgba(251, 146, 60, 0.15);
  color: #fdba74;
  font-weight: 600;
}

.temp-hot {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  font-weight: 600;
}

/* Info Box Enhancements */
.info-box-title {
  display: block;
  font-weight: 700;
  margin-bottom: 4px;
  color: #fff5e7;
  font-size: 14px;
}

.info-box.tip {
  border-left-color: var(--vn-blue);
  background: rgba(37, 99, 235, 0.1);
}

.info-box.info {
  border-left-color: var(--vn-sky);
  background: rgba(14, 165, 233, 0.1);
}

.info-box.danger {
  border-left-color: var(--vn-red);
  background: rgba(218, 37, 29, 0.12);
}

.info-box.highlight {
  border-left-color: var(--vn-gold);
  background: rgba(212, 160, 23, 0.1);
}

/* Route & Itinerary */
.route-day {
  background: rgba(28, 21, 31, 0.35);
  color: #dacfc1;
  font-family: Consolas, Monaco, monospace;
  padding: 14px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.75;
  margin: 16px 0;
  border: 1px solid rgba(212, 160, 23, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.route-day h4 {
  color: #ffd991;
  font-weight: 700;
  margin: 0 0 8px 0;
  font-size: 14px;
}

.route-day .highlight {
  color: #ffd991;
  font-weight: 700;
}

/* Map Components */
.map-container {
  background: rgba(22, 16, 24, 0.3);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 16px 40px rgba(0, 0, 0, 0.22);
  padding: 12px;
  margin: 18px 0;
}

.map-container svg {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
}

.map-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(212, 160, 23, 0.1);
}

.map-legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(248, 240, 231, 0.88);
}

.map-legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Budget Table Highlighting */
.budget-total {
  background: rgba(212, 160, 23, 0.15) !important;
  color: #ffd991 !important;
  font-weight: 700;
}

/* Footer */
.footer {
  margin: 6px 24px 28px;
  padding: 16px 20px;
  border-radius: 10px;
  border: 1px solid rgba(212, 160, 23, 0.12);
  background: linear-gradient(135deg, rgba(49, 36, 53, 0.92), rgba(35, 26, 39, 0.96));
  color: rgba(248, 240, 231, 0.76);
  box-shadow: var(--vn-shadow);
}

.footer strong {
  display: block;
  color: #fff0d2;
  font-family: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  font-size: 18px;
  margin-bottom: 4px;
}

/* ============================================================================
   SYSTEM A - DIVERSE DESTINATIONS (Malaysia, New Zealand, Indonesia, Australia)
   ========================================================================== */

/* Version Badge - Used across all System A files */
.version-badge {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(212, 160, 23, 0.2);
  color: var(--vn-gold);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Timeline - Australia specific */
.timeline {
  position: relative;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, rgba(212, 160, 23, 0.3), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 24px;
  padding-left: 60px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 4px;
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, var(--vn-gold), var(--vn-orange));
  border-radius: 50%;
  border: 2px solid rgba(44, 33, 49, 0.8);
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.1);
}

.tl-date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--vn-gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.tl-place {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.tl-desc {
  display: block;
  font-size: 13px;
  color: rgba(248, 240, 231, 0.88);
  line-height: 1.6;
}

.timeline-item .highlight {
  color: var(--vn-gold);
  font-weight: 700;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */

@media (max-width: 980px) {
  .sidebar {
    transform: translateX(-110%);
    transition: transform 0.35s ease;
  }

  body.menu-open .sidebar {
    transform: translateX(0);
  }

  .compare-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }

  .map-legend {
    gap: 8px;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 28px;
  }

  .tagline {
    font-size: 15px;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }

  .compare-item {
    padding: 12px;
  }

  .timeline::before {
    left: 12px;
  }

  .timeline-item {
    padding-left: 48px;
  }

  .timeline-item::before {
    left: 2px;
    width: 20px;
    height: 20px;
  }

  .map-container {
    padding: 8px;
  }

  .map-legend {
    flex-direction: column;
    gap: 8px;
  }
}

/* ============================================================================
   ANIMATION & TRANSITIONS
   ========================================================================== */

@keyframes badge-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(212, 160, 23, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(212, 160, 23, 0);
  }
}

.badge-hot {
  animation: badge-pulse 2s infinite;
}

@keyframes timeline-fade {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-item {
  animation: timeline-fade 0.6s ease-out forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

/* ==========================================================================
   MOBILE RESPONSIVE - COMPONENT OVERRIDES
   ========================================================================== */

@media (max-width: 980px) {
  /* Route days - reduce padding */
  .route-day { padding: 12px 14px; font-size: 12.5px; }

  /* Info boxes - reduce padding */
  .info-box { padding: 14px 16px; font-size: 13px; }

  /* Image showcases - reduce margin and border-radius */
  .img-showcase { margin: 14px 0; border-radius: 8px; }

  /* Captions - tighter */
  .caption { padding: 10px 14px; font-size: 12px; }

  /* Cards - tighter body */
  .card-body { padding: 12px 14px; }
  .card-img { height: 160px; }

  /* Budget total - ensure readable */
  .budget-total { font-size: 13px; }

  /* Back to top - slightly smaller */
  .back-top { width: 36px; height: 36px; font-size: 16px; right: 16px; bottom: 16px; }

  /* Badges - allow wrapping, smaller */
  .badge { font-size: 9px; padding: 3px 8px; }

  /* Section header h2 (System B converted) */
  .section-header h2 { font-size: 16px; }
}

@media (max-width: 640px) {
  /* Route days - compact for phones */
  .route-day { padding: 10px 12px; font-size: 12px; line-height: 1.6; }
  .route-day h4 { font-size: 13px; }

  /* Route flow - smaller font */
  .route-flow { font-size: 11.5px; padding: 12px 14px; }

  /* Info boxes - compact */
  .info-box { padding: 12px 14px; font-size: 12.5px; }
  .info-box strong { font-size: 13px; }
  .info-box-title { font-size: 13px; }

  /* Image showcases - full bleed on small screens */
  .img-showcase { margin: 12px -4px; border-radius: 6px; }

  /* Captions */
  .caption { padding: 8px 12px; font-size: 11.5px; }

  /* Compare grid items */
  .compare-item .label { font-size: 10px; }
  .compare-item .value { font-size: 18px; }
  .compare-item .detail { font-size: 11px; }

  /* Card images - shorter on phones */
  .card-img { height: 140px; }
  .card-body { padding: 10px 12px; }
  .card-body h4 { font-size: 14px; }

  /* Budget total */
  .budget-total { font-size: 12.5px; }

  /* Badges - even more compact */
  .badge { font-size: 8.5px; padding: 3px 7px; letter-spacing: 0.05em; }

  /* Map containers */
  .map-container svg { max-width: 100%; height: auto; }

  /* Section header h2 - phone size */
  .section-header h2 { font-size: 15px; }

  /* Back-to-top */
  .back-top { width: 34px; height: 34px; font-size: 14px; right: 12px; bottom: 12px; }

  /* Temperature indicators - keep readable */
  .temp-cool, .temp-warm, .temp-hot { font-size: 12px; padding: 2px 6px; }
}



/* System B compat: h2 in section headers */
.section-header h2 {
 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
 font-size: clamp(16px, 2vw, 19px);
 font-weight: 500;
 line-height: 1.35;
 letter-spacing: 0.01em;
 color: rgba(255,248,240,0.88);
 position: relative;
 z-index: 1;
}



/* Global Navigation Styles - Injected */

/* ============================================================================
   GLOBAL NAVIGATION — navbar.js
   ============================================================================ */

/* Travelmate Global Navigation */
.gn-bar{position:fixed;top:0;left:0;right:0;height:68px;background:rgba(18,13,27,0.8);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid rgba(212,160,23,0.12);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,3vw,40px);z-index:9999;transition:box-shadow .3s ease;color:#f5ede2}
.gn-bar.gn-scrolled{box-shadow:0 4px 24px rgba(0,0,0,0.4)}
body.gn-has-navbar{padding-top:68px!important}
body.gn-has-navbar .sidebar,body.gn-has-navbar .nav-sidebar{top:68px!important}
.gn-left{display:flex;align-items:center;gap:16px}
.gn-logo-link{display:flex;align-items:center;gap:7px;text-decoration:none;color:inherit;transition:opacity .2s}
.gn-logo-link:hover{opacity:0.8}
.gn-logo-icon{flex-shrink:0}
.gn-logo-wrap{display:flex;flex-direction:column;line-height:1.1}
.gn-logo-text{font-size:1.55rem;font-weight:600;letter-spacing:0.5px}
.gn-logo-text em{color:#d4a017;font-style:normal}
.gn-logo-slogan{font-size:0.6rem;letter-spacing:0.3px;opacity:0.55;font-weight:400;margin-top:1px}
.gn-logo-link:hover .gn-logo-text{color:#d4a017}
.gn-logo-sep{opacity:0.3;font-size:1.1rem;margin:0 2px}
.gn-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:18px 0;border-radius:8px;position:relative}
.gn-table-scroll table{margin:0;min-width:480px}
.gn-table-scroll::-webkit-scrollbar{height:6px}
.gn-table-scroll::-webkit-scrollbar-track{background:rgba(255,255,255,0.04);border-radius:3px}
.gn-table-scroll::-webkit-scrollbar-thumb{background:rgba(212,160,23,0.3);border-radius:3px}
.gn-table-scroll::-webkit-scrollbar-thumb:hover{background:rgba(212,160,23,0.5)}
.gn-table-scroll.is-scrollable::after{content:"";position:absolute;top:0;right:0;bottom:6px;width:28px;background:linear-gradient(to right,transparent,rgba(18,13,27,0.7));pointer-events:none;border-radius:0 8px 8px 0;transition:opacity .3s}
.gn-table-scroll.scrolled-end::after{opacity:0}
.gn-country-name{font-size:1.55rem;font-weight:600;opacity:0.7;letter-spacing:0.02em}
.gn-filter{padding:7px 16px;border-radius:20px;font-size:1rem;font-weight:500;color:rgba(245,237,226,.65);text-decoration:none;border:1px solid transparent;background:none;cursor:pointer;transition:all .2s;white-space:nowrap}
.gn-filter:hover{color:#f5ede2;background:rgba(255,255,255,.04)}
.gn-filter.gn-filter-active{color:#d4a017;border-color:rgba(212,160,23,.3);background:rgba(212,160,23,.06)}
.gn-filter span{opacity:.6;font-size:.72rem}
.gn-dropdowns{display:flex;gap:4px;align-items:center}
.gn-dropdown{position:relative}
.gn-dropdown-trigger{padding:7px 16px;border-radius:20px;font-size:1rem;font-weight:500;color:rgba(245,237,226,.65);border:none;background:none;cursor:pointer;transition:all .2s;white-space:nowrap;display:flex;align-items:center;gap:6px;font-family:inherit}
.gn-dropdown-trigger:hover{color:#f5ede2;background:rgba(255,255,255,.04)}
.gn-dropdown-trigger svg{width:10px;height:10px;transition:transform .2s}
.gn-dropdown.gn-dropdown-open .gn-dropdown-trigger{color:#f5ede2;background:rgba(255,255,255,.04)}
.gn-dropdown.gn-dropdown-open .gn-dropdown-trigger svg{transform:rotate(180deg)}
.gn-dropdown-panel{position:absolute;top:calc(100% + 4px);left:50%;transform:translateX(-50%);min-width:180px;background:rgba(18,13,27,.95);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid rgba(212,160,23,.15);border-radius:12px;padding:8px 0;opacity:0;visibility:hidden;transition:all .2s;z-index:10001;box-shadow:0 8px 32px rgba(0,0,0,.4)}
.gn-dropdown-panel-right{right:0;left:auto;transform:none}
.gn-dropdown.gn-dropdown-open .gn-dropdown-panel{opacity:1;visibility:visible}
.gn-dropdown-panel a{display:flex;align-items:center;gap:10px;padding:8px 16px;color:rgba(245,237,226,.75);text-decoration:none;font-size:.9rem;transition:all .15s}
.gn-dropdown-panel a:hover{color:#f5ede2;background:rgba(255,255,255,.06)}
.gn-dropdown-panel a.gn-dd-current{color:#d4a017}
.gn-dropdown-panel button.gn-dd-item{display:flex;align-items:center;gap:10px;padding:8px 16px;color:rgba(245,237,226,.75);text-decoration:none;font-size:.9rem;transition:all .15s;background:none;border:none;width:100%;text-align:left;cursor:pointer;font-family:inherit}
.gn-dropdown-panel button.gn-dd-item:hover{color:#f5ede2;background:rgba(255,255,255,.06)}
.gn-dd-flag{font-size:1.1rem}
@media(max-width:900px){.gn-dropdowns{display:none}.gn-logo-slogan{display:none}}
@media(max-width:768px){.gn-left{gap:10px}.gn-right{gap:8px}.gn-logo-text{font-size:1.25rem}.gn-country-name{font-size:1.1rem}.gn-dropdown-trigger{padding:6px 10px;font-size:.88rem}}
@media(max-width:640px){.gn-separator{display:none}.gn-dropdown-plan,.gn-dropdown-explore{display:none}.gn-left{gap:6px;min-width:0;overflow:hidden}.gn-country-name{display:none}.gn-bar{height:56px;padding:0 12px}body.gn-has-navbar{padding-top:56px!important}}
.gn-right{display:flex;align-items:center;gap:16px}
.gn-search-btn{background:none;border:none;color:#f5ede2;cursor:pointer;padding:8px;border-radius:50%;transition:background .2s}
.gn-search-btn:hover{background:rgba(255,255,255,0.1)}
.gn-separator{display:inline-block;width:1px;height:20px;background:rgba(255,255,255,.15);margin:0 6px;vertical-align:middle}
.gn-search-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.92);z-index:10001;opacity:0;visibility:hidden;transition:all .3s;display:flex;align-items:flex-start;justify-content:center;padding-top:15vh}
body.gn-search-open .gn-search-overlay{opacity:1;visibility:visible}
body.gn-search-open{overflow:hidden}
.gn-search-content{width:600px;max-width:90vw}
.gn-search-input-wrapper{position:relative}
.gn-search-input{width:100%;padding:16px 20px;font-size:1.1rem;background:rgba(255,255,255,0.1);border:1px solid rgba(255,255,255,0.2);border-radius:12px;color:#fff;outline:none;box-sizing:border-box}
.gn-search-input:focus{border-color:#D4A017;box-shadow:0 0 0 3px rgba(212,160,23,0.15)}
.gn-search-input::placeholder{color:rgba(255,255,255,0.4)}
.gn-search-results{margin-top:1rem;max-height:50vh;overflow-y:auto}
.gn-search-result{padding:12px 16px;border-radius:8px;cursor:pointer;transition:background .2s;margin-bottom:4px}
.gn-search-result:hover{background:rgba(255,255,255,0.08)}
.gn-search-result-title{font-weight:600;color:#D4A017;margin-bottom:4px;font-size:.95rem}
.gn-search-result-snippet{font-size:.85rem;color:rgba(255,255,255,0.6);line-height:1.4}
.gn-search-result-snippet mark{background:rgba(212,160,23,0.25);color:#fff;padding:1px 2px;border-radius:2px}
.gn-search-no-results{text-align:center;color:rgba(255,255,255,0.4);padding:2rem;font-size:.95rem}
.gn-search-close{position:absolute;top:1rem;right:1rem;background:none;border:none;color:#e0e0e0;font-size:1.8rem;cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background .2s;z-index:10002}
.gn-search-close:hover{background:rgba(255,255,255,0.1)}
.gn-highlight-match{background:rgba(212,160,23,0.4);transition:background 0.5s ease}
body.gn-has-navbar .menu-toggle{top:80px!important;z-index:10001}
.gn-bar :focus-visible{outline-offset:2px}
.gn-search-result:focus-visible{background:rgba(255,255,255,0.08);outline:none;box-shadow:inset 0 0 0 2px #D4A017}
.gn-country-link:focus-visible{background:rgba(212,160,23,0.1);outline:none;box-shadow:inset 0 0 0 2px #D4A017}
.gn-progress{position:fixed;top:68px;left:0;height:3px;background:linear-gradient(90deg,#D4A017,#f2d576);z-index:9998;transition:width 80ms linear;pointer-events:none;border-radius:0 2px 2px 0}
.gn-mobile-toc{display:none;margin:12px 12px 0;border:1px solid rgba(212,160,23,0.12);border-radius:12px;background:rgba(44,33,49,0.35);overflow:hidden}
.gn-mobile-toc summary{padding:12px 16px;font-size:.85rem;font-weight:600;color:rgba(245,237,226,0.8);cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between}
.gn-mobile-toc summary::-webkit-details-marker{display:none}
.gn-mobile-toc summary::after{content:"\25BC";font-size:.6rem;transition:transform .2s;color:rgba(212,160,23,0.6)}
.gn-mobile-toc[open] summary::after{transform:rotate(180deg)}
.gn-mobile-toc-list{padding:4px 16px 12px;display:flex;flex-direction:column;gap:2px}
.gn-mobile-toc-link{display:block;padding:6px 8px;font-size:.8rem;color:rgba(245,237,226,0.7);text-decoration:none;border-radius:6px;transition:all .15s}
.gn-mobile-toc-link:hover{color:#fff;background:rgba(212,160,23,0.1)}
@media(min-width:981px){.gn-mobile-toc{display:none!important}}
@media(max-width:980px){.gn-mobile-toc{display:block}}
@media print{.gn-progress{display:none!important}}
@media print{.gn-bar,.gn-search-overlay{display:none!important}}

/* ── Resume Reading Badge ── */
.gn-resume-badge {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: linear-gradient(135deg, #D4A017, #b8860b);
  color: #1a1225;
  border: none;
  padding: 10px 20px;
  border-radius: 24px;
  font-size: .85rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(212,160,23,0.35);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s, transform .4s;
  pointer-events: none;
}
.gn-resume-badge.gn-resume-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.gn-resume-badge:hover { filter: brightness(1.1); }

/* ── Burger Menu Button ── */
.gn-burger{display:none;background:none;border:none;cursor:pointer;padding:8px;width:36px;height:36px;position:relative;flex-shrink:0}
.gn-burger span{display:block;width:20px;height:2px;background:#f5ede2;border-radius:2px;position:absolute;left:8px;transition:all .3s}
.gn-burger span:nth-child(1){top:10px}
.gn-burger span:nth-child(2){top:17px}
.gn-burger span:nth-child(3){top:24px}
body.gn-menu-open .gn-burger span:nth-child(1){transform:rotate(45deg);top:17px}
body.gn-menu-open .gn-burger span:nth-child(2){opacity:0}
body.gn-menu-open .gn-burger span:nth-child(3){transform:rotate(-45deg);top:17px}
@media(max-width:900px){.gn-burger{display:flex;align-items:center;justify-content:center}}

/* ── Mobile Menu Panel ── */
.gn-mobile-menu{position:fixed;top:0;left:0;right:0;bottom:0;z-index:10002;pointer-events:none;visibility:hidden}
body.gn-menu-open .gn-mobile-menu{pointer-events:auto;visibility:visible}
body.gn-menu-open{overflow:hidden}
.gn-mobile-menu-backdrop{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,0.6);opacity:0;transition:opacity .3s}
body.gn-menu-open .gn-mobile-menu-backdrop{opacity:1}
.gn-mobile-menu-panel{position:absolute;top:0;right:0;bottom:0;width:300px;max-width:85vw;background:rgba(22,16,28,0.98);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);transform:translateX(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);overflow-y:auto;display:flex;flex-direction:column}
body.gn-menu-open .gn-mobile-menu-panel{transform:translateX(0)}
.gn-mobile-menu-header{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid rgba(212,160,23,0.15)}
.gn-mobile-menu-title{font-size:1.1rem;font-weight:700;color:#f5ede2;font-family:"Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif}
.gn-mobile-menu-close{background:none;border:none;color:rgba(245,237,226,0.6);font-size:1.6rem;cursor:pointer;width:36px;height:36px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:all .2s;font-family:inherit}
.gn-mobile-menu-close:hover{color:#f5ede2;background:rgba(255,255,255,0.08)}
.gn-mobile-menu-nav{padding:12px 0;flex:1}
.gn-mobile-menu-section{padding:8px 20px}
.gn-mobile-menu-section h3{font-size:.7rem;font-weight:700;text-transform:uppercase;letter-spacing:.14em;color:rgba(212,160,23,0.7);margin:0 0 8px;padding:0}
.gn-mobile-menu-section a,.gn-mobile-menu-section button.gn-mm-random{display:block;padding:8px 12px;color:rgba(245,237,226,0.75);text-decoration:none;font-size:.92rem;border-radius:8px;transition:all .15s;margin-bottom:2px}
.gn-mobile-menu-section button.gn-mm-random{background:none;border:none;width:100%;text-align:left;cursor:pointer;font-family:inherit;font-size:.92rem}
.gn-mobile-menu-section a:hover,.gn-mobile-menu-section button.gn-mm-random:hover{color:#f5ede2;background:rgba(255,255,255,0.06)}
.gn-mobile-menu-section a.gn-mm-current{color:#d4a017;font-weight:600}
@media print{.gn-mobile-menu,.gn-burger{display:none!important}}

/* ============================================================================
   SHARED FOOTER — footer.js
   ============================================================================ */

.tm-footer {
  margin: 24px 0 0;
  border-top: 1px solid rgba(212,160,23,0.18);
  background: linear-gradient(135deg, rgba(28,20,32,0.96), rgba(22,16,26,0.98));
  color: rgba(248,240,231,0.7);
  font-family: "Trebuchet MS","Segoe UI",Verdana,sans-serif;
  font-size: 13px;
  line-height: 1.6;
}
.tm-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 36px 24px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.tm-footer-brand {
  flex: 1 1 280px;
}
.tm-footer-logo {
  font-family: "Iowan Old Style","Palatino Linotype","Book Antiqua",Georgia,serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.tm-footer-logo em {
  font-style: normal;
  color: #D4A017;
}
.tm-footer-tagline {
  margin-top: 8px;
  color: rgba(248,240,231,0.55);
  font-size: 13px;
}
.tm-footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.tm-footer-col h4 {
  color: rgba(255,244,231,0.9);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 10px;
}
.tm-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tm-footer-col li {
  margin-bottom: 6px;
}
.tm-footer-col a {
  color: rgba(248,240,231,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.tm-footer-col a:hover {
  color: #D4A017;
}
.tm-footer-bottom {
  border-top: 1px solid rgba(212,160,23,0.1);
  padding: 14px 24px;
  text-align: center;
  font-size: 11.5px;
  color: rgba(248,240,231,0.4);
}
@media (max-width: 640px) {
  .tm-footer { margin: 16px 0 0; }
  .tm-footer-inner { padding: 24px 16px 16px; flex-direction: column; gap: 20px; }
  .tm-footer-nav { gap: 24px; }
}
@media print {
  .tm-footer { display: none !important; }
}

/* ── Prev/Next Country Navigation ── */
.gn-prevnext {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 16px;
  max-width: 1240px;
  margin: 32px auto 0;
  padding: 0 24px;
}
.gn-pn-link {
  display: flex;
  flex-direction: column;
  padding: 16px 20px;
  border-radius: 12px;
  background: rgba(44,33,49,0.35);
  border: 1px solid rgba(212,160,23,0.1);
  text-decoration: none;
  color: #f5ede2;
  transition: all .2s;
  min-width: 0;
  flex: 1;
}
.gn-pn-link:hover {
  border-color: rgba(212,160,23,0.3);
  background: rgba(44,33,49,0.55);
  transform: translateY(-2px);
}
.gn-pn-link.gn-pn-next {
  align-items: flex-end;
  text-align: right;
}
.gn-pn-dir {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(245,237,226,0.5);
  margin-bottom: 4px;
}
.gn-pn-name {
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gn-pn-name .gn-pn-flag {
  font-size: 1.2rem;
}
@media (max-width: 640px) {
  .gn-prevnext {
    flex-direction: column;
    gap: 8px;
    padding: 0 12px;
  }
  .gn-pn-link.gn-pn-next {
    align-items: flex-start;
    text-align: left;
  }
}

/* ── Print Stylesheet ── */
@media print {
  body {
    background: #fff !important;
    color: #222 !important;
    font-size: 11pt;
    line-height: 1.5;
  }
  .gn-bar, .gn-search-overlay, .gn-progress,
  .gn-prevnext, .gn-mobile-toc, .gn-resume-badge,
  .gn-burger, .gn-mobile-menu,
  .tm-footer, .nav-sidebar, .menu-toggle,
  .back-to-top, .page-dots { display: none !important; }
  .header, .section-header { background: none !important; color: #222 !important; }
  .header h1, .header h2, .section-header h3 { color: #000 !important; }
  .section-header::before, .section-header::after { display: none !important; }
  .section-content { color: #333 !important; }
  .section-content a { color: #1a0dab !important; text-decoration: underline; }
  img { max-width: 100% !important; page-break-inside: avoid; }
  table { border-collapse: collapse; width: 100%; }
  th, td { border: 1px solid #ccc !important; padding: 6px 8px; color: #222 !important; background: #fff !important; }
  thead th { background: #f0f0f0 !important; }
  .card { border: 1px solid #ddd !important; background: #fff !important; color: #222 !important; page-break-inside: avoid; }
  h1, h2, h3, h4, h5, h6 { page-break-after: avoid; color: #000 !important; }
  .main-content { max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
}
