/* UNIMO HM V39.1 — limited responsive refinements, after all previous CSS */
.hero.v17-hero .sector-link:nth-child(3){background-image:url('assets/v39-illustration-office.webp')!important;background-position:center 48%!important}
/* Clear portfolio management image without people */
#xp-management .xp-side-art img,#xp-management .xp-photo img{object-position:center center!important}
#xp-management .v39-1-management-visual{grid-template-columns:minmax(0,1fr);max-width:760px}
#xp-management .v39-1-management-visual .xp-photo img{aspect-ratio:1.9;object-fit:cover}
/* Pofalici: render the entire building in its own aspect ratio, do not cut the roof. */
.xp-property[data-v39-project="ref-pofalici"] .xp-gallery-polished{display:block!important}
.xp-property[data-v39-project="ref-pofalici"] .xp-gallery-polished-photo{height:auto!important;max-width:100%;width:100%;aspect-ratio:auto!important;background:#f5f8fd}
.xp-property[data-v39-project="ref-pofalici"] .xp-gallery-polished-photo img{display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center}
/* Lab second view: respect natural dimensions, no cropped equipment */
.v39-lab-secondary{display:flex;flex-direction:column;align-items:center;gap:12px;max-width:100%;margin:18px 0 34px}
.v39-lab-secondary img{width:min(100%,900px)!important;max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
.v39-1-photo-location{font-size:14px;font-weight:650;color:#526987;margin:0}
/* Remaining direct-contact e-mail gets space to breathe without an empty second cell */
.contact-direct{display:grid!important;grid-template-columns:minmax(0,1fr)!important;max-width:420px}
.contact-direct .contact-item{min-height:74px}
/* Move to-top control above footer contact links, including mobile screens */
.unimo-to-top{bottom:112px!important;right:20px!important}
footer{position:relative;padding-bottom:38px}
.unimo-copyright{width:min(92%,1430px);margin:20px auto 0;padding-top:17px;border-top:1px solid rgba(139,167,210,.25);color:rgba(196,213,237,.82);font:500 12px/1.5 Inter,Arial,sans-serif;text-align:left}
/* Better accessibility at small sizes without obstructing contact details */
@media(max-width:750px){.unimo-to-top{bottom:102px!important;right:12px!important}.v39-lab-secondary img{max-width:100%!important}.xp-property[data-v39-project="ref-pofalici"] .xp-gallery-polished-photo img{width:100%;height:auto!important}}
@media(max-width:390px){.unimo-to-top{bottom:96px!important;right:10px!important;padding:9px 12px!important;font-size:12px!important}}

/* Bjelašnica: preserve both architectural renderings in their complete source proportions. */
.xp-property[data-v39-project="ref-bjelasnica"] .xp-gallery-polished-photo{height:auto!important;aspect-ratio:auto!important;background:#f7faff}
.xp-property[data-v39-project="ref-bjelasnica"] .xp-gallery-polished-photo img{display:block;width:100%;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center}
