.bh-location{min-width:0;width:100%;position:relative;display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.bh-location .bh-country{display:block;margin:0}
.bh-country>span,.bh-location .bh-city-label{display:block;font:11px/1.5 var(--atlas-ui,system-ui);letter-spacing:.04em;margin-bottom:4px;color:var(--ink-soft)}
.bh-location .bh-city-label{margin:6px 0 -4px;padding:0}
.bh-location .bh-country select{box-sizing:border-box;width:100%;min-height:48px;padding:9px 12px;background:#f4ecd9;color:#253532;border:1px solid #bca77c;border-radius:7px;font:16px/1.4 var(--atlas-ui,system-ui)}
.bh-location input{box-sizing:border-box;width:100%;min-width:0}
.bh-location .bh-city-results{position:relative;margin-top:6px;z-index:5;border-radius:8px;background:#193a3b;color:#f8efd8;box-shadow:0 5px 16px #0003}
.bh-city-results:empty{display:none}
.bh-city-results ul{margin:0;padding:4px;max-height:240px;overflow:auto;overscroll-behavior:contain;border:1px solid #b39864;border-radius:8px;list-style:none}
.bh-city-results li{padding:10px 12px;min-height:44px;cursor:pointer;border-radius:4px;overflow-wrap:anywhere;line-height:1.5}
.bh-city-results strong,.bh-city-results span{display:block;font-size:14px}
.bh-city-results span{color:#d9cfb6;font-size:12px}
.bh-city-results li[aria-selected=true]{background:#34534b}
.bh-city-results p{padding:12px;font-size:14px}
.bh-city-results button{padding:6px 12px;border:1px solid #cdb584;border-radius:5px}
/* One reading order: name, birthday, country, city, optional time, submit. */
.bh-home-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px 14px}
.bh-home-fields>*,.bh-home-fields .bh-location>*{min-width:0}
.bh-home-location,.bh-home-time{grid-column:1/-1}
.bh-home-date{display:flex;flex-direction:column}
.atlas-home-grid .bh-home-date>button{flex:none;width:100%;min-height:48px}
.atlas-home-grid .bh-home-name>input{min-height:48px}
.bh-home-location .bh-location,.obs-gift fieldset>.bh-location{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:14px;row-gap:8px}
.bh-home-location .bh-country,.obs-gift fieldset>.bh-location .bh-country{grid-row:1/3}
.bh-home-location .bh-city-label,.obs-gift fieldset>.bh-location .bh-city-label{grid-column:2;grid-row:1;margin:0;align-self:start}
.bh-home-location .bh-location>input,.obs-gift fieldset>.bh-location>input{grid-column:2;grid-row:2;min-height:48px;height:48px;padding:10px 12px}
.bh-home-location .bh-country>span,.bh-home-location .bh-city-label{font:400 .72rem/1.5 var(--atlas-ui,system-ui);letter-spacing:.08em;margin-bottom:8px}
.bh-home-location .bh-city-label{margin:0}
.bh-home-location .bh-city-results,.obs-gift fieldset>.bh-location .bh-city-results{grid-column:1/-1}
.obs-gift fieldset>.bh-location{grid-column:1/-1}
.obs-gift fieldset>button.border{grid-column:1/-1}
.atlas-journey .bh-location .bh-city-label{color:#4b5549}

@media(max-width:767px){.bh-city-results ul{max-height:195px}}
/* Narrow desktop columns need a complete time row, not three clipped selects. */
.atlas-home-grid .bh-home-time select{padding-inline:8px}
@media(min-width:768px) and (max-width:1199px){
 .bh-home-time>div{flex-direction:column;align-items:stretch}
 .bh-home-time>div>div{max-width:none}
 .bh-home-time button[type=submit]{min-height:52px}
 .atlas-home-grid .preview-cert-inner::before{width:90px;height:72px;opacity:.5}
}
@media(min-width:768px) and (max-width:999px){
 .atlas-home-grid aside .preview-cert{padding:34px 27px 44px}
}
