*{box-sizing:border-box}body{margin:0;font:16px/1.5 system-ui,sans-serif;color:#10294a;background:#f5f7fb}header{background:#0b2548;display:flex;align-items:center;justify-content:space-between;padding:18px 5%;gap:20px;flex-wrap:wrap}header img{width:150px}nav{display:flex;gap:24px;flex-wrap:wrap}nav a{color:white;text-decoration:none}nav a[aria-current]{border-bottom:2px solid #65c5f5}main{max-width:1280px;margin:40px auto;padding:0 24px;min-height:300px}.filters{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:white;padding:20px;border:1px solid #dce5ef;border-radius:12px;margin-bottom:32px}input,select{font:inherit;padding:12px;border:1px solid #bacbdc;border-radius:7px;min-width:0}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}article{background:white;border:1px solid #dce5ef;border-radius:12px;overflow:hidden;box-shadow:0 8px 25px #0b25480d}.banner{height:210px;position:relative;background:linear-gradient(135deg,#0b2548,#17669c)}.banner img{width:100%;height:100%;object-fit:cover}.state,.type{position:absolute;top:14px;background:#0b2548;color:white;border-radius:20px;padding:5px 12px;font-size:12px}.state{left:14px}.type{right:14px}.content{padding:22px}.content h2{margin:0;font-size:21px}.content p{color:#53677d;font-size:14px}.summary{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.full{white-space:pre-wrap}summary,button{cursor:pointer;background:#07569b;color:white;padding:11px 16px;border:0;border-radius:7px;font:inherit;font-weight:600}footer{text-align:center;background:#0b2548;color:white;padding:20px}[hidden]{display:none!important}@media(max-width:900px){.cards{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.cards,.filters{grid-template-columns:1fr}}
body{min-height:100vh;display:flex;flex-direction:column}main{width:100%;flex:1}footer{margin-top:auto;background:#0b2548;padding:12px 20px;font-size:12px}footer a{color:inherit;font-weight:700;text-decoration:none}footer a:hover{text-decoration:underline}
.event-actions{display:flex;gap:8px;flex-wrap:wrap}.event-actions>*{flex:1;text-align:center;white-space:nowrap;font-size:14px}.event-link{display:block;border:1px solid #07569b;color:#07569b;border-radius:7px;padding:10px;text-decoration:none;font-weight:600}.event-modal{padding:0;border:0;border-radius:16px;width:min(860px,calc(100% - 32px));max-height:90dvh;color:#10294a;box-shadow:0 20px 70px #0005}.event-modal::backdrop{background:#071b32b0;backdrop-filter:blur(4px)}.modal-banner{position:relative;background:#0b2548}.modal-banner img{display:block;width:100%;max-height:320px;object-fit:contain}.modal-body{padding:26px}.modal-body h2{font-size:26px}.modal-body h3{margin-bottom:6px}.modal-body p{font-size:16px;overflow-wrap:anywhere}.modal-footer{display:flex;justify-content:center;border-top:1px solid #dce5ef;margin-top:24px;padding-top:20px}body:has(dialog[open]){overflow:hidden}

.hero{background:#0c2748;color:#fff;padding:28px 24px 20px}.hero-inner{max-width:1232px;margin:0 auto}.hero-top{display:flex;align-items:center;justify-content:space-between;gap:24px}.hero small{display:block;color:#8ac9ef;font-size:12px;font-weight:600;letter-spacing:2px}.hero h1{font-size:clamp(30px,4vw,46px);line-height:1.15;margin:8px 0}.hero p{margin:0;color:#d2e2f2;font-size:16px}.hero-plane{width:64px;height:64px;color:#8ac9ef;flex:none}.hero-meta{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid #355675;margin-top:22px;padding-top:14px;color:#d2e2f2;font-size:13px}.hero-meta span{white-space:nowrap}@media(max-width:600px){.hero{padding:22px 24px 16px}.hero-plane{width:42px;height:42px}.hero-meta{justify-content:flex-start;column-gap:18px}.hero p{font-size:14px}}

/* AEA 1.1.55: public events only */
.hero{background:linear-gradient(112deg,#0b2343 0%,#064b85 58%,#008fc5 100%);padding:30px 24px 20px}.hero-plane{color:#d9f3ff;width:76px;height:76px;transform:rotate(35deg);margin-right:12px}.hero-meta{border-color:#ffffff38}.banner{height:auto;aspect-ratio:16/9}.banner img{display:block;object-fit:contain}.state.is-live{background:#08764c;display:inline-flex;align-items:center;gap:7px}.is-live::before{content:"";width:7px;height:7px;border-radius:50%;background:#c1ffdb;animation:aea-pulse 1.8s infinite}.state.is-ended{background:#475569}.state.is-upcoming{background:#07569b}@keyframes aea-pulse{0%,100%{opacity:1}50%{opacity:.35}}@media(prefers-reduced-motion:reduce){.is-live::before{animation:none}}.event-actions>*{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px}.event-actions svg{width:17px;height:17px;flex:none}.event-date{font-variant-numeric:tabular-nums}.event-actions button:hover{background:#06447b}.event-link:hover{background:#edf6ff}@media(max-width:600px){.hero-plane{width:48px;height:48px;margin-right:4px}.hero{padding:22px 24px 16px}}
/* 1.1.56 — Boarding Pass, scoped to details dialog */
.event-modal{width:min(780px,calc(100% - 32px));max-height:92dvh}.event-modal .bp-head{display:flex;align-items:center;gap:14px;padding:18px 26px;background:linear-gradient(110deg,#0b2548,#07569b);color:white}.bp-head svg{width:30px;height:30px;flex:none}.bp-head div{flex:1}.bp-head strong,.bp-head small{display:block}.bp-head small{color:#c3dff5;font-size:12px}.bp-head button{background:#ffffff18;padding:2px 12px;font-size:25px;line-height:1.4}.event-modal .bp-body{padding:22px 26px}.bp-body h2{margin:0 0 8px;line-height:1.2}.bp-meta{display:flex;align-items:center;gap:12px;font-size:13px;color:#53677d;margin-bottom:16px}.bp-meta .state{position:static;background:#475569}.bp-meta .state.is-live{background:#08764c}.bp-meta .state.is-upcoming{background:#07569b}.bp-image{background:#eef3f8;border-radius:10px;overflow:hidden}.bp-image img{display:block;width:100%;height:auto;max-height:240px;object-fit:contain}.bp-ticket{margin:16px 0;background:linear-gradient(120deg,#0b2548,#124c79);color:white;border-radius:12px;padding:18px 20px}.bp-route,.bp-stats{display:flex;justify-content:space-between;align-items:center;gap:16px}.bp-route svg{width:100px;max-width:25%;flex:none}.bp-route>div:last-child,.bp-stats>div:last-child{text-align:right}.bp-ticket small{display:block;color:#b8d9f0;font-size:10px;letter-spacing:1px}.bp-route strong{font-size:30px}.bp-stats strong{font-size:14px}.bp-route+.bp-stats{border-top:1px dashed #ffffff55;margin-top:12px;padding-top:12px}.bp-body h3{font-size:17px;margin:16px 0 4px}.bp-body p{margin:4px 0 12px;font-size:14px;color:#53677d}.bp-body>a{color:#07569b;font-weight:600}.event-modal .modal-footer{justify-content:flex-end;gap:10px;margin-top:16px;padding-top:14px}.event-modal .modal-footer button{background:#eef3f8;color:#10294a}.event-modal .modal-footer .event-link{background:#07569b;color:white}.event-modal button:focus-visible,.event-modal a:focus-visible{outline:3px solid #68b7ef;outline-offset:2px}@media(max-width:480px){.event-modal .bp-head,.event-modal .bp-body{padding:16px}.bp-ticket{padding:14px}.bp-route strong{font-size:24px}.bp-stats strong{font-size:12px}.bp-image img{max-height:190px}}

/* 1.1.57 — Boarding Pass route icon only */
.event-modal .bp-route svg{width:160px;max-width:36%;height:auto;display:block}.event-modal .bp-route>div{flex:1;min-width:0}.event-modal .bp-route{gap:12px}@media(max-width:480px){.event-modal .bp-route svg{width:100px;max-width:32%}.event-modal .bp-route{gap:8px}}

/* 1.1.58 - Continuous flight, modal route icon only */
.event-modal .bp-flight-motion{transform:translate(100px,32px)}
.event-modal[open] .bp-flight-motion{animation:aea-route-flight 4s linear infinite}
@keyframes aea-route-flight{0%{transform:translate(24px,32px);opacity:0}12%{opacity:1}88%{opacity:1}100%{transform:translate(176px,32px);opacity:0}}
@media(prefers-reduced-motion:reduce){.event-modal[open] .bp-flight-motion{animation:none}}

.state.is-cancelled{background:#a32222;color:#fff}.state.is-ended{background:#526477;color:#fff}

/* 1.1.61 — Responsive layout and native scrolling */
html{scrollbar-width:thin;scrollbar-color:#91a7bb #eef3f8}
body{min-width:0;min-height:100vh;min-height:100dvh;overflow-wrap:anywhere}
header,.hero,main,footer{width:100%;min-width:0;flex-shrink:0}
main{flex:1 0 auto;min-height:0;margin:28px auto;padding-inline:24px}
header>a{display:block;max-width:100%}header img{display:block;max-width:100%;height:auto}
nav,.hero-top>div,.cards>article,.filters>*{min-width:0}
.filters>*{width:100%;max-width:100%}
.event-actions>*{min-width:0;white-space:normal}
.event-modal{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}
@media(max-width:600px){
 header{padding:14px 16px;gap:12px;justify-content:center}
 nav{justify-content:center;gap:8px 18px;font-size:14px}
 .hero{padding:20px 16px 16px}.hero-top{gap:12px}.hero-plane{width:40px;height:40px;margin-right:0}
 .hero h1{font-size:30px}.hero-meta{margin-top:16px;padding-top:10px;gap:8px 14px;font-size:12px}.hero-meta span{white-space:normal}
 main{margin:20px auto;padding-inline:16px}.filters{padding:12px;gap:10px;margin-bottom:20px}.filters input,.filters select{padding:10px}
 .cards{gap:16px}.content{padding:16px}.content h2{font-size:20px}
 .event-actions>*{flex:1 1 120px;padding:10px 8px}
}
