.news-ad{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-width:0;padding:12px 0;text-align:center;box-sizing:border-box}
.news-ad .label{flex:none;font-size:11px;line-height:12px;margin:0}
.news-ad:not([data-ad-state="filled"]) .label{visibility:hidden}
.news-ad .adsbygoogle{display:block;flex:none;width:100%;height:90px}
.news-page .rcol{gap:12px}
.news-ad[data-placement="sidebar"]{padding-top:4px}
.news-ad[data-placement="sidebar"] .adsbygoogle{max-width:300px;height:500px}
.news-ad[data-placement="desktop"]{min-height:var(--ad-card-height,220px)}
.news-ad[data-placement="desktop"] .adsbygoogle{height:auto;min-height:calc(var(--ad-card-height,220px) - 44px)}
.news-ad[data-placement="mobile"],.news-ad[data-placement="mobile-feed"]{display:none}
@media(max-width:860px),(orientation:landscape){
 :where(html.phone-layout) .news-ad[data-placement="desktop"]{display:none}
 :where(html.phone-layout) .mobile-deck>.news-ad[data-placement="mobile"]{display:flex;flex:none;gap:4px;padding:4px 10px 12px;background:var(--bg)}
 :where(html.phone-layout) .news-ad[data-placement="mobile"] .adsbygoogle{width:min(100%,320px);height:50px}
 :where(html.phone-layout) .mobile-deck.mobile-feed-ad-active>.news-ad[data-placement="mobile"]{display:none}
 :where(html.phone-layout) .mobile-deck .news-ad[data-placement="mobile-feed"]{display:flex;justify-content:flex-start;gap:8px;padding:12px 0;overflow-y:auto;touch-action:pan-y}
 :where(html.phone-layout) .news-ad[data-placement="mobile-feed"] .adsbygoogle{height:min(500px,calc(100% - 20px));min-height:250px}

}

.phone-landscape .mobile-deck>.news-ad[data-placement="mobile"]{grid-row:3;grid-column:2;align-self:center;justify-self:center;width:calc(var(--landscape-ad-size,150px) + 20px);gap:4px;padding:8px 10px}
.phone-landscape .mobile-deck>.news-ad[data-placement="mobile"] .adsbygoogle{width:var(--landscape-ad-size,150px);height:var(--landscape-ad-size,150px)}
.phone-landscape .mobile-deck.landscape-ad-too-small>.news-ad[data-placement="mobile"]{display:none}
.phone-landscape .mobile-deck:not(.landscape-ad-too-small):not(.mobile-feed-ad-active):has(>.news-ad[data-placement="mobile"]:not([hidden])){grid-template-columns:minmax(0,1fr) auto}
.phone-landscape .mobile-deck:not(.landscape-ad-too-small):not(.mobile-feed-ad-active):has(>.news-ad[data-placement="mobile"]:not([hidden]))>.dgrid{grid-column:1}
.phone-landscape .mobile-deck .news-ad[data-placement="mobile-feed"]{display:none}

.phone-landscape .mobile-deck[data-landscape-ad-side="left"]>.news-ad[data-placement="mobile"]{grid-column:1}
.phone-landscape .mobile-deck[data-landscape-ad-side="left"]:not(.landscape-ad-too-small):not(.mobile-feed-ad-active):has(>.news-ad[data-placement="mobile"]:not([hidden])){grid-template-columns:auto minmax(0,1fr)}
.phone-landscape .mobile-deck[data-landscape-ad-side="left"]:not(.landscape-ad-too-small):not(.mobile-feed-ad-active):has(>.news-ad[data-placement="mobile"]:not([hidden]))>.dgrid{grid-column:2}

/* Keep the weather and opening ad in the same native scroll surface. */
.news-ad[data-placement="mobile-opening"]{display:none}
html.phone-layout:not(.phone-landscape) .mobile-deck.mobile-weather-active>.news-ad[data-placement="mobile"]{display:none}
html.phone-layout:not(.phone-landscape) .mobile-deck .mobile-weather>.news-ad[data-placement="mobile-opening"]{display:flex;flex:1 1 0;min-height:0;gap:4px;padding:0;width:100%;background:var(--bg);touch-action:pan-y}
html.phone-layout:not(.phone-landscape) .mobile-deck .mobile-weather>.news-ad[data-placement="mobile-opening"] .adsbygoogle{width:min(320px,calc(100% - 20px));height:calc(100% - 28px)}

/* The surrounding ad surface belongs to the reader theme, not the creative. */
[data-theme="dark"] .news-ad{background:var(--bg);color:var(--text-3);border-color:var(--line);color-scheme:dark}
[data-theme="dark"] .news-ad .adsbygoogle{background:transparent;border-color:var(--line)}

/* The support button occupies the existing banner height, including small phones. */
.news-ad.has-support .label{display:none}
.news-support-shell{display:flex;align-items:center;justify-content:center;width:100%;max-width:320px;height:50px;min-height:50px;overflow:hidden}
.news-support-shell .bmc-btn-container{display:flex;justify-content:center;width:100%;min-width:0}
.news-support-shell .news-support-action{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;min-width:0!important;max-width:100%;height:50px!important;margin:0;padding:0 12px!important;border:0;border-radius:12px;background:#ffdd00;color:#000!important;text-decoration:none!important;font-family:Cookie,Arial,sans-serif!important;font-size:26px;font-weight:400;line-height:1.1;white-space:nowrap;touch-action:pan-y}
.news-support-shell .bmc-btn-text{width:auto!important;min-width:0;margin:0!important;flex-shrink:1;line-height:1.1;font-size:inherit;font-family:inherit!important}
.support-emoji{font-family:system-ui,sans-serif;font-size:25px;line-height:1;flex:none}
[data-weather-support] .news-support-shell{margin-inline:auto}
.weather-inline [data-weather-support].has-support{margin-top:12px}
.news-ad.has-support>.adsbygoogle{display:none!important}
html.phone-layout [data-weather-support]{display:none}
.news-support-action:focus-visible{outline:2px solid var(--accent,#9e3248);outline-offset:-3px}

/* A narrow landscape side slot has vertical room; keep its text readable. */
.phone-landscape .news-support-shell{height:auto}
.phone-landscape .news-support-shell .news-support-action{height:auto!important;min-height:64px;flex-direction:column;gap:5px;padding:8px!important;font-size:16px!important;white-space:normal;text-align:center}
.phone-landscape .news-support-shell .bmc-btn-text{white-space:normal;text-align:center;overflow-wrap:anywhere}

html.phone-layout .mobile-deck>.news-ad[data-placement="mobile"]{background-color:var(--reader-bar)}
html.phone-layout .mobile-deck:has(.news-card.dragging,.news-card.swipe-exit)>.news-ad[data-placement="mobile"]{opacity:.78}
