/* Match the first portfolio image: 4:5 portrait. */
figure:has(img[src*="/assets/bstudio/"]),figure:has(img[src*="/assets/uploads/"]),div:has(> img[data-portfolio-video-replacement]){aspect-ratio:4 / 5 !important;height:auto !important;min-height:0 !important;overflow:hidden;}
figure:has(img[src*="/assets/bstudio/"]) img,figure:has(img[src*="/assets/uploads/"]) img,figure video,div:has(> img[data-portfolio-video-replacement]) > img,div:has(> img[data-portfolio-video-replacement]) > video{object-fit:cover !important;object-position:center !important;}

/* Three portfolio images per row on desktop. */
@media (min-width: 1000px){
 .framer-1g5mvxy{grid-template-columns:repeat(3,minmax(0,1fr)) !important;}
}

/* Keep the two footer social links alongside each other. */
.framer-ApzsC .framer-1irahmb{flex-direction:row!important;gap:24px!important;width:max-content!important;align-items:flex-start!important;}
.framer-ApzsC .framer-10k37q8,.framer-ApzsC .framer-1irahmb{overflow:visible!important;}

/* Rounded portfolio frames: circular corners at 5% of frame width. */
figure:has(img[src*="/assets/bstudio/"]),
figure:has(img[data-photo-slot]),
div:has(> img[data-portfolio-video-replacement]){
 border-radius:5% / 4%!important;
 overflow:hidden!important;
}
img[data-photo-slot],video[data-photo-slot],
img[data-portfolio-video-replacement]{border-radius:5% / 4%!important;}

/* Hide archived floating work explorer; remove this rule to restore. */
.framer-oUCQM{display:none!important;pointer-events:none!important}

/* Static personal emblem inside Home navigation's existing white circle. */
a[href="/"] .framer-xqtmvw,a[href="./"] .framer-xqtmvw{background-image:url('/assets/bogdan-coin-logo.png')!important;background-repeat:no-repeat!important;background-position:center!important;background-size:68% 68%!important}
a[href="/"] .framer-xqtmvw>*,a[href="./"] .framer-xqtmvw>*{visibility:hidden!important}

/* Keep the homepage at three columns across desktop breakpoints. */
@media(min-width:760px){
 #main [class*="framer-"]:has(> .portfolio-home-added){grid-template-columns:repeat(3,minmax(0,1fr))!important;}
}

/* Process page archived locally on 2026-10-20. */
a[href="/info/process"],a[href="/info/process/"]{display:none!important}

/* Retired availability badge, removed from all footer variants. */
footer a[data-framer-name="Availability"]{display:none!important}
