/* Compact, accessible travel search. Kept separate from the map controller. */
.explorer-editorial #explorerSearchMount{position:relative;max-width:1180px;z-index:8;width:100%}
.explorer-editorial #explorerSearchMount.has-open-country-picker{z-index:48}
.explorer-editorial .atlas-trip-search{display:grid;grid-template-columns:minmax(150px,.95fr) minmax(255px,1.15fr) minmax(210px,1.2fr) auto;gap:0;align-items:center;min-height:90px;padding:10px;background:#fff;border:1px solid #fff;border-radius:17px;box-shadow:0 10px 36px #101b3029;color:#17243b;text-align:left}
.explorer-editorial .atlas-search-field{position:relative;min-width:0;padding:0 18px;margin:0;border:0;border-right:1px solid #e5e3de}
.explorer-editorial .atlas-search-label{display:block;margin:0 0 6px;padding:0;color:#626773;font:550 11px/1.3 var(--atlas-font);letter-spacing:.015em}
.explorer-editorial .atlas-country-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:32px;border:0;padding:0;background:transparent;color:#17243b;text-align:left;cursor:pointer;font:600 13px/1.4 var(--atlas-font);border-radius:5px}
.explorer-editorial .atlas-country-trigger>svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.6;flex-shrink:0}
.explorer-editorial .atlas-country-value{display:flex;align-items:center;gap:9px;min-width:0;min-height:24px}
.explorer-editorial .atlas-country-value>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.explorer-editorial .atlas-country-value>img,.explorer-editorial .atlas-country-option>img{width:27px;height:20px;object-fit:cover;flex:none;box-shadow:0 0 0 1px #17243b12;border-radius:3px}
.explorer-editorial .atlas-country-globe{display:grid;place-items:center;width:27px;height:21px;color:#b38a48;font-size:24px;flex:none}
.explorer-editorial .atlas-country-native{position:absolute!important;top:30px;left:18px;width:1px!important;height:1px!important;padding:0!important;opacity:0;pointer-events:none;border:0;min-height:0}
.explorer-editorial .atlas-intent-field{min-inline-size:0}
.explorer-editorial .atlas-intent-field legend{float:left;width:100%}
.explorer-editorial .atlas-intent-switch{display:grid;grid-template-columns:1fr 1fr;clear:both;padding:3px;background:#f3f4f6;border-radius:9px;gap:2px}
.explorer-editorial .atlas-intent-switch label{position:relative;display:block;min-width:0;cursor:pointer}
.explorer-editorial .atlas-intent-switch input{position:absolute;width:1px;height:1px;opacity:0}
.explorer-editorial .atlas-intent-switch label>span{display:flex;align-items:center;justify-content:center;gap:5px;padding:8px 7px;border-radius:7px;color:#626773;font:600 11px/1.25 var(--atlas-font);white-space:nowrap;transition:background .16s,box-shadow .16s,color .16s}
.explorer-editorial .atlas-intent-switch svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}
.explorer-editorial .atlas-intent-switch input:checked+span{background:#f5efe3;color:#17243b;box-shadow:0 2px 7px #17243b14}
.explorer-editorial .atlas-intent-switch input:focus-visible+span{outline:2px solid #b38a48;outline-offset:2px}
.explorer-editorial .atlas-destination-field{min-width:0;position:relative;padding:0 16px 0 18px}
.explorer-editorial .atlas-destination-field .atlas-search-field{padding:0;border:0}
.explorer-editorial .atlas-destination-field .atlas-search-label{margin-bottom:3px}
.explorer-editorial .atlas-destination-field .atlas-country-trigger{min-height:26px}
.explorer-editorial .atlas-destination-pin{display:flex;flex:none;color:#b38a48}
.explorer-editorial .atlas-destination-pin>svg{width:20px;height:23px;fill:none;stroke:currentColor;stroke-width:1.6}
.explorer-editorial .atlas-search-map{display:flex;align-items:center;gap:4px;margin:3px 0 0;border:0;padding:0;background:none;color:#785b2f;font:600 10px/1.4 var(--atlas-font);cursor:pointer}
.explorer-editorial .atlas-search-map>svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.6}
.explorer-editorial .atlas-search-map:hover{color:#614821;text-decoration:underline}
.explorer-editorial .atlas-search-submit{display:flex;align-items:center;justify-content:center;gap:14px;min-height:56px;border:1px solid #b38a48;border-radius:11px;padding:12px 18px;background:linear-gradient(135deg,#17243b,#101b30);box-shadow:0 4px 12px #101b3026,inset 0 1px #d8bb8525;color:#fff;cursor:pointer;font:650 12px/1.35 var(--atlas-font);white-space:nowrap;transition:box-shadow .16s,transform .16s,background .16s}
.explorer-editorial .atlas-search-submit>span:last-child{font-size:20px;font-weight:400}
.explorer-editorial .atlas-search-submit:hover{background:linear-gradient(135deg,#243651,#17243b);box-shadow:0 6px 17px #b38a4840;transform:translateY(-1px)}
.explorer-editorial .atlas-search-submit:disabled{opacity:.45;cursor:default;transform:none;box-shadow:none}
.explorer-editorial .atlas-search-status{font-size:12px;line-height:1.5;color:white;margin:8px 0 0}
.explorer-editorial .atlas-search-status:empty{display:none}
.explorer-editorial .atlas-country-popover{position:fixed;inset:auto;z-index:1000;isolation:isolate;width:290px;max-width:calc(100vw - 32px);margin:10px 0 0 -10px;border:1px solid #e5e3de;border-radius:13px;padding:8px;background:#fff;color:#17243b;box-shadow:0 14px 45px #101b3030;text-align:left}
.explorer-editorial .atlas-country-popover[hidden]{display:none}
.explorer-editorial .atlas-country-search-row{display:flex;align-items:center;gap:5px;padding:0 0 7px;border-bottom:1px solid #e5e3de}
.explorer-editorial .atlas-country-search-row input{width:100%;min-width:0;height:37px;border:0;background:#f6f7f9;border-radius:7px;padding:8px 10px;font:400 12px/1.4 var(--atlas-font);color:#17243b;box-shadow:none}
.explorer-editorial .atlas-country-close{display:grid;place-items:center;flex:none;width:30px;height:30px;min-height:0;padding:0;border:0;border-radius:6px;color:#626773;background:transparent;cursor:pointer;font:400 22px/1 var(--atlas-font)}
.explorer-editorial .atlas-country-options{display:flex;flex-direction:column;gap:2px;max-height:250px;overflow:auto;overscroll-behavior:contain;margin-top:5px;padding:1px}
.explorer-editorial .atlas-country-option{display:flex;align-items:center;gap:12px;flex-shrink:0;width:100%;min-height:39px;border:0;border-radius:7px;padding:7px 9px;background:white;text-align:left;color:#17243b;font:500 12px/1.4 var(--atlas-font);cursor:pointer}
.explorer-editorial .atlas-country-option[aria-selected=true]{background:#f5efe3;color:#17243b;font-weight:650}
.explorer-editorial .atlas-country-option:hover,.explorer-editorial .atlas-country-option:focus-visible{background:#f5efe3;outline:2px solid #b38a48;outline-offset:-2px}
.explorer-editorial .atlas-country-empty{padding:16px 8px;font-size:12px;color:#626773;margin:0}
.explorer-editorial .atlas-map-selection{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 18px;margin:0 0 18px;border:1px solid #e5e3de;border-radius:13px;background:#f5efe3;color:#17243b}
.explorer-editorial .atlas-map-selection[hidden]{display:none}
.explorer-editorial .atlas-map-selection-label{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#785b2f}
.explorer-editorial .atlas-map-selection p{font-size:13px;margin:4px 0 0;line-height:1.5}
.explorer-editorial .atlas-map-selection-actions{display:flex;align-items:center;gap:18px;flex-shrink:0}
.explorer-editorial .atlas-map-selection .atlas-search-submit{min-height:42px;padding:9px 14px;font-size:11px}
.explorer-editorial .atlas-map-selection-back{border:0;background:none;padding:0;color:#626773;font-size:11px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
@media(max-width:1150px){
 .explorer-editorial .atlas-trip-search{grid-template-columns:minmax(120px,.95fr) minmax(218px,1.15fr) minmax(178px,1.2fr) auto}
 .explorer-editorial .atlas-search-field{padding:0 12px}.explorer-editorial .atlas-destination-field{padding:0 12px}.explorer-editorial .atlas-search-submit{padding:12px;gap:9px;font-size:11px}.explorer-editorial .atlas-intent-switch label>span{padding:8px 5px;font-size:10px;gap:4px}.explorer-editorial .atlas-intent-switch svg{width:12px;height:12px}
}
@media(max-width:900px){
 .explorer-editorial .atlas-trip-search{grid-template-columns:1fr 1.3fr;padding:12px;gap:14px 0;border-radius:15px}
 .explorer-editorial .atlas-intent-field{border-right:0}.explorer-editorial .atlas-destination-field{border-top:1px solid #e5e3de;padding-top:12px}.explorer-editorial #heroSubmit{margin:12px 0 0 12px;min-height:55px}.explorer-editorial .atlas-intent-switch label>span{font-size:11px;padding:9px 7px}.explorer-editorial .atlas-search-label{font-size:10px}
 .explorer-editorial .atlas-map-selection{align-items:flex-start}.explorer-editorial .atlas-map-selection-actions{flex-direction:column-reverse;align-items:flex-end;gap:10px}
}
@media(max-width:600px){
 .explorer-editorial .atlas-trip-search{grid-template-columns:1fr;gap:0;padding:8px 13px}
 .explorer-editorial .atlas-search-field{padding:10px 0;border-right:0;border-bottom:1px solid #e5e3de}.explorer-editorial .atlas-intent-field{padding:11px 0 12px}.explorer-editorial .atlas-intent-field legend{margin:0 0 7px}.explorer-editorial .atlas-intent-switch label>span{padding:10px;font-size:12px}.explorer-editorial .atlas-intent-switch svg{width:15px;height:15px}.explorer-editorial .atlas-destination-field{border:0;padding:10px 0}.explorer-editorial .atlas-destination-field .atlas-search-field{border:0}.explorer-editorial .atlas-country-trigger{min-height:30px;font-size:13px}.explorer-editorial .atlas-search-label{font-size:10px;margin-bottom:4px}.explorer-editorial .atlas-search-map{font-size:11px;margin-top:5px}.explorer-editorial #heroSubmit{width:100%;min-height:45px;margin:2px 0 5px;font-size:12px}.explorer-editorial .atlas-country-options{max-height:230px}.explorer-editorial .atlas-map-selection{flex-direction:column;gap:12px;padding:14px}.explorer-editorial .atlas-map-selection-actions{width:100%;flex-direction:row;justify-content:space-between;gap:10px}.explorer-editorial .atlas-map-selection p{font-size:12px}.explorer-editorial .atlas-map-selection .atlas-search-submit{font-size:10px;gap:8px;padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.explorer-editorial .atlas-search-submit,.explorer-editorial .atlas-intent-switch label>span{transition:none}}

/* The label, flag and surrounding padding form one keyboard-accessible control. */
.explorer-editorial .atlas-trip-search{align-items:stretch}
.explorer-editorial .atlas-trip-search>.atlas-search-submit{align-self:center}
.explorer-editorial .atlas-country-picker{padding:0;display:flex;align-items:stretch}
.explorer-editorial .atlas-country-trigger{display:grid;grid-template-columns:minmax(0,1fr) 16px;grid-template-rows:auto auto;align-content:center;gap:5px 10px;min-height:70px;padding:12px 18px;border-radius:9px}
.explorer-editorial .atlas-country-trigger>.atlas-search-label{grid-column:1;grid-row:1;margin:0;pointer-events:none}
.explorer-editorial .atlas-country-trigger>.atlas-country-value{grid-column:1;grid-row:2;pointer-events:none}
.explorer-editorial .atlas-country-trigger>svg{grid-column:2;grid-row:1/3;align-self:center;pointer-events:none}
.explorer-editorial .atlas-country-trigger:hover{background:#f3f4f6}
.explorer-editorial .atlas-intent-field{align-self:center}
.explorer-editorial .atlas-destination-field{padding:0 8px}
.explorer-editorial .atlas-destination-field .atlas-country-trigger{min-height:53px;padding:7px 10px}
.explorer-editorial .atlas-search-map{margin:0 10px 3px;min-height:22px}
@media(max-width:1150px){.explorer-editorial .atlas-country-trigger{padding-inline:12px}}
@media(max-width:900px){
 .explorer-editorial .atlas-country-trigger{min-height:72px}
 .explorer-editorial .atlas-destination-field{padding-top:8px;padding-inline:0}
}
@media(max-width:600px){
 .explorer-editorial .atlas-country-picker{padding:0}
 .explorer-editorial .atlas-country-trigger{min-height:70px;padding:12px 5px}
 .explorer-editorial .atlas-destination-field{padding:4px 0 8px}
 .explorer-editorial .atlas-destination-field .atlas-country-trigger{min-height:59px;padding:8px 5px}
 .explorer-editorial .atlas-search-map{margin-left:5px}
}

/* Portalled pickers are direct body children so map stacking contexts cannot cover them. */
body.explorer-editorial>.atlas-country-popover{z-index:1000}

/* Mobile picker UX: browse first, search only on explicit tap. */
@media(max-width:600px){
  body.explorer-editorial>.atlas-country-popover[data-mobile-sheet]{
    display:flex;flex-direction:column;
    padding:10px 10px calc(10px + env(safe-area-inset-bottom));
    border-radius:18px;
    box-shadow:0 24px 70px #101b3045;
  }
  body.explorer-editorial>.atlas-country-popover[data-mobile-sheet] .atlas-country-search-row{
    position:sticky;top:0;z-index:2;flex:none;background:#fff;padding-bottom:9px;
  }
  body.explorer-editorial>.atlas-country-popover[data-mobile-sheet] .atlas-country-search-row input{
    min-height:44px;font-size:16px;
  }
  body.explorer-editorial>.atlas-country-popover[data-mobile-sheet] .atlas-country-options{
    flex:1;min-height:0;max-height:none;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  }
  body.explorer-editorial>.atlas-country-popover[data-mobile-sheet] .atlas-country-option{
    min-height:48px;font-size:14px;padding-block:9px;
  }
}

/* One compact search row; map selection lives in the destination menu. */
.explorer-editorial .atlas-trip-search{min-height:74px;padding:6px;border-radius:14px}
.explorer-editorial .atlas-country-trigger,.explorer-editorial .atlas-destination-field .atlas-country-trigger{min-height:60px;padding:9px 16px}
.explorer-editorial .atlas-trip-search>.atlas-search-submit{min-height:50px;padding:12px 20px;border-radius:10px}
.explorer-editorial .atlas-destination-field{display:flex;align-items:stretch}
.explorer-editorial .atlas-destination-field .atlas-country-picker{width:100%}
/* Match the passport/destination label row and value centre on desktop. */
@media(min-width:901px){
 .explorer-editorial .atlas-intent-field{align-self:stretch;display:grid;grid-template-rows:auto 24px;align-content:center;row-gap:5px;padding-block:9px}
 .explorer-editorial .atlas-intent-field legend{margin:0}
 .explorer-editorial .atlas-intent-switch{height:30px;align-self:center}
 .explorer-editorial .atlas-intent-switch label>span{height:24px;padding-block:0}
}
body.explorer-editorial>.atlas-country-popover>.atlas-search-map{display:flex;align-items:center;gap:8px;margin:8px 0 0;padding:12px;border-top:1px solid #e5e9ef;width:100%;color:#213754;min-height:44px;border-radius:0}
body.explorer-editorial>.atlas-country-popover>.atlas-search-map svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5}
@media(max-width:900px){.explorer-editorial .atlas-trip-search{gap:8px 0;padding:8px}.explorer-editorial .atlas-destination-field{padding-top:6px}.explorer-editorial #heroSubmit{min-height:50px;margin-top:7px}}
@media(max-width:600px){.explorer-editorial .atlas-country-trigger,.explorer-editorial .atlas-destination-field .atlas-country-trigger{min-height:56px;padding:8px 5px}.explorer-editorial .atlas-trip-search{padding:5px 13px;gap:0}.explorer-editorial .atlas-intent-field{padding-block:8px}.explorer-editorial .atlas-destination-field{padding-block:0}.explorer-editorial #heroSubmit{margin-top:6px}}
