/* Compact home search; existing brand colours, assets and result pages stay intact. */
body:not(.results-page) .site-header{height:64px}
body:not(.results-page) main.wrap{width:min(1120px,calc(100% - 48px));padding:20px 0 36px}
body:not(.results-page) .intro{display:block;max-width:none;margin-bottom:20px;text-align:start}
body:not(.results-page) .hero-wordmark{width:185px;margin:0;flex:none}
body:not(.results-page) .intro h1{font-size:24px;line-height:1.25;margin:0}
body:not(.results-page) .intro p{display:none}
body:not(.results-page) .search-panel{padding:18px 22px 20px;border-radius:24px}
body:not(.results-page) .trip-types{margin-bottom:14px}
body:not(.results-page) .trip-types legend{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
body:not(.results-page) .trip-type-option{min-height:38px;padding-block:7px}
body:not(.results-page) .traveller-grid{grid-template-columns:repeat(4,minmax(0,1fr));margin-top:12px;gap:13px}
body:not(.results-page) .search-btn{width:100%;max-width:none;height:52px;margin:0;align-self:end}
.baggage-picker{margin-top:14px;border:1px solid var(--line);border-radius:14px;padding:0 14px}
.baggage-picker>summary{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;min-height:42px;padding:8px 0;font-size:12px;cursor:pointer;list-style:none}
.baggage-picker>summary::-webkit-details-marker{display:none}
.baggage-picker>summary::after{content:'⌄';margin-inline-start:auto}
.baggage-picker[open]>summary::after{transform:rotate(180deg)}
.baggage-picker>summary:focus-visible{outline:3px solid #4aa5ec77;outline-offset:3px;border-radius:6px}
.baggage-selection{color:var(--blue-dark);font-weight:600}
.baggage-picker .baggage-options{margin:4px 0 14px;padding:12px 14px}
body:not(.results-page) .search-options{padding-top:12px}
.trial-note{margin:10px 3px 0;font-size:11px;line-height:1.5;color:var(--muted)}
body:not(.results-page) .search-note{margin-top:6px}
body:not(.results-page) .search-note strong{display:none}
body:not(.results-page) .value-strip{margin-top:18px}
@media(max-width:760px){
  body:not(.results-page) .site-header{height:auto;padding:10px 0}
  body:not(.results-page) main.wrap{width:calc(100% - 28px);padding:12px 0 28px}
  body:not(.results-page) .intro{gap:14px;margin-bottom:14px}
  body:not(.results-page) .hero-wordmark{width:145px}
  body:not(.results-page) .intro h1{font-size:18px}
  body:not(.results-page) .search-panel{padding:12px 14px 16px;border-radius:20px}
  body:not(.results-page) .traveller-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  body:not(.results-page) .traveller-grid>.field:last-of-type{grid-column:auto}
  body:not(.results-page) .search-options{gap:9px}
}
@media(max-width:460px){
  body:not(.results-page) .intro{gap:12px}
  body:not(.results-page) .hero-wordmark{width:125px}
  body:not(.results-page) .intro h1{font-size:16px}
  body:not(.results-page) .field label{margin-bottom:5px}
  body:not(.results-page) .search-grid{gap:10px}
  body:not(.results-page) .search-btn{font-size:13px}
  .baggage-picker{padding-inline:12px}
  .baggage-picker>summary{gap:4px 10px;font-size:12px}
}

/* One complete brand, followed by the existing regional and account controls. */
.site-header .header-inner{display:flex;flex-wrap:wrap;gap:6px 12px}
.site-header .brand{flex:none}
.site-header .brand-logo{width:170px;height:auto}
.site-header .header-actions{display:flex;align-items:center;gap:6px;margin-inline-start:auto}
.site-header .compact-language{position:relative;min-height:40px;padding:8px 10px;border-radius:999px;white-space:nowrap;direction:ltr}
#languageSummary{display:block;font-size:13px;color:var(--ink)}
.site-header .compact-language select{position:absolute;inset:0;opacity:0;width:100%;max-width:none;min-width:0;height:100%;cursor:pointer}
.site-header .compact-language:focus-within{outline:3px solid #4aa5ec55;outline-offset:2px}
.site-header .header-actions .settings-trigger{min-height:40px;padding:8px 12px;white-space:nowrap;direction:ltr}
.site-header .header-actions .account-trigger{min-height:40px;padding:8px 16px;white-space:nowrap}
@media(max-width:760px){
  .site-header .brand-logo{width:120px}
  .site-header .header-actions .account-trigger{padding-inline:12px;font-size:12px}
  .site-header .header-actions .settings-trigger{padding-inline:9px;font-size:12px}
  .site-header .compact-language{padding-inline:6px}
  #languageSummary{font-size:12px}
}
@media(max-width:360px){
  .site-header .header-inner{gap:4px}
  .site-header .brand-logo{width:100px}
  .site-header .header-actions{gap:4px}
  .site-header .header-actions .account-trigger{padding-inline:8px}
  .site-header .header-actions .settings-trigger{padding-inline:6px}
  .site-header .compact-language{padding-inline:4px}
}

/* Keep the account action identifiable while saving space on phones. */
.site-header .header-actions .account-trigger{gap:8px;min-height:44px}
.account-icon{display:block;flex:none;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.site-header .account-trigger:focus-visible{outline:3px solid var(--blue);outline-offset:3px}
@media(max-width:760px){
  .site-header .header-actions .account-trigger{width:44px;height:44px;min-width:44px;padding:0}
  .site-header .account-trigger-label{display:none}
}
