/* Áreas reservadas visíveis mesmo antes da configuração dos blocos. */
.ed-body .ed-ad { margin-block: 28px 42px; text-align: center; min-width: 0; }
.ed-body .ed-ad:not(.is-filled) { display: block !important; }
.ed-body .ed-ad-label { display: block; margin-bottom: 8px; color: #766c86; font-size: 9px; font-weight: 600; line-height: 1.6; letter-spacing: .16em; text-transform: uppercase; }
.ed-ad-surface { width: 100%; min-width: 0; min-height: 120px; border: 1px solid #ddd5eb; border-radius: 10px; background: #f2eef8; }
.ed-ad-placeholder { display: flex; min-height: 120px; align-items: center; justify-content: center; padding: 18px; color: #847894; font-size: 11px; font-weight: 500; letter-spacing: .03em; }
.ed-ad [data-ad-placeholder][hidden] { display: none !important; }
.ed-ad [data-ad-content] { width: 100%; min-width: 0; }
.ed-ad [data-ad-content]:empty { display: none; }
.ed-ad [data-ad-content] > ins { width: 100%; }
.ed-ad.is-filled .ed-ad-surface { background: transparent; border-color: transparent; border-radius: 0; }
.ed-ad-sidebar .ed-ad-surface, .ed-ad-sidebar .ed-ad-placeholder { min-height: 250px; }
/* O sumário e a publicidade lateral devem rolar com o artigo. */
.ed-body .ed-toc { position: static; }
@media (max-width: 980px) {
  .ed-body .ed-ad.ed-ad-sidebar { display: none !important; }
}
@media (max-width: 600px) {
  .ed-body .ed-ad { margin-block: 22px 30px; }
  .ed-ad-surface, .ed-ad-placeholder { min-height: 100px; }
}
@media print {
  .ed-body .ed-ad, .ed-body .ed-ad:not(.is-filled) { display: none !important; }
}
