/* styling */

.sport-takeover-banner {
    /* Images */
    --background-image: none;
    --background-color: var(--brand-main, #FFF);
    /* --background-color: #FFF; */
    /* --brand-accent: var(--brand-accent, #000); */

    /* Adjustable gradient overlay */
    
    --overlay-top: rgb(from var(--brand-accent, #000) r g b / 0.2);
    --overlay-bottom: rgb(from var(--brand-accent, #000) r g b / 1);

    /* Colours */
    --text-colour: #ffffff;
    --text-muted: rgb(233, 233, 233);
    --countdown-bg: #080b23;
    --countdown-text: #ffffff;
    --odds-bg: #f3f3f3;
    --odds-text: #555555;
    --logo-bg: #ffffff;

    /* Sizing */
    --content-max-width: 880px;
    --banner-min-height-desktop: clamp(380px, 36vw, 420px);
    --banner-min-height-mobile: 410px;
    max-width: 100%;
}

.sport-takeover-banner{
    margin: 1rem 0;
}
.single-lander .lander-content-wrapper .sport-takeover-banner, .lads-lander .sport-takeover-banner, .wp-theme-neds-landers .sport-takeover-banner{
    margin:0;
}
.sport-takeover-banner__wrapper {
    /* --overlay-top: rgba(0, 0, 0, 0.18);
    --overlay-bottom: rgba(0, 24, 190, 0.98); */

    /* width: 100%; */
    max-width: 100%;
    min-height: var(--banner-min-height-desktop);
    color: var(--text-colour);
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(to bottom,
            var(--overlay-top) 0%,
            var(--overlay-bottom) 100%),
        var(--background-image);
    background-color: var(--background-color);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(32px, 5vw, 70px) 24px;
    border-radius: var(--brand-border-radius, 0);
}
.single-lander .lander-content-wrapper section.sport-takeover-banner__wrapper {
    width: 100%;
    max-width: 100%;
    border-radius: 0%;
}

.sport-takeover-banner__inner {
    width: 100%;
    max-width: var(--content-max-width);
    display: grid;
    grid-template-columns: 0.95fr 1.45fr;
    align-items: center;
    gap: clamp(36px, 6vw, 90px);
    position: relative;
    z-index: 2;
}

.sport-takeover-banner__details {
    text-align: center;
}

.sport-takeover-banner__countdown {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: clamp(14px, 1.5vw, 18px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.sport-takeover-banner__countdown-item {
    width: clamp(38px, 3.2vw, 48px);
    height: clamp(39px, 3.2vw, 48px);
    background: var(--countdown-bg);
    color: var(--countdown-text);
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.sport-takeover-banner__countdown-item__number {
    font-size: clamp(20px, 1.75vw, 26px);
    font-weight: 800;
    margin-bottom: 4px;
}

.sport-takeover-banner__countdown-item__label {
    font-size: clamp(9px, 0.75vw, 11px);
    opacity: 0.9;
}

.sport-takeover-banner h3.sport-takeover-banner__title {
    font-size: clamp(34px, 3.05vw, 56px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
    color: var(--text-colour);
}

.sport-takeover-banner__meta {
    font-size: clamp(12px, 1vw, 16px);
    color: var(--text-muted);
}

.sport-takeover-banner__teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: clamp(22px, 4vw, 70px);
}

.sport-takeover-banner__team {
    min-width: 0;
    text-align: center;
}

.sport-takeover-banner__team__logo {
    width: clamp(82px, 7vw, 116px);
    height: clamp(82px, 7vw, 116px);
    border-radius: 50%;
    background: var(--logo-bg);
    display: grid;
    place-items: center;
    margin: 0 auto clamp(10px, 1.1vw, 16px);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.sport-takeover-banner__team__image, .sport-takeover-banner__team__link {
    width: 78%;
    height: 78%;
    object-fit: contain;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-image: var(--team-image);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat; */
}
a.sport-takeover-banner__team__odds, .entry-content div[class*=wp-block] a.sport-takeover-banner__team__odds{
    color: var(--brand-main, #000);
}

.sport-takeover-banner__disclaimer{
    font-size: 12px;
    text-align: center;
    opacity: 0.85;
    padding: 1em 0;
}

.sport-takeover-banner__team--one .sport-takeover-banner__team__image {
    --team-image: var(--team-1-image);
}

.sport-takeover-banner__team--two .sport-takeover-banner__team__image {
    --team-image: var(--team-2-image);
}

.sport-takeover-banner__team__name {
    font-size: clamp(16px, 1.25vw, 20px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(10px, 1vw, 14px);
    white-space: nowrap;
}

.sport-takeover-banner__team__odds {
    width: min(100%, 136px);
    height: clamp(39px, 3vw, 48px);
    margin: 0 auto;
    border-radius: 5px;
    background: var(--odds-bg);
    color: var(--odds-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(17px, 1.25vw, 21px);
    font-weight: 700;
}

.sport-takeover-banner__teams__vs {
    font-size: clamp(14px, 1.15vw, 18px);
    font-weight: 800;
    text-transform: lowercase;
    align-self: center;
    padding-top: clamp(16px, 3vw, 44px);
}

@media (max-width: 760px) {
    .sport-takeover-banner__wrapper {
        min-height: var(--banner-min-height-mobile);
        padding: 34px 36px 58px;
        align-items: flex-end;
        background-position: center;
    }

    .sport-takeover-banner__inner {
        max-width: 440px;
        display: block;
    }

    .sport-takeover-banner__details {
        margin-bottom: 24px;
    }

    .sport-takeover-banner__title {
        font-size: clamp(34px, 8vw, 40px);
    }

    .sport-takeover-banner__meta {
        font-size: 13px;
    }

    .sport-takeover-banner__teams {
        gap: 16px;
        align-items: end;
    }

    .sport-takeover-banner__team__logo {
        width: 82px;
        height: 82px;
    }

    .sport-takeover-banner__team__name {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .sport-takeover-banner__team__odds {
        width: 100%;
        height: 39px;
    }

    .sport-takeover-banner__teams__vs {
        padding-top: 0;
        margin-bottom: 76px;
    }
}

@media (max-width: 420px) {
    .sport-takeover-banner__wrapper {
        padding-left: 22px;
        padding-right: 22px;
    }

    .sport-takeover-banner__teams {
        gap: 10px;
    }

    .sport-takeover-banner__team__name {
        font-size: 14px;
    }
}

.sport-takeover-banner__countdown--hidden {
    display: none;
}