/* Shared search and white-label shell. */
.aero-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 20px}.aero-tabs button{font:600 16px/1.3 Arial,sans-serif;min-height:48px;padding:12px 20px;border:1px solid #ffffff70;border-radius:8px;background:#123e58;color:#fff;cursor:pointer}.aero-tabs button[aria-selected=true]{background:#ffbe81;border-color:#ffbe81;color:#142e43}.aero-tabs button:focus-visible{outline:3px solid white;outline-offset:3px}.aero-search-panel [hidden]{display:none!important}.aero-search-note{font:14px/1.6 Arial,sans-serif;color:#fff;margin:18px 0 0;max-width:760px}.aero-widget{min-height:160px;color:#142e43}.aero-widget-status{color:white;font:14px/1.5 Arial,sans-serif}.aero-search-panel iframe{max-width:100%;border:0}.aero-search-panel input,.aero-search-panel select{font-size:16px}.aero-search-panel .cherehapa{border-radius:8px}.aero-site-role{grid-column:1/-1;font:13px/1.7 Arial,sans-serif;color:#bad1de;margin:0;max-width:800px}
@media(max-width:575px){.aero-tabs{display:grid;grid-template-columns:1fr 1fr;gap:8px}.aero-tabs button{padding:12px 8px;font-size:15px}.aero-search-note{font-size:13px}.aero-widget{min-width:0}}

/* Shared form surfaces. Provider popovers keep their own opaque backgrounds. */
.search-shell{background:transparent!important;border:0!important;padding:0!important}
#travel-search .travel-tabs{border-bottom:0;padding-bottom:0}
#travel-search .travel-widget-light{background:transparent!important;padding:0!important}
#travel-search .travel-widget{font-family:Arial,sans-serif;color:#142e43}
#travel-search .cherehapa-container{background:transparent!important;border:0!important;box-shadow:none!important;font-family:Arial,sans-serif!important;color:#142e43}
#travel-search .cherehapa-submit-button{background:#df9637!important;color:#fff!important;border:1px solid #df9637!important;border-radius:8px!important;min-height:56px!important;font-family:Arial,sans-serif!important;font-weight:700!important;box-shadow:none!important}
#travel-search .cherehapa-submit-button:hover{background:#ce8527!important;border-color:#ce8527!important}
#travel-search .cherehapa-submit-button:focus-visible{outline:3px solid #142e43;outline-offset:3px}
#travel-search .cherehapa-tourists-add{color:#df9637!important}
#travel-search .cherehapa-calendar-icon-path{fill:#df9637!important}
#travel-search .cherehapa-field{background:#fff!important;color:#142e43!important;border:1px solid #d8e3e8!important;border-radius:8px!important;min-height:56px!important;box-sizing:border-box!important;font-family:Arial,sans-serif!important;box-shadow:none!important}
#travel-search .cherehapa-field-label{color:#536274!important;font-family:Arial,sans-serif!important}
#travel-search .cherehapa-field-value,#travel-search .cherehapa-input{color:#142e43!important;font-family:Arial,sans-serif!important}
#travel-search .cherehapa-input{background:transparent!important}
#travel-search .cherehapa-field:focus-within{outline:2px solid #df9637!important;outline-offset:1px!important}
#travel-search .cherehapa-field-dropdown{background:#fff!important;color:#142e43!important;font-family:Arial,sans-serif!important}
#travel-search .cherehapa-tourists-add{background:#df9637!important;color:#fff!important;border-radius:8px!important}
#travel-search .cherehapa-tourists-age{background:#fff!important;color:#142e43!important}
#travel-search .cherehapa-calendar-icon-path path,#travel-search #travel-widget-insurance svg path[fill="#636AFF"]{fill:#df9637!important}

#travel-search .cherehapa-input,#travel-search .cherehapa-field input,#travel-search .cherehapa-field select{font-size:16px!important}

#travel-search .cherehapa-title{display:none!important}
#travel-search .cherehapa-field.cherehapa-submit-button{background:#df9637!important;color:#fff!important;box-shadow:none!important;text-transform:none!important}
#travel-search .cherehapa-abroad-text{color:#142e43!important}
#travel-search .cherehapa-container{padding:0!important}

/* Provider fallback uses a link, and host-level theme variables drive focus. */
#travel-search #tpwl-search{--main-accent:#df9637!important}

#travel-search .cherehapa-abroad-text{color:#fff!important}#travel-search .cherehapa-abroad-icon{border:1px solid white!important}#travel-search .cherehapa-field.cherehapa-submit-button{color:#142e43!important}

.aero-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:9px}.aero-tabs svg{width:21px;height:21px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.aero-intro{padding-bottom:30px}
.aero-brand-bar>.container,.aero-hero>.container{width:100%;max-width:none!important;margin-left:auto;margin-right:auto}
@media(min-width:576px){.aero-brand-bar>.container,.aero-hero>.container{max-width:540px!important}}
@media(min-width:768px){.aero-brand-bar>.container,.aero-hero>.container{max-width:720px!important}}
@media(min-width:992px){.aero-brand-bar>.container,.aero-hero>.container{max-width:960px!important}}
@media(min-width:1200px){.aero-brand-bar>.container,.aero-hero>.container{max-width:1140px!important}}

.aero-legal-content{max-width:780px;margin:0 auto;color:#142e43;font:17px/1.75 Arial,sans-serif}.aero-legal-content h2{font-size:25px;line-height:1.3;margin:32px 0 14px}.aero-legal-content p,.aero-legal-content ul{margin:0 0 18px}.aero-legal-content a{color:#155d82;text-decoration:underline;overflow-wrap:anywhere}.aero-legal-content .aero-legal-lead{font-size:20px}.aero-legal-date{color:#647987;font-size:14px}footer .copy{grid-template-columns:auto auto minmax(0,1fr)}footer .aero-legal{max-width:650px;gap:12px 22px}footer .aero-legal a{min-height:44px;display:flex;align-items:center}
@media(max-width:767px){footer .copy{grid-template-columns:1fr}.aero-legal-content{font-size:16px}.aero-legal-content h2{font-size:23px}footer .aero-legal{display:flex;flex-direction:column;align-items:center;gap:4px}}

.aero-hero{isolation:auto}.aero-hero-photo{z-index:0}.aero-intro,.aero-search-container{position:relative;z-index:6}

/* Compact search-first layout. Header and provider tools remain unchanged. */
.aero-hero{padding-top:116px!important;padding-bottom:24px!important;min-height:0!important}
.aero-heading{font-size:42px!important;line-height:1.1!important;margin-bottom:0!important}
.aero-intro{padding-bottom:20px!important}
#travel-search .aero-widget:has(tp-cascoon){min-height:0}
#travel-search tp-cascoon{margin-bottom:0!important}
#travel-search .aero-widget-status:empty{margin:0}
#travel-search .cherehapa-fields{filter:none!important}
#travel-search .cherehapa-logo,#travel-search .cherehapa-title{display:none!important}
#travel-search .cherehapa-field.cherehapa-submit-button{background:#ffbe81!important;border-color:#ffbe81!important;color:#142e43!important}
#travel-search .cherehapa-calendar-icon-path path{fill:#142e43!important}
@media(max-width:575px){.aero-hero{padding-top:94px!important;padding-bottom:18px!important}.aero-heading{font-size:29px!important;line-height:1.12!important}.aero-intro{padding-bottom:16px!important}.aero-tabs{margin-bottom:14px}.aero-tabs button{min-height:44px;padding:10px 5px;font-size:14px}}

/* Align the six insurance controls with the shared search panel. */
#travel-search #travel-widget-insurance{min-height:0}
#travel-search #search-panel-insurance .cherehapa-fields{max-width:none!important;gap:6px!important}
#travel-search #search-panel-insurance .cherehapa-abroad-text{color:#233a4d!important}
#travel-search #search-panel-insurance .cherehapa-abroad-icon{border-color:#718391!important}
#travel-search #search-panel-insurance .cherehapa-abroad-icon-active{background-color:#233a4d!important}
@media (min-width:900px){
  #travel-search #search-panel-insurance .cherehapa-fields{
    display:grid!important;grid-template-areas:none!important;grid-template-rows:auto!important;
    grid-template-columns:minmax(150px,1.6fr) repeat(2,minmax(105px,1fr)) minmax(104px,1fr) minmax(116px,1fr) minmax(108px,1fr);
    align-items:center;
  }
  #travel-search #search-panel-insurance .cherehapa-fields>*{grid-area:auto!important;width:100%!important;min-width:0!important;margin:0!important}
  #travel-search #search-panel-insurance .cherehapa-field{height:56px!important}
  #travel-search #search-panel-insurance .cherehapa-abroad-wrapper{padding:0 2px!important}
  #travel-search #search-panel-insurance .cherehapa-abroad-text{white-space:normal!important;line-height:1.2}
}
@media (max-width:899.98px){
  #travel-search #search-panel-insurance .cherehapa-fields{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
    grid-template-areas:"direction direction" "start end" "people people" "abroad abroad" "submit submit"!important;
    grid-template-rows:auto!important;grid-auto-rows:auto!important;
  }
  #travel-search #search-panel-insurance .cherehapa-fields>*{width:100%!important;min-width:0!important;margin:0!important}
  #travel-search #search-panel-insurance .cherehapa-direction{grid-area:direction!important}
  #travel-search #search-panel-insurance .cherehapa-dateStart{grid-area:start!important}
  #travel-search #search-panel-insurance .cherehapa-dateEnd{grid-area:end!important}
  #travel-search #search-panel-insurance .cherehapa-tourists{grid-area:people!important}
  #travel-search #search-panel-insurance .cherehapa-abroad-wrapper{grid-area:abroad!important;min-height:44px}
  #travel-search #search-panel-insurance .cherehapa-submit-button{grid-area:submit!important}
}
