/* Banner 2 - split content / media hero
--------------------------------------------- */

html .banner-2 {
    --banner-2-content: min(var(--wrapWidth, 1366px), 1200px);
    --banner-2-edge: 20px;
    box-sizing: border-box;
    overflow: hidden;
    padding: clamp(4rem, 9vw, 8rem);
    position: relative;
}

html .banner-2 > .wp-block-group__inner-container,
html .banner-2 > .banner-2__inner {
    margin-inline: auto;
    max-width: var(--banner-2-content);
    width: 100%;
}

html .banner-2__columns {
    align-items: center !important;
    display: grid;
    gap: clamp(32px, 5vw, 64px);
    grid-template-columns: minmax(0, 7fr) minmax(0, 6fr);
    margin: 0;
}

html .banner-2__content,
html .banner-2__media {
    min-width: 0;
}

html .banner-2__content {
    max-width: none;
}

/*html .banner-2 .eyebrow {
    align-items: center;
    color: var(--secondary);
    display: flex;
    gap: 10px;
    line-height: 1.45;
    margin-bottom: clamp(18px, 2vw, 26px);
}*/

html .banner-2 .eyebrow img {
    border-radius: 2px;
    flex: 0 0 auto;
    height: auto;
    margin: 0;
    width: 27px;
}

html .banner-2__content h1 {
    color: var(--headingcolor);
    font-size: clamp(40px, 1rem + 4vw, 72px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.12;
    margin: 16px 0 0;
    text-wrap: balance;
}

html .banner-2 .banner-text p {
    color: color-mix(in srgb, var(--textcolor) 78%, transparent);
    font-size: clamp(18px, 1rem + 0.75vw, 24px);
    line-height: 1.6;
    margin-top: 20px;
    margin-bottom: 0;
    max-width: 46ch;
}

html .banner-2__buttons {
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

html .banner-2__buttons.wp-block-buttons + .wp-block-buttons {
    margin-top: 32px;
}

html .banner-2__note {
    color: color-mix(in srgb, var(--textcolor) 55%, transparent);
    font-size: clamp(12px, 0.7rem + 0.25vw, 14px);
    line-height: 1.6;
    margin: 16px 0 0;
    max-width: 43.2rem;
}

html .banner-2__note a {
    color: var(--primary);
    text-underline-offset: 3px;
}

html .banner-2__media {
    position: relative;
}

html .banner-2__slider {
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(23, 54, 63, 0.16);
    display: block;
    margin: 0;
    overflow: hidden;
    width: 100%;
}

html .banner-2__slider .swiper-wrapper {
    margin: 0;
}

html .banner-2__slider .swiper-slide {
    height: 100%;
    margin: 0;
}

html .banner-2__image {
    height: 100%;
    margin: 0;
}

html .banner-2__image img {
    aspect-ratio: 4 / 3;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

html .banner-2__slider .swiper-pagination {
    bottom: 14px;
    display: flex;
    gap: 7px;
    justify-content: center;
}

html .banner-2__slider .swiper-pagination-bullet {
    background: #fff;
    box-shadow: 0 1px 5px rgba(6, 24, 37, 0.25);
    height: 9px;
    margin: 0 !important;
    opacity: 0.65;
    width: 9px;
}

html .banner-2__slider .swiper-pagination-bullet-active {
    background: var(--primary);
    opacity: 1;
}

html .banner-2__badge {
    background-color: var(--lightcolor);
    border: 1px solid rgba(6, 24, 37, 0.08);
    border-radius: 12px;
    bottom: clamp(16px, 2vw, 28px);
    box-shadow: 0 12px 30px rgba(6, 24, 37, 0.12);
    display: flex;
    flex-direction: column;
    left: clamp(16px, 2vw, 28px);
    margin: 0;
    padding: 14px 20px 16px;
    position: absolute;
    z-index: 2;
}

html .banner-2__badge-number {
    color: var(--headingcolor);
    font-family: var(--secondaryFontFamily);
    font-size: clamp(30px, 2.5vw, 42px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin: 0;
}

html .banner-2__badge-label {
    color: var(--textcolor);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 5px;
}

@media (max-width: 860px) {
    html .banner-2 {
        /*padding: calc(96px + clamp(56px, 9vw, 72px)) 20px clamp(64px, 9vw, 96px);*/
    }

    html .banner-2__columns {
        grid-template-columns: 1fr;
    }

    html .banner-2__content {
        max-width: 760px;
    }

    html .banner-2__media {
        max-width: none;
        width: 100%;
    }
}

@media (max-width: 767px) {
    html .banner-2__columns {
        gap: 32px;
    }

    html .banner-2__content h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    html .banner-2 .banner-text p {
        font-size: 18px;
    }

    html .banner-2__buttons {
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    html .banner-2__badge {
        bottom: 12px;
        left: 12px;
        padding: 12px 16px 13px;
    }

    html .banner-2__badge-label {
        font-size: 12px;
    }
}
