/* HIKE5 — One Life to See it All */
:root {
  --brown: #3E2A1A; --sage: #7A9B76; --blue: #5B7C99;
  --terra: #C67B5C; --oker: #C9963B;
  --bg: #FAF6EF; --text: #333; --text-light: #6B5B4F;
  --border: #E0D5C5; --nav-bg: #1e1e1e;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --max-w: 1200px; --content-w: 900px;
  --gap: clamp(1rem, 3vw, 2rem);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: clamp(1rem, 1.1vw, 1.125rem); line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--text); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--terra); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; color: var(--text); }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2rem 0 0.75rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin: 1.5rem 0 0.5rem; }
p { margin-bottom: 1rem; }
blockquote { border-left: 4px solid var(--oker); padding: 1rem 1.5rem; margin: 1.5rem 0; background: #F4E8D0; font-style: italic; border-radius: 0 8px 8px 0; }
hr { border: none; height: 1px; background: var(--border); margin: 2.5rem 0; }

/* Nav */
.site-nav { position: sticky; top: 0; z-index: 1000; background: var(--nav-bg); box-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gap); display: flex; align-items: center; }
.nav-logo { display: flex; align-items: center; text-decoration: none; padding: 0.6rem 1.5rem 0.6rem 0; flex-shrink: 0; }
.nav-logo img { height: 40px; width: 40px; border-radius: 50%; margin-right: 0.5rem; }
.logo-text { font-family: var(--font-display); font-size: 1.3rem; font-weight: 800; color: #fff; }
.logo-tagline { display: none; }
.nav-links { display: flex; align-items: center; flex: 1; }
.nav-links > a,
.nav-dropdown > a { color: rgba(255,255,255,0.9); font-size: 0.85rem; font-weight: 400; padding: 1rem 0.9rem; white-space: nowrap; display: block; transition: background 0.2s; }
.nav-links > a:hover, .nav-links > a.active,
.nav-dropdown > a:hover, .nav-dropdown > a.active { color: #fff; background: rgba(255,255,255,0.08); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; margin-left: auto; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* Dropdowns */
.nav-dropdown { position: relative; }
.dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background: var(--nav-bg); min-width: 300px; box-shadow: 0 8px 24px rgba(0,0,0,0.3); border-radius: 0 0 8px 8px; z-index: 1001; padding: 0.25rem 0; }
@media (hover: hover) { .nav-dropdown:hover .dropdown-menu { display: block; } }
.dropdown-menu a { display: block; padding: 0.55rem 1.2rem; font-size: 0.82rem; color: rgba(255,255,255,0.85); white-space: nowrap; }
.dropdown-menu a:hover { background: rgba(255,255,255,0.1); color: #fff; }

/* Hero */
.hero { position: relative; min-height: 70vh; display: flex; align-items: center; justify-content: center; background-size: cover; background-position: center; overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 40%, rgba(0,0,0,0.25) 100%); }
.hero-content { position: relative; z-index: 1; text-align: center; padding: 2rem var(--gap); max-width: 800px; }
.hero-title { font-family: var(--font-display); font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 700; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,0.3); margin-bottom: 0.25rem; }
.hero-subtitle { font-size: clamp(1rem, 2.5vw, 1.4rem); color: rgba(255,255,255,0.9); font-style: italic; text-shadow: 0 1px 10px rgba(0,0,0,0.3); }
.hero-simple { background: linear-gradient(135deg, var(--brown) 0%, #5a4030 50%, var(--blue) 100%); min-height: 40vh; }

/* Content */
.site-main { position: relative; }
.content-container { max-width: var(--content-w); margin: 0 auto; padding: 2rem var(--gap) 3rem; }
.text-center { text-align: center; }
.content-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--gap); margin: 1.5rem 0; }
.content-col { min-width: 0; }
img[loading] { width: 100%; height: auto; border-radius: 4px; margin: 0.5rem 0; }
figure.article-image { margin: 1.5rem 0; }
figcaption { font-size: 0.85rem; color: var(--text-light); text-align: center; margin-top: 0.5rem; font-style: italic; }
.map-embed, .wikiloc-embed { margin: 1.5rem 0; border-radius: 4px; overflow: hidden; border: 1px solid var(--border); }
.map-embed iframe, .wikiloc-embed iframe { width: 100%; min-height: 450px; border: none; display: block; }
ul, ol { margin: 1rem 0; padding-left: 1.5rem; }
li { margin-bottom: 0.4rem; }
li a { text-decoration: underline; }
li a:hover { color: var(--terra); }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.95rem; }
th, td { padding: 0.5rem 0.75rem; text-align: left; border: 1px solid var(--border); }
th { font-weight: 600; background: #f5f5f5; }
h2[id] { scroll-margin-top: 80px; }
.btn { text-align: center; margin: 0.5rem 0; }
.btn a, a.btn, a.btn-link { display: inline-block; padding: 0.6rem 1.5rem; background: var(--nav-bg); color: #fff !important; border-radius: 50px; font-weight: 500; font-size: 0.9rem; text-decoration: none; transition: all 0.3s; }
.btn a:hover { background: #444; }

/* Footer */
.site-footer { background: var(--nav-bg); color: rgba(255,255,255,0.7); padding: 2rem 0; margin-top: 2rem; text-align: center; }
.footer-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gap); }
.footer-brand { margin-bottom: 1rem; }
.footer-logo { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; color: #fff; }
.footer-tagline { font-size: 0.8rem; font-style: italic; opacity: 0.6; margin-top: 0.25rem; }
.footer-social { margin: 1rem 0; }
.footer-social a { color: rgba(255,255,255,0.7); margin: 0 0.75rem; font-size: 0.9rem; }
.footer-social a:hover { color: #fff; }
.footer-links { margin: 1rem 0; display: flex; justify-content: center; gap: 1.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.85rem; }
.footer-links a:hover { color: #fff; }
.footer-copy { font-size: 0.8rem; opacity: 0.5; }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--nav-bg); flex-direction: column; padding: 0.5rem 0; }
  .nav-open .nav-links { display: flex; }
  .nav-links > a, .nav-dropdown > a { padding: 0.75rem 1.5rem; }
  .dropdown-menu { position: static; box-shadow: none; min-width: auto; padding-left: 1rem; }
  .nav-dropdown:hover .dropdown-menu { display: none; }
  .nav-dropdown.open .dropdown-menu { display: block; }
  .hero { min-height: 50vh; }
  .content-container { padding: 1.5rem 1rem 2rem; }
  .content-grid { grid-template-columns: 1fr; }
  .map-embed iframe, .wikiloc-embed iframe { min-height: 350px; }
}
@media print {
  .site-nav, .site-footer, .map-embed, .wikiloc-embed { display: none; }
  .hero { min-height: auto; }
  .content-container { max-width: 100%; padding: 0; }
}

/* ─── Tiled Galleries (Jetpack) ─── */
.wp-block-jetpack-tiled-gallery,
.tiled-gallery__gallery { margin: 1.5rem 0; }
.tiled-gallery__row {
  display: grid;
  gap: 4px;
  margin-bottom: 4px;
}
.tiled-gallery__row.columns-2 { grid-template-columns: repeat(2, 1fr); }
.tiled-gallery__row.columns-3 { grid-template-columns: repeat(3, 1fr); }
.tiled-gallery__row.columns-4 { grid-template-columns: repeat(4, 1fr); }
.tiled-gallery__row.columns-5 { grid-template-columns: repeat(5, 1fr); }
.tiled-gallery__row.columns-6 { grid-template-columns: repeat(6, 1fr); }
.tiled-gallery__row.columns-7 { grid-template-columns: repeat(7, 1fr); }
.tiled-gallery__item { margin: 0; }
.tiled-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
  aspect-ratio: 1;
}
.has-rounded-corners-14 img { border-radius: 14px; }
@media (max-width: 768px) {
  .tiled-gallery__row.columns-5,
  .tiled-gallery__row.columns-6,
  .tiled-gallery__row.columns-7 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
  .tiled-gallery__row { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ─── Etappe Layout (Wikiloc left, text right) ─── */
.content-col[style*="flex-basis:30%"] { flex-basis: 30% !important; }
.content-col[style*="flex-basis:40%"] { flex-basis: 40% !important; }
.content-col[style*="flex-basis:50%"] { flex-basis: 50% !important; }
.content-col[style*="flex-basis:70%"] { flex-basis: 70% !important; }
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin: 1.5rem 0;
}
.content-col { min-width: 0; flex: 1; }

/* Embedly (Relive links) */
.embedly-card { margin: 1rem 0; }
.embedly-card h4 a { color: var(--blue); text-decoration: underline; }

/* ─── Section Cover blocks (secondary hero sections within pages) ─── */
.section-cover {
  position: relative;
  margin: 2rem -1rem;
  padding: 2rem;
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  overflow: hidden;
}
.section-content { position: relative; z-index: 1; }

/* WP specific text alignment */
.has-text-align-left { text-align: left; }
.has-text-align-center { text-align: center; }

/* ─── Etappe Prev/Next Navigation ─── */
.etappe-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  margin-top: 2rem;
  border-top: 2px solid var(--border);
  gap: 0.5rem;
}
.etappe-nav-link {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--nav-bg);
  color: #fff !important;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s;
}
.etappe-nav-link:hover { background: #444; }
.etappe-nav-link.overview { background: transparent; color: var(--text) !important; border: 1px solid var(--border); }
.etappe-nav-link.overview:hover { background: var(--nav-bg); color: #fff !important; }
.etappe-nav-link.prev::before { content: ''; }
.etappe-nav-link.next::after { content: ''; }
@media (max-width: 480px) {
  .etappe-nav { flex-wrap: wrap; justify-content: center; }
  .etappe-nav-link { font-size: 0.8rem; padding: 0.5rem 1rem; }
}

/* ─── Lightbox Modal ─── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
  user-select: none;
  -webkit-user-select: none;
}
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10000;
  line-height: 1;
  padding: 0.5rem;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  background: rgba(0,0,0,0.3);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  transition: opacity 0.2s, background 0.2s;
  z-index: 10000;
}
.lightbox-prev:hover, .lightbox-next:hover { opacity: 1; background: rgba(0,0,0,0.6); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
.lightbox-counter {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  font-family: var(--font-body);
}
/* Make all content images clickable */
.content-container img[loading],
.tiled-gallery__item img {
  cursor: zoom-in;
  transition: opacity 0.2s;
}
.content-container img[loading]:hover,
.tiled-gallery__item img:hover {
  opacity: 0.85;
}
@media (max-width: 768px) {
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 1.8rem; }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
}

/* ─── GR5 style galleries (is-style-columns with flex-basis) ─── */
.is-style-columns .tiled-gallery__row {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.is-style-columns .tiled-gallery__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.is-style-columns .tiled-gallery__item {
  flex: 1;
  margin: 0;
}
.is-style-columns .tiled-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
}
.has-rounded-corners-17 img { border-radius: 17px; }

/* Also handle galleries without columns-N class */
.tiled-gallery__row:not([class*="columns-"]) {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.tiled-gallery__row:not([class*="columns-"]) .tiled-gallery__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Images outside galleries (standalone <img> in content) */
.content-container > img[loading],
.content-col > img[loading],
.content-grid img[loading]:not(.tiled-gallery__item img) {
  max-width: 100%;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .is-style-columns .tiled-gallery__row {
    flex-wrap: wrap;
  }
  .is-style-columns .tiled-gallery__col {
    flex-basis: 30% !important;
    min-width: 30%;
  }
}
@media (max-width: 480px) {
  .is-style-columns .tiled-gallery__col {
    flex-basis: 48% !important;
    min-width: 48%;
  }
}

/* ─── Fix content-grid overflow (wikiloc + text columns) ─── */
.content-grid {
  overflow: hidden;
}
.content-col {
  overflow: hidden;
}
.content-col .wikiloc-embed iframe,
.content-col iframe {
  max-width: 100%;
}
@media (max-width: 768px) {
  .content-grid {
    flex-direction: column;
  }
  .content-col[style*="flex-basis"] {
    flex-basis: 100% !important;
  }
}

/* ─── Media-Text blocks (homepage sections: text + image side by side) ─── */
.wp-block-media-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  margin: 2rem 0;
}
.wp-block-media-text.has-media-on-the-right {
  direction: ltr;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
  order: 1;
}
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media {
  order: 2;
}
.wp-block-media-text__media {
  margin: 0;
}
.wp-block-media-text__media img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.wp-block-media-text__media img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}
.wp-block-media-text__content {
  padding: 1rem 0;
}
.wp-block-media-text__content h2 {
  margin-top: 0;
}
@media (max-width: 768px) {
  .wp-block-media-text,
  .wp-block-media-text.has-media-on-the-right {
    grid-template-columns: 1fr;
  }
  .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
  .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media,
  .wp-block-media-text__content,
  .wp-block-media-text__media {
    order: unset;
  }
}

/* ─── Language switcher right-aligned ─── */
.nav-links > a:last-child,
.nav-links > .nav-lang {
  margin-left: auto;
}

/* ─── Dropdown overview link (first item, highlighted) ─── */
.dropdown-overview {
  font-weight: 600 !important;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  margin-bottom: 0.25rem;
  padding-bottom: 0.6rem !important;
  color: #fff !important;
}
.dropdown-overview:hover {
  background: rgba(255,255,255,0.15) !important;
}

/* ─── Touch-friendly: dropdown arrow indicator ─── */
.nav-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.6;
}

/* ─── Touch-friendly dropdowns (works on tablet too) ─── */
.nav-dropdown.open > .dropdown-menu {
  display: block !important;
}

/* ─── Language switcher right-aligned (all pages) ─── */
.nav-lang {
  margin-left: auto !important;
}

/* ─── New Etappe Page Styles ─── */
.ep-hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
}
.ep-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30,20,10,0.1) 0%, rgba(30,20,10,0.7) 100%);
}
.ep-hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 0 2rem max(1.5rem, calc((100% - 900px) / 2));
  padding: 2rem 2.5rem;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
}
.ep-breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.75rem;
}
.ep-breadcrumb a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
}
.ep-breadcrumb a:hover { color: #fff; }
.ep-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  line-height: 1.2;
}
.ep-hero-route {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-top: 0.25rem;
}
.ep-meta {
  background: #1e1e1e;
  color: #fff;
  padding: 1rem 1.5rem;
}
.ep-meta-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
}
.ep-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
}
.ep-meta-icon { font-size: 1.1rem; opacity: 0.6; }
.ep-meta-val { font-weight: 600; color: #C9963B; }
.ep-meta-label { opacity: 0.5; }
.ep-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}
.ep-inline-photo {
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}
.ep-inline-photo img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  max-height: 450px;
  object-fit: cover;
  border-radius: 8px;
}
.ep-inline-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 1.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}
.ep-inline-duo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: zoom-in;
  border-radius: 6px;
  transition: transform 0.3s;
}
.ep-inline-duo img:hover { transform: scale(1.03); }
.ep-story {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #444;
}
.ep-story p { margin-bottom: 1.25rem; }
.ep-map {
  margin: 2.5rem auto;
  border-radius: 12px;
  max-width: 500px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border: 1px solid #e0d5c5;
}
.ep-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.ep-map-caption {
  background: #f9f5ef;
  padding: 0.75rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #6b5b4f;
}
.ep-map-caption a { color: #5B7C99; font-weight: 600; text-decoration: none; }
.ep-map-caption a:hover { text-decoration: underline; }
.ep-photos { margin: 3rem 0 2rem; }
.ep-photos-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.ep-photos-title::after { content: ''; flex: 1; height: 1px; background: #e0d5c5; }
.ep-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 6px;
}
.ep-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ep-gallery img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  z-index: 1;
  position: relative;
}
.ep-relive {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #f9f5ef 0%, #F4E8D0 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #e0d5c5;
}
.ep-relive-icon { font-size: 2rem; flex-shrink: 0; }
.ep-relive-text { flex: 1; }
.ep-relive-text strong { display: block; font-size: 0.95rem; color: #3E2A1A; margin-bottom: 0.15rem; }
.ep-relive-text span { font-size: 0.8rem; color: #6b5b4f; }
.ep-relive-btn {
  padding: 0.5rem 1.25rem;
  background: #3E2A1A;
  color: #fff;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s;
}
.ep-relive-btn:hover { background: #C67B5C; color: #fff; }
.ep-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  margin-top: 3rem;
  border-top: 2px solid #e0d5c5;
  padding-top: 0;
  position: relative;
}
.ep-nav-link {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  text-decoration: none;
  color: #333;
  transition: color 0.2s;
  max-width: 45%;
}
.ep-nav-link:hover { color: #C67B5C; }
.ep-nav-link.next { text-align: right; margin-left: auto; }
.ep-nav-dir {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #999;
  margin-bottom: 0.25rem;
}
.ep-nav-title { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 600; }
.ep-nav-overview {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 1.5rem 0;
  color: #999;
  font-size: 0.85rem;
  text-decoration: none;
}
.ep-nav-overview:hover { color: #C67B5C; }

/* ─── Overview Page Styles ─── */
.ov-content { max-width: 800px; }
.ov-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #444;
  margin-bottom: 2rem;
}
.ov-intro p { margin-bottom: 1rem; }
.ov-map {
  margin: 0 auto 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.1);
  border: 1px solid #e0d5c5;
}
.ov-map iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}
.ov-stages {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.ov-stage-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s, transform 0.15s;
}
.ov-stage-card:first-child {
  border-top: 1px solid var(--border);
}
.ov-stage-card:hover {
  background: rgba(122,155,118,0.08);
  transform: translateX(4px);
  color: var(--text);
}
.ov-stage-num {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--oker);
  min-width: 2.5rem;
  text-align: center;
  flex-shrink: 0;
}
.ov-stage-route {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}
.ov-stage-km {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
  flex-shrink: 0;
}
.ov-stage-arrow {
  color: var(--sage);
  font-size: 1.2rem;
  flex-shrink: 0;
  opacity: 0.4;
  transition: opacity 0.2s, transform 0.2s;
}
.ov-stage-card:hover .ov-stage-arrow {
  opacity: 1;
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .ep-hero { min-height: 40vh; }
  .ep-gallery { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .ep-meta-inner { gap: 1rem; }
  .ep-relive { flex-direction: column; text-align: center; }
  .ep-nav-overview { display: none; }
  .ep-inline-photo, .ep-inline-duo { margin: 1.5rem -0.5rem; border-radius: 8px; }
  .ep-inline-duo img { height: 180px; }
  .ov-map iframe { height: 350px; }
  .ov-stage-card { padding: 0.85rem 1rem; gap: 0.75rem; }
  .ov-stage-num { font-size: 1.1rem; min-width: 2rem; }
  .ov-stage-km { display: none; }
}
