/* Airport pages (layoverlounges.com/<code>). Builds on styles.css variables. */
.ap [hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ap { max-width: var(--max); margin: 0 auto; padding: 40px 20px 120px; }
.ap section.terminal { padding: 0; margin-top: 48px; }

.ap__crumbs { margin: 0 0 10px; font-size: 14px; color: var(--muted); }
.ap__crumbs a { color: var(--blue); text-decoration: none; }
.ap__head h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.ap__name { margin: 10px 0 0; color: var(--muted); font-size: 16px; }
.ap__note { margin: 16px 0 0; max-width: 720px; padding: 12px 16px; background: var(--fill); border-radius: 14px; color: var(--body); font-size: 15px; }
.ap__note--zones { background: rgba(196, 127, 0, .09); color: #7a4f00; }

/* Filters: chips styled like the homepage region tabs, scroll sideways on phones. */
.ap__filters { position: sticky; top: 64px; z-index: 20; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 28px -20px 0; padding: 10px 20px; background: rgba(255, 255, 255, .9); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px); }
.chips--filter { display: flex; gap: 6px; padding: 4px; background: var(--fill); border-radius: 999px; overflow-x: auto; max-width: 100%; scrollbar-width: none; }
.chips--filter::-webkit-scrollbar { display: none; }
.chips--filter button { flex: none; border: 0; background: transparent; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); padding: 7px 14px; border-radius: 999px; white-space: nowrap; }
.chips--filter button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .08); }
.terminal-pick select { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--fill); border: 0; border-radius: 999px; padding: 9px 34px 9px 14px; appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 55%, calc(100% - 13px) 55%; background-size: 5px 5px; background-repeat: no-repeat; }
.ap__empty { margin: 40px 0; text-align: center; color: var(--muted); }

.terminal h2 { font-size: 24px; display: flex; align-items: baseline; gap: 10px; }
.terminal h2 span { font-size: 15px; font-weight: 600; color: var(--faint); letter-spacing: 0; }
.lounges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }

.lounge { border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: #fff; display: flex; flex-direction: column; scroll-margin-top: 140px; }
.lounge__photo { margin: 0; aspect-ratio: 16 / 10; background: var(--fill); }
.lounge__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lounge__ph { height: 100%; display: grid; place-items: center; padding: 20px; background: linear-gradient(135deg, var(--night), var(--night-2)); }
.lounge__ph span { color: #fff; font-size: 22px; font-weight: 700; letter-spacing: -0.01em; text-align: center; opacity: .92; }
.lounge__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.lounge__body > * { margin: 0; }
.lounge__op { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--faint); }
.lounge h3 { font-size: 21px; line-height: 1.2; margin-top: -4px; }
.lounge__badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--fill); color: var(--body); }
.badge--closed { background: rgba(196, 127, 0, .14); color: #7a4f00; }
.lounge__where { font-weight: 600; color: var(--body); font-size: 15px; }
.lounge__level { font-size: 14px; color: var(--muted); margin-top: -6px; }
.lounge__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lounge__facts div { background: var(--fill); border-radius: 12px; padding: 9px 12px; }
.lounge__facts dt { font-size: 12px; font-weight: 700; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.lounge__facts dd { margin: 2px 0 0; font-size: 15px; font-weight: 600; }
.lounge__access h4 { margin: 0 0 6px; font-size: 13px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.lounge__access .chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.lounge__access .chips li { font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(10, 124, 255, .09); color: #0058c4; }
.lounge__other { margin: 8px 0 0; padding-left: 18px; font-size: 14px; color: var(--body); }
.lounge__amenities { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--body); }
.lounge__amenities li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.lounge__dir summary { cursor: pointer; font-weight: 600; font-size: 15px; color: var(--blue); }
.lounge__dir ol { margin: 8px 0 0; padding-left: 20px; font-size: 14px; color: var(--body); }
.lounge__note { font-size: 14px; color: var(--muted); }
.lounge__credit { font-size: 12px; margin-top: auto; }
.lounge__credit a { color: var(--faint); text-decoration: none; }
.lounge__credit a:hover { text-decoration: underline; }

.ap__pitch { margin-top: 72px; padding: 44px; border-radius: var(--radius); background: var(--night); color: #fff; text-align: center; }
.ap__pitch h2 { font-size: clamp(26px, 3.4vw, 36px); }
.ap__pitch em { font-style: normal; color: var(--gate); }
.ap__pitch p { max-width: 560px; margin: 14px auto 24px; color: rgba(255, 255, 255, .78); }

.ap__related { margin-top: 56px; }
.ap__related h2 { font-size: 20px; }
.ap__related ul { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ap__related a { display: inline-flex; gap: 8px; align-items: baseline; padding: 9px 14px; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); text-decoration: none; font-size: 14px; }
.ap__related a b { color: var(--ink); font-size: 16px; }
.ap__related a:hover { border-color: #d1d1d6; }

/* Sticky download bar. */
.cta-bar { position: fixed; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 60; display: flex; align-items: center; gap: 16px; padding: 8px 8px 8px 20px; border-radius: 999px; background: rgba(11, 16, 32, .94); color: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, .22); width: max-content; max-width: calc(100% - 24px); }
.cta-bar p { margin: 0; font-size: 15px; font-weight: 600; }
.cta-bar em { font-style: normal; color: var(--gate); }
.cta-bar a { flex: none; background: var(--blue); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; padding: 9px 18px; border-radius: 999px; }

@media (max-width: 700px) {
  .ap { padding-top: 28px; }
  .lounges { grid-template-columns: 1fr; }
  .ap__filters { flex-wrap: nowrap; }
  .chips--filter { flex: 1; min-width: 0; }
  .ap__pitch { padding: 32px 22px; }
  .cta-bar p { font-size: 14px; }
}
@media (max-width: 420px) {
  .cta-bar p { font-size: 13px; }
  .cta-bar { gap: 10px; padding-left: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .lounge, .ap__related a { transition: none; }
}

/* Room for the fixed download bar under the footer. */
body.airport-page { padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
