/* ===== AdSense units ===== */

.ad-unit {
    margin: 2.5rem 0;
    text-align: center;
}

.ad-unit .ad-label {
    display: block;
    margin-bottom: 0.6rem;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-dim);
}

/* Collapse the container while no ad has filled it. */
.ad-unit:has(> ins[data-ad-status="unfilled"]),
.ad-unit:has(> ins[data-ad-status="error"]) {
    display: none;
}

.ad-unit ins.adsbygoogle {
    display: block;
    min-height: 0;
}
