/* ===== everybodyistraveling-life (АвтоАтлас) ===== */
/* Bold magazine: navy + amber, Playfair Display + Inter */

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --navy-dark: #111824;
  --amber: #e8a838;
  --amber-light: #f0be5e;
  --amber-dark: #d49520;
  --white: #ffffff;
  --gray-50: #f8f9fb;
  --gray-100: #eef0f4;
  --gray-200: #dde1e8;
  --gray-300: #b8bfcc;
  --gray-600: #6b7280;
  --gray-800: #2d3748;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== HEADER ===== */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--amber);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--amber);
}

.nav-links a.active {
  color: var(--amber);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-dropdown-trigger::after {
  content: '';
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform 0.2s;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: -16px;
  background: var(--navy-light);
  border-radius: 8px;
  padding: 12px 0;
  min-width: 220px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.2s;
  max-height: 400px;
  overflow-y: auto;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 6px 20px;
  font-size: 0.85rem;
}

.nav-dropdown-menu a:hover {
  background: rgba(255,255,255,0.05);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}

/* ===== HERO (Homepage) ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="g" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231a2332;stop-opacity:0.3"/><stop offset="100%25" style="stop-color:%23111824;stop-opacity:0.8"/></linearGradient></defs><rect fill="url(%23g)" width="1200" height="600"/><circle cx="200" cy="150" r="300" fill="%23e8a838" opacity="0.03"/><circle cx="1000" cy="400" r="350" fill="%23e8a838" opacity="0.02"/><path d="M0 450 Q300 380 600 420 T1200 380 L1200 600 L0 600Z" fill="%23243044" opacity="0.4"/><path d="M0 480 Q400 440 800 470 T1200 430 L1200 600 L0 600Z" fill="%23243044" opacity="0.3"/></svg>') center / cover no-repeat;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero-tag {
  display: inline-block;
  background: rgba(232, 168, 56, 0.15);
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  border: 1px solid rgba(232, 168, 56, 0.25);
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.7);
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* ===== STATS BAR ===== */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 0 24px;
}

.stats-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 24px 48px;
  border-right: 1px solid var(--gray-100);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== COUNTRIES SECTION (Homepage) ===== */
.countries-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 600px;
  margin: 0 auto;
}

.region-block {
  margin-bottom: 48px;
}

.region-block:last-child {
  margin-bottom: 0;
}

.region-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
  display: flex;
  align-items: center;
  gap: 12px;
}

.region-count {
  background: var(--gray-100);
  color: var(--gray-600);
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

.countries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}

.country-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--gray-50);
  border-radius: 10px;
  text-decoration: none;
  color: var(--gray-800);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.country-card:hover {
  background: var(--white);
  border-color: var(--amber);
  box-shadow: 0 4px 16px rgba(232, 168, 56, 0.15);
  transform: translateY(-2px);
}

.country-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.country-card:hover .country-icon {
  background: var(--amber);
  color: var(--navy);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  padding: 80px 24px;
  text-align: center;
}

.cta-inner {
  max-width: 700px;
  margin: 0 auto;
}

.cta-section h2 {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-button {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 700;
  padding: 16px 40px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.cta-button:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 168, 56, 0.3);
}

/* ===== COUNTRY HERO (Country Hub) ===== */
.country-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a2f 60%, var(--navy-dark) 100%);
  position: relative;
  overflow: hidden;
  padding: 80px 24px 60px;
}

.country-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 500"><defs><linearGradient id="g1" x1="0%25" y1="0%25" x2="100%25" y2="100%25"><stop offset="0%25" style="stop-color:%231a2332;stop-opacity:0.1"/><stop offset="100%25" style="stop-color:%23111824;stop-opacity:0.6"/></linearGradient></defs><rect fill="url(%23g1)" width="1200" height="500"/><path d="M0 300 Q150 200 300 280 Q450 360 600 250 Q750 140 900 220 Q1050 300 1200 200 L1200 500 L0 500Z" fill="%23243044" opacity="0.3"/><path d="M0 380 Q200 320 400 370 Q600 420 800 350 Q1000 280 1200 340 L1200 500 L0 500Z" fill="%23243044" opacity="0.2"/><circle cx="900" cy="100" r="200" fill="%23e8a838" opacity="0.03"/></svg>') center / cover no-repeat;
  opacity: 0.8;
}

.country-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.country-hero h1 {
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  max-width: 700px;
}

.country-hero h1 em {
  font-style: normal;
  color: var(--amber);
}

.country-hero-desc {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.7);
  max-width: 640px;
  line-height: 1.6;
  font-weight: 300;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  margin-bottom: 20px;
}

.breadcrumb a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--amber);
}

.breadcrumb span {
  color: rgba(255,255,255,0.3);
  margin: 0 8px;
  font-size: 0.8rem;
}

.breadcrumb .current {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* ===== HUB CONTENT (Country Hub) ===== */
.hub-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}

.articles-section h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.article-cards {
  display: grid;
  gap: 16px;
}

.article-card {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: var(--gray-800);
  transition: all 0.25s;
}

.article-card:hover {
  border-color: var(--amber);
  box-shadow: 0 8px 32px rgba(232, 168, 56, 0.12);
  transform: translateY(-3px);
}

.article-card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  min-height: 100%;
  background: var(--gray-50);
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gray-300);
  flex-shrink: 0;
  transition: all 0.25s;
}

.article-card:hover .article-card-number {
  background: var(--amber);
  color: var(--navy);
}

.article-card-body {
  padding: 20px 24px;
  flex: 1;
}

.article-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}

.article-card-body p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.article-card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  color: var(--gray-300);
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: color 0.25s;
}

.article-card:hover .article-card-arrow {
  color: var(--amber);
}

.hub-intro {
  margin-top: 40px;
  padding: 32px;
  background: var(--gray-50);
  border-radius: 12px;
  border-left: 4px solid var(--amber);
}

.hub-intro h2 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.hub-intro p {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.hub-intro p + p {
  margin-top: 12px;
}

/* ===== SIDEBAR: QUICK FACTS (Country Hub) ===== */
.sidebar-facts {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 32px;
  position: sticky;
  top: 88px;
}

.sidebar-facts h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gray-200);
}

.fact-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
  gap: 12px;
}

.fact-row:last-child {
  border-bottom: none;
}

.fact-label {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-weight: 500;
}

.fact-value {
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  text-align: right;
}

.sidebar-cta {
  margin-top: 28px;
  background: var(--navy);
  border-radius: 10px;
  padding: 24px;
  text-align: center;
}

.sidebar-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-cta .cta-button {
  display: block;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.sidebar-cta .cta-button:hover {
  background: var(--amber-light);
}

/* ===== ARTICLE HEADER ===== */
.article-header {
  background: var(--navy);
  padding: 40px 24px 48px;
}

.article-header-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.article-header h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  max-width: 750px;
}

.article-meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

/* ===== TWO-COLUMN LAYOUT (Article) ===== */
.article-layout {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
}

/* ===== ARTICLE CONTENT ===== */
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
  padding-top: 8px;
}

.article-content h2:first-child {
  margin-top: 0;
}

.article-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 16px;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--gray-800);
}

.article-content a:not(.cta-button) {
  color: var(--amber-dark);
  text-decoration: underline;
  text-decoration-color: rgba(232, 168, 56, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.article-content a:not(.cta-button):hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

.hub-intro a:not(.cta-button) {
  color: var(--amber-dark);
  text-decoration: underline;
  text-decoration-color: rgba(232, 168, 56, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.hub-intro a:not(.cta-button):hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

.cta-inner a:not(.cta-button) {
  color: var(--amber-light);
  text-decoration: underline;
  text-decoration-color: rgba(232, 168, 56, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.cta-inner a:not(.cta-button):hover {
  color: var(--white);
  text-decoration-color: var(--white);
}

.article-content ul, .article-content ol {
  margin: 0 0 16px 24px;
}

.article-content li {
  margin-bottom: 8px;
  font-size: 1rem;
  line-height: 1.65;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 28px;
  font-size: 0.9rem;
}

.article-content thead {
  background: var(--navy);
}

.article-content th {
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 12px 16px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.article-content td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--gray-100);
  color: var(--gray-800);
}

.article-content tbody tr:hover {
  background: var(--gray-50);
}

.article-content blockquote {
  border-left: 4px solid var(--amber);
  padding: 16px 24px;
  margin: 24px 0;
  background: var(--gray-50);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-600);
}

/* Inline CTA */
.cta-block {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 12px;
  padding: 32px;
  margin: 36px 0;
  text-align: center;
}

.cta-block h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-block p {
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.9rem !important;
  margin-bottom: 20px !important;
}

.cta-block .cta-button {
  display: inline-block;
  background: var(--amber);
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s;
}

.cta-block .cta-button:hover {
  background: var(--amber-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 168, 56, 0.3);
}

/* ===== SIDEBAR ===== */
.article-sidebar {
  position: sticky;
  top: 88px;
}

/* TOC */
.sidebar-toc {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-toc h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-200);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sidebar-toc ol {
  list-style: none;
  counter-reset: toc;
}

.sidebar-toc li {
  counter-increment: toc;
  margin-bottom: 0;
}

.sidebar-toc a {
  display: block;
  padding: 7px 0;
  color: var(--gray-600);
  text-decoration: none;
  font-size: 0.85rem;
  line-height: 1.4;
  border-bottom: 1px solid var(--gray-100);
  transition: all 0.2s;
}

.sidebar-toc li:last-child a {
  border-bottom: none;
}

.sidebar-toc a:hover {
  color: var(--amber-dark);
  padding-left: 4px;
}

.sidebar-toc a::before {
  content: counter(toc) ".";
  color: var(--gray-300);
  font-weight: 600;
  margin-right: 8px;
  font-size: 0.8rem;
}

/* Country Nav */
.sidebar-nav {
  background: var(--navy);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-nav h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.sidebar-nav a {
  display: block;
  padding: 8px 12px;
  margin: 0 -12px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 6px;
  transition: all 0.2s;
  line-height: 1.4;
}

.sidebar-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--amber);
}

.sidebar-nav a.active {
  background: rgba(232, 168, 56, 0.15);
  color: var(--amber);
  font-weight: 600;
}

.sidebar-nav .back-link {
  display: block;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.4);
  font-size: 0.8rem;
}

.sidebar-nav .back-link:hover {
  color: var(--amber);
  background: transparent;
}

/* ===== PAGE HEADER (Article Simple) ===== */
.page-header {
  background: var(--navy);
  padding: 40px 24px 48px;
  text-align: center;
}

.page-header-inner {
  max-width: 700px;
  margin: 0 auto;
}

.page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}

.page-header-desc {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

/* ===== SIMPLE CONTENT (Article Simple) ===== */
.simple-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
}

.simple-content h2 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 16px;
  letter-spacing: -0.02em;
}

.simple-content h2:first-child {
  margin-top: 0;
}

.simple-content h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  margin: 28px 0 12px;
}

.simple-content p {
  margin-bottom: 16px;
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-800);
}

.simple-content a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-decoration-color: rgba(232, 168, 56, 0.3);
  text-underline-offset: 3px;
  transition: all 0.2s;
}

.simple-content a:hover {
  color: var(--navy);
  text-decoration-color: var(--navy);
}

.simple-content ul, .simple-content ol {
  margin: 0 0 16px 24px;
}

.simple-content li {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.7;
}

.simple-content blockquote {
  border-left: 4px solid var(--amber);
  padding: 20px 28px;
  margin: 28px 0;
  background: var(--gray-50);
  border-radius: 0 10px 10px 0;
  font-size: 1.1rem;
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.7;
}

.simple-content hr {
  border: none;
  height: 1px;
  background: var(--gray-200);
  margin: 40px 0;
}

.highlight-box {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 28px 32px;
  margin: 32px 0;
  border-left: 4px solid var(--amber);
}

.highlight-box h3 {
  margin-top: 0;
}

.highlight-box p:last-child {
  margin-bottom: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.5);
  padding: 48px 24px 32px;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.footer-brand {
  max-width: 360px;
}

.footer-brand .logo {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 48px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--amber);
}

.footer-bottom {
  max-width: 1280px;
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .countries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 960px) {
  .article-layout {
    grid-template-columns: 1fr;
  }
  .article-sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .hub-content {
    grid-template-columns: 1fr;
  }
  .sidebar-facts {
    position: static;
  }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    gap: 0;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: transparent;
    max-height: 200px;
    padding: 0 0 0 16px;
  }

  .hero { padding: 60px 24px 50px; min-height: auto; }
  .hero h1 { font-size: 2.6rem; }
  .hero-subtitle { font-size: 1.05rem; }

  .stats-inner { flex-direction: column; align-items: center; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--gray-100); padding: 16px 0; }
  .stat-item:last-child { border-bottom: none; }

  .countries-grid { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 1.8rem; }
  .countries-section { padding: 48px 24px; }

  .country-hero { padding: 48px 24px 40px; }
  .country-hero h1 { font-size: 2.2rem; }
  .country-hero-desc { font-size: 1rem; }

  .hub-content { padding: 40px 24px 60px; }
  .article-card-number { width: 48px; font-size: 1.1rem; }
  .article-card-body { padding: 14px 16px; }
  .article-card-body h3 { font-size: 1rem; }

  .article-header { padding: 24px 24px 32px; }
  .article-header h1 { font-size: 2rem; }
  .article-sidebar { grid-template-columns: 1fr; }
  .article-content h2 { font-size: 1.4rem; }
  .article-content table { font-size: 0.82rem; }
  .article-content th, .article-content td { padding: 8px 10px; }

  .page-header { padding: 24px 24px 32px; }
  .page-header h1 { font-size: 2rem; }
  .simple-content { padding: 40px 24px 60px; }
  .simple-content p, .simple-content li { font-size: 1rem; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .countries-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .country-card { padding: 10px 12px; font-size: 0.82rem; }
  .country-icon { width: 28px; height: 28px; font-size: 0.8rem; }
}
