/* Shared image contract: detail and cards 1:1; full image without cropping. Paper scans excluded. */
:root{--four-card-photo-size:clamp(76px,22vw,132px)}
html body .four-dish-page .four-dish-photo,
html body .four-offer-page .four-offer-photo,
html body .four-news-detail-page .four-news-photo{width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;overflow:hidden!important;border-radius:12px!important;position:relative!important}
html body .four-dish-page .four-dish-photo>img,
html body .four-offer-page .four-offer-photo>img,
html body .four-news-detail-page .four-news-photo>img{display:block!important;width:100%!important;height:100%!important;position:absolute!important;inset:0!important;min-height:0!important;max-height:none!important;aspect-ratio:1!important;object-fit:cover!important;object-position:var(--four-image-focus,50% 50%)!important;cursor:zoom-in}
html.four-editorial-menu body .four-paper-dish{grid-template-columns:max-content minmax(0,1fr) var(--four-card-photo-size)!important}
html[lang^="en"].four-editorial-menu body .four-paper-dish{grid-template-columns:var(--four-card-photo-size) minmax(0,1fr) auto!important}
html body .four-paper-media{width:var(--four-card-photo-size)!important}
html body .four-paper-media>.four-paper-photo{width:100%!important;height:var(--four-card-photo-size)!important;aspect-ratio:1!important;object-fit:cover!important;object-position:var(--four-image-focus,50% 50%)!important;border-radius:9px!important}
html body .four-offer-menu-card.four-offer-menu-card.four-offer-menu-card.four-offer-menu-card>.four-offer-list-content{grid-template-columns:var(--four-card-photo-size) minmax(0,1fr) auto!important}
html body .four-offer-menu-card.four-offer-menu-card .four-offer-list-photo{width:100%!important;height:var(--four-card-photo-size)!important;min-height:0!important;aspect-ratio:1!important;align-self:center!important;overflow:hidden!important;border-radius:9px!important}
html body .four-offer-menu-card.four-offer-menu-card .four-offer-list-photo>img{object-fit:cover!important;object-position:var(--four-image-focus,50% 50%)!important}
html[lang] body .news-item>.news-entry.news-entry{grid-template-columns:minmax(0,1fr) var(--four-card-photo-size)!important;min-height:0!important}
html[lang] body .news-entry.news-entry>.news-photo{width:100%!important;height:var(--four-card-photo-size)!important;aspect-ratio:1!important;object-fit:cover!important;object-position:var(--four-image-focus,50% 50%)!important;border-radius:9px!important}
html body .four-meal-related-grid>a>img{display:block!important;width:100%!important;height:auto!important;aspect-ratio:1!important;object-fit:cover!important;object-position:var(--four-image-focus,50% 50%)!important;border-radius:9px!important}
.four-image-viewer{border:0;padding:42px 12px 12px;border-radius:12px;background:#151515;color:white;max-width:96vw;max-height:94dvh;overflow:auto}
.four-image-viewer::backdrop{background:#000c}
.four-image-viewer>img{display:block;max-width:90vw;max-height:80dvh;width:auto;height:auto;object-fit:cover}
.four-image-viewer>button{position:absolute;top:5px;right:8px;border:0;background:transparent;color:white;font-size:28px;cursor:pointer;line-height:1}

/* Neutral backing keeps non-square originals complete in every square frame. */
html body .four-dish-photo,html body .four-offer-photo,html body .four-news-photo,html body .four-paper-photo,html body .four-offer-list-photo,html body .news-photo,html body .four-meal-related-grid>a>img{background:var(--color-surface,#fff)!important}

/* Square source policy: same centered crop at every display size, including zoom. */
.four-image-viewer>img{width:min(86vw,76dvh)!important;height:min(86vw,76dvh)!important;max-width:none!important;max-height:none!important;aspect-ratio:1!important;object-fit:cover!important;object-position:var(--four-image-focus,50% 50%)!important}
