/* v13.5.0 — final consistency layer. No redesign; only compactness and cross-device guardrails. */
body.as-v1350:not(.home) .as1350-editorial-intro,
body.as-v1350:not(.home) .as95-article-head,
body.as-v1350:not(.home) .as95-masthead{max-width:1180px;}

body.as-v1350:not(.home) :is(.as95-hub-image,.as1026-hub-image--portrait){margin-top:12px!important;margin-bottom:20px!important;}
body.as-v1350:not(.home) .as1026-hub-image--portrait{max-width:min(680px,84vw)!important;}
body.as-v1350:not(.home) .as94-picture img{max-width:100%;height:auto;}

/* Every content carousel follows the same visual grammar as Profile / Volare Alto. */
body.as-v1350:not(.home) .as1340-editorial-carousel{border-top:1px solid rgba(16,40,63,.12);border-bottom:1px solid rgba(16,40,63,.12);}
body.as-v1350:not(.home) .as1340-editorial-carousel .as1300-home-desk__heading h2{max-width:24ch;}
body.as-v1350:not(.home) .as1340-editorial-carousel .as116-carousel-track>section>.container{max-width:980px;}
body.as-v1350:not(.home) .as1340-editorial-carousel :is(p,li){overflow-wrap:break-word;word-break:normal;hyphens:auto;}
body.as-v1350:not(.home) .as1340-editorial-carousel :is(h2,h3,strong){overflow-wrap:anywhere;}

/* Topic pages: introduction outside, one compact panel at a time. */
body.as-v1350 .as1350-topic-page .as1310-topic-hero{padding-bottom:clamp(18px,3vw,34px)!important;}
body.as-v1350 .as1350-topic-carousel{margin-top:0!important;}
body.as-v1350 .as1350-topic-panel .as1310-topic-items{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 16px;}
body.as-v1350 .as1350-topic-panel .as1310-topic-items>*{min-width:0;}

/* Keep pages visually finite: long table/media elements scroll locally, not the whole viewport. */
body.as-v1350:not(.home) :is(.post-content,.as95-reading,.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel,.as1350-topic-panel) table{min-width:680px;}
body.as-v1350:not(.home) :is(.post-content,.as95-reading,.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel,.as1350-topic-panel) :is(.wp-block-table,.table-scroll,.as1330-table-wrap){max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;}

@media (min-width:681px) and (max-width:1180px){
 body.as-v1350:not(.home) .as1340-editorial-carousel .as1300-carousel-layout{grid-template-columns:minmax(190px,225px) minmax(0,1fr)!important;gap:14px!important;}
 body.as-v1350 .as1350-topic-panel .as1310-topic-items{grid-template-columns:1fr;}
}
@media (max-width:680px){
 body.as-v1350:not(.home) :is(.as95-article-head,.as95-masthead,.as1345-internal-intro,.as1345-profile-intro,.as1345-book-intro){padding-inline:max(16px,env(safe-area-inset-left))!important;padding-right:max(16px,env(safe-area-inset-right))!important;}
 body.as-v1350:not(.home) .as1026-hub-image--portrait{max-width:calc(100vw - 32px)!important;}
 body.as-v1350:not(.home) .as1340-editorial-carousel .as1300-home-desk__heading h2{max-width:none;font-size:clamp(1.55rem,8vw,2.05rem)!important;}
 body.as-v1350 .as1350-topic-panel .as1310-topic-items{grid-template-columns:1fr;gap:10px;}
 body.as-v1350:not(.home) .as1340-editorial-carousel .as116-carousel-track>section>.container{padding-inline:14px!important;}
}
