/* Shared photo calculator card; only explicitly marked cards are affected. */
body .home-price-panel.cs-photo-price{box-sizing:border-box;background:#fff;color:#293239;opacity:1;text-align:center;border-radius:4px;box-shadow:0 8px 30px #0002;padding:25px 24px;width:clamp(310px,16vw,350px);max-width:calc(100% - 40px);margin:0;z-index:2}
body .cs-photo-price .home-price-kicker{font:700 18px/1.35 var(--font-heading,Ubuntu,Arial,sans-serif);color:#0075a8;margin:0 0 10px}
body .cs-photo-price h2{font:700 clamp(29px,1.6vw,34px)/1.12 var(--font-heading,Ubuntu,Arial,sans-serif);letter-spacing:-.5px;color:#293239;margin:0 0 16px;hyphens:none}
body .cs-photo-price .home-price-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-height:48px;padding:12px 16px;border-radius:3px;background:#0075a8;color:#fff;font:700 17px/1.4 var(--font-heading,Ubuntu,Arial,sans-serif);text-align:center;text-decoration:none}
body .cs-photo-price .home-price-button:hover{background:#005f89}
body .cs-photo-price .home-price-button:focus-visible{outline:3px solid #0075a8;outline-offset:4px}
body .cs-calculator-photo{position:relative}
@media(min-width:1561px){body .home-price-panel.cs-photo-price{position:absolute;left:clamp(24px,4vw,72px);bottom:calc(9.375% + 36px)}}
@media(max-width:1560px){body .home-price-panel.cs-photo-price{position:static;inset:auto;margin:20px auto 24px;width:350px;max-width:calc(100% - 32px)}body .cs-calculator-photo{display:flex;flex-direction:column;min-height:0}body .cs-calculator-photo>img{position:static;display:block;width:100%;height:auto;object-fit:contain;transform:none}}
@media(min-width:1101px) and (max-width:1560px){body .home-intro .home-price-panel.cs-photo-price{position:absolute;left:clamp(24px,4vw,72px);bottom:calc(9.375% + 36px);margin:0}}

@media(min-width:1101px){body .home-intro .home-price-panel.cs-photo-price{bottom:calc(9.375% + 12px)}}

@media(max-width:1560px){
 body .cs-detail-hero .city-figure :is(.essen-photo-wrap,.city-revision-photo-wrap){display:block;height:auto}
 body .cs-detail-hero .city-figure :is(.essen-photo-frame,.city-revision-photo-frame){position:relative;height:auto;min-height:0;aspect-ratio:3/2;flex:none}
 body .cs-detail-hero .city-figure img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:contain;transform:none}
}

@media(max-width:1560px){body .cs-detail-hero.cs-height-home>figure.cs-calculator-photo>img{position:static;display:block;width:100%;height:auto;min-height:0;max-height:none;object-fit:contain;transform:none;flex:none}}
