/* Batch fixes: sliders without scrollbars, centred arrow and close buttons, flags, flying plane, wider counselling block, gentle Pilots Assist blue and red vibe. Loaded last. */

/* ---------- sliders: the arrows do the work, no scrollbar ---------- */
html body.us-page :is(.pa-ds-row,.pa-h-dcards,.us-rail,.pa-ds-tabs__list,[class*="__rail"]){scrollbar-width:none!important;-ms-overflow-style:none!important}
html body.us-page :is(.pa-ds-row,.pa-h-dcards,.us-rail,.pa-ds-tabs__list,[class*="__rail"])::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}

/* ---------- round arrow buttons, chevron drawn in CSS so it sits dead centre ---------- */
html body.us-page .pa-ds-arrows{display:flex;align-items:center;gap:10px}
html body.us-page button.pa-ds-arrow{position:relative;display:inline-block!important;width:44px!important;height:44px!important;min-width:44px;padding:0!important;margin:0;border-radius:50%!important;border:1.5px solid #d3dfe6!important;background:#fff!important;color:#16275e!important;font-size:0!important;line-height:0!important;box-shadow:0 8px 18px -12px rgba(30,59,91,.5);cursor:pointer;transition:border-color .18s,transform .18s,background .18s}
html body.us-page button.pa-ds-arrow::before{content:"";position:absolute;left:50%;top:50%;width:10px;height:10px;border-top:2.5px solid currentColor;border-right:2.5px solid currentColor;border-radius:1px}
html body.us-page button.pa-ds-arrow[data-pa-scroll="-1"]::before{transform:translate(-30%,-50%) rotate(-135deg)}
html body.us-page button.pa-ds-arrow[data-pa-scroll="1"]::before{transform:translate(-70%,-50%) rotate(45deg)}
html body.us-page button.pa-ds-arrow:hover:not([disabled]){border-color:#4a5fe0!important;transform:translateY(-2px)}
html body.us-page button.pa-ds-arrow[disabled]{opacity:.35;cursor:default}

/* ---------- close buttons: true circles, X dead centre ---------- */
html body.us-page :is(.pa-mobile__close,.pa-mega__close,.pa-cc__close,.pa-picker__close,.pa-drawer__close,button[class*="__close"],button[aria-label="Close"]){display:inline-flex!important;align-items:center;justify-content:center;width:44px!important;height:44px!important;min-width:44px;padding:0!important;border-radius:50%!important;line-height:1!important;aspect-ratio:1/1}
html body.us-page :is(.pa-mobile__close,.pa-mega__close,.pa-cc__close,.pa-picker__close,button[class*="__close"]) svg{width:20px;height:20px;display:block;margin:0}

/* ---------- testimonials: no play button ---------- */
html body.us-page .us-card__v i{display:none!important}

/* ---------- counselling block: wider ---------- */
html body.us-page .us-lead{max-width:min(940px,100% - 24px)!important}
html body.us-page .us-lead__top{padding:34px 24px 22px}
html body.us-page .us-lead__card{padding:30px clamp(18px,4vw,44px) 34px}
html body.us-page .us-lead .pa-fx.pa-fx{max-width:none!important}

/* ---------- training bases: flags with the name below ---------- */
html body.us-page .us-flags{display:flex;flex-wrap:wrap;justify-content:center;gap:28px clamp(18px,3vw,44px);max-width:1100px;margin:0 auto;padding:6px 20px}
html body.us-page .us-flag{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:104px;text-decoration:none}
html body.us-page .us-flag svg{display:block;width:84px;height:56px;border-radius:10px;box-shadow:0 12px 24px -14px rgba(30,59,91,.55),0 0 0 1px rgba(30,59,91,.1);transition:transform .25s}
html body.us-page .us-flag:hover svg{transform:translateY(-4px) rotate(-1.5deg)}
html body.us-page .us-flag span{font-size:14px;font-weight:600;color:#16275e;text-align:center;line-height:1.25}

/* ---------- journey: aircraft flying down the line ---------- */
html body.us-page .us-tl__fill{position:absolute;left:50%;top:0;width:3px;height:0;background:linear-gradient(#16275e,#4a5fe0);transform:translateX(-50%);border-radius:3px;z-index:0;transition:height .12s linear}
html body.us-page .us-tl__plane{position:absolute;left:50%;top:0;width:64px;height:64px;margin:-32px 0 0 -32px;z-index:3;pointer-events:none;will-change:top;filter:drop-shadow(0 10px 8px rgba(30,59,91,.28))}
html body.us-page .us-tl__plane svg{display:block;width:100%;height:100%;overflow:visible}
html body.us-page .us-tl__plane .nav-l{fill:#ff3b3b}
html body.us-page .us-tl__plane .nav-r{fill:#18c76b}
html body.us-page .us-tl__plane .strobe{fill:#fff;opacity:0;animation:usStrobe 1.5s infinite}
html body.us-page .us-tl__plane .strobe.r{animation-delay:.05s}
html body.us-page .us-tl__plane .glow{opacity:0;animation:usStrobe 1.5s infinite}
html body.us-page .us-tl__plane .glow.r{animation-delay:.05s}
@keyframes usStrobe{0%,6%{opacity:1}10%,16%{opacity:0}20%,26%{opacity:1}30%,100%{opacity:0}}
html body.us-page .us-tl__plane .tail{fill:#fff;opacity:.9;animation:usStrobe 1.5s .75s infinite}
@media(max-width:600px){html body.us-page .us-tl__fill,html body.us-page .us-tl__plane{left:18px}html body.us-page .us-tl__plane{width:60px;height:60px;margin:-30px 0 0 -30px}}
@media(prefers-reduced-motion:reduce){html body.us-page .us-tl__plane .strobe,html body.us-page .us-tl__plane .glow,html body.us-page .us-tl__plane .tail{animation:none;opacity:1}}

/* ---------- a gentle Pilots Assist vibe: soft blue and red where green and yellow were ---------- */
html body.us-page{--pa-sb:#4a5fe0;--pa-sb-d:#2f43c9;--pa-sr:#16275e;--pa-wash:linear-gradient(180deg,#f8faff,#edf1fb)}
/* washes */
html body.us-page :is(.us-hero,.us-panel,.eco-formsec,.pa-fx .pa-fx-head,.pa-fx.pa-fx .pa-fx-head){background:var(--pa-wash)!important}
html body.us-page .us-panel,html body.us-page .eco-formsec{background-color:#fbfbff!important}
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-q--cream:not(.pa-z0):not(.pa-zz),html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-h-sec{background-image:var(--pa-wash)!important;background-color:#fbfbff!important}
/* bars and rules */
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx::before{background:linear-gradient(90deg,var(--pa-sr),var(--pa-sb))}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-prog__bar i{background:linear-gradient(90deg,var(--pa-sr),var(--pa-sb))!important}
html body.us-page .us-st__dot{background:#eef0ff;border-color:#c9d0fb;color:#2f43c9}
html body.us-page .us-tl::before{background:#d6dbfb}
html body.us-page .us-hero__in .us-hero__k,html body.us-page .us-st em,html body.us-page .eco-formsec__k,html body.us-page .pa-fx-prog__t,html body.us-page :is(.pa-h-kick,.pa-q__kick){color:var(--pa-sb-d)!important}
html body.us-page .pa-q--green .pa-q__kick{color:#b9c3ff!important}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-title span{color:var(--pa-sb-d)!important}
html body.us-page .us-hero h1 em svg path{stroke:#7a89f0}
html body.us-page .us-search{border-color:#b8c2fb}
html body.us-page .us-search button{background:var(--pa-sb)}
html body.us-page .us-chip{border-color:#c9d0fb;box-shadow:0 4px 14px rgba(74,95,224,.14)}
html body.us-page .us-orbit::before{border-color:rgba(74,95,224,.3)}
html body.us-page .us-pill:hover,html body.us-page .us-st a:hover{border-color:var(--pa-sb)!important}
html body.us-page .us-st a{border-color:#9aa8f5}
html body.us-page .us-st a:hover{background:var(--pa-sb);color:#fff}
html body.us-page .us-lead__top{background:#eef2fc}
/* selected choices */
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-chip[aria-checked="true"],html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-chip.is-on,html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .elementor-field-type-radio .elementor-field-option input:checked+label,html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-lq__o input:checked+span{background:#eceeff!important;border-color:var(--pa-sb)!important;color:#2536a8!important}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-chip[aria-checked="true"]::after,html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-chip.is-on::after{background-color:var(--pa-sb);border-color:var(--pa-sb)}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx :is(input,select,textarea).elementor-field:focus{border-color:var(--pa-sb)!important;box-shadow:0 0 0 4px rgba(74,95,224,.16)!important}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .elementor-field-type-acceptance input[type=checkbox]{accent-color:var(--pa-sb)}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .elementor-field-type-acceptance a,html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .pa-fx-note a{color:var(--pa-sb-d)!important}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .us-fx-sum{background:#f3f4ff;border-color:#d4daff}
html body.us-page:is(#pa-x,.us-page) .pa-fx.pa-fx .us-fx-sum span{color:#2536a8;border-color:#d4daff}
/* banners */
html body.us-page .us-promo__in{background:linear-gradient(98deg,#0f1b45 0%,#1f2f9e 55%,#3b52dc 100%)}
html body.us-page .eco-cta__in{background:linear-gradient(98deg,#0f1b45 0%,#1f2f9e 55%,#3b52dc 100%)}
/* become a pilot: highlight chips and the amber statement soften to blush and periwinkle */
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-q__h em{background:#f1bc19!important;color:#0f1b45!important;-webkit-text-fill-color:#0f1b45!important}
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-q--green .pa-q__h em{background:#cdd4ff!important;color:#17205e!important;-webkit-text-fill-color:#17205e!important}
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-q--green:not(.pa-z0):not(.pa-zz) .pa-q__big{color:#b9c3ff!important}
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-q--lime:not(.pa-z0):not(.pa-zz){background:#f1bc19!important}
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-q--lime .pa-q__h em{background:#0f1b45!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
html body:is(#pa-x,.page-id-560) .pa-h.pa-pp:not(.pa-z0) .pa-h-n{background:#dfe3ff!important;color:#2536a8!important;border-color:#b9c3ff!important}
html body.us-page .us-tl__plane svg path,html body.us-page .us-tl__plane svg ellipse{stroke:#52648e!important;stroke-width:1px!important}
html body.us-page .us-tl__plane svg path:nth-of-type(-n+4){fill:#d5def0!important}
html body.us-page .us-lead__card{padding:22px 0 0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html body.us-page .us-lead__top{border-radius:18px!important}
html body.us-page .us-lead__card h3{margin-bottom:18px}

/* ---------- reading rhythm: space between headings, paragraphs, lists and sections, site wide ---------- */
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-card,.pa-ds-body,.elementor-widget-text-editor,.elementor-widget-container,.pa-jx-content,.pa-lp-icard,.eco-formsec__h,.entry-content,.pa-local,.pa-more,.cl-final,.cl-brief,.cl-cityfaq,.pa-ds-faq__a,.pa-in-check):not(.pa-h *):not(.pa-q *):not(.pa-fx *):not(.pa-header *):not(.pa-footer *):not(.pa-mega *):not(.pa-mobile *) :is(h2,h3,h4,h5){line-height:1.22}
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-card,.pa-ds-body,.elementor-widget-text-editor,.elementor-widget-container,.pa-jx-content,.pa-lp-icard,.eco-formsec__h,.entry-content,.pa-local,.pa-more,.cl-final,.cl-brief,.cl-cityfaq,.pa-in-check):not(.pa-h *):not(.pa-q *):not(.pa-fx *):not(.pa-header *):not(.pa-footer *):not(.pa-mega *):not(.pa-mobile *) :is(h1,h2,h3,h4,h5)+:is(p,ul,ol,dl,table,figure,blockquote){margin-top:.7em}
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-card,.pa-ds-body,.elementor-widget-text-editor,.elementor-widget-container,.pa-jx-content,.pa-lp-icard,.entry-content,.pa-local,.pa-more,.cl-final,.cl-brief,.cl-cityfaq,.pa-in-check):not(.pa-h *):not(.pa-q *):not(.pa-fx *):not(.pa-header *):not(.pa-footer *):not(.pa-mega *):not(.pa-mobile *) :is(p,ul,ol,dl)+:is(p,ul,ol,dl,blockquote){margin-top:1em}
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-card,.pa-ds-body,.elementor-widget-text-editor,.elementor-widget-container,.pa-jx-content,.entry-content,.pa-local,.pa-more,.cl-final,.cl-brief,.cl-cityfaq):not(.pa-h *):not(.pa-q *):not(.pa-fx *):not(.pa-header *):not(.pa-footer *):not(.pa-mega *):not(.pa-mobile *) :is(p,ul,ol,dl,table,blockquote)+h2{margin-top:2em}
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-card,.pa-ds-body,.elementor-widget-text-editor,.elementor-widget-container,.pa-jx-content,.entry-content,.pa-local,.pa-more,.cl-final,.cl-brief,.cl-cityfaq):not(.pa-h *):not(.pa-q *):not(.pa-fx *):not(.pa-header *):not(.pa-footer *):not(.pa-mega *):not(.pa-mobile *) :is(p,ul,ol,dl,table,blockquote)+:is(h3,h4,h5){margin-top:1.5em}
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-body,.elementor-widget-text-editor,.pa-jx-content,.entry-content,.pa-local,.pa-more,.cl-cityfaq) :is(ul,ol):not(.pa-ds-row):not([class*="list"]):not([class*="nav"]) li+li{margin-top:.45em}
html body.us-page :is(.pa-conv__note,.pa-ds-mod,.pa-ds-body,.elementor-widget-text-editor,.pa-jx-content,.entry-content) :is(ul,ol):not([class*="nav"]):not([class*="tabs"]){padding-inline-start:1.3em;list-style-position:outside}
html body.us-page .pa-conv__note{padding:clamp(22px,3vw,36px)}
html body.us-page .pa-conv__note>*:last-child{margin-bottom:0}
/* cards and sections get breathing room between blocks */
html body.us-page :is(.pa-ds-mod,.pa-ds-sec)+:is(.pa-ds-mod,.pa-ds-sec){margin-top:clamp(20px,3vw,40px)}
html body.us-page .pa-ds-body>*+*{margin-top:clamp(18px,2.4vw,32px)}

/* testimonial tiles: Pilots Assist blue, no green */
html body.us-page .us-card__v{background:linear-gradient(110deg,#1f2fa8 0%,#3b52dc 56%,#aeb4d6 56.2%)!important}

/* hero pilot photo (white studio background blends into the pale hero) */
html body.us-page .us-hero .us-person{right:max(2.5vw,16px)!important;bottom:0!important;height:min(700px,86vh)!important;width:min(41vw,560px)!important;-webkit-mask-image:linear-gradient(to bottom,#000 86%,transparent 100%)!important;mask-image:linear-gradient(to bottom,#000 86%,transparent 100%)!important;-webkit-mask-composite:source-over!important;mask-composite:add!important}
html body.us-page .us-hero .us-person img{filter:none!important;object-fit:contain!important;object-position:50% 100%!important;mix-blend-mode:multiply}
@media(max-width:900px){html body.us-page .us-hero .us-person{position:relative!important;right:auto!important;margin:24px auto 0!important;width:min(86vw,380px)!important;height:auto!important;aspect-ratio:1131/1413}}
html body.us-page .us-hero .us-person{right:max(.5vw,0px)!important;width:min(33.5vw,520px)!important;height:auto!important;aspect-ratio:1131/1413}
@media(min-width:901px) and (max-width:1180px){html body.us-page .us-hero .us-person{width:30vw!important;opacity:.95}}

/* ---------- round buttons stay round everywhere (never squeezed into ovals) ---------- */
html body.us-page :is(.us-search button,.us-cta u,.pa-ds-arrow,.pa-mobile__close,.pa-h-arw,.pa-float__btn,.pa-ccfab,.pa-ccfab__btn,.us-st__dot,.us-chip i,.pa-h-n,.pa-ds-steps__n,button[class*="__close"],[class*="__ico"]:not(svg),.pa-fx-chip__q,.pa-fx-chip img){flex:none!important;aspect-ratio:1/1}
html body.us-page .us-search button{width:46px!important;height:46px!important;min-width:46px!important;padding:0!important;border-radius:50%!important;display:inline-flex!important;align-items:center;justify-content:center}
html body.us-page .us-search svg{width:20px;height:20px;flex:none}
html body.us-page .us-cta u{width:34px!important;height:34px!important;min-width:34px;border-radius:50%!important}

/* ---------- hero path: the dotted line runs along the left edge of every chip, with a node dot at each chip ---------- */
html body.us-page .us-orbit::before{left:-435px!important;top:-10px!important;width:530px!important;height:620px!important;border:2px dashed rgba(47,67,201,.38)!important;border-radius:50%!important}
html body.us-page .us-orbit{z-index:2}
html body.us-page .us-chip{background:#fff!important;z-index:2}
html body.us-page .us-chip::before{content:"";position:absolute;left:-7px;top:50%;width:12px;height:12px;margin-top:-6px;border-radius:50%;background:#2f43c9;box-shadow:0 0 0 4px rgba(47,67,201,.18);z-index:3}
html body.us-page .us-chip:nth-child(1){left:21px!important}
html body.us-page .us-chip:nth-child(2){left:75px!important}
html body.us-page .us-chip:nth-child(3){left:94px!important}
html body.us-page .us-chip:nth-child(4){left:87px!important}
html body.us-page .us-chip:nth-child(5){left:52px!important}
@media(max-width:900px){html body.us-page .us-hero .us-person{width:min(100%,460px)!important;margin:10px auto 0!important}}

/* ---------- hero background: cockpit photo, full cover, framed with soft light behind the text and the pilot ---------- */
html body.us-page:is(#pa-x,.us-page) .us-hero.us-hero{background-color:#f4f7ff!important;background-image:
 radial-gradient(ellipse 30% 58% at 50% 50%,rgba(250,252,255,.93) 0%,rgba(250,252,255,.8) 55%,rgba(250,252,255,0) 100%),
 radial-gradient(ellipse 24% 66% at 84% 78%,rgba(255,255,255,.92) 0%,rgba(255,255,255,.7) 55%,rgba(255,255,255,0) 100%),
 linear-gradient(90deg,rgba(246,249,255,.7) 0%,rgba(246,249,255,.5) 45%,rgba(246,249,255,.42) 100%),
 url("/wp-content/uploads/2026/11/pahome-cockpit-bg.webp")!important;background-repeat:no-repeat!important;background-size:auto,auto,auto,cover!important;background-position:0 0,0 0,0 0,62% 38%!important}
html body.us-page .us-hero__k,html body.us-page .us-hero h1,html body.us-page .us-hero__line,html body.us-page .us-stats b,html body.us-page .us-stats span{text-shadow:0 1px 14px rgba(250,252,255,.9)}
@media(max-width:900px){html body.us-page:is(#pa-x,.us-page) .us-hero.us-hero{background-image:linear-gradient(180deg,rgba(248,250,255,.82) 0%,rgba(248,250,255,.72) 60%,rgba(248,250,255,.55) 100%),url("/wp-content/uploads/2026/11/pahome-cockpit-bg.webp")!important;background-size:auto,cover!important;background-position:0 0,60% 40%!important}}

/* v2: let the cockpit photo show clearly; the light patches stay only where the text and the pilot sit */
html body.us-page:is(#pa-x,.us-page) .us-hero.us-hero{background-image:
 radial-gradient(ellipse 27% 54% at 50% 52%,rgba(250,252,255,.94) 0%,rgba(250,252,255,.72) 58%,rgba(250,252,255,0) 100%),
 radial-gradient(ellipse 17% 64% at 84% 74%,rgba(255,255,255,.9) 0%,rgba(255,255,255,.55) 60%,rgba(255,255,255,0) 100%),
 linear-gradient(90deg,rgba(246,249,255,.3) 0%,rgba(246,249,255,.14) 50%,rgba(246,249,255,.08) 100%),
 url("/wp-content/uploads/2026/11/pahome-cockpit-bg.webp")!important;background-position:0 0,0 0,0 0,60% 40%!important}
@media(max-width:900px){html body.us-page:is(#pa-x,.us-page) .us-hero.us-hero{background-image:linear-gradient(180deg,rgba(248,250,255,.72) 0%,rgba(248,250,255,.55) 55%,rgba(248,250,255,.3) 100%),url("/wp-content/uploads/2026/11/pahome-cockpit-bg.webp")!important}}
