/* 
   Estilos Premium para los Banners Geolocalizados de QConciertos Ads
*/

.qca-ad-banner-container {
    position: relative;
    margin: 20px auto;
    width: 100%;
    max-width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease;
    background: #ffffff;
    display: block;
}

.qca-ad-banner-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.qca-ad-link {
    display: block;
    line-height: 0;
    text-decoration: none;
    outline: none;
}

.qca-ad-picture {
    display: block;
    width: 100%;
    height: auto;
    line-height: 0;
}

.qca-ad-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: filter 0.3s ease;
}

/* Badge de "Patrocinado" o "Publicidad Local" */
.qca-ad-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 3px 8px;
    border-radius: 20px;
    z-index: 10;
    pointer-events: none;
    text-transform: uppercase;
}

/* Placements específicos si se desean estilos concretos */
.qca-placement-sidebar {
    max-width: 320px;
}

.qca-placement-header {
    border-radius: 8px;
}

/* Evitar CLS (Cumulative Layout Shift) en carga */
.qca-ad-banner-container {
    min-height: 50px;
}

@media (max-width: 767px) {
    .qca-ad-banner-container {
        border-radius: 8px;
        margin: 15px auto;
    }
    .qca-ad-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
}
