/* Sponsor / self ad slots — sizing, rotation crossfade, "Sponsored" mark. */

.ad-slot {
    margin: 0 auto;
}

.ad-slot__item {
    display: none;
}

.ad-slot__item.is-active {
    display: block;
}

.ad-slot__frame {
    display: block;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-radius: 0.5rem;
    border: 1px solid var(--bs-border-color);
}

.ad-slot--leaderboard .ad-slot__frame { max-width: 728px; aspect-ratio: 728 / 90; }
.ad-slot--rectangle .ad-slot__frame { max-width: 300px; aspect-ratio: 300 / 250; }
.ad-slot--mobile_banner .ad-slot__frame { max-width: 320px; aspect-ratio: 320 / 50; }

.ad-slot__frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ad-slot__badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 1;
    font-size: 0.65rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.15rem 0.45rem;
    border-radius: 0.25rem;
    background: rgba(255, 255, 255, 0.85);
    color: #6c757d;
}

.ad-slot__dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.ad-slot__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bs-secondary-bg, #dee2e6);
}

.ad-slot__dot.is-active {
    background: var(--bs-primary, #0d6efd);
}
