/* Airport Wi-Fi: the /airport-wifi hub and each /airport-wifi/<slug> page, on top of marketing.css and
   in-flight-wifi.css (the panels, tiles, chips, steps and section bar). The accent is a departure-board amber. */
.ap-page { --uc: #f7c35f; --board: #f7c35f; --board-ink: #0b0b0d; }
.ap-page .fl-note a, .ap-page .fl-section-head p a, .ap-page .fl-panel p a, .ap-page .fl-panel li a, .ap-page .faq-list a, .ap-page .uc-note a, .ap-page .fl-missing a { color: #ffe2a8; text-decoration: underline; text-decoration-color: #ffe2a855; text-underline-offset: 3px; }
[data-ap-item][hidden] { display: none !important; }

/* Hero: the copy and the departure board */
.ap-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); align-items: center; gap: 48px; margin-top: 20px; padding: 56px; border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(60% 90% at 90% 0%, #f7c35f1f, transparent 70%), radial-gradient(50% 70% at 0% 100%, #4f5bff14, transparent 70%), #0a0b0f; }
.ap-hero-runway { position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; pointer-events: none; background: repeating-linear-gradient(90deg, #f7c35f26 0 28px, transparent 28px 64px) center 78% / 100% 2px no-repeat, linear-gradient(180deg, transparent, #f7c35f08); mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent); }
.ap-hero-code { display: grid; place-items: center; min-width: 52px; height: 52px; padding: 0 8px; border-radius: 14px; background: var(--board); color: var(--board-ink); font: 750 17px var(--mono); letter-spacing: .04em; }
.site .ap-hero h1 { margin: 22px 0 0; font-size: clamp(40px, 5.4vw, 68px); font-weight: 690; line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }

.ap-board { min-width: 0; padding: 22px; border: 1px solid #ffffff1f; border-radius: 22px; background: linear-gradient(175deg, #17181e, #0c0d11); box-shadow: 0 40px 90px -30px #000, inset 0 1px 0 #ffffff12; font-family: var(--mono); }
.ap-board-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 600 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.ap-board-live { display: inline-flex; align-items: center; gap: 8px; color: var(--board); }
.ap-board-live span { width: 7px; height: 7px; border-radius: 50%; background: var(--board); box-shadow: 0 0 0 4px #f7c35f22; animation: ap-blink 2.4s ease-in-out infinite; }
@keyframes ap-blink { 50% { opacity: .35; } }
.site .ap-flaps { display: flex; gap: 8px; margin: 20px 0 0; }
.ap-flaps span { position: relative; display: grid; place-items: center; flex: 1; max-width: 104px; aspect-ratio: 4 / 5; border-radius: 12px; background: linear-gradient(180deg, #24262f 0 49.5%, #1b1d24 50.5% 100%); box-shadow: inset 0 1px 0 #ffffff14, 0 10px 20px -10px #000; color: var(--board); font: 750 clamp(52px, 6vw, 84px)/1 var(--mono); letter-spacing: 0; animation: ap-flap .7s cubic-bezier(.2, .7, .2, 1) backwards; }
.ap-flaps span::after { content: ""; position: absolute; inset: 50% 0 auto; height: 2px; background: #0a0b0f; box-shadow: 0 1px 0 #ffffff0d; }
.ap-flaps span:nth-child(2) { animation-delay: .12s; }
.ap-flaps span:nth-child(3) { animation-delay: .24s; }
@keyframes ap-flap { from { transform: perspective(300px) rotateX(-70deg); } }
@media (prefers-reduced-motion: reduce) { .ap-flaps span, .ap-board-live span { animation: none; } }
.site .ap-board-name { margin: 14px 0 0; font: 500 14px/1.4 var(--sans, inherit); color: var(--text-2); }
.site .ap-board-rows { display: grid; gap: 0; margin: 16px 0 0; }
.ap-board-rows > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 10px 0; border-top: 1px dashed #ffffff1a; }
.ap-board-rows dt { font: 600 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.site .ap-board-rows dd { margin: 0; font: 600 15px/1.4 var(--mono); color: var(--text); overflow-wrap: anywhere; }
.ap-page .ap-board-rows code { padding: 0; background: none; font: 650 17px/1.3 var(--mono); color: var(--board); }
.ap-board-muted { color: var(--text-3); font-weight: 500; }
.ap-status { color: var(--board); }
.ap-status--good { color: #93e8b6; }
.ap-status--part { color: #f6cf7d; }
.ap-status--bad { color: #ff9e9e; }
.site .ap-board-cta { display: flex; justify-content: center; width: 100%; margin-top: 18px; }

/* Tiles and sign-in methods */
.ap-glance .fl-tile { justify-content: space-between; }
.ap-page .ap-tile-code code { padding: 0; background: none; font: 650 clamp(17px, 1.6vw, 21px)/1.3 var(--mono); color: var(--board); }
.ap-glance .fl-tile-value { font-size: clamp(19px, 1.8vw, 23px); overflow-wrap: anywhere; }
.ap-methods { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.ap-method { padding: 6px 12px; border: 1px solid #f7c35f40; border-radius: 999px; background: #f7c35f10; color: #ffe2a8; font: 600 13px var(--mono); }
.site .ap-lounge-h { margin-top: 24px; }
.ap-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin-top: 32px; }
.ap-airline-plain em { color: var(--text-3) !important; }
.ap-airline-plain:hover { transform: none; border-color: var(--border); }

/* Airport cards (hub regions and related) */
.ap-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin-top: 24px; }
.ap-card { display: flex; gap: 16px; min-width: 0; padding: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(180deg, #ffffff07, #ffffff02); transition: border-color .15s, transform .15s; }
.ap-card:hover { border-color: #f7c35f70; transform: translateY(-2px); color: inherit !important; }
.ap-card-code { flex: none; display: grid; place-items: center; width: 64px; height: 56px; border-radius: 12px; background: linear-gradient(180deg, #24262f 0 49.5%, #1b1d24 50.5% 100%); color: var(--board); font: 750 20px var(--mono); letter-spacing: .03em; box-shadow: inset 0 1px 0 #ffffff14; }
.ap-card-body { display: grid; gap: 4px; align-content: start; min-width: 0; }
.ap-card strong { font-size: 17px; font-weight: 640; line-height: 1.25; color: var(--text); }
.ap-card small { font-size: 13px; color: var(--text-3); }
.ap-page .ap-card code { justify-self: start; margin-top: 4px; padding: 1px 6px; font-size: 12px; color: #ffe2a8; }
.ap-card .fl-chip { align-items: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; font-size: 13px; line-height: 1.4; }
.ap-card .fl-dot { margin-top: .45em; width: 7px; height: 7px; }

/* Kilobat at the gate */
.ap-kilobat { padding-top: 110px; }
.ap-kilobat .hero-actions { justify-content: flex-start; margin-top: 26px; }
.ap-features { display: grid; gap: 18px; margin: 22px 0 0; padding: 0; list-style: none; }
.ap-features li { padding-inline-start: 16px; border-inline-start: 2px solid #f7c35f55; }
.site .ap-features h3 { font-size: 17px; font-weight: 640; color: var(--text); }
.site .ap-features p { margin-top: 6px; font-size: 15px; line-height: 1.6; color: var(--text-2); }
.ap-kilobat .uc-feature-visual { display: grid; gap: 14px; justify-items: center; }
.ap-menu { width: 100%; max-width: 380px; overflow: hidden; border: 1px solid #ffffff1f; border-radius: 14px; background: #1c1e26; box-shadow: 0 30px 60px -24px #000; }
.ap-menu-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid #ffffff12; font-size: 12px; color: var(--text-3); }
.ap-menu-bar span { width: 9px; height: 9px; border-radius: 50%; background: #ffffff1f; }
.ap-menu-bar b { margin-inline-start: auto; font-weight: 600; }
.ap-menu-body { display: grid; gap: 8px; padding: 14px; font-size: 13px; }
.site .ap-menu-body p { margin: 0; font-size: 13px; }
.ap-menu-net { display: flex; align-items: center; gap: 8px; color: var(--text); font-family: var(--mono); overflow-wrap: anywhere; }
.ap-menu-net svg { flex: none; color: var(--board); }
.ap-menu-ok { color: #93e8b6; font-weight: 600; }
.ap-menu-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 10px; border-radius: 8px; background: #ffffff08; color: var(--text-2); }
.ap-menu-row b { color: var(--text); font-weight: 600; }
.ap-menu-row i { font-style: normal; color: #f6cf7d; font-weight: 600; }
.ap-toast { display: flex; gap: 12px; width: 100%; max-width: 380px; padding: 12px 14px; border: 1px solid #ffffff1f; border-radius: 16px; background: #23252ef2; box-shadow: 0 24px 50px -20px #000; }
.ap-toast-icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: #111218; }
.ap-toast-icon svg { width: 22px; fill: var(--board); }
.site .ap-toast p { margin: 0; font-size: 13px; line-height: 1.4; color: var(--text-2); }
.site .ap-toast .ap-toast-app { font-size: 11px; color: var(--text-3); }
.ap-toast-app time { margin-inline-start: 6px; }
.site .ap-toast .ap-toast-title { color: var(--text); font-weight: 600; }

/* Hub: hero, map, search, table */
.ap-hub-hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); align-items: end; gap: 48px; margin-top: 20px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--border); border-radius: 28px; background: radial-gradient(60% 90% at 90% 0%, #f7c35f1f, transparent 70%), #0a0b0f; }
.site .ap-hub-hero h1 { max-width: 14ch; margin: 14px 0 0; font-size: clamp(40px, 6vw, 80px); font-weight: 690; line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.ap-hub-copy .hero-actions { justify-content: flex-start; margin-top: 28px; }
.site .ap-hub-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; }
.ap-hub-stats > div { padding: 16px; border-radius: 14px; background: linear-gradient(180deg, #24262f 0 49.5%, #1b1d24 50.5% 100%); box-shadow: inset 0 1px 0 #ffffff14; }
.ap-hub-stats dt { font: 600 11px var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--text-3); }
.site .ap-hub-stats dd { margin: 8px 0 0; font: 750 clamp(30px, 3.4vw, 44px)/1 var(--mono); color: var(--board); }
.ap-map { position: relative; margin: 16px 0 0; overflow: hidden; border: 1px solid var(--border); border-radius: 22px; background: #05050a; }
.ap-map svg { display: block; width: 100%; height: auto; }
.ap-dot circle { fill: #93e8b6; }
.ap-dot--part circle { fill: #f6cf7d; }
.ap-dot .ap-dot-ring { fill: transparent; stroke: currentColor; stroke-width: .35; color: #93e8b6; opacity: .7; transform-box: fill-box; transform-origin: center; animation: ap-ping 3s ease-out infinite; }
.ap-dot--part .ap-dot-ring { color: #f6cf7d; }
.ap-dot:hover circle:not(.ap-dot-ring), .ap-dot:focus-visible circle:not(.ap-dot-ring) { r: 1.8; }
.ap-dot:focus-visible { outline: none; }
.ap-dot:focus-visible .ap-dot-ring { stroke-width: .7; opacity: 1; }
@keyframes ap-ping { from { transform: scale(.5); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ap-dot .ap-dot-ring { animation: none; } }
.ap-map-label { fill: #ffe2a8; font: 600 3.4px var(--mono); paint-order: stroke; stroke: #05050a; stroke-width: .8; pointer-events: none; }
.ap-map figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding: 12px 18px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-3); }
.ap-key { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #93e8b6; }
.ap-key--part { background: #f6cf7d; }
.ap-map figcaption > span { display: inline-flex; align-items: center; gap: 8px; margin-inline-end: 14px; }

.ap-search-form { display: grid; gap: 10px; max-width: 640px; margin-top: 24px; }
.ap-search-form[hidden] { display: none; }
.ap-search-form input { width: 100%; padding: 16px 20px; border: 1px solid var(--border-strong, #ffffff26); border-radius: 16px; background: #0f1015; color: var(--text); font: 600 18px var(--mono); }
.ap-search-form input:focus-visible { outline: none; border-color: #f7c35fa0; box-shadow: 0 0 0 4px #f7c35f22; }
.site .ap-search-status { margin: 0; min-height: 1.4em; font-size: 14px; color: var(--text-3); }
.ap-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.ap-chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border: 1px solid var(--border); border-radius: 10px; background: #ffffff05; color: var(--text-2); font-size: 14px; transition: border-color .15s; }
.ap-chip b { padding: 3px 7px; border-radius: 6px; background: #f7c35f1a; color: var(--board); font: 700 13px var(--mono); }
.ap-chip:hover { border-color: #f7c35f70; color: var(--text) !important; }

.ap-table { min-width: 860px; }
.ap-table tbody th a { color: var(--text); font-weight: 600; }
.ap-table tbody th b { display: inline-block; min-width: 44px; color: var(--board); font: 700 14px var(--mono); }
.ap-table-methods { display: block; margin-top: 4px; font: 12px var(--mono); color: var(--text-3); }
.ap-table td { color: var(--text-2); }

@media (max-width: 900px) {
  .ap-hero, .ap-hub-hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 36px 28px; }
  .ap-kilobat { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
@media (max-width: 640px) {
  .ap-hero { margin-top: 12px; padding: 28px 18px; border-radius: 22px; }
  .ap-hub-hero { padding: 28px 18px; border-radius: 22px; }
  .ap-board { padding: 18px; }
  .ap-board-rows > div { grid-template-columns: 86px minmax(0, 1fr); }
  .ap-tips { grid-template-columns: minmax(0, 1fr); }
  .ap-table { min-width: 0; }
  .ap-map { margin-inline: 0; border-radius: 16px; }
  .ap-map-label { font-size: 5px; stroke-width: 1.1; }
}

/* Five tiles in a three-column grid: the last one takes the remaining two columns, so the row has no gap. */
@media (min-width: 901px) { .ap-glance > .fl-tile:nth-child(5):last-child { grid-column: span 2; } }
/* Country flags: a small badge on the card's code tile, and before the city on the gate board. */
.ap-card-code { position: relative; }
.ap-flag { position: absolute; right: -8px; bottom: -8px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #16171d; box-shadow: 0 0 0 1px var(--border); font: 400 17px/1 system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif; letter-spacing: 0; }
.ap-board-live .ap-board-flag { width: auto; height: auto; border-radius: 0; background: none; box-shadow: none; animation: none; font: 400 15px/1 system-ui, "Apple Color Emoji", "Segoe UI Emoji", sans-serif; }
.ap-page .ap-card code { max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
