/* Advertising only; never modify site layout selectors. */
html body .chdnext-ad-block{display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;margin:12px auto;padding:0;clear:both;overflow:clip;grid-column:1/-1}
html body .chdnext-ad-grid{display:grid!important;grid-template-columns:repeat(var(--chd-d,2),minmax(0,1fr))!important;gap:var(--chd-gap,12px)!important;width:100%;min-width:0;max-width:100%;align-items:start}
html body .chdnext-ad-grid>.ad-banner,html body .chdnext-a-mobile .ad-banner{display:block;box-sizing:border-box;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:auto!important;margin:0!important;padding:0!important;border-radius:0!important;overflow:hidden!important;background:transparent!important;box-shadow:none!important}
html body .chdnext-ad-grid>.ad-banner picture,html body .chdnext-ad-grid>.ad-banner img,html body .chdnext-a-mobile .ad-banner picture,html body .chdnext-a-mobile .ad-banner img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:auto!important;object-fit:contain!important;border-radius:0!important;position:static!important;margin:0!important}
html body .chdnext-sponsored .ad-banner img,html body .chdnext-a-mobile .ad-banner img{aspect-ratio:97/25!important;object-fit:contain!important}
html body .chdnext-f .ad-banner img,html body .chdnext-sticky-item .ad-banner img{aspect-ratio:728/90!important;object-fit:contain!important}
html body .chdnext-a-desktop .ad-banner img{aspect-ratio:240/400!important;object-fit:contain!important}
html body .chdnext-a-desktop{width:100%!important;max-width:100%!important}
html body .chdnext-label{display:block;font-size:11px;opacity:.7;margin:0 0 4px;line-height:1.4}
html body .chdnext-ad-block[hidden],html body .chdnext-ad-grid>[hidden],html body .chdnext-sticky-item[hidden],html body .chdnext-sticky-top[hidden],html body .chdnext-sticky-bottom[hidden],html body .chdnext-a-mobile[hidden]{display:none!important}
html body .chdnext-mask-0{display:none!important}
html body .chdnext-a-mobile,html body .chdnext-sticky-top,html body .chdnext-sticky-bottom{display:none!important}
@media(min-width:1024px){html body .chdnext-mask-2,html body .chdnext-mask-4,html body .chdnext-mask-6{display:none!important}}
@media(min-width:768px) and (max-width:1023px){html body .chdnext-ad-grid{grid-template-columns:repeat(var(--chd-t,2),minmax(0,1fr))!important}html body .chdnext-mask-1,html body .chdnext-mask-4,html body .chdnext-mask-5{display:none!important}}
@media(max-width:767px){
 html body .chdnext-ad-grid{grid-template-columns:repeat(var(--chd-m,1),minmax(0,1fr))!important}
 html body .chdnext-mask-1,html body .chdnext-mask-2,html body .chdnext-mask-3,html body .chdnext-a-desktop{display:none!important}
 html body .chdnext-a-mobile:not([hidden]){display:block!important;width:100%;max-width:100%;margin:12px 0;clear:both}
 html body .chdnext-a-mobile:empty{display:none!important}
 html body .chdnext-a-pool{display:none!important}
 html body .chdnext-sticky-top:not([hidden]),html body .chdnext-sticky-bottom:not([hidden]){display:flex!important;position:fixed;left:50%;transform:translateX(-50%);flex-direction:column;gap:4px;width:min(728px,calc(100vw - 20px));max-width:100%;z-index:110;pointer-events:none}
 html body .chdnext-sticky-top{top:env(safe-area-inset-top,0px)}
 html body .chdnext-sticky-bottom{bottom:calc(76px + env(safe-area-inset-bottom,0px));max-height:30vh;overflow:auto}
 html body .chdnext-sticky-item{position:relative;pointer-events:auto;background:transparent;min-width:0}
 html body .chdnext-sticky-item .chdnext-ad-block{margin:0!important}
 html body .chdnext-sticky-item .chdnext-ad-grid{grid-template-columns:minmax(0,1fr)!important;gap:0!important}
 html body .chdnext-sticky-item .chdnext-label{display:none!important}
 html body .chdnext-close{position:absolute;z-index:2;right:0;top:0;width:18px;height:18px;border:1px solid #ccc;border-radius:0!important;background:#fff;color:#222;line-height:16px;font-size:14px;padding:0;cursor:pointer}
 html body .chdnext-close:after{content:'';position:absolute;inset:-8px}
}
html body .chdnext-grid-slot{grid-column:1/-1;min-width:0;width:100%;max-width:100%}
html body .chdnext-grid-slot[hidden]{display:none!important}
html body .chdnext-top-space,html body .chdnext-bottom-space{width:100%;height:0;pointer-events:none}
html body .chdnext-ad-block{position:relative}
@media(max-width:767px){html body.chd-v4-no-mobile-nav .chdnext-sticky-bottom{bottom:env(safe-area-inset-bottom,0px)}html body .chdnext-top-space{position:relative;z-index:111}}
/* 8.2.29: match the reference theme's .inner geometry, not viewport width. */
html body .page > section.chdnext-ad-block,
html body.chidane-v2 > section.chdnext-ad-block,
html body .chd86-shared > section.chdnext-ad-block {
  width:min(1360px,calc(100% - 104px))!important;
  max-width:min(1360px,calc(100% - 104px))!important;
  margin-inline:auto!important; padding-inline:0!important;
}
@media (max-width:980px){
  html body .page > section.chdnext-ad-block,html body.chidane-v2 > section.chdnext-ad-block,html body .chd86-shared > section.chdnext-ad-block{
    width:calc(100% - 40px)!important;max-width:calc(100% - 40px)!important;
  }
}
@media (max-width:650px){
  html body .page > section.chdnext-ad-block,html body.chidane-v2 > section.chdnext-ad-block,html body .chd86-shared > section.chdnext-ad-block{
    width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;
  }
}
/* Content and sidebar use their existing column width. No parent layout overrides. */
html body .article-template-content .chdnext-ad-block,
html body .article-template-content .chdnext-a-mobile,
html body .article-template-left-rail .chdnext-a-desktop,
html body .chdnext-full-inline {
  box-sizing:border-box!important; width:100%!important;max-width:100%!important;min-width:0!important;
  margin-inline:0!important;padding-inline:0!important;align-self:stretch!important;justify-self:stretch!important;
}
html body .chdnext-full-inline .chdnext-ad-grid,
html body .chdnext-a-desktop .chdnext-ad-grid {grid-template-columns:minmax(0,1fr)!important;}
html body .article-template-content .chdnext-ad-grid > .ad-banner,
html body .article-template-content .chdnext-a-mobile > .ad-banner,
html body .article-template-left-rail .chdnext-ad-grid > .ad-banner,
html body .chdnext-full-inline .chdnext-ad-grid > .ad-banner {
  width:100%!important;max-width:100%!important;min-width:0!important;float:none!important;
  justify-self:stretch!important;align-self:stretch!important;margin:0!important;padding:0!important;
}
html body .article-template-left-rail .chdnext-a-desktop {
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;
}
html body .article-template-left-rail .chdnext-a-desktop img {width:100%!important;max-width:100%!important;height:auto!important;aspect-ratio:auto!important;object-fit:contain!important;}
html body .chdnext-ad-block[data-chd-ad-place="home_before_footer"] .chdnext-ad-grid > .ad-banner {
  aspect-ratio:97/25!important;display:flex;align-items:center;justify-content:center;background:#f5f4f2!important;
}
html body .chdnext-ad-block[data-chd-ad-place="home_before_footer"] .chdnext-ad-grid > .ad-banner picture,
html body .chdnext-ad-block[data-chd-ad-place="home_before_footer"] .chdnext-ad-grid > .ad-banner img {
  width:100%!important;height:100%!important;max-height:100%!important;aspect-ratio:auto!important;object-fit:contain!important;
}
/* Old article CSS hides the sidebar at <=980px: place A inside the article at those widths. */
@media (min-width:768px) and (max-width:980px){
 html body .chdnext-a-desktop{display:none!important}
 html body .chdnext-a-mobile:not([hidden]){display:block!important;clear:both;margin:12px 0}
 html body .chdnext-a-pool{display:none!important}
}
/* hidden wins even against the previous article-specific display declarations. */
html body .chdnext-ad-block[hidden],html body .chdnext-ad-grid > [hidden],html body .chdnext-a-mobile[hidden]{display:none!important;}
