/* Keep the existing unit and its 32px separation inside a persistent reservation.
   The outer margins retain the original spacing with adjacent article elements.
   No fixed height or overflow clipping: fluid ads remain free to choose their size. */
.tep-document-ad-space {
    display: flow-root;
    min-height: 250px;
    margin: 32px 0;
}

@media (max-width: 820px) {
    .tep-document-ad-space {
        min-height: 400px; /* Covers the observed 391px mobile unit. */
    }
}

/* The ad itself retains its original styling and unfilled behavior. */
ins.adsbygoogle.tep-document-ad {
    display: block;
    min-height: 250px;
    margin: 32px 0;
    text-align: center;
    text-decoration: none;
}

/* Move only vertical separation to the wrapper; Google can still adjust the
   unit's horizontal margins for responsive/full-width native creatives. */
.tep-document-ad-space > ins.tep-document-ad {
    margin-top: 0;
    margin-bottom: 0;
}

ins.adsbygoogle.tep-document-ad[data-ad-status="unfilled"] {
    display: none !important;
    min-height: 0;
    margin: 0;
}
