.bgs-mix-match-header,
.bgs-mix-match-header * {
    box-sizing: border-box;
}

.bgs-mix-match-header {
    --bgs-mix-banner-side-spacing-effective: var(--bgs-mix-banner-side-spacing, 0px);
    position: relative;
    padding-block: var(--bgs-mix-banner-padding, 0);
    overflow: hidden;
}

.bgs-mix-match-header--full {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    padding-inline: var(--bgs-mix-banner-side-spacing-effective);
}

.bgs-mix-match-header--wide,
.bgs-mix-match-header--contained {
    width: min(calc(100% - var(--bgs-mix-banner-side-spacing-effective) - var(--bgs-mix-banner-side-spacing-effective)), var(--bgs-mix-banner-max, 1600px));
    margin-inline: auto;
}

.bgs-mix-match-header--contained {
    max-width: min(1200px, var(--bgs-mix-banner-max, 1600px));
}

.bgs-mix-match-header__link,
.bgs-mix-match-header__picture,
.bgs-mix-match-header__image {
    display: block;
    width: 100%;
}

.bgs-mix-match-header__link {
    position: relative;
    overflow: hidden;
    border-radius: var(--bgs-mix-banner-radius, 0);
    color: inherit;
    text-decoration: none;
}

a.bgs-mix-match-header__link:focus-visible {
    outline: 3px solid currentColor;
    outline-offset: 4px;
}

.bgs-mix-match-header__image {
    height: auto;
    object-fit: cover;
    object-position: center;
    transition: opacity .2s ease, transform .35s ease;
}

a.bgs-mix-match-header__link:hover .bgs-mix-match-header__image {
    opacity: .97;
    transform: scale(1.003);
}

.bgs-mix-match-header__button {
    position: absolute;
    z-index: 2;
    bottom: clamp(12px, 2.4vw, 46px);
    display: inline-flex;
    width: clamp(190px, 18.5vw, 440px);
    min-height: clamp(42px, 4.4vw, 70px);
    align-items: center;
    justify-content: center;
    gap: clamp(8px, 1vw, 18px);
    padding: clamp(10px, 1.2vw, 18px) clamp(18px, 2.5vw, 42px);
    border-radius: var(--bgs-mix-banner-button-radius, 0);
    background: var(--bgs-mix-banner-button-bg, #050505);
    color: var(--bgs-mix-banner-button-color, #fff);
    box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    font-size: clamp(14px, 1.55vw, 28px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: .025em;
    text-transform: uppercase;
    transition: transform .2s ease, box-shadow .2s ease;
}

.bgs-mix-match-header__button--bottom-left {
    left: clamp(12px, 2.2vw, 44px);
}

.bgs-mix-match-header__button--bottom-center {
    left: 50%;
    transform: translateX(-50%);
}

.bgs-mix-match-header__button--bottom-right {
    right: clamp(12px, 2.2vw, 44px);
}

.bgs-mix-match-header__button svg {
    width: 1.15em;
    height: 1.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

a.bgs-mix-match-header__link:hover .bgs-mix-match-header__button {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .24);
}

a.bgs-mix-match-header__link:hover .bgs-mix-match-header__button:not(.bgs-mix-match-header__button--bottom-center) {
    transform: translateY(-2px);
}

a.bgs-mix-match-header__link:hover .bgs-mix-match-header__button--bottom-center {
    transform: translate(-50%, -2px);
}

a.bgs-mix-match-header__link:hover .bgs-mix-match-header__button svg {
    transform: translateX(4px);
}

@media (max-width: 680px) {
    .bgs-mix-match-header {
        --bgs-mix-banner-side-spacing-effective: min(var(--bgs-mix-banner-side-spacing, 0px), 32px);
    }

    .bgs-mix-match-header--mobile-cover .bgs-mix-match-header__picture,
    .bgs-mix-match-header--mobile-cover .bgs-mix-match-header__image {
        height: var(--bgs-mix-banner-mobile-height, 360px);
    }

    .bgs-mix-match-header--mobile-cover .bgs-mix-match-header__image {
        object-fit: cover;
        object-position: center;
    }

    .bgs-mix-match-header__button,
    .bgs-mix-match-header__button--bottom-left,
    .bgs-mix-match-header__button--bottom-center,
    .bgs-mix-match-header__button--bottom-right {
        position: relative;
        inset: auto;
        width: calc(100% - 24px);
        min-height: 48px;
        margin: 12px;
        padding: 13px 20px;
        font-size: 15px;
        transform: none;
    }

    a.bgs-mix-match-header__link:hover .bgs-mix-match-header__button,
    a.bgs-mix-match-header__link:hover .bgs-mix-match-header__button--bottom-center {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bgs-mix-match-header__image,
    .bgs-mix-match-header__button,
    .bgs-mix-match-header__button svg {
        transition: none;
    }
}
