:root {
  --primary-gold: #c5a059;
  --primary-dark: #1a1a1a;
  --bg-light: #f9f7f2;
  --text-main: #ffffff;
  --font-main: "Roboto", sans-serif;
  --ease: cubic-bezier(0.19, 1, 0.22, 1);

  /* Default Light Mode Variables for Guide Components */
  --guide-bg: #f9f7f2;
  --guide-bg-alt: #e2dac9;
  --guide-text: #2a2a2a;
  --guide-text-muted: #555555;
  --guide-card: #efe8d8;
}

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

/* Override global scroll-padding to ensure anchor links leave room for background images */
html {
  scroll-padding-top: 20vh !important;
  margin: 0;
  padding: 0;
  height: 100%;
  /* NOTE: NO overflow-x: hidden here. On iOS, overflow on the html element
       clips position:fixed children (incl. the FAB button). The pan-effect
       images are already clipped by .reveal-media { overflow: hidden }. */
}



body {
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
  margin: 0;
  padding: 0;
  background-color: #050505;
  color: #fff;
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  width: 100%;
}

/* --- GLOBAL NAVIGATION (Switchers) --- */
.lang-switcher,
.mode-switcher {
  position: fixed;
  z-index: 9999;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  background: rgba(
    0,
    0,
    0,
    0.85
  ); /* Darker background for visibility on light sections */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid rgba(197, 160, 89, 0.3); /* Theming with gold border */
  white-space: nowrap;
}

.lang-switcher {
  top: 2rem;
  right: 2rem;
}
.mode-switcher {
  top: 2rem;
  left: 2rem;
}

.lang-switcher a,
.mode-switcher a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.5;
  transition: all 0.3s;
  padding: 4px 2px;
}
@media (hover: hover) {
  .lang-switcher a:hover,
  .mode-switcher a:hover {
    opacity: 1;
  }
}
.lang-switcher a.active,
.mode-switcher a.active {
  opacity: 1;
  border-bottom: 2px solid var(--primary-gold);
}
.lang-separator {
  color: #ffffff;
  opacity: 0.2;
  margin: 0 10px;
}

/* 1. Hero Section (Crossfade + Zoom-Out) */
.hero-v4 {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background: #000;
}

.hero-slider-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-slider-img {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  filter: brightness(0.65);
  z-index: 1;
  /* Smoother crossfade (3s), and we use animation for zoom so it plays on load */
  transition: opacity 3s ease-in-out;
  transform: scale(1); /* So it stays zoomed out while fading out */
}

@keyframes heroZoomOut {
  from {
    transform: scale(1.25);
  }
  to {
    transform: scale(1);
  }
}

.hero-slider-img-weaker {
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  transform: scale(1);
}

@keyframes heroZoomOutWeaker {
  from {
    transform: scale(1.1);
  }
  to {
    transform: scale(1);
  }
}

.hero-slider-img.hero-slider-img-weaker.active {
  animation: heroZoomOutWeaker 12s ease-out forwards;
}

.hero-slider-img.active {
  opacity: 1;
  z-index: 2;
  animation: heroZoomOut 12s ease-out forwards;
}

/* Dark Overlay for better text readability */
.hero-slider-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
  pointer-events: none;
}

.hero-v4-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: white;
  width: 100%;
}

.hero-v4-title {
  font-family: "Minion Pro", Minion, serif;
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 300;
  letter-spacing: 15px;
  text-transform: uppercase;
  margin-bottom: 0;
  line-height: 1;
}

.hero-v4-subtitle {
  font-size: 1rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  opacity: 0.9;
  margin-top: 2rem;
  display: inline-block;
}

.hero-divider-gold {
  width: 40px;
  height: 2px;
  background: var(--primary-gold);
  margin: 40px auto;
}

.floating-teaser-box {
  float: right;
  width: max-content;
  margin: -12px 0 1.5rem 3rem;
  padding: 2rem;
  background: var(--guide-card, rgba(20, 25, 22, 0.02));
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 8px;
}
@media (max-width: 850px) {
  .floating-teaser-box {
    float: none;
    box-sizing: border-box;
    width: 100%;
    margin: 2rem 0;
  }
}

/* 2. Intro Area (Static Flow) */
.intro-section {
  position: relative;
  z-index: 20;
  background: var(--guide-bg, var(--bg-light));
  color: var(--guide-text, #2a2a2a);
  padding: 100px 40px;
}

.container-v4 {
  max-width: 1000px;
  margin: 0 auto;
}

/* --- Unified Quote Block (end-of-article quote with signature) --- */
.guide-quote-box {
  max-width: 780px;
  background: rgba(197, 160, 89, 0.05);
  padding: 3rem;
  margin: 0 auto 2rem auto;
  text-align: center;
  border-radius: 8px;
}
.guide-quote-text {
  font-size: 1.4rem;
  font-family: "Minion Pro", Minion, serif;
  color: var(--primary-gold);
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}

/* --- Unified CTA Box ("Your Home Base") --- */
.guide-cta-box {
  max-width: 780px;
  margin: 2rem auto 2rem auto;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 4px;
  text-align: center;
}
.guide-cta-heading {
  color: var(--primary-gold);
  font-family: var(--font);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: 0;
  margin-bottom: 1.5rem;
}
.guide-cta-text {
  color: var(--guide-text);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  text-align: center;
}
.guide-cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Unified Inline Tip (e.g. "Dica") --- */
.guide-inline-tip {
  font-size: 0.85rem;
  color: var(--guide-text-muted);
  font-style: italic;
  margin-top: 1rem;
  border-left: 2px solid var(--primary-gold);
  padding-left: 1rem;
}

.intro-grid {
  margin-bottom: 4rem;
  overflow: hidden; /* clearfix for floats */
}

.intro-grid-image-wrapper {
  float: right;
  width: 45%;
  margin: 0 0 2rem 3rem;
}

.intro-quote {
  font-size: 1.8rem;
  color: var(--primary-gold);
  line-height: 1.4;
  margin-bottom: 2rem;
  font-weight: 300;
}

.intro-grid-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
  margin-bottom: 1.5rem;
}

.intro-caption {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--guide-text-muted, #777);
  border-left: 2px solid var(--primary-gold);
  padding-left: 1rem;
  margin: 0;
  line-height: 1.5;
}

/* --- Anchor Navigation Menu --- */
.intro-anchors {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(
    --guide-card,
    #efe8d8
  ); /* Slightly darker sand for better contrast */
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid var(--primary-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.anchor-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-gold);
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.anchor-link {
  color: var(--guide-text-muted, #555);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
  display: inline-block;
}
@media (hover: hover) {
  .anchor-link:hover {
    color: var(--primary-gold);
    transform: translateX(5px);
  }
}

@media (max-width: 768px) {
  .intro-grid {
    display: flex;
    flex-direction: column;
  }
  .intro-grid-image-wrapper {
    display: contents;
  }
  /* 1. Zitat */
  .intro-grid > .intro-quote {
    order: 1;
    margin-bottom: 1.5rem;
  }
  /* 2. Artikelstart */
  .intro-grid > [class*="drop-cap-"] {
    order: 2;
  }
  /* 3. Photo & Caption */
  .intro-grid-image {
    order: 3;
    width: 100%;
    margin: 2rem 0 0.5rem 0;
  }
  .intro-caption {
    order: 4;
    margin-bottom: 2rem;
  }
  /* 4. Artikel lÃ¤uft weiter */
  .intro-grid > p:not(.intro-quote):not([class*="drop-cap-"]),
  .intro-grid > h2,
  .intro-grid > h3 {
    order: 5;
  }
  /* 5. Quick Access Menu */
  .intro-grid .floating-teaser-box {
    order: 6;
    margin: 2rem 0;
  }
  /* 6. Einschub */
  .intro-grid > .callout-v4 {
    order: 7;
    margin-top: 2rem;
  }
}

.vl-inline-link {
  color: var(--primary-gold);
  text-decoration: none;
  padding: 2px 4px;
  border-radius: 4px;
  transition: all 0.3s ease;
  margin: 0 -2px; /* compensate for padding */
  position: relative;
  z-index: 50;
  pointer-events: auto;
  cursor: pointer;
}
@media (hover: hover) {
  .vl-inline-link:hover {
    background: rgba(197, 160, 89, 0.15);
    color: var(--guide-text);
  }
}

/* Typography styles adapted for V4 */
.drop-cap-v4::first-letter {
  float: left;
  font-family: var(--font-main, sans-serif);
  font-size: 8.2rem;
  line-height: 0.65;
  margin: 1.2rem 1.2rem 0 0;
  color: var(--primary-gold);
  font-weight: 400;
}

h2 {
  font-size: 3rem;
  font-weight: 300;
  margin-bottom: 3rem;
  position: relative;
  padding-bottom: 1rem;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background-color: var(--primary-gold);
}

.sub-heading {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-weight: 700;
}

p {
  margin-bottom: 2.5rem;
  font-size: 1.2rem;
}

blockquote {
  font-size: 1.8rem;
  font-style: italic;
  color: var(--primary-gold);
  border-left: none;
  padding: 4rem 2rem;
  margin: 6rem 0;
  line-height: 1.3;
  text-align: center;
  position: relative;
}
blockquote::before,
blockquote::after {
  content: '"';
  font-size: 8rem;
  color: rgba(197, 160, 89, 0.1);
  position: absolute;
  z-index: -1;
}
blockquote::before {
  top: -2rem;
  left: 0;
}
blockquote::after {
  bottom: -6rem;
  right: 0;
}

.callout-v4 {
  background: var(--guide-card, #fdf8f0);
  padding: 60px 50px;
  border-left: 6px solid var(--primary-gold);
  margin: 80px 0;
  position: relative;
  color: var(--guide-text, #2a2a2a);
  overflow: hidden; /* BFC to prevent background from sliding under floats */
}
.callout-v4 h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.btn-cin {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--primary-gold);
  color: var(--primary-gold);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  margin-top: 1rem;
  border-radius: 3px;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}
@media (hover: hover) {
  .btn-cin:hover {
    background: var(--primary-gold);
    color: white;
    border-color: var(--primary-gold);
  }
}
/* Premium CTA with Logo */
.btn-cta-logo {
  display: inline-flex !important;
  align-items: center !important;
  background: transparent !important;
  border: 1px solid var(--guide-text, #1a1a1a) !important;
  color: var(--guide-text, #1a1a1a) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  padding: 0 1.5rem 0 0 !important;
  height: 3.5rem !important;
  overflow: hidden !important;
  transition: all 0.3s var(--ease);
  margin-top: 2rem !important;
  box-sizing: border-box !important;
}

.btn-cta-logo picture,
.btn-cta-logo .vl-image {
  width: 3.5rem !important;
  height: 3.5rem !important;
  min-width: 3.5rem !important;
  flex-shrink: 0 !important;
  margin-right: 1.2rem !important;
  display: block !important;
}

.btn-cta-logo img {
  height: 3.5rem !important;
  width: 3.5rem !important;
  object-fit: cover !important;
  background: #1a1a1a !important;
  padding: 0.7rem !important;
  transition: transform 0.3s var(--ease);
  box-sizing: border-box !important;
}

.btn-cta-logo span {
  white-space: nowrap !important;
  display: inline-block !important;
}

@media (hover: hover) {
  .btn-cta-logo:hover {
    color: #fff;
  }
}
@media (hover: hover) {
  .btn-cta-logo:hover img {
    transform: scale(1.1);
  }
}

/* 3. Cinematic Reveal Architecture */
/* General Reveal Media styles */
.reveal-media {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100dvh;
  z-index: 1;
  overflow: hidden;
  background: #000;
}

.reveal-media img,
.reveal-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
  transition: transform 1.5s var(--ease);
}

.reveal-section {
  position: relative;
  min-height: 150vh; /* Reduced from 200vh for better mobile flow */
  display: flex;
  flex-direction: column;
}

.reveal-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent 50%);
  pointer-events: none;
}

/* Sublime Panning Animation */
.pan-effect img {
  left: 0;
  width: 120%;
  height: 100dvh;
  object-fit: cover;
  max-width: none;
  position: relative;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.pan-effect.is-panning img {
  animation: sideDrift 40s ease-in-out infinite alternate;
}

@keyframes sideDrift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-16.66%, 0, 0);
  }
}

/* Text Overlay Layer */
.reveal-content-layer {
  position: relative;
  z-index: 10;
  width: 100%;
  /* Push text layer down so the image is fully visible first */
  padding-top: 100dvh;
  /* Space after text before next section */
  padding-bottom: 50vh;
}

@keyframes mobileNaturalPan {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% + 100vw));
  }
}

.reveal-card {
  width: 45%;
  min-width: 500px;
  max-width: 900px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 80px 60px;
  border-radius: 4px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5);
  color: #f9f7f2;
  transition: margin 0.5s var(--ease);
  position: relative;
}

.reveal-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 15, 15, 0.75);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border-radius: 4px;
  z-index: -1;
}

.reveal-card.right-align {
  margin-right: 5%;
  margin-left: auto;
}

.reveal-card.left-align {
  margin-left: calc(5% - 5px);
  margin-right: auto;
}

/* Fix light colors inside dark card */
.reveal-card h2 {
  color: #fff;
}
.reveal-card .callout-v4 {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid var(--primary-gold);
  color: #f9f7f2;
}
.reveal-card p {
  opacity: 0.9;
}
.reveal-card .vl-carousel-caption {
  color: #fff;
  opacity: 0.9;
}

.article-wide-img {
  width: calc(100% + 120px);
  height: auto;
  margin: 2.5rem -60px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 2px;
}

.article-float-right {
  float: right;
  width: 45%;
  max-width: 450px;
  height: auto;
  margin: 0.5rem 0 1.5rem 2rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

.article-float-left {
  float: left;
  width: 45%;
  max-width: 450px;
  height: auto;
  margin: 0.5rem 2rem 1.5rem 0;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}

.article-full-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .article-wide-img {
    width: calc(
      100% + max(40px, env(safe-area-inset-right) + env(safe-area-inset-left))
    );
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right)));
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .article-float-right,
  .article-float-left {
    float: none;
    width: calc(
      100% + max(40px, env(safe-area-inset-right) + env(safe-area-inset-left))
    );
    max-width: none;
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right)));
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
  }
}

@media (orientation: landscape) and (max-height: 500px) {
  .article-wide-img {
    width: calc(
      100% + max(32px, env(safe-area-inset-right) + env(safe-area-inset-left))
    );
    margin-left: calc(-1 * max(16px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(16px, env(safe-area-inset-right)));
  }
}

/* Dark Mode Overrides */
@media (prefers-color-scheme: dark) {
  .callout-v4,
  .photo-disclosure,
  .photo-disclosure[open],
  .intro-anchors {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(197, 160, 89, 0.3) !important;
    color: #ddd !important;
  }
}

/* Lightbox V4 adjustments */
.lb-modal {
  overscroll-behavior: contain;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85); /* Dark background for better focus */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: none;
  z-index: 99999;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  touch-action: pinch-zoom pan-y;
}
.lb-modal.is-open {
  display: flex;
}
.lb-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 5;
}

/* Hover Lift Effect for Gallery Images */
.vl-image-lift {
  transition:
    transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}
@media (hover: hover) {
  .vl-image-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18) !important;
  }
}

.lb-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: calc(100% - 160px);
  max-height: 90dvh;
}

.lb-content {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  max-width: 100%;
  max-height: calc(90dvh - 80px);
  object-fit: contain;
  box-shadow: 0 50px 100px rgba(0, 0, 0, 0.7);
  border-radius: 4px;
  background: #000;
  display: block;
}

.lb-info {
  position: relative;
  width: 100%;
  text-align: center;
  color: white;
  padding: 15px 10px 0;
  z-index: 20;
}

/* Shared row for caption */
.lb-caption-row {
  position: relative;
  margin-bottom: 6px;
}
.lb-caption {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
  color: #f8f5f2;
  margin-bottom: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
  text-align: center;
}

.lb-caption a {
  pointer-events: auto;
}
@media (hover: hover) {
  .lb-caption a:hover {
    opacity: 0.8;
  }
}

.lb-counter {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 40;
  font-size: 0.75rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--primary-gold);
  background: rgba(0, 0, 0, 0.4);
  padding: 4px 10px;
  border-radius: 4px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* Desktop: Caption as semi-transparent overlay on the image */
@media (min-width: 769px) {
  .lb-viewport {
    padding-top: 2vh; /* Minimal breathing room at the top */
    padding-bottom: 10px;
  }
  .lb-container {
    max-height: calc(98vh - 10px);
  }
  .lb-content {
    max-height: calc(98vh - 70px); /* Leave space for buttons */
  }

  .lb-caption-row {
    position: absolute;
    bottom: 100%; /* Pushes it exactly above lb-info, which is the bottom of the image */
    left: 0;
    right: 0;
    padding: 14px; /* Symmetrical padding, no space reserved for counter */
    z-index: 30;
    margin-bottom: 0;
  }
  .lb-caption-row::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.85) 0%,
      rgba(0, 0, 0, 0.4) 70%,
      transparent 100%
    );
    z-index: -1;
    pointer-events: none;
    border-radius: 0 0 4px 4px;
  }
  .lb-info {
    position: relative; /* Anchor point for bottom: 100% */
    padding-top: 10px;
  }
}

.lb-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 50;
}

.lb-arrow {
  width: 60px;
  height: 60px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
@media (hover: hover) {
  .lb-arrow:hover {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    transform: scale(1.1);
  }
}

.lb-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 3.5rem;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 100;
  z-index: 100;
  background: transparent;
  border: none;
  padding: 0;
  line-height: 1;
}
.lb-share {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  color: #f1f1f1;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s;
  z-index: 10000;
  opacity: 0.8;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--primary-gold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (hover: hover) {
  .lb-close:hover {
    transform: rotate(90deg);
    color: var(--primary-gold);
  }
  .lb-share:hover {
    opacity: 1;
    color: var(--primary-gold);
  }
}
body.lb-open {
  overflow: hidden;
}

/* Responsive */

footer.footer-banner {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}
footer.footer-banner img.bg-rotated {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 100vw;
  width: 100vw;
  object-fit: cover;
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}
.footer-content {
  position: relative;
  z-index: 1;
  text-align: center;
  width: 100%;
}
.footer-content span {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #999;
}

/* Premium Logo Link Styles */
.logo-link {
  display: inline-block;
  opacity: 0.6;
  transition: all 0.4s var(--ease);
}
@media (hover: hover) {
  .logo-link:hover {
    opacity: 1;
    transform: scale(1.05);
  }
}
.hero-logo {
  height: 100px;
  width: 100px; /* Explicit for 1:1 ratio */
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeInUp 1.2s var(--ease) forwards 0.3s;
  object-fit: contain;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-logo {
  height: 80px;
  margin-bottom: 2rem;
}

/* --- DISCOVER MORE SECTION --- */
.discover-more-v4 {
  padding: 100px 40px;
  background: var(--guide-bg-alt, #151515); /* Replaced Warm Beige */
  text-align: center;
  border-top: 1px solid rgba(197, 160, 89, 0.2);
}
.discover-more-v4 p {
  color: var(--guide-text-muted, #a09e98) !important;
}

.discover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 3rem auto 0;
}

.discover-item {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 4px;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  background: var(--guide-card, #2a2a2a); /* Dark background */
  transition: transform 0.6s var(--ease);
  transform: translateZ(0);
}
@media (hover: hover) {
  .discover-item:hover {
    transform: scale(1.02);
  }
}

.discover-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.95);
  transition:
    filter 0.6s var(--ease),
    transform 0.6s var(--ease);
}
@media (hover: hover) {
  .discover-item:hover img {
    filter: brightness(0.75);
    transform: scale(1.1);
  }
}

.discover-label {
  position: relative;
  z-index: 2;
  color: var(--guide-text, #fff);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.1rem;
  font-weight: 700;
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 6px;
  padding: 12px 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  max-width: 85%;
  text-align: center;
}

.seo-footer {
  position: relative;
  padding: 100px 40px 80px;
  background-color: var(--guide-bg-alt, #151515); /* Match dark theme */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 100;
  transform: translateZ(0); /* Force GPU layer for sticky handling */
}

/* Remove old img-based background class */
.seo-footer-bg {
  display: none;
}

.seo-nav-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.seo-nav-col {
  position: relative;
  z-index: 1;
}

@media (min-width: 769px) {
  .seo-nav-col:nth-child(2) {
    text-align: center;
  }
  .seo-nav-col:nth-child(3) {
    text-align: right;
  }
}

.seo-footer-bottom {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: rgba(0, 0, 0, 0.6) !important;
}

.footer-logo-link {
  display: inline-block;
  max-width: 200px;
  margin: 0 auto;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.footer-logo-link img {
  max-width: 100%;
  height: auto !important; /* Respect the height set in HTML but allow max-width */
}
@media (hover: hover) {
  .footer-logo-link:hover {
    transform: scale(1.1);
  }
}

.footer-logo-link img {
  /* No filter, keep original logo */
}

.seo-nav-col h5 {
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.seo-nav-col ul {
  list-style: none;
}

.seo-nav-col ul li {
  margin-bottom: 0.8rem;
}

.seo-nav-col ul li a {
  color: rgba(0, 0, 0, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
@media (hover: hover) {
  .seo-nav-col ul li a:hover {
    color: var(--primary-gold);
  }
}

@media (max-width: 768px) {
  .discover-grid {
    grid-template-columns: 1fr !important;
    gap: 15px;
    padding: 0 10px;
  }
  .discover-item {
    height: 200px !important;
    min-height: 200px !important;
  }
  .seo-footer {
    padding: 60px 20px 60px !important;
    background-attachment: scroll !important;
  }
  .seo-nav-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
    text-align: center;
  }
  .seo-nav-col {
    width: 100%;
    margin-bottom: 20px;
  }
  .seo-nav-col ul li {
    margin-bottom: 1.2rem;
  }
  .seo-footer-bottom {
    margin-top: 40px;
    padding-top: 30px;
  }
}

/* (Consolidated switcher styles removed from here, moved to top for better iPhone parsing) */

@media (max-width: 1024px) {
  /* Enhanced Mobile/Tablet Overrides */
  .reveal-section {
    min-height: 120vh !important;
  }
  .reveal-content-layer {
    padding-top: 25vh !important;
    padding-bottom: 25vh !important;
  }
  .pan-effect img {
    height: 100dvh !important;
    width: 130vw !important;
    max-width: none !important;
    object-fit: cover !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    transform: translateX(0);
    transition: transform 1.5s var(--ease) !important;
  }
  .pan-effect.is-panning img {
    animation: mobileNaturalPan 30s ease-in-out infinite alternate !important;
  }

  /* Narrower card to show more background */
  .reveal-card {
    width: 70% !important;
    min-width: 0 !important;
    max-width: 800px !important;
    padding: 40px max(22px, env(safe-area-inset-right)) 40px
      max(22px, env(safe-area-inset-left)) !important;
  }

  .article-wide-img {
    width: calc(
      100% + max(44px, env(safe-area-inset-right) + env(safe-area-inset-left))
    );
    margin-left: calc(-1 * max(22px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(22px, env(safe-area-inset-right)));
  }

  h1 {
    font-size: 3rem !important;
  }
  h2 {
    font-size: 2.2rem !important;
    margin-bottom: 2rem !important;
    margin-top: 4rem !important;
  }
  .hero-v4-title {
    font-size: 3.5rem !important;
    letter-spacing: 8px !important;
  }
  .lang-switcher {
    top: 1rem !important;
    right: 1rem !important;
    font-size: 0.65rem !important;
    padding: 6px 10px !important;
  }
  .mode-switcher {
    top: 1rem !important;
    left: 1rem !important;
    font-size: 0.65rem !important;
    padding: 6px 10px !important;
  }

  /* Fix for landscape mode on small screens (iPhone Chrome + Safari) */
  @media (orientation: landscape) and (max-height: 500px) {
    .reveal-content-layer {
      /* MUST be 100dvh so the card starts BELOW the sticky image.
               15vh was causing the card to overlap the image. */
      padding-top: 100dvh !important;
      padding-bottom: 20vh !important;
    }
    /* Narrow card: leave more room for cinematic background */
    .reveal-card {
      width: 48% !important;
      padding: 25px max(16px, env(safe-area-inset-right, 16px)) 25px
        max(16px, env(safe-area-inset-left, 16px)) !important;
    }
    h2 {
      font-size: 1.6rem !important;
      margin-top: 1rem !important;
      margin-bottom: 1rem !important;
    }
    p {
      font-size: 1rem !important;
      margin-bottom: 1rem !important;
    }

    /* Full-bleed: CSS-based approach for Safari (supports viewport-fit=cover).
           Chrome iOS has narrow safe-area bars in landscape - browser limitation. */

    .pan-effect img {
      width: 100% !important;
      height: 100% !important;
      animation: none !important;
      transform: none !important;
      left: 0 !important;
      top: 0 !important;
      object-position: center !important;
    }
    .pan-effect.is-panning img {
      animation: none !important;
      transform: none !important;
    }
  }
}

/* Orientation-change overlay â€” fades to black during rotation so the
   user never sees the scroll-position correction jump.
   z-index 9999: covers page content but stays BELOW the FAB (99999)
   so the FAB button remains visible and accessible during the transition. */
#orientation-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

/* Unified Utility FAB Component */
.utility-fab {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99999;
  display: block;
  pointer-events: none;
}

.fab-button {
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  pointer-events: auto;
  position: relative;
  z-index: 2;
}
@media (hover: hover) {
  .fab-button:hover {
    transform: scale(1.05);
    border-color: rgba(197, 160, 89, 1);
  }
}

.fab-button svg {
  width: 24px;
  height: 24px;
  fill: #c5a059;
  transition: transform 0.4s;
}

.utility-fab.active .fab-button svg {
  transform: rotate(135deg);
}

.fab-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  min-width: 200px;
  pointer-events: auto;
  max-height: 70vh;
  overflow-y: auto;
}

.utility-fab.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-menu-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.fab-label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(197, 160, 89, 0.6);
  font-weight: 700;
  margin-bottom: 0.2rem;
  padding-left: 12px;
}

.fab-link {
  color: #f8f5f2;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 1px;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
}
@media (hover: hover) {
  .fab-link:hover {
    background: rgba(197, 160, 89, 0.1);
    color: #c5a059;
  }
}

.fab-link.active {
  color: #c5a059;
  font-weight: 700;
}

@media (max-width: 768px) {
  .utility-fab {
    bottom: max(24px, env(safe-area-inset-bottom, 24px));
    right: max(24px, env(safe-area-inset-right, 24px));
  }
  .fab-menu {
    padding: 1rem;
    gap: 0.5rem;
  }
  .fab-menu-group {
    gap: 0.4rem;
    padding-top: 0.5rem !important;
    margin-top: 0.2rem !important;
  }
  .fab-link {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
} /* In landscape on mobile, move FAB to top-right + compact menu.
   CRITICAL: The fab-menu is visibility:hidden (not display:none) â€” it still occupies
   ~568px height in the flex layout, pushing the button off-screen! Fix: switch the
   container to display:block and absolutely position the menu.
   COMPACT MENU: languages as single row (EN|PT|FR|DE), beaches as 2-col grid. */
@media (orientation: landscape) and (max-width: 1024px) {
  /* â”€â”€ FAB container: top-right, block layout â”€â”€ */
  .utility-fab {
    bottom: auto !important;
    top: max(1rem, env(safe-area-inset-top, 1rem)) !important;
    right: max(1.5rem, env(safe-area-inset-right, 1.5rem)) !important;
    display: block !important;
  }

  /* â”€â”€ Menu panel: compact, fixed-width, no overflow â”€â”€ */
  .utility-fab .fab-menu {
    position: absolute !important;
    top: calc(56px + 0.5rem) !important;
    right: 0 !important;
    bottom: auto !important;
    transform: translateY(-10px) !important;
    padding: 0.75rem !important;
    gap: 0.5rem !important;
    min-width: 0 !important;
    width: 210px !important;
    border-radius: 14px !important;
  }
  .utility-fab.active .fab-menu {
    transform: translateY(0) !important;
  }

  /* â”€â”€ Group spacing â”€â”€ */
  .utility-fab .fab-menu-group {
    gap: 0.25rem !important;
  }

  /* â”€â”€ Group labels: smaller â”€â”€ */
  .utility-fab .fab-label {
    font-size: 0.5rem !important;
    margin-bottom: 0.1rem !important;
    padding-left: 6px !important;
    letter-spacing: 1.5px !important;
  }

  /* â”€â”€ Language group: single horizontal row (uses :first-child â€” no extra class needed) â”€â”€ */
  .utility-fab .fab-menu-group:first-child {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 0.2rem !important;
    align-items: center !important;
  }
  .utility-fab .fab-menu-group:first-child .fab-link {
    padding: 5px 6px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.5px !important;
    justify-content: center !important;
    flex: 1 !important;
    border-radius: 6px !important;
    min-width: 0 !important;
    overflow: hidden !important;
    white-space: nowrap !important;
  }
  /* hide group label in language row â€” it takes too much space */
  .utility-fab .fab-menu-group:first-child .fab-label {
    display: none !important;
  }

  /* â”€â”€ Beach/nav links: 2-column grid (uses :last-child) â”€â”€ */
  .utility-fab .fab-menu-group:last-child {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.2rem !important;
  }
  .utility-fab .fab-menu-group:last-child .fab-link {
    padding: 5px 7px !important;
    font-size: 0.65rem !important;
    letter-spacing: 0 !important;
    justify-content: flex-start !important;
    border-radius: 6px !important;
  }
  /* 5th beach link (odd last-child) spans full width */
  .utility-fab .fab-menu-group:last-child .fab-link:last-child:nth-child(odd) {
    grid-column: 1 / -1 !important;
    justify-content: center !important;
  }
}

/* --- LITE NAVIGATION COMPONENT --- */
.lite-nav {
  padding-top: env(safe-area-inset-top, 0px);
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 99999;
  font-family: "Roboto", sans-serif;
  text-align: right;
}
.lite-nav-trigger {
  color: #c5a059;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 4px;
  transition: all 0.3s;
}
@media (hover: hover) {
  .lite-nav-trigger:hover {
    border-color: #c5a059;
  }
}
.lite-nav-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.9);
  padding: 1.5rem;
  border-radius: 4px;
  border: 1px solid rgba(197, 160, 89, 0.3);
  min-width: 150px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.lite-nav.active .lite-nav-menu {
  display: flex;
}
.lite-nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.lite-nav-label {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 1px;
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}
.lite-nav-link {
  color: var(--guide-text);
  text-decoration: none;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: color 0.3s;
  display: block;
}
@media (hover: hover) {
  .lite-nav-link:hover {
    color: #c5a059;
  }
}
.lite-nav-link.active {
  color: #c5a059;
  font-weight: 700;
}
.lang-inline {
  display: flex;
  gap: 0.8rem;
  justify-content: flex-end;
}
@media (max-width: 768px) {
  .lite-nav {
    padding-top: env(safe-area-inset-top, 0px);
    top: 1rem;
    right: 1rem;
  }
}

.vl-inline-link {
  color: var(--primary-gold);
  text-decoration: none;
  font-weight: 700;
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: transparent;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}
@media (hover: hover) {
  .vl-inline-link:hover {
    background: rgba(197, 160, 89, 0.15);
  }
}

/* Accordion Styling for <details> */
.vl-accordion {
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vl-accordion[open] {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary-gold);
}

.vl-accordion summary {
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--primary-gold);
  list-style: none; /* Hide default triangle in many browsers */
  position: relative;
  user-select: none;
  font-weight: 500;
}

.vl-accordion summary::-webkit-details-marker {
  display: none; /* Hide default triangle in WebKit */
}

/* Custom Icon */
.vl-accordion summary::after {
  content: "+";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s ease;
}

.vl-accordion[open] summary::after {
  content: "âˆ’";
}

.vl-accordion-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: #eee;
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

/* Horizontal Scroll Gallery */
.vl-horizontal-scroll {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  gap: 1rem;
  padding-bottom: 1rem;
  margin-top: 3rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  cursor: grab;
}
.vl-horizontal-scroll:active {
  cursor: grabbing;
  scroll-snap-type: none; /* Disable snap while dragging for smoother feel */
}

.vl-carousel-item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: min-content;
}

.vl-carousel-item picture {
  display: block;
  width: auto;
  height: 100%;
}
.vl-carousel-item img {
  height: 260px;
  width: auto;
  max-width: calc(100vw - 3rem);
  object-fit: cover;
  border-radius: 4px;
  cursor: zoom-in;
}

.vl-carousel-caption {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--guide-text, #333);
  width: 100%;
  box-sizing: border-box;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  max-height: calc(1.4em * 3);
}

/* Mobile Adjustments for Typography and Cards */
@media (max-width: 768px) {
  .hero-v4-title {
    font-size: 2.5rem !important;
    letter-spacing: 5px !important;
    margin-bottom: 0;
  }
  .hero-v4-subtitle {
    font-size: 0.8rem !important;
    letter-spacing: 3px !important;
  }
  .reveal-card {
    width: 92% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
    padding: 30px max(15px, env(safe-area-inset-right)) 30px
      max(15px, env(safe-area-inset-left)) !important;
    margin: 0 auto !important;
  }
  h2 {
    font-size: 1.8rem !important;
    margin-top: 2rem !important;
  }

  /* Fix for intro section overflow on mobile */
  .intro-section {
    padding: 40px 20px 30px !important;
  }
  .container-v4 {
    max-width: 100% !important;
  }
  .intro-quote {
    font-size: 1.4rem !important;
  }
  .drop-cap-v4::first-letter {
    font-size: 5rem !important;
    margin: 0.5rem 0.8rem 0 0 !important;
  }

  /* Lightbox Mobile Fixes */
  .lb-container {
    max-width: 95% !important; /* Allow image to be wider on mobile */
  }
  .lb-nav {
    padding: 0 5px !important; /* Push arrows to the absolute edge on mobile */
  }
  .lb-arrow {
    width: 40px !important;
    height: 40px !important;
    font-size: 1.5rem !important;
  }
  .lb-caption {
    font-size: 0.85rem !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
    margin-bottom: 4px !important;
  }
  .lb-counter {
    font-size: 0.6rem !important;
  }

  /* Mobile Spacing for Intro Anchors */
  .intro-grid {
    gap: 1rem !important; /* Reduce huge gap on mobile */
  }
  .intro-anchors {
    margin-top: 0 !important; /* Remove extra margin on mobile */
    padding: 1.5rem 1rem !important; /* Slightly tighter padding on small screens */
  }

  /* Improve button readability over busy backgrounds on mobile */
  .btn-cin {
    background: rgba(10, 10, 10, 0.65) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
}

/* Lightbox Mobile Landscape Overlay */
@media (max-width: 950px) and (max-height: 500px) and (orientation: landscape) {
  .lb-viewport {
    padding: 0;
  }
  .lb-container {
    max-width: 100%;
    max-height: 100dvh;
    width: 100%;
    height: 100%;
  }
  .lb-content {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    max-height: 100dvh;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
  }
  .lb-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px 60px 15px; /* Extra horizontal padding to avoid arrows */
    background: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.95) 0%,
      rgba(0, 0, 0, 0.7) 60%,
      transparent 100%
    );
    text-shadow: 0 2px 4px #000;
  }
  .lb-caption {
    font-size: 0.8rem !important;
    line-height: 1.3 !important;
    margin-bottom: 2px !important;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Limit to 2 lines to avoid covering entire image in landscape */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lb-counter {
    font-size: 0.65rem;
  }
  .lb-nav {
    padding: 0 10px;
  }
  .lb-arrow {
    width: 44px;
    height: 44px;
  }
  .lb-close {
    top: 10px;
    right: 15px;
    width: 44px;
    height: 44px;
    font-size: 2rem;
    background: rgba(0, 0, 0, 0.4);
  }
  .lb-share {
    top: auto;
    bottom: 20px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--primary-gold);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Override panning speed for Santo Andre */
#santo-andre .pan-effect.is-panning img {
  animation-duration: 20s !important;
}

@media (max-width: 1024px) {
  #santo-andre .pan-effect.is-panning img {
    animation-duration: 15s !important;
  }
}

/* Global Rotate Hint for Mobile Portrait */
.global-rotate-hint {
  display: none;
}

/* Scroll-Down Chevron â€” visible on ALL viewports (desktop + mobile) */
.scroll-down-chevron {
  position: absolute;
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5;
  animation: bounceFade 2.5s infinite;
  opacity: 0.7;
  pointer-events: none;
}
.scroll-down-chevron svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255, 255, 255, 0.75);
  filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.6));
}

/* Mobile Portrait: rotate hint + slightly smaller chevron */
@media (max-width: 768px) and (orientation: portrait) {
  .global-rotate-hint {
    position: absolute;
    top: 15vh;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 12px 24px;
    border-radius: 30px;
    border: 1px solid var(--primary-gold);
    color: white;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    z-index: 50;
    pointer-events: none;
    animation: pulseFade 3s infinite;
    white-space: nowrap;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }
  .global-rotate-hint svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-gold);
    animation: rotatePhone 3s ease-in-out infinite alternate;
  }

  .scroll-down-chevron {
    bottom: 8vh;
  }
  .scroll-down-chevron svg {
    width: 32px;
    height: 32px;
  }
}

@keyframes pulseFade {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes bounceFade {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

@keyframes rotatePhone {
  0% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(-90deg);
  }
  100% {
    transform: rotate(-90deg);
  }
}

/* --- GALLERY JUMP LINK & HINT --- */
.gallery-jump-link {
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(197, 160, 89, 0.1);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 20px;
  color: var(--primary-gold);
  font-size: 0.85rem;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}
@media (hover: hover) {
  .gallery-jump-link:hover {
    background: rgba(197, 160, 89, 0.2);
    transform: translateY(-2px);
  }
}
.gallery-jump-link svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 768px) {
  .gallery-jump-link {
    font-size: 0.8rem;
    padding: 6px 16px;
    margin-top: 0.5rem;
  }
}

/* Desktop Glass Effect for Galleries */
@media (min-width: 1025px) {
  .desktop-glass-gallery {
    background: transparent;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  /* Allow gallery to break out of the frosted glass card constraint on desktop */
  .reveal-card.left-align .desktop-glass-gallery {
    width: calc(95vw - 60px); /* 100vw - 5vw margin-left - 60px padding-left */
  }
  .reveal-card.right-align .desktop-glass-gallery {
    width: calc(100% + 5vw); /* Break into the 5vw right margin */
  }
}

/* Ensure the container clears its floats so they don't break into the next section */
.intro-flow-container {
  display: flow-root;
}

/* Floating Teaser Box for Guide Quick Access */
.floating-teaser-box {
  float: right;
  width: max-content;
  margin: 0.5rem 0 2rem 2.5rem;
  background: var(--guide-card, rgba(20, 25, 22, 0.02));
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 1.8rem;
  border-radius: 8px;
  z-index: 10;
  position: relative;
}
@media (max-width: 768px) {
  .intro-flow-container {
    display: flex;
    flex-direction: column;
  }
  .floating-teaser-box {
    float: none;
    box-sizing: border-box;
    width: 100%;
    margin: 2rem 0 3rem 0;
    /* order: 99; removed */
  }
}

/* Automatic Dark Mode */
@media (prefers-color-scheme: dark) {
  :root {
    --guide-bg: #1b1918;
    --guide-bg-alt: #2a2a2a;
    --guide-text: #eae6dc;
    --guide-text-muted: #a09e98;
    --guide-card: rgba(255, 255, 255, 0.04);
    --bg-light: #1b1918;
  }
}

@media (max-width: 768px) {
  .hide-on-mobile {
    display: none !important;
  }
}

.guide-float-right {
  float: right;
  width: 360px;
  max-width: 50%;
  margin: 0.5rem 0 1.5rem 2rem;
}
.guide-float-left {
  float: left;
  width: 360px;
  max-width: 50%;
  margin: 0.5rem 2rem 1.5rem 0;
}
@media (max-width: 768px) {
  .guide-float-right,
  .guide-float-left {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* Unified Guide Lined Heading */
.guide-lined-heading {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: 2rem;
}
.guide-lined-heading::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(197, 160, 89, 0.4);
}
.guide-lined-heading::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-gold);
}

.hero-optimized-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

/* =========================================
   UX Audit Standardized Guide Classes
   ========================================= */

/* Guide Back Link (Quick Access) */
.guide-back-link {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: bold;
  color: var(--primary-gold);
  text-decoration: none;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 0.2rem 0;
}
@media (hover: hover) {
  .guide-back-link:hover {
    color: #7a5405; /* High contrast dark gold/brown for Light Mode */
  }
  @media (prefers-color-scheme: dark) {
    .guide-back-link:hover {
      color: #fce29f; /* High contrast bright gold for Dark Mode */
    }
  }
}

/* Guide H3 Headings */
.guide-subheading {
  font-size: 1.1rem;
  color: var(--primary-gold);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.guide-subheading-lg {
  font-size: 1.1rem;
  color: var(--primary-gold);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
}
.guide-gallery-heading {
  font-size: 1.1rem;
  color: var(--primary-gold);
  margin: 0;
}

/* Guide Article Headings (H2) */
.article-heading {
  font-family: "Minion Pro", Minion, serif;
  color: var(--primary-gold);
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 1.5rem;
  clear: both;
}

/* Guide Teaser Label (small label above nav/content blocks) */
.guide-teaser-label {
  font-weight: 700;
  color: var(--primary-gold);
  margin-top: 0;
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  font-size: 0.95rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
}

@media (prefers-color-scheme: dark) {
  .guide-signature-invert {
    filter: invert(1) brightness(0.9) !important;
  }
}

/* --- Map Outline Button --- */
.btn-map-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(197, 160, 89, 0.15);
  color: var(--primary-gold) !important;
  border: 1px solid rgba(197, 160, 89, 0.4);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: inherit;
}
@media (hover: hover) and (pointer: fine) {
  .btn-map-outline:hover {
    background: var(--primary-gold) !important;
    color: #000 !important;
  }
}
@media (max-width: 800px) {
  .btn-map-outline.desktop-only {
    display: none !important;
  }
}

/* --- GLOBAL BUTTON COMPONENTS --- */
.vl-btn-gold,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-family: var(--font-main, sans-serif);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: none;
  text-decoration: none;
  text-align: center;
}

.vl-btn-gold,
.btn-gold {
  background: var(--primary-gold);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-gold);
  border: 2px solid var(--primary-gold);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

@media (hover: hover) {
  .vl-btn-gold:hover,
  .btn-gold:hover {
    background: #d4b371;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }
  .btn-outline:hover {
    background: var(--primary-gold);
    color: #fff;
  }
  .btn-ghost:hover {
    background: #fff;
    color: var(--primary-dark);
  }
}

/* FAB Home Button Styles */
.fab-link-home {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(197, 160, 89, 0.05);
  border: 1px solid rgba(197, 160, 89, 0.2);
  padding: 6px 12px !important;
  border-radius: 8px;
  transition: all 0.3s ease;
  justify-content: flex-start !important;
}

.fab-link-home:hover {
  background: rgba(197, 160, 89, 0.15);
  border-color: rgba(197, 160, 89, 0.5);
}

.fab-home-logo {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  max-width: 32px !important;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.fab-link-home span {
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .fab-link-home {
    gap: 8px;
    padding: 4px 8px !important;
  }
  .fab-home-logo {
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
  }
  .fab-link-home span {
    font-size: 0.75rem;
  }
}

@media (orientation: landscape) and (max-width: 1024px) {
  .fab-link-home {
    padding: 4px 6px !important;
    gap: 6px;
  }
  .fab-home-logo {
    width: 20px !important;
    height: 20px !important;
    min-width: 20px !important;
    max-width: 20px !important;
  }
  .fab-link-home span {
    font-size: 0.65rem;
    white-space: normal;
  }
}

/* Ensure mobile hero crop is identical across all languages */
@media (max-width: 768px) {
  .mit-kindern-hero .hero-slider-img {
    background-position: 80% center !important;
  }
}

/* Restored missing float classes for Guide Pages */
.float-right-img {
  float: right;
  width: 45%;
  max-width: 400px;
  margin: 0.5rem 0 1rem 1.5rem;
}
.float-left-img {
  float: left;
  width: 45%;
  max-width: 400px;
  margin: 0.5rem 1.5rem 1rem 0;
}
@media (max-width: 768px) {
  .float-right-img,
  .float-left-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* ------------------------------------- */
/* FIX FOR INLINE IMAGES AND SUNSET BG   */
/* ------------------------------------- */
#sundown,
#sundown > div,
.sunset-gallery-section {
  background-color: var(--bg-color-dark, #0a0a0a) !important;
}

/* Make the WRAPPER break out, so JS logic doesn't clash */
picture:has(> .inline-article-img) {
  width: 100vw !important;
  max-width: 100vw !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  overflow: visible !important;
  margin: 3rem 0 0.5rem 0 !important;
  display: block !important;
}

.inline-article-img {
  width: 100% !important;
  max-width: 100% !important;
  max-height: 75vh !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15) !important;
  cursor: zoom-in !important;
  margin: 0 !important;
}

.inline-img-caption {
  font-size: 0.85rem;
  color: var(--guide-text, #666);
  opacity: 0.7;
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  font-style: italic;
  width: 100%;
}

/* ------------------------------------- */
/* LANGUAGE SWITCHER (guide pages)       */
/* ------------------------------------- */
.guide-header-lang {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  display: flex;
  gap: 12px;
  padding: 8px 16px;
  transition: opacity 0.3s ease;
}
.guide-header-lang a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-decoration: none;
  transition: color 0.2s;
}
.guide-header-lang a:hover {
  color: rgba(255, 255, 255, 0.9);
}
.guide-header-lang a.active {
  color: var(--primary-gold, #c5a059);
}
@media (max-width: 768px) {
  .guide-header-lang {
    top: max(24px, env(safe-area-inset-top, 24px));
    right: max(24px, env(safe-area-inset-right, 24px));
    padding: 6px 12px;
    gap: 8px;
  }
  .guide-header-lang a {
    font-size: 0.75rem;
  }
}

/* =========================================================================
   LIGHT MODE OVERRIDES & SPECIFIC STYLES FOR GOLF PAGE
   ========================================================================= */

/* Body and Theme */
body {
  background-color: var(--guide-bg, #fdf8f0) !important;
  color: var(--guide-text, #2a2a2a) !important;
}

/* Fix footer background */
.seo-footer {
  background-color: #050505 !important;
}

/* Inline Images */
.inline-article-img {
  width: 100%;
  max-height: 70vh;
  object-fit: cover;
  border-radius: 8px;
  margin: 2rem 0 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
}
.inline-img-caption {
  font-size: 0.85rem;
  color: var(--guide-text);
  opacity: 0.7;
  text-align: center;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Floated Images */
.float-right-img {
  float: right;
  width: 45%;
  max-width: 400px;
  margin: 0.5rem 0 1.5rem 1.5rem;
}
.float-left-img {
  float: left;
  width: 45%;
  max-width: 400px;
  margin: 0.5rem 1.5rem 1rem 0;
}
@media (max-width: 768px) {
  .float-right-img,
  .float-left-img {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1.5rem 0;
  }
}

/* Golf Fact Cards */
.golf-fact-card {
  background-color: var(--guide-card);
  border: 1px solid rgba(197, 160, 89, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}
.golf-fact-card h4 {
  margin-top: 0;
  color: var(--primary-gold);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(197, 160, 89, 0.2);
  padding-bottom: 0.5rem;
}
.golf-facts-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  font-size: 0.95rem;
}
.golf-facts-list li strong {
  display: block;
  color: var(--guide-text);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
  opacity: 0.6;
}
.golf-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ==========================================================
   Lightbox Action Buttons (Share/Map/QR/Toast/DriveTime)
   Moved here from global.css for correct dev-server rendering
   ========================================================== */

/* Action Buttons Container (Share/Map) */
.vl-lb-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  position: relative;
  z-index: 1000;
}

.vl-lb-button-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
}

@media (min-width: 769px) {
  .vl-lb-actions {
    flex-direction: row;
    justify-content: center;
    gap: 15px;
  }
  .vl-lb-button-row {
    display: contents;
  }
  #lbMobileGpsBtn {
    order: 1;
  }
  .vl-lb-drivetime {
    order: 2;
    margin: 0 10px;
  }
  #lbShareBtnMain {
    order: 3;
  }
}

/* Unified Action Button Style */
.vl-lb-btn {
  box-sizing: border-box;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  cursor: pointer;
}

/* Primary (Gold) Action Button (Show on Map) */
.vl-lb-btn-primary {
  background: var(--primary-gold);
  color: #000;
  border: 1px solid var(--primary-gold);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.3);
  padding: 0 16px;
  text-decoration: none;
}
.vl-lb-btn-primary:hover {
  background: transparent;
  color: var(--primary-gold);
}

/* Secondary (Outline) Action Button (Share) */
.vl-lb-btn-secondary {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: 0 12px;
}
.vl-lb-btn-secondary:hover {
  background: var(--primary-gold);
  color: #000;
}

/* QR Code Container */
.vl-lb-qr-container {
  display: none;
  flex-direction: column;
  align-items: center;
  background: #fff;
  padding: 10px;
  border-radius: 8px;
  margin-top: 5px;
}
.vl-lb-qr-container img {
  width: 140px;
  height: 140px;
}
.vl-lb-qr-label {
  color: #000;
  font-size: 0.75rem;
  margin-top: 6px;
  font-weight: 600;
}

/* Drive Time Label */
.vl-lb-drivetime {
  font-size: 0.8rem;
  color: #888;
  margin-top: 12px;
  font-family: var(--font-sans);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Toast Notification */
.vl-lb-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.9);
  color: #fff;
  border: 1px solid var(--primary-gold);
  border-radius: 30px;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  z-index: 100000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  text-align: center;
}

/* --- Unified Guide Content Styles --- */
.guide-quote-box {
  max-width: 780px;
  margin: 0 auto 2rem auto;
}
.guide-quote-text {
  font-family: var(--font-heading, serif);
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--primary-gold);
  font-style: italic;
  text-align: center;
  font-weight: 300;
}
.guide-cta-box {
  max-width: 780px;
  margin: 2rem auto 2rem auto;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: 4px;
  text-align: center;
}
.guide-cta-heading {
  color: var(--primary-gold);
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.guide-cta-text {
  color: var(--guide-text);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  text-align: center;
}
.guide-cta-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
}

@media (max-width: 768px) {
  .guide-cta-box {
    padding: 2.5rem 1.5rem !important;
    margin: 2rem auto 4rem auto !important;
  }
}

/* Restored floats from legacy guide-style.css */
.article-float-right {
  float: right;
  width: 45%;
  max-width: 450px;
  height: auto;
  margin: 0.5rem 0 1.5rem 2rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
.article-float-left {
  float: left;
  width: 45%;
  max-width: 450px;
  height: auto;
  margin: 0.5rem 2rem 1.5rem 0;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
.article-full-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .article-float-right,
  .article-float-left {
    float: none;
    width: calc(
      100% + max(40px, env(safe-area-inset-right) + env(safe-area-inset-left))
    );
    max-width: none;
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right)));
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
  }
}

/* Restored floats from legacy guide-style.css */
.article-float-right {
  float: right;
  width: 45%;
  max-width: 450px;
  height: auto;
  margin: 0.5rem 0 1.5rem 2rem;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
.article-float-left {
  float: left;
  width: 45%;
  max-width: 450px;
  height: auto;
  margin: 0.5rem 2rem 1.5rem 0;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border-radius: 4px;
}
.article-full-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 2.5rem 0;
  object-fit: cover;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

@media (max-width: 768px) {
  .article-float-right,
  .article-float-left,
  .article-wide-img {
    float: none;
    width: calc(
      100% + max(40px, env(safe-area-inset-right) + env(safe-area-inset-left))
    );
    max-width: none;
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right)));
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0;
  }
}
