/* Traveler Shuttles: official airport status banner + bottom 5-icon Gutenberg nav */

/* Header: reliable, JS-independent native Details dropdown. Links stay editable
   in the existing WordPress navigation menu. */
header.wp-block-template-part, .ts-header { overflow:visible!important; }
.ts-header .ts-header-dropdown {
  position:relative; z-index:80; flex:0 0 auto; margin:0!important;
}
.ts-header .ts-header-dropdown > summary {
  display:flex; align-items:center; justify-content:center; gap:9px;
  box-sizing:border-box; min-width:106px; min-height:44px; padding:10px 18px;
  cursor:pointer; user-select:none; list-style:none;
  background:#082b52; color:#fff; border:1px solid #144a80;
  border-radius:12px; font:800 15px/1.2 var(--ts-body,system-ui,sans-serif);
  box-shadow:0 5px 13px rgba(5,42,85,.16);
}
.ts-header .ts-header-dropdown > summary::-webkit-details-marker { display:none; }
.ts-header .ts-header-dropdown > summary::before { content:"☰"; font-size:21px; font-weight:400; line-height:1; }
.ts-header .ts-header-dropdown > summary::after { content:"⌄"; font-size:17px; line-height:1; }
.ts-header .ts-header-dropdown[open] > summary {
  background:#145ca9; border-color:#145ca9; border-radius:12px;
}
.ts-header .ts-header-dropdown[open] > summary::after { content:"⌃"; }
.ts-header .ts-header-dropdown > summary:focus-visible { outline:3px solid #5da6f0; outline-offset:3px; }
.ts-header-dropdown > nav.ts-header-dropdown-links {
  position:absolute!important; top:calc(100% + 8px); right:0;
  z-index:200!important; box-sizing:border-box;
  width:min(330px,calc(100vw - 24px)); padding:12px!important; margin:0!important;
  background:#fff!important; border:1px solid #d2e2f2;
  border-radius:16px; box-shadow:0 18px 42px rgba(5,42,85,.22);
  max-height:min(72vh,560px); overflow-y:auto;
}
.ts-header-dropdown:not([open]) > .ts-header-dropdown-links { display:none!important; }
.ts-header-dropdown[open] > .ts-header-dropdown-links { display:block!important; }
.ts-header-dropdown > nav.ts-header-dropdown-links > ul.wp-block-navigation__container {
  display:flex!important; flex-flow:column nowrap!important; align-items:stretch!important;
  justify-content:flex-start!important; gap:4px!important; width:100%;
}
.ts-header-dropdown .ts-header-dropdown-links .wp-block-navigation-item {
  width:100%!important; display:block!important;
}
.ts-header-dropdown .ts-header-dropdown-links .wp-block-navigation-item__content {
  box-sizing:border-box; display:block!important; width:100%;
  padding:12px 14px!important; border-radius:9px;
  text-decoration:none!important; white-space:normal!important;
  color:#082b52!important; background:transparent;
  font:700 15px/1.3 var(--ts-body,system-ui,sans-serif)!important;
}
.ts-header-dropdown .ts-header-dropdown-links .wp-block-navigation-item__content:hover,
.ts-header-dropdown .ts-header-dropdown-links .wp-block-navigation-item__content:focus-visible {
  background:#e8f2ff!important; color:#0c60b0!important;
}
@media (max-width:700px) {
  .ts-header > .wp-block-buttons { display:none!important; }
  .ts-header .ts-header-dropdown > summary { min-width:88px; padding:10px 12px; }
}

.ts-alertbar { background:#e8f2ff!important; color:#082b52!important; border-bottom:1px solid #bbd4f2; }
.ts-airport-alert { max-width:1100px; margin:0 auto; display:flex; flex-wrap:wrap; justify-content:center; align-items:center; gap:4px 13px; line-height:1.4; font-family:var(--ts-body,system-ui,sans-serif); }
.ts-airport-alert__heading { display:inline-flex; align-items:center; text-transform:uppercase; letter-spacing:.055em; font-size:12px; font-weight:900; color:#0c4f98; white-space:nowrap; }
.ts-airport-alert__heading::before { content:""; width:8px; height:8px; border-radius:50%; background:#2781ce; display:inline-block; margin-right:6px; }
.ts-airport-alert__message { font-size:13px; font-weight:650; flex:1 1 300px; }
.ts-airport-alert__checked { font-size:11px; color:#405773; white-space:nowrap; }
.ts-airport-alert__links { display:inline-flex; align-items:center; justify-content:center; gap:12px; white-space:nowrap; }
.ts-airport-alert__links a { font-size:12px; color:#0756a3!important; font-weight:800; text-decoration:underline!important; }
.ts-mobile-dock { display:none!important; margin:0!important; padding:0!important; }
@media (max-width:1024px) {
  /* Flush against the viewport bottom; no decorative blank bands. */
  body { padding-bottom:calc(55px + env(safe-area-inset-bottom,0px))!important; }
  .ts-mobile-dock { display:block!important; position:fixed!important; left:0!important; right:0!important; bottom:0!important; top:auto!important; margin:0!important; width:100%!important; height:auto!important; min-height:0!important; z-index:9999!important; background:#fff!important; box-sizing:border-box; padding:0 0 env(safe-area-inset-bottom,0px)!important; border-top:1px solid #d7e4f3; box-shadow:0 -4px 18px rgba(5,42,85,.1); }
  .ts-mobile-dock > nav, .ts-mobile-dock .ts-dock-nav { display:block!important; width:100%!important; padding:0!important; margin:0 auto!important; max-width:1100px; }
  .ts-dock-nav .wp-block-navigation__responsive-container { display:block!important; position:static!important; width:100%!important; height:auto!important; color:inherit!important; background:transparent!important; }
  .ts-dock-nav .wp-block-navigation__responsive-container-open, .ts-dock-nav .wp-block-navigation__responsive-container-close { display:none!important; }
  .ts-dock-nav .wp-block-navigation__responsive-container-content { padding:0!important; display:block!important; }
  .ts-dock-nav .wp-block-navigation__container { display:grid!important; width:100%!important; grid-template-columns:repeat(5,minmax(0,1fr)); gap:0!important; margin:0!important; padding:0!important; align-items:center!important; list-style:none!important; flex-wrap:nowrap!important; }
  .ts-dock-nav .wp-block-navigation-item { width:100%!important; display:block!important; min-width:0!important; margin:0!important; padding:0!important; }
  .ts-dock-nav .wp-block-navigation-item__content { box-sizing:border-box; display:flex!important; min-width:0; height:54px; padding:2px 2px!important; border-radius:8px; flex-direction:column!important; align-items:center!important; justify-content:center!important; gap:3px; font:700 11px/1.1 var(--ts-body,system-ui,sans-serif)!important; text-decoration:none!important; letter-spacing:0!important; color:#234766!important; white-space:nowrap!important; background:transparent!important; text-align:center!important; }
  .ts-dock-nav .wp-block-navigation-item__content::before { content:""; width:23px; height:23px; flex:none; display:block; background-color:currentColor; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:contain; mask-size:contain; }
  .ts-dock-nav .wp-block-navigation-item__content:hover,
  .ts-dock-nav .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
  .ts-dock-nav .wp-block-navigation-item__content:focus-visible { background:#e8f2ff!important; color:#0a59a7!important; outline-offset:-2px; }
  .ts-airport-alert { gap:5px 9px; }
  .ts-airport-alert__message { flex-basis:75%; }
}
@media (max-width:420px) {
  .ts-dock-nav .wp-block-navigation-item__content { font-size:10px!important; }
  .ts-airport-alert__message { flex:1 1 100%; font-size:12px; }
  .ts-airport-alert__checked { order:3; }
}
@media (max-width:1024px) {
  body:has(input:focus,textarea:focus,select:focus,[contenteditable="true"]:focus) .ts-mobile-dock { transform:translateY(115%); pointer-events:none; }
}
@media (max-width:1024px) { .ts-dock-nav .wp-block-navigation-item:nth-child(1) .wp-block-navigation-item__content::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207v10a1%201%200%200%201-1%201h-5v-7H9v7H4a1%201%200%200%201-1-1z%22%2F%3E%3C%2Fsvg%3E"); mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%2010%209-7%209%207v10a1%201%200%200%201-1%201h-5v-7H9v7H4a1%201%200%200%201-1-1z%22%2F%3E%3C%2Fsvg%3E"); } }

@media (max-width:1024px) { .ts-dock-nav .wp-block-navigation-item:nth-child(2) .wp-block-navigation-item__content::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%202v5M16%202v5M3%2010h18m-12%205%202%202%204-4%22%2F%3E%3C%2Fsvg%3E"); mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%223%22%20y%3D%224%22%20width%3D%2218%22%20height%3D%2217%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%202v5M16%202v5M3%2010h18m-12%205%202%202%204-4%22%2F%3E%3C%2Fsvg%3E"); } }

@media (max-width:1024px) { .ts-dock-nav .wp-block-navigation-item:nth-child(3) .wp-block-navigation-item__content::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2220%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207h8M8%2012h8M8%2017h5%22%2F%3E%3C%2Fsvg%3E"); mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%222%22%20width%3D%2216%22%20height%3D%2220%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M8%207h8M8%2012h8M8%2017h5%22%2F%3E%3C%2Fsvg%3E"); } }

@media (max-width:1024px) { .ts-dock-nav .wp-block-navigation-item:nth-child(4) .wp-block-navigation-item__content::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%202-7%2020-4-9-9-4zM22%202%2011%2013%22%2F%3E%3C%2Fsvg%3E"); mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m22%202-7%2020-4-9-9-4zM22%202%2011%2013%22%2F%3E%3C%2Fsvg%3E"); } }

@media (max-width:1024px) { .ts-dock-nav .wp-block-navigation-item:nth-child(5) .wp-block-navigation-item__content::before { -webkit-mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019%2019%200%200%201-8.3-3.1%2019%2019%200%200%201-6-6%2019%2019%200%200%201-3.1-8.4A2%202%200%200%201%204.4%202h3a2%202%200%200%201%202%201.7l.6%203a2%202%200%200%201-.6%201.8L7.8%2010a15%2015%200%200%200%206.2%206.2l1.5-1.6a2%202%200%200%201%201.8-.5l3%20.6a2%202%200%200%201%201.7%202z%22%2F%3E%3C%2Fsvg%3E"); mask-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M22%2016.9v3a2%202%200%200%201-2.2%202%2019%2019%200%200%201-8.3-3.1%2019%2019%200%200%201-6-6%2019%2019%200%200%201-3.1-8.4A2%202%200%200%201%204.4%202h3a2%202%200%200%201%202%201.7l.6%203a2%202%200%200%201-.6%201.8L7.8%2010a15%2015%200%200%200%206.2%206.2l1.5-1.6a2%202%200%200%201%201.8-.5l3%20.6a2%202%200%200%201%201.7%202z%22%2F%3E%3C%2Fsvg%3E"); } }
