/* Shared, in-flow ad breaks. No clipping, fixed height, refresh, or extra loader. */
.pm-content-ad {
    box-sizing: border-box;
    grid-column: 1 / -1;
    flex: 0 0 100%;
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 122px;
    height: auto;
    margin: 28px auto;
    padding: 24px 0 8px;
    border-block: 1px solid #e3e7ed;
    background: #f7f9fb;
    color: #647084;
    clear: both;
}
.pm-content-ad--rectangle { min-height: 282px; }
.pm-content-ad > .pm-content-ad__label {
    position: absolute;
    top: 7px;
    left: 0;
    width: 100%;
    color: inherit;
    font: 600 9px/1.2 system-ui, sans-serif;
    letter-spacing: .12em;
    text-align: center;
    text-transform: uppercase;
    pointer-events: none;
}
.pm-content-ad > ins { width: 100%; min-width: 0; margin: 0; }
.pm-content-ad.pm-ad-filled { min-height: 0; }
/* The legacy news columns used 68% + 32% + a gap, exceeding their container.
   Zero-minimum tracks keep the content and new ad breaks within the viewport. */
.pm-news-page .pm-hub-grid { grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); }
.pm-news-page .pm-news-stream, .pm-news-page .pm-sidebar-stream { min-width: 0; }
.pm-news-page .pm-news-subgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); min-width: 0; }
.pm-news-page .pm-section-head-modern { flex-wrap: wrap; }
.pm-music-hub-wrapper .pm-music-feed-layout { grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); }
.pm-music-hub-wrapper .pm-magazine-stream, .pm-music-hub-wrapper .pm-music-sidebar { min-width: 0; }
.pm-music-hub-wrapper .pm-music-sidebar { position: static; width: 100%; max-width: 100%; }
@media (max-width: 992px) {
    .pm-music-hub-wrapper .pm-music-feed-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 1024px) {
    .pm-news-page .pm-hub-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
    .pm-news-page .pm-news-subgrid { grid-template-columns: minmax(0, 1fr); }
}
.pm-celebs-directory-page .pm-celebs-directory-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 1024px) {
    .pm-celebs-directory-page .pm-celebs-directory-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.dark-theme .pm-content-ad { background: #111a29; border-color: #293449; color: #a9b5c7; }
.pm-genre-movie-grid > .pm-content-ad,
.pm-celebs-directory-grid > .pm-content-ad,
.pm-boh-rank-list > .pm-content-ad { margin-block: 12px; }
@media (max-width: 600px) {
    .pm-content-ad { margin-block: 24px; min-height: 282px; }
    .pm-content-ad.pm-ad-filled { min-height: 0; }
}
