/* ===== header-editorial ===== */
/* All layout and typography rules belong to the header only. */
.editorial-topbar { display: none !important; }
.site-header.editorial-header {
  --header-height: 68px;
  --floating-admin-offset: 0px;
  --floating-promo-space: 64px;
  position: sticky;
  top: calc(var(--floating-admin-offset) - 50px) !important;
  height: 144px;
  width: auto;
  margin: 24px clamp(16px, 2.5vw, 48px) 0;
  left: auto;
  right: auto;
  z-index: 1001;
  background: transparent;
  font-family: 'Inter', sans-serif;
  color: #141414;
  pointer-events: none;
  transition: none;
}
body.home .site-header.editorial-header {
  position: fixed;
  left: clamp(16px, 2.5vw, 48px);
  right: clamp(16px, 2.5vw, 48px);
  top: calc(var(--floating-admin-offset) + 24px - var(--floating-scroll-shift, 0px)) !important;
  margin: 0;
}
.site-header.editorial-header:not(:has(> .machu-announcement)) {
  --floating-promo-space: 0px;
  height: 80px;
  top: var(--floating-admin-offset) !important;
}
body.home .site-header.editorial-header:not(:has(> .machu-announcement)) {
  top: calc(var(--floating-admin-offset) + 24px - var(--floating-scroll-shift, 0px)) !important;
}
.editorial-header #menu {
  position: relative;
  background: #fff !important;
  border: 1px solid rgba(17,24,39,.08);
  border-top: 2px solid #ef2940;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(0,0,0,.05);
  backdrop-filter: none;
  overflow: visible;
  pointer-events: auto;
}
.editorial-header #menu *, .editorial-header #menu *::before, .editorial-header #menu *::after {
  font-family: 'Inter', sans-serif;
  border-radius: 0 !important;
}
.editorial-header #menu .menu-container {
  display: flex !important;
  position: relative;
  align-items: center;
  justify-content: space-between;
  gap: 24px !important;
  width: 100%;
  max-width: none;
  min-width: 0;
  height: calc(var(--header-height) - 3px);
  padding: 0 28px !important;
  margin: 0;
  background: transparent !important;
  transition: height 200ms ease;
}
.editorial-header #menu .menu-mobile { display: none !important; }
.editorial-header #menu .site-home-brand {
  display: flex !important; flex: 0 0 auto; margin: 0;
  padding-right: 28px; position: relative;
}
.editorial-header #menu .site-home-brand::after {
  content: ''; position: absolute; right: 0; top: 50%;
  width: 1px; height: 32px; background: #e5e7eb; transform: translateY(-50%);
}
.editorial-header #menu .site-home-brand .logo_header { width: 250px; }
.editorial-header #menu .custom-logo-link { display: block; position: relative; }
.editorial-header #menu .site-home-brand img {
  display: block; width: 250px; max-width: 100%; height: auto; max-height: 50px; object-fit: contain;
}
.editorial-header #menu .custom-logo-link img { filter: none; background: transparent; }
/* Recolor only the existing transparent logo, without recreating its artwork. */
.editorial-header #menu .editorial-logo::before,
.editorial-header #menu .editorial-logo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: var(--editorial-logo) center / 100% 100% no-repeat;
  mask: var(--editorial-logo) center / 100% 100% no-repeat;
}
.editorial-header #menu .editorial-logo::before {
  background: #ef2940;
  clip-path: polygon(0 0,39% 0,39% 60%,100% 60%,100% 100%,0 100%);
}
.editorial-header #menu .editorial-logo::after {
  background: #141414;
  clip-path: polygon(39% 0,100% 0,100% 60%,39% 60%);
}
@supports (mask-image: url('')) {
  .editorial-header #menu .editorial-logo img { opacity: 0 !important; }
}
.editorial-header #menu .menu-content { display: block !important; flex: 1 1 auto; min-width: 0; width: auto; }
.editorial-header #menu .menu-content-items {
  display: flex !important; align-items: center; justify-content: center;
  flex-wrap: nowrap; gap: clamp(24px, 1.65vw, 32px);
  position: static !important; width: 100% !important; max-width: none !important;
  height: auto !important; max-height: none !important;
  padding: 0 !important; margin: 0 !important;
  background: #fff !important; box-shadow: none;
  overflow: visible !important; transform: none !important;
}
.editorial-header #menu .menu-content-items > li { position: static; }
.editorial-header #menu .menu-content-items a {
  color: #141414 !important; font-size: 14px !important; font-weight: 500;
  line-height: 1.4 !important; letter-spacing: -.2px !important;
  text-transform: none !important; border-radius: 0;
  transition: color 200ms ease, background-color 200ms ease !important;
}
.editorial-header #menu .menu-content-items > li > a {
  display: flex; align-items: center; gap: 6px; position: relative;
  font-weight: 650; text-transform: uppercase !important;
  padding: 12px 0 !important; margin: 0;
  white-space: nowrap !important; background: transparent !important;
  border: 0; border-bottom: 2px solid transparent;
}
.editorial-header #menu .menu-content-items > li > a::before { content: none; }
.editorial-header #menu .menu-content-items > li > a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: #ef2940; transform: scaleX(0); transform-origin: left;
  transition: transform 200ms ease;
}
.editorial-header #menu .menu-content-items > li > a:hover,
.editorial-header #menu .menu-content-items > li > a[aria-expanded='true'] { color: #ef2940 !important; }
.editorial-header #menu .menu-content-items > li > a:hover::after,
.editorial-header #menu .menu-content-items > li > a:focus-visible::after,
.editorial-header #menu .menu-content-items > :is(.current-menu-item,.current-menu-ancestor,.current_page_item,.active,.active-parent,.active-ancestor) > a::after { transform: scaleX(1); }
.editorial-header #menu .editorial-chevron { width: 11px; height: 11px; flex: 0 0 11px; transition: transform 200ms ease; }
.editorial-header #menu a[aria-expanded='true'] .editorial-chevron { transform: rotate(180deg); }
.editorial-header #menu .__submenu {
  background: #fff !important; color: #141414; border: 1px solid #e8e8e8 !important;
  border-radius: 0 !important; box-shadow: none !important;
  top: calc(100% - 1px); left: 0; right: 0; width: auto; max-width: none;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease !important;
}
.editorial-header #menu .__submenu a {
  padding: 10px 12px !important; font-weight: 500;
  background: transparent !important; background-image: none !important; box-shadow: none !important;
  border-color: #e8e8e8 !important; white-space: normal !important;
}
.editorial-header #menu .__submenu a:hover { color: #ef2940 !important; background: #f8f8f8 !important; }
.editorial-header #menu .sub-menu-content-row { padding: 20px !important; }
.editorial-header #menu .site-home-tools,
.editorial-header #menu .menu-bars-lang { display: none !important; }
.editorial-header #menu .header-trip {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; gap: 10px; min-height: 46px; padding: 12px 20px;
  border-radius: 0; background: #ef2940; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .3px; line-height: 1.4;
  text-decoration: none; white-space: nowrap; transition: background-color 200ms ease;
}
.editorial-header #menu .header-trip:hover { background: #d01f34; }
.editorial-header #menu .header-trip svg { width: 16px; height: 16px; flex: 0 0 16px; }
.editorial-header #menu :is(a,button):focus-visible { outline: 2px solid #ef2940; outline-offset: 3px; }
.editorial-header #menu .header-trip:focus-visible { outline-color: #141414; }
@media (min-width: 1360px) and (max-width: 1599px) {
  .editorial-header #menu .menu-container { padding: 0 24px !important; gap: 16px !important; }
  .editorial-header #menu .site-home-brand { padding-right: 24px; }
  .editorial-header #menu .site-home-brand .logo_header,
  .editorial-header #menu .site-home-brand img { width: 230px; }
  .editorial-header #menu .menu-content-items { gap: 18px; }
  .editorial-header #menu .menu-content-items > li > a { font-size: 13px !important; }
  .editorial-header #menu .header-trip { padding-inline: 16px; gap: 8px; font-size: 11px; }
}
@media (max-width: 1359px) {
  .site-header.editorial-header { --header-height: 68px; height: 136px; }
  .editorial-header #menu .menu-container { padding: 0 20px !important; gap: 16px !important; }
  .editorial-header #menu .site-home-brand { display: none !important; }
  .editorial-header #menu .menu-mobile {
    display: flex !important; align-items: center; gap: 14px !important;
    width: auto !important; padding: 0 !important; flex: 1 1 auto; min-width: 0;
  }
  .editorial-header #menu .menu-bars { display: flex !important; }
  .editorial-header #menu .nav-button-mobile {
    display: grid; place-items: center; width: 36px; height: 44px;
    padding: 0; border: 0; background: transparent; color: #141414; font-size: 26px;
  }
  .editorial-header #menu #logo { display: block !important; margin: 0; min-width: 0; }
  .editorial-header #menu #logo img {
    position: static !important; width: 220px !important; max-width: 100% !important;
    height: auto !important; max-height: 48px !important;
  }
  .editorial-header #menu .menu-content {
    position: absolute; inset: calc(100% + 1px) 0 auto; width: 100%;
  }
  .editorial-header #menu .menu-content-items {
    display: none !important; padding: 12px 24px !important;
    max-height: var(--floating-menu-room, 60dvh) !important;
    overflow: auto !important; overflow-x: hidden !important; border: 1px solid #e8e8e8;
    border-radius: 0; box-shadow: none;
  }
  .editorial-header #menu .menu-content-items.menu-content-items-open { display: block !important; }
  .editorial-header #menu .menu-content-items > li > a { padding: 14px 0 !important; justify-content: space-between; }
  .editorial-header #menu .__submenu {
    display: none; position: static; opacity: 1; visibility: visible;
    height: auto; transform: none; box-shadow: none !important; width: 100%;
  }
  .editorial-header #menu .__submenu.block { display: block; }
  .editorial-header #menu .sub-menu-content-row { display: block; padding: 8px !important; }
  .editorial-header #menu .sub-menu-content-row .toggle-content-items { width: 100%; padding: 0; }
}
@media (max-width: 767px) {
  .site-header.editorial-header { --header-height: 64px; margin-inline: 12px; height: 128px; }
  body.home .site-header.editorial-header { left: 12px; right: 12px; margin: 0; }
  .editorial-header #menu .menu-container { padding: 0 12px !important; gap: 8px !important; }
  .editorial-header #menu .menu-mobile { gap: 6px !important; }
  .editorial-header #menu #logo img { width: 175px !important; max-height: 40px !important; }
  .editorial-header #menu .header-trip { min-height: 44px; padding: 0 10px; gap: 0; }
  .editorial-header #menu .header-trip span,
  .editorial-header #menu .header-trip .header-trip-arrow { display: none; }
  .editorial-header #menu .header-trip svg { width: 22px; height: 22px; flex-basis: 22px; }
  .editorial-header #menu .menu-content-items { padding: 8px 16px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-header #menu *, .editorial-header #menu *::after { transition: none !important; }
}

/* Fill the viewport behind the navbar while scrolling, keeping its contents aligned. */
.site-header.editorial-header { --header-outer-gutter: clamp(16px, 2.5vw, 48px); }
.editorial-header #menu { isolation: isolate; }
.editorial-header.is-scrolled #menu::before {
  content: '';
  position: absolute;
  top: -2px;
  bottom: -1px;
  left: calc(-1 * var(--header-outer-gutter));
  right: calc(-1 * var(--header-outer-gutter));
  z-index: -1;
  pointer-events: none;
  background: #ffffff;
  border-top: 2px solid #ef2940;
  border-bottom: 1px solid rgba(17,24,39,.08);
}
@media (max-width: 767px) {
  .site-header.editorial-header { --header-outer-gutter: 12px; }
}

/* ===== dropdown-editorial ===== */
/* Simple single-column lists; existing nested categories alone use a wide panel. */
.editorial-header #menu .editorial-dropdown {
  width: min(var(--dropdown-width, 400px), calc(100vw - 64px)) !important;
  min-width: 0 !important;
  max-width: none !important;
  left: var(--dropdown-left, 0px) !important;
  right: auto !important;
  top: calc(100% - 1px);
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #e8e8e8 !important;
  border-top: 2px solid #ef2940 !important;
  border-radius: 0 !important;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(17,24,39,.06) !important;
  max-height: var(--dropdown-room, 72vh);
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease !important;
}
.editorial-header #menu .editorial-dropdown-wide { width: min(var(--dropdown-width, 1040px), calc(100vw - 64px)) !important; }
.editorial-header #menu .editorial-dropdown.block { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
.editorial-header #menu .editorial-dropdown .sub-menu-content { background: #fff; }
.editorial-header #menu .editorial-dropdown .sub-menu-content-row {
  display: block !important;
  list-style: none;
  padding: 8px 16px !important;
  margin: 0;
}
.editorial-header #menu .editorial-dropdown .sub-menu-content-row > li {
  display: block;
  width: auto !important;
  min-width: 0;
  padding: 0 !important;
  margin: 0;
  list-style: none;
}
.editorial-header #menu .editorial-dropdown .sub-sub-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.editorial-header #menu .editorial-dropdown a {
  display: block !important;
  position: relative;
  min-height: 36px;
  margin: 0 !important;
  padding: 11px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #344047 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: normal !important;
  text-decoration: none;
  transform: none !important;
  transition: background-color 160ms ease, color 160ms ease !important;
}
.editorial-header #menu .editorial-dropdown a:hover,
.editorial-header #menu .editorial-dropdown a:focus-visible {
  color: #df2037 !important;
  background: #fff3f5 !important;
  background-image: none !important;
}
.editorial-header #menu .editorial-dropdown a:is(:hover,:focus-visible)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  background: #ef2940;
}
.editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 20px;
  padding: 20px !important;
}
.editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row > .toggle-content-items > a {
  min-height: 0;
  margin: 0 0 8px !important;
  padding: 5px 10px 11px !important;
  border-left: 2px solid #ef2940 !important;
  border-bottom: 1px solid #e8e8e8 !important;
  background: transparent !important;
  color: #202a2e !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
  letter-spacing: .06em !important;
  text-transform: uppercase !important;
}
.editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row > .toggle-content-items > a::before { content: none; }
.editorial-header #menu .editorial-dropdown .dropdown-badge {
  display: inline-block;
  vertical-align: middle;
  margin-left: 5px;
  padding: 3px 5px;
  border: 1px solid transparent;
  border-radius: 0;
  background: #ef2940;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}
.editorial-header #menu .editorial-dropdown .dropdown-badge--guide { background: #f2f4f5; color: #647078; border-color: #e5e8ea; }
.editorial-header #menu .editorial-dropdown .dropdown-badge--planning { background: #fff; color: #df2037; border-color: #f8bec6; }
.editorial-header #menu .editorial-dropdown .dropdown-badge--featured { background: #202a2e; color: #fff; }
/* Suppress the old automatic badge so a link never gets two labels. */
.editorial-header #menu .editorial-dropdown .top_tours a::after { display: none; }
/* Quiet rules separate choices without enclosing every link in a box. */
.editorial-header #menu .editorial-dropdown:not(.editorial-dropdown-wide) .sub-menu-content-row > li + li { border-top: 1px solid #edf0f1; }
.editorial-header #menu .editorial-dropdown .sub-sub-menu > li + li { border-top: 1px solid #f0f1f2; }
.editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row > .toggle-content-items + .toggle-content-items { border-left: 1px solid #e8e8e8; padding-left: 20px !important; }
.editorial-header #menu .editorial-dropdown a:is(:hover,:focus-visible) { background: #fff6f7 !important; }
.editorial-header #menu .editorial-dropdown a[aria-current="page"] { color: #df2037 !important; background: #fff6f7 !important; }
@media (max-width: 1359px) {
  .editorial-header #menu .editorial-dropdown {
    position: static;
    width: 100% !important;
    max-height: none;
    margin: 0 0 10px !important;
    box-shadow: none !important;
    transform: none;
  }
  .editorial-header #menu .editorial-dropdown .sub-menu-content-row { padding: 8px !important; }
  .editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 16px 10px !important; }
  .editorial-header #menu .editorial-dropdown a { padding-block: 11px !important; }
  .editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row > .toggle-content-items + .toggle-content-items { border-left: 0; padding-left: 0 !important; }
}
@media (max-width: 640px) {
  .editorial-header #menu .editorial-dropdown-wide .sub-menu-content-row { grid-template-columns: minmax(0,1fr); gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .editorial-header #menu .editorial-dropdown,
  .editorial-header #menu .editorial-dropdown * { transition: none !important; }
}

/* ===== announcement-bar ===== */
/* Compact full-width top bar, balanced around its centered message. */
.site-header.editorial-header:has(> .machu-announcement) {
  --announcement-side: clamp(16px, 2.5vw, 48px);
  --announcement-height: 36px;
  --announcement-gap: 6px;
  --reserved-nav-height: 68px;
  --floating-promo-space: calc(var(--announcement-height) + var(--announcement-gap));
  --floating-stop: var(--floating-promo-space);
  top: calc(var(--floating-admin-offset) - var(--floating-stop)) !important;
  margin-top: 0;
  height: calc(var(--reserved-nav-height) + var(--floating-promo-space));
}
body.home .site-header.editorial-header:has(> .machu-announcement) {
  top: calc(var(--floating-admin-offset) - var(--floating-scroll-shift, 0px)) !important;
}
.editorial-header > .machu-announcement {
  position: relative;
  z-index: 2;
  width: calc(100% + var(--announcement-side) * 2);
  min-height: 36px;
  margin: 0 calc(-1 * var(--announcement-side)) var(--announcement-gap);
  border: 0;
  border-radius: 0;
  background: #141414;
  color: var(--announcement-text, #fff);
  box-shadow: none;
  font-family: 'Inter', sans-serif;
  pointer-events: auto;
}
.machu-announcement__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 36px;
  padding: 0 24px;
}
.machu-announcement__spacer { display: none; }
.machu-announcement__center {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-width: 0;
}
.machu-announcement__message {
  min-width: 0;
  color: inherit;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .1px;
  text-align: center;
}
.machu-announcement .machu-announcement__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--announcement-text, #fff);
  font: 650 12px/1.4 'Inter', sans-serif;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}
.machu-announcement__cta > span {
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: #ef2940;
  text-underline-offset: 4px;
  transition: text-decoration-color 200ms ease;
}
.machu-announcement .machu-announcement__cta:hover > span { text-decoration-color: #ef2940; }
.machu-announcement__cta svg { flex: 0 0 16px; transition: transform 200ms ease; }
.machu-announcement__cta:hover svg { transform: translateX(3px); }
.machu-announcement__cta:focus-visible { outline: 2px solid #fff; outline-offset: -2px; }
.editorial-header.promo-out > .machu-announcement { visibility: hidden; pointer-events: none; }
@media (max-width: 1359px) {
  .site-header.editorial-header:has(> .machu-announcement) { --reserved-nav-height: 68px; }
}
@media (max-width: 767px) {
  .site-header.editorial-header:has(> .machu-announcement) { --announcement-side: 12px; --reserved-nav-height: 64px; }
  .machu-announcement__inner { padding-inline: 12px; gap: 8px; }
  .machu-announcement__spacer { display: none; }
  .machu-announcement__center { flex: 1 1 auto; align-items: center; }
  .machu-announcement__message { font-size: 11px; padding-block: 4px; }
  .machu-announcement .machu-announcement__cta { font-size: 11px; gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .machu-announcement__cta > span,
  .machu-announcement__cta svg { transition: none; }
  .machu-announcement__cta:hover svg { transform: none; }
}

/* ===== header-internal ===== */
/* Integrated navigation for articles, tours and their archives; homepage stays floating. */
.site-header.editorial-header.site-header-internal {
  width: 100%;
  margin: 0;
  left: auto;
  right: auto;
  position: sticky;
  top: var(--floating-admin-offset) !important;
  height: var(--header-height);
  background: #fff;
  box-shadow: none;
}
.site-header.editorial-header.site-header-internal:has(> .machu-announcement) {
  --announcement-side: 0px;
  --announcement-gap: 0px;
  --floating-promo-space: var(--announcement-height, 36px);
  height: calc(var(--header-height) + var(--floating-promo-space));
  top: calc(var(--floating-admin-offset) - var(--floating-promo-space)) !important;
}
.site-header.editorial-header.site-header-internal:not(:has(> .machu-announcement)) {
  top: var(--floating-admin-offset) !important;
  height: var(--header-height);
}
.site-header.editorial-header.site-header-internal > .machu-announcement { width: 100%; margin-inline: 0; }
.site-header.editorial-header.site-header-internal #menu {
  border-left: 0;
  border-right: 0;
  border-bottom: 1px solid #e8ebed;
  box-shadow: 0 4px 14px rgba(16, 24, 32, 0.09);
}
.site-header.editorial-header.site-header-internal.is-scrolled #menu::before { content: none; }
.site-header.editorial-header.site-header-internal #menu .menu-container {
  max-width: none;
  margin-inline: auto;
  padding-inline: calc(var(--header-outer-gutter) + 28px) !important;
}
/* Choose one canonical ancestor when WordPress lists the same page in two sections. */
.site-header-internal #menu .menu-content-items > :is(.active-parent,.active-ancestor,.current-menu-ancestor) > a::after { transform: scaleX(0); }
.site-header-internal #menu .menu-content-items > .header-current-branch > a::after,
.site-header-internal #menu .menu-content-items > li > a:hover::after,
.site-header-internal #menu .menu-content-items > li > a:focus-visible::after { transform: scaleX(1); }
/* Remove the legacy fixed-header clearance at the beginning of internal pages. */
.site-header-internal ~ main.category-page {
  padding-top: 0 !important;
}
.site-header-internal ~ :is(.tour-single,.travel-single-page,.single-full-page) > :is(.tour-mosaic-hero,.blog-mosaic-hero) {
  padding-top: clamp(24px, 2vw, 36px) !important;
  background: #fff;
}
.site-header-internal ~ .tour-single .tour-mosaic-head .tour-button-primary {
  background: #ef2940;
  border: 1px solid #ef2940;
  color: #fff;
}
.site-header-internal ~ .tour-single .tour-mosaic-head .tour-button-primary:hover { background: #d01f34; border-color: #d01f34; }
.site-header-internal ~ .tour-single .tour-mosaic-head .tour-button-secondary {
  background: #fff;
  border: 1px solid #dfe3e6;
  color: #253344;
}
.site-header-internal ~ .tour-single .tour-mosaic-head .tour-button-secondary:hover { border-color: #ef2940; color: #ef2940; }
.site-header-internal ~ .tour-single .tour-mosaic-head .tour-button:focus-visible { outline: 2px solid #ef2940; outline-offset: 3px; }
@media (min-width: 1360px) and (max-width: 1599px) {
  .site-header.editorial-header.site-header-internal #menu .menu-container { padding-inline: calc(var(--header-outer-gutter) + 24px) !important; }
}
@media (max-width: 1359px) {
  .site-header.editorial-header.site-header-internal #menu .menu-container { padding-inline: calc(var(--header-outer-gutter) + 20px) !important; }
}
@media (max-width: 767px) {
  .site-header.editorial-header.site-header-internal #menu .menu-container { padding-inline: calc(var(--header-outer-gutter) + 12px) !important; }
  .site-header-internal ~ :is(.tour-single,.travel-single-page,.single-full-page) > :is(.tour-mosaic-hero,.blog-mosaic-hero) { padding-top: 22px !important; }
}

/* WordPress search, compact trigger with an accessible native disclosure. */
.editorial-header #menu .header-search { position: relative; flex: 0 0 38px; margin: 0; }
.editorial-header #menu .header-search summary { display: grid; place-items: center; width: 38px; height: 44px; cursor: pointer; list-style: none; color: #141414; }
.editorial-header #menu .header-search summary::-webkit-details-marker { display: none; }
.editorial-header #menu .header-search summary svg { width: 22px; height: 22px; }
.editorial-header #menu .header-search[open] summary { color: #ef2940; }
.editorial-header #menu .header-search form { position: absolute; right: 0; top: calc(100% + 14px); width: 350px; padding: 20px; background: #fff; border: 1px solid #cdd1d6; border-top: 2px solid #ef2940; }
.editorial-header #menu .header-search label { display: block; margin-bottom: 10px; color: #141414; font-size: 13px; font-weight: 600; }
.editorial-header #menu .header-search form > div { display: flex; }
.editorial-header #menu .header-search input { min-width: 0; width: 100%; height: 44px; border: 1px solid #cdd1d6; border-radius: 0; padding: 8px 10px; font: inherit; font-size: 13px; background: #fff; color: #141414; }
.editorial-header #menu .header-search button { border: 0; border-radius: 0; background: #ef2940; color: #fff; padding: 8px 14px; font-size: 13px; }
@media(max-width:767px) {
 .editorial-header #menu .header-search form { position: fixed; top: auto; left: 20px; right: 20px; width: auto; margin-top: 12px; }
}

/* Give search an explicit, restrained button treatment. */
.editorial-header #menu .header-search { flex-basis: auto; }
.editorial-header #menu .header-search summary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 42px; height: 42px; padding: 0 12px; border: 1px solid #d8dce0; background: #fff; transition: color 200ms,border-color 200ms,background-color 200ms; }
.editorial-header #menu .header-search-label { font-size: 12px; font-weight: 500; line-height: 1.4; }
.editorial-header #menu .header-search summary:hover,
.editorial-header #menu .header-search[open] summary { color: #ef2940; border-color: #ef2940; background: #fff5f6; }
.editorial-header #menu .header-search summary:focus-visible { outline: 2px solid #ef2940; outline-offset: 3px; }
@media(max-width:1599px) {
 .editorial-header #menu .header-search-label { display: none; }
 .editorial-header #menu .header-search summary { padding-inline: 9px; }
}
@media(prefers-reduced-motion:reduce) {
 .editorial-header #menu .header-search summary { transition: none; }
}

.editorial-header #menu .header-search label { padding-right: 28px; }
.editorial-header #menu .header-search .header-search-close { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; min-height: 32px; padding: 6px; border: 0; background: transparent; color: #141414; cursor: pointer; }
.editorial-header #menu .header-search .header-search-close svg { width: 20px; height: 20px; }
.editorial-header #menu .header-search .header-search-close:hover { color: #ef2940; background: #fff5f6; }

/* Refined search panel: one coherent field and restrained controls. */
.editorial-header #menu .header-search form { width: 380px; padding: 22px; border: 1px solid #e0e2e5; border-top: 2px solid #ef2940; box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.editorial-header #menu .header-search label { margin-bottom: 14px; padding-right: 28px; font-size: 14px; font-weight: 600; letter-spacing: -.15px; }
.editorial-header #menu .header-search form > div { border: 1px solid #cdd1d6; background: #fff; transition: border-color 180ms; }
.editorial-header #menu .header-search form > div:focus-within { border-color: #ef2940; }
.editorial-header #menu .header-search input { height: 46px; padding: 12px; border: 0; outline: none; box-shadow: none; font-size: 13px; }
.editorial-header #menu .header-search input:focus-visible { outline: none; box-shadow: none; }
.editorial-header #menu .header-search button[type=submit] { display: grid; place-items: center; flex: 0 0 46px; min-height: 46px; padding: 11px; border: 0; background: #ef2940; color: #fff; cursor: pointer; }
.editorial-header #menu .header-search button[type=submit] svg { width: 22px; height: 22px; }
.editorial-header #menu .header-search button[type=submit]:hover { background: #d91f35; }
.editorial-header #menu .header-search .header-search-close { top: 12px; right: 12px; color: #666; }
@media(max-width:767px) {
 .editorial-header #menu .header-search form { width: auto; padding: 20px; }
}
