.ncaam-ad { --ad-width: 300px; display: flex; flex-direction: column; align-items: center; gap: 8px; width: var(--ad-width); min-width: 0; grid-column: 1 / -1; margin: 28px 0 28px calc((100% - var(--ad-width)) / 2); padding: 12px 0; clear: both; text-align: center; }
.ncaam-ad__label { color: #64748b; font: 10px/1.4 Arial, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.ncaam-ad__frame { width: 300px; height: 250px; flex-shrink: 0; }
.ncaam-ad__frame iframe { display: block; width: 100%; height: 100%; border: 0; margin: 0; }
.ncaam-ad--banner { --ad-width: 728px; }
.ncaam-ad--banner .ncaam-ad__frame { width: 728px; height: 90px; }
.ncaam-ad-flow { min-width: 0; }
.panel.ncaam-ad-flow { overflow: visible; }
@media (max-width: 767px) {
  .ncaam-ad--banner { --ad-width: 320px; }
  .ncaam-ad--banner .ncaam-ad__frame { width: 320px; height: 50px; }
}
@media print { .ncaam-ad { display: none !important; } }
/* Give a 300px rectangle room at 320px while retaining article table scrolling. */
@media (max-width: 359px) {
  .ncaam-article-content.ncaam-ad-flow {
    margin-left: calc((100% - 100vw) / 2 + 4px);
    margin-right: calc((100% - 100vw) / 2 + 4px);
  }
}
