/* A single clipping owner keeps images, overlays and shadows on the same outline. */
:root { --photo-radius:24px; --brand-frame-radius:28px; --brand-frame-background:#fff; }
body :is(.segment-card,.launch-card,.cap-news-card,.news-item,.institutional-video,
 .photo-sequence figure,.city-panorama,.ed-panorama,.ed-quality-visual,.ed-property-photo,
 .ed-video-image,.property-photo-link,.photo-card,.related-property>div,
 .amenity-visual>button,.edition-image,.fair-property-photo,.partner-teaser-photo,
 .partner-case>div,.generated-video-cover,.generated-cps-photo,.agro-media-stage,
 .article-photo,.video-player-slot) {
 border-radius:var(--photo-radius)!important; overflow:hidden; isolation:isolate;
}
body :is(.segment-card,.launch-card,.photo-sequence figure,.city-panorama,.ed-panorama,
 .ed-quality-visual,.ed-property-photo,.ed-video-image,.property-photo-link,.photo-card,
 .related-property>div,.amenity-visual>button,.edition-image,.fair-property-photo,
 .partner-teaser-photo,.partner-case>div,.generated-video-cover,.generated-cps-photo,
 .article-photo,.contact-welcome-visual)>:is(img,video,iframe) {
 border-radius:0!important;
}
/* Full-bleed sections join the next section with no rounded inset layer. */
body :is(.hero,.hero-poster,.hero-video,.hero-shade,.property-scene,.scene-images,
 .campaign-hero,.campaign-image,.company-backdrop,.agro-backdrop,.company-shade,
 .partner-panorama) { border-radius:0!important; }
body.hero31-catalog :is(.discovery-hero,#featured-track,.spotlight,.spotlight-slide,.spotlight-link) {
 border-radius:0!important; overflow:hidden;
}
body.hero31-careers .careers-photo,
body.hero31-news :is(.news-feature,.news-feature-photo) { border-radius:0!important; }
/* This inset film touches the viewport only on the right. */
body.about-page .film-section .institutional-video {
 border-radius:var(--photo-radius) 0 0 var(--photo-radius)!important;
}
body.about-page .business-tile {border-radius:var(--photo-radius);overflow:hidden;isolation:isolate;}
body.about-page .business-tile .tile-photo {border-radius:0!important;}
body.hero31-contact .contact-welcome-visual {
 border-radius:var(--photo-radius) var(--photo-radius) 0 0!important;overflow:hidden;isolation:isolate;
}
/* The phone can overlap this photo; its background and shade share the same curve. */
.generated-app-visual {border-radius:var(--photo-radius);}
.generated-app-visual>.generated-app-photo,.generated-app-visual::after {border-radius:inherit!important;}
/* Dialog close controls remain outside the video frame. */
body :is(.page-dialog,.filters-dialog,.comparison-dialog,.ed-video-dialog) {border-radius:var(--photo-radius)!important;}
.ed-video-dialog iframe {border-radius:inherit;}
body .gallery-stage {border-radius:0!important;overflow:visible;}
body #gallery-full {width:auto;height:auto;max-width:100%;justify-self:center;align-self:center;border-radius:var(--photo-radius)!important;}
/* One white, softly rounded plate for every property identity. Original assets stay intact. */
body :is(.property-brand,.detail-brand),
body .property-brand:has(.logo-crop) {
 box-sizing:border-box;background:var(--brand-frame-background)!important;
 border:1px solid #e4eaf1!important;border-radius:var(--brand-frame-radius)!important;
 box-shadow:0 5px 18px #071b3318;overflow:hidden;isolation:isolate;
 display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);place-items:center;
 width:132px!important;height:88px!important;padding:15px!important;
 backdrop-filter:none;-webkit-backdrop-filter:none;
}
body .detail-brand {width:160px!important;height:104px!important;padding:18px!important;}
body :is(.property-brand,.detail-brand)>img {
 width:100%;height:100%;object-fit:contain;border-radius:0!important;clip-path:none!important;
}
/* Light original artwork needs darker tones to remain readable on the shared white plate. */
body :is(.property-brand,.detail-brand).dark-logo>img {filter:brightness(.38) saturate(1.1);}
body :is(.property-brand,.detail-brand) .logo-crop {max-width:100%;max-height:100%;border-radius:6px;}
body :is(.property-brand,.detail-brand) .logo-crop img {border-radius:0!important;}
@media(max-width:700px) {
 body :is(.property-brand,.detail-brand),body .property-brand:has(.logo-crop) {
  width:116px!important;height:78px!important;padding:13px!important;
 }
}
