.wb-index-promo {
    background: #000;
    box-sizing: border-box;
    overflow: hidden;
    padding: clamp(8px, 1.15vw, 18px) 0;
    width: 100%;
}

.wb-index-promo[hidden] {
    display: none !important;
}

.wb-index-promo *,
.wb-index-promo *::before,
.wb-index-promo *::after {
    box-sizing: border-box;
}

.wb-index-promo .wrapper {
    max-width: 100%;
    min-width: 0;
}

.wb-index-promo-frame {
    background: #050505;
    margin: 0 auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.wb-index-promo-content {
    color: #fff;
    line-height: 1.35;
    margin: 0 auto;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

/*
 * MechBunny requires a Block Title when an existing Custom Block is edited.
 * Keep that administrative title populated, but do not display the generated
 * block header inside this image-only promotional placement.
 */
.wb-index-promo-content .block-title {
    display: none !important;
}

.wb-index-promo-content > a,
.wb-index-promo-content > picture,
.wb-index-promo-content > div {
    display: block;
    max-width: 100%;
    min-width: 0;
    width: 100%;
}

.wb-index-promo-content a {
    display: block;
    max-width: 100%;
}

.wb-index-promo-content p {
    margin: 0;
    max-width: 100%;
}

.wb-index-promo-content img {
    border: 0;
    display: block;
    height: auto !important;
    margin: 0 auto;
    max-width: 100% !important;
    object-fit: contain;
    width: 100% !important;
}

.wb-index-promo-content picture,
.wb-index-promo-content picture img,
.wb-index-promo-content video,
.wb-index-promo-content iframe,
.wb-index-promo-content object,
.wb-index-promo-content embed {
    display: block;
    height: auto;
    max-width: 100%;
    width: 100%;
}

.wb-index-promo-dismiss {
    align-items: center;
    appearance: none;
    background: rgba(20, 20, 20, 0.76);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 2px;
    color: rgba(255, 255, 255, 0.86);
    cursor: pointer;
    display: flex;
    font: 700 12px/1 Arial, sans-serif;
    height: 18px;
    justify-content: center;
    opacity: 0.72;
    padding: 0;
    position: absolute;
    right: 5px;
    top: 5px;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
    width: 18px;
    z-index: 4;
}

.wb-index-promo-dismiss:hover,
.wb-index-promo-dismiss:focus-visible {
    background: #ffb800;
    border-color: #ffb800;
    color: #090909;
    opacity: 1;
    transform: scale(1.05);
}

.wb-index-promo-restore {
    appearance: none;
    background: #171717;
    border: 1px solid #474747;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: block;
    font: 700 14px/1.2 Arial, sans-serif;
    margin: 0 auto;
    padding: 10px 18px;
}

.wb-index-promo-restore:hover,
.wb-index-promo-restore:focus-visible {
    border-color: #ffb800;
    color: #ffb800;
}

@media (max-width: 767px) {
    .wb-index-promo {
        padding: 6px 0;
    }

    .wb-index-promo .wrapper {
        padding-left: 0;
        padding-right: 0;
    }

    .wb-index-promo-dismiss {
        font-size: 12px;
        height: 18px;
        right: 4px;
        top: 4px;
        width: 18px;
    }

    .wb-index-promo-restore {
        font-size: 12px;
        padding: 8px 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .wb-index-promo-dismiss {
        transition: none;
    }
}
