.anuncio-carousel-container { display:flex; flex-direction:column; align-items:center; width:100%; }

.anuncio-carousel {
    width: 100%;
    /* max-width e aspect-ratio injetados via style inline pelo shortcode */
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin: 0 auto;
}

.anuncio-carousel-inner { position:relative; width:100%; height:100%; }

.anuncio-carousel-slide { position:absolute; inset:0; opacity:0; transition:opacity 0.5s ease-in-out; pointer-events:none; z-index:1; }
.anuncio-carousel-slide.anuncio-active { opacity:1; pointer-events:auto; z-index:10; }
.anuncio-carousel-slide a { display:block; width:100%; height:100%; }
.anuncio-carousel-slide img { width:100%; height:100%; object-fit:contain; display:block; user-select:none; -webkit-user-drag:none; }

.anuncio-carousel .anuncio-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.2);
    color: #fff;
    border: none;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 3px;
    line-height: 1;
    z-index: 20;
    display: none;
    opacity: 0;
    transition: opacity 0.3s, background 0.2s;
}

.anuncio-carousel.anuncio-show-controls .anuncio-carousel-control { display:block; }
.anuncio-carousel:hover .anuncio-carousel-control { opacity:1; }
.anuncio-carousel .anuncio-carousel-control:hover { background:rgba(0,0,0,0.45); }
.anuncio-carousel .anuncio-prev { left:10px; }
.anuncio-carousel .anuncio-next { right:10px; }

.anuncio-carousel-indicators { display:none; justify-content:center; gap:8px; margin-top:10px; }
.anuncio-carousel-indicators.anuncio-show { display:flex; }
.anuncio-indicator { width:8px; height:8px; border-radius:50%; background:#ccc; cursor:pointer; transition:background 0.3s; }
.anuncio-indicator.anuncio-active { background:#007bff; }

.anuncio-carousel-loading { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(0,0,0,0.5); color:#fff; padding:5px 12px; border-radius:3px; font-size:12px; display:none; z-index:30; }

.anuncio-carousel.anuncio-swipe-enabled        { cursor:grab; }
.anuncio-carousel.anuncio-swipe-enabled:active { cursor:grabbing; }
