/* Keep the seven top-level links readable on smaller desktop windows. */
@media (min-width: 1024px) and (max-width: 1439px) {
  .nav__inner { gap: 12px; }
  .nav__logo img { height: 50px !important; max-width: 160px; }
  .nav__links { min-width: 0; flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
  .nav__link { font-size: .875rem; white-space: nowrap; }
  .nav__cta-btn { margin-left: 0; padding: .55rem .9rem; font-size: .875rem; }
}

/* Reuse the existing mobile navigation for tablets and small windows. */
@media (min-width: 769px) and (max-width: 1023px) {
.nav__hamburger { display: none; }
.nav__cta { display: none; }
.nav { top: 0px; left: 0px; right: 0px; height: calc(64px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); z-index: 9950; overflow: visible; border-bottom: 1.5px solid rgba(0, 36, 82, 0.12); box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 12px; backdrop-filter: none; position: fixed !important; background: rgb(255, 255, 255) !important; }
.nav__inner { height: 64px; justify-content: center; align-items: center; padding: 0px 20px; }
.nav__logo { display: flex; align-items: center; justify-content: center; height: 100%; }
.nav__logo img { height: 40px; width: auto; max-width: 180px; object-fit: contain; display: block; vertical-align: middle; }
.nav__links { display: none !important; }
.nav__cta-btn { display: none !important; }
.nav .lang-switcher { display: none !important; }
body { padding-top: calc(64px + env(safe-area-inset-top, 0px)); padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
.mobile-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 8px; position: fixed; bottom: 0px; left: 0px; right: 0px; height: calc(62px + env(safe-area-inset-bottom, 0px)); padding: 0 16px env(safe-area-inset-bottom, 0px); background: var(--primary, #002452); border-top: 2px solid var(--secondary, #855300); z-index: 9940; box-shadow: rgba(0, 0, 0, 0.4) 0px -4px 28px; }
.mobile-bar__spacer { display: block; }
.mobile-bar__hamburger { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 44px; padding: 10px; background: none; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 10px; transition: background 0.15s; }
.mobile-bar__hamburger:hover { background: rgba(255, 255, 255, 0.08); }
.mobile-bar__hamburger span { display: block; width: 100%; height: 2px; background: rgb(255, 255, 255); border-radius: 999px; transform-origin: center center; transition: transform 0.25s, opacity 0.2s; }
.mobile-bar__hamburger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-bar__hamburger--open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-bar__hamburger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-bar__cta { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 200px; margin: 0px auto; padding: 0.6rem 0.75rem; background: linear-gradient(160deg, var(--cta, #56b958) 0%, #44994a 100%); color: rgb(255, 255, 255); font-weight: 700; font-size: 0.82rem; border-radius: 999px; text-decoration: none; text-align: center; white-space: nowrap; box-shadow: rgba(86, 185, 88, 0.4) 0px 2px 14px; transition: transform 0.15s, box-shadow 0.15s; -webkit-tap-highlight-color: transparent; }
.mobile-bar__cta:active { transform: scale(0.95); box-shadow: none; }
.mobile-nav-sheet { display: block; pointer-events: none; }
.mobile-nav-sheet__backdrop { position: fixed; inset: 0px; background: rgba(0, 7, 30, 0.65); backdrop-filter: blur(3px); z-index: 9700; opacity: 0; pointer-events: none; transition: opacity 0.28s; }
.mobile-nav-sheet--open .mobile-nav-sheet__backdrop { pointer-events: auto; }
.mobile-nav-sheet__panel { position: fixed; bottom: calc(62px + env(safe-area-inset-bottom, 0px)); left: 0px; right: 0px; background: var(--primary, #002452); border-radius: 24px 24px 0px 0px; border-top: 2px solid var(--secondary, #855300); z-index: 9800; transform: translateY(110vh); visibility: hidden; transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility linear 0.32s; padding-bottom: 12px; max-height: calc(100svh - 64px - env(safe-area-inset-top, 0px) - 62px - env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.mobile-nav-sheet__handle-wrap { display: flex; justify-content: center; padding: 12px 16px 8px; }
.mobile-nav-sheet__handle { display: block; width: 44px; height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 999px; }
.mobile-nav-sheet__links { list-style: none; margin: 0px; padding: 0px; }
.mobile-nav-sheet__links > li:last-child .mobile-nav-sheet__link { border-bottom-width: medium; border-bottom-style: none; border-bottom-color: currentcolor; }
.mobile-nav-sheet__link { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.5rem; color: rgba(255, 255, 255, 0.75); font-size: 1.1rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.06); transition: color 0.15s, background 0.15s, padding-left 0.15s; -webkit-tap-highlight-color: transparent; }
.mobile-nav-sheet__link:hover { color: rgb(255, 255, 255); background: rgba(255, 255, 255, 0.05); padding-left: 1.75rem; }
.mobile-nav-sheet__link--active { color: rgb(255, 255, 255); font-weight: 700; background: rgba(133, 83, 0, 0.15); border-left: 3px solid var(--secondary, #855300); }
.mobile-nav-sheet__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--secondary, #855300); flex-shrink: 0; }
.mobile-nav-sheet--open { pointer-events: auto; }
.mobile-nav-sheet--open .mobile-nav-sheet__backdrop { opacity: 1; }
.mobile-nav-sheet--open .mobile-nav-sheet__panel { transform: translateY(0px); visibility: visible; transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1), visibility linear; }
:root { --mobile-action-height: 74px; }
html { scroll-padding-top: calc(80px + env(safe-area-inset-top, 0px)); }
body { padding-bottom: calc(var(--mobile-action-height) + env(safe-area-inset-bottom, 0px)); }
.nav__logo img { max-width: 200px; width: auto; object-fit: contain; height: 44px !important; }
.mobile-apply-link { display: inline-flex; margin-top: 1.5rem; }
.mobile-bar { grid-template-columns: minmax(76px, 1fr) minmax(0px, 1.5fr) 44px; height: calc(var(--mobile-action-height) + env(safe-area-inset-bottom, 0px)); padding-inline: 12px; gap: 8px; }
.mobile-bar__secondary, .mobile-bar__cta { min-width: 0px; min-height: 44px; max-width: none; display: flex; align-items: center; justify-content: center; text-align: center; white-space: normal; overflow-wrap: anywhere; line-height: 1.25; font-size: 0.82rem; padding: 0.5rem 0.65rem; }
.mobile-bar__secondary { color: white; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px; font-weight: 600; }
.mobile-bar a:focus-visible, .mobile-nav-sheet button:focus-visible, .mobile-nav-sheet a:focus-visible { outline: white solid 2px; outline-offset: 2px; }
.mobile-nav-sheet__panel { bottom: calc(var(--mobile-action-height) + env(safe-area-inset-bottom, 0px)); max-height: calc(100svh - 64px - var(--mobile-action-height) - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)); overscroll-behavior: contain; }
.mobile-nav-sheet__handle-wrap { position: sticky; top: 0px; min-height: 48px; z-index: 1; background: var(--primary); }
.mobile-nav-sheet__close { position: absolute; inset-inline-end: 8px; top: 2px; width: 44px; height: 44px; border-width: medium; border-style: none; border-color: currentcolor; border-image: none; border-radius: 10px; background: transparent; color: white; display: grid; place-items: center; }
.mobile-nav-sheet__link { min-height: 48px; font-size: 1rem; padding: 0.85rem 1.25rem; }
.mobile-nav-sheet__link--active { border-left: 0px; border-right: 0px; border-inline-start: 3px solid var(--secondary); }
.mobile-nav-sheet__lang .lang-switcher__option { min-height: 44px; }
.cookie-banner { bottom: calc(var(--mobile-action-height) + env(safe-area-inset-bottom, 0px)); }
}
