/* Keep the brand artwork at a size its source pixels can support. */
.logo-box3--style2 {
    width: 225px;
    flex: 0 0 225px;
}

.logo-box3--style2 img {
    display: block;
    width: 210px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    image-rendering: auto;
    transform: none;
}

.footer-widget__about-logo a img {
    width: 175px;
    max-width: 100%;
    height: auto;
    image-rendering: auto;
    transform: none;
}

.mobile-nav__content .logo-box img {
    width: 100px;
    height: auto;
    image-rendering: auto;
}

.mobile-nav__content {
    width: min(300px, calc(100vw - 48px));
}

.mobile-nav__close {
    appearance: none;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #333;
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.mobile-nav__close:hover,
.mobile-nav__close:focus-visible {
    background: var(--thm-base);
    color: #fff;
}

.mobile-nav__close:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.mobile-nav__contact a {
    overflow-wrap: anywhere;
}

/* Owl's generic width: 100% rule must not enlarge small partner logos. */
.partner-one .owl-carousel .owl-item img {
    display: inline-block;
    width: auto;
    max-width: 100%;
    height: auto;
}

/* Partner grids on the Mutual Funds, Insurance, and Loan pages use 250px logos. */
.team-one .team-one__single-img img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
    margin-inline: auto;
}

.team-one .team-one__single:hover .team-one__single-img img {
    transform: none;
}

/* These photographs are only 373px and 370px wide in the source files. */
.about-one--about .about-one__left-img {
    width: min(100%, 373px);
    margin-inline: auto;
}

.footer-contact-info a {
    overflow-wrap: anywhere;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .banner-one {
        min-height: 760px;
        padding-top: 150px;
    }

    .banner-one__content {
        max-width: 48%;
        padding-right: 0;
    }

    .banner-one__content .section-title h1,
    .banner-one__content .section-title h2 {
        font-size: clamp(36px, 4vw, 44px);
        line-height: 1.16;
    }

    .banner-one__banner-img {
        top: 0;
        right: 0;
        width: 48%;
    }

    .banner-one__banner-img img {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 767px) {
    .counter-one:not(.counter-one--counter-three) .offset-4 {
        margin-left: 0;
    }

    .counter-one:not(.counter-one--counter-three) .counter-one__wrapper {
        padding: 0 16px;
    }

    .counter-one:not(.counter-one--counter-three) .counter-one__outer {
        top: 0;
        padding-left: 0;
        text-align: center;
    }

    .logo-box3--style2 {
        width: 210px;
        flex-basis: 210px;
    }

    .main-header-four__bottom-inner .main-menu .left {
        min-width: 0;
        gap: 12px;
    }

    .main-header-four__bottom-inner .mobile-nav__toggler {
        flex: 0 0 auto;
        margin-left: auto;
    }
}

@media (max-width: 390px) {
    .logo-box3--style2 {
        width: 190px;
        flex-basis: 190px;
    }

    .logo-box3--style2 img {
        width: 190px;
    }
}
