/* Shared Fly2Balkan branding. Loaded on every template, after page styles. */
:root {
  --blue: #174d3c;
  --blue-dark: #123d30;
  --green: #78ad57;
  --green-dark: #376743;
  --color-primary: #214e36;
  --color-primary-dark: #143e30;
  --color-accent: #376743;
  --color-accent-dark: #214e36;
  --f2b-button: #214e36;
  --f2b-button-hover: #356647;
  --f2b-lime: #d0ed9d;
}

/* The outer header stays transparent; only the rounded menu is painted.
   Keep identical dimensions and decoration before and after scrolling. */
#siteHeader,
#siteHeader.scrolled {
  position: fixed;
  top: 0;
  padding: 22px 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.site-header > .container,
.f2b-footer > .container { width: min(1200px, calc(100% - 64px)); }
#siteHeader .nav-shell,
#siteHeader.scrolled .nav-shell {
  background: #0b302bf5;
  border: 1px solid #bad5b52c;
  border-radius: 16px;
  min-height: 70px;
  box-shadow: none;
  backdrop-filter: blur(14px);
  padding: 0 23px;
  max-width: none;
  margin: 0;
  gap: 18px;
}
#siteHeader .main-nav a { font-size: 16px; }
#siteHeader .nav-drop a,
#siteHeader .nav-mega a { font-size: 14px; }

/* A single destination panel, divided by country rather than boxed cards. */
#siteHeader .nav-shell { position: relative; }
#siteHeader .nav-mega {
  padding: 28px 10px;
  gap: 0;
  border: 1px solid #dce6df;
  border-top: 3px solid #87ab78;
  border-radius: 0 0 18px 18px;
  background: #fffefa;
  box-shadow: 0 24px 55px #092c2926;
}
#siteHeader .nav-mega__col {
  min-width: 0;
  padding: 0 22px;
  gap: 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
#siteHeader .nav-mega__col + .nav-mega__col { border-left: 1px solid #e3e9e2; }
#siteHeader .nav-mega__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  border: 0;
  color: #173f34;
  font-size: 16px;
  line-height: 1.4;
  text-transform: none;
  letter-spacing: -.025em;
  white-space: normal;
}
#siteHeader .nav-country-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 32px;
  width: 32px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}
/* WordPress may replace flag emoji with images on inner templates. */
#siteHeader .nav-country-flag img.emoji {
  width: 28px !important;
  height: 21px !important;
  margin: 0 !important;
  vertical-align: middle !important;
  object-fit: contain;
}
#siteHeader .nav-mega__heading:hover { color: #508044; }
#siteHeader .nav-mega__cities { flex: 1; gap: 2px; }
#siteHeader .nav-mega__cities > a:not(.view-all) {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 10px;
  border-radius: 6px;
  color: #53645c;
  font-weight: 500;
  line-height: 1.5;
  transition: color .2s, background .2s;
}
#siteHeader .nav-mega__cities > a:not(.view-all):is(:hover, :focus-visible) {
  padding: 7px 10px;
  background: #eef3e9;
  color: #174d3c;
}
#siteHeader .nav-mega a.view-all {
  align-self: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 9px 13px;
  border: 1px solid #d3e1cd;
  border-radius: 7px;
  background: #eef3e8;
  color: #214e36;
  font-size: 12px;
  line-height: 1.5;
  transition: color .2s, background .2s, border-color .2s;
}
#siteHeader .nav-mega a.view-all::after {
  content: '\2192';
  position: static;
  display: block;
  width: auto;
  height: auto;
  background: none;
  color: currentColor;
  font-size: 17px;
  line-height: 1;
}
#siteHeader .nav-mega a.view-all:is(:hover, :focus-visible) {
  background: #214e36;
  border-color: #214e36;
  color: #fff;
}
#siteHeader .nav-mega :is(a, button):focus-visible { outline-color: #376743; outline-offset: 2px; }
@media (min-width: 921px) {
  #siteHeader .nav__item.nav-has-mega { position: static; }
  #siteHeader .nav-mega {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 20px 10px;
    row-gap: 16px;
    align-items: stretch;
    width: min(1080px, calc(100vw - 64px));
    max-width: calc(100vw - 64px);
    min-width: 0;
    max-height: calc(100dvh - 112px);
    overflow-y: auto;
  }
  #siteHeader .nav-mega__col:nth-child(3n + 1) { border-left: 0; }
  #siteHeader .nav-mega__col:nth-child(n + 4) { padding-top: 16px; border-top: 1px solid #e3e9e2; }
  #siteHeader .nav-mega__heading { min-height: 36px; }
  #siteHeader .nav-mega__cities > a:not(.view-all),
  #siteHeader .nav-mega__cities > a:not(.view-all):is(:hover, :focus-visible) { min-height: 32px; padding: 4px 10px; }
  #siteHeader .nav-mega a.view-all { margin-top: 8px; padding: 7px 13px; }
}

/* Reusable action link, including the final link in destination columns. */
.view-all,
.nav-mega__col a.view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  margin-top: 8px;
  padding: 8px 16px;
  border: 1px solid var(--f2b-button);
  border-radius: 8px;
  background: var(--f2b-button);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: background .2s, border-color .2s;
}
.view-all:hover,
.nav-mega__col a.view-all:hover {
  padding: 8px 16px;
  background: var(--f2b-button-hover);
  border-color: var(--f2b-button-hover);
  color: #fff;
}
.view-all:focus-visible {
  outline: 2px solid var(--f2b-button);
  outline-offset: 3px;
}

#siteHeader .nav-icon {
  width: 40px;
  height: 40px;
  font-size: 16px;
  border-color: #ffffff30;
}

/* Primary actions use the forest green from the homepage cards. */
body :is(.btn-primary, .btn--primary, .btn--accent, .sidebar-apply, .inq-submit, .planner-footer .btn-next) {
  background: var(--f2b-button);
  border-color: var(--f2b-button);
  color: #fff;
  box-shadow: 0 10px 24px #143e3026;
}
body :is(.btn-primary, .btn--primary, .btn--accent, .sidebar-apply, .inq-submit, .planner-footer .btn-next):hover {
  background: var(--f2b-button-hover);
  border-color: var(--f2b-button-hover);
  color: #fff;
  box-shadow: 0 12px 28px #143e3033;
}
body .site-header .nav-actions .btn-primary {
  background: var(--f2b-lime);
  border-color: transparent;
  color: #183d2d;
  box-shadow: none;
  font-size: 15px;
  padding: 12px 18px;
  border-radius: 8px;
}
body .site-header .nav-actions .btn-primary:hover { background: #e0f3bd; }
body :is(.filter-pill.active, .country-btn.active) {
  background: var(--f2b-button);
  border-color: var(--f2b-button);
  color: #fff;
}
body :is(.filter-toggle-btn, .planner-footer .btn-back):hover {
  border-color: var(--f2b-button);
  color: var(--f2b-button);
}
body :is(.btn, .sidebar-apply, .inq-submit, .nav-icon, .menu-toggle):focus-visible {
  outline: 3px solid #78ad57;
  outline-offset: 4px;
}
.site-header :is(a, button):focus-visible,
.f2b-footer a:focus-visible { outline: 2px solid var(--f2b-lime); outline-offset: 4px; }


@media (min-width: 1450px) {
  .site-header > .container, .f2b-footer > .container { width: min(1280px, calc(100% - 96px)); }
}
@media (max-width: 1050px) {
  .site-header > .container, .f2b-footer > .container { width: calc(100% - 40px); }
}
@media (max-width: 920px) {
  body.mobile-nav-open { overflow: hidden; }
  #siteHeader, #siteHeader.scrolled { padding: 14px 0; }
  body.admin-bar #siteHeader { top: 32px; }
  #siteHeader .nav-shell { position: relative; gap: 12px; }
  #siteHeader .logo { min-width: 0; }
  #siteHeader .logo__image { width: 164px; max-width: 100%; height: auto; }
  #siteHeader .nav-actions { flex-shrink: 0; gap: 8px; }
  #siteHeader .menu-toggle {
    position: relative;
    z-index: 2;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    touch-action: manipulation;
  }
  #siteHeader :is(.menu-toggle, .nav-country-toggle) { -webkit-tap-highlight-color: transparent; }
  #siteHeader .main-nav {
    border-radius: 20px;
    padding: 10px;
    background: #fffefa;
    border-color: #d8e4ce;
    box-shadow: 0 24px 55px #082d2b33;
    scrollbar-width: thin;
    scrollbar-color: #9fb69d #fffefa;
  }
  #siteHeader .main-nav > ul { align-items: stretch; gap: 0; }
  #siteHeader .main-nav > ul > li + li { border-top: 1px solid #e8eee8; }
  #siteHeader .main-nav > ul > li > a {
    display: flex;
    align-items: center;
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #173d30;
  }
  #siteHeader .main-nav a::after { display: none; }
  #siteHeader .main-nav > ul > li > a:hover,
  #siteHeader .nav__item.is-open > a { background: #e7efdc; }
  #siteHeader .nav__item.is-open > .nav-mega-toggle { background: #1c4c3b; color: #eff8df; }
  #siteHeader .nav-drop {
    margin: 0 0 8px;
    padding: 8px;
    background: #f5f8f2;
    border: 0;
    border-radius: 12px;
  }
  #siteHeader .nav-mega {
    margin: 0 10px 10px;
    padding: 0;
    width: auto;
    border: 0;
    border-radius: 0;
    gap: 0;
    background: transparent;
    box-shadow: none;
  }
  #siteHeader .nav-drop { flex-direction: column; gap: 4px; }
  #siteHeader .nav-mega__col { padding: 8px 0; gap: 0; }
  #siteHeader .nav-mega__col + .nav-mega__col { border-left: 0; border-top: 1px solid #e3e9e2; }
  #siteHeader .nav-mega__heading { font-size: 14px; }
  #siteHeader .nav-country-flag { flex-basis: 28px; width: 28px; font-size: 24px; }
  #siteHeader .nav-mega__country { gap: 10px; }
  #siteHeader .nav-country-toggle {
    border-color: transparent;
    background: #eef3e9;
    color: #376743;
    border-radius: 10px;
  }
  #siteHeader .nav-country-toggle:is(:hover, [aria-expanded="true"]) {
    background: #214e36;
    color: #fff;
  }
  #siteHeader .nav-mega__heading { text-transform: none; letter-spacing: 0; line-height: 1.5; }
  #siteHeader .nav-mega__cities { gap: 2px; padding: 0 0 10px 12px; margin-left: 13px; border-left: 1px solid #dce6d7; }
  #siteHeader .nav-mega__cities > a:not(.view-all),
  #siteHeader .nav-drop > a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 12px;
    font-weight: 600;
    border-radius: 8px;
  }
  #siteHeader .nav-mega__cities > a:not(.view-all):hover { background: #eef3e9; }
  #siteHeader .nav-drop > a:hover { background: #e5eedc; }
  #siteHeader .main-nav :is(a, button):focus-visible { outline-color: #376743; outline-offset: 2px; }
}
@media (max-width: 782px) {
  body.admin-bar #siteHeader { top: 46px; }
}
@media (max-width: 760px) {
  .site-header > .container, .f2b-footer > .container { width: calc(100% - 36px); }
}
@media (max-width: 480px) {
  #siteHeader .nav-shell, #siteHeader.scrolled .nav-shell { padding: 0 15px; }
  #siteHeader .nav-icon { display: none; }
}

@media (min-width: 921px) and (max-width: 1150px) {
  #siteHeader .main-nav > ul { gap: 14px; }
  #siteHeader .nav-actions { gap: 8px; }
  #siteHeader .nav-icon { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #siteHeader { transition: none; }
  #siteHeader .menu-toggle__icon path,
  #siteHeader .nav-country-toggle svg { transition: none; }
}

/* Plugin city guides centre their hero content; keep the breadcrumb clear of the fixed menu. */
body .cg-hero { padding-top: 92px !important; }


/* Sticky state: once the page scrolls (main.js adds .scrolled) the rounded menu
   becomes a full-width bar in the same green, about 10% smaller. */
#siteHeader { transition: padding .3s ease, background-color .3s ease, box-shadow .3s ease; }
#siteHeader .nav-shell { transition: min-height .3s ease, border-radius .3s ease, background-color .3s ease; }
#siteHeader .logo__image,
#siteHeader .nav-icon,
#siteHeader .nav-actions .btn-primary { transition: width .3s ease, height .3s ease, padding .3s ease, font-size .3s ease; }
#siteHeader.scrolled {
  padding: 0;
  background: #0b302bf5;
  border-bottom: 1px solid #bad5b52c;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px #04201c33;
}
#siteHeader.scrolled .nav-shell {
  min-height: 63px;
  background: transparent;
  border-color: transparent;
  border-radius: 0;
  backdrop-filter: none;
  padding: 0 21px;
}
#siteHeader.scrolled .logo--image .logo__image { width: 148px; height: 45px; }
#siteHeader.scrolled .main-nav > ul > li > a { font-size: 14.4px; }
#siteHeader.scrolled .nav-icon { width: 36px; height: 36px; font-size: 14px; }
#siteHeader.scrolled .nav-actions .btn-primary { font-size: 13.5px; padding: 11px 16px; }
@media (max-width: 920px) {
  #siteHeader.scrolled { padding: 0; }
  #siteHeader.scrolled .nav-shell { min-height: 60px; padding: 0 15px; }
  #siteHeader.scrolled .menu-toggle { width: 40px; height: 40px; flex-basis: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  #siteHeader, #siteHeader .nav-shell, #siteHeader .logo__image, #siteHeader .nav-icon, #siteHeader .nav-actions .btn-primary { transition: none; }
}

/* "Powered by AvioExpress" badge on the right of the menu, wide screens only. */
#siteHeader .nav-powered {
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-right: 6px;
  padding-right: 16px;
  border-right: 1px solid #ffffff26;
  text-decoration: none;
}
#siteHeader .nav-powered span {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  line-height: 1;
  color: #a9c39e;
}
#siteHeader .nav-powered img {
  display: block;
  width: 92px;
  height: 29px;
  border-radius: 4px;
  background: #fff;
  transition: width .3s ease, height .3s ease, transform .2s ease;
}
#siteHeader .nav-powered:hover img { transform: translateY(-1px); }
#siteHeader .nav-powered:hover span { color: #e2f3bc; }
#siteHeader.scrolled .nav-powered img { width: 83px; height: 26px; }
@media (min-width: 1200px) {
  #siteHeader .nav-powered { display: flex; }
}

/* Keep the full desktop menu on one line, including Religious Tourism. */
@media (min-width: 921px) {
  #siteHeader > .container { width: min(1600px, calc(100% - 48px)); }
  #siteHeader .nav-shell { gap: clamp(10px, 1.2vw, 22px); padding-inline: clamp(14px, 1.5vw, 26px); }
  #siteHeader .logo, #siteHeader .nav-actions { flex-shrink: 0; }
  #siteHeader .main-nav > ul { gap: clamp(12px, 1.35vw, 24px); }
  #siteHeader .main-nav > ul > li > a,
  #siteHeader.scrolled .main-nav > ul > li > a { font-size: clamp(13px, 1.05vw, 16px); white-space: nowrap; }
  #siteHeader .nav-actions { gap: clamp(8px, .8vw, 12px); }
  #siteHeader .nav-actions .btn-primary { white-space: nowrap; font-size: clamp(13px, 1vw, 15px); padding: 13px 18px; }
}
@media (min-width: 921px) and (max-width: 1199px) {
  #siteHeader > .container { width: calc(100% - 24px); }
  #siteHeader .logo--image .logo__image { width: 130px; height: 42px; }
  #siteHeader .nav-shell, #siteHeader.scrolled .nav-shell { gap: 10px; padding-inline: 12px; }
  #siteHeader .main-nav > ul { gap: 11px; }
  #siteHeader .main-nav > ul > li > a, #siteHeader.scrolled .main-nav > ul > li > a { font-size: 12px; }
  #siteHeader .nav-icon { width: 32px; height: 32px; }
  #siteHeader .nav-actions .btn-primary { font-size: 12px; padding: 11px 12px; }
}

/* ── Site footer ─────────────────────────────────────────────────────────── */
.f2b-footer {
  position: relative;
  overflow: hidden;
  padding: 72px 0 0;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, #2a6a4a59 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 0% 100%, #78ad5726 0%, transparent 70%),
    linear-gradient(180deg, #113b2c 0%, #0b2c24 100%);
  color: #c3d3b9;
  font-family: 'Inter', sans-serif;
}
.f2b-footer a { color: inherit; text-decoration: none; transition: color .2s ease; }
.f2b-footer a:hover { color: #e2f3bc; }
.f2b-footer ul { margin: 0; padding: 0; list-style: none; }

.f2b-footer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 34px 40px;
  border: 1px solid #bad5b52c;
  border-radius: 22px;
  background: linear-gradient(120deg, #1a4d39 0%, #143e30 60%, #10372b 100%);
  box-shadow: 0 24px 50px #04201c40;
}
.f2b-footer__kicker {
  display: block;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--f2b-lime);
}
.f2b-footer .f2b-footer__cta-title {
  margin: 0;
  text-transform: none;
  max-width: 560px;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.03em;
  color: #f3fae9;
}
.f2b-footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.f2b-footer__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: var(--f2b-lime);
  color: #183d2d !important;
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
}
.f2b-footer__btn:hover { background: #e0f3bd; }
.f2b-footer__btn--ghost {
  background: transparent;
  border-color: #ffffff38;
  color: #eef6e3 !important;
  font-weight: 700;
}
.f2b-footer__btn--ghost:hover { background: #ffffff12; border-color: #ffffff66; }

.f2b-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 60px 0 48px;
}
.f2b-footer__logo { display: inline-block; margin-bottom: 18px; }
.f2b-footer__logo img { display: block; width: 164px; height: 50px; object-fit: contain; }
.f2b-footer__brand p { margin: 0; max-width: 300px; font-size: 14px; line-height: 1.75; color: #aac0a2; }
.f2b-footer__social { display: flex; gap: 10px; margin-top: 22px; }
.f2b-footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  font-size: 15px;
}
.f2b-footer__social a:hover { background: var(--f2b-lime); border-color: var(--f2b-lime); color: #183d2d; }
.f2b-footer h2 {
  margin: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #d2e6b8;
}
.f2b-footer__col li { margin: 0 0 12px; font-size: 14px; }
.f2b-footer__cities { display: grid; grid-template-columns: 1fr 1fr; column-gap: 20px; }
.f2b-footer__contact li { display: flex; align-items: baseline; gap: 12px; }
.f2b-footer__contact i { width: 14px; flex-shrink: 0; color: #87ab78; font-size: 13px; }

.f2b-footer__partner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  border-top: 1px solid #ffffff1c;
}
.f2b-footer__partner-logo { display: inline-flex; align-items: center; gap: 14px; }
.f2b-footer__partner-logo span {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #8fad85;
}
.f2b-footer__partner-logo img {
  display: block;
  width: 146px;
  height: 46px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 18px #04201c4d;
  transition: transform .2s ease;
}
.f2b-footer__partner-logo:hover img { transform: translateY(-2px); }
.f2b-footer__partner p { margin: 0; font-size: 13px; color: #aac0a2; text-align: right; }
.f2b-footer__partner p a { color: #e2f3bc; font-weight: 700; }

.f2b-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0 26px;
  border-top: 1px solid #ffffff1c;
  font-size: 12px;
  color: #8fad85;
}
.f2b-footer__bottom a { color: #d2e6b8; font-weight: 700; }
.f2b-footer__top { font-weight: 600 !important; color: #8fad85 !important; }
.f2b-footer__top:hover { color: #e2f3bc !important; }

@media (max-width: 1050px) {
  .f2b-footer__cta { flex-direction: column; align-items: flex-start; }
  .f2b-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
}
@media (max-width: 640px) {
  .f2b-footer { padding-top: 48px; }
  .f2b-footer__cta { padding: 26px 22px; border-radius: 18px; }
  .f2b-footer__cta-actions, .f2b-footer__btn { width: 100%; }
  .f2b-footer__btn { justify-content: center; }
  .f2b-footer__grid { padding: 44px 0 36px; gap: 34px 22px; }
  .f2b-footer__brand { grid-column: 1 / -1; }
  .f2b-footer__partner { flex-direction: column; align-items: flex-start; }
  .f2b-footer__partner p { text-align: left; }
  .f2b-footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .f2b-footer__top { order: 3; }
}
@media (max-width: 400px) {
  .f2b-footer__grid { grid-template-columns: 1fr; }
}

/* ── Header search: a simple panel under the menu, results grouped by type ── */
#siteHeader .nav-search-toggle { display: grid; }
body.site-search-open #siteHeader .nav-search-toggle { background: #ffffff2e; }
.site-search {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(560px, 100%);
  max-height: calc(100vh - 130px);
  max-height: calc(100dvh - 130px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px #092c2933;
  color: #17392c;
  z-index: 5;
}
.site-search[hidden] { display: none; }
.site-search .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.site-search__form {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid #edf1ea;
}
.site-search__icon {
  position: absolute;
  left: 20px;
  color: #8a988e;
  pointer-events: none;
}
.site-search__input {
  width: 100%;
  height: 58px;
  padding: 0 56px 0 50px;
  border: 0;
  background: transparent;
  color: #17392c;
  font: 400 17px/1.2 Inter, system-ui, sans-serif;
  appearance: none;
}
.site-search__input::placeholder { color: #8a988e; }
.site-search__input::-webkit-search-cancel-button { display: none; }
.site-search__input:focus { outline: none; }
.site-search__close {
  position: absolute;
  right: 10px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #8a988e;
  font-size: 16px;
  cursor: pointer;
}
.site-search__close:hover { background: #f3f6f1; color: #17392c; }
#siteHeader .site-search :is(a, button):focus-visible { outline: 2px solid #376743; outline-offset: -2px; }
.site-search.is-loading .site-search__icon { animation: site-search-pulse 1s ease-in-out infinite; }
@keyframes site-search-pulse { 50% { opacity: .35; } }

.site-search__results:not(:empty) { padding: 12px 8px; }
.site-search__group-title {
  margin: 10px 12px 4px;
  color: #8a988e;
  font: 600 11px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-search__list { margin: 0; padding: 0; list-style: none; }
#siteHeader .site-search__item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 12px;
  border-radius: 8px;
  color: #17392c;
  font-size: 15px;
}
#siteHeader .site-search__item::after { content: none; }
.site-search__item:hover,
.site-search__item:focus-visible { background: #f3f6f1; }
.site-search__thumb {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f4ed;
  color: #a9b8ad;
  font-size: 14px;
}
.site-search__thumb img { width: 100%; height: 100%; object-fit: cover; }
.site-search__title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#siteHeader .site-search__all {
  display: block;
  margin: 8px 4px 0;
  padding: 10px 8px 0;
  border-top: 1px solid #edf1ea;
  color: #376743;
  font-size: 14px;
  font-weight: 600;
}
#siteHeader .site-search__all:hover { color: #17392c; }
.site-search__message { margin: 0; padding: 12px; color: #68796c; font-size: 15px; }

@media (max-width: 760px) {
  .site-search { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-search.is-loading .site-search__icon { animation: none; }
}

/* ── Search results page: image + title cards grouped by type ── */
.search-results .search-form { max-width: 640px; margin: 0 0 40px; }
.search-group + .search-group { margin-top: 48px; }
.search-group__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.search-group__head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: #17392c;
  font-size: 24px;
}
.search-group__head h2 i { color: #78ad57; font-size: 18px; }
.search-group__head h2 span {
  padding: 3px 9px;
  border-radius: 99px;
  background: #eef3ea;
  color: #53665a;
  font-size: 13px;
}
.search-group__head a { color: #214e36; font-weight: 700; white-space: nowrap; }
.search-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.search-card { display: block; color: #17392c; }
.search-card__image {
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 14px;
  background: #e5eedc;
  color: #78ad57;
  font-size: 30px;
}
.search-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.search-card:hover .search-card__image img { transform: scale(1.04); }
.search-card__title { display: block; margin-top: 10px; font-size: 16px; font-weight: 700; line-height: 1.35; }
.search-card:hover .search-card__title { color: #376743; }
.search-results .pagination { margin-top: 40px; }
@media (max-width: 480px) {
  .search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .search-card__title { font-size: 14px; }
  .search-group__head h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .search-card__image img { transition: none; }
}

/* Compact desktop action; the mobile menu carries its own final action. */
#siteHeader .nav-actions .btn-primary,
#siteHeader.scrolled .nav-actions .btn-primary { font-size:12px; padding:9px 13px; min-height:40px; }
#siteHeader .main-nav .nav-mobile-trip { display:none; }
@media (max-width:920px) {
  #siteHeader .main-nav .nav-mobile-trip { display:block; padding-top:10px; margin-top:6px; }
  #siteHeader .main-nav .nav-mobile-trip > a { display:flex; justify-content:space-between; min-height:46px; background:#d0ed9d; color:#173f34; font-size:14px; font-weight:800; }
  #siteHeader .main-nav .nav-mobile-trip > a:hover { background:#e0f3bd; }
}
