/* Independent Blog banner: deliberately outside the 1400px content container. */
.blog-single > .blog-banner {
    position: relative;
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    isolation: isolate;
    background: #fff;
}

.blog-banner--layout {
    min-height: clamp(440px, 45vw, 760px);
}

.blog-banner--layout .blog-banner__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: 70% center;
    z-index: -2;
}

.blog-banner--layout::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.98) 27%, rgba(255,255,255,.86) 42%, rgba(255,255,255,.3) 60%, transparent 76%);
    pointer-events: none;
}

.blog-banner__copy {
    box-sizing: border-box;
    position: relative;
    width: 48%;
    padding: clamp(32px, 4vw, 72px) clamp(24px, 3vw, 64px);
}

.blog-banner__heading {
    font-family: 'Inter', 'oxygen-bold', Arial, sans-serif;
    font-size: clamp(32px, 3.3vw, 68px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -.025em;
    text-align: left;
    text-shadow: none;
    color: #272a28;
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.blog-banner__subtitle {
    font-family: 'Inter', 'oxygen-bold', Arial, sans-serif;
    font-size: clamp(16px, 1.2vw, 23px);
    font-weight: 600;
    line-height: 1.4;
    color: #323633;
    margin: clamp(24px, 3vw, 48px) 0 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.blog-banner__badge {
    display: inline-block;
    box-sizing: border-box;
    min-width: 150px;
    max-width: 100%;
    margin-top: clamp(28px, 4vw, 56px);
    padding: 8px 24px;
    border-radius: 999px;
    background: #7b8580;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-family: 'Inter', Arial, sans-serif;
    font-size: clamp(16px, 1.15vw, 21px);
    font-weight: 700;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

a.blog-banner__badge:hover,
a.blog-banner__badge:focus-visible {
    background: #59685f;
    color: #fff;
}

.blog-banner--image .blog-banner__image {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    margin: 0;
}

.blog-banner--no-image {
    min-height: 0;
}

.blog-banner--no-image .blog-banner__copy {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.blog-banner__sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (max-width: 767px) {
    .blog-banner--layout {
        min-height: 0;
    }
    .blog-banner--layout .blog-banner__image {
        position: static;
        z-index: auto;
        height: auto;
        aspect-ratio: 16 / 9;
        object-position: center;
    }
    .blog-banner--layout::before {
        display: none;
    }
    .blog-banner__copy {
        width: 100%;
        padding: 28px 20px 32px;
        background: #fff;
    }
    .blog-banner__heading {
        font-size: clamp(28px, 6.4vw, 42px);
        line-height: 1.12;
    }
    .blog-banner__subtitle {
        font-size: 16px;
        margin-top: 20px;
    }
    .blog-banner__badge {
        margin-top: 24px;
    }
}
