/* Keep project descriptions readable through intermediate widths. */
.portfolio-addition [data-id="50e19e5"] p{font-size:clamp(14px,.9vw,16px)!important;line-height:1.6;}
/* Compact the existing menu for short phone/tablet landscape windows. */
@media(max-width:1024px) and (max-height:600px){
.elementor-5680 [data-id="efae450"]{top:48px!important;left:20px!important;right:20px!important;width:calc(100% - 40px)!important;margin:0!important;}
.elementor-5680 [data-id="efae450"] img{width:100%;height:32px;object-fit:contain;object-position:left center;}
.elementor-5680 [data-id="4ae9f89"]{top:100px!important;left:20px!important;right:20px!important;width:auto!important;margin:0!important;}
.elementor-5680 [data-id="4ae9f89"] .elementor-heading-title{font-size:20px!important;line-height:1.2!important;}
.elementor-5680 [data-id="07d8dbe"]{top:140px!important;left:20px!important;right:20px!important;width:calc(100% - 40px)!important;margin:0!important;}
.elementor-5680 [data-id="07d8dbe"] .elementor-item{font-size:14px!important;line-height:1.4!important;padding-top:10px!important;padding-bottom:10px!important;}
}

/* Fit sticky features below navigation in short landscape windows. */
@media(min-width:768px) and (max-width:1024px) and (max-height:600px){
.elementor-7778 [data-featured-order]{--min-height:calc(100vh - 90px)!important;min-height:calc(100vh - 90px);}
.elementor-7778 [data-featured-order]>.e-con{--min-height:calc(100vh - 90px)!important;min-height:calc(100vh - 90px);}
.elementor-7778 [data-featured-order] :is(img,video){height:calc(100vh - 90px)!important;}
.replica-selected-work-anchor{scroll-margin-top:80px;}}
@media(max-width:767px) and (max-height:600px){
.elementor-7778 [data-featured-order]{--min-height:0px!important;min-height:0px;}
.elementor-7778 [data-featured-order] :is(img,video){height:max(120px,calc(100vh - 190px))!important;}
.replica-selected-work-anchor{scroll-margin-top:64px;}}
.elementor-7778 [data-featured-order] video,
.elementor-7778 [data-featured-order] a:has(>video){display:block;}

/* The new poster/player needs to contribute height to the inherited HTML widget. */
.portfolio-addition [data-id="2a4792f"]{height:auto!important;min-height:0!important;max-height:none!important;flex-basis:auto!important;}
.portfolio-addition [data-id="36599bd"]{--margin-top:16px!important;margin-top:16px!important;}

/* Fit each featured panel to the tallest current caption without changing media proportions. */
body.home .elementor-7778 [data-featured-order]{min-height:var(--portfolio-feature-height,var(--min-height,0px))!important;}
body.home .elementor-7778 [data-featured-order] :is(img,video){max-width:100%!important;}
@media(max-width:767px) and (max-height:600px){
body.home .elementor-7778 [data-featured-order]>.e-con{min-height:0!important;--min-height:0px!important;}
}

/* Preserve the media slot after a poster is replaced by an absolutely positioned player. */
.portfolio-addition [data-id="2a4792f"]{aspect-ratio:16/9;flex-shrink:0!important;}
.portfolio-addition [data-id="2a4792f"]:has(.portfolio-sift){aspect-ratio:4606/2295;}

.portfolio-addition [data-id="042fdc3"]{display:block!important;}
