/* Compatibility fixes; the archived design and public content remain the source. */
[hidden] { display: none !important; }
#news .slider-for .slick-list, #news .slider-for .slick-track { height: 100%; }
#news .slider-nav .slick-prev, #news .slider-nav .slick-next { z-index: 2; }
#news .slider-nav .slick-list { margin: 0 50px; }
#news .slider-nav .slick-slide { height: 148px; }
#news .slider, #news .slider .slider-for { background: #3a6f8f; }
/* Hide the legacy divider without changing the news navigation's spacing. */
#news .slider .slider-nav { border-top-color: transparent; }
.ui-tabs .ui-tabs-hide { display: none; }
a:focus-visible, [role="button"]:focus-visible, button:focus-visible { outline: 2px solid #3189dd; outline-offset: 3px; }
/* Keep portrait proportions inside the original 100px circular frame. */
#team .ot_content .team_container img.img_container {
    object-fit: cover;
    object-position: center 25%;
}
/* Preserve headshot proportions inside the existing square testimonial tiles. */
#blog .blog_content .blog_link img.blog_img {
    object-fit: cover;
    object-position: center 25%;
}
/* Show Preston's complete original portrait over a matching foliage backdrop. */
#blog .blog_content .blog_link:has(img.blog_img[src$="/2019/10/preston.jpeg"]) {
    display: inline-flex;
    vertical-align: middle;
    justify-content: center;
    align-items: flex-end;
    width: 50px;
    height: 50px;
    margin: 0 5px;
    background: #183423 url('../images/preston-testimonial-background.png') center / cover no-repeat;
}
#blog .blog_content .blog_link img.blog_img[src$="/2019/10/preston.jpeg"] {
    width: auto;
    height: 48px;
    margin: 0;
    object-fit: contain;
    object-position: center;
    -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
@media (max-width: 395px) {
    #blog .blog_content .blog_link:has(img.blog_img[src$="/2019/10/preston.jpeg"]) { margin: 0 3px; }
}
/* The archived width-only background sizing leaves taller mobile heroes bare. */
#home { background-size: cover; background-position: center top; }
@media (max-width: 767px) {
    #news .slider-for .slider_content1 .news_content { box-sizing: border-box; padding-left: 18px; padding-right: 18px; }
    #news .slider .slider-for .slider_content1 .news_content .news_content_title { margin-bottom: 18px; }
    #team .ot_content .team_container { width: 90%; height: auto; min-height: 280px; margin: 20px auto; }
    #team .ot_content .team_container .team_par { min-height: 0; }
    #strategy .strategy_content .strategy-tabs-content { padding: 0 20px; }
    #strategy_tabs ul { padding-left: 0; }
    #strategy_tabs ul li { padding: 0 4px; }
    #strategy_tabs ul li a { max-width: 70px; font-size: 12px; }
    .contact-containerhere { box-sizing: border-box; width: 86%; margin: -100px 7% 20px; }
}
