.category-banner,
.category-banner * {
    box-sizing: border-box;
    letter-spacing: 0;
}

.category-banner {
    position: relative;
    width: 100%;
    height: 350px;
    overflow: hidden;
    isolation: isolate;
    background: #eaf4ff;
    font-family: Arial, Helvetica, sans-serif;
}

.category-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(249, 252, 255, .24) 0%, rgba(239, 248, 255, .14) 48%, rgba(10, 54, 92, .08) 100%);
    pointer-events: none;
}

.category-banner__image {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    animation: category-banner-image-in 1.1s ease-out both;
}

.category-banner__inner {
    position: relative;
    z-index: 2;
    display: flex;
    width: min(1320px, calc(100% - 48px));
    height: 100%;
    margin: 0 auto;
    align-items: center;
}

.category-banner__content {
    width: min(570px, 52%);
    padding-bottom: 4px;
    animation: category-banner-content-in .72s .08s ease-out both;
}

.category-banner__eyebrow {
    display: flex;
    margin: 0 0 14px;
    align-items: center;
    gap: 12px;
    color: #1268c4;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 750;
    text-transform: uppercase;
}

.category-banner__eyebrow::before {
    content: "";
    width: 34px;
    height: 3px;
    flex: 0 0 34px;
    background: #ff861f;
    animation: category-banner-rule-in .72s .2s ease-out both;
}

.category-banner h1 {
    margin: 0;
    color: #0d2235;
    font-size: 52px;
    line-height: 1.06;
    font-weight: 760;
}

.category-banner__summary {
    max-width: 540px;
    margin: 18px 0 0;
    color: #41596f;
    font-size: 17px;
    line-height: 1.65;
}

@keyframes category-banner-image-in {
    from { opacity: .72; transform: scale(1.025); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes category-banner-content-in {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes category-banner-rule-in {
    from { transform: scaleX(0); transform-origin: left; }
    to { transform: scaleX(1); transform-origin: left; }
}

@media (max-width: 991px) {
    .category-banner {
        height: 300px;
    }

    .category-banner__image {
        object-position: 64% center;
    }

    .category-banner__content {
        width: min(540px, 66%);
    }

    .category-banner h1 {
        font-size: 46px;
    }
}

@media (max-width: 767px) {
    .category-banner {
        height: 260px;
    }

    .category-banner::before {
        background: linear-gradient(90deg, rgba(249, 252, 255, .68) 0%, rgba(239, 248, 255, .48) 62%, rgba(10, 54, 92, .12) 100%);
    }

    .category-banner__image {
        object-position: 68% center;
    }

    .category-banner__inner {
        width: calc(100% - 32px);
    }

    .category-banner__content {
        width: 82%;
        padding-bottom: 0;
    }

    .category-banner__eyebrow {
        margin-bottom: 10px;
        gap: 9px;
        font-size: 11px;
    }

    .category-banner__eyebrow::before {
        width: 24px;
        flex-basis: 24px;
    }

    .category-banner h1 {
        font-size: 38px;
    }

    .category-banner__summary {
        margin-top: 12px;
        font-size: 14px;
        line-height: 1.55;
    }
}

@media (prefers-reduced-motion: reduce) {
    .category-banner__image,
    .category-banner__content,
    .category-banner__eyebrow::before {
        animation: none;
    }
}
