/* The entire postcard is a single, keyboard-accessible map control. */
.location-visual{min-width:0}
.location .map-placeholder,.page-contatti .location .map-placeholder{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:1fr;min-height:clamp(400px,40vw,480px);height:auto;max-height:none;align-items:stretch;justify-items:stretch;border:0;border-radius:20px;background:#d8e4df;box-shadow:0 14px 35px #173f3410;isolation:isolate}
.map-launch{position:relative;display:flex;flex-direction:column;align-items:center;gap:22px;width:100%;min-width:0;min-height:inherit;margin:0;padding:26px;border:0;border-radius:inherit;background:#d8e4df;color:#173f34;text-align:left;overflow:hidden;isolation:isolate}
.map-launch::after{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,#123c3420 0%,transparent 35%,#123c3429 65%,#123c345c 100%);pointer-events:none}
.map-launch-image{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .45s ease}
.map-launch span{min-width:0;white-space:normal;overflow-wrap:anywhere}
.map-launch-badge{display:inline-flex;align-items:center;align-self:flex-start;gap:10px;max-width:100%;padding:10px 14px;border:1px solid #ffffffb3;border-radius:999px;background:#fffdf6f5;box-shadow:0 3px 15px #173f3410;font-size:13px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
.map-launch-badge svg{flex:0 0 22px;width:22px;height:22px;color:#8d5038}
.map-launch-pin{display:grid;place-items:center;flex:0 0 auto;width:58px;height:58px;margin-block:auto 0;border:1px solid #ffffffb3;border-radius:50%;background:#fffdf6;color:#a05236;box-shadow:0 0 0 9px #fffdf62b,0 7px 24px #173f3426}
.map-launch-pin svg{width:30px;height:30px}
.map-launch-panel{display:block;width:100%;max-width:430px;margin-top:auto;padding:24px;border:1px solid #ffffffc9;border-radius:14px;background:#fffdf6;box-shadow:0 8px 30px #173f3420;overflow-wrap:anywhere}
.map-launch-place{display:block;margin-bottom:9px;color:#805137;font-size:11px;font-weight:600;line-height:1.6;letter-spacing:.1em;text-transform:uppercase}
.map-launch-name{display:block;font-size:clamp(23px,2.1vw,28px);font-weight:600;line-height:1.3;letter-spacing:-.035em}
.map-launch-address{display:block;margin-top:8px;color:#52644f;font-size:14px;line-height:1.65}
.map-launch-action{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:54px;margin-top:21px;padding:14px 18px;border:1px solid #214e41;border-radius:9px;background:#214e41;color:#fffdf6;font-size:16px;font-weight:600;line-height:1.5;transition:background .2s,border-color .2s}
.map-launch-action svg{flex:0 0 22px;width:22px;height:22px;transition:transform .2s}
.map-launch:focus-visible{outline:3px solid #a05236;outline-offset:-6px}
.map-launch:focus-visible .map-launch-action{background:#123c34;border-color:#123c34}
.map-placeholder>iframe:focus-visible{outline:3px solid #a05236;outline-offset:-4px}
@media(hover:hover){
 .map-launch:hover .map-launch-image{transform:scale(1.035)}
 .map-launch:hover .map-launch-action{background:#123c34;border-color:#123c34}
 .map-launch:hover .map-launch-action svg{transform:translateX(3px)}
}
@media(max-width:620px){
 .location .map-placeholder,.page-contatti .location .map-placeholder{border-radius:16px}
 .map-launch{padding:20px;gap:22px}
 .map-launch-panel{padding:21px;border-radius:12px}
 .map-launch-name{font-size:24px}
}
@media(max-width:370px){
 .map-launch{padding:16px;gap:20px}
 .map-launch-badge{font-size:12px;padding:9px 12px}
 .map-launch-panel{padding:18px}
 .map-launch-name{font-size:22px}
 .map-launch-action{gap:12px;padding:13px 14px;font-size:15px}
}
/* Keep the preview and the interactive map inside short landscape viewports. */
@media(orientation:landscape) and (min-width:480px) and (max-height:600px){
 .location .map-placeholder,.page-contatti .location .map-placeholder{min-height:clamp(220px,calc(100svh - var(--header-height,72px) - var(--section-nav-height,0px) - 32px),400px)}
 .map-launch{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);grid-template-rows:auto 1fr;align-items:center;gap:18px;padding:16px}
 .map-launch-badge{grid-column:1;grid-row:1;justify-self:start;font-size:12px;padding:8px 11px;gap:8px}
 .map-launch-pin{grid-column:1;grid-row:2;justify-self:center;margin:0;width:50px;height:50px}
 .map-launch-panel{grid-column:2;grid-row:1 / 3;justify-self:end;margin:0;padding:16px}
 .map-launch-place{font-size:10px;margin-bottom:6px}
 .map-launch-name{font-size:22px}
 .map-launch-address{font-size:13px;margin-top:6px}
 .map-launch-action{min-height:44px;margin-top:14px;padding:10px 13px;font-size:14px;gap:10px}
}
@media(max-height:600px){
 .location .map-placeholder:has(iframe),.page-contatti .location .map-placeholder:has(iframe){min-height:clamp(160px,calc(100svh - var(--header-height,72px) - var(--section-nav-height,0px) - 88px),400px)}
}
@media(prefers-reduced-motion:reduce){
 .map-launch-image,.map-launch-action,.map-launch-action svg{transition:none}
 .map-launch:hover .map-launch-image,.map-launch:hover .map-launch-action svg{transform:none}
}
