/* v5.4.3: shared related-card and article layout. */
body.knowledge-article-page .article-layout.container {
  width:min(calc(100% - 64px),1600px);max-width:1600px;
  grid-template-columns:minmax(0,1fr) minmax(280px,25%);
  justify-content:stretch;gap:clamp(20px,2vw,32px);align-items:start;
}
body.knowledge-article-page .article-layout .article-content {width:100%;max-width:none;min-width:0;padding:clamp(24px,2.4vw,40px);}
body.knowledge-article-page .article-content :is(p,li) {max-width:none;font-size:clamp(16px,1.15vw,18px);line-height:1.75;}
body.knowledge-article-page .article-content .content-toc ol {grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 20px;}
body.knowledge-article-page .article-aside {position:static;min-width:0;}
body.knowledge-article-page .article-aside .side-card {border-radius:18px;padding:24px;min-width:0;}
body.knowledge-article-page .article-aside .side-card h2 {font-size:clamp(20px,1.6vw,26px);}
body.knowledge-article-page .article-body-section {padding-block:clamp(28px,3vw,48px);}
body .service-related-cases .portfolio-grid,body .portal-card-grid.related-material-grid,body.knowledge-article-page .service-related-cases .portfolio-grid {
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.5vw,24px);align-items:stretch;
}
body .service-related-cases .portfolio-grid .portfolio-card,body .related-material-grid .portal-card {height:100%;min-width:0;display:flex;flex-direction:column;border-radius:20px;overflow:hidden;}
body .service-related-cases .portfolio-card .case-list-picture,body .related-material-grid .portal-card-picture {position:relative;display:block;width:100%;height:auto;min-height:0;aspect-ratio:3/2;border-radius:0;overflow:hidden;flex:none;}
body :is(.service-related-cases .case-list-picture,.related-material-grid .portal-card-picture) img {width:100%;height:100%;object-fit:cover;display:block;}
body :is(.service-related-cases .portfolio-card-content,.related-material-grid .portal-card-body) {display:flex;flex:1;flex-direction:column;min-width:0;padding:clamp(18px,1.6vw,24px);gap:10px;}
body .service-related-cases .portfolio-card h3,body .related-material-grid .portal-card h3 {font-size:clamp(19px,1.55vw,25px);line-height:1.25;overflow-wrap:anywhere;}
body .service-related-cases .portfolio-card .portfolio-card-link,body .related-material-grid .portal-card-meta {margin-top:auto;}
body .service-related-cases .portfolio-card .portfolio-card-metric {margin-top:0;}
body .service-related-cases .portfolio-card-content>small {color:#625b70;line-height:1.4;}
body .related-material-grid .portal-card-meta {padding-top:12px;flex-wrap:wrap;gap:8px;}
body .industry-detail .industry-facts {grid-template-columns:repeat(6,minmax(0,1fr));}
body .industry-detail .industry-facts > * {grid-column:span 2;min-width:0;}
body .industry-detail .industry-facts > :nth-child(4):nth-last-child(2),body .industry-detail .industry-facts > :nth-child(5):last-child {grid-column:span 3;}
body .industry-detail .industry-facts > :nth-child(4):last-child {grid-column:1/-1;}
@media (max-width:1100px) {
 body.knowledge-article-page .article-layout.container {width:min(92%,1600px);grid-template-columns:minmax(0,1fr);}
 body.knowledge-article-page .article-aside {grid-template-columns:repeat(2,minmax(0,1fr));}
 body .service-related-cases .portfolio-grid,body .portal-card-grid.related-material-grid,body.knowledge-article-page .service-related-cases .portfolio-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 body .industry-detail .industry-facts {grid-template-columns:repeat(2,minmax(0,1fr));}
 body .industry-detail .industry-facts > *,body .industry-detail .industry-facts > :nth-child(4):nth-last-child(2),body .industry-detail .industry-facts > :nth-child(5):last-child {grid-column:span 1;}
 body .industry-detail .industry-facts > :last-child:nth-child(odd) {grid-column:1/-1;}
}
@media (max-width:700px) {
 body.knowledge-article-page .article-layout .article-content {padding:18px;}
 body.knowledge-article-page .article-content .content-toc ol,body.knowledge-article-page .article-aside,body .service-related-cases .portfolio-grid,body .portal-card-grid.related-material-grid,body.knowledge-article-page .service-related-cases .portfolio-grid,body .industry-detail .industry-facts {grid-template-columns:minmax(0,1fr);}
 body .industry-detail .industry-facts > * {grid-column:1/-1!important;}
}
