.lim-team-banner-container {
    container-type: inline-size;
    container-name: team-banner;
    margin: 0 auto;
    max-width: 1300px !important;
}

.lim-team-banner {
    --team-accent: #ffc001;

    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: 320px;
    overflow: hidden;
    border-radius: 24px;
    background: #302b24;
    color: #fff;
}

.lim-team-banner,
.lim-team-banner * {
    box-sizing: border-box;
}

.lim-team-banner__image {
    position: absolute;
    inset: 0;
    z-index: -2;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.lim-team-banner__content {
    width: 55%;
    padding: 40px 0 40px 60px;
}

.lim-team-banner .lim-team-banner__title {
    margin: 0 0 15px;
    color: #fff;
    font-size: clamp(26px, 2.5vw, 36px);
    font-weight: 500;
    line-height: 1.15;
    text-align: left;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.lim-team-banner__title span {
    color: var(--team-accent);
}

.lim-team-banner .lim-team-banner__tagline {
    display: inline-block;
    margin: 0 0 20px;
    padding: 4px 8px !important;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 4px;
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
}

.lim-team-banner .lim-team-banner__description {
    margin: 0 0 30px;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
    padding: 0 !important;
}

.lim-team-banner .lim-team-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 5px 0 6px;
    color: #ffc001;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.65);
}

.lim-team-banner .lim-team-banner__button:hover {
    background: #ffc001;
    color: #fff;
    padding: 5px 10px 6px 15px;
    border-radius: 5px;
}

body.custom-page-pre-approval .lim-team-banner,
.locations-page .lim-team-banner {
    margin: 70px auto 30px;
}

.locations-page.location-state-page .lim-team-banner {
    margin: 10px auto 100px;
}

@container team-banner (max-wi dth: 928px) {
    .lim-team-banner__content {
        width: 65%;
        padding: 32px;
    }

    .lim-team-banner__image {
        object-position: 60% center;
    }
}

@container team-banner (max-width: 787px) {
    .lim-team-banner {
        display: flex;
        flex-direction: column;
        border-radius: 18px;
    }

    .lim-team-banner__image {
        position: relative;
        inset: auto;
        z-index: auto;
        height: auto;
        aspect-ratio: 16 / 9;
        object-position: right center;
        max-height: 200px;
        border-radius: 15px;
    }

    .lim-team-banner::before {
        display: none;
    }

    .lim-team-banner__content {
        width: 100%;
        max-width: none;
        padding: 26px 22px;
    }

    .lim-team-banner .lim-team-banner__title {
        font-size: 25px;
    }

    .lim-team-banner .lim-team-banner__button {
        font-size: 14px;
    }
}

@container team-banner (max-width: 413px) {
    .lim-team-banner__image {
        object-position: 90% center;
    }
}
