/* @group Red Banner
------------------------------------ */

.red-banner .content-box {
    background: linear-gradient(180deg, rgba(237, 86, 90, 0.20) 0%, rgba(255, 255, 255, 0.20) 100%);
    border-radius: 2rem;
    padding: 8rem;
}

.red-banner .content-box .text-box {
    max-width: 73rem;
}

.red-banner .content-box :is(.text-box, .text-box .bttn-filled) {
    margin: 0 auto;
}

.red-banner .content-box .text-box .features {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4.4rem;
    margin-bottom: 2.4rem;
}

.red-banner .content-box .text-box .features li {
    font-weight: 500;
    font-size: 1.6rem;
    line-height: normal;
    text-transform: uppercase;
    position: relative;
}

.red-banner .content-box .text-box .features li:not(:last-of-type)::before {
    content: '';
    background: var(--red);
    position: absolute;
    pointer-events: none;
}

@media only screen and (min-width: 768px) {

    .red-banner .row {
        max-width: 136.2rem;
    }

    .red-banner .content-box .text-box {
        max-width: 72.9rem;
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }

    .red-banner .content-box .text-box .text-h1 {
        font-weight: 500;
        line-height: 1.2em;
        color: var(--header-2);
        margin-bottom: 0;
    }

    .red-banner .content-box .text-box h2 {
        line-height: 5rem;
    }

    /* Features: 50px row, each divider is a real 1px border (crisp on any x offset) with 22px on each side */
    .red-banner .content-box .text-box .features {
        gap: 0;
        margin-bottom: 0;
    }

    .red-banner .content-box .text-box .features li {
        display: flex;
        align-items: center;
        min-height: 5rem;
        padding-block: 0;
    }

    .red-banner .content-box .text-box .features li+li {
        margin-left: 2.2rem;
        padding-left: 2.2rem;
        border-left: 1px solid var(--red);
    }

    .red-banner .content-box .text-box .features li:not(:last-of-type)::before {
        display: none;
    }

    /* CTA: base .bttn-filled (buttons.css); only delta is Figma's borderless 46px height: border takes the bg colour and is absorbed in the padding */
    .red-banner .content-box .text-box .bttn-filled {
        --_border-color: var(--black);
        padding: calc(1rem - 1px) calc(2rem - 1px);
    }
}

@media only screen and (min-width: 0) and (max-width: 767px) {
    .red-banner .content-box {
        padding: 4rem 2.8rem;
    }

    .red-banner .content-box .text-box .features,
    .red-banner .text-box :is(h2:not([class*="text-"]), .text-h2) {
        margin-bottom: 3rem;
    }

    .red-banner .content-box .text-box .features {
        flex-direction: column;
    }

    .red-banner .content-box .text-box .features li {
        font-weight: 600;
        font-size: 1.4rem;
    }

    .red-banner .content-box .text-box .features li:not(:last-of-type)::before {
        width: 5rem;
        height: 1px;
        left: 50%;
        transform: translate(-50%, 0);
        bottom: -2.25rem;
    }
}

/* @end */