/* Flight search: one predictable layout per width band, at any viewport height
   or browser zoom (zoom only changes the CSS viewport).
   - >=1200px: the approved single row (1440 design), fields share the width.
   - 992-1199px: the existing compact single row (compact-desktop-scale.css).
   - 768-991px: three columns, two rows, full-width button.
   - <768px: the mobile stack; on very narrow phones date and time stack too.
   Loaded after compact-desktop-scale.css; the repeated attribute only raises
   specificity above the earlier review layers. */

/* The legacy flex banners otherwise size this container from the heading. */
html#insijets-radius-preview body[data-site-compact-scale] .section-banner>.container-1340:has(>.banner-form-block>form[data-flight-search]) {
 inline-size:100%!important;
 min-inline-size:0;
}

@media (min-width:1200px){
 /* A short viewport (e.g. 1366x768 laptop, or 125-150% zoom) previously
    switched to a 3+3 grid with a stray left-aligned button. One row is
    shorter than that grid, so keep the design row at every height. */
 html#insijets-radius-preview body[data-site-compact-scale] .banner-form-block:has(form[data-flight-search]){padding:24px!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search]{display:flex!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important;gap:0!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search]>.banner-form-inner{display:flex!important;flex:1 1 auto!important;flex-wrap:nowrap!important;gap:clamp(12px,1.39vw,20px)!important;width:auto!important;max-width:1045px!important;min-width:0!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search] .banner-fields-wrap{flex:1 1 0!important;width:auto!important;inline-size:auto!important;min-width:0!important;max-width:140px!important}
 /* The native date field keeps its 1440 width so "mm/dd/yyyy" is never cut. */
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search] .banner-fields-wrap:has(input[type=date]){flex:0 0 140px!important;min-width:140px!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search] .banner-fields-divider{display:block!important;flex:0 0 1px!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search]>.gradient-button-border{flex:0 0 auto!important;width:auto!important;max-width:none!important;margin:0 0 0 clamp(16px,2.3vw,33px)!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search] [data-luca-glass-search]{min-height:58px!important;padding-block:14px!important;white-space:nowrap!important}
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search]>:is([data-journey-extra],.app-status){flex:1 0 100%!important}
 html[dir=rtl]#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search]>.gradient-button-border{margin:0 clamp(16px,2.3vw,33px) 0 0!important}
}
/* Multi-leg adds rows under the fields; let the row wrap only for them. */
@media (min-width:1200px){
 html#insijets-radius-preview body[data-site-compact-scale] form[data-flight-search][data-flight-search][data-flight-search]:has(>[data-journey-extra]:not([hidden])){flex-wrap:wrap!important;row-gap:16px!important}
}

/* Very narrow phones (320px): keep the two-column rows, but tighten the gap
   and the date icon allowance so "mm/dd/yyyy" is not cut. */
@media (max-width:345px){
 html#insijets-radius-preview body form[data-flight-search][data-flight-search][data-flight-search]>.banner-form-inner{column-gap:12px!important}
 html#insijets-radius-preview body form[data-flight-search][data-flight-search][data-flight-search] input[type=date]{padding-inline-end:20px!important;font-size:15px!important;letter-spacing:-.1px!important}
 html#insijets-radius-preview body form[data-flight-search][data-flight-search][data-flight-search] .banner-fields-wrap:not(.mob-w-100){flex:0 0 calc(50% - 6px)!important;width:calc(50% - 6px)!important;max-width:none!important}
}

/* Passengers: the count is typed directly as well as stepped with - / +. */
html#insijets-radius-preview body .passengers-field-flex input[name="passengers"][data-passenger-editable]{pointer-events:auto!important;cursor:text!important;-moz-appearance:textfield!important;appearance:textfield!important;border-radius:4px}
html#insijets-radius-preview body .passengers-field-flex input[name="passengers"][data-passenger-editable]::-webkit-inner-spin-button,html#insijets-radius-preview body .passengers-field-flex input[name="passengers"][data-passenger-editable]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
html#insijets-radius-preview body .passengers-field-flex input[name="passengers"][data-passenger-editable]:focus-visible{outline:2px solid #9d7b44!important;outline-offset:2px}

/* Professional finish (2026-11-16): same structure and colours, with a
   softer card, eyebrow-style labels, muted placeholders and a quiet hover /
   focus surface per field. */
html#insijets-radius-preview body .banner-form-block:has(form[data-flight-search]){--flight-search-radius:14px;border-radius:var(--flight-search-radius)!important;box-shadow:0 1px 2px #1724410f,0 18px 48px -12px #1724413d!important}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] .banner-form-label{text-transform:uppercase!important;letter-spacing:.09em!important;font-weight:600!important;font-size:11px!important;line-height:16px!important;color:#7a6440!important;margin-bottom:6px!important;white-space:nowrap!important}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(.banner-fields-wrap,[data-journey-field]){position:relative;isolation:isolate}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(.banner-fields-wrap,[data-journey-field])::before{content:"";position:absolute;inset:-8px -10px;z-index:-1;border-radius:10px;background:transparent;transition:background-color .18s ease}
@media(max-width:1199px){
 html#insijets-radius-preview body form[data-flight-search][data-flight-search] .banner-fields-wrap::before{inset-inline:-3px}
}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] [data-journey-field]::before{inset:-6px 4px;pointer-events:none}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(.banner-fields-wrap,[data-journey-field]):hover::before{background:#f6f3ee}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(.banner-fields-wrap,[data-journey-field]):focus-within::before{background:#f3efe8;box-shadow:inset 0 0 0 1px #e4dccf}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(select.banner-fields,input.banner-fields){font-weight:500!important;background-color:transparent!important}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(input.banner-fields,[data-journey-field] input[type=text])::placeholder{color:#8b93a5!important;opacity:1!important;font-weight:400!important}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] input[type=date]:invalid::-webkit-datetime-edit{color:#8b93a5;font-weight:400}
@media (min-width:1200px){html#insijets-radius-preview body form[data-flight-search][data-flight-search] .banner-fields-divider{align-self:center!important;height:36px!important;min-height:0!important}}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] select.banner-fields{padding-inline-start:0!important;text-indent:0!important}
html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(select,input):focus-visible{outline:none!important}
@media (prefers-reduced-motion:reduce){html#insijets-radius-preview body form[data-flight-search][data-flight-search] :is(.banner-fields-wrap,[data-journey-field])::before{transition:none}}
/* Trip type: same thin chevron and left edge as the airport fields (the native
   select arrow and inner padding differ per browser). */
html#insijets-radius-preview body form[data-flight-search][data-flight-search] select.banner-fields{-webkit-appearance:none!important;appearance:none!important;padding-inline-end:24px!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23172441'/%3E%3C/svg%3E") no-repeat right 2px center/16px 16px!important;cursor:pointer}
html[dir=rtl]#insijets-radius-preview body form[data-flight-search][data-flight-search] select.banner-fields{padding-inline-end:24px!important;background-position:left 2px center!important}
@media (max-width:991px){html#insijets-radius-preview body form[data-flight-search][data-flight-search] .banner-fields-divider{display:none!important}}

/* Tablet (768-991px): four-column card grids ran past the right edge and made
   the whole page scroll sideways (cabin-size cards, charter "approach" cards). */
@media (min-width:768px) and (max-width:991px){
 html#insijets-radius-preview body .private-jets-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html#insijets-radius-preview body .section-who-flies .aircraft-model-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* Footer, 992-1279px (small laptops or zoomed): the address column was ~150px
   wide and broke "SOHO – The Strand" and the New York address into stubs. */
@media (min-width:992px) and (max-width:1279px){
 html#insijets-radius-preview body .footer-menu-wrapper{gap:32px!important}
 html#insijets-radius-preview body .footer-menu-wrapper>.footer-menu-wrap{flex:1 1 0!important;min-width:0!important;width:auto!important}
 html#insijets-radius-preview body .footer-menu-wrapper>.footer-menu-wrap:nth-child(5){flex:1.9 1 0!important}
 html#insijets-radius-preview body .footer-menu-wrapper>.footer-social-wrap{flex:0 0 auto!important}
}

/* About: the three region cards (Europe, Middle East, Transatlantic) kept their
   200px width when the section stacked, leaving a third of the row empty.
   992-1199px keeps the desktop side-by-side layout; below that the cards
   share the full width. */
@media (min-width:992px) and (max-width:1199px){
 html#insijets-radius-preview body .globle-private-flex{flex-direction:row!important;align-items:center!important;gap:40px!important}
 html#insijets-radius-preview body .globle-private-flex>:not(.globle-private-image){flex:1 1 0!important;min-width:0!important}
 html#insijets-radius-preview body .globle-private-flex>.globle-private-image{flex:1.25 1 0!important;width:auto!important;min-width:0!important}
}
@media (max-width:1199px){
 /* The artwork includes its label, so scale it; never crop. */
 html#insijets-radius-preview body .globle-private-image>.image-4{flex:1 1 0!important;width:100%!important;height:auto!important;min-width:0!important;max-width:none!important;object-fit:contain!important}
}
/* Short card copy with a manual line break looks gappy when justified. */
html#insijets-radius-preview body .value-card p.text-justify{text-align:start!important}

/* Pricing table on phones/tablets: the table scrolls sideways, so keep the
   route column pinned and hint that more prices sit to the right. */
@media (max-width:991px){
 html#insijets-radius-preview body .price-index-table{--price-scroll-pad:24px}
 html#insijets-radius-preview body .price-index-table :is(thead th:first-child,tbody th[scope=row]){position:sticky!important;left:calc(-1 * var(--price-scroll-pad));z-index:2;background-color:#fff!important;box-shadow:8px 0 10px -8px #1724413a}
 html#insijets-radius-preview body .price-index-table thead th:first-child{background-color:#f6f4f0!important;z-index:3}
 html#insijets-radius-preview body .price-index-scroll{background:linear-gradient(to left,#fff 30%,#fff0) right center/40px 100% no-repeat local,radial-gradient(farthest-side at 100% 50%,#17244126,#0000) right center/14px 100% no-repeat scroll}
 html#insijets-radius-preview body .pricing-tabs{scrollbar-width:none;-webkit-mask-image:linear-gradient(to right,#000 85%,#0000);mask-image:linear-gradient(to right,#000 85%,#0000)}
}
@media (min-width:768px) and (max-width:991px){
 html#insijets-radius-preview body .price-index-table{--price-scroll-pad:0px}
}

/* --- Functional navigation (UX audit 2026-11-17) --- */
/* Header always visible: pinned on the brand navy once the page scrolls, so
   its white links stay legible over any section. */
html#insijets-radius-preview[data-ux-header] body[data-site-compact-scale][data-site-compact-scale][data-site-compact-scale] .section-header{position:fixed!important;top:0;left:0;right:0;padding-block:12px!important;z-index:1000;background:#172441!important;box-shadow:0 6px 24px #0b132b40;animation:ux-header-in .2s ease}
@keyframes ux-header-in{from{opacity:.6}to{opacity:1}}
html#insijets-radius-preview[data-ux-header="shown"] body[data-site-compact-scale][data-site-compact-scale][data-site-compact-scale] .section-header{transform:none}
html#insijets-radius-preview[data-ux-header] body[data-site-compact-scale][data-site-compact-scale][data-site-compact-scale] .section-header .w-nav{padding-block:0!important}
@media (prefers-reduced-motion:reduce){html#insijets-radius-preview[data-ux-header] body[data-site-compact-scale][data-site-compact-scale][data-site-compact-scale] .section-header{animation:none}}
/* Mobile menu open: the page behind stays still. */
html#insijets-radius-preview[data-ux-menu-open],html#insijets-radius-preview[data-ux-menu-open] body{overflow:hidden!important;overscroll-behavior:none}
/* Touch targets: 44px hit areas without changing what is drawn. */
@media (max-width:991px){
 html#insijets-radius-preview body .section-header .w-nav-button{position:relative}
 html#insijets-radius-preview body .section-header .w-nav-button::after{content:"";position:absolute;inset:-10px}
 html#insijets-radius-preview body :is(.footer-menu-wrap,.footer-bottom,.footer-legal,[class*=footer]) a{position:relative}
 html#insijets-radius-preview body :is(.footer-menu-wrap,[class*=footer-link],[class*=footer-bottom],[class*=footer-legal]) a::after{content:"";position:absolute;inset:-8px -4px}
}
/* Email and phone numbers keep the surrounding text style. */
.ux-contact-link{color:inherit!important;font:inherit!important;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:currentColor}

/* Aircraft catalog cards: a few reference photos are drawn "contain" with grey
   bars (Pilatus PC-12/47, Challenger 604), so their card looked broken next to
   the others. In the card grid they fill the frame like every other photo;
   detail pages keep the whole aircraft visible. */
html#insijets-radius-preview body .figma-catalog-card-photo img[data-aircraft-catalog-photo-review]{object-fit:cover!important;background:none!important}
/* Footer addresses read badly when justified in a narrow column. */
html#insijets-radius-preview body .footer-menu-wrapper>.footer-menu-wrap:nth-child(5) :is(p,div){text-align:start!important}

/* Short landscape windows: bring the title into view and let the banner
   grow with the search form instead of pushing content under the header. */
@media (min-width:768px) and (max-height:550px){
 html#insijets-radius-preview body[data-site-compact-scale]:not([data-compact-family="aircraft"]) .section-banner:not(.app-home-hero,.regional-banner):has(>.container-1340>.banner-content-wrapper h1){
  height:auto!important;
  min-height:100vh!important;
  max-height:none!important;
  padding-block:112px 28px!important;
 }
 html#insijets-radius-preview body[data-site-compact-scale]:not([data-compact-family="aircraft"]) .section-banner:not(.app-home-hero,.regional-banner)>.container-1340:has(>.banner-form-block>form[data-flight-search])>.banner-content-wrapper{
  margin-block-end:24px!important;
 }
}
@media (min-width:768px) and (max-width:991px) and (max-height:550px){
 html#insijets-radius-preview body[data-site-compact-scale][data-compact-family="aircraft"] .section-banner.banner-80vh[data-luca-readable-hero]{
  height:auto!important;
  min-height:100vh!important;
  max-height:none!important;
  padding-block:96px 28px!important;
 }
 html#insijets-radius-preview body[data-site-compact-scale][data-compact-family="aircraft"] .section-banner.banner-80vh[data-luca-readable-hero]>.container-1340>.banner-content-wrapper{
  margin-block-end:24px!important;
 }
}
