/* ============================================================
   Odyssey — Individual blog post page
   ============================================================ */

:root {
  --gold: #d7b35a;
  --bg: #ffffff;
  --bg2: #f6f4ef;
  --panel: rgba(0,0,0,0.04);
  --panel2: rgba(0,0,0,0.06);
  --text: rgba(17,17,19,0.92);
  --text2: rgba(17,17,19,0.72);
  --muted: rgba(17,17,19,0.56);
  --line: rgba(0,0,0,0.10);
  --line2: rgba(0,0,0,0.14);
  --accent: #b79a63;
  --accent2: #8f7a48;
  --radius: 14px;
  --gap: 12px;
  --shadow: 0 14px 40px rgba(0,0,0,0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  background: var(--bg2);
  color: var(--text);
  font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  min-height: 100%;
}

button, input, select, textarea { font-family: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

/* ── Header ── */
.menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 20px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.menuTitleWrap { display: flex; flex-direction: column; gap: 4px; }
.menuTitle {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: 0.10em;
  line-height: 1.1;
  white-space: nowrap;
  color: var(--text);
}
.menuSubtitle {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.menuActions { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }

.btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--text2);
  transition: background 0.15s, border-color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn:hover { background: var(--panel2); border-color: var(--line2); }
.btn.ghost { background: transparent; }
.btn.ghost:hover { background: var(--panel); }
.btn.primary {
  background: var(--accent);
  border-color: var(--accent2);
  color: #fff;
  font-weight: 600;
}
.btn.primary:hover { background: var(--accent2); }

.buildPill {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--muted);
}

/* ── Hero ── */
.blogHero {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
  background: var(--bg2);
}

/* ── Article layout ── */
.blogArticle {
  max-width: none;
  margin: 0 auto;
  padding: 52px min(288px, 20vw) 100px;
}

/* back breadcrumb */
.blogBack {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 32px;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.blogBack:hover { opacity: 1; }
.blogBack svg { flex-shrink: 0; }

/* region label */
.blogRegion {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 12px;
}

.blogTitle {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 18px;
}

.blogMeta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line2);
}

.blogMetaItem {
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
}

.blogMetaItem span {
  color: var(--text2);
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

/* ── Body copy ── */
.blogBody {
  font-size: 16.5px;
  line-height: 1.78;
  color: var(--text);
}

.blogBody p { margin: 0 0 22px; }
.blogBody p:last-child { margin-bottom: 0; }

.blogBody h2 {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin: 48px 0 14px;
}

.blogBody h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 14px;
  line-height: 1.3;
}

.blogBody strong { font-weight: 700; color: var(--text); }

/* inline photo */
.blogPhoto {
  width: 100%;
  max-width: 740px;
  border-radius: var(--radius);
  margin: 32px auto;
  display: block;
  cursor: zoom-in;
}

.blogCaption {
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  margin: -20px 0 32px;
  letter-spacing: 0.03em;
}

/* itinerary day strip */
.dayStrip {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 10px 0 22px;
}

.dayStrip__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 4px;
}

.dayStrip__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.dayStrip__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text2);
  margin: 0;
}

/* ── Footer CTA ── */
.blogFooterCta {
  margin-top: 64px;
  padding: 36px 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.blogFooterCta__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.blogFooterCta__heading {
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 8px;
  line-height: 1.3;
}

.blogFooterCta__sub {
  font-size: 14px;
  color: var(--text2);
  margin: 0 0 24px;
  line-height: 1.6;
}

.blogFooterCta__actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Blog body inline links ── */
.blogBody a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(183,154,99,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s;
}
.blogBody a:hover { text-decoration-color: var(--accent); }

/* ── Route at a glance compact grid ── */
.routeGrid { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 28px; max-width: 620px; }
.routeGrid .dayStrip { display: flex; align-items: center; padding: 8px 16px; margin: 0; gap: 0; }
.routeGrid .dayStrip__label { min-width: 74px; margin-bottom: 0; font-size: 9px; flex-shrink: 0; }
.routeGrid .dayStrip__title { font-size: 13px; font-weight: 700; margin-bottom: 0; white-space: nowrap; flex-shrink: 0; padding-right: 12px; margin-right: 12px; border-right: 1px solid var(--line2); }
.routeGrid .dayStrip__desc { font-size: 12px; color: var(--muted); margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; line-height: 1.4; }

/* ── Gallery ── */
.blogGallery {
  margin-top: 64px;
}

.blogGallery__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 16px;
}

.blogGallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}

.blogGallery__thumb {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  display: block;
  transition: opacity 0.15s;
}

.blogGallery__thumb:hover { opacity: 0.8; }

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.93);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
  display: block;
  user-select: none;
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
  opacity: 0.65;
  line-height: 1;
  padding: 6px 10px;
}
.lightbox__close:hover { opacity: 1; }

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: 10px;
  opacity: 0.75;
  transition: background 0.15s, opacity 0.15s;
}
.lightbox__prev:hover,
.lightbox__next:hover { background: rgba(255,255,255,0.20); opacity: 1; }
.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }
.lightbox__prev:disabled,
.lightbox__next:disabled { opacity: 0.2; cursor: default; }

.lightbox__caption {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255,255,255,0.72);
  text-align: center;
  max-width: 640px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 60px;
}

.lightbox__counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.40);
}

/* ── Responsive ── */
@media (max-width: 640px) {
  .blogHero { height: 260px; }
  .blogArticle { padding: 32px 16px 72px; }
  .menu { padding: 12px 14px; }
  .menuTitle { font-size: 24px; }
  .menuTitleWrap { gap: 2px; }

}
