/* Homepage Black Friday slide. Other slides and the promotions page use their existing styles. */
.m24-campaign-slider .m24-bf-campaign {
    --bf-ink: #100a1c;
    --bf-text: #fbf8ff;
    --bf-muted: #ded4ea;
    --bf-gold: #ffdc81;
    --bf-border: #8e6dbd66;
    background: radial-gradient(ellipse at 17% 0%, #2c1944 0, #140b23 54%, #100a1c 100%);
    color: var(--bf-text);
    color-scheme: dark;
}

body.page-home .m24-campaign-viewport > .m24-bf-campaign {
    padding-block: clamp(1.1rem, 3vw, 2.5rem) !important;
}

.m24-bf-campaign .m24-bf-campaign-grid {
    display: grid;
    grid-template-columns: minmax(0, 2.1fr) minmax(15.5rem, 1fr);
    gap: clamp(.65rem, 1.5vw, 1.15rem);
    align-items: stretch;
    padding-inline: 0;
}

.m24-bf-campaign :is(.m24-bf-host, .m24-bf-site-offer) {
    min-width: 0;
    border: 1px solid var(--bf-border);
    border-radius: clamp(.9rem, 2vw, 1.35rem);
}

.m24-bf-campaign .m24-bf-host {
    display: grid;
    align-items: center;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 21rem;
    background: radial-gradient(ellipse at 0 55%, #392556 0, #160e28 60%, #130d20 100%);
}

.m24-bf-campaign .m24-bf-host-art {
    position: absolute;
    inset-block: 0;
    inset-inline-end: 0;
    width: 55%;
    z-index: -1;
    pointer-events: none;
    mask-image: linear-gradient(to right, #000 48%, transparent);
}

.m24-bf-campaign .m24-bf-host-art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 44% center;
    display: block;
}

.m24-bf-campaign .m24-bf-host-content {
    width: 100%;
    padding: clamp(1.2rem, 3vw, 2.6rem);
}

.m24-bf-campaign .m24-bf-campaign-name {
    width: fit-content;
    margin: 0 0 .6rem;
    padding-inline-start: .6rem;
    border-inline-start: 2px solid var(--bf-gold);
    color: var(--bf-gold);
    font-size: .9rem;
    font-weight: 800;
}

.m24-bf-campaign h2 {
    display: grid;
    line-height: 1.28;
    gap: .22rem;
    margin: 0;
    color: var(--bf-text);
    font-size: clamp(1.18rem, 2.35vw, 2.05rem);
    text-wrap: balance;
    text-shadow: 0 1px 6px #100a1c;
}

.m24-bf-campaign .m24-bf-host-discount {
    color: var(--bf-gold);
    font-size: clamp(2.2rem, 5.45vw, 4.55rem);
    font-weight: 900;
}

.m24-bf-campaign .m24-bf-host-terms {
    max-width: 23rem;
    margin: .75rem 0 1.3rem;
    color: var(--bf-muted);
    font-size: clamp(.88rem, 1.16vw, 1rem);
}

.m24-bf-campaign .m24-bf-host-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: .55rem;
}

.m24-bf-campaign :is(.m24-bf-plans-link, .m24-bf-copy, .m24-bf-design-link) {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    min-height: 44px;
    padding: .55rem .82rem;
    border: 1px solid transparent;
    border-radius: .6rem;
    font-size: .88rem;
    font-weight: 800;
    font-family: inherit;
    line-height: 1.5;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s, border-color .18s;
}

.m24-bf-campaign .m24-bf-plans-link {
    background: var(--bf-gold);
    color: #271604;
}

.m24-bf-campaign .m24-bf-plans-link:hover { background: #ffe8ad; }

.m24-bf-campaign .m24-bf-copy {
    background: #1a0f2c;
    border-color: #ac8bd5;
    color: var(--bf-text);
    cursor: pointer;
}

.m24-bf-campaign .m24-bf-copy:hover { background: #35204e; }

.m24-bf-campaign .m24-bf-copy bdi {
    color: var(--bf-gold);
    font-size: .78rem;
    font-family: ui-monospace, monospace;
    letter-spacing: .025em;
}

.m24-bf-campaign .m24-bf-copy [data-copy-label] {
    min-width: 3.6rem;
    padding-inline-start: .55rem;
    border-inline-start: 1px solid #ac8bd56b;
    text-align: center;
    color: var(--bf-text);
}

.m24-bf-campaign .m24-bf-site-offer {
    display: grid;
    grid-template-rows: auto auto 1fr auto auto;
    justify-items: start;
    align-content: center;
    gap: .58rem;
    padding: clamp(1.1rem, 2.3vw, 1.8rem);
    background: linear-gradient(145deg, #35204e 0%, #2a1a42 55%, #1f142f 100%);
}

.m24-bf-campaign .m24-bf-site-discount {
    display: inline-flex;
    align-items: center;
    min-height: 1.85rem;
    padding-inline: .6rem;
    border: 1px solid #c2a7f266;
    border-radius: .4rem;
    background: #ddcaff;
    color: #2d174b;
    font-size: .8rem;
    font-weight: 900;
}

.m24-bf-campaign .m24-bf-site-offer h3 {
    margin: 0;
    color: var(--bf-text);
    font-size: clamp(1.1rem, 1.7vw, 1.55rem);
    line-height: 1.55;
    letter-spacing: normal;
}

.m24-bf-campaign .m24-bf-site-offer p {
    margin: 0;
    color: var(--bf-muted);
    font-size: .88rem;
    line-height: 1.7;
}

.m24-bf-campaign .m24-bf-site-prices {
    display: grid;
    gap: .15rem;
    width: 100%;
    padding-block-start: .55rem;
    margin-block-start: .18rem;
    border-block-start: 1px solid var(--bf-border);
    line-height: 1.4;
}

.m24-bf-campaign .m24-bf-site-prices del {
    color: var(--bf-muted);
    font-size: .82rem;
}

.m24-bf-campaign .m24-bf-site-prices div {
    color: var(--bf-gold);
    font-weight: 800;
}

.m24-bf-campaign .m24-bf-site-prices strong {
    color: var(--bf-gold);
    font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.m24-bf-campaign .m24-bf-design-link {
    margin-block-start: .2rem;
    border-color: #ac8bd5;
    color: var(--bf-text);
}

.m24-bf-campaign .m24-bf-design-link:hover { background: #472969; }

.m24-bf-campaign :is(a, button):focus-visible {
    outline: 2px solid #fff1c3;
    outline-offset: 3px;
}

@media (max-width: 840px) {
    .m24-bf-campaign .m24-bf-campaign-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .m24-bf-campaign .m24-bf-host { min-height: 15rem; }

    .m24-bf-campaign .m24-bf-site-offer {
        display: block;
    }

    .m24-bf-campaign .m24-bf-site-offer h3 { margin-block: .38rem .15rem; }

    .m24-bf-campaign .m24-bf-site-prices {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        column-gap: .65rem;
        margin-block: .55rem;
    }
}

@media (max-width: 475px) {
    body.page-home .m24-campaign-viewport > .m24-bf-campaign > .m24-bf-campaign-grid {
        width: calc(100% - 3.15rem);
    }

    .m24-bf-campaign .m24-bf-host-content { padding: .95rem; }

    .m24-bf-campaign .m24-bf-host-art {
        width: 79%;
        opacity: .58;
        mask-image: linear-gradient(to right, #000 12%, transparent 91%);
    }

    .m24-bf-campaign .m24-bf-host-terms { margin-block: .55rem .85rem; }

    .m24-bf-campaign .m24-bf-host-actions > * { width: 100%; }

    .m24-bf-campaign .m24-bf-site-offer { padding: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
    .m24-bf-campaign :is(a, button) { transition: none; }
}
