/* ==========================================================================
   Explore the Known World – site styles (built on Bootstrap 5.3)
   ========================================================================== */

:root {
  --brand: #f39200;
  --brand-dark: #d27e00;
  --brand-soft: #fff4e2;
  --navy: #24364a;
  --navy-dark: #172433;
  --ink: #1f2933;
  --muted: #64707d;
  --bg-soft: #f6f7f9;
  --border: #e5e8ec;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 6px 24px rgba(23, 36, 51, 0.08);
  --shadow-hover: 0 14px 34px rgba(23, 36, 51, 0.16);
  --font-body: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-heading: "Poppins", var(--font-body);

  --bs-link-color: var(--brand-dark);
  --bs-link-color-rgb: 210, 126, 0;
  --bs-link-hover-color: var(--navy);
  --bs-link-hover-color-rgb: 36, 54, 74;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

a { text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2000;
  padding: 0.5rem 1rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius-sm);
}

/* Buttons ------------------------------------------------------------------ */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--brand);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand-dark);
  --bs-btn-hover-border-color: var(--brand-dark);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  --bs-btn-focus-shadow-rgb: 243, 146, 0;
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.25rem;
}

.btn-outline-brand {
  --bs-btn-color: var(--brand-dark);
  --bs-btn-border-color: var(--brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--brand);
  --bs-btn-hover-border-color: var(--brand);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--brand-dark);
  --bs-btn-active-border-color: var(--brand-dark);
  font-weight: 600;
  border-radius: 999px;
  padding-inline: 1.1rem;
}

.btn:hover { text-decoration: none; }

/* Header ------------------------------------------------------------------- */
.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.2s ease;
}

.site-header.is-scrolled { box-shadow: 0 4px 18px rgba(23, 36, 51, 0.08); }

.site-header .navbar { padding-block: 0.5rem; }

.brand-logo { width: 48px; height: 48px; object-fit: contain; }

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
}

.navbar-brand:hover { text-decoration: none; }

.site-header .nav-link {
  position: relative;
  font-weight: 600;
  color: var(--navy);
  padding-inline: 0.85rem !important;
}

.site-header .nav-link:hover,
.site-header .nav-link.active { color: var(--brand-dark); text-decoration: none; }

@media (min-width: 992px) {
  .site-header .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.2rem;
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
  }
}

.navbar-toggler {
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 1.25rem;
  padding: 0.35rem 0.65rem;
}

.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.3); }

.nav-search .form-control { border-radius: 999px; min-width: 0; }

@media (min-width: 992px) {
  .nav-search .form-control { width: 170px; }
}

@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding-bottom: 0.5rem; }
  .site-header .nav-link { padding-block: 0.65rem; border-bottom: 1px solid var(--border); }
  .site-header .btn-outline-brand { width: 100%; }
}

@media (max-width: 380px) {
  .brand-name { font-size: 0.95rem; }
}

/* Hero --------------------------------------------------------------------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(82vh, 760px);
  padding: 6rem 0 5rem;
  color: #fff;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 24, 35, 0.35) 0%, rgba(15, 24, 35, 0.65) 100%);
}

.hero-content { position: relative; z-index: 2; max-width: 860px; }

.eyebrow {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
}

.hero .eyebrow { color: #ffc266; }

.hero-title {
  color: #fff;
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  margin-bottom: 1rem;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  max-width: 640px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 620px;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.hero-search > i { color: var(--muted); }

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 0.6rem 0.25rem;
  font-size: 1rem;
  color: var(--ink);
  background: transparent;
}

.hero-search .btn { padding-block: 0.65rem; }

.hero-search-light { border: 1px solid var(--border); box-shadow: var(--shadow); }

.hero-quicklinks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  font-size: 0.9rem;
}

.hero-quicklinks span { color: rgba(255, 255, 255, 0.8); }

.hero-quicklinks a {
  padding: 0.3rem 0.85rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.hero-quicklinks a:hover { background: rgba(255, 255, 255, 0.22); text-decoration: none; }

/* Stats -------------------------------------------------------------------- */
.stats-strip {
  position: relative;
  z-index: 3;
  margin-top: -2.5rem;
}

.stats-strip .row {
  margin: 0 auto;
  max-width: 760px;
  padding: 1.25rem 0.5rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-value {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  font-weight: 700;
  color: var(--brand-dark);
}

.stat-label { margin: 0; font-size: 0.85rem; color: var(--muted); }

/* Sections ----------------------------------------------------------------- */
.section { padding: 4.5rem 0; }
.section-soft { background: var(--bg-soft); }

@media (max-width: 767.98px) {
  .section { padding: 3rem 0; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 0.5rem; }
.section-lead { color: var(--muted); margin-bottom: 0; }

.section-link { font-weight: 600; white-space: nowrap; }
.section-link i { transition: transform 0.2s ease; }
.section-link:hover i { transform: translateX(3px); }

.narrow { max-width: 820px; }
.narrow-lg { max-width: 1000px; }

/* Page hero (inner pages) -------------------------------------------------- */
.page-hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  overflow: hidden;
}

.page-hero .container { position: relative; z-index: 2; }

.page-title { color: #fff; font-size: clamp(1.8rem, 4.5vw, 2.8rem); margin: 0.75rem 0 0.5rem; }
.page-lead { max-width: 720px; color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; margin-bottom: 0.5rem; }
.page-meta { color: rgba(255, 255, 255, 0.8); margin: 0.5rem 0 0; }
.page-meta a { color: #ffc266; }

.country-hero[style*="--hero-image"]::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(36, 54, 74, 0.92), rgba(23, 36, 51, 0.75)), var(--hero-image);
  background-size: cover;
  background-position: center;
}

.country-hero { padding: 3rem 0 3.5rem; }

.site-breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; }
.site-breadcrumb a { color: rgba(255, 255, 255, 0.85); }
.site-breadcrumb .breadcrumb-item.active { color: #ffc266; }

/* Cards -------------------------------------------------------------------- */
.dest-card,
.place-card {
  display: block;
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-card:hover,
.place-card:hover,
.dest-card:focus-visible,
.place-card:focus-visible {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

.dest-card { position: relative; aspect-ratio: 4 / 3; }

.dest-card img,
.dest-card-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.dest-card:hover img { transform: scale(1.05); }

.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(10, 18, 28, 0.8) 100%);
}

.dest-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1rem;
  color: #fff;
}

.dest-card-title { color: #fff; font-size: clamp(1rem, 2.2vw, 1.25rem); margin-bottom: 0.35rem; }

.chip {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
}

.dest-card-placeholder,
.place-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, var(--navy), var(--brand-dark));
}

.place-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }

.place-card-media img,
.place-card-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.place-card:hover .place-card-media img { transform: scale(1.05); }

.place-card-body { padding: 1rem 1.1rem 1.2rem; }
.place-card-title { font-size: 1.05rem; margin-bottom: 0.3rem; color: var(--navy); }
.place-card-meta { margin: 0; font-size: 0.875rem; color: var(--muted); }
.place-card-meta i { color: var(--brand); }

/* Features ----------------------------------------------------------------- */
.feature {
  height: 100%;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.feature:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.feature h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.feature p { color: var(--muted); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  font-size: 1.35rem;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 14px;
}

/* CTA ---------------------------------------------------------------------- */
.cta-band { padding: 0 0 4.5rem; }

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem;
  color: #fff;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 60%, #3a2a10 100%);
}

.cta-inner h2 { color: #fff; font-size: clamp(1.35rem, 3vw, 1.85rem); margin-bottom: 0.35rem; }
.cta-inner p { color: rgba(255, 255, 255, 0.85); }

/* Filters / search --------------------------------------------------------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.filter-input {
  position: relative;
  flex: 1 1 260px;
  max-width: 420px;
}

.filter-input i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: var(--muted);
}

.filter-input input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-input input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(243, 146, 0, 0.2); }

.filter-select { flex: 0 1 220px; border-radius: 999px; }

.empty-state { padding: 2.5rem 1rem; text-align: center; color: var(--muted); }

.pagination { --bs-pagination-color: var(--navy); --bs-pagination-active-bg: var(--brand); --bs-pagination-active-border-color: var(--brand); --bs-pagination-hover-color: var(--brand-dark); }

/* Place detail ------------------------------------------------------------- */
.place-gallery {
  display: grid;
  gap: 1rem;
  margin-top: -1.5rem;
  position: relative;
  z-index: 3;
}

.place-gallery.has-two { grid-template-columns: 2fr 1fr; }

.place-gallery img {
  width: 100%;
  height: clamp(220px, 45vw, 440px);
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 767.98px) {
  .place-gallery.has-two { grid-template-columns: 1fr; }
  .place-gallery.has-two img:last-child { height: 200px; }
}

@media (min-width: 992px) {
  .sidebar-sticky { position: sticky; top: 90px; }
}

.toc {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.toc-title { font-weight: 700; font-family: var(--font-heading); color: var(--navy); margin-bottom: 0.75rem; }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li a { display: block; padding: 0.35rem 0; color: var(--muted); font-size: 0.95rem; }
.toc li a:hover { color: var(--brand-dark); }

@media (max-width: 991.98px) {
  .toc { padding: 0; border: 0; }
  .toc-title { display: none; }
  .toc ul { display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.5rem; scrollbar-width: thin; }
  .toc li a {
    padding: 0.4rem 0.9rem;
    white-space: nowrap;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
  }
}

.guide-section { scroll-margin-top: 90px; padding-bottom: 2rem; margin-bottom: 2rem; border-bottom: 1px solid var(--border); }
.guide-section:last-child { border-bottom: 0; }
.guide-section h2 { font-size: 1.5rem; margin-bottom: 1rem; }

/* Rich text from CKEditor */
.prose { font-size: 1.05rem; line-height: 1.75; overflow-wrap: anywhere; }
.prose h1, .prose h2, .prose h3, .prose h4 { font-size: 1.2rem; margin-top: 1.5rem; }
.prose img { max-width: 100% !important; height: auto !important; border-radius: var(--radius-sm); }
.prose table { display: block; max-width: 100%; overflow-x: auto; }
.prose iframe { max-width: 100%; }
.prose ul, .prose ol { padding-left: 1.25rem; }

/* Content pages ------------------------------------------------------------ */
.legal { line-height: 1.75; }
.legal h2 { font-size: 1.35rem; margin-top: 2.25rem; }
.legal h3 { font-size: 1.1rem; margin-top: 1.5rem; }
.legal ul li { margin-bottom: 0.35rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 0.75rem; }
.check-list li::before {
  content: "\f058";
  position: absolute;
  left: 0;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--brand);
}

.contact-callout {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem;
  background: var(--brand-soft);
  border-radius: var(--radius);
}

.info-card {
  height: 100%;
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.contact-list li { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.contact-list strong { display: block; color: var(--navy); }

.contact-icon {
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 12px;
}

.quick-links li { padding: 0.35rem 0; border-bottom: 1px solid var(--border); }
.quick-links li:last-child { border-bottom: 0; }

.form-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.form-card fieldset + fieldset { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.form-card legend { font-family: var(--font-heading); font-weight: 700; font-size: 1.2rem; color: var(--navy); margin-bottom: 1rem; }

@media (max-width: 575.98px) {
  .form-card, .info-card { padding: 1.25rem; }
  .cta-inner { padding: 1.75rem; }
}

/* Social ------------------------------------------------------------------- */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: background 0.2s ease;
}

.social-links a:hover { background: var(--brand); text-decoration: none; }
.social-links-dark a { color: var(--brand-dark); background: var(--brand-soft); }
.social-links-dark a:hover { color: #fff; }

/* Footer ------------------------------------------------------------------- */
.site-footer {
  padding: 4rem 0 1.5rem;
  color: rgba(255, 255, 255, 0.75);
  background: var(--navy-dark);
}

.footer-brand { font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem; color: #fff; }
.footer-brand:hover { color: #fff; text-decoration: none; }
.footer-brand .brand-logo { background: #fff; border-radius: 50%; padding: 2px; }
.footer-text { font-size: 0.925rem; max-width: 360px; }

.footer-heading {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a,
.footer-legal a,
.footer-contact a { color: rgba(255, 255, 255, 0.75); }
.footer-links a:hover,
.footer-legal a:hover,
.footer-contact a:hover { color: #ffc266; }

.footer-contact li { display: flex; gap: 0.75rem; margin-bottom: 0.6rem; overflow-wrap: anywhere; }
.footer-contact i { margin-top: 0.3rem; color: var(--brand); }
.footer-legal li { margin-bottom: 0.4rem; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Guide: quick facts ------------------------------------------------------- */
.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 0.75rem;
  margin: 0 0 2.5rem;
}

.fact {
  padding: 0.9rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.fact dt { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.fact dt i { color: var(--brand); margin-right: 0.25rem; }
.fact dd { margin: 0.25rem 0 0; font-weight: 600; color: var(--navy); }

/* Guide: budget ------------------------------------------------------------ */
.budget-calc {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.budget-calc label { font-weight: 600; color: var(--navy); }
.budget-days { display: inline-flex; align-items: center; gap: 0.5rem; }
.budget-days input {
  width: 4.5rem;
  padding: 0.35rem 0.5rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.budget-days .btn { width: 2.25rem; padding-inline: 0; }

.budget-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.budget-tier {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.budget-tier:nth-child(2) { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand) inset; }
.budget-tier-name { margin: 0; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-dark); }
.budget-tier-daily { margin: 0.35rem 0 0; font-family: var(--font-heading); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.budget-tier-daily small, .budget-tier-total small { font-size: 0.8rem; font-weight: 400; color: var(--muted); }
.budget-tier-total { margin: 0.25rem 0 0.75rem; color: var(--ink); }
.budget-tier-desc { margin: 0; font-size: 0.9rem; color: var(--muted); }
.budget-note { margin: 0.75rem 0 1.25rem; font-size: 0.85rem; color: var(--muted); }

/* Guide: itinerary --------------------------------------------------------- */
.itinerary { list-style: none; margin: 0; padding: 0; position: relative; }
.itinerary::before {
  content: "";
  position: absolute;
  top: 0.5rem;
  bottom: 0.5rem;
  left: 2.1rem;
  width: 2px;
  background: var(--border);
}

.itinerary-day { position: relative; display: flex; gap: 1.25rem; padding-bottom: 1.5rem; }
.itinerary-day:last-child { padding-bottom: 0; }

.itinerary-badge {
  position: relative;
  z-index: 1;
  flex: 0 0 4.2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: var(--brand);
  border-radius: 999px;
}

.itinerary-body h3 { font-size: 1.1rem; margin: 0.25rem 0 0.5rem; }
.itinerary-body p { margin-bottom: 0.5rem; color: var(--ink); }

/* Guide: attractions ------------------------------------------------------- */
.attraction-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.attraction-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.attraction-body { padding: 1.1rem 1.25rem 1.25rem; }
.attraction-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.attraction-body p { color: var(--ink); }

.attraction-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; padding: 0; margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--muted); }
.attraction-meta i { color: var(--brand); margin-right: 0.2rem; }

/* Affiliate offers --------------------------------------------------------- */
.affiliate-notice {
  margin: 1.5rem 0 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.offer-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.offer-heading { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--navy); }

.offer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  color: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.offer:hover { border-color: var(--brand); box-shadow: var(--shadow); text-decoration: none; color: inherit; }

.offer-icon {
  flex: 0 0 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--brand-soft);
  border-radius: 12px;
}

.offer-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.offer-title { font-weight: 600; color: var(--navy); }
.offer-desc { font-size: 0.875rem; color: var(--muted); }
.offer-partner { font-size: 0.78rem; color: var(--muted); }
.offer-cta { flex: 0 0 auto; font-size: 0.875rem; font-weight: 600; color: var(--brand-dark); white-space: nowrap; }
.offer-disclosure { margin: 0; font-size: 0.78rem; color: var(--muted); }

.offer-list-compact .offer { padding: 0.75rem; gap: 0.75rem; }
.offer-list-compact .offer-cta { display: none; }
.offer-list-compact .offer-icon { flex-basis: 36px; height: 36px; }

@media (max-width: 575.98px) {
  .offer { flex-wrap: wrap; }
  .offer-cta { width: 100%; padding-left: calc(42px + 1rem); }
}

.plan-trip {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
  border-bottom: 0;
}

.plan-trip .offer-list { margin-top: 1rem; }

.guide-feedback { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }

/* Ads ---------------------------------------------------------------------- */
.ad-slot {
  min-height: 280px;
  padding: 0.5rem;
  text-align: center;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}

.ad-label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Messages & honeypot ------------------------------------------------------ */
.site-messages { padding-top: 1rem; }
.site-messages .alert { margin-bottom: 0.5rem; }

.hp-field {
  position: absolute !important;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* AI planner: entry points ------------------------------------------------- */
.nav-link-planner { color: var(--brand-dark) !important; font-weight: 600; }

.hero-planner-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  color: #fff;
  font-weight: 600;
}
.hero-planner-link:hover { color: #ffc266; text-decoration: none; }

.planner-band-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2.5rem;
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.planner-band-inner > div { max-width: 680px; }
.planner-band { padding-bottom: 2rem; }

.guide-planner-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px dashed var(--brand);
  border-radius: var(--radius);
}

/* AI planner: form --------------------------------------------------------- */
.choice-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.choice-pill { position: relative; margin: 0; cursor: pointer; }
.choice-pill input { position: absolute; opacity: 0; pointer-events: none; }
.choice-pill span {
  display: inline-block;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.choice-pill:hover span { border-color: var(--brand); }
.choice-pill input:checked + span { color: #fff; border-color: var(--brand); background: var(--brand); }
.choice-pill input:focus-visible + span { outline: 3px solid rgba(243, 146, 0, 0.4); outline-offset: 2px; }
.choice-pill input:disabled + span { opacity: 0.45; cursor: not-allowed; }

.planner-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}
.planner-submit p { flex: 1 1 260px; }

/* AI planner: results ------------------------------------------------------ */
.plan-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; padding: 0; margin: 0.5rem 0 0; list-style: none; color: rgba(255, 255, 255, 0.85); }
.plan-meta i { color: var(--brand); margin-right: 0.25rem; }

.plan-notice {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.plan-notice i { margin-top: 0.2rem; color: var(--brand); }
.plan-summary { font-size: 1.1rem; }

.plan-days { padding: 0; margin: 0; list-style: none; counter-reset: none; }
.plan-day {
  position: relative;
  padding: 0 0 2rem 2rem;
  border-left: 2px solid var(--border);
  margin-left: 0.5rem;
}
.plan-day::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 0.35rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.plan-day:last-child { padding-bottom: 0.5rem; border-left-color: transparent; }
.plan-day-number { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-dark); }
.plan-day-title { font-size: 1.2rem; margin: 0.15rem 0 0.75rem; }
.plan-slots { margin: 0; }
.plan-slots > div { display: grid; grid-template-columns: 120px 1fr; gap: 0.75rem; padding: 0.4rem 0; }
.plan-slots dt { font-weight: 600; color: var(--navy); }
.plan-slots dt i { width: 1.1rem; color: var(--brand); }
.plan-slots dd { margin: 0; }
.plan-tip { margin: 0.75rem 0 0; padding: 0.6rem 0.9rem; font-size: 0.9rem; border-radius: var(--radius-sm); background: var(--brand-soft); }
.plan-tip i { color: var(--brand-dark); margin-right: 0.25rem; }
.plan-day-guides { margin: 0.6rem 0 0; font-size: 0.9rem; color: var(--muted); }

@media (max-width: 575.98px) {
  .plan-slots > div { grid-template-columns: 1fr; gap: 0.15rem; }
}

.plan-budget {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.plan-budget-main { display: flex; flex-direction: column; gap: 0.15rem; margin-bottom: 1rem; }
.plan-budget-label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.plan-budget-main strong { font-family: var(--font-heading); font-size: 1.8rem; color: var(--navy); }
.plan-budget-main span:not(.plan-budget-label) { color: var(--muted); }
.plan-budget-breakdown { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0.75rem; margin: 0 0 1rem; }
.plan-budget-breakdown > div { padding: 0.75rem; border-radius: var(--radius-sm); background: var(--bg-soft); }
.plan-budget-breakdown dt { font-size: 0.78rem; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.plan-budget-breakdown dd { margin: 0; font-weight: 600; color: var(--navy); }
.plan-budget-check { margin: 1rem 0 0.5rem; font-size: 0.9rem; }
.plan-budget-check i { color: var(--brand); margin-right: 0.25rem; }

.plan-tips { padding-left: 1.25rem; }
.plan-tips li { margin-bottom: 0.5rem; }

.plan-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2.5rem; }
.plan-subscribe { margin-top: 1.5rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: var(--radius); }

/* Newsletter --------------------------------------------------------------- */
.newsletter-heading { margin: 0 0 0.25rem; font-family: var(--font-heading); font-weight: 700; color: var(--navy); }
.newsletter-lead { margin-bottom: 0.75rem; font-size: 0.9rem; color: var(--muted); }
.newsletter-row { display: flex; gap: 0.5rem; }
.newsletter-row .form-control { min-width: 0; }
.newsletter-row .btn { flex: 0 0 auto; }
.newsletter-consent { margin-top: 0.6rem; font-size: 0.8rem; }
.newsletter-consent .form-check-label { color: var(--muted); }

.plan-subscribe .newsletter-row { flex-direction: column; }

.guide-newsletter { margin-top: 2rem; padding: 1.5rem; border-radius: var(--radius); background: var(--bg-soft); }

.footer-newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-newsletter > div { max-width: 460px; }
.footer-newsletter-title { font-size: 1.3rem; color: #fff; margin-bottom: 0.35rem; }
.footer-newsletter .newsletter-form { flex: 1 1 360px; max-width: 520px; }
.newsletter-dark .newsletter-consent .form-check-label { color: rgba(255, 255, 255, 0.7); }
.newsletter-dark .newsletter-consent a { color: #ffc266; }

/* Booking box experiment ----------------------------------------------------- */
.top-picks {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid var(--brand);
  border-radius: var(--radius);
  background: var(--brand-soft);
}
.top-picks .offer-list { margin-top: 0.75rem; }

/* Digital products ---------------------------------------------------------- */
.product-cover { width: 100%; height: auto; margin-bottom: 1.5rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.product-contents { padding: 0; list-style: none; }
.product-contents li { padding: 0.35rem 0; }
.product-contents i { margin-right: 0.4rem; color: var(--brand); }
.product-buy { padding: 1.75rem; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); background: #fff; }
.product-price { margin-bottom: 1rem; font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--navy); }
.product-assurances { padding: 0; margin: 1.25rem 0 0; list-style: none; font-size: 0.88rem; color: var(--muted); }
.product-assurances li { padding: 0.25rem 0; }
.product-assurances i { width: 1.25rem; color: var(--brand); }
.waitlist-form .form-control { width: 100%; }

.pdf-offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}
.pdf-offer-icon {
  display: grid;
  place-items: center;
  flex: 0 0 52px;
  height: 52px;
  font-size: 1.5rem;
  color: var(--brand-dark);
  border-radius: var(--radius-sm);
  background: var(--brand-soft);
}
.pdf-offer-body { flex: 1 1 240px; }
.pdf-offer-title { margin: 0; font-family: var(--font-heading); font-weight: 700; color: var(--navy); }
.pdf-offer-lead { margin: 0.15rem 0 0; font-size: 0.9rem; color: var(--muted); }
.pdf-offer-lead:empty { display: none; }

/* Short videos -------------------------------------------------------------- */
.short-videos { margin-top: 2.5rem; }
.short-video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-top: 1rem; }
.short-video {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 420px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius);
  background: var(--navy-dark);
  color: #fff;
  text-align: left;
  cursor: pointer;
}
.short-video img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.85; transition: opacity 0.2s ease; }
.short-video:hover img, .short-video:focus-visible img { opacity: 1; }
.short-video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 1.3rem;
  color: #fff;
  border-radius: 50%;
  background: rgba(243, 146, 0, 0.92);
  transform: translate(-50%, -50%);
}
.short-video-title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.5rem 0.9rem 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  background: linear-gradient(transparent, rgba(23, 36, 51, 0.9));
}
.short-video-title small { display: block; margin-top: 0.2rem; font-weight: 400; opacity: 0.8; }
.short-video-link { text-decoration: none; background: linear-gradient(160deg, var(--navy), var(--navy-dark)); }
.short-video-link:hover { color: #fff; }
.short-video-frame { cursor: auto; }

/* Comparisons --------------------------------------------------------------- */
.comparison-links { padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.comparison-links-title { margin-bottom: 0.75rem; font-family: var(--font-heading); font-weight: 700; color: var(--navy); }
.comparison-links ul { display: grid; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.comparison-links a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 0.85rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  transition: background 0.15s ease;
}
.comparison-links a:hover { background: var(--brand-soft); }
.comparison-links em { font-size: 0.75rem; font-style: normal; font-weight: 700; text-transform: uppercase; color: var(--brand-dark); }

.comparison-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.comparison-card:hover { color: inherit; box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.comparison-card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.comparison-card-media > img { width: 100%; height: 100%; object-fit: cover; }
.comparison-card-split { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 100%; }
.comparison-card-split span { overflow: hidden; background: var(--border); }
.comparison-card-split img { width: 100%; height: 100%; object-fit: cover; }
.comparison-card-split em {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  font-style: normal;
  font-weight: 700;
  color: #fff;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--brand);
  transform: translate(-50%, -50%);
}
.comparison-card-body { padding: 1.25rem; }
.comparison-card-title { font-size: 1.15rem; margin-bottom: 0.5rem; }
.comparison-card-body p { margin-bottom: 0.5rem; color: var(--muted); }
.comparison-card-meta { font-size: 0.82rem; }

.compare-table { margin-bottom: 0; }
.compare-table thead th { font-family: var(--font-heading); font-size: 1.05rem; vertical-align: bottom; }
.compare-table th[scope="row"] { width: 30%; font-weight: 600; color: var(--navy); }
.compare-table th[scope="row"] small { display: block; margin-top: 0.2rem; font-weight: 400; color: var(--muted); }
.compare-table td.is-winner { background: var(--brand-soft); }
.compare-table td .fa-trophy { color: var(--brand); }
.compare-wins {
  display: inline-block;
  padding: 0.1rem 0.5rem;
  margin-left: 0.25rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--brand-dark);
  border-radius: 999px;
  background: var(--brand-soft);
}

.choose-card { height: 100%; padding: 1.5rem; border-top: 4px solid var(--brand); border-radius: var(--radius); background: var(--bg-soft); }
.choose-card ul { padding-left: 1.2rem; }
.choose-card li { margin-bottom: 0.35rem; }

.research-box { padding: 1.5rem; border: 1px dashed var(--border); border-radius: var(--radius); background: var(--bg-soft); }
.research-sources { padding-left: 1.25rem; font-size: 0.9rem; }
.research-sources li { margin-bottom: 0.25rem; word-break: break-word; }

/* Newsletter archive -------------------------------------------------------- */
.issue-list { padding: 0; list-style: none; }
.issue-list li { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.issue-list a { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 700; color: var(--navy); text-decoration: none; }
.issue-list a:hover { color: var(--brand-dark); }
.issue-list time { display: block; margin-top: 0.15rem; font-size: 0.85rem; color: var(--muted); }
.issue-list p { margin: 0.4rem 0 0; }

.issue-place {
  display: block;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.issue-place:hover { color: inherit; box-shadow: var(--shadow); }
.issue-place img { width: 100%; height: 160px; object-fit: cover; }
.issue-place strong, .issue-place span, .issue-place p { display: block; padding: 0 1rem; }
.issue-place strong { padding-top: 0.75rem; font-family: var(--font-heading); color: var(--navy); }
.issue-place span { font-size: 0.85rem; color: var(--muted); }
.issue-place p { margin: 0.4rem 0 0.9rem; font-size: 0.9rem; }

/* Print: trip plans print cleanly ------------------------------------------ */
@media print {
  .site-header, .site-footer, .no-print, .skip-link, .breadcrumb, .offer-list, .ad-slot, .site-messages,
  .top-picks, .pdf-offer, .short-videos, .comparison-links { display: none !important; }
  .page-hero { padding: 0 !important; background: none !important; color: #000 !important; }
  .page-hero::before, .page-hero::after { display: none !important; }
  .page-title, .plan-meta { color: #000 !important; }
  .plan-day { break-inside: avoid; }
  .col-lg-8 { width: 100% !important; }
  a { color: inherit; text-decoration: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
