/* English-only header: original cascade, stable site-language selectors. */

/* site-brand-header-20260724-v13.css */

/* site-brand-header-20260724-v12.css */

/* site-brand-header-20260724-v11.css */

/* site-brand-header-20260724-v10.css */

/* site-brand-header-20260724-v9.css */

/* site-brand-header-20260724-v8.css */

/* site-brand-header-20260721-v7.css */

/* site-brand-header-20260721-v6.css */

/* site-brand-header-20260719-v5.css */

/* logo-header-20260715-v4.css */
.nav-logo,
.nav-drawer-logo,
.campaign-logo {
  overflow: visible !important;
  line-height: 0 !important;
}

.nav-logo img[src="/logo-25th-20260715.png"],
.nav-logo img[src="/logo.png"],
.campaign-logo img[src="/logo-25th-20260715.png"] {
  display: block !important;
  width: 160px !important;
  height: auto !important;
  max-width: 160px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.nav-logo img[src="/logo-newayer-25th-transparent-20260715.png"],
.nav-logo img[src="/logo-newayer-cropped.png"],
.campaign-logo img[src="/logo-newayer-25th-transparent-20260715.png"] {
  display: block !important;
  width: 158px !important;
  height: auto !important;
  max-width: 158px !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

.nav-drawer-logo img[src="/logo-25th-20260715.png"],
.nav-drawer-logo img[src="/logo.png"] {
  display: block !important;
  width: 150px !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: none !important;
  object-fit: contain !important;
}

.nav-drawer-logo img[src="/logo-newayer-25th-transparent-20260715.png"],
.nav-drawer-logo img[src="/logo-newayer-cropped.png"] {
  display: block !important;
  width: 145px !important;
  height: auto !important;
  max-width: 145px !important;
  max-height: none !important;
  object-fit: contain !important;
}

@media (max-width: 900px) {
  .nav-logo img[src="/logo-25th-20260715.png"],
  .nav-logo img[src="/logo.png"],
  .campaign-logo img[src="/logo-25th-20260715.png"] {
    width: 150px !important;
    max-width: 150px !important;
  }

  .nav-logo img[src="/logo-newayer-25th-transparent-20260715.png"],
  .nav-logo img[src="/logo-newayer-cropped.png"],
  .campaign-logo img[src="/logo-newayer-25th-transparent-20260715.png"] {
    width: 145px !important;
    max-width: 145px !important;
  }
}

@media (min-width: 901px) and (max-width: 1320px) {
  .nav-menu {
    justify-content: flex-start !important;
    scroll-padding-left: 0 !important;
  }

  .nav-menu > a:first-child {
    margin-left: 0 !important;
  }
}


/*
 * Header consistency hotfix v5 (2026-07-19)
 *
 * Production previously contained pages generated by two Astro builds. Their
 * scoped Header styles used different desktop spacing, item order and menu
 * breakpoints. These shared rules deliberately normalize the Chinese header
 * without touching page content or the intentionally more compact English
 * breakpoint.
 */
html[data-site-lang="zh-CN"] .nav-inner {
  grid-template-columns: auto 1fr auto;
  column-gap: clamp(20px, 2.8vw, 52px);
}

html[data-site-lang="zh-CN"] .nav {
  border-bottom-width: 0;
}

html[data-site-lang="en"] .nav {
  border-bottom-width: 0;
}

html[data-site-lang="zh-CN"] .nav-logo,
html[data-site-lang="zh-CN"] .nav-drawer-logo {
  overflow: visible;
  line-height: 0;
}

html[data-site-lang="zh-CN"] .nav-logo img[src="/logo-25th-20260715.png"],
html[data-site-lang="zh-CN"] .nav-logo img[src="/logo.png"] {
  display: block;
  width: 160px !important;
  height: auto !important;
  max-width: 160px !important;
  max-height: none !important;
  object-fit: contain;
}

html[data-site-lang="zh-CN"] .nav-drawer-logo img[src="/logo-25th-20260715.png"],
html[data-site-lang="zh-CN"] .nav-drawer-logo img[src="/logo.png"] {
  display: block;
  width: 150px !important;
  height: auto !important;
  max-width: 150px !important;
  max-height: none !important;
  object-fit: contain;
}

html[data-site-lang="zh-CN"] .nav-menu {
  justify-content: center;
  gap: clamp(8px, 1vw, 18px);
  width: auto;
  min-width: 0;
  overflow-x: auto;
  padding: 8px 0;
}

html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
  font-size: clamp(17px, 1.05vw, 20px);
  font-weight: 400;
  line-height: 1.47059;
  padding: 10px clamp(10px, 0.9vw, 16px);
}

html[data-site-lang="zh-CN"] .nav-search {
  display: none;
}

html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
  padding: 0 4px !important;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/antarctic/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/antarctic/"] {
  order: 10;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/arctic/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/arctic/"] {
  order: 11;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/galapagos/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/galapagos/"] {
  order: 12;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/cultural-luxury/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/cultural-luxury/"] {
  order: 13;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/light-expedition/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/light-expedition/"] {
  order: 14;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/tickets/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/tickets/"] {
  order: 15;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/articles/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/articles/"] {
  order: 16;
}

html[data-site-lang="zh-CN"] .nav-menu > a[href^="/about/"],
html[data-site-lang="zh-CN"] .nav-drawer > a[href^="/about/"] {
  order: 17;
}

html[data-site-lang="zh-CN"] .nav-drawer-head,
html[data-site-lang="zh-CN"] .nav-drawer-search {
  order: 0;
}

html[data-site-lang="zh-CN"] .nav-drawer-language,
html[data-site-lang="zh-CN"] .nav-drawer-languages {
  order: 30;
}

html[data-site-lang="zh-CN"] .nav-drawer-actions {
  order: 40;
}

html[data-site-lang="zh-CN"] .nav-drawer-languages {
  display: block;
  width: 100%;
  margin: 8px 0 2px;
  padding: 0;
  border: 0;
}

html[data-site-lang="zh-CN"] body .nav-drawer .nav-drawer-languages > a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 1px solid rgba(0, 48, 102, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  color: #1d1d1f;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}

html[data-site-lang="zh-CN"] body .nav-drawer .nav-drawer-languages > a::before {
  content: "◎";
  margin-right: 10px;
  color: var(--brand);
  font-size: 18px;
  line-height: 1;
}

html[data-site-lang="zh-CN"] body .nav-drawer .nav-drawer-languages > a::after {
  content: "›";
  margin-left: auto;
  color: #86868b;
  font-size: 24px;
  font-weight: 300;
}

@media (min-width: 901px) {
  html[data-site-lang="zh-CN"] .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

  html[data-site-lang="zh-CN"] .nav-menu {
    display: flex;
  }

  html[data-site-lang="zh-CN"] .nav-menu-btn {
    display: none;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end,
  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher,
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta {
    display: flex;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end {
    gap: clamp(8px, 1vw, 16px) !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
    min-height: 36px !important;
    padding: 0 4px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta {
    min-height: 44px !important;
    padding: 0 16px !important;
    font-size: 17px !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    padding: 0 20px !important;
  }
}

@media (min-width: 1201px) {
  html[data-site-lang="zh-CN"] .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    column-gap: 0;
  }

  html[data-site-lang="zh-CN"] .nav-logo {
    justify-self: start;
  }

  html[data-site-lang="zh-CN"] .nav-menu {
    width: max-content;
    gap: 10px;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end {
    justify-self: end;
  }
}

@media (max-width: 1430px) and (min-width: 1201px) {
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary) {
    display: none !important;
  }
}

@media (max-width: 1200px) {
  html[data-site-lang="zh-CN"] .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: 16px;
  }

  html[data-site-lang="zh-CN"] .nav-menu,
  html[data-site-lang="zh-CN"] .nav-search,
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta,
  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
    display: none !important;
  }

  html[data-site-lang="zh-CN"] .nav-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }

  html[data-site-lang="zh-CN"] .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    border: 0;
    background: rgba(8, 24, 40, 0.18);
  }

  html[data-site-lang="zh-CN"] .nav-overlay[hidden] {
    display: none;
  }

  html[data-site-lang="zh-CN"] .nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 130;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  html[data-site-lang="zh-CN"] body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  html[data-site-lang="zh-CN"] .nav-logo img[src="/logo-25th-20260715.png"],
  html[data-site-lang="zh-CN"] .nav-logo img[src="/logo.png"] {
    width: 150px !important;
    max-width: 150px !important;
  }
}


/*
 * English responsive hotfix v6 (2026-07-21)
 *
 * - Collapse the longer English navigation before it can overlap.
 * - Keep both English trip CTAs fully visible on narrow phones.
 * - Restore English mobile breadcrumb copy.
 * - Wrap long category filters instead of clipping them.
 */

@media (max-width: 1200px) {
  html[data-site-lang="en"] .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: 16px;
  }

  html[data-site-lang="en"] .nav-menu,
  html[data-site-lang="en"] .nav-search,
  html[data-site-lang="en"] body .nav .nav-end .nav-cta,
  html[data-site-lang="en"] body .nav .nav-end .language-switcher {
    display: none !important;
  }

  html[data-site-lang="en"] .nav-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  html[data-site-lang="en"] .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    border: 0;
    background: rgba(8, 24, 40, 0.18);
  }

  html[data-site-lang="en"] .nav-overlay[hidden] {
    display: none;
  }

  html[data-site-lang="en"] .nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 130;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  html[data-site-lang="en"] body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (max-width: 734px) {
  html[data-site-lang="en"] .page:has(.ticket-hero) > .breadcrumb {
    display: none !important;
  }

  html[data-site-lang="en"] .ticket-hero .breadcrumb-home {
    font-size: 0 !important;
  }

  html[data-site-lang="en"] .ticket-hero .breadcrumb-home::before {
    content: "‹ Back to Home" !important;
    font-size: 18px !important;
  }

  html[data-site-lang="en"] .page > .filters {
    display: flex !important;
    flex-wrap: wrap !important;
    overflow-x: visible !important;
  }

  html[data-site-lang="en"] .page > .filters .filter {
    max-width: 100%;
    height: auto;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }

  html[data-site-lang="en"] .tabs-sticky {
    position: sticky;
  }

  html[data-site-lang="en"] .tabs-sticky::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 28px;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(251, 251, 253, 0), rgba(251, 251, 253, 0.96));
  }

  html[data-site-lang="en"] .tabs-inner {
    padding-right: 32px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  html[data-site-lang="en"] .trip-cta-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch !important;
    gap: 7px !important;
    min-height: 0 !important;
    padding: 9px 0 10px !important;
  }

  html[data-site-lang="en"] .trip-cta-copy {
    display: block !important;
    min-width: 0 !important;
    text-align: center;
  }

  html[data-site-lang="en"] .trip-cta-price {
    overflow: hidden;
    font-size: 15px !important;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap !important;
  }

  html[data-site-lang="en"] .trip-cta-sub {
    display: none !important;
  }

  html[data-site-lang="en"] .trip-cta-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  html[data-site-lang="en"] .trip-cta-actions .trip-cta-secondary,
  html[data-site-lang="en"] .trip-cta-actions .trip-cta-btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 44px !important;
    padding: 0 9px !important;
    overflow: hidden;
    font-size: 14px !important;
    line-height: 1.2;
    text-overflow: clip;
    white-space: nowrap;
  }
}


/* English navigation needs 1281px or more to fit without clipping. */
@media (max-width: 1280px) {
  html[data-site-lang="en"] .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: 16px;
  }

  html[data-site-lang="en"] .nav-menu,
  html[data-site-lang="en"] .nav-search,
  html[data-site-lang="en"] body .nav .nav-end .nav-cta,
  html[data-site-lang="en"] body .nav .nav-end .language-switcher {
    display: none !important;
  }

  html[data-site-lang="en"] .nav-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
  }

  html[data-site-lang="en"] .nav-overlay {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: block;
    border: 0;
    background: rgba(8, 24, 40, 0.18);
  }

  html[data-site-lang="en"] .nav-overlay[hidden] {
    display: none;
  }

  html[data-site-lang="en"] .nav-drawer {
    position: fixed;
    inset: 0;
    z-index: 130;
    min-height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  html[data-site-lang="en"] body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
}


/*
 * Restore the original Chinese desktop navigation breakpoint.
 *
 * Chinese pages used an expanded header above 900px before the shared
 * production header hotfix moved the collapse point to 1200px. Keep the
 * existing mobile drawer through 900px, preserve the current large desktop
 * header above 1200px, and compact only the header typography/actions in the
 * 901-1200px range so every navigation item remains visible without clipping.
 */
@media (min-width: 901px) and (max-width: 1200px) {
  html[data-site-lang="zh-CN"] .nav-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    justify-content: stretch;
    column-gap: clamp(12px, 1.6vw, 20px);
    padding-right: clamp(16px, 2.3vw, 28px);
    padding-left: clamp(16px, 2.3vw, 28px);
  }

  html[data-site-lang="zh-CN"] .nav-menu {
    display: flex !important;
    justify-content: center;
    gap: clamp(2px, 0.45vw, 6px);
    width: auto;
    min-width: 0;
    overflow-x: auto;
    padding: 8px 0;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    padding: 9px clamp(5px, 0.75vw, 9px);
    font-size: clamp(14px, 1.45vw, 16px);
  }

  html[data-site-lang="zh-CN"] .nav-menu-btn {
    display: none !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end {
    display: flex !important;
    gap: 8px !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher,
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    display: inline-flex !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary) {
    display: none !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    min-height: 42px !important;
    padding: 0 12px !important;
    font-size: 16px !important;
  }
}

@media (min-width: 901px) and (max-width: 1000px) {
  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
    display: none !important;
  }
}


/*
 * Chinese desktop navigation alignment and CTA restore (2026-07-24).
 *
 * Keep the mobile drawer through 900px. Above it, reserve equal space on
 * both sides of the menu so the navigation stays centered on the viewport,
 * keep both business CTAs visible, and move the language switcher out of the
 * constrained desktop header before sacrificing either CTA.
 */
@media (min-width: 901px) and (max-width: 1430px) {
  html[data-site-lang="zh-CN"] .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-content: stretch;
    column-gap: 0;
  }

  html[data-site-lang="zh-CN"] .nav-logo {
    justify-self: start;
  }

  html[data-site-lang="zh-CN"] .nav-menu {
    justify-content: center !important;
    width: max-content;
    max-width: 100%;
    min-width: 0;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end {
    display: flex !important;
    justify-self: end;
    gap: 8px !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
    display: none !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary),
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    display: inline-flex !important;
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: 16px !important;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
  }
}

@media (min-width: 901px) and (max-width: 1000px) {
  html[data-site-lang="zh-CN"] .nav-menu {
    gap: clamp(0px, 0.2vw, 2px);
  }

  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    padding-right: clamp(4px, 0.5vw, 5px);
    padding-left: clamp(4px, 0.5vw, 5px);
    font-size: 14px;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end {
    gap: 6px !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary),
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    padding: 0 8px !important;
    font-size: 14px !important;
  }
}


/* Keep every original desktop-header entry visible at constrained widths. */
@media (min-width: 901px) and (max-width: 1430px) {
  html[data-site-lang="zh-CN"] body .nav .nav-end {
    gap: 3px !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
    display: inline-flex !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary),
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    padding: 0 4px !important;
    font-size: 14px !important;
  }
}


/*
 * Desktop header spacing and English navigation restore (2026-07-24).
 *
 * - Give the Chinese business CTAs a clear visual gap and safe text padding.
 * - Keep the full English navigation from 1001px upward; use the drawer at 1000px and below.
 * - Center both desktop menus on the viewport with 44px minimum hit areas.
 */
@media (min-width: 901px) and (max-width: 1430px) {
  html[data-site-lang="zh-CN"] .nav-menu {
    gap: clamp(1px, 0.35vw, 5px);
  }

  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding-right: clamp(4px, 0.6vw, 9px);
    padding-left: clamp(4px, 0.6vw, 9px);
    font-size: clamp(12px, 1.2vw, 16px);
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end {
    gap: 10px !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary),
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    min-height: 44px !important;
    padding: 0 12px !important;
    font-size: clamp(13px, 1.05vw, 15px) !important;
  }
}

@media (min-width: 901px) and (max-width: 1000px) {
  html[data-site-lang="zh-CN"] .nav-menu {
    gap: 1px;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    padding-right: 3px;
    padding-left: 3px;
    font-size: 12px;
  }
}

@media (min-width: 1001px) {
  html[data-site-lang="en"] .nav-inner {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    justify-content: stretch;
    column-gap: 0;
    padding-right: clamp(20px, 2.5vw, 40px);
    padding-left: clamp(20px, 2.5vw, 40px);
  }

  html[data-site-lang="en"] .nav-logo {
    justify-self: start;
  }

  html[data-site-lang="en"] .nav-logo img[src="/logo-newayer-cruises-25th-home-20260718-v3.png"] {
    width: clamp(140px, 13vw, 190px) !important;
    max-width: clamp(140px, 13vw, 190px) !important;
  }

  html[data-site-lang="en"] .nav-menu {
    display: flex !important;
    justify-content: center !important;
    gap: clamp(1px, 0.45vw, 6.5px);
    width: max-content;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    padding: 8px 0;
  }

  html[data-site-lang="en"] body .nav .nav-menu > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    box-sizing: border-box;
    padding-right: clamp(4px, 0.55vw, 8px);
    padding-left: clamp(4px, 0.55vw, 8px);
    font-size: clamp(12px, 1.1vw, 16px);
  }

  html[data-site-lang="en"] body .nav .nav-end {
    display: flex !important;
    justify-self: end;
    gap: 8px !important;
  }

  html[data-site-lang="en"] body .nav .nav-end .nav-search,
  html[data-site-lang="en"] body .nav .nav-end .nav-cta {
    display: none !important;
  }

  html[data-site-lang="en"] body .nav .nav-end .language-switcher {
    display: inline-flex !important;
    min-height: 44px !important;
    padding: 0 10px !important;
    font-size: 14px !important;
  }

  html[data-site-lang="en"] .nav-menu-btn {
    display: none !important;
  }
}

@media (min-width: 1001px) and (max-width: 1100px) {
  html[data-site-lang="en"] .nav-logo img[src="/logo-newayer-cruises-25th-home-20260718-v3.png"] {
    width: 140px !important;
    max-width: 140px !important;
  }
}


/* Restore readable desktop navigation sizing without sacrificing the full menu. */
@media (min-width: 901px) and (max-width: 1000px) {
  html[data-site-lang="zh-CN"] .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: 16px;
  }

  html[data-site-lang="zh-CN"] .nav-menu,
  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher,
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta {
    display: none !important;
  }

  html[data-site-lang="zh-CN"] .nav-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1001px) and (max-width: 1139px) {
  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    padding-right: 4px;
    padding-left: 4px;
    font-size: 13.5px;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary),
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    font-size: 14px !important;
  }
}

@media (min-width: 1140px) and (max-width: 1430px) {
  html[data-site-lang="zh-CN"] .nav-menu {
    gap: clamp(2px, 0.35vw, 5px);
  }

  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    padding-right: clamp(5px, 0.6vw, 9px);
    padding-left: clamp(5px, 0.6vw, 9px);
    font-size: 16px;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta:not(.nav-cta-primary),
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta-primary {
    font-size: 16px !important;
  }
}

@media (min-width: 1060px) and (max-width: 1119px) {
  html[data-site-lang="en"] body .nav .nav-menu > a {
    font-size: 14px;
  }
}

@media (min-width: 1001px) and (max-width: 1059px) {
  html[data-site-lang="en"] .nav-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
    column-gap: 16px;
  }

  html[data-site-lang="en"] .nav-menu,
  html[data-site-lang="en"] body .nav .nav-end .language-switcher {
    display: none !important;
  }

  html[data-site-lang="en"] .nav-menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
  }
}

@media (min-width: 1120px) {
  html[data-site-lang="en"] body .nav .nav-menu > a {
    font-size: 15px;
  }
}


/* Center navigation labels and optically balance the English desktop header. */
@media (min-width: 1001px) {
  html[data-site-lang="zh-CN"] body .nav .nav-menu > a,
  html[data-site-lang="zh-CN"] body .nav .nav-end .nav-cta,
  html[data-site-lang="zh-CN"] body .nav .nav-end .language-switcher {
    justify-content: center;
    text-align: center;
    line-height: 1 !important;
  }

  html[data-site-lang="zh-CN"] body .nav .nav-menu > a {
    display: inline-flex;
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
  }
}

@media (min-width: 1060px) {
  html[data-site-lang="en"] .nav-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    column-gap: 0;
  }

  html[data-site-lang="en"] .nav-menu {
    justify-self: center;
  }

  html[data-site-lang="en"] body .nav .nav-menu > a,
  html[data-site-lang="en"] body .nav .nav-end .language-switcher {
    justify-content: center;
    text-align: center;
    line-height: 1 !important;
  }
}


/* Restore the intended desktop logo scale while preserving balanced navigation. */
@media (min-width: 1001px) {
  html[data-site-lang="zh-CN"] .nav-logo img[src="/logo-25th-20260715.png"],
  html[data-site-lang="zh-CN"] .nav-logo img[src="/logo.png"] {
    width: 160px !important;
    max-width: 160px !important;
  }
}

@media (min-width: 1060px) {
  html[data-site-lang="en"] .nav-logo img[src="/logo-newayer-cruises-25th-home-20260718-v3.png"] {
    width: clamp(150px, 16vw, 238px) !important;
    max-width: clamp(150px, 16vw, 238px) !important;
  }
}
