.bp-toc{margin:18px 0 28px;background:var(--s1);border:1px solid var(--bp-border);border-radius:14px;padding:18px 20px}
.bp-toc summary{font-size:1rem;font-weight:700;cursor:pointer;color:var(--tx)}
.bp-toc nav{display:grid;gap:8px;margin-top:14px}
.bp-toc a{display:block;font-size:.9rem;line-height:1.6;text-decoration:none!important;color:var(--mu)}
.bp-toc a:hover,.bp-toc a:focus-visible{color:var(--acc)}
.bp-toc .toc-sub{padding-left:18px;border-left:2px solid var(--bp-border)}
:is(.news-prose,.dt .d,.entry) :is(h2,h3){scroll-margin-top:110px}
.bp-interlinks{margin:30px 0;padding:22px;border:1px solid var(--bp-border);border-radius:14px;background:var(--s1)}
.bp-interlinks h2{font-size:1.2rem!important;margin:0 0 16px!important}
.bp-interlinks ul{margin:0!important;padding:0!important;list-style:none}
.bp-interlinks li{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:10px 0;border-top:1px solid var(--bp-border)}
.bp-interlinks a{font-size:.95rem;line-height:1.65;text-decoration:none!important;overflow-wrap:anywhere}
.bp-interlinks li span{color:var(--mu);font-size:.75rem;white-space:nowrap;padding-top:3px}
.bp-post-prose{max-width:820px;margin-inline:auto}
.mature-home{border:1px solid var(--bp-border);border-radius:20px;padding:28px;background:var(--s1)}
.mature-age{font-size:.8rem;vertical-align:middle;padding:5px 9px;border:1px solid var(--bp-border);border-radius:6px;margin-left:8px}
.mature-badge{position:absolute;right:8px;bottom:8px;z-index:2;background:#111c;color:#fff;border:1px solid #ffffff55;border-radius:6px;padding:3px 7px;font-size:11px;font-weight:700}
.mature-empty{color:var(--mu);font-size:.95rem}
/* News uses one 16:10 frame at every breakpoint. Contain never trims source pixels. */
.news-card .news-card-image,
.news-lead-grid .news-card-feature .news-card-image,
.news-lead-grid>.news-card:not(.news-card-feature) .news-card-image{aspect-ratio:16/10;height:auto;min-height:0;flex:none;align-self:start;width:100%}
.news-card .news-card-image img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;transform:none!important}
.news-lead-grid>.news-card:not(.news-card-feature){display:flex;flex-direction:column;grid-template-columns:none}
.news-lead-grid .news-card-feature{grid-row:auto}
.news-lead-grid{align-items:start}
.news-article-image{aspect-ratio:auto!important;overflow:visible!important}
.news-article-image img{display:block;width:100%;max-width:min(100%,var(--fp-news-image-max,100%));margin-inline:auto;height:auto!important;max-height:none!important;object-fit:contain}
.news-prose img{max-width:min(100%,var(--fp-news-image-max,100%))!important;height:auto!important;max-height:none!important;object-fit:contain!important;aspect-ratio:auto!important}
.news-prose :is(figure,.wp-block-image,.wp-block-gallery,.alignwide,.alignfull){max-width:100%;margin-inline:0;overflow:visible}
.news-prose .wp-block-gallery.has-nested-images figure.wp-block-image{flex-grow:0}
.news-prose .wp-block-gallery img{aspect-ratio:auto!important;align-self:start}
@media(max-width:760px){
  .po img.pi{object-fit:contain;background:var(--s1)}
  .mini .th,.sug i{background-size:contain!important;background-repeat:no-repeat;background-position:center}
  .card:hover .po{transform:none}.news-card:hover .news-card-image img{transform:none}
  .news-card-image img{object-fit:contain}
  .news-article-image{aspect-ratio:auto!important;overflow:visible!important}
  .news-article-image img{display:block;width:100%;height:auto!important;max-height:none;object-fit:contain}
  :is(.dt .d,.entry) img{max-width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
  :is(.news-prose,.dt .d,.entry) :is(figure,.wp-block-image,.wp-block-gallery,.alignwide,.alignfull){max-width:100%;margin-inline:0;overflow:visible}
  :is(.news-prose,.dt .d,.entry) .wp-block-gallery img{aspect-ratio:auto!important}
  .news-reading-aside{order:-1;position:static!important}
  .news-reading-layout{display:flex;flex-direction:column;gap:18px}
  .news-prose,.news-reading-aside{min-width:0;width:100%}
  .bp-toc{padding:16px;margin-block:12px 24px}
  .bp-interlinks{padding:18px}
  .mature-home{padding:22px 16px}
  .mature-home .editorial-section-head{align-items:flex-start;flex-direction:column;gap:16px}
}
