/**
 * Elimar AdRotate - Public Styles
 */

.elimar-adrotate-ad {
    display: inline-block;
    text-align: center;
    line-height: 0;
}

.elimar-adrotate-ad a {
    display: inline-block;
    text-decoration: none;
}

.elimar-adrotate-ad img {
    max-width: 100%;
    height: auto;
    display: block;
}

.elimar-adrotate-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.elimar-adrotate-fallback {
    text-align: center;
    padding: 20px;
}

/* Rotator - Rotação automática */
.elimar-adrotate-rotator {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.elimar-adrotate-rotator .elimar-adrotate-slide {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}

.elimar-adrotate-rotator .elimar-adrotate-slide.active {
    display: block !important;
    opacity: 1;
}

.elimar-adrotate-rotator .elimar-adrotate-slide.fade-out {
    opacity: 0;
}

.elimar-adrotate-rotator .elimar-adrotate-ad {
    display: block;
    width: 100%;
}

.elimar-adrotate-rotator .elimar-adrotate-ad img {
    width: 100%;
    height: auto;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .elimar-adrotate-ad img {
        max-width: 100%;
    }
}
