/* OMT Ads — Frontend Styles */

.omt-ad {
    width: 100%;
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    line-height: 0;
}

.omt-ad a {
    display: block;
    line-height: 0;
}

.omt-ad img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider */
.omt-ad--slider {
    position: relative;
}

.omt-ad__slides {
    position: relative;
    width: 100%;
}

.omt-ad__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.omt-ad__slide.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

/* Dots */
.omt-ad__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}

.omt-ad__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.omt-ad__dot.is-active {
    background: #fff;
}

/* Sidebar specific */
.omt-ad--sidebar {
    margin: 1rem 0;
}

/* Content specific (in-article) */
.omt-ad--content {
    margin: 2rem auto;
}

/* Section specific (full width in content area) */
.omt-ad--section {
    margin: 1.5rem 0;
    width: 100%;
}

.omt-ad-fullwidth {
    width: 100%;
    margin-bottom: 2rem;
}

.omt-ad-fullwidth .omt-ad {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .omt-ad {
        border-radius: 0;
        margin: 1rem 0;
    }
}
