.contenedor-carrusel-publicidad { 
    position: relative; 
    width: 100%; 
    max-width: 800px; 
    margin: 20px auto; 
    overflow: hidden; 
    border: 1px solid #ddd; 
    border-radius: 8px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); 
}

/* AQUÍ SE ACHICÓ EL BOTÓN */
.boton-cerrar-publicidad { 
    position: absolute; 
    top: 8px;                    /* Más pegado al borde superior */
    right: 8px;                  /* Más pegado al borde derecho */
    z-index: 999; 
    background: rgba(0,0,0,0.6); /* Un poco más transparente */
    color: #fff; 
    border: none; 
    padding: 4px 10px;           /* Relleno interno reducido a la mitad */
    cursor: pointer; 
    border-radius: 12px;         /* Bordes redondeados más finos */
    font-weight: normal;         /* Texto menos grueso */
    font-size: 11px;             /* Letra más pequeña (estaba en 13px) */
    transition: background 0.3s; 
    line-height: 1;
}

.boton-cerrar-publicidad:hover { 
    background: rgba(0,0,0,0.9); 
}

.carrusel-pub-deslizador { 
    display: flex; 
    transition: transform 0.5s ease-in-out; 
    width: 500%; 
}

.carrusel-pub-item { 
    width: 20%; 
    flex-shrink: 0; 
}

.carrusel-pub-item img { 
    width: 100%; 
    height: auto; 
    display: block; 
    object-fit: cover; 
}
