/* ============================================================
   Rome in a Day — romeinaday.tours
   Stack: plain HTML/CSS/JS, no framework.
   Design: ToursCE blog layout (blog-design-instructions.md)
   recolored with the Italian palette from fonts-colors.
   Mobile-first: base styles target 375px; min-width queries
   progressively enhance to tablet (≥690px) and desktop (≥1000px).
   ============================================================ */

:root {
  /* ITALIAN PALETTE (from fonts-colors) */
  --terracotta:       #B75E3A;   /* primary brand accent — H2 borders, link hover, tag color */
  --terracotta-dark:  #964A2C;   /* primary CTA buttons (white-on-this ≥6:1 — AA safe) */
  --terracotta-tint:  #F8E8DD;   /* callout / tag chip background */
  --terracotta-border:#E6BCA0;   /* callout / tag border */
  --cream:            #F6EFE5;   /* page background */
  --travertine:       #D8C3A5;   /* secondary accent / dividers */
  --olive:            #4F5D3F;   /* deep accent — secondary CTAs */
  --olive-dark:       #3D4A30;
  --espresso:         #2B2118;   /* primary text */
  --gold:             #C69A45;   /* star ratings, decorative highlights */
  --gold-dark:        #9A7530;

  /* ROLE TOKENS */
  --text-primary:    var(--espresso);
  --text-secondary:  #5A4D40;
  --text-muted:      #8A7B6C;

  --bg-page:         var(--cream);
  --bg-surface:      #FFFFFF;
  --bg-subtle:       #EFE5D3;

  --border:          rgba(43, 33, 24, 0.12);
  --border-md:       rgba(43, 33, 24, 0.20);

  /* TYPOGRAPHY */
  --font-heading: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'Source Sans 3', 'Helvetica Neue', Arial, sans-serif;

  /* SPACING SCALE */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 40px;
  --space-xxl: 60px;

  /* SHADOWS */
  --shadow-card: 0 2px 8px -2px rgba(43, 33, 24, 0.08);
  --shadow-card-hover: 0 6px 16px -4px rgba(43, 33, 24, 0.14);

  --transition: all 0.18s cubic-bezier(0.4, 0, 0.2, 1);

  /* MARINA-COMPATIBLE TOKEN ALIASES (hex-literal so contrast_audit.py can resolve)
     NOTE: color-primary is aliased to the terracotta-DARK hex (#964A2C), not the
     lighter terracotta (#B75E3A). The actual button/CTA color in the build is the
     dark variant; the lighter shade is used only for decorative borders, the H2
     top-border, and the dot accents. This makes the audit reflect what the page
     actually ships.
     NOTE: --pillar-* tokens are intentionally omitted — this is a blog-article
     layout with no hero pillar cards. The audit's pillar-iteration block skips
     when no --pillar-* tokens are present. */
  --color-primary:       #964A2C;
  --color-primary-deep:  #964A2C;
  --color-primary-hover: #2B2118;
  --color-dark:          #2B2118;
  --color-body:          #5A4D40;
  --color-white:         #FFFFFF;
  --color-bg:            #F6EFE5;
  --color-surface:       #FFFFFF;
  --color-footer-bg:     #2B2118;
  --color-ice:           #F6EFE5;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--terracotta-dark);
  text-decoration: none;
  transition: var(--transition);
}
a:hover { color: var(--terracotta); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 var(--space-sm);
  line-height: 1.2;
}

p { margin: 0 0 1em; }

strong { font-weight: 600; color: var(--text-primary); }

ul, ol { margin: 0 0 1em; padding-left: 1.5em; }
li { margin-bottom: 0.4em; }

/* sticky-header scroll offset */
section[id] { scroll-margin-top: 72px; }

/* keyboard focus ring */
*:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* sr-only utility */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ============================================================
   STICKY HEADER (blog-design §5, recolored)
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  min-height: 58px;
}
.site-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.5px;
}
.site-logo__accent { color: var(--terracotta); }

.primary-nav {
  display: none;
  align-items: center;
  gap: 22px;
}
.primary-nav a {
  font-size: 15px;
  color: var(--text-secondary);
  font-weight: 500;
}
.primary-nav a:hover,
.primary-nav a.is-active { color: var(--terracotta); }

.btn {
  display: inline-block;
  background: var(--terracotta-dark);
  color: #FFFFFF;
  border: 0;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  letter-spacing: 0.1px;
  transition: var(--transition);
}
.btn:hover {
  background: var(--espresso);
  color: #FFFFFF;
  transform: translateY(-1px);
}
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--full { display: block; width: 100%; text-align: center; }
.btn--ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-md);
}
.btn--ghost:hover { color: var(--terracotta-dark); border-color: var(--terracotta); background: transparent; }

/* Specificity fix: any .btn inside .primary-nav keeps white text */
.primary-nav .btn,
.primary-nav .btn:hover { color: #FFFFFF; }

/* hamburger toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--border-md);
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle__bar {
  position: relative;
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
}
.nav-toggle__bar::before,
.nav-toggle__bar::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
}
.nav-toggle__bar::before { top: -6px; }
.nav-toggle__bar::after  { top:  6px; }

/* mobile menu */
.mobile-menu {
  display: none;
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 12px 20px 18px;
}
.mobile-menu.is-open { display: block; }
.mobile-menu a {
  display: block;
  padding: 13px 0;
  font-size: 17px;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}
.mobile-menu a:last-child { border-bottom: 0; }
.mobile-menu a.is-cta { color: var(--terracotta-dark); font-weight: 600; }

@media (min-width: 1000px) {
  .primary-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none !important; }
}

/* ============================================================
   BREADCRUMB BAR (blog-design §6)
   ============================================================ */
.breadcrumb {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-muted);
}
.breadcrumb__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--terracotta); }
.breadcrumb__sep { margin: 0 6px; }
.breadcrumb__current { color: var(--text-primary); }

/* ============================================================
   HERO ZONE — full-bleed white wrapper around article-header + hero figure.
   Cream page background begins below .hero-zone.
   ============================================================ */
.hero-zone {
  background: var(--bg-surface);
  padding-bottom: clamp(28px, 4vw, 48px);
}

/* ============================================================
   ARTICLE HEADER ZONE (blog-design §7)
   ============================================================ */
.article-header {
  background: var(--bg-surface);
}
.article-header__inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 22px 20px 0;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-bottom: 14px;
  font-size: 13px;
  color: var(--text-muted);
}
.meta-row__item { display: inline-flex; align-items: center; gap: 5px; }
.meta-row__icon {
  width: 14px; height: 14px;
  display: inline-block;
}

.tag {
  display: inline-block;
  background: var(--terracotta-tint);
  color: var(--terracotta-dark);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 11px;
  border: 1px solid var(--terracotta-border);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-family: var(--font-body);
}

.article-h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5.6vw, 44px);
  font-weight: 600;
  color: var(--text-primary);
  max-width: 820px;
  margin: 0 0 16px;
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.article-deck {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--text-secondary);
  max-width: 760px;
  line-height: 1.55;
  margin: 0 0 var(--space-md);
}

.hero-figure {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}
.hero-figure__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 420px;
  overflow: hidden;
}
.hero-figure__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-figure__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    transparent 50%,
    rgba(43, 33, 24, 0.55) 100%);
  pointer-events: none;
}
.hero-figure__caption {
  position: absolute;
  bottom: 14px;
  left: 32px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-style: italic;
  z-index: 2;
}

@media (max-width: 689px) {
  .hero-figure__media { aspect-ratio: 4 / 3; max-height: 280px; }
  .hero-figure__caption { left: 28px; bottom: 12px; font-size: 11px; }
}

/* ============================================================
   TWO-COLUMN BLOG LAYOUT (blog-design §8)
   ============================================================ */
.blog-layout {
  max-width: 1140px;
  margin: 0 auto;
  padding: 32px 20px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: start;
}

@media (min-width: 1000px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 48px;
  }
}

/* article body container */
.article-body { min-width: 0; }

/* sidebar container */
.article-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1000px) {
  .article-sidebar {
    position: sticky;
    top: 80px;
    align-self: start;
    max-height: calc(100vh - 96px);
    overflow-y: auto;
  }
}

/* ============================================================
   ARTICLE BODY COMPONENTS
   ============================================================ */

/* Author bar (blog-design §9a) */
.author-bar {
  background: var(--bg-subtle);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  border-left: 3px solid var(--terracotta);
}
.author-bar__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.author-bar__name { font-size: 15px; font-weight: 600; color: var(--text-primary); }
.author-bar__role { font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* TOC box (blog-design §9b) */
.toc {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--terracotta);
  padding: 18px 22px;
  margin: 0 0 28px;
}
.toc__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.toc__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px 28px;
}
/* 2-column TOC on tablet+: items flow top-to-bottom per column (01–05 left, 06–09 right) */
@media (min-width: 540px) {
  .toc__list {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(5, auto);
    grid-auto-flow: column;
  }
}
.toc__list li { margin: 0; }
.toc__list a {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--text-secondary);
  padding: 5px 0;
  line-height: 1.4;
}
.toc__list a:hover { color: var(--terracotta-dark); }
.toc__num {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--terracotta);
  font-size: 14px;
  min-width: 22px;
}

/* article sections */
.article-section { margin: 0 0 40px; }
.article-section h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.6vw, 32px);
  font-weight: 600;
  margin: 0 0 16px;
  padding-top: 10px;
  border-top: 2px solid var(--terracotta);
  display: inline-block;
  line-height: 1.2;
}
.article-section h3 {
  font-family: var(--font-heading);
  font-size: clamp(21px, 2.6vw, 25px);
  font-weight: 600;
  color: var(--text-primary);
  margin: 26px 0 12px;
  line-height: 1.3;
}
.article-section h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 20px 0 10px;
}

.article-section p,
.article-section li { font-size: 17px; line-height: 1.75; color: var(--text-secondary); }
.article-section ul { padding-left: 1.25em; }
.article-section ul li { margin-bottom: 0.5em; }

/* dropcap on §1 first paragraph */
.dropcap::first-letter {
  font-family: var(--font-heading);
  font-size: 4em;
  float: left;
  line-height: 0.85;
  margin: 0.05em 0.08em 0 0;
  color: var(--terracotta);
  font-weight: 600;
}

/* Info / fact 2x2 grid (blog-design §9d) */
.fact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 18px 0 24px;
}
@media (min-width: 540px) {
  .fact-grid { grid-template-columns: repeat(2, 1fr); }
}
.fact-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 540px) {
  .fact-grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 880px) {
  .fact-grid--3 { grid-template-columns: repeat(3, 1fr); }
}
.fact {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 16px 18px;
}
.fact__label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  margin: 0 0 7px;
}
.fact__value {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

/* Callout / highlight box (blog-design §9e) */
.callout {
  background: var(--terracotta-tint);
  border: 1px solid var(--terracotta-border);
  border-left: 4px solid var(--terracotta);
  padding: 16px 20px;
  margin: 22px 0;
}
.callout p { color: #6b3a1f; font-size: 15.5px; margin: 0; line-height: 1.65; }
.callout strong { color: var(--terracotta-dark); }
.callout--olive {
  background: #EAEDE3;
  border-color: #B7BFAB;
  border-left-color: var(--olive);
}
.callout--olive p { color: #2F3826; }
.callout--olive strong { color: var(--olive-dark); }

/* Checklist (blog-design §9f) — used in includes/excludes blocks */
.checklist { list-style: none; padding: 0; margin: 0 0 18px; }
.checklist li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 16px;
  height: 16px;
  background: var(--olive);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.3 11.2 3.6 8.5l1-1 1.7 1.7 4.7-4.7 1 1z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M6.3 11.2 3.6 8.5l1-1 1.7 1.7 4.7-4.7 1 1z'/></svg>") center/contain no-repeat;
}
.checklist--cross li::before {
  background: #9B5544;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M4.7 4.7 8 8l3.3-3.3 1 1L9 9l3.3 3.3-1 1L8 10l-3.3 3.3-1-1L7 9 3.7 5.7z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path fill='white' d='M4.7 4.7 8 8l3.3-3.3 1 1L9 9l3.3 3.3-1 1L8 10l-3.3 3.3-1-1L7 9 3.7 5.7z'/></svg>") center/contain no-repeat;
}

/* Inline tour CTA card (blog-design §9g) */
.tour-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  margin: 22px 0;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.tour-card:hover { box-shadow: var(--shadow-card-hover); }
/* Most tour-cards no longer render an image — the GYG widget replaces the
   image+meta+price+CTA stack. The Editorial-pick featured card (.tour-card--featured)
   is the exception and keeps its photo. */
.tour-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--travertine);
  overflow: hidden;
  display: block;
  text-decoration: none;
}
.tour-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.32s ease;
}
.tour-card--featured:hover .tour-card__media img { transform: scale(1.03); }

/* Category badge default: inline-block pill above the title (cards with no photo). */
.tour-card__label {
  display: inline-block;
  align-self: flex-start;
  background: var(--terracotta-dark);
  color: #FFFFFF;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  padding: 4px 10px;
  margin: 0 0 8px;
}
/* Override when the badge sits inside the photo (featured-tour card only):
   absolute-positioned over the image. */
.tour-card__media .tour-card__label {
  position: absolute;
  top: 12px; left: 14px;
  margin: 0;
  z-index: 2;
}
/* Featured-tour card uses .tour-card__body (single padded wrapper for title + desc + widget). */
.tour-card__body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* §5 grid cards split into two vertical containers:
   .tour-card__top — padded; holds badge, title, description; flex-grows to push __bottom down
   .tour-card__bottom — no padding; widget at top, full width of the card */
.tour-card__top {
  padding: 20px 22px 16px;
  flex: 1 1 auto;             /* fills available card height so .tour-card__bottom anchors to the card bottom */
  display: flex;
  flex-direction: column;
}
.tour-card__bottom {
  flex: 0 0 auto;             /* natural size; widget min-height drives it */
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}
.tour-card__bottom > div[data-gyg-href] {
  margin: 0;                  /* widget edge-to-edge inside its container */
  min-height: 320px;
  display: block;
}
.tour-card__title {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0 0 8px;
}
.tour-card__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 0;
}
/* Retired classes (.tour-card__eyebrow, .tour-card__meta, .tour-card__footer,
   .tour-card__price) — image + meta + price + CTA now live inside the embedded
   GYG widget. Rules removed to keep stylesheet honest. */
/* .tour-card__pickline retired alongside the image + meta + footer when the
   GYG widget became the conversion surface. Editorial commentary now lives
   in the .tour-card__desc paragraph above the widget. */

/* GYG availability widget sits directly in the card body (no wrapper container).
   Reserve min-height so the card doesn't reflow when the widget hydrates. */

/* FEATURED card (single-column, full-width, with photo) — keeps the .tour-card__body
   wrapper. Widget inset with margin so card interior breathing room is preserved. */
.tour-card--featured .tour-card__body > div[data-gyg-href] {
  margin: 16px 0 0;
  min-height: 320px;
  background: var(--bg-subtle);
}

/* tour-cards grid for §5 — 3 cols desktop, 2 cols tablet, 1 col mobile.
   At ≥690px, cards become 2-row subgrids of the parent. The parent's row 1
   takes the max .tour-card__top height across the row (= longest description's
   height); row 2 takes the max .tour-card__bottom height (= widget height).
   Result: every .tour-card__top in a row is exactly the same height, and every
   widget starts at the same Y. Top text packs at the top of its container;
   any spare space lives below the description, inside .tour-card__top. */
.tour-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin: 18px 0 28px;
}
@media (min-width: 690px) {
  .tour-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: auto auto;          /* sub-row template per card-row: top, bottom */
  }
  .tour-grid > .tour-card:not(.tour-card--featured) {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
  }
}
@media (min-width: 1000px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }

/* Category subsection */
.cat-block { margin: 28px 0 32px; }
.cat-block__head { margin-bottom: 14px; }
.cat-block__h3 {
  font-family: var(--font-heading);
  font-size: clamp(23px, 2.8vw, 28px);
  margin: 0 0 4px;
  color: var(--text-primary);
}
.cat-block__tag {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 18px;
  color: var(--terracotta);
  margin: 0 0 12px;
}
.cat-block__desc { font-size: 16.5px; color: var(--text-secondary); margin: 0 0 10px; line-height: 1.65; }
.cat-block__editorial {
  font-size: 15px;
  color: var(--text-secondary);
  font-style: italic;
  margin: 0 0 16px;
  padding-left: 14px;
  border-left: 2px solid var(--travertine);
  line-height: 1.6;
}

/* Itinerary table */
.itin-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 26px;
  font-size: 15.5px;
}
.itin-table thead th {
  text-align: left;
  background: var(--terracotta-tint);
  color: var(--terracotta-dark);
  font-weight: 700;
  padding: 11px 13px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--terracotta-border);
}
.itin-table tbody td {
  padding: 11px 13px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.5;
}
.itin-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  font-family: var(--font-heading);
  font-size: 16.5px;
}
.itin-table tbody tr:last-child td { border-bottom: 0; }

/* Distance / data table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}
.data-table thead th {
  background: var(--bg-subtle);
  text-align: left;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-md);
}
.data-table tbody td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  line-height: 1.5;
}
.data-table tbody tr:last-child td { border-bottom: 0; }

/* FAQ accordion */
.faq { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 24px; }
.faq details {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 0;
  transition: var(--transition);
}
.faq details[open] {
  border-color: var(--terracotta-border);
  box-shadow: var(--shadow-card);
}
.faq summary {
  cursor: pointer;
  padding: 16px 48px 16px 20px;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
  position: relative;
  list-style: none;
  line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  color: var(--terracotta);
  font-weight: 400;
  line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq__body {
  padding: 0 20px 18px;
  font-size: 16.5px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.faq__body p:last-child { margin-bottom: 0; }

/* Pull-quote */
.pullquote {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.5;
  color: var(--text-primary);
  border-left: 3px solid var(--terracotta);
  padding: 8px 0 8px 22px;
  margin: 24px 0;
  max-width: 760px;
}
.pullquote cite {
  display: block;
  font-style: normal;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Share buttons row */
.share-row {
  margin: 32px 0 8px;
  padding: 18px 0 22px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.share-row__label { font-size: 14px; color: var(--text-muted); margin-right: 6px; }
.share-row a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-md);
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.share-row a:hover {
  color: var(--terracotta-dark);
  border-color: var(--terracotta);
  background: var(--terracotta-tint);
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.side-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 18px 20px;
}
.side-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  margin: 0 0 14px;
}

.quick-facts dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.quick-facts__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  font-size: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.quick-facts__row:last-child { border-bottom: 0; padding-bottom: 0; }
.quick-facts dt { color: var(--text-muted); font-weight: 400; }
.quick-facts dd { margin: 0; font-weight: 600; color: var(--text-primary); text-align: right; }

.mini-tours { display: flex; flex-direction: column; }
.mini-tour {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
}
.mini-tour:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-tour__thumb {
  width: 56px; height: 56px;
  flex: 0 0 56px;
  object-fit: cover;
  background: var(--travertine);
}
.mini-tour__title {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.35;
  margin: 0 0 4px;
}
.mini-tour__price { font-size: 13px; color: var(--terracotta-dark); font-weight: 600; }
.mini-tour:hover .mini-tour__title { color: var(--terracotta-dark); }

.cta-side {
  background: var(--terracotta-tint);
  border: 1px solid var(--terracotta-border);
  padding: 18px 20px;
}
.cta-side__title {
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  color: var(--terracotta-dark);
  margin: 0 0 7px;
}
.cta-side__body {
  font-size: 14px;
  color: #6b3a1f;
  margin: 0 0 14px;
  line-height: 1.6;
}

/* ============================================================
   RELATED-ANCHORS GRID
   ============================================================ */
.related {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 36px 20px;
}
.related__inner { max-width: 1140px; margin: 0 auto; }
.related__title {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  margin: 0 0 20px;
  color: var(--text-primary);
}
.related__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 690px) { .related__grid { grid-template-columns: repeat(3, 1fr); } }

.related-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.related-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.related-card__media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--travertine);
  overflow: hidden;
}
.related-card__media img { width: 100%; height: 100%; object-fit: cover; }
.related-card__body { padding: 14px 16px 18px; }
.related-card__tag {
  display: inline-block;
  background: var(--terracotta-tint);
  color: var(--terracotta-dark);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin: 0 0 8px;
}
.related-card__title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 5px;
  line-height: 1.3;
}
.related-card__meta { font-size: 13px; color: var(--text-muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--espresso);
  color: rgba(246, 239, 229, 0.86);
  padding: 40px 20px 28px;
  font-size: 14px;
  text-align: center;
}
.site-footer__inner { max-width: 1140px; margin: 0 auto; }
.site-footer__logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 6px;
  letter-spacing: 0.5px;
}
.site-footer__logo .site-logo__accent { color: var(--terracotta); }
.site-footer__tagline {
  font-style: italic;
  font-family: var(--font-heading);
  font-size: 17px;
  color: rgba(246, 239, 229, 0.78);
  margin: 0 0 18px;
}
.site-footer__cta { margin: 0 0 22px; }
.site-footer__cta .btn {
  padding: 13px 32px;
  font-size: 15px;
  background: var(--terracotta-dark);   /* AA-safe white-on-bg (6.36:1) */
}
.site-footer__cta .btn:hover {
  background: var(--terracotta);
  color: #FFFFFF;
}
.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 24px;
  margin: 0 0 18px;
}
.site-footer__links a {
  color: rgba(246, 239, 229, 0.92);
  font-size: 14px;
}
.site-footer__links a:hover { color: var(--terracotta); }
.site-footer__disclosure {
  font-size: 13px;
  color: rgba(246, 239, 229, 0.7);
  max-width: 760px;
  margin: 0 auto 12px;
  line-height: 1.65;
}
.site-footer__copy {
  font-size: 12.5px;
  color: rgba(246, 239, 229, 0.7);   /* AA-safe alpha on espresso bg */
  margin: 0;
}

/* ============================================================
   404 / PRIVACY / DISCLOSURE PAGES (shared)
   ============================================================ */
.page-shell {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 20px 64px;
}
.page-shell h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4.4vw, 38px);
  margin: 0 0 18px;
  padding-top: 8px;
  border-top: 2px solid var(--terracotta);
  display: inline-block;
}
.page-shell h2 {
  font-family: var(--font-heading);
  font-size: 23px;
  margin: 28px 0 10px;
  color: var(--text-primary);
}
.page-shell p,
.page-shell li { font-size: 17px; color: var(--text-secondary); line-height: 1.75; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  .site-header, .site-footer, .article-sidebar, .share-row, .related, .nav-toggle { display: none !important; }
  .blog-layout { grid-template-columns: 1fr; }
  body { color: #000; background: #fff; }
  a { color: #000; text-decoration: underline; }
}
