/* A single aligned hero layout, with a compact branch identity preview. */
.location-hero:has(.location-entrance) { min-height:0!important; }
.location-hero-card:has(.location-entrance) {
 display:grid; grid-template-columns:minmax(0,1fr) clamp(240px,22vw,300px); align-items:center;
 column-gap:clamp(32px,6vw,96px); width:min(var(--container),86.5vw);
 min-height:clamp(34rem,72svh,44rem); margin-inline:auto;
 padding:10rem 0 4rem; box-sizing:border-box; overflow:visible;
}
.location-hero-card:has(.location-entrance) .hero-copy {
 width:100%!important; max-width:none!important; margin:0; padding:0!important; min-width:0;
}
.location-entrance { position:relative; width:100%; margin:0; padding:0; color:#fff; align-self:center; }
.location-entrance-photo { position:relative; overflow:hidden; border-radius:12px; box-shadow:0 12px 36px #0003; }
.location-entrance img { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.location-entrance-label { position:absolute; bottom:10px; left:10px; background:#001538ed; color:white; padding:6px 9px; border-radius:4px; font-size:11px; line-height:1.25; }
.location-entrance figcaption { margin-top:18px; padding:0 0 0 13px; border-left:2px solid #3bb0d4; font-size:14px; line-height:1.5; text-wrap:pretty; text-shadow:0 1px 12px #001538; }
.location-entrance figcaption strong { display:block; font-weight:600; margin-bottom:5px; }
.location-entrance figcaption span { display:block; color:#d5e2f2; }
@media(min-width:761px) and (max-width:1100px) {
 .location-hero-card:has(.location-entrance) { grid-template-columns:minmax(0,1fr) 220px; column-gap:32px; }
 .location-hero-card:has(.location-entrance) h1 { font-size:clamp(48px,6vw,66px); }
}
@media(max-width:760px) {
 .location-hero-card:has(.location-entrance) {
  width:calc(100% - 2.5rem); grid-template-columns:minmax(0,1fr); min-height:0;
  padding:7.5rem 0 1.5rem; gap:28px;
 }
 .location-arrival:has(.location-entrance) .quick-bar-wrap { padding-top:8px!important; }
 .location-entrance { display:grid; grid-template-columns:112px minmax(0,1fr); align-items:center; gap:18px; max-width:440px; padding-top:22px; border-top:1px solid #95bef140; }
 .location-entrance figcaption { padding:0; margin:0; border:0; font-size:13px; line-height:1.5; }
 .location-entrance figcaption strong { margin-bottom:5px; }
 .location-entrance-label { display:none; }
 .location-entrance-photo { border-radius:8px; }
}
@media(max-width:360px) {
 .location-entrance { grid-template-columns:80px minmax(0,1fr); gap:10px; }
}

/* Darken the whole backdrop, avoiding bounded shadows around the preview. */
.location-arrival:has(.location-entrance)::before {
 background:linear-gradient(180deg,rgba(0,15,38,.40) 0%,rgba(0,15,38,.48) 36%,rgba(0,15,38,.70) 61%,rgba(0,21,56,.93) 82%,#001538 98%),linear-gradient(90deg,rgba(0,15,38,.42),rgba(0,15,38,.18) 48%,rgba(0,15,38,.40));
}
.location-entrance figcaption span { color:#e1eaf5; }
@media(max-width:760px) {
 .location-arrival:has(.location-entrance)::before {
  background:linear-gradient(180deg,rgba(0,15,38,.72) 0%,rgba(0,15,38,.76) 42%,rgba(0,21,56,.88) 75%,#001538 100%);
 }
}

/* A white hanging preview anchored to the desktop navigation edge. */
@media(min-width:761px) {
 .location-hero-card:has(.location-entrance) {
  display:grid; grid-template-columns:minmax(0,1fr) clamp(224px,22vw,280px);
  align-items:center; padding-top:10rem;
 }
 .location-entrance {
  position:absolute; top:120px; right:0; width:clamp(224px,22vw,280px);
  margin:0; padding:24px 16px 20px; box-sizing:border-box;
  background:#f6f8fb; color:#001538; border-radius:0 0 16px 16px;
  box-shadow:0 16px 32px rgba(0,10,30,.2);
 }
 .location-entrance-photo { border-radius:7px; box-shadow:none; }
 .location-entrance-label { display:none; }
 .location-entrance figcaption { margin-top:16px; padding:0 3px; border:0; font-size:14px; line-height:1.5; text-shadow:none; }
 .location-entrance figcaption strong { color:#001538; margin-bottom:6px; }
 .location-entrance figcaption span { color:#41536b; }
}
@media(min-width:761px) {
 .location-hero-card:has(.location-entrance) {
  /* Reserve the navigation height, then center the copy in the remaining hero. */
  padding-top:calc(120px + 3.5rem);
  padding-bottom:3.5rem;
  min-height:clamp(36rem,76svh,46rem);
 }
 .location-hero-card:has(.location-entrance) .hero-copy { align-self:center; }
 .location-hero-card:has(.location-entrance) .hero-copy h1 { margin-bottom:24px; }
 .location-hero-card:has(.location-entrance) .location-hero-actions { margin-top:32px; }
 .location-arrival:has(.location-entrance) .quick-bar-wrap { padding-top:0!important; }
}
/* Mobile companion to the hanging desktop banner. */
@media(max-width:760px) {
 .location-entrance {
  grid-template-columns:104px minmax(0,1fr); gap:16px;
  max-width:none; margin:4px 0 0; padding:14px;
  border:0; border-radius:14px; background:#f6f8fb; color:#001538;
  box-shadow:0 10px 28px rgba(0,10,30,.14);
 }
 .location-entrance-photo { border-radius:7px; box-shadow:none; }
 .location-entrance figcaption { font-size:13px; line-height:1.45; text-shadow:none; }
 .location-entrance figcaption strong { color:#001538; margin-bottom:6px; }
 .location-entrance figcaption span { color:#41536b; }
}
@media(max-width:360px) {
 .location-entrance { grid-template-columns:88px minmax(0,1fr); gap:12px; padding:12px; }
}
@media(min-width:761px) {
 .location-entrance { padding:0; overflow:hidden; border-radius:0 0 16px 16px; }
 .location-entrance-photo { border-radius:0; }
 .location-entrance figcaption { margin:0; padding:16px 18px 19px; }
}
