.borrower-guide-header {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 32px 0 0;
    border-bottom: 0;
    background: linear-gradient(115deg, #f4f8fd, #edf6ff);
}

.borrower-guide-header__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: center;
}

.borrower-guide-header__copy {
    padding: 18px 0 42px;
}

.borrower-guide-header__visual {
    align-self: end;
    display: grid;
    justify-items: center;
    padding-top: 8px;
    background: radial-gradient(ellipse at 50% 65%, #dfedff 0, #eaf4ff 58%, transparent 59%);
}

.borrower-guide-header__mascot {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.borrower-guide-header__cta,
.borrower-guide-header__cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 100%;
    margin-top: 26px;
    padding: 14px 22px;
    border-radius: 10px;
    color: #fff;
    background: #075fc9;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
}

.borrower-guide-header__cta:hover {
    color: #fff;
    background: #064c9f;
}

.borrower-guide-header__cta:focus-visible {
    outline: 3px solid #075fc9;
    outline-offset: 4px;
}

.borrower-guide-header .thm-breadcrumb {
    color: #075ba8;
    font-weight: 700;
    margin-bottom: 10px;
}

.page-header__inner .borrower-guide-title {
    margin: 0;
    max-width: 850px;
    color: var(--insur-black);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.04em;
}

@media (max-width: 991px) {
    .borrower-guide-header__grid {
        grid-template-columns: minmax(0, 1fr) 220px;
        gap: 24px;
    }

    .borrower-guide-header__mascot {
        width: 220px;
    }
}

@media (max-width: 575px) {
    .borrower-guide-header__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
        align-items: end;
    }

    .borrower-guide-header__copy {
        padding: 4px 0 0;
    }

    .borrower-guide-header__visual {
        justify-self: center;
        width: 180px;
        padding-top: 0;
    }

    .borrower-guide-header__mascot {
        width: 150px;
    }

    .page-header__inner .borrower-guide-title {
        font-size: 30px;
    }
}
