/* Locals Insider City Tags v1.0.4 stylesheet
   Mirrors country plugin (li-ci-*) CSS exactly, with li-ct-* class prefix.
   One addition: .li-ct-pullquote (italic gold pull-quote inside cards).
   Assumes theme loads Playfair Display + Inter. Falls back to Georgia/system. */

.li-ct {
  --li-bg: #ffffff;
  --li-surface: #fafafa;
  --li-surface-2: #f5f3ee;
  --li-text: #1a1a1a;
  --li-text-soft: #4a4a4a;
  --li-text-muted: #7a7a7a;
  --li-line: #e4e4e2;
  --li-accent: #c5a572;
  --li-accent-soft: #f3ede0;
  --li-accent-dark: #9a7d4d;
  --li-tag: #1e3a2f;
  --li-tag-soft: #e6ede9;
  --li-error: #b94a48;
}

/* ============================================================
   Base container
   ============================================================ */
.li-ct-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 0 32px 0;
  padding: 0;
  background: transparent;
  grid-column: 1 / -1 !important;
}
.li-ct {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--li-text);
  background: #fff;
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  margin: 0 0 32px 0;
  padding: 36px 28px;
  box-sizing: border-box;
}
.li-ct * { box-sizing: border-box; }
.li-ct a { color: var(--li-accent-dark); }
.li-ct a:hover { color: var(--li-accent); }

/* ============================================================
   Hero (no H1 — WordPress renders that above the plugin)
   ============================================================ */
.li-ct-hero { text-align: center; padding: 0 0 28px; border-bottom: 1px solid var(--li-line); margin-bottom: 32px; }
.li-ct-hero-flag { font-size: 56px; line-height: 1; margin-bottom: 10px; }
.li-ct-eyebrow { display: inline-block; font-size: 11px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--li-accent-dark); margin-bottom: 14px; }
.li-ct-eyebrow a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.li-ct-eyebrow a:hover { border-bottom-color: currentColor; }
.li-ct-hero-intro { font-size: 16px; color: var(--li-text-soft); max-width: 640px; margin: 0 auto; line-height: 1.75; text-align: left; }
.li-ct-hero-intro p { margin: 0 0 14px; }
.li-ct-hero-intro p:last-child { margin-bottom: 0; }
.li-ct-hero-intro em { color: var(--li-accent-dark); font-style: italic; }

/* ============================================================
   Section title (H3) — matches country plugin
   ============================================================ */
.li-ct-section { margin: 0 0 36px; }
.li-ct-section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 16px 0;
  line-height: 1.2;
  color: var(--li-text);
}
.li-ct-section-title em { font-style: italic; color: var(--li-accent-dark); }
.li-ct-section-kicker { font-size: 14px; color: var(--li-text-muted); margin: -8px 0 18px; line-height: 1.6; }
.li-ct-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin: 0 0 6px; }

/* ============================================================
   Quick facts
   ============================================================ */
.li-ct-facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-bottom: 14px;
}
.li-ct-fact {
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  padding: 12px 14px;
  border-radius: 2px;
}
.li-ct-fact-label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--li-text-muted); margin-bottom: 4px; }
.li-ct-fact-value { font-size: 14px; color: var(--li-text); font-weight: 500; }
.li-ct-facts-extra {
  background: var(--li-surface-2);
  padding: 14px 18px;
  border-left: 3px solid var(--li-accent);
  margin-top: 14px;
  border-radius: 0;
}
.li-ct-facts-extra-item { font-size: 14px; line-height: 1.65; color: var(--li-text-soft); margin-bottom: 6px; }
.li-ct-facts-extra-item:last-child { margin-bottom: 0; }
.li-ct-fun-fact { font-style: italic; }

/* ============================================================
   Weather card
   ============================================================ */
.li-ct-weather-card { background: var(--li-surface); border: 1px solid var(--li-line); padding: 18px 22px; border-radius: 2px; }
.li-ct-weather-label { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--li-text-muted); margin-bottom: 12px; }
.li-ct-weather-body { display: flex; flex-direction: column; gap: 14px; }
.li-ct-weather-loading { color: var(--li-text-muted); font-size: 14px; }
.li-ct-weather-error { color: var(--li-error); font-size: 13px; }
.li-ct-weather-now { display: flex; align-items: center; gap: 14px; }
.li-ct-weather-icon { font-size: 32px; line-height: 1; }
.li-ct-weather-temp { font-family: 'Playfair Display', Georgia, serif; font-size: 32px; font-weight: 500; color: var(--li-text); }
.li-ct-weather-desc { color: var(--li-text-soft); font-size: 14px; }
.li-ct-weather-forecast { display: flex; gap: 18px; padding-top: 12px; border-top: 1px solid var(--li-line); }
.li-ct-weather-day { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 60px; }
.li-ct-weather-day-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--li-text-muted); }
.li-ct-weather-day-icon { font-size: 20px; line-height: 1; }
.li-ct-weather-day-temp { font-size: 12px; color: var(--li-text-soft); }
.li-ct-weather-meta { font-size: 11px; color: var(--li-text-muted); margin-top: 12px; }

/* ============================================================
   Neighborhood grid
   ============================================================ */
.li-ct-hood-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.li-ct-hood-card {
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  padding: 18px 20px;
  border-radius: 2px;
}
.li-ct-hood-name { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 600; margin: 0 0 4px; color: var(--li-text); line-height: 1.3; }
.li-ct-hood-tagline { margin: 0 0 10px; font-size: 13px; color: var(--li-accent-dark); }
.li-ct-hood-vibe { font-size: 13px; color: var(--li-text-soft); margin: 0 0 12px; line-height: 1.55; }
.li-ct-hood-meta { font-size: 12px; color: var(--li-text-muted); margin: 0 0 4px; line-height: 1.55; }
.li-ct-hood-meta strong { color: var(--li-text-soft); font-weight: 600; }

.li-ct-quiz-trigger {
  background: var(--li-text);
  color: #fff;
  border: 0;
  padding: 10px 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.15s ease;
  font-family: inherit;
}
.li-ct-quiz-trigger:hover { background: var(--li-accent-dark); }

/* ============================================================
   Restaurant / bar / breakfast / seafood / rooftop CARDS
   Mirrors li-ci-restaurants from country plugin exactly
   ============================================================ */
.li-ct-restaurants { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .li-ct-restaurants { grid-template-columns: 1fr; } }
.li-ct-restaurant-card {
  padding: 18px 20px;
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  border-radius: 2px;
  position: relative;
}
.li-ct-restaurant-cat {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--li-tag-soft);
  color: var(--li-tag);
  border-radius: 2px;
  margin-bottom: 10px;
}
/* Category color variations (matches country plugin) */
.li-ct-restaurant-cat.li-ct-cat-michelin { background: #2a2a2a; color: #fff; }
.li-ct-restaurant-cat.li-ct-cat-new-2026 { background: var(--li-accent); color: #fff; }
.li-ct-restaurant-cat.li-ct-cat-traditional { background: var(--li-tag-soft); color: var(--li-tag); }
.li-ct-restaurant-cat.li-ct-cat-seafood { background: #d4e6ec; color: #2a5a6e; }
.li-ct-restaurant-cat.li-ct-cat-natural-wine { background: #f3ede0; color: var(--li-accent-dark); }
.li-ct-restaurant-cat.li-ct-cat-cocktail { background: #e8e6e2; color: #555; }
.li-ct-restaurant-cat.li-ct-cat-cabaret-piano-bar { background: #e8d6e2; color: #5a2a4e; }
.li-ct-restaurant-cat.li-ct-cat-smoky-political-legend { background: #2a2a2a; color: #fff; }
.li-ct-restaurant-cat.li-ct-cat-wine-bar { background: #f3ede0; color: var(--li-accent-dark); }
.li-ct-restaurant-cat.li-ct-cat-hidden-hotel-bar { background: #e0e6ed; color: #2a3a5e; }
.li-ct-restaurant-cat.li-ct-cat-brewpub { background: #eae6d5; color: #5a4a2a; }
.li-ct-restaurant-cat.li-ct-cat-jazz-live-music { background: #f0e6e6; color: #6e2a2a; }
.li-ct-restaurant-cat.li-ct-cat-club-dj { background: #2a2a3a; color: #fff; }
.li-ct-restaurant-cat.li-ct-cat-harbor-opera { background: #d4e6ec; color: #2a5a6e; }
.li-ct-restaurant-cat.li-ct-cat-frederiksberg-rooftops { background: var(--li-tag-soft); color: var(--li-tag); }
.li-ct-restaurant-cat.li-ct-cat-full-city-panorama { background: #2a2a2a; color: #fff; }
.li-ct-restaurant-cat.li-ct-cat-bakery { background: #f3ede0; color: var(--li-accent-dark); }
.li-ct-restaurant-cat.li-ct-cat-brasserie { background: var(--li-tag-soft); color: var(--li-tag); }

.li-ct-restaurant-name { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 600; color: var(--li-text); margin-bottom: 4px; line-height: 1.3; }
.li-ct-restaurant-address { font-size: 11px; color: var(--li-text-muted); margin-bottom: 10px; line-height: 1.4; }
.li-ct-restaurant-note { font-size: 13px; color: var(--li-text-soft); line-height: 1.55; margin: 0 0 10px; }
.li-ct-restaurant-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--li-line); gap: 12px; margin-top: 6px; }
.li-ct-restaurant-price { font-size: 12px; color: var(--li-text-soft); font-weight: 500; }
.li-ct-restaurant-link { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--li-accent-dark); text-decoration: none; white-space: nowrap; }
.li-ct-restaurant-link:hover { color: var(--li-accent); }

/* ============================================================
   Hotel CARDS — mirrors li-ci-hotels
   ============================================================ */
.li-ct-hotels { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 700px) { .li-ct-hotels { grid-template-columns: 1fr; } }
.li-ct-hotel-card {
  padding: 18px 20px;
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  border-radius: 2px;
}
.li-ct-hotel-cat {
  display: inline-block;
  padding: 3px 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--li-tag-soft);
  color: var(--li-tag);
  border-radius: 2px;
  margin-bottom: 10px;
}
.li-ct-hotel-cat.li-ct-cat-luxury { background: #2a2a2a; color: #fff; }
.li-ct-hotel-cat.li-ct-cat-new-2026 { background: var(--li-accent); color: #fff; }
.li-ct-hotel-cat.li-ct-cat-boutique { background: #f3ede0; color: var(--li-accent-dark); }
.li-ct-hotel-cat.li-ct-cat-historical-boutique { background: #f3ede0; color: var(--li-accent-dark); }
.li-ct-hotel-cat.li-ct-cat-design { background: #e8e6e2; color: #555; }
.li-ct-hotel-cat.li-ct-cat-aparthotel { background: #e8e6e2; color: #555; }
.li-ct-hotel-cat.li-ct-cat-young-hip { background: #f0e6e6; color: #6e2a2a; }
.li-ct-hotel-name { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 600; color: var(--li-text); margin-bottom: 4px; line-height: 1.3; }
.li-ct-hotel-address { font-size: 11px; color: var(--li-text-muted); margin-bottom: 10px; line-height: 1.4; }
.li-ct-hotel-features { font-size: 13px; color: var(--li-text-soft); line-height: 1.55; margin: 0 0 10px; }
.li-ct-hotel-meta { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid var(--li-line); gap: 12px; margin-top: 6px; }
.li-ct-hotel-price { font-size: 12px; color: var(--li-text-soft); font-weight: 500; }
.li-ct-hotel-link { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--li-accent-dark); text-decoration: none; white-space: nowrap; }
.li-ct-hotel-link:hover { color: var(--li-accent); }

/* ============================================================
   Museum / Unique / Nature CARDS — mirrors li-ci-museums (3-column grid)
   ============================================================ */
.li-ct-museums { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
@media (max-width: 800px) { .li-ct-museums { grid-template-columns: 1fr; } }
.li-ct-museum-card {
  padding: 16px 18px;
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
}
.li-ct-museum-header { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 4px; flex-wrap: wrap; }
.li-ct-museum-name { font-family: 'Playfair Display', Georgia, serif; font-size: 16px; font-weight: 600; color: var(--li-text); line-height: 1.3; }
.li-ct-museum-type { font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; background: var(--li-tag-soft); color: var(--li-tag); padding: 2px 8px; border-radius: 2px; white-space: nowrap; }
.li-ct-museum-address { font-size: 11px; color: var(--li-text-muted); margin-bottom: 8px; line-height: 1.4; }
.li-ct-museum-note { font-size: 13px; color: var(--li-text-soft); line-height: 1.55; margin: 0 0 10px; }
.li-ct-museum-link { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--li-accent-dark); text-decoration: none; margin-top: auto; padding-top: 10px; border-top: 1px solid var(--li-line); display: inline-block; }
.li-ct-museum-link:hover { color: var(--li-accent); }

/* ============================================================
   Pull-quote (NEW in city plugin — appears inside every card)
   ============================================================ */
.li-ct-pullquote {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  line-height: 1.55;
  color: var(--li-accent-dark);
  border-left: 2px solid var(--li-accent);
  padding: 4px 0 4px 12px;
  margin: 8px 0 12px;
  border-radius: 0;
}

/* ============================================================
   Festivals
   ============================================================ */
.li-ct-festivals-list { list-style: none; margin: 0; padding: 0; }
.li-ct-festival {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--li-line);
}
.li-ct-festival:last-child { border-bottom: 0; }
.li-ct-festival-month { font-family: 'Playfair Display', Georgia, serif; font-style: italic; color: var(--li-accent-dark); font-size: 14px; }
.li-ct-festival-name { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; font-size: 15px; color: var(--li-text); margin-bottom: 4px; }
.li-ct-festival-note { font-size: 13px; color: var(--li-text-soft); margin: 0; line-height: 1.55; }
@media (max-width: 600px) {
  .li-ct-festival { grid-template-columns: 1fr; gap: 4px; }
}

/* ============================================================
   Tours & Experiences (GetYourGuide affiliate widget)
   Minimal wrapper styles — the GYG widget renders its own card grid
   inside .li-ct-gyg-widget. We only style the container, kicker,
   and disclosure footer to match the rest of the page.
   ============================================================ */
.li-ct-gyg-section { margin-bottom: 36px; }
.li-ct-gyg-widget-wrap {
  padding: 18px;
  background: var(--li-surface);
  border: 1px solid var(--li-line);
  border-radius: 2px;
  min-height: 200px;
  position: relative;
}
.li-ct-gyg-widget {
  width: 100%;
  min-height: 180px;
  /* While the widget script hydrates, show a soft placeholder */
}
.li-ct-gyg-widget:empty::before {
  content: "Loading tours & experiences…";
  display: block;
  font-size: 13px;
  color: var(--li-text-muted);
  font-style: italic;
  text-align: center;
  padding: 60px 0;
}
.li-ct-gyg-noscript {
  font-size: 13px;
  color: var(--li-text-soft);
  margin: 0;
  text-align: center;
  padding: 24px 0;
}
.li-ct-gyg-noscript a {
  color: var(--li-accent-dark);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--li-accent);
}
.li-ct-gyg-noscript a:hover { color: var(--li-accent); }

/* ============================================================
   Indices
   ============================================================ */
.li-ct-indices { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .li-ct-indices { grid-template-columns: 1fr; } }
.li-ct-index { padding: 16px 18px; background: var(--li-surface); border: 1px solid var(--li-line); border-radius: 2px; }
.li-ct-index-label { font-size: 12px; font-weight: 500; color: var(--li-text-soft); margin-bottom: 8px; }
.li-ct-index-bar { display: flex; gap: 3px; margin-bottom: 8px; }
.li-ct-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--li-line); }
.li-ct-dot.is-on { background: var(--li-accent); }
.li-ct-index-score { font-family: 'Playfair Display', Georgia, serif; font-size: 18px; font-weight: 600; color: var(--li-text); }
.li-ct-index-note {
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--li-text-soft);
    margin: 10px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--li-line);
}
.li-ct-indices-source { font-size: 10px; color: var(--li-text-muted); font-style: italic; margin: 12px 0 0; line-height: 1.6; }

/* ============================================================
   Country CTA + Contributors
   ============================================================ */
.li-ct-country-cta {
  background: var(--li-surface-2);
  border-left: 3px solid var(--li-accent);
  padding: 22px 26px;
  border-radius: 0;
}
.li-ct-country-cta-text { font-size: 15px; color: var(--li-text-soft); line-height: 1.7; margin: 10px 0 0; }

.li-ct-contributors-line {
  margin: 28px 0 0;
  padding: 16px 22px;
  background: var(--li-surface-2);
  border-left: 3px solid var(--li-accent);
  font-size: 13px;
  color: var(--li-text-soft);
  line-height: 1.65;
  border-radius: 0;
}
.li-ct-contributors-line a { font-weight: 500; }

/* ============================================================
   Quiz modal (unchanged)
   ============================================================ */
.li-ct-quiz-modal { position: fixed; inset: 0; z-index: 10001; pointer-events: none; visibility: hidden; }
.li-ct-quiz-modal[data-state="open"] { pointer-events: auto; visibility: visible; }
.li-ct-quiz-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background 0.28s ease; }
.li-ct-quiz-modal[data-state="open"] .li-ct-quiz-backdrop { background: rgba(0,0,0,0.45); }
.li-ct-quiz-pane { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -45%); opacity: 0; transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.32, 0.72, 0, 1); background: #fff; width: min(560px, 92vw); max-height: min(80vh, 80dvh); border-radius: 4px; padding: 32px 32px 28px; box-shadow: 0 20px 60px rgba(0,0,0,0.25); overflow-y: auto; }
.li-ct-quiz-modal[data-state="open"] .li-ct-quiz-pane { opacity: 1; transform: translate(-50%, -50%); }
.li-ct-quiz-close { position: absolute; top: 14px; right: 14px; background: var(--li-surface-2); color: var(--li-accent-dark); width: 28px; height: 28px; border-radius: 50%; border: 0; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.li-ct-quiz-close > *, .li-ct-quiz-close svg, .li-ct-quiz-close svg * { pointer-events: none; }
.li-ct-quiz-step { display: none; }
.li-ct-quiz-step.is-active { display: block; }
.li-ct-quiz-h { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; margin: 0 0 8px; color: var(--li-text); }
.li-ct-quiz-sub { font-size: 14px; color: var(--li-text-soft); margin: 0 0 18px; }
.li-ct-quiz-start { background: var(--li-text); color: #fff; border: 0; padding: 12px 22px; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; cursor: pointer; border-radius: 2px; font-family: inherit; }
.li-ct-quiz-options { display: flex; flex-direction: column; gap: 8px; margin-top: 6px; }
.li-ct-quiz-opt { background: var(--li-surface); border: 1px solid var(--li-line); padding: 14px 18px; text-align: left; font-size: 14px; color: var(--li-text); cursor: pointer; border-radius: 2px; transition: background 0.15s ease, border-color 0.15s ease; font-family: inherit; }
.li-ct-quiz-opt:hover { background: var(--li-surface-2); border-color: var(--li-accent); }
.li-ct-quiz-card { background: var(--li-surface-2); border-left: 3px solid var(--li-accent); padding: 22px 24px; margin: 18px 0; border-radius: 0; }
.li-ct-quiz-card-name { font-family: 'Playfair Display', Georgia, serif; font-size: 22px; font-weight: 600; color: var(--li-text); }
.li-ct-quiz-card-tagline { color: var(--li-accent-dark); font-size: 13px; margin: 4px 0 12px; font-style: italic; font-family: 'Playfair Display', Georgia, serif; }
.li-ct-quiz-card-vibe { font-size: 14px; color: var(--li-text-soft); line-height: 1.65; margin: 0 0 10px; }
.li-ct-quiz-card-meta { font-size: 12px; color: var(--li-text-muted); margin: 0; }
.li-ct-quiz-alternates { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--li-line); }
.li-ct-quiz-alt-title { font-size: 11px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--li-text-muted); margin-bottom: 10px; }
.li-ct-quiz-alt { font-size: 13px; color: var(--li-text-soft); margin-bottom: 6px; line-height: 1.5; }
.li-ct-quiz-actions { margin-top: 18px; }
.li-ct-quiz-restart { background: transparent; border: 1px solid var(--li-line); color: var(--li-text-soft); padding: 9px 16px; font-size: 12px; cursor: pointer; border-radius: 2px; font-family: inherit; letter-spacing: 0.06em; }
.li-ct-quiz-restart:hover { border-color: var(--li-accent-dark); color: var(--li-accent-dark); }
body.li-ct-quiz-open { overflow: hidden; }

/* ============================================================
   Mobile bottom: city row + 6-tab nav. Hidden on desktop.
   .li-ct-mobile-bottom is the fixed wrapper holding both.
   ============================================================ */
.li-ct-mobile-bottom {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255,255,255,0.97);
  border-top: 1px solid var(--li-line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
  padding-bottom: max(0px, env(safe-area-inset-bottom));
}

/* City row — sits above the 6-tab nav, taps to open picker sheet */
.li-ct-mobile-city {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  background: var(--li-surface);
  border: 0;
  border-bottom: 1px solid var(--li-line);
  padding: 9px 16px;
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  appearance: none;
  text-align: center;
}
/* Children non-interactive so taps land on the <button> itself */
.li-ct-mobile-city > *,
.li-ct-mobile-city svg,
.li-ct-mobile-city svg * { pointer-events: none; }

.li-ct-mobile-city-flag { font-size: 20px; line-height: 1; }
.li-ct-mobile-city-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--li-text);
  line-height: 1.2;
}
.li-ct-mobile-city-chevron {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--li-accent-soft);
  color: var(--li-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 22px;
  transition: transform 0.2s ease;
}
.li-ct-mobile-city[aria-expanded="true"] .li-ct-mobile-city-chevron {
  transform: rotate(180deg);
}

/* 6-tab nav — sits below city row */
.li-ct-mobile-nav {
  display: flex;
  padding: 4px 0;
}
.li-ct-mobile-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  padding: 6px 2px;
  text-decoration: none;
  color: var(--li-text-soft);
  transition: color 0.15s ease;
  min-width: 0;
}
.li-ct-mobile-nav-item:hover,
.li-ct-mobile-nav-item:active { color: var(--li-accent-dark); }
.li-ct-mobile-nav-icon { font-size: 16px; line-height: 1; }
.li-ct-mobile-nav-label { font-size: 9px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; }

@media (max-width: 768px) {
  .li-ct-mobile-bottom { display: block; }
  body { padding-bottom: 110px; } /* city row + nav + safe-area */
}
@media (max-width: 380px) {
  .li-ct-mobile-nav-label { font-size: 8.5px; letter-spacing: 0.04em; }
  .li-ct-mobile-nav-icon { font-size: 15px; }
  .li-ct-mobile-city-name { font-size: 14px; }
}
html { scroll-behavior: smooth; scroll-padding-top: 100px; }

/* ============================================================
   v1.1.2 City picker — bottom sheet
   Slides up from below when user taps the city row.
   Hidden on desktop entirely.
   ============================================================ */
.li-ct-picker {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
  -webkit-tap-highlight-color: transparent;
}
.li-ct-picker[data-state="open"] {
  pointer-events: auto;
  visibility: visible;
}
.li-ct-picker * { box-sizing: border-box; }

/* Hidden entirely on desktop */
@media (min-width: 769px) {
  .li-ct-picker { display: none !important; }
  .li-ct-mobile-bottom { display: none !important; }
}

/* Backdrop */
.li-ct-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.28s ease;
}
.li-ct-picker[data-state="open"] .li-ct-picker-backdrop {
  background: rgba(0, 0, 0, 0.35);
}

/* Sheet */
.li-ct-picker-sheet {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-radius: 14px 14px 0 0;
  max-height: 80vh;
  max-height: 80dvh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  padding-bottom: env(safe-area-inset-bottom);
}
.li-ct-picker[data-state="open"] .li-ct-picker-sheet {
  transform: translateY(0);
}

.li-ct-picker-grabber {
  width: 36px;
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  margin: 8px auto 4px;
  flex: 0 0 auto;
}
.li-ct-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px 12px;
  border-bottom: 1px solid var(--li-line);
  flex: 0 0 auto;
}
.li-ct-picker-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 17px;
  font-weight: 500;
  color: var(--li-text);
}
.li-ct-picker-close {
  background: var(--li-surface-2);
  color: var(--li-accent-dark);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.li-ct-picker-close > *,
.li-ct-picker-close svg,
.li-ct-picker-close svg * { pointer-events: none; }

.li-ct-picker-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 6px 0 18px;
  flex: 1 1 auto;
  min-height: 0;
}
.li-ct-picker-region {
  padding: 12px 16px 6px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--li-accent-dark);
  font-weight: 600;
}
.li-ct-picker-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.li-ct-picker-list li { margin: 0; padding: 0; }
.li-ct-picker-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  text-decoration: none;
  color: var(--li-text);
  font-size: 14px;
  transition: background 0.12s ease;
}
.li-ct-picker-item:hover,
.li-ct-picker-item:focus {
  background: var(--li-surface);
  outline: none;
}
.li-ct-picker-item.is-active {
  background: var(--li-surface-2);
  font-weight: 500;
}
.li-ct-picker-item-flag {
  font-size: 20px;
  line-height: 1;
  width: 24px;
  text-align: center;
  flex: 0 0 24px;
}
.li-ct-picker-item-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.li-ct-picker-item-check {
  color: var(--li-accent-dark);
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

/* Lock body scroll when picker is open */
body.li-ct-picker-open { overflow: hidden; }

/* ============================================================
   Mobile padding for outer container
   ============================================================ */
@media (max-width: 600px) {
  .li-ct { padding: 24px 16px; }
  .li-ct-restaurants,
  .li-ct-hotels,
  .li-ct-museums { grid-template-columns: 1fr; }
}

/* ============================================================
   EDITOR'S INSIGHTS — mirrors country plugin's editorial-picks list pattern
   ============================================================ */
.li-ct-editor-section { margin: 28px 0 32px; }
.li-ct-editor-intro {
    font-size: 15px;
    color: var(--li-text-soft);
    line-height: 1.6;
    margin: 0 0 18px;
    font-style: italic;
    max-width: 760px;
}
.li-ct-editor-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--li-line);
}
.li-ct-editor-item {
    padding: 16px 0;
    border-bottom: 1px solid var(--li-line);
}
.li-ct-editor-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--li-text);
    line-height: 1.35;
    margin-bottom: 6px;
}
.li-ct-editor-desc {
    font-size: 14px;
    color: var(--li-text-soft);
    line-height: 1.65;
    margin: 0;
}
@media (max-width: 600px) {
    .li-ct-editor-title { font-size: 16px; }
    .li-ct-editor-desc { font-size: 13.5px; }
}

/* ============================================================
   POSTS BRIDGE — H2 + contributors line above the WP post grid
   Matches country plugin (.li-ci-posts-heading / .li-ci-contributors-line)
   ============================================================ */
.li-ct-contributors-line {
    font-size: 13px;
    color: var(--li-text-soft);
    line-height: 1.6;
    max-width: 540px;
    margin: 32px 0 8px;
    padding: 0 16px;
}
.li-ct-contributors-line a {
    color: var(--li-accent-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--li-accent-dark);
}
.li-ct-posts-heading {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(22px, 2.4vw, 30px);
    color: var(--li-text);
    line-height: 1.25;
    margin: 24px 0 28px;
    text-align: center;
    letter-spacing: -0.005em;
}
@media (max-width: 768px) {
    .li-ct-contributors-line { text-align: left; margin: 24px 16px 8px; }
    .li-ct-posts-heading { font-size: 22px; text-align: left; margin: 16px 16px 24px; }
}

/* ============================================================
   FAQ SECTION — v1.6.0
   Collapsible Q&A list with Schema.org FAQPage markup
   ============================================================ */
.li-ct-faq-section {
    margin-top: 48px;
}
.li-ct-faq-list {
    max-width: 800px;
    margin: 24px auto 0;
}
.li-ct-faq-item {
    border-bottom: 1px solid #e8e3d8;
    padding: 0;
}
.li-ct-faq-item:first-child {
    border-top: 1px solid #e8e3d8;
}
.li-ct-faq-question {
    cursor: pointer;
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    font-size: clamp(16px, 1.6vw, 19px);
    color: var(--li-text);
    line-height: 1.4;
    padding: 18px 32px 18px 0;
    position: relative;
    list-style: none;
    transition: color 0.2s ease;
}
.li-ct-faq-question::-webkit-details-marker {
    display: none;
}
.li-ct-faq-question::after {
    content: '+';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: 300;
    color: var(--li-accent-dark);
    transition: transform 0.2s ease;
    line-height: 1;
}
.li-ct-faq-item[open] .li-ct-faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}
.li-ct-faq-question:hover {
    color: var(--li-accent-dark);
}
.li-ct-faq-answer {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--li-text);
    padding: 0 8px 24px 0;
}
.li-ct-faq-answer p {
    margin: 0 0 12px;
}
.li-ct-faq-answer p:last-child {
    margin-bottom: 0;
}
.li-ct-faq-answer strong {
    font-weight: 600;
    color: var(--li-text);
}
.li-ct-faq-answer a {
    color: var(--li-accent-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--li-accent-dark);
}
@media (max-width: 768px) {
    .li-ct-faq-list { margin: 16px 16px 0; }
    .li-ct-faq-question { font-size: 16px; padding-right: 28px; }
    .li-ct-faq-answer { font-size: 14px; }
}


/* ============================================================
   VIRTUAL POST HIDING (v1.8.0)
   When a city tag has zero real posts, the plugin injects a
   virtual stub (ID -999) so the loop fires and the city block
   renders via inject_before_loop. The theme still tries to
   output an <article> wrapper for the stub — hide it.
   The mark_virtual_post() filter adds the li-ct-virtual-post
   class to the post_class array; we match it everywhere it
   could land in the markup.
   ============================================================ */
article.li-ct-virtual-post,
article[id*="post--999"],
article#post--999,
.li-ct-virtual-post {
  display: none !important;
}

/* ============================================================
   Intro inline figure (DA editorial photography between paragraphs)
   v1.10.0 — populated per city via intro_image_da JSON field
   ============================================================ */
.li-ct-intro-figure {
    margin: 24px auto 28px;
    max-width: 720px;
    text-align: center;
}
.li-ct-intro-figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: 3px;
    display: block;
    background: #F4ECE2;
}
.li-ct-intro-figure__caption {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 13.5px;
    color: #6E5A4E;
    padding-top: 10px;
    letter-spacing: 0.015em;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .li-ct-intro-figure {
        margin-left: -16px;
        margin-right: -16px;
    }
    .li-ct-intro-figure img {
        border-radius: 0;
        aspect-ratio: 16 / 9;
    }
    .li-ct-intro-figure__caption {
        padding-left: 16px;
        padding-right: 16px;
        font-size: 12.5px;
    }
}

/* SVG variant — inline editorial illustrations bundled per city */
.li-ct-intro-figure--svg svg {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 3px;
    background: transparent;
}
@media (max-width: 768px) {
    .li-ct-intro-figure--svg svg { border-radius: 0; }
}

/* ============================================================
   Cities-in-country grid (v1.13.0)
   Rendered by LI_CT_Country_Cities on country category archives.
   ============================================================ */
.li-ct-country-cities {
    margin: 40px 0;
    max-width: 1200px;
}
.li-ct-country-cities__heading {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 18px;
    color: #2a2820;
    letter-spacing: -0.01em;
}
.li-ct-country-cities__grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}
.li-ct-country-cities__item { margin: 0; padding: 0; }
.li-ct-country-cities__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 14px 18px;
    background: #f5f3ef;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #2a2820;
    text-decoration: none;
    font-size: 15px;
    line-height: 1.3;
    transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.li-ct-country-cities__link:hover,
.li-ct-country-cities__link:focus-visible {
    background: #ece6d8;
    border-color: #d6cbb0;
    transform: translateY(-1px);
    text-decoration: none;
}
.li-ct-country-cities__name { font-weight: 500; }
.li-ct-country-cities__arrow {
    opacity: 0.5;
    font-size: 16px;
    transition: opacity .15s ease, transform .15s ease;
}
.li-ct-country-cities__link:hover .li-ct-country-cities__arrow {
    opacity: 1;
    transform: translateX(2px);
}
@media (max-width: 640px) {
    .li-ct-country-cities { margin: 28px 0; }
    .li-ct-country-cities__heading { font-size: 20px; margin-bottom: 14px; }
    .li-ct-country-cities__grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 8px; }
    .li-ct-country-cities__link { padding: 12px 14px; font-size: 14px; }
}
