/* v2.3: Presentation only; no SEO metadata or search logic. */
.amx-trip-planning, .amx-v17-airport-drive {box-sizing:border-box;max-width:100%;overflow-wrap:anywhere}
.amx-trip-planning a, .amx-v17-airport-drive a {text-underline-offset:3px}
.amx-trip-planning a:focus-visible,.amx-v17-airport-drive a:focus-visible {outline:3px solid #1d4ed8;outline-offset:3px;border-radius:3px}
.amx-trip-planning h2:before{content:'✦';color:#2563eb;font-size:.9em;margin-right:.45em}
.amx-trip-planning h3:first-child:before{content:'⌂';color:#2563eb;margin-right:.4em}
.amx-trip-planning>div>div:nth-child(2) h3:first-child:before{content:'Ⓟ';color:#2563eb;margin-right:.4em}
.amx-v17-airport-drive ul{padding-left:1rem}
.amx-route-destination-photo{margin:1.25rem 0 1.5rem}
.amx-route-destination-photo img{display:block;width:100%;max-height:360px;object-fit:cover;border-radius:14px}
.amx-route-destination-photo figcaption{font-size:.82rem;color:#64748b;margin-top:.45rem}
@media(max-width:600px){.amx-trip-planning,.amx-v17-airport-drive{padding:1rem!important;margin:1.2rem 0!important;border-radius:12px!important}.amx-trip-planning h2,.amx-v17-airport-drive h2{font-size:1.25rem!important}.amx-trip-planning>div{grid-template-columns:1fr!important}.amx-route-destination-photo img{max-height:220px}}

/* v2.4: compact editorial close and less visual noise */
.amx-v24-route-summary{margin:1.4rem 0;padding:1rem 1.15rem;background:#f8fafc;border-left:3px solid #2563eb;border-radius:0 10px 10px 0}
.amx-v24-route-summary h3{font-size:1.1rem;margin:0 0 .35rem}
.amx-v24-route-summary p{margin:.35rem 0;line-height:1.65}
.amx-v24-more-routes{font-size:.9rem}
.amx-route-destination-photo img{aspect-ratio:16/9;object-fit:cover}
@media(max-width:600px){.amx-v24-route-summary{padding:.85rem}.amx-route-destination-photo img{aspect-ratio:16/10}}

/* v2.5: Route-page visual refresh aligned to View My Trip. Presentation only. */
.amx-route-page{--amx-ink:#241c38;--amx-purple:#6f2bd9;--amx-soft:#f7f3fd;--amx-stroke:#e5dfee;color:var(--amx-ink)}
.amx-route-page>section:first-child{background:linear-gradient(135deg,#f5f0ff 0%,#eee8fc 52%,#eaf4ff 100%)!important;border-bottom:1px solid #e5dfee;padding-top:76px!important;padding-bottom:50px!important}
.amx-route-page>section:first-child h1{color:#241c38;font-weight:800;letter-spacing:-.035em;line-height:1.14!important}
.amx-route-page>section:first-child>div>p:nth-of-type(2){color:#655d73;opacity:1!important}
.amx-route-page>section:first-child>div>div:has(>form),.amx-route-page>section:first-child>div>div:has(.flight-search){border:1px solid #e5dfee}
.amx-route-page>section:nth-child(2){max-width:940px!important}
.amx-route-page>section:nth-child(2)>h2:first-child{font-weight:800;letter-spacing:-.02em;color:#241c38}
.amx-route-page>section:nth-child(2)>div:has(>h3:first-child){border-color:var(--amx-stroke)!important;box-shadow:0 10px 28px rgba(63,38,97,.065)!important}
.amx-route-page .amx-trip-planning{border:1px solid var(--amx-stroke)!important;background:#fff!important;border-radius:18px!important;box-shadow:0 10px 28px rgba(63,38,97,.05);padding:1.5rem!important}
.amx-route-page .amx-trip-planning h2{color:#241c38;letter-spacing:-.02em;font-weight:800}
.amx-route-page .amx-trip-planning h2:before{color:var(--amx-purple)}
.amx-route-page .amx-trip-planning h3:first-child:before,.amx-route-page .amx-trip-planning>div>div:nth-child(2) h3:first-child:before{color:var(--amx-purple)}
.amx-route-page .amx-trip-planning a,.amx-route-page .amx-v17-airport-drive a{color:#6429ae;text-underline-offset:3px}
.amx-route-page .amx-trip-planning a:focus-visible,.amx-route-page .amx-v17-airport-drive a:focus-visible{outline:3px solid var(--amx-purple);outline-offset:3px}
.amx-route-page .amx-v17-airport-drive{background:var(--amx-soft)!important;border:1px solid var(--amx-stroke)!important;border-radius:18px!important;padding:1.5rem!important}
.amx-route-page .amx-v17-airport-drive h2{color:#241c38;letter-spacing:-.02em}
.amx-route-page .amx-v24-route-summary{background:#f7f3fd;border:1px solid #e5dfee;border-left:4px solid var(--amx-purple);border-radius:12px;padding:1.1rem 1.3rem}
.amx-route-page .amx-v24-route-summary h3{color:#241c38}
.amx-route-page .amx-route-destination-photo img{border-radius:18px}
@media(max-width:600px){.amx-route-page>section:first-child{padding:58px 16px 32px!important}.amx-route-page>section:first-child h1{font-size:1.85rem!important}.amx-route-page>section:nth-child(2){margin:2rem auto!important;padding:0 1rem!important}.amx-route-page .amx-trip-planning,.amx-route-page .amx-v17-airport-drive{padding:1rem!important;border-radius:14px!important}.amx-route-page .amx-v24-route-summary{padding:1rem}}
@media(prefers-reduced-motion:no-preference){.amx-route-page .amx-trip-planning a,.amx-route-page .amx-v17-airport-drive a{transition:color .15s ease}}


/* v2.6: unified, scoped visual design across the entire flight-route template.
   No alterations to flight search, SEO metadata, routing, tracking or structured data. */
.amx-route-page{--amx-card-shadow:0 8px 26px rgba(54,31,88,.065);--amx-card-radius:18px;--amx-muted:#625b70}
.amx-route-page .amx-route-content{color:var(--amx-ink);line-height:1.72}
.amx-route-page .amx-route-content>h2:first-child{font-size:clamp(1.45rem,2.6vw,1.9rem)!important;line-height:1.3;margin-bottom:.8rem!important}
.amx-route-page .amx-route-content>p:first-of-type{font-size:1.025rem;color:var(--amx-muted);max-width:72ch}
.amx-route-page .amx-route-content h2,.amx-route-page .amx-route-content h3{color:var(--amx-ink);line-height:1.3}
.amx-route-page .amx-route-content a{color:#6228ad;text-underline-offset:3px}
.amx-route-page .amx-route-content a:focus-visible{outline:3px solid #6f2bd9;outline-offset:3px;border-radius:4px}
.amx-route-page .amx-route-editorial-card{background:#fff!important;border:1px solid var(--amx-stroke)!important;border-radius:var(--amx-card-radius)!important;box-shadow:var(--amx-card-shadow)!important;padding:clamp(1rem,2.5vw,1.6rem)!important}
.amx-route-page .amx-route-editorial-card>h3{font-size:1.2rem!important;margin-bottom:.75rem!important}
.amx-route-page .amx-route-related{border:1px solid var(--amx-stroke);background:#fbf9ff;border-radius:var(--amx-card-radius);padding:1.35rem 1.5rem;margin-top:1.7rem!important}
.amx-route-page .amx-route-related>h3{margin:0 0 .6rem!important}
.amx-route-page .amx-route-related>div{gap:.6rem!important}
.amx-route-page .amx-route-related>div>a{background:#fff!important;border:1px solid #e6dafa;border-radius:999px!important;color:#6228ad!important;padding:.45rem .8rem!important;transition:background-color .15s ease}
.amx-route-page .amx-route-related>div>a:hover{background:#eee5fb!important}
.amx-route-page .amx-route-faq{border-top:1px solid var(--amx-stroke);padding-top:1.5rem;margin-top:2.25rem!important}
.amx-route-page .amx-route-faq>h3{margin-bottom:1rem!important}
.amx-route-page .amx-route-faq-list{gap:.7rem!important}
.amx-route-page .amx-route-faq-list>div{border:1px solid var(--amx-stroke);border-radius:13px;padding:1rem 1.15rem;background:#fff}
.amx-route-page .amx-route-faq-list>div>p:first-child{color:var(--amx-ink);line-height:1.45}
.amx-route-page .amx-route-faq-list>div>p:last-child{color:var(--amx-muted);line-height:1.65}
.amx-route-page .amx-route-content .amx-v24-route-summary{margin-top:1.4rem!important}
.amx-route-page .amx-route-content .amx-trip-planning,.amx-route-page .amx-route-content .amx-v17-airport-drive{margin-top:1.35rem!important;margin-bottom:1.35rem!important}
.amx-route-page .amx-route-content :is(a,button,input,select){max-width:100%}
@media(max-width:640px){.amx-route-page .amx-route-content{padding:0 1rem!important;margin:2rem auto 3rem!important}.amx-route-page .amx-route-related{padding:1rem}.amx-route-page .amx-route-faq-list>div{padding:.9rem 1rem}.amx-route-page .amx-route-content>p:first-of-type{font-size:.98rem}}

/* v2.7: coherent narrative structure for the whole route template */
.amx-route-page .amx-v27-intro{margin:0 0 1.5rem}
.amx-route-page .amx-v27-intro h2{font-size:clamp(1.4rem,2.8vw,1.85rem);margin:.2rem 0 .6rem;line-height:1.28}
.amx-route-page .amx-v27-intro>p:last-child{color:#625b70;max-width:70ch;margin:0}
.amx-route-page .amx-v27-eyebrow{color:#6b35b4!important;font-size:.72rem!important;font-weight:800;letter-spacing:.13em;line-height:1.4;margin:0 0 .25rem!important}
.amx-route-page .amx-v27-chapter{border-top:1px solid #e8e0f1;padding:1.8rem 0 .6rem;margin:1.6rem 0 0}
.amx-route-page .amx-v27-chapter-heading{display:flex;align-items:flex-start;gap:1rem;margin:0 0 1.15rem}
.amx-route-page .amx-v27-chapter-heading h2{font-size:clamp(1.2rem,2.2vw,1.45rem);margin:0 0 .3rem;line-height:1.25}
.amx-route-page .amx-v27-chapter-heading p:last-child{font-size:.92rem;color:#625b70;margin:0}
.amx-route-page .amx-v27-chapter-icon{display:grid;place-items:center;flex:0 0 2.5rem;height:2.5rem;border-radius:12px;background:#efe8fa;color:#6f2bd9;font-size:1.15rem;font-weight:800}
.amx-route-page .amx-v27-chapter--planning{background:#faf8ff;border:1px solid #e8e0f1;border-radius:18px;padding:1.4rem;margin-top:2rem}
.amx-route-page .amx-v27-chapter--last{margin-top:1.7rem}
.amx-route-page .amx-v27-chapter .amx-route-faq{margin-top:0!important;padding-top:0;border-top:0}
.amx-route-page .amx-v27-chapter .amx-route-related{margin-top:1.6rem!important}
.amx-route-page .amx-v27-hero-browse{display:none}
@media(max-width:640px){.amx-route-page .amx-v27-chapter{padding-top:1.3rem;margin-top:1.2rem}.amx-route-page .amx-v27-chapter-heading{gap:.7rem}.amx-route-page .amx-v27-chapter-icon{flex-basis:2.15rem;height:2.15rem}.amx-route-page .amx-v27-chapter--planning{padding:1rem}}

/* v2.9: visual continuity with View My Trip; no layout shifts when media is absent. */
.amx-route-page .amx-v29-access-heading {display:flex;align-items:center;gap:.55rem;line-height:1.35}
.amx-route-page .amx-v29-access-icon {display:inline-flex;flex:none;align-items:center;justify-content:center;width:34px;height:34px;border-radius:10px;background:#f0e8fa;color:#6f2bd9}
.amx-route-page .amx-v29-access-icon svg {display:block}
.amx-route-page .amx-v29-partner-photo {display:block;width:100%;height:130px;object-fit:cover;border-radius:11px;margin:0 0 .9rem;aspect-ratio:16/6}
@media(max-width:600px){.amx-route-page .amx-v29-partner-photo{height:120px}}

/* v3.2: one shared ground-transport mode label inside Airport Access cards. */
.amx-route-page .amx-v32-transport-label{display:inline-flex;align-items:center;margin:0 0 .55rem!important;padding:.25rem .65rem;border-radius:999px;background:#f0e8fa;color:#5d269f;font-size:.82rem;font-weight:700;line-height:1.35;}

/* v3.3: airport access fallbacks and accessible driving icon */
.amx-route-page .amx-v33-access-fallback{padding:1rem;border-radius:12px;background:#faf8fe;border:1px solid #eee9f6;}
.amx-route-page .amx-v33-access-fallback p{margin:0 0 .6rem;}
.amx-route-page .amx-v33-access-fallback p:last-child{margin-bottom:0;}
.amx-route-page .amx-v33-fallback-note{font-size:.85rem;color:#655d73;}
.amx-route-page .amx-v33-car-icon{display:inline-block;vertical-align:-3px;margin-right:.25rem;flex:none;}

/* v3.4: compact accessible driving section title */
.amx-route-page .amx-v34-drive-heading{display:flex;align-items:center;gap:.65rem}
.amx-route-page .amx-v34-drive-heading svg{color:#6f2bd9;flex:none}
@media(max-width:640px){.amx-route-page .amx-v34-drive-heading{align-items:flex-start}.amx-route-page .amx-v34-drive-heading svg{margin-top:.1rem}}
