/* ═══════════════════════════════════════════════════════════════
   QUIZ PAGE
═══════════════════════════════════════════════════════════════ */

/* Hero */
.quiz-hero-section {
  background: linear-gradient(135deg, #08131e 0%, #0f2744 55%, #163460 100%);
  padding: 72px 0 64px;
  text-align: center;
}
.quiz-hero-inner { max-width: 600px; margin: 0 auto; }
.quiz-hero-section h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.quiz-hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Card */
.quiz-section { padding: 0 0 80px; background: var(--bg-soft); margin-top: -1px; }
.quiz-card {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Progress */
.quiz-progress-bar-wrap {
  height: 4px;
  background: var(--bg-soft);
}
.quiz-progress-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width .5s cubic-bezier(.4,0,.2,1);
}

.quiz-top-bar {
  padding: 16px 36px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quiz-step-ind {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}

/* Steps */
.quiz-steps-container { padding: 28px 36px 36px; }
.quiz-step { display: none; }
.quiz-step.active {
  display: block;
  animation: quizFadeUp .3s ease;
}
@keyframes quizFadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.quiz-q-text {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.3;
}
.quiz-q-sub {
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  margin-bottom: 24px;
  line-height: 1.55;
}

/* Option grid */
.quiz-opts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.quiz-opts-3col { grid-template-columns: 1fr 1fr 1fr; }
.quiz-opts-5 { grid-template-columns: 1fr 1fr; }
.quiz-opts-5 .quiz-opt:last-child:nth-child(odd) { grid-column: span 2; }

.quiz-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: border-color .15s, background .15s, box-shadow .15s, transform .1s;
  text-align: center;
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 90px;
}
.quiz-opt:hover {
  border-color: var(--navy);
  background: var(--bg-soft);
  box-shadow: 0 2px 12px rgba(8,20,44,.08);
}
.quiz-opt.selected {
  border-color: var(--gold);
  background: rgba(201,146,42,.06);
  box-shadow: 0 0 0 3px rgba(201,146,42,.18);
}
.quiz-opt-icon { font-size: 28px; line-height: 1; }
.quiz-opt-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

/* Back nav */
.quiz-nav {
  display: none;
  padding: 0 36px 28px;
}
.quiz-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  padding: 6px 0;
  transition: color .15s;
}
.quiz-back-btn:hover { color: var(--navy); }
.quiz-back-btn .material-icons { font-size: 17px; }

/* Results heading */
.quiz-results-head { margin-bottom: 24px; }
.quiz-results-head h2 { font-size: 24px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.quiz-results-head p { font-size: 14px; color: var(--text-muted); font-family: 'Inter', system-ui, sans-serif; }

/* Result cards */
.quiz-results-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.qrc {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: #fff;
}
.qrc-top {
  border: 2px solid var(--gold);
  box-shadow: 0 4px 20px rgba(201,146,42,.18);
}
.qrc-top .qrc-rank { background: var(--gold); color: #fff; }

.qrc-img {
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
  position: relative;
  min-height: 180px;
}
.qrc-top .qrc-img { min-height: 220px; }
.qrc-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,15,35,.7) 0%, rgba(5,15,35,.15) 60%, transparent 100%);
}
.qrc-rank {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 4px 9px;
  border-radius: 20px;
  font-family: 'Inter', system-ui, sans-serif;
}
.qrc-flag {
  position: absolute;
  bottom: 12px;
  left: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.75);
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.qrc-body { padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.qrc-name-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.qrc-name-row h3 { font-size: 19px; font-weight: 700; color: var(--navy); }
.qrc-score-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  font-family: 'Inter', system-ui, sans-serif;
}
.qrc-pct { font-size: 22px; font-weight: 800; color: var(--gold); font-family: 'Merriweather', Georgia, serif; }
.qrc-score-badge span:last-child { font-size: 10px; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; }

.qrc-bar-track {
  height: 5px;
  background: var(--bg-soft);
  border-radius: 3px;
  overflow: hidden;
}
.qrc-bar-fill {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
  transition: width .8s cubic-bezier(.4,0,.2,1);
}

.qrc-tagline { font-size: 13px; color: var(--text-muted); font-family: 'Inter', system-ui, sans-serif; line-height: 1.5; }

.qrc-hl {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.qrc-hl li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  margin: 0;
}
.qrc-hl li .material-icons { font-size: 15px; color: #22c55e; flex-shrink: 0; }

.qrc-cta {
  align-self: flex-start;
  font-size: 13px;
  padding: 9px 16px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.qrc-cta .material-icons { font-size: 16px; }

/* Share row */
.quiz-share-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 4px;
  flex-wrap: wrap;
}
.quiz-restart-link {
  background: none;
  border: none;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  text-decoration: underline;
  padding: 0;
}
.quiz-restart-link:hover { color: var(--navy); }

/* Homepage quiz CTA strip */
.quiz-cta-strip {
  background: linear-gradient(135deg, #08131e 0%, #0f2744 60%, #1a4d8c 100%);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 52px;
}
.quiz-cta-strip-text {}
.quiz-cta-strip-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,146,42,.18);
  border: 1px solid rgba(201,146,42,.35);
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  font-family: 'Inter', system-ui, sans-serif;
}
.quiz-cta-strip-eyebrow .material-icons { font-size: 12px; }
.quiz-cta-strip-text h2 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
}
.quiz-cta-strip-text p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  font-family: 'Inter', system-ui, sans-serif;
  max-width: 340px;
  line-height: 1.55;
}
.quiz-cta-strip .btn-gold { flex-shrink: 0; font-size: 14px; padding: 13px 24px; white-space: nowrap; }

/* Quiz nav header link */
.nav-quiz-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--gold);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius);
  transition: background .15s;
  font-family: 'Inter', system-ui, sans-serif;
  text-decoration: none;
}
.nav-quiz-btn:hover { background: #b8821f !important; }
.nav-quiz-btn .material-icons { font-size: 16px; }

/* Responsive */
@media (max-width: 700px) {
  .quiz-card { border-radius: 0; box-shadow: none; }
  .quiz-steps-container { padding: 20px 18px 24px; }
  .quiz-top-bar { padding: 14px 18px 0; }
  .quiz-nav { padding: 0 18px 20px; }
  .quiz-opts-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .quiz-opts-3col { grid-template-columns: 1fr; }
  .quiz-opts-5 .quiz-opt:last-child:nth-child(odd) { grid-column: span 1; }
  .quiz-opt { padding: 16px 10px; min-height: 80px; }
  .quiz-opt-icon { font-size: 24px; }
  .qrc { grid-template-columns: 130px 1fr; }
  .qrc-top { grid-template-columns: 1fr; }
  .qrc-top .qrc-img { min-height: 170px; }
  .quiz-cta-strip { flex-direction: column; padding: 28px 24px; }
  .quiz-cta-strip-text p { max-width: 100%; }
  .quiz-hero-section { padding: 48px 0 40px; }
  .quiz-section { padding-bottom: 40px; }
}
@media (max-width: 500px) {
  .qrc { grid-template-columns: 1fr; }
  .qrc-img { min-height: 140px; }
}

/* ═══════════════════════════════════════════════════════════════
   SOCIAL SHARE BUTTONS
═══════════════════════════════════════════════════════════════ */
.article-share-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-share-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
}
.article-share-buttons { display: flex; gap: 8px; }
.share-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  transition: transform .15s, box-shadow .15s, background .15s, color .15s, border-color .15s;
  cursor: pointer;
  text-decoration: none;
  flex-shrink: 0;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.share-btn.share-whatsapp:hover { background: #25D366; color: #fff; border-color: #25D366; }
.share-btn.share-facebook:hover { background: #1877F2; color: #fff; border-color: #1877F2; }
.share-btn.share-x:hover        { background: #000;    color: #fff; border-color: #000; }
.share-btn.share-linkedin:hover { background: #0A66C2; color: #fff; border-color: #0A66C2; }
.share-btn.share-email:hover    { background: var(--navy); color: #fff; border-color: var(--navy); }
.share-btn.share-copy:hover     { background: var(--gold); color: #fff; border-color: var(--gold); }
.share-btn.share-copied        { background: #22c55e !important; color: #fff !important; border-color: #22c55e !important; }
.share-btn .material-icons { font-size: 18px; }
.share-btn svg { display: block; }

/* ═══════════════════════════════════════════════════════════════
   CARD DATE ROW (article cards on home + country pages)
═══════════════════════════════════════════════════════════════ */
.card-date-row {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  margin-top: auto;
  padding-top: 10px;
}
.card-date-row .material-icons { font-size: 13px; }
.card-date-sep { margin: 0 2px; }

@media (max-width: 500px) {
  .article-share-row { gap: 10px; }
  .article-share-label { width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════
   ARTICLE — "YOU MIGHT ALSO LIKE" + "LATEST ON INSTAGRAM"
═══════════════════════════════════════════════════════════════ */
.article-related-section,
.article-ig-section {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.article-related-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
}
.article-related-bar {
  width: 4px;
  height: 20px;
  border-radius: 2px;
  flex-shrink: 0;
}
.article-related-head h2 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.article-related-card {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
.article-related-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.article-related-img {
  height: 110px;
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
}
.article-related-body { padding: 14px 16px 16px; }
.article-related-cat {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-family: 'Inter', system-ui, sans-serif;
  display: block;
  margin-bottom: 6px;
}
.article-related-body h4 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Instagram strip */
.article-ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.article-ig-grid a {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-soft);
}
.article-ig-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease, opacity .2s ease;
}
.article-ig-grid a:hover img { transform: scale(1.05); opacity: .92; }
.article-ig-follow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--gold);
  text-decoration: none;
}
.article-ig-follow:hover { text-decoration: underline; }
.article-ig-follow .material-icons { font-size: 17px; }

@media (max-width: 700px) {
  .article-related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .article-related-grid { grid-template-columns: 1fr; }
  .article-ig-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   HOMEPAGE — SEE MORE + INSTAGRAM SECTION
═══════════════════════════════════════════════════════════════ */
.articles-see-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.home-ig-section {
  padding: 56px 0 68px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.home-ig-section .section-head { margin-bottom: 24px; }
.home-ig-section .article-ig-grid {
  max-width: 560px;
  margin: 0 auto 18px;
}
.home-ig-section { text-align: center; }
.home-ig-section .article-ig-follow { justify-content: center; }

/* ── Variables ── */
:root {
  --navy:       #0f2744;
  --navy-mid:   #1a3a60;
  --gold:       #c9922a;
  --gold-light: #e0ae50;
  --text:       #1a202c;
  --text-muted: #64748b;
  --bg:         #ffffff;
  --bg-soft:    #f7f8fa;
  --border:     #e2e8f0;
  --radius:     8px;
  --radius-lg:  14px;
  --shadow:     0 1px 4px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 20px rgba(0,0,0,0.09);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.14);
  --max-w:      1180px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { padding-left: 1.4em; }
li { margin-bottom: 4px; }
h1, h2, h3, h4 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.25;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'Inter', system-ui, sans-serif;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-mid); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: #b8821f; }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--navy); }
.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.35);
}
.btn-outline-white:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.07); }
.btn-block { width: 100%; justify-content: center; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: #cbd5e0; }

/* ═══════════════════════════════════════════════════════════════
   HEADER — white, clean, editorial
═══════════════════════════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.4px;
  font-family: 'Merriweather', Georgia, serif;
}
.logo-dot { color: var(--gold); }
.logo-sm .logo-text { font-size: 16px; }

/* Desktop nav */
.site-nav-desktop {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav-link {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: var(--radius);
  transition: all .15s;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-link:hover { color: var(--navy); background: var(--bg-soft); }
.nav-link.active { color: var(--navy); font-weight: 600; background: var(--bg-soft); }

/* Right side actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ── Search toggle button ── */
.nav-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--text-muted);
  transition: background .15s, color .15s;
  margin-left: 4px;
}
.nav-search-btn:hover { color: var(--navy); background: var(--bg-soft); }
.nav-search-btn .material-icons { font-size: 20px; }

/* Slide-down search bar */
.header-search {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  border-bottom: 0px solid var(--border);
  background: #fff;
  transition: max-height .32s cubic-bezier(.4,0,.2,1),
              opacity .22s ease,
              border-bottom-width .32s;
}
.header-search.open {
  max-height: 64px;
  opacity: 1;
  border-bottom-width: 1px;
}
.header-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 54px;
}
.header-search-icon { color: var(--text-muted); font-size: 20px; flex-shrink: 0; }
.header-search-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: transparent;
}
.header-search-form input::placeholder { color: #b0bec5; }
.header-search-close {
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: background .15s;
  flex-shrink: 0;
}
.header-search-close:hover { background: var(--bg-soft); color: var(--navy); }
.header-search-close .material-icons { font-size: 18px; }

/* ── Language selector ── */
.lang-selector { position: relative; }
.nav-lang-pill {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px 5px 5px;
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  transition: border-color .15s, color .15s, background .15s;
  background: #fff;
  cursor: pointer;
}
.nav-lang-pill:hover { border-color: var(--navy); color: var(--navy); }
.lang-caret {
  font-size: 16px !important;
  transition: transform .2s ease;
  color: var(--text-muted);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition: opacity .2s ease, transform .2s ease;
  z-index: 300;
}
.lang-dropdown.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0) scale(1);
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: background .12s;
  font-family: 'Inter', system-ui, sans-serif;
  cursor: pointer;
}
.lang-option:hover { background: var(--bg-soft); }
.lang-active { color: var(--navy); font-weight: 600; }
.lang-check { font-size: 16px !important; margin-left: auto; color: var(--gold); }
.lang-soon { opacity: .55; cursor: default; pointer-events: none; }
.lang-soon-tag {
  margin-left: auto;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Hamburger (mobile only) ── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: var(--radius);
  padding: 8px;
  transition: background .15s;
}
.hamburger:hover { background: var(--bg-soft); }
.hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease, width .2s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Mobile menu ── */
.mobile-menu {
  overflow: hidden;
  max-height: 0;
  background: #fff;
  border-top: 0px solid var(--border);
  transition: max-height .35s cubic-bezier(.4,0,.2,1),
              border-top-width .1s;
}
.mobile-menu.open {
  max-height: 480px;
  border-top-width: 1px;
}
.mobile-menu-inner { padding: 8px 0 16px; }
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background .12s;
}
.mobile-nav-link:hover { background: var(--bg-soft); }
.mobile-nav-link .material-icons { font-size: 20px; color: var(--text-muted); }
.mobile-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 24px;
}

/* Circular flags */
.nav-flag-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.flag-circle-xs {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.flag-circle-sm {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.country-flag-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.75);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════════════════════════════
   HOME INTRO
═══════════════════════════════════════════════════════════════ */
.home-intro {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
  padding: 64px 0 56px;
  text-align: center;
}
.home-intro-inner { max-width: 620px; margin: 0 auto; }
.home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,146,42,0.12);
  border: 1px solid rgba(201,146,42,0.35);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 20px;
  font-family: 'Inter', system-ui, sans-serif;
}
.home-eyebrow .material-icons { font-size: 13px; }
.home-intro-inner h1 {
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -.5px;
  margin-bottom: 16px;
}
.home-sub {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════
   COUNTRY PICKER
═══════════════════════════════════════════════════════════════ */
.country-picker-section {
  padding: 56px 0 60px;
  background: #fff;
}
.country-picker-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.country-picker-card {
  position: relative;
  height: 230px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
a.country-picker-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.country-picker-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform .5s ease;
}
a.country-picker-card:hover .country-picker-bg { transform: scale(1.04); }
.country-picker-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(5,15,35,0.85) 0%,
    rgba(5,15,35,0.35) 55%,
    rgba(5,15,35,0.1) 100%);
}
.country-picker-content {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 20px 22px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.country-picker-content h3 {
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.2;
  font-family: 'Merriweather', Georgia, serif;
}
.country-guide-count {
  color: rgba(255,255,255,.75);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Inter', system-ui, sans-serif;
  display: block;
}
.country-coming-soon {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,.7);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.country-soon { opacity: .65; cursor: default; }

/* ═══════════════════════════════════════════════════════════════
   COUNTRY FILTER TABS + HOME ARTICLES GRID
═══════════════════════════════════════════════════════════════ */
.country-filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.country-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  transition: all .15s;
}
.country-tab:hover { border-color: var(--navy); color: var(--navy); }
.country-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.articles-home-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Country badge on article card */
.card-country-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.card-read-time {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  margin-top: auto;
  padding-top: 10px;
}

/* Legacy hero kept for any remaining references */
.hero {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1555881400-74d7acaacd8b?w=1600&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 45%;
  min-height: 530px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,20,44,0.90) 0%, rgba(8,20,44,0.72) 55%, rgba(8,20,44,0.40) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 88px 0; max-width: 660px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(201,146,42,0.18); border: 1px solid rgba(201,146,42,0.4);
  color: var(--gold-light); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.2px; padding: 5px 12px;
  border-radius: 20px; margin-bottom: 22px; font-family: 'Inter', system-ui, sans-serif;
}
.hero-eyebrow .material-icons { font-size: 13px; }
.hero-inner h1 { font-size: clamp(34px,5vw,56px); font-weight: 700; color: #fff; line-height: 1.1; letter-spacing: -.5px; margin-bottom: 18px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.78); max-width: 520px; margin-bottom: 34px; line-height: 1.65; font-family: 'Inter', system-ui, sans-serif; }
.hero-stats { display: flex; gap: 28px; margin-top: 28px; flex-wrap: wrap; }
.hero-stat { color: rgba(255,255,255,.55); font-size: 13px; display: flex; align-items: center; gap: 6px; font-family: 'Inter', system-ui, sans-serif; }
.hero-stat .material-icons { font-size: 15px; color: var(--gold-light); }

/* ═══════════════════════════════════════════════════════════════
   SECTION HEADS
═══════════════════════════════════════════════════════════════ */
.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}
.section-head h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.3px;
}
.section-head a {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  font-family: 'Inter', system-ui, sans-serif;
}
.section-head a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   ARTICLE CARDS — image-first, editorial
═══════════════════════════════════════════════════════════════ */
.articles-section { padding: 68px 0; }
.articles-section.bg-soft { background: var(--bg-soft); }

/* Featured grid: 1 big (left) + 4 small (right 2×2) */
.articles-featured-grid {
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 22px;
}
.articles-featured-grid .article-card:first-child {
  grid-row: span 2;
}
.articles-featured-grid .article-card:first-child .card-img {
  height: 300px;
}
.articles-featured-grid .article-card:first-child .card-body h3 {
  font-size: 21px;
}
.articles-featured-grid .article-card:first-child .card-excerpt {
  display: -webkit-box;
}

/* Regular grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 22px;
}

/* The card itself */
.article-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease;
}
.article-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card-img {
  height: 196px;
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
  flex-shrink: 0;
}
.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-family: 'Inter', system-ui, sans-serif;
}
.cat-pill .material-icons { font-size: 11px; }
.read-time {
  font-size: 12px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
}
.article-card:hover .card-body h3 { color: #1a4d8c; }
.card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.58;
  display: none;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: 'Inter', system-ui, sans-serif;
}
.article-card-show-excerpt .card-excerpt { display: -webkit-box; }

/* ═══════════════════════════════════════════════════════════════
   TOPICS / CATEGORY GRID
═══════════════════════════════════════════════════════════════ */
.topics-section {
  padding: 68px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.topics-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 22px 12px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  transition: all .2s ease;
  text-align: center;
  background: #fff;
}
.topic-card:hover {
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.topic-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.topic-icon .material-icons { font-size: 23px; color: #fff; }
.topic-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   COUNTRY CARDS
═══════════════════════════════════════════════════════════════ */
.section-countries {
  padding: 68px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
}
.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.country-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.country-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.country-card-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
}
.country-card-body {
  padding: 24px;
  background: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.country-flag { font-size: 30px; margin-bottom: 4px; }
.country-card-body h3 { font-size: 22px; font-weight: 700; color: var(--navy); }
.country-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }
.country-card-cta {
  font-size: 14px;
  font-weight: 600;
  color: var(--gold);
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   PROPERTIES CTA STRIP
═══════════════════════════════════════════════════════════════ */
.props-cta-section { padding: 0 0 68px; background: var(--bg-soft); }
.props-cta-strip {
  background: linear-gradient(135deg, #0a1929 0%, #0f2744 50%, #163460 100%);
  border-radius: var(--radius-lg);
  padding: 52px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.props-cta-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.props-cta-text p { color: rgba(255,255,255,.65); font-size: 15px; line-height: 1.6; max-width: 400px; }
.props-cta-stats {
  display: flex;
  gap: 40px;
  margin-top: 22px;
}
.props-stat { color: rgba(255,255,255,.45); font-size: 13px; font-family: 'Inter', system-ui, sans-serif; }
.props-stat strong { display: block; font-size: 24px; color: #fff; margin-bottom: 2px; font-family: 'Merriweather', Georgia, serif; }

/* ═══════════════════════════════════════════════════════════════
   COUNTRY PAGE HERO
═══════════════════════════════════════════════════════════════ */
.country-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
}
.country-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(8,20,44,0.95) 0%,
    rgba(8,20,44,0.55) 50%,
    rgba(8,20,44,0.2) 100%);
}
.country-hero-inner {
  position: relative;
  z-index: 1;
  color: #fff;
  padding: 52px 0;
}
.country-hero-inner .breadcrumb { color: rgba(255,255,255,.9); margin-bottom: 20px; }
.country-hero-inner .breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }
.country-hero-inner .breadcrumb a:hover { text-decoration-color: rgba(255,255,255,.9); }
.country-hero-inner .breadcrumb .sep { color: rgba(255,255,255,.55); }
.country-hero-inner .breadcrumb span:last-child { color: rgba(255,255,255,.75); }
.country-hero-inner h1 {
  font-size: clamp(28px, 4.5vw, 46px);
  font-weight: 700;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-flag {
  width: 36px;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  flex-shrink: 0;
}

/* Category nav (country page) — wrapping pill buttons, no horizontal scroll */
.categories-nav-bar {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.categories-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.cat-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  border: 1.5px solid var(--border);
  border-radius: 20px;
  background: var(--bg);
  transition: border-color .15s, color .15s, background .15s, box-shadow .15s;
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
}
.cat-nav-item:hover {
  color: var(--navy);
  border-color: var(--navy);
  background: var(--bg-soft);
  box-shadow: 0 2px 6px rgba(8,20,44,.08);
}
.cat-nav-item .material-icons { font-size: 14px; }

.country-content { padding: 48px 0 80px; }
.cat-section { margin-bottom: 56px; }

/* News-style section divider */
.cat-section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.cat-section-header::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cat-section-accent {
  width: 3px;
  height: 20px;
  border-radius: 2px;
  flex-shrink: 0;
}
.cat-section-icon { font-size: 18px; flex-shrink: 0; }
.cat-section-header h2 {
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: 'Inter', system-ui, sans-serif;
  white-space: nowrap;
}

/* Properties teaser (country page) */
.properties-teaser {
  background: linear-gradient(135deg, #0a1929, #1a4d8c);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.props-icon {
  width: 58px;
  height: 58px;
  background: rgba(201,146,42,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.props-icon .material-icons { font-size: 28px; color: var(--gold); }
.props-text { flex: 1; min-width: 180px; }
.props-text h3 { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 5px; }
.props-text p { font-size: 14px; color: rgba(255,255,255,.6); font-family: 'Inter', system-ui, sans-serif; }

/* ═══════════════════════════════════════════════════════════════
   ARTICLE PAGE
═══════════════════════════════════════════════════════════════ */
.article-layout { padding: 0 0 80px; }

/* Hero image at top of article */
.article-hero-img {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
  margin-bottom: 0;
}

.article-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  padding-top: 40px;
}
.article-body { min-width: 0; }

.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-family: 'Inter', system-ui, sans-serif;
}
.article-breadcrumb a { color: var(--text-muted); }
.article-breadcrumb a:hover { color: var(--navy); }
.article-breadcrumb .sep { color: #cbd5e0; }

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 14px;
  font-family: 'Inter', system-ui, sans-serif;
}
.cat-badge .material-icons { font-size: 13px; }
.cat-badge-lg { font-size: 12px; padding: 5px 14px; }

.article-header { margin-bottom: 0; }
.article-header h1 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -.4px;
  margin-bottom: 12px;
}
.article-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 0;
  line-height: 1.55;
  font-weight: 400;
  font-family: 'Inter', system-ui, sans-serif;
}
.article-meta-row {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 16px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 18px 0 32px;
}
.article-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.article-meta-item .material-icons { font-size: 15px; }

.article-excerpt {
  background: linear-gradient(135deg, #eef5ff 0%, #f7faff 100%);
  border-left: 4px solid var(--navy);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px;
  margin-bottom: 36px;
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
  font-style: italic;
  font-family: 'Inter', system-ui, sans-serif;
}

/* Article content typography */
.article-content h2 {
  font-size: 23px;
  font-weight: 700;
  color: var(--navy);
  margin: 44px 0 14px;
  padding-top: 10px;
  line-height: 1.3;
  border-top: 1px solid var(--border);
}
.article-content h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 30px 0 10px;
}
.article-content p {
  font-size: 16px;
  margin-bottom: 18px;
  line-height: 1.78;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
}
.article-content ul, .article-content ol { margin-bottom: 18px; }
.article-content li {
  font-size: 16px;
  line-height: 1.72;
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
}
.article-content strong { font-weight: 600; color: #1e293b; }
.article-content a { color: var(--navy); text-decoration: underline; }
.article-content a:hover { color: var(--gold); }

.article-disclaimer {
  display: flex;
  gap: 12px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-top: 48px;
  font-size: 13px;
  color: #78350f;
  line-height: 1.55;
  font-family: 'Inter', system-ui, sans-serif;
}
.article-disclaimer .material-icons { color: #d97706; flex-shrink: 0; font-size: 18px; }

/* Article sidebar */
.article-sidebar { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 20px; }
.sidebar-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
}
.sidebar-card > h3 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: 'Inter', system-ui, sans-serif;
}
.sidebar-article-link {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.4;
  transition: color .15s;
  font-family: 'Inter', system-ui, sans-serif;
}
.sidebar-article-link:last-of-type { border-bottom: none; }
.sidebar-article-link:hover { color: var(--navy); }
.sidebar-article-link .material-icons { flex-shrink: 0; margin-top: 2px; font-size: 17px; }
.sidebar-all-link {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  font-family: 'Inter', system-ui, sans-serif;
}
.sidebar-properties-inner {
  background: linear-gradient(135deg, #0a1929, #163460);
  border-radius: var(--radius);
  padding: 22px;
  margin-bottom: 14px;
  text-align: center;
}
.sidebar-properties-inner .material-icons { font-size: 30px; color: var(--gold); margin-bottom: 10px; }
.sidebar-properties-inner h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 6px;
}
.sidebar-properties-inner p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 16px;
  font-family: 'Inter', system-ui, sans-serif;
}
.sidebar-cat-link {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 0;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  transition: all .15s;
  font-family: 'Inter', system-ui, sans-serif;
}
.sidebar-cat-link:last-child { border-bottom: none; }
.sidebar-cat-link:hover { padding-left: 5px; color: var(--navy); }
.sidebar-cat-link .material-icons { font-size: 17px; }

/* ═══════════════════════════════════════════════════════════════
   PROPERTIES PAGE
═══════════════════════════════════════════════════════════════ */
.properties-header {
  background: linear-gradient(135deg, var(--navy) 0%, #163460 100%);
  padding: 36px 0;
  margin-bottom: 32px;
}
.properties-header h1 {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}
.properties-subtitle { font-size: 14px; color: rgba(255,255,255,.58); margin-top: 8px; font-family: 'Inter', system-ui, sans-serif; }
.properties-subtitle a { color: rgba(255,255,255,.78); text-decoration: underline; }

/* ── Filter drawer (slide-in from right) ──────────────────── */
.properties-layout {
  padding-bottom: 80px;
}

/* Backdrop */
.filters-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 44, 0.45);
  backdrop-filter: blur(3px);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity .32s ease;
}
.filters-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

/* Drawer */
.filters-panel {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: 340px;
  max-width: 92vw;
  background: var(--bg);
  box-shadow: -6px 0 32px rgba(8,20,44,.18);
  z-index: 501;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.filters-panel.open {
  transform: translateX(0);
}

.filters-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px 14px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.filters-drawer-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .7px;
  font-family: 'Inter', system-ui, sans-serif;
}
.filters-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 6px;
  transition: background .15s, color .15s;
}
.filters-close-btn:hover { background: var(--bg-soft); color: var(--navy); }

.filters-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px;
  overscroll-behavior: contain;
}

/* Trigger button */
.filters-trigger-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.btn-filters-open {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background .15s, border-color .15s, box-shadow .15s;
}
.btn-filters-open:hover {
  background: var(--bg-soft);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(8,20,44,.08);
}
.btn-filters-open .material-icons { font-size: 17px; }
.filters-active-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  border-radius: 20px;
  min-width: 18px;
  height: 18px;
  font-size: 11px;
  font-weight: 700;
  padding: 0 5px;
  margin-left: 2px;
}
.filters-active-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  flex: 1;
}
.filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(26,77,140,.08);
  border: 1px solid rgba(26,77,140,.18);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  color: var(--navy);
  font-family: 'Inter', system-ui, sans-serif;
}
.filter-pill a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-left: 2px;
}
.filter-pill a:hover { color: var(--navy); }
.filter-pill .material-icons { font-size: 12px; }

.filters-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 22px;
  text-transform: uppercase;
  letter-spacing: .7px;
  font-family: 'Inter', system-ui, sans-serif;
}
.filter-group { margin-bottom: 18px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--text-muted);
  margin-bottom: 7px;
  font-family: 'Inter', system-ui, sans-serif;
}
.filter-group select,
.filter-group input[type=text],
.filter-group input[type=number] {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,39,68,0.08);
}
.radio-group { display: flex; flex-direction: column; gap: 10px; }
.radio-label { display: flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; font-family: 'Inter', system-ui, sans-serif; }
.radio-label input { accent-color: var(--navy); width: 15px; height: 15px; }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range span { color: var(--text-muted); flex-shrink: 0; font-size: 13px; }
.price-range input { width: 0; flex: 1; }
.filter-divider { height: 1px; background: var(--border); margin: 16px 0; }

.props-count {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
  font-family: 'Inter', system-ui, sans-serif;
}
.props-count strong { color: var(--navy); }

.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 20px;
}
.property-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-decoration: none;
  color: inherit;
}
.property-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.property-card-body { padding: 18px; flex: 1; }
.property-price {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.price-period { font-size: 13px; font-weight: 400; color: var(--text-muted); font-family: 'Inter', system-ui, sans-serif; }
.property-title {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
  margin-bottom: 8px;
  font-family: 'Inter', system-ui, sans-serif;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-family: 'Inter', system-ui, sans-serif;
}
.property-location .material-icons { font-size: 14px; }
.property-specs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.spec {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.spec .material-icons { font-size: 14px; }
.type-badge {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: capitalize;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.property-desc { font-size: 13px; color: var(--text-muted); line-height: 1.5; font-family: 'Inter', system-ui, sans-serif; }
.property-card-footer {
  background: var(--bg-soft);
  padding: 12px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.view-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 3px;
  font-family: 'Inter', system-ui, sans-serif;
}
.view-link .material-icons { font-size: 14px; }
.properties-source-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 14px 18px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  font-family: 'Inter', system-ui, sans-serif;
}
.properties-source-note a { color: var(--navy); text-decoration: underline; }
.properties-source-note .material-icons { font-size: 16px; flex-shrink: 0; }
.no-results { text-align: center; padding: 80px 20px; }
.no-results .material-icons { font-size: 52px; color: #c8d3e0; margin-bottom: 18px; }
.no-results h3 { font-size: 22px; margin-bottom: 8px; color: var(--navy); }
.no-results p { color: var(--text-muted); font-family: 'Inter', system-ui, sans-serif; }
.no-results a { color: var(--navy); text-decoration: underline; }

/* ═══════════════════════════════════════════════════════════════
   PROPERTY DETAIL PAGE
═══════════════════════════════════════════════════════════════ */
/* ── Property Image Carousel ── */
.carousel {
  position: relative;
  width: 100%;
  height: 500px;
  background: #111827;
  overflow: hidden;
}
.carousel-track { position: relative; width: 100%; height: 100%; }
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1e293b;
  opacity: 0;
  transition: opacity .45s ease;
}
.carousel-slide.active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(4px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .15s;
}
.carousel-btn:hover { background: rgba(255,255,255,0.35); }
.carousel-prev { left: 20px; }
.carousel-next { right: 20px; }
.carousel-btn .material-icons { font-size: 28px; }

.carousel-counter {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 10;
  background: rgba(0,0,0,0.5);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  font-family: 'Inter', system-ui, sans-serif;
}

.carousel-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
}
.carousel-thumbs::-webkit-scrollbar { display: none; }
.carousel-thumb {
  flex-shrink: 0;
  width: 68px;
  height: 46px;
  border-radius: 4px;
  background-size: cover;
  background-position: center;
  background-color: #374151;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color .15s, opacity .15s;
  opacity: .65;
}
.carousel-thumb.active,
.carousel-thumb:hover { border-color: #fff; opacity: 1; }

.prop-detail-container { padding-bottom: 80px; }

.prop-detail-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
  padding-top: 32px;
}

/* Tags */
.prop-detail-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.prop-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-family: 'Inter', system-ui, sans-serif;
}
.tag-sale { background: #dcfce7; color: #166534; }
.tag-rent { background: #dbeafe; color: #1e40af; }
.tag-type { background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border); text-transform: capitalize; }

.prop-detail-title {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.prop-detail-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 24px;
  font-family: 'Inter', system-ui, sans-serif;
}
.prop-detail-location .material-icons { font-size: 18px; color: var(--gold); }

/* Specs row */
.prop-specs-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 32px;
}
.prop-spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
}
.prop-spec-item .material-icons { font-size: 20px; color: var(--navy); }

/* Description */
.prop-description { margin-bottom: 32px; }
.prop-description h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.prop-description p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
}

/* Sidebar price card */
.prop-detail-sidebar { position: sticky; top: 86px; }
.prop-price-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.prop-price-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: var(--text-muted);
  margin-bottom: 6px;
  font-family: 'Inter', system-ui, sans-serif;
}
.prop-price-value {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 20px;
  font-family: 'Merriweather', Georgia, serif;
}
.prop-price-period { font-size: 18px; font-weight: 400; color: var(--text-muted); }
.prop-price-details { margin-bottom: 24px; display: flex; flex-direction: column; gap: 8px; }
.prop-price-detail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
}
.prop-price-detail .material-icons { font-size: 17px; }

.btn-contact-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 20px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background .15s, transform .15s;
  margin-bottom: 12px;
}
.btn-contact-cta:hover { background: #b8821f; transform: translateY(-1px); }
.btn-contact-cta .material-icons { font-size: 20px; }

.prop-cta-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.5;
  font-family: 'Inter', system-ui, sans-serif;
}
.prop-back-link {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  font-family: 'Inter', system-ui, sans-serif;
  transition: color .15s;
}
.prop-back-link:hover { color: var(--navy); }

.prop-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background .15s, border-color .15s, box-shadow .15s;
  white-space: nowrap;
}
.prop-back-btn:hover {
  background: var(--bg-soft);
  border-color: var(--navy);
  box-shadow: 0 2px 8px rgba(8,20,44,.08);
}
.prop-back-btn .material-icons { font-size: 16px; }

/* Property card image (on listing grid) */
.property-card-img {
  height: 190px;
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.property-card-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #e8edf5 0%, #dde4ed 100%);
}
.property-card-img-placeholder .material-icons {
  font-size: 40px; color: #b0bcc8;
}
.prop-type-badge {
  position: absolute; bottom: 10px; left: 10px;
  background: rgba(8,20,44,.7); backdrop-filter: blur(4px);
  color: #fff; font-size: 11px; font-weight: 600; text-transform: capitalize;
  padding: 3px 8px; border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}
.prop-rent-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--gold); color: #fff; font-size: 11px; font-weight: 700;
  padding: 3px 8px; border-radius: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}
.props-results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px; gap: 10px; flex-wrap: wrap;
}
.props-filtered-note {
  color: var(--text-muted); font-size: 12px; margin-left: 6px;
}
.price-poa { font-size: 16px; font-weight: 600; color: var(--text-muted); }

/* ── Pagination ───────────────────────────────────────────── */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; margin-top: 48px; flex-wrap: wrap;
  font-family: 'Inter', system-ui, sans-serif;
}
.page-btn {
  display: flex; align-items: center; justify-content: center;
  min-width: 38px; height: 38px; padding: 0 10px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy);
  background: var(--bg); text-decoration: none;
  transition: background .15s, border-color .15s, color .15s;
  cursor: pointer;
}
.page-btn:hover:not(.disabled):not(.page-current) {
  background: var(--bg-soft); border-color: var(--navy);
}
.page-btn.page-current {
  background: var(--navy); color: #fff; border-color: var(--navy);
  cursor: default;
}
.page-btn.disabled { opacity: .38; cursor: default; pointer-events: none; }
.page-btn .material-icons { font-size: 18px; }
.page-ellipsis {
  display: flex; align-items: center; min-width: 24px;
  justify-content: center; color: var(--text-muted); font-size: 14px;
}

/* Filter search input at top of sidebar */
.filter-search-top {
  position: relative; margin-bottom: 18px;
}
.filter-search-top input {
  width: 100%; padding: 9px 12px 9px 36px;
  border: 1px solid var(--border); border-radius: 8px;
  font-size: 14px; color: var(--text); background: var(--bg);
  font-family: 'Inter', system-ui, sans-serif;
  box-sizing: border-box;
}
.filter-search-top input:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(26,77,140,.1);
}
.filter-search-icon {
  position: absolute; left: 10px; top: 50%; transform: translateY(-50%);
  font-size: 16px; color: var(--text-muted); pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════════
   LEAD CAPTURE MODAL
═══════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 20, 44, 0.72);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
  backdrop-filter: blur(4px);
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}
.modal-card {
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.25);
  transform: translateY(24px) scale(0.97);
  transition: transform .25s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all .15s;
}
.modal-close:hover { background: var(--border); color: var(--navy); }
.modal-close .material-icons { font-size: 18px; }

.modal-prop-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  margin-bottom: 24px;
}
.modal-prop-img {
  width: 64px;
  height: 52px;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #dde4ed;
  flex-shrink: 0;
}
.modal-prop-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  font-family: 'Merriweather', Georgia, serif;
}
.modal-prop-title {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
  font-family: 'Inter', system-ui, sans-serif;
}

.modal-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.modal-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.55;
  font-family: 'Inter', system-ui, sans-serif;
}

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.modal-field { display: flex; flex-direction: column; gap: 5px; }
.modal-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  font-family: 'Inter', system-ui, sans-serif;
}
.modal-field label .req { color: #e53e3e; }
.modal-field input {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.modal-field input:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15,39,68,0.08);
}

.modal-submit {
  width: 100%;
  padding: 15px;
  background: var(--gold);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
  transition: background .15s;
  margin-top: 4px;
}
.modal-submit:hover:not(:disabled) { background: #b8821f; }
.modal-submit:disabled { opacity: .7; cursor: not-allowed; }
.modal-submit-text, .modal-submit-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.modal-submit-text .material-icons { font-size: 18px; }
.modal-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.modal-disclaimer {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   SEARCH PAGE
═══════════════════════════════════════════════════════════════ */
.search-page { padding: 52px 0 80px; }
.page-title { font-size: 32px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.page-subtitle { font-size: 15px; color: var(--text-muted); margin-bottom: 28px; font-family: 'Inter', system-ui, sans-serif; }
.search-form-page {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 4px 4px 4px 14px;
  gap: 8px;
  max-width: 600px;
  margin-bottom: 36px;
  transition: border-color .15s;
}
.search-form-page:focus-within { border-color: var(--navy); }
.search-form-page .search-icon { color: var(--text-muted); }
.search-form-page input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  font-family: 'Inter', system-ui, sans-serif;
  padding: 12px 0;
  color: var(--text);
  background: transparent;
}
.search-form-page button {
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
}
.search-results { display: flex; flex-direction: column; gap: 8px; }
.search-result-item {
  display: block;
  padding: 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: box-shadow .15s, border-color .15s;
}
.search-result-item:hover { box-shadow: var(--shadow); border-color: #c8d3e0; }
.search-result-item h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin: 6px 0 8px; }
.search-result-item p { font-size: 14px; color: var(--text-muted); line-height: 1.55; font-family: 'Inter', system-ui, sans-serif; }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
.site-footer {
  background: #08131e;
  color: rgba(255,255,255,.6);
  padding: 68px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  padding-bottom: 52px;
}
.footer-brand .logo-text { color: #fff; }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,.38);
  margin-top: 14px;
  line-height: 1.65;
  max-width: 230px;
  font-family: 'Inter', system-ui, sans-serif;
}
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,.28);
  margin-bottom: 4px;
  font-family: 'Inter', system-ui, sans-serif;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .15s;
  font-family: 'Inter', system-ui, sans-serif;
}
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 22px 0;
}
.footer-bottom p {
  font-size: 12px;
  color: rgba(255,255,255,.28);
  font-family: 'Inter', system-ui, sans-serif;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 860px) {
  .site-nav-desktop { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 60px; }
}

@media (max-width: 1024px) {
  .articles-featured-grid { grid-template-columns: 1fr 1fr; }
  .articles-featured-grid .article-card:first-child { grid-column: span 2; grid-row: span 1; }
  .articles-featured-grid .article-card:first-child .card-img { height: 240px; }
  .topics-grid { grid-template-columns: repeat(3, 1fr); }
  .country-picker-grid { grid-template-columns: repeat(3, 1fr); }
  .articles-home-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .article-container { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .filters-panel { width: 100%; max-width: 100vw; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .props-cta-strip { flex-direction: column; text-align: center; }
  .props-cta-stats { justify-content: center; }
  .props-cta-strip .btn { align-self: center; }
  .categories-nav-bar { padding: 12px 0; }
  .prop-detail-layout { grid-template-columns: 1fr; }
  .prop-detail-sidebar { position: static; }
  .carousel { height: 320px; }
  .carousel-thumbs { display: none; }
  .country-picker-grid { grid-template-columns: repeat(2, 1fr); }
  .country-picker-card { height: 200px; }
}
@media (max-width: 700px) {
  .hero { min-height: 440px; }
  .hero-inner { padding: 60px 0; }
  .articles-featured-grid { grid-template-columns: 1fr; }
  .articles-featured-grid .article-card:first-child { grid-column: span 1; grid-row: span 1; }
  .countries-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 28px; }
  .footer-inner { gap: 32px; }
  .topics-grid { grid-template-columns: repeat(3, 1fr); }
  .properties-teaser { flex-direction: column; }
  .country-picker-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .articles-home-grid { grid-template-columns: 1fr; }
  .home-intro { padding: 44px 0 36px; }
}
@media (max-width: 500px) {
  .article-hero-img { height: 220px; }
  .topics-grid { grid-template-columns: repeat(2, 1fr); }
  .props-cta-strip { padding: 36px 28px; }
  .container { padding: 0 16px; }
  .country-picker-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .country-picker-card { height: 160px; }
  .country-picker-content h3 { font-size: 16px; }
  .country-flag-circle { width: 38px; height: 38px; }
}
