/* News template opt-in only. Existing site stylesheets and article content are unchanged. */
@media(min-width:1024px){
.xinda-experience-v3 .conBox:has(> #article.article-content)>.ArticleTitle{padding:10px 0}
.xinda-experience-v3 .conBox:has(> #article.article-content)>.ArticleTitle>h1{padding:0;margin:0}
}
.xinda-experience-v3 #article.article-content figure[data-geo-image-sha]{width:100%!important;max-width:100%!important;margin-inline:0!important}
.xinda-experience-v3 #article.article-content figure[data-geo-image-sha] picture{display:block}
.xinda-experience-v3 #article.article-content figure[data-geo-image-sha] img{display:block;width:100%;max-width:100%;height:auto}
@media(max-width:1023px){
.xm-mobile #article.article-content figure[data-geo-image-sha]{width:100%;max-width:100%;margin-inline:0}
.xm-mobile #article.article-content figure[data-geo-image-sha] picture{display:block}
.xm-mobile #article.article-content figure[data-geo-image-sha] img{display:block;width:100%;max-width:100%;height:auto}
}
.news-reading .main_con{width:100%}
/* Preserve the existing 25px mobile padding; only desktop changes from 42px to 24px. */
@media(min-width:768px){.news-reading .newCon{padding-top:24px}}
.news-reading .artCon figure[data-geo-image-sha]{width:100%!important;max-width:100%!important;margin-inline:0!important}
.news-reading .artCon figure[data-geo-image-sha] picture{display:block}
.news-reading .artCon figure[data-geo-image-sha] img{display:block;width:100%;max-width:100%;height:auto}

/* Fixed article-template marker only. The breadcrumb stays in the left rail;
   the right article starts at the container top, instead of below a full row.
   No transformed/contained ancestor or overflow clipping of support widgets. */
@media(min-width:1024px){
 .xinda-experience-v3 .submian>.w1200:has(>.subright>.conBox>#article.article-content){display:grid;grid-template-columns:245px minmax(0,1fr);grid-template-rows:max-content 1fr;column-gap:25px;align-items:start}
 .xinda-experience-v3 .submian>.w1200:has(>.subright>.conBox>#article.article-content)::before,
 .xinda-experience-v3 .submian>.w1200:has(>.subright>.conBox>#article.article-content)::after{display:none}
 .xinda-experience-v3 .submian>.w1200:has(>.subright>.conBox>#article.article-content)>.sobtitle{grid-column:1;grid-row:1;height:auto;padding:16px 0;margin:0 0 16px;box-sizing:border-box;overflow-wrap:anywhere}
 .xinda-experience-v3 .submian>.w1200:has(>.subright>.conBox>#article.article-content)>.subleft{grid-column:1;grid-row:2;float:none;width:100%;padding-right:0;box-sizing:border-box}
 .xinda-experience-v3 .submian>.w1200:has(>.subright>.conBox>#article.article-content)>.subright{grid-column:2;grid-row:1 / span 2;float:none;width:100%;min-width:0;box-sizing:border-box}
}

/* Only the existing full-screen 53 isolation host on an article detail page.
   A percentage uses the available layout viewport, excluding its scrollbar.
   Vendor panel size, SDK, messaging and provider selection remain unchanged. */
body.xinda-experience-v3:has(#article.article-content)>iframe#xinda-53-host{width:100%!important}
