/*
 Theme Name:   Hillside Sanctuary
 Theme URI:    https://hillsidesanctuary.pt
 Description:  Custom standalone theme for Hillside Sanctuary agroturismo. No parent theme dependency.
 Author:       Agent Zero — AZ-DESIGN-001
 Author URI:   https://thesynergygroup.ch
 Version:      5.0.2
 License:      Proprietary
 Text Domain:  hsp-starter
*/

/* ============================================================
   DESIGN SYSTEM — Hillside Sanctuary
   Reference: Six Senses Douro Valley
   ============================================================ */

/* -- Reset -- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* -- Custom Properties -- */
:root {
  /* Palette */
  --hsp-olive:       #5C6B3C;
  --hsp-olive-light: #7A8C5A;
  --hsp-olive-dark:  #3E4A28;
  --hsp-terra:       #C4704A;
  --hsp-terra-light: #D4896A;
  --hsp-stone:       #B8A88A;
  --hsp-stone-light: #D4C8B0;
  --hsp-cream:       #F5F0E8;
  --hsp-cream-dark:  #E8E0D0;
  --hsp-charcoal:    #2C2C2C;
  --hsp-white:       #FDFCFA;
  --hsp-black:       #1A1A1A;

  /* Typography */
  --hsp-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --hsp-sans:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing (8px base) */
  --s1: 0.5rem;    /* 8px */
  --s2: 1rem;      /* 16px */
  --s3: 1.5rem;    /* 24px */
  --s4: 2rem;      /* 32px */
  --s5: 3rem;      /* 48px */
  --s6: 4rem;      /* 64px */
  --s7: 6rem;      /* 96px */
  --s8: 8rem;      /* 128px */

  /* Layout */
  --max-w: 1200px;
  --max-w-narrow: 720px;
  --gutter: clamp(1rem, 4vw, 2rem);

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --duration: 0.3s;
}

/* -- Base Typography -- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--hsp-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hsp-charcoal);
  background: var(--hsp-white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--hsp-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--hsp-black);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-bottom: var(--s4); }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); margin-bottom: var(--s3); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); margin-bottom: var(--s2); }

p { margin-bottom: var(--s3); max-width: 65ch; }
p:last-child { margin-bottom: 0; }

a { color: var(--hsp-terra); text-decoration: none; transition: color var(--duration) var(--ease); }
a:hover { color: var(--hsp-olive); }

img { max-width: 100%; height: auto; display: block; }

/* -- Layout -- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--max-w-narrow); }

.section { padding: var(--s7) 0; }
.section--cream { background: var(--hsp-cream); }
.section--olive { background: var(--hsp-olive-dark); color: var(--hsp-cream); }
.section--olive h2, .section--olive h3 { color: var(--hsp-cream); }
.section--olive p { color: var(--hsp-stone-light); }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 252, 250, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(184, 168, 138, 0.15);
  transition: background var(--duration) var(--ease);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.site-header__logo {
  display: flex;
  align-items: center;
  gap: var(--s2);
  text-decoration: none;
  color: var(--hsp-black);
}

.site-header__logo img {
  height: 44px;
  width: auto;
}

.site-header__logo-text {
  font-family: var(--hsp-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.site-nav { display: flex; align-items: center; gap: var(--s4); list-style: none; }
.site-nav li { list-style: none; }

.site-nav a {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hsp-charcoal);
  text-decoration: none;
  position: relative;
  padding: var(--s1) 0;
  transition: color var(--duration) var(--ease);
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--hsp-terra);
  transition: width var(--duration) var(--ease);
}

.site-nav a:hover { color: var(--hsp-terra); }
.site-nav a:hover::after { width: 100%; }
.site-nav a.is-active { color: var(--hsp-terra); font-weight: 700; }
.site-nav a.is-active::after { width: 100%; background: var(--hsp-terra); height: 2px; }

.site-nav__cta {
  background: transparent;
  color: var(--hsp-olive-dark) !important;
  padding: 0.625rem 1.25rem;
  border: 1.5px solid var(--hsp-olive-dark);
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  transition: all var(--duration) var(--ease);
}

.site-nav__cta::after { display: none; }
.site-nav__cta:hover { background: var(--hsp-olive-dark); color: var(--hsp-white) !important; }

/* Mobile nav toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 10px; min-width: 44px; min-height: 44px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--hsp-charcoal); margin: 5px 0; transition: all var(--duration) var(--ease); }

/* Hamburger → X animation */
.nav-toggle.is-active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Mobile Menu: Split Header Editorial Takeover --- */
.mobile-menu { display: none; }

@media (max-width: 768px) {
  .site-header__inner { height: 64px; }
  .site-header__logo img { height: 36px; }
  .site-header__logo-text { font-size: 0.85rem; }

  .nav-toggle { display: block; position: relative; z-index: 10002; }

  /* Hide desktop nav on mobile */
  .site-nav { display: none; }

  /* Full-screen editorial menu */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: fixed;
    inset: 0;
    z-index: 10001;
    background: var(--hsp-cream);
    padding: var(--s4) var(--gutter) var(--s3);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .mobile-menu.is-open { opacity: 1; visibility: visible; }
  body.menu-open { overflow: hidden; }

  /* Logo — centred anchor */
  .mobile-menu__logo { text-align: center; margin-bottom: var(--s3); }
  .mobile-menu__logo img { height: 64px; width: auto; margin: 0 auto; }
  .mobile-menu__logo span {
    display: block;
    font-family: var(--hsp-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--hsp-olive-dark);
    margin-top: var(--s1);
  }

  /* Atmospheric image */
  .mobile-menu__image {
    width: calc(100% - 2rem);
    height: 28vh;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--s4);
    position: relative;
  }
  .mobile-menu__image img {
    width: 100%; height: 100%;
    object-fit: cover;
    animation: menuImageScale 8s ease-in-out infinite alternate;
  }
  .mobile-menu__image::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(62, 74, 40, 0.3), transparent);
    border-radius: 0 0 12px 12px;
    pointer-events: none;
  }
  .mobile-menu__image:empty { display: none; }
  @keyframes menuImageScale { from { transform: scale(1); } to { transform: scale(1.05); } }

  /* Nav links — editorial serif */
  .mobile-menu__nav { text-align: center; margin-bottom: var(--s3); }
  .mobile-menu__nav a {
    display: block;
    font-family: var(--hsp-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--hsp-charcoal);
    text-decoration: none;
    line-height: 2.5;
    letter-spacing: -0.01em;
    opacity: 0;
    transform: translateY(10px);
    transition: color var(--duration) var(--ease);
  }
  .mobile-menu.is-open .mobile-menu__nav a {
    animation: menuFadeUp 0.4s var(--ease) forwards;
  }
  .mobile-menu__nav a:nth-child(1) { animation-delay: 0.1s; }
  .mobile-menu__nav a:nth-child(2) { animation-delay: 0.15s; }
  .mobile-menu__nav a:nth-child(3) { animation-delay: 0.2s; }
  .mobile-menu__nav a:nth-child(4) { animation-delay: 0.25s; }
  .mobile-menu__nav a:nth-child(5) { animation-delay: 0.3s; }
  .mobile-menu__nav a:nth-child(6) { animation-delay: 0.35s; }
  .mobile-menu__nav a:nth-child(7) { animation-delay: 0.4s; }
  .mobile-menu__nav a:nth-child(8) { animation-delay: 0.45s; }
  @keyframes menuFadeUp { to { opacity: 1; transform: translateY(0); } }
  .mobile-menu__nav a.is-active { color: var(--hsp-terra); }
  .mobile-menu__nav a.is-active::before { content: '\00B7\00A0'; }
  .mobile-menu__nav a:hover { color: var(--hsp-terra); }

  /* Decorative divider */
  .mobile-menu__divider {
    color: var(--hsp-stone-light);
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    margin-bottom: var(--s3);
    user-select: none;
  }

  /* Contact */
  .mobile-menu__contact { text-align: center; margin-bottom: var(--s2); }
  .mobile-menu__contact a {
    display: block;
    font-size: 0.8rem;
    color: var(--hsp-stone);
    line-height: 2;
    text-decoration: none;
  }
  .mobile-menu__contact a:hover { color: var(--hsp-terra); }

  /* Language pills */
  .mobile-menu__langs {
    display: flex; gap: var(--s2); justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--s4);
  }
  .mobile-menu__langs a {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hsp-stone);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all var(--duration) var(--ease);
  }
  .mobile-menu__langs a.is-current {
    color: var(--hsp-olive-dark);
    background: var(--hsp-cream-dark);
  }
  .mobile-menu__langs a:hover { color: var(--hsp-olive-dark); }

  /* Close button — in thumb zone */
  .mobile-menu__close {
    background: none;
    border: 1px solid var(--hsp-stone-light);
    border-radius: 4px;
    padding: 0.5rem 1.5rem;
    font-family: var(--hsp-sans);
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--hsp-stone);
    cursor: pointer;
    margin-top: auto;
    transition: all var(--duration) var(--ease);
    min-height: 44px;
  }
  .mobile-menu__close:hover { color: var(--hsp-charcoal); border-color: var(--hsp-charcoal); }

  /* Hero offset for smaller header */
  .hero { margin-top: 64px; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--hsp-olive-dark);
  margin-top: 100px; /* header height */
}

.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Homepage hero */
.hero--center .hero__content {
  position: relative;
  z-index: 2;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(26, 26, 26, 0.15) 40%,
    rgba(62, 74, 40, 0.65) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: var(--s8) var(--gutter) var(--s6);
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  color: var(--hsp-white);
}

.hero--center .hero__content { text-align: center; padding-bottom: var(--s7); }
.hero--center { align-items: center; }

.hero__logo {
  margin-bottom: var(--s4);
}

.hero__logo img {
  width: 320px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,0.5));
}

@media (min-width: 768px) {
  .hero__logo img { width: 440px; }
}

@media (min-width: 1024px) {
  .hero__logo img { width: 540px; }
}

.hero h1 {
  color: var(--hsp-white);
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  font-weight: 700;
  margin-bottom: var(--s3);
}

.hero__subtitle {
  font-family: var(--hsp-sans);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  opacity: 0.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
  margin-bottom: var(--s5);
}

.hero--short { min-height: 40vh; max-height: 50vh; }
.hero--short .hero__content { padding-top: var(--s6); padding-bottom: var(--s5); }

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--s4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scroll-hint 2.5s ease-in-out infinite;
}

.hero__scroll::after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  border-right: 1.5px solid rgba(255,255,255,0.5);
  border-bottom: 1.5px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
}

@keyframes scroll-hint {
  0%, 100% { opacity: 0.3; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.8; transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: var(--hsp-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--duration) var(--ease);
  min-height: 48px;
}

.btn--primary {
  background: var(--hsp-terra);
  color: var(--hsp-white);
}
.btn--primary:hover {
  background: var(--hsp-terra-light);
  color: var(--hsp-white);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  border: 1.5px solid var(--hsp-olive);
  color: var(--hsp-olive);
}
.btn--outline:hover {
  background: var(--hsp-olive);
  color: var(--hsp-white);
}

.btn--white {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.5);
  color: var(--hsp-white);
  backdrop-filter: blur(4px);
}
.btn--white:hover {
  background: var(--hsp-white);
  color: var(--hsp-olive-dark);
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--hsp-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}

@media (hover: hover) {
  .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
  }
  .card:hover .card__img img { transform: scale(1.04); }
}

.card__img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.card__img::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(0,0,0,0.08));
  pointer-events: none;
}

.card__img--placeholder {
  background: linear-gradient(135deg, var(--hsp-cream) 0%, var(--hsp-stone-light) 100%);
  aspect-ratio: 16 / 10;
}

.card__body { padding: var(--s4) var(--s3) var(--s4); }

.card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--hsp-olive);
  background: rgba(92, 107, 60, 0.08);
  padding: 0.25rem 0.75rem;
  border-radius: 3px;
  margin-bottom: var(--s2);
}

/* Verified partner gold star badge */
.card__verified {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #D4A537;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.card__title {
  font-family: var(--hsp-serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: var(--s1);
  line-height: 1.3;
}

.card__title a { color: var(--hsp-black); }
.card__title a:hover { color: var(--hsp-terra); }

.card__meta {
  font-size: 0.875rem;
  color: var(--hsp-stone);
  line-height: 1.5;
}

/* ============================================================
   GRID
   ============================================================ */
.grid { display: grid; gap: var(--s5); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   PILLARS (Homepage five pillars)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s4);
  text-align: center;
}

.pillar__icon {
  font-size: 2.5rem;
  margin-bottom: var(--s2);
}

.pillar h3 {
  font-size: 1.125rem;
  margin-bottom: var(--s1);
}

a.pillar { text-decoration: none; color: inherit; transition: transform 0.2s, opacity 0.2s; display: block; }
a.pillar:hover { transform: translateY(-3px); opacity: 0.85; }
.section--olive .pillar h3 { color: var(--hsp-cream); }
.section--olive .pillar p { color: var(--hsp-stone-light); font-size: 0.9rem; }

@media (min-width: 640px) { .pillars { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .pillars { grid-template-columns: repeat(5, 1fr); } }

/* ============================================================
   FILTER PILLS
   ============================================================ */
/* ============================================================
   COMMUNITY FILTER MATRIX (two-row: WHAT + WHERE)
   ============================================================ */
/* ============================================================
   COMMUNITY FILTER MATRIX (two-row: WHAT + WHERE)
   ============================================================ */
.community-nav {
  background: var(--hsp-white);
  border-bottom: 2px solid var(--hsp-cream-dark);
  position: sticky;
  top: 100px;
  z-index: 50;
  padding: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Compact bar (always visible) */
.community-nav__bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 12px 0;
}
.community-nav__toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1.5px solid var(--hsp-cream-dark);
  border-radius: 6px;
  padding: 8px 14px;
  font-family: var(--hsp-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--hsp-olive-dark);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  flex-shrink: 0;
}
.community-nav__toggle:hover { border-color: var(--hsp-olive); background: rgba(92,107,60,0.04); }
.community-nav__toggle--open { background: var(--hsp-olive-dark); color: #fff; border-color: var(--hsp-olive-dark); }
.community-nav__toggle--open:hover { background: var(--hsp-olive); }
.community-nav__toggle svg { transition: transform 0.2s; }
.community-nav__toggle--open svg { transform: rotate(180deg); }

.community-nav__chips {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  flex-wrap: wrap;
  min-height: 32px;
}
.community-nav__chip {
  display: inline-flex;
  align-items: center;
  background: var(--hsp-olive-dark);
  color: #fff;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
}
.community-nav__chip:hover { background: var(--hsp-terra); color: #fff; }
.community-nav__chip-x {
  margin-left: 8px;
  font-size: 1rem;
  line-height: 1;
  opacity: 0.7;
}
.community-nav__chip:hover .community-nav__chip-x { opacity: 1; }
.community-nav__clear {
  font-size: 0.75rem;
  color: var(--hsp-stone);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.community-nav__all-label {
  font-size: 0.85rem;
  color: var(--hsp-stone);
  font-style: italic;
}
.community-nav__result-count {
  font-size: 0.8rem;
  color: var(--hsp-stone);
  white-space: nowrap;
  flex-shrink: 0;
  font-weight: 500;
}

/* Collapsible pill rows */
.community-nav__rows {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0;
}
.community-nav__rows--open {
  max-height: 300px;
  padding: 0.75rem 0 0.5rem;
  border-top: 1px solid var(--hsp-cream);
}

.community-nav__row {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: 0.5rem 0;
}

.community-nav__row + .community-nav__row {
  border-top: 1px solid var(--hsp-cream);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
}

.community-nav__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--hsp-terra);
  min-width: 48px;
  flex-shrink: 0;
  padding: 0.5rem 0;
}

.community-nav__pills {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 2px 0;
}

@media (max-width: 768px) {
  .community-nav__pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .community-nav__pills::-webkit-scrollbar { display: none; }
}

.community-nav__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.5rem 1rem;
  border: 1.5px solid var(--hsp-stone-light);
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hsp-charcoal);
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--duration) var(--ease);
  background: var(--hsp-white);
}

.community-nav__pill:hover {
  background: var(--hsp-cream);
  border-color: var(--hsp-olive);
  color: var(--hsp-olive-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.community-nav__pill--active {
  background: var(--hsp-olive-dark);
  color: var(--hsp-white);
  border-color: var(--hsp-olive-dark);
  box-shadow: 0 2px 8px rgba(62, 74, 40, 0.25);
}

.community-nav__pill--active:hover {
  background: var(--hsp-olive);
  border-color: var(--hsp-olive);
  color: var(--hsp-white);
}

.community-nav__pill--special {
  border-color: var(--hsp-terra);
  color: var(--hsp-terra);
  background: rgba(196, 112, 74, 0.04);
}

.community-nav__pill--special:hover {
  background: var(--hsp-terra);
  color: var(--hsp-white);
  border-color: var(--hsp-terra);
  box-shadow: 0 2px 8px rgba(196, 112, 74, 0.25);
}

.community-nav__pill--special.community-nav__pill--active {
  background: var(--hsp-terra);
  border-color: var(--hsp-terra);
  box-shadow: 0 2px 8px rgba(196, 112, 74, 0.25);
}

.community-nav__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: rgba(0,0,0,0.08);
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
}

.community-nav__pill--active .community-nav__count {
  background: rgba(255,255,255,0.25);
}

.filter-bar { display: flex; flex-wrap: wrap; gap: var(--s1); margin-bottom: var(--s5); }

.filter-pill {
  display: inline-block;
  padding: 0.5rem 1.125rem;
  border: 1px solid var(--hsp-stone);
  border-radius: 3px;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--hsp-charcoal);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.filter-pill:hover { background: var(--hsp-olive); color: var(--hsp-white); border-color: var(--hsp-olive); }
.filter-pill--active { background: var(--hsp-olive-dark); color: var(--hsp-white); border-color: var(--hsp-olive-dark); }

/* ============================================================
   PARTNER DETAIL
   ============================================================ */
.partner-detail { padding: var(--s6) 0; }

.partner-editorial {
  max-width: var(--max-w-narrow);
  margin: 0 auto var(--s6);
  text-align: center;
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--hsp-cream-dark);
}

.partner-editorial blockquote {
  border: none;
  padding: 0;
  margin: 0;
}

.partner-editorial blockquote p {
  font-family: var(--hsp-serif);
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--hsp-olive-dark);
  line-height: 1.7;
  max-width: none;
}

.partner-editorial__attr {
  font-size: 0.8rem;
  color: var(--hsp-stone);
  margin-top: var(--s3);
  letter-spacing: 0.04em;
}

.partner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

@media (min-width: 768px) {
  .partner-grid { grid-template-columns: 1fr 340px; gap: var(--s7); }
}

.partner-section { margin-bottom: var(--s6); }
.partner-section h2 { font-size: 1.375rem; color: var(--hsp-olive-dark); margin-bottom: var(--s3); }
.partner-section .lead { font-size: 1.0625rem; line-height: 1.8; color: var(--hsp-charcoal); }

/* Contact card */
.contact-card {
  background: var(--hsp-white);
  border: 1px solid var(--hsp-cream-dark);
  border-radius: 8px;
  padding: var(--s4) var(--s4) var(--s3);
}

/* Sticky sidebar only on partner detail pages */
.partner-detail .contact-card:first-child {
  position: sticky;
  top: calc(100px + var(--s4));
}

.contact-card__row {
  padding-bottom: var(--s2);
  margin-bottom: var(--s2);
  border-bottom: 1px solid var(--hsp-cream);
  font-size: 0.9rem;
}

.contact-card__row:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

.contact-card__label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--hsp-stone);
  margin-bottom: 0.25rem;
}

/* Social links */
.social-links { display: flex; gap: var(--s1); margin-top: var(--s3); }

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hsp-cream-dark);
  border-radius: 4px;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--hsp-charcoal);
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}

.social-link:hover { background: var(--hsp-olive); color: var(--hsp-white); border-color: var(--hsp-olive); }

/* Map */
.partner-map {
  margin-top: var(--s4);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ============================================================
   IMPACT STAT
   ============================================================ */
.impact-stat {
  padding: var(--s2) var(--s3);
  background: var(--hsp-cream);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--hsp-olive);
  font-weight: 500;
  margin-top: var(--s4);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  margin-bottom: var(--s2);
  opacity: 0.85;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb span { color: rgba(255,255,255,0.9); }
.breadcrumb__current { font-weight: 600; }
.breadcrumb__sep { margin: 0 0.5rem; }

/* Trail marker dots (replace "/" separators) */
.breadcrumb__dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
  display: inline-block; margin: 0 0.625rem;
  vertical-align: middle; flex-shrink: 0;
}
.breadcrumb__dot--current {
  background: var(--hsp-terra-light);
  width: 9px; height: 9px;
}

/* Dark variant for pages with light/no hero backgrounds */
.breadcrumb--dark a { color: var(--hsp-olive); opacity: 0.7; }
.breadcrumb--dark a:hover { opacity: 1; }
.breadcrumb--dark span { color: var(--hsp-charcoal); }
.breadcrumb--dark .breadcrumb__dot { background: var(--hsp-olive); opacity: 0.3; }
.breadcrumb--dark .breadcrumb__dot--current { background: var(--hsp-terra); opacity: 1; }


/* ============================================================
   TEXT LINKS — Subtle inline keyword hyperlinks
   ============================================================ */
.text-link {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--hsp-terra);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s;
}
.text-link:hover { color: var(--hsp-terra); }

/* Variant for links on dark backgrounds (hero sections) */
.text-link--light {
  color: rgba(255,255,255,0.9);
  text-decoration-color: var(--hsp-terra-light);
}
.text-link--light:hover { color: #fff; }


/* ============================================================
   STAT CARDS — Premium info/metric cards
   ============================================================ */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  max-width: 960px;
  margin: 0 auto;
}
.stat-card {
  background: linear-gradient(145deg, var(--hsp-olive-dark) 0%, #4A5A2E 100%);
  border-radius: 12px;
  padding: var(--s5) var(--s4);
  text-align: center;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 70%);
  border-radius: 50%;
}
a.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(58, 50, 38, 0.15);
}
.stat-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto var(--s3);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-card__icon svg {
  width: 26px;
  height: 26px;
  stroke: rgba(255, 255, 255, 0.9);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.stat-card__value {
  display: block;
  font-family: var(--hsp-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.stat-card__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
  line-height: 1.4;
}
@media (max-width: 640px) {
  .stat-cards { grid-template-columns: 1fr; max-width: 360px; }
  .stat-card { padding: var(--s4) var(--s3); }
  .stat-card__value { font-size: 1.75rem; }
}


/* ============================================================
   CROSSLINKS — "Continue Exploring" section
   ============================================================ */
.crosslinks { background: var(--hsp-cream); padding: var(--s7) 0; }
.crosslinks__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
  max-width: 960px;
  margin: 0 auto;
}
.crosslinks__card {
  border-radius: 12px;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: transform 0.3s, box-shadow 0.3s;
}
.crosslinks__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(58,50,38,0.85) 0%, rgba(58,50,38,0.3) 50%, rgba(58,50,38,0.05) 100%);
  z-index: 1;
  transition: background 0.3s;
}
.crosslinks__card:hover::before {
  background: linear-gradient(to top, rgba(92,107,60,0.9) 0%, rgba(92,107,60,0.4) 50%, rgba(92,107,60,0.1) 100%);
}
.crosslinks__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(58, 50, 38, 0.2);
}
.crosslinks__card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.crosslinks__card:hover .crosslinks__card-bg {
  transform: scale(1.05);
}
.crosslinks__card-content {
  position: relative;
  z-index: 2;
  padding: var(--s4);
}
.crosslinks__icon-wrap { display: none; }
.crosslinks__title {
  font-family: var(--hsp-serif);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.crosslinks__desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: var(--s2);
}
.crosslinks__link {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  padding: 8px 20px;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 4px;
  transition: background 0.2s, border-color 0.2s;
}
.crosslinks__card:hover .crosslinks__link {
  background: rgba(255,255,255,0.15);
  border-color: #fff;
}
@media (max-width: 768px) {
  .crosslinks__grid { grid-template-columns: 1fr; max-width: 400px; }
}


/* ============================================================
   JOURNEY TRAIL — Floating Hillside Path bottom bar
   ============================================================ */
.journey-trail {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: 52px;
  background: var(--hsp-cream);
  border-top: 1px solid var(--hsp-cream-dark);
  z-index: 90;
  font-size: 0.8rem;
  font-family: var(--hsp-sans);
  transition: transform 0.3s ease;
  /* Subtle hill silhouette */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 52' preserveAspectRatio='none'%3E%3Cpath d='M0 42 Q150 20 300 35 Q450 15 600 28 Q750 10 900 30 Q1050 18 1200 38 L1200 52 L0 52Z' fill='%235C6B3C' opacity='0.04'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.journey-trail--hidden { transform: translateY(100%); }

.journey-trail__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 60px 0 20px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.journey-trail__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--hsp-olive);
  display: inline-block;
  flex-shrink: 0;
  opacity: 0.5;
}
.journey-trail__dot--current {
  background: var(--hsp-terra);
  width: 12px; height: 12px;
  opacity: 1;
}

.journey-trail__line {
  width: 28px; height: 0;
  border-top: 2px dashed var(--hsp-olive);
  opacity: 0.25;
  flex-shrink: 0;
  margin: 0 2px;
}

.journey-trail__label {
  margin: 0 0.5rem;
  color: var(--hsp-olive-dark);
  text-decoration: none;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.journey-trail__label:hover { color: var(--hsp-terra); }
.journey-trail__label--current {
  color: var(--hsp-terra);
  font-weight: 700;
}

.journey-trail__close {
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--hsp-stone);
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}
.journey-trail__close:hover { color: var(--hsp-terra); }

/* Body padding so content isn't hidden behind trail */
body { padding-bottom: 52px; }

@media (max-width: 768px) {
  .journey-trail { height: 44px; }
  .journey-trail__line { width: 16px; }
  .journey-trail__label { font-size: 0.75rem; margin: 0 0.25rem; }
  .journey-trail__dot { width: 8px; height: 8px; }
  .journey-trail__dot--current { width: 10px; height: 10px; }
  body { padding-bottom: 44px; }
}


/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--hsp-olive-dark);
  color: var(--hsp-stone-light);
  padding: var(--s7) 0 var(--s4);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s5);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 768px) {
  .site-footer__inner { grid-template-columns: 2fr 1fr 1fr; }
}

.site-footer h4 {
  font-family: var(--hsp-serif);
  color: var(--hsp-cream);
  font-size: 1rem;
  margin-bottom: var(--s3);
}

.site-footer p { color: var(--hsp-stone); font-size: 0.875rem; max-width: none; }
.site-footer a { color: var(--hsp-stone-light); }
.site-footer a:hover { color: var(--hsp-terra-light); }

.site-footer__links { list-style: none; }
.site-footer__links li { margin-bottom: var(--s1); }
.site-footer__links a { font-size: 0.875rem; }

.site-footer__bottom {
  margin-top: var(--s6);
  padding-top: var(--s3);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: var(--hsp-stone);
  text-align: center;
}

/* ============================================================
   DIVIDER
   ============================================================ */
.divider {
  width: 60px;
  height: 2px;
  background: var(--hsp-terra);
  margin: 0 auto;
  opacity: 0.4;
}

.divider--left { margin: 0; }

/* ============================================================
   SEASONAL TABLE
   ============================================================ */
.season-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.season-table th {
  text-align: left;
  font-family: var(--hsp-serif);
  font-weight: 600;
  padding: var(--s2) var(--s2);
  border-bottom: 2px solid var(--hsp-olive);
  color: var(--hsp-olive-dark);
}

.season-table td {
  padding: var(--s2);
  border-bottom: 1px solid var(--hsp-cream-dark);
  vertical-align: top;
}

.season-table td:first-child { font-weight: 600; color: var(--hsp-olive-dark); white-space: nowrap; }

/* ============================================================
   TEXT UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-center p { margin-left: auto; margin-right: auto; }
.lead { font-size: 1.125rem; line-height: 1.8; color: var(--hsp-charcoal); }
.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--hsp-terra);
  margin-bottom: var(--s2);
  display: block;
}

/* ============================================================
   RESPONSIVE IMAGES
   ============================================================ */
.wp-post-image,
.attachment-large,
.attachment-full,
.attachment-medium_large {
  width: 100%;
  height: auto;
}

/* Translated content: prevent stray link underlines in headings/captions */
.section .container h1 a,
.section .container h2 a,
.section .container h3 a,
.section .container h4 a,
.section .container figcaption a,
.section .container [style*="font-weight"] a {
  color: inherit;
  text-decoration: none;
  border-bottom: none;
}

/* Content images: center standalone, fill grid cells */
.section .container img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.section .container > img,
.section .container > p > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section .container [style*="grid"] {
  width: 100%;
}

.section .container [style*="grid"] > img,
.section .container [style*="grid"] > div > img,
.section .container [style*="grid"] > a > img,
.section .container [style*="grid"] img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.section .container [style*="grid"] > a {
  display: block;
  width: 100%;
  height: 100%;
}

/* Responsive: stack all grids on mobile */
@media (max-width: 768px) {
  .section .container [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .section .container [style*="grid-template-columns"] > img {
    aspect-ratio: 16/10 !important;
  }
}

/* ============================================================
   BOOKING SYSTEM
   ============================================================ */

/* Progress bar */
.booking-progress {
  display: flex;
  justify-content: center;
  gap: var(--s4);
  margin-bottom: var(--s6);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--hsp-cream-dark);
}

.booking-progress__step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.35;
  transition: opacity var(--duration) var(--ease);
}

.booking-progress__step--active { opacity: 1; }
.booking-progress__step--done { opacity: 0.6; }

.booking-progress__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--hsp-cream);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--hsp-charcoal);
}

.booking-progress__step--active .booking-progress__num {
  background: var(--hsp-olive-dark);
  color: var(--hsp-white);
}

.booking-progress__step--done .booking-progress__num {
  background: var(--hsp-olive);
  color: var(--hsp-white);
}

.booking-progress__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 640px) {
  .booking-progress__label { display: none; }
  .booking-progress { gap: var(--s2); }
}

/* Room cards */
.booking-room-card {
  transition: border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
  border: 2px solid transparent;
}

/* FullCalendar theme overrides */
.fc { font-family: var(--hsp-sans); }
.fc .fc-toolbar-title { font-family: var(--hsp-serif); font-size: 1.5rem; }
.fc .fc-button-primary {
  background: var(--hsp-olive-dark);
  border-color: var(--hsp-olive-dark);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.fc .fc-button-primary:hover { background: var(--hsp-olive); border-color: var(--hsp-olive); }
.fc .fc-highlight { background: rgba(92, 107, 60, 0.15); }
.fc .fc-day-today { background: rgba(196, 112, 74, 0.08) !important; }
.fc .fc-day-today .fc-daygrid-day-number { color: var(--hsp-terra); font-weight: 700; }
.fc th { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--hsp-stone); }
.fc td { border-color: var(--hsp-cream-dark); }
.fc .fc-daygrid-day-number { font-size: 0.85rem; padding: 0.5rem; color: var(--hsp-charcoal); }
.fc .fc-day-past .fc-daygrid-day-number { opacity: 0.35; }
.fc .fc-bg-event { opacity: 1 !important; border-radius: 0; }
.fc .fc-bg-event.hsp-arrival-day { background: #5C6B3C !important; opacity: 0.85 !important; }
.fc .fc-bg-event.hsp-stay-range { background: rgba(92, 107, 60, 0.2) !important; border-top: 2px solid rgba(92, 107, 60, 0.4); border-bottom: 2px solid rgba(92, 107, 60, 0.4); }
.fc .fc-daygrid-day:hover { background: rgba(92, 107, 60, 0.06); cursor: pointer; }

/* ── Language Switcher ── */
.lang-switcher {
  position: relative;
  margin-left: 0.5rem;
}
.lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: 1px solid var(--hsp-cream-dark, #D5D0C0);
  border-radius: 6px;
  padding: 0.375rem 0.75rem;
  font-family: var(--hsp-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--hsp-stone);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-switcher__btn:hover {
  border-color: var(--hsp-olive);
  color: var(--hsp-olive-dark);
}
.lang-switcher__btn svg {
  opacity: 0.6;
}
.lang-switcher__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: #fff;
  border: 1px solid var(--hsp-cream-dark, #D5D0C0);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  min-width: 160px;
  max-height: 320px;
  overflow-y: auto;
  z-index: 100;
  padding: 0.375rem 0;
}
.lang-switcher.is-open .lang-switcher__dropdown {
  display: block;
}
.lang-switcher__dropdown ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lang-switcher__dropdown li {
  margin: 0;
}
.lang-switcher__dropdown a,
.lang-switcher__dropdown li a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--hsp-charcoal);
  text-decoration: none;
  transition: background 0.15s;
  white-space: nowrap;
}
.lang-switcher__dropdown a:hover,
.lang-switcher__dropdown li a:hover {
  background: var(--hsp-cream, #F5F0E8);
  color: var(--hsp-olive-dark);
}

/* Mobile: language switcher inside nav */
@media (max-width: 768px) {
  .lang-switcher {
    margin: 0.75rem 0 0;
    width: 100%;
  }
  .lang-switcher__btn {
    width: 100%;
    justify-content: center;
    padding: 0.5rem 1rem;
  }
  .lang-switcher__dropdown {
    position: static;
    box-shadow: none;
    border: 1px solid var(--hsp-cream-dark);
    border-radius: 6px;
    margin-top: 0.375rem;
    max-height: 200px;
  }
}
