/* Compact, consistent photography; header, footer and home cover unchanged. */
main .gallery-rich,main .gallery,main .alfri-photo-grid,main .season-gallery,main .nives-wellness-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px;max-width:1050px;margin-inline:auto}
main .gallery-rich>figure,main .alfri-photo-grid>figure,main .nives-wellness-grid>figure{grid-column:auto!important;grid-row:auto!important;margin:0;min-width:0;background:transparent}
main .gallery-rich img,main .gallery img,main .gallery img:first-child,main .alfri-photo-grid img,main .season-gallery img,main .nives-wellness-grid img{display:block;width:100%;height:auto!important;min-height:0!important;max-height:220px;aspect-ratio:4/3;object-fit:cover;grid-column:auto!important;grid-row:auto!important;border-radius:3px;cursor:zoom-in}
main .gallery-rich figcaption{padding:7px 0 12px}
main .editorial img,main .grid2>img.portrait,main .season-feature,main .savoy-wellness-teaser img{width:100%;height:auto!important;min-height:0!important;max-height:340px!important;aspect-ratio:4/3;object-fit:contain;background:transparent}
main .apt-card img{height:220px;object-fit:cover}
main .detailhero>img{height:auto!important;max-height:440px;min-height:0!important;aspect-ratio:4/3;object-fit:contain;align-self:center}
main .detailcopy{height:auto!important;min-height:0!important;padding-block:70px 36px}
.alfri-photo-dialog{border:0;padding:12px;background:#fff;max-width:94vw;max-height:92vh;overflow:auto;color:#182820}.alfri-photo-dialog::backdrop{background:#101815d9}.alfri-photo-dialog img{display:block;max-width:88vw;max-height:76vh;width:auto;height:auto;object-fit:contain;margin:auto}.alfri-photo-dialog button{display:block;margin:0 0 8px auto;background:#203d34;color:white;border:0;border-radius:3px;padding:8px 14px;font:inherit;cursor:pointer}
@media(max-width:760px){main .gallery-rich,main .gallery,main .alfri-photo-grid,main .season-gallery,main .nives-wellness-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px}main .editorial img,main .grid2>img.portrait,main .season-feature,main .savoy-wellness-teaser img{max-height:250px!important}main .detailhero>img{max-height:300px}main .detailcopy{padding-block:35px 28px}main .apt-card img{height:185px}}

/* Apartment detail: consistent framed layout below the fixed navigation. */
main .detailhero{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(24px,4vw,56px);align-items:center!important;width:min(1180px,calc(100% - 40px));margin:0 auto!important;padding:120px 0 40px!important;min-height:0!important;height:auto!important;background:transparent!important}
main .detailhero>img{display:block;width:100%!important;height:340px!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:cover!important;object-position:center;border-radius:4px}
main .detailhero .detailcopy{padding:0!important;background:transparent!important;min-width:0;min-height:0!important;height:auto!important;align-self:center}
main .detailhero .detailcopy .title{font-size:clamp(2rem,3vw,3rem);margin:.15em 0 .35em}
main .detailhero .detailcopy .lead{font-size:1rem;line-height:1.6;margin:0 0 12px}
main .detailhero + .section{padding-top:32px!important}
@media(max-width:760px){main .detailhero{grid-template-columns:minmax(0,1fr)!important;gap:22px;width:calc(100% - 32px);padding:108px 0 24px!important}main .detailhero>img{height:clamp(190px,60vw,300px)!important}main .detailhero .detailcopy .title{font-size:2rem}main .detailhero + .section{padding-top:24px!important}}

/* Final editorial refinement: preserve apartment geometry and original logo artwork. */
header.top .alfri-brand img,.alfri-footer-enhanced .alfri-footer-contact .alfri-logo,.alfri-footer-enhanced .alfri-footer-brand img{background:transparent!important;padding:0!important;border-radius:0!important}
header.top:not(.scrolled) .alfri-brand img,header.top.menu-active .alfri-brand img,.alfri-footer-enhanced .alfri-footer-contact .alfri-logo,.alfri-footer-enhanced .alfri-footer-brand img{filter:brightness(0) invert(1)!important}
header.top.scrolled:not(.menu-active) .alfri-brand img{filter:none!important}
main .pagehero .display{font-size:clamp(2rem,3.2vw,3.35rem)!important;line-height:1.13}
main .title{font-size:clamp(1.85rem,2.75vw,2.9rem)!important;line-height:1.16}
main .editorial h2{font-size:clamp(1.7rem,2.45vw,2.65rem)!important}
main .detailhero .detailcopy .title{font-size:clamp(2rem,3vw,3rem)!important}
main .pagehero{padding-bottom:48px}
main .editorial,main .editorial.reverse,main .grid2{gap:clamp(24px,4vw,52px)}
@media(max-width:760px){main .pagehero .display{font-size:clamp(1.9rem,7vw,2.45rem)!important}main .title{font-size:clamp(1.75rem,6vw,2.25rem)!important}main .detailhero .detailcopy .title{font-size:2rem!important}main .pagehero{padding-bottom:32px}}
