/* ═══════════════════════════════════════════
   GARÇA BRANCA — Slots de anúncios (home)
   ═══════════════════════════════════════════ */

.ad-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    max-width: var(--ad-w, 300px);
    margin: 0 auto;
}

.ad-slot__label {
    font-family: var(--sans);
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-soft);
    opacity: 0.7;
    align-self: flex-start;
}

.ad-slot__frame {
    position: relative;
    width: 100%;
    aspect-ratio: var(--ad-ratio, 300 / 250);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-alt);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition), transform var(--transition);
}

.ad-slot__frame:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.ad-slot__link {
    display: block;
    width: 100%;
    height: 100%;
}

.ad-slot__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Blocos inline no fluxo da home (leaderboards e retângulos). */
.ad-anchor {
    display: flex;
    justify-content: center;
    padding: 28px 20px;
}

.ad-anchor:empty {
    display: none;
    padding: 0;
}

/* ── Skyscraper lateral fixo (desktop) ──────────────────────────── */
.ad-sidebar {
    position: fixed;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    z-index: 60;
}

@media (max-width: 1280px) {
    .ad-sidebar { display: none; }
}

/* ── Sticky de rodapé (mobile) ──────────────────────────────────── */
.ad-sticky {
    position: fixed;
    left: 50%;
    bottom: 10px;
    transform: translateX(-50%);
    z-index: 70;
    display: flex;
    align-items: flex-start;
    gap: 4px;
    padding: 6px;
    background: var(--surface);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-lg);
}

.ad-sticky .ad-slot__label { display: none; }

.ad-sticky__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border: none;
    border-radius: 50%;
    background: var(--text);
    color: #fff;
    font-size: 0.7rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* O sticky mobile não deve aparecer no desktop. */
@media (min-width: 769px) {
    .ad-sticky { display: none; }
}
