/* Default pending: collapsed in article (badges hidden). Load zones override below. */
.nd-ad-slot.nd-ad-pending {
    pointer-events: none;
}

.nd-ad-slot.nd-ad-pending .nd-ad-badge,
.nd-ad-slot.nd-ad-pending .sidebar-ad-badge {
    display: none !important;
}

/* Inline + mid/footer: room for AdSense (display + text) while loading */
.nd-inline-ad-card.nd-ad-pending,
.nd-sponsored-band .nd-ad-slot.nd-ad-pending {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    margin: 1rem 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    pointer-events: auto !important;
}

.nd-inline-ad-card.nd-ad-pending ins.adsbygoogle,
.nd-sponsored-band .nd-ad-pending ins.adsbygoogle {
    display: block !important;
    width: 100% !important;
    min-height: 200px !important;
    height: auto !important;
}

.nd-ad-text-format.nd-ad-pending ins.adsbygoogle,
.nd-ad-code-text ins.adsbygoogle {
    min-height: 120px !important;
}

.sidebar-ad-stack .nd-ad-text-format.nd-ad-pending ins.adsbygoogle {
    min-height: 160px !important;
}

.nd-ad-slot.nd-ad-filled {
    max-height: none;
    opacity: 1;
    pointer-events: auto;
}

.nd-ad-slot.nd-ad-filled.sidebar-ad-card {
    margin-bottom: 0;
}

.nd-inline-ad-card {
    position: relative;
    padding-top: 0.35rem;
}

.nd-inline-ad-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-size: 10px;
    letter-spacing: 0.05em;
}

.nd-inline-ad-card .sidebar-ad-code,
.nd-inline-ad-card .sidebar-ad-img-wrap {
    border-radius: 0 0 0.375rem 0.375rem;
}

.nd-ad-slot.nd-ad-filled ins.adsbygoogle {
    display: block;
    min-height: 90px;
}

/*
 * Sidebar: AdSense needs visible dimensions while loading.
 * Zero-height <ins> never receives fills, so the column stayed empty/hidden.
 */
.sidebar-ad-stack .nd-ad-slot.nd-ad-pending {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    margin: 0 0 1.15rem !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    pointer-events: auto !important;
    background: transparent !important;
}

.sidebar-ad-stack .nd-ad-slot.nd-ad-pending ins.adsbygoogle {
    display: block !important;
    min-height: 280px !important;
    height: auto !important;
    width: 100% !important;
}

.sidebar-ad-stack .nd-ad-slot.nd-ad-filled.sidebar-ad-card {
    border: 1px solid #E2E8F0 !important;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06) !important;
    background: #FFFFFF !important;
    margin-bottom: 1.15rem !important;
    padding: 0 !important;
}

@media (min-width: 992px) {
    .nd-post-row-with-sidebar .nd-post-main-col {
        flex: 0 0 66.666667%;
        max-width: 66.666667%;
    }

    .nd-post-row-with-sidebar .nd-post-sidebar-col {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        display: block !important;
    }
}

.nd-post-orphan .sidebar-ad-stack {
    gap: 1rem;
}

.nd-sponsored-band .nd-inline-ad-card,
.nd-sponsored-band .ad-container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.nd-post-row-with-sidebar .nd-post-sponsored-heading {
    display: block;
}

/* Blog post sidebar: GEO summary cards + ads stack */
.nd-post-sidebar-rail {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.nd-post-sidebar-geo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.35rem;
}

.nd-post-geo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.1rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.05);
}

.nd-post-geo-card--quick {
    border-left: 4px solid var(--nd-primary-blue, #2563eb);
}

.nd-post-geo-card__title {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--nd-primary-blue, #2563eb);
    margin: 0 0 0.55rem;
    line-height: 1.35;
}

.nd-post-geo-card__title--dark {
    color: #0f172a;
    font-size: 0.8125rem;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 700;
}

.nd-post-geo-card__lead {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #334155;
    margin: 0;
}

.nd-post-geo-card__list {
    padding-left: 1.15rem;
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
}

.nd-post-geo-card__list li + li {
    margin-top: 0.35rem;
}

.nd-post-geo-card__byline {
    font-size: 0.8125rem;
    color: #64748b;
}

.nd-post-geo-card__quote {
    font-size: 0.8125rem;
    line-height: 1.55;
    color: #64748b;
    font-style: italic;
}

.nd-post-sidebar-sponsored {
    padding-top: 0.25rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 991.98px) {
    .nd-post-sidebar-col {
        margin-top: 0.5rem;
    }

    .nd-post-sidebar-geo {
        margin-bottom: 1rem;
    }
}
