/* v13.4.3 — no redesign: reading width, carousel proportions and legacy-navigation cleanup. */

/* Hub pages: one uninterrupted reading column; no legacy right rail. */
body.as-v1300 .as95-hub-layout.as1343-hub-layout{
  display:block!important;
  width:min(1320px,calc(100% - 64px))!important;
  max-width:none!important;
  margin-inline:auto!important;
}
body.as-v1300 .as1343-hub-layout>.as1343-reading{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.as-v1300 .as1343-hub-layout>.as1343-reading>.post-content{
  width:100%!important;
  max-width:82ch!important;
}
body.as-v1300 .as95-hub-aside,
body.as-v1300 .as1121-chain{display:none!important;}

/* Bromo chapter: remove TOC box and give the actual document more horizontal room. */
body.as-v1330-dossier .as1330-subtoc{display:none!important;}
body.as-v1330-dossier .as1330-chapter .as1320-chapter__shell{
  width:min(1180px,calc(100% - 64px))!important;
  max-width:none!important;
}
body.as-v1330-dossier .as1330-chapter .as1320-chapter__hero{
  max-width:1020px!important;
}
body.as-v1330-dossier .as1330-chapter .as1320-chapter__hero h1{max-width:20ch!important;}
body.as-v1330-dossier .as1330-chapter .as1320-chapter__hero>p{max-width:78ch!important;}
body.as-v1330-dossier .as1330-chapter-intro,
body.as-v1330-dossier .as1330-subpage,
body.as-v1330-dossier .as1330-source-detail{max-width:94ch!important;}
body.as-v1330-dossier .as1330-subpage .as1320-source-copy,
body.as-v1330-dossier .as1330-chapter-intro.as1320-source-copy{max-width:92ch!important;}
body.as-v1330-dossier .as1330-subpage h2{max-width:28ch!important;}
body.as-v1330-dossier .as1320-chapter-nav{max-width:94ch!important;}

/* Dossier carousel — wider reading pane, calmer rail, smaller masthead. */
body.as-v1330-dossier .as1330-dossier-carousel{
  padding:clamp(34px,4.5vw,58px) 0 clamp(46px,5.5vw,72px)!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__masthead,
body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout{
  width:min(1480px,calc(100% - 64px))!important;
  max-width:none!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__masthead{
  grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;
  gap:clamp(24px,3vw,46px)!important;
  margin-bottom:clamp(22px,3vw,34px)!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__heading h2{
  max-width:22ch!important;
  font-size:clamp(2.25rem,3.5vw,3.7rem)!important;
  line-height:1.04!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__meta>p{
  max-width:58ch!important;
  font-size:.98rem!important;
  line-height:1.65!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout{
  grid-template-columns:minmax(220px,250px) minmax(0,1fr)!important;
  gap:clamp(16px,2vw,26px)!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-index{
  border-radius:12px!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-tab{
  min-height:78px!important;
  padding:15px 14px!important;
  grid-template-columns:6px minmax(0,1fr) 20px!important;
  gap:10px!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-title{
  font-size:.91rem!important;
  line-height:1.28!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-deck{
  margin-top:4px!important;
  font-size:.69rem!important;
  line-height:1.4!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-icon,
body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-icon svg{width:18px!important;height:18px!important;}
body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-viewport{border-radius:13px!important;}
body.as-v1330-dossier .as1330-dossier-carousel .as116-carousel-track>section[data-chapter]{padding:clamp(30px,3.4vw,46px) 0!important;}
body.as-v1330-dossier .as1330-dossier-carousel .as116-carousel-track>section[data-chapter]>.container{
  padding-inline:clamp(24px,3.1vw,46px)!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as116-carousel-track h2{
  max-width:30ch!important;
  font-size:clamp(1.9rem,2.6vw,2.75rem)!important;
  line-height:1.08!important;
}
body.as-v1330-dossier .as1330-dossier-carousel .as1330-prose,
body.as-v1330-dossier .as1330-dossier-carousel .as1330-panel>p{
  max-width:92ch!important;
}

/* Contextual press is part of the carousel, never a separate vertical block. */
.as1343-press-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 18px;margin-top:18px;}
.as1343-press-card{min-width:0;padding:17px 0;border-top:1px solid rgba(16,40,63,.12);}
.as1343-press-meta{margin:0 0 6px!important;color:#607489!important;font-size:.72rem!important;font-weight:700!important;letter-spacing:.04em!important;text-transform:uppercase;}
.as1343-press-card h3{margin:0 0 7px!important;font-family:var(--ff-body,system-ui)!important;font-size:1rem!important;line-height:1.38!important;letter-spacing:-.01em!important;}
.as1343-press-card>p:not(.as1343-press-meta){margin:0 0 10px!important;font-size:.87rem!important;line-height:1.58!important;color:#41586d!important;}

/* Tablet/iPad: keep a real left reading rail and protect the copy width. */
@media (min-width:681px) and (max-width:1180px){
  body.as-v1300 .as95-hub-layout.as1343-hub-layout{width:calc(100% - 44px)!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__masthead,
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout{width:calc(100% - 44px)!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout{
    grid-template-columns:minmax(184px,210px) minmax(0,1fr)!important;
    gap:16px!important;
  }
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-index{
    position:sticky!important;top:calc(var(--as-header-live-h,90px) + 12px)!important;grid-template-columns:1fr!important;
  }
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-tab{
    min-height:72px!important;height:auto!important;border-right:0!important;border-bottom:1px solid rgba(16,40,63,.13)!important;border-radius:0!important;
  }
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-tab:first-child{border-radius:11px 11px 0 0!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-tab:nth-last-child(2){border-bottom:0!important;border-radius:0 0 11px 11px!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-deck{font-size:.66rem!important;}
  body.as-v1330-dossier .as1330-chapter .as1320-chapter__shell{width:calc(100% - 44px)!important;}
}

/* Phones/iPhone: index over the content, full-width reading pane, no horizontal clipping. */
@media (max-width:680px){
  body.as-v1300 .as95-hub-layout.as1343-hub-layout{width:calc(100% - 28px)!important;}
  body.as-v1300 .as1343-hub-layout>.as1343-reading>.post-content{max-width:none!important;}
  body.as-v1330-dossier .as1330-dossier-carousel{padding:28px 0 40px!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__masthead,
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout{width:calc(100% - 28px)!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__masthead{grid-template-columns:1fr!important;gap:14px!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__heading h2{max-width:none!important;font-size:clamp(2.05rem,9.3vw,2.75rem)!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout{grid-template-columns:1fr!important;gap:12px!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-index{position:relative!important;top:auto!important;grid-template-columns:1fr!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-tab{min-height:66px!important;padding:11px 12px!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-title{font-size:.9rem!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as1290-tab-deck{font-size:.7rem!important;line-height:1.38!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as116-carousel-track>section[data-chapter]{padding:26px 0!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as116-carousel-track>section[data-chapter]>.container{padding-inline:14px!important;}
  body.as-v1330-dossier .as1330-dossier-carousel .as116-carousel-track h2{max-width:none!important;font-size:clamp(1.8rem,8.4vw,2.35rem)!important;}
  body.as-v1330-dossier .as1330-chapter .as1320-chapter__shell{width:calc(100% - 28px)!important;}
  body.as-v1330-dossier .as1330-chapter .as1320-chapter__hero h1{max-width:none!important;font-size:clamp(2.35rem,11vw,3.35rem)!important;}
  body.as-v1330-dossier .as1330-chapter .as1320-chapter__hero>p{max-width:none!important;font-size:1.04rem!important;line-height:1.7!important;}
  body.as-v1330-dossier .as1330-subpage h2{max-width:none!important;font-size:clamp(1.75rem,8.3vw,2.4rem)!important;}
  .as1343-press-grid{grid-template-columns:1fr;gap:0;}
  .as1343-press-card h3{font-size:.98rem!important;}
}

@media (max-width:400px){
  body.as-v1300 .as95-hub-layout.as1343-hub-layout,
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-home-desk__masthead,
  body.as-v1330-dossier .as1330-dossier-carousel .as1300-carousel-layout,
  body.as-v1330-dossier .as1330-chapter .as1320-chapter__shell{width:calc(100% - 22px)!important;}
}

/* Journal 13.4.3 — remove duplicated navigation/meta rails and keep one compact contextual carousel. */
body.single-post.as-v1300 .as1343-article-shell{
  display:block!important;
  width:min(1160px,calc(100% - 64px))!important;
  max-width:none!important;
  margin-inline:auto!important;
}
body.single-post.as-v1300 .as1343-article-reading{
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
body.single-post.as-v1300 .as1343-article-reading>.post-content,
body.single-post.as-v1300 .as1343-article-reading>.as95-points,
body.single-post.as-v1300 .as1343-article-reading>.as95-reference,
body.single-post.as-v1300 .as1343-article-reading>.as95-author{
  width:min(100%,82ch)!important;
  max-width:82ch!important;
}
body.single-post.as-v1300 .as1140-article-rail,
body.single-post.as-v1300 .as95-article-topics,
body.single-post.as-v1300 .as95-back{display:none!important;}

/* Journal contextual carousel: compact index in exactly two rows where three tabs are available. */
body.single-post.as-v1300 .as1343-journal-carousel{
  margin:clamp(30px,4vw,46px) 0 0!important;
  padding:22px 0 30px!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__masthead{
  width:min(1160px,calc(100% - 64px))!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:end!important;
  gap:20px!important;
  margin-bottom:12px!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__heading h2{
  max-width:none!important;
  font-size:clamp(1.45rem,2vw,1.9rem)!important;
  line-height:1.08!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__meta{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__meta>p{display:none!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-layout{
  width:min(1160px,calc(100% - 64px))!important;
  display:grid!important;
  grid-template-columns:minmax(250px,320px) minmax(0,1fr)!important;
  gap:14px!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-index{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-content:start!important;
  gap:8px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
  overflow:visible!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-tab{
  min-height:62px!important;
  height:auto!important;
  padding:10px 10px!important;
  border:1px solid rgba(16,40,63,.13)!important;
  border-radius:9px!important;
  background:#fff!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-tab:nth-of-type(3){
  grid-column:1 / -1!important;
}
body.single-post.as-v1300 .as1343-journal-carousel .as1290-tab-title{font-size:.84rem!important;line-height:1.25!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as1290-tab-deck{font-size:.66rem!important;line-height:1.35!important;margin-top:3px!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as1140-carousel-progress{display:none!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as116-carousel-track>section[data-chapter]{padding:16px 0!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as116-carousel-track>section[data-chapter]>.container{padding-inline:16px!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as1343-press-grid{margin-top:10px!important;gap:8px 14px!important;}
body.single-post.as-v1300 .as1343-journal-carousel .as1343-press-card{padding:12px 0!important;}

@media (min-width:681px) and (max-width:1180px){
  body.single-post.as-v1300 .as1343-article-shell,
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__masthead,
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-layout{width:calc(100% - 44px)!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-layout{grid-template-columns:minmax(220px,280px) minmax(0,1fr)!important;}
}

@media (max-width:680px){
  body.single-post.as-v1300 .as1343-article-shell,
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__masthead,
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-layout{width:calc(100% - 28px)!important;}
  body.single-post.as-v1300 .as1343-article-reading>.post-content,
  body.single-post.as-v1300 .as1343-article-reading>.as95-points,
  body.single-post.as-v1300 .as1343-article-reading>.as95-reference,
  body.single-post.as-v1300 .as1343-article-reading>.as95-author{max-width:none!important;}
  body.single-post.as-v1300 .as1343-journal-carousel{padding:18px 0 26px!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__masthead{grid-template-columns:1fr auto!important;gap:10px!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-layout{grid-template-columns:1fr!important;gap:10px!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-index{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:7px!important;
  }
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-tab{
    min-width:0!important;width:100%!important;min-height:58px!important;padding:9px 9px!important;
    grid-template-columns:5px minmax(0,1fr) 16px!important;
  }
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-tab:nth-of-type(3){grid-column:1 / -1!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as1290-tab-deck{display:none!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as116-carousel-track>section[data-chapter]>.container{padding-inline:12px!important;}
  body.single-post.as-v1300 .as1343-journal-carousel .as1343-press-grid{grid-template-columns:1fr!important;}
}

@media (max-width:400px){
  body.single-post.as-v1300 .as1343-article-shell,
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-home-desk__masthead,
  body.single-post.as-v1300 .as1343-journal-carousel .as1300-carousel-layout{width:calc(100% - 22px)!important;}
}
/* Final 13.4.3 narrow-screen table hardening: keep columns readable and scroll only the table, never the page. */
@media (max-width:680px){
  body.as-v1300 :is(.post-content,.as1330-prose,.as1341-volare-panel,.as1320-source-copy) table :is(th,td){min-width:140px!important;}
}
