/* v13.5.4 — surgical fixes: Press alignment, one-by-one Journal slider, compact taxonomies. */

/* --------------------------------------------------------------------------
   1. Rassegna Stampa — align exactly with the navigation-bar content bounds.
   Header desktop = max 1240 / 32px side gutter; tablet = 20px; mobile = 14px.
   -------------------------------------------------------------------------- */
body.as-v1353-presswire .archive-hero>.container,
body.as-v1353-presswire .archive-hero+.section>.container{
  width:calc(100% - 64px)!important;
  max-width:1240px!important;
  min-width:0!important;
  margin-inline:auto!important;
  padding-inline:0!important;
  box-sizing:border-box!important;
}
body.as-v1353-presswire .archive-hero .section-header,
body.as-v1353-presswire .archive-hero+.section :is(.as95-topic-nav,.press-categories,.press-search-form,.archive-results,.press-wire--archive,.navigation.pagination){
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
@media(max-width:1100px){
  body.as-v1353-presswire .archive-hero>.container,
  body.as-v1353-presswire .archive-hero+.section>.container{width:calc(100% - 40px)!important;}
}
@media(max-width:600px){
  body.as-v1353-presswire .archive-hero>.container,
  body.as-v1353-presswire .archive-hero+.section>.container{width:calc(100% - 28px)!important;}
}
@media(max-width:360px){
  body.as-v1353-presswire .archive-hero>.container,
  body.as-v1353-presswire .archive-hero+.section>.container{width:calc(100% - 20px)!important;}
}

/* --------------------------------------------------------------------------
   2. Journal — one article per horizontal snap, no arrow chrome.
   -------------------------------------------------------------------------- */
body.as-v1354-journal .as95-journal{max-width:1180px!important;overflow:visible!important;}
body.as-v1354-journal .as1354-journal-stage{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(230px,280px);
  gap:clamp(22px,3vw,42px);
  align-items:start;
  width:100%;
  min-width:0;
  margin:14px 0 20px;
  padding:16px 0 18px;
  border-top:1px solid rgba(16,40,63,.14);
  border-bottom:1px solid rgba(16,40,63,.14);
}
body.as-v1354-journal .as1354-journal-main{min-width:0;}
body.as-v1354-journal .as1354-journal-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:2px 16px;
  align-items:end;
  margin:0 0 12px;
}
body.as-v1354-journal .as1354-journal-head>.as95-kicker{grid-column:1/-1;}
body.as-v1354-journal .as1354-journal-head h2{
  margin:0!important;
  font-family:var(--ff-display)!important;
  font-size:clamp(1.8rem,2.8vw,2.7rem)!important;
  line-height:1!important;
  color:var(--navy)!important;
}
body.as-v1354-journal .as1354-journal-count{
  color:#6a7886;
  font-size:.72rem;
  line-height:1.3;
  white-space:nowrap;
}
body.as-v1354-journal .as1354-journal-slider{
  display:grid!important;
  grid-auto-flow:column!important;
  grid-auto-columns:100%!important;
  grid-template-columns:none!important;
  gap:14px!important;
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-snap-type:x mandatory!important;
  scroll-padding-inline:0!important;
  overscroll-behavior-inline:contain!important;
  -webkit-overflow-scrolling:touch!important;
  touch-action:pan-x pan-y;
  padding:1px 0 10px!important;
  outline:none!important;
  scrollbar-width:none!important;
  -ms-overflow-style:none!important;
}
body.as-v1354-journal .as1354-journal-slider::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
body.as-v1354-journal .as1354-journal-slider:focus-visible{outline:2px solid var(--gold,#C9A84C)!important;outline-offset:4px!important;}
body.as-v1354-journal .as1354-journal-slide{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  scroll-snap-align:start!important;
  scroll-snap-stop:always!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-card{
  display:grid!important;
  grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr)!important;
  gap:0!important;
  width:100%!important;
  min-width:0!important;
  height:100%!important;
  margin:0!important;
  padding:0!important;
  border:1px solid rgba(16,40,63,.12)!important;
  border-radius:10px!important;
  overflow:hidden!important;
  background:#fff!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-card--no-cover{grid-template-columns:minmax(0,1fr)!important;}
body.as-v1354-journal .as1354-journal-slide .as95-card-photo{
  min-width:0!important;
  height:100%!important;
  min-height:330px!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  overflow:hidden!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-card-photo img{
  width:100%!important;
  height:100%!important;
  min-height:330px!important;
  aspect-ratio:auto!important;
  object-fit:cover!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-card-copy{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-width:0!important;
  padding:clamp(22px,3.2vw,38px)!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-card h2{
  margin:7px 0 12px!important;
  max-width:18ch!important;
  font-size:clamp(2rem,3.4vw,3.45rem)!important;
  line-height:1.01!important;
  overflow-wrap:anywhere!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-card-copy>p{
  max-width:58ch!important;
  margin:0!important;
  color:#4a5b6b!important;
  font-size:clamp(.94rem,1.3vw,1.04rem)!important;
  line-height:1.62!important;
}
body.as-v1354-journal .as1354-journal-slide .as95-meta{
  margin-top:clamp(18px,3vw,28px)!important;
  font-size:.72rem!important;
}

/* Latest-five rail: right-hand rail on desktop, compact horizontal rail below on smaller screens. */
body.as-v1354-journal .as1354-journal-latest{
  min-width:0;
  padding-left:clamp(16px,2vw,24px);
  border-left:1px solid rgba(16,40,63,.14);
}
body.as-v1354-journal .as1354-journal-latest header{margin-bottom:7px;}
body.as-v1354-journal .as1354-journal-latest h2{
  margin:2px 0 0!important;
  font-family:var(--ff-display)!important;
  font-size:clamp(1.45rem,2vw,1.9rem)!important;
  line-height:1.05!important;
}
body.as-v1354-journal .as1354-journal-latest ol{list-style:none;margin:0;padding:0;}
body.as-v1354-journal .as1354-journal-latest li{margin:0;padding:0;border-top:1px solid rgba(16,40,63,.12);}
body.as-v1354-journal .as1354-journal-latest li:last-child{border-bottom:1px solid rgba(16,40,63,.12);}
body.as-v1354-journal .as1354-journal-latest a{
  display:grid;
  grid-template-columns:28px minmax(0,1fr);
  gap:4px 9px;
  min-width:0;
  padding:12px 0;
  color:var(--navy);
  text-decoration:none;
}
body.as-v1354-journal .as1354-journal-latest a>span{
  grid-row:1/span 2;
  color:#8a96a1;
  font:600 .66rem/1.35 var(--ff-mono,monospace);
  letter-spacing:.06em;
}
body.as-v1354-journal .as1354-journal-latest strong{
  min-width:0;
  font-family:var(--ff-display);
  font-size:clamp(1.03rem,1.35vw,1.2rem);
  font-weight:600;
  line-height:1.08;
  overflow-wrap:anywhere;
}
body.as-v1354-journal .as1354-journal-latest time{grid-column:2;color:#6a7886;font-size:.64rem;line-height:1.3;}
body.as-v1354-journal .as1354-journal-latest a:hover strong{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;}

/* The old publication/footer block is removed in the template; lock it out if cached markup survives. */
body.as-v1354-journal .as95-publication{display:none!important;}

@media(max-width:900px){
  body.as-v1354-journal .as1354-journal-stage{grid-template-columns:minmax(0,1fr);gap:18px;}
  body.as-v1354-journal .as1354-journal-latest{padding:15px 0 0;border-left:0;border-top:1px solid rgba(16,40,63,.14);}
  body.as-v1354-journal .as1354-journal-latest ol{
    display:grid;
    grid-auto-flow:column;
    grid-auto-columns:minmax(220px,42vw);
    gap:10px;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    -webkit-overflow-scrolling:touch;
    padding:1px 0 8px;
    scrollbar-width:none;
  }
  body.as-v1354-journal .as1354-journal-latest ol::-webkit-scrollbar{display:none;width:0;height:0;}
  body.as-v1354-journal .as1354-journal-latest li{border:1px solid rgba(16,40,63,.12)!important;border-radius:8px;scroll-snap-align:start;}
  body.as-v1354-journal .as1354-journal-latest a{padding:12px;}
}
@media(max-width:680px){
  body.as-v1354-journal .as1354-journal-head{grid-template-columns:minmax(0,1fr);}
  body.as-v1354-journal .as1354-journal-count{margin-top:3px;}
  body.as-v1354-journal .as1354-journal-slide .as95-card{grid-template-columns:minmax(0,1fr)!important;}
  body.as-v1354-journal .as1354-journal-slide .as95-card-photo{min-height:0!important;height:auto!important;aspect-ratio:16/9!important;}
  body.as-v1354-journal .as1354-journal-slide .as95-card-photo img{min-height:0!important;height:auto!important;aspect-ratio:16/9!important;}
  body.as-v1354-journal .as1354-journal-slide .as95-card-copy{padding:20px!important;}
  body.as-v1354-journal .as1354-journal-slide .as95-card h2{max-width:none!important;font-size:clamp(1.75rem,9vw,2.6rem)!important;}
  body.as-v1354-journal .as1354-journal-slide .as95-card-copy>p{font-size:.93rem!important;line-height:1.55!important;}
  body.as-v1354-journal .as1354-journal-latest ol{grid-auto-columns:min(78vw,300px);}
}

/* --------------------------------------------------------------------------
   3. Taxonomies — remove duplicated labels/copy and keep the hierarchy compact.
   -------------------------------------------------------------------------- */
body.as-v1354-taxonomy .as1350-topic-panel>header .as95-kicker{display:none!important;}
body.as-v1354-taxonomy .as1350-topic-panel>header h2{margin-top:0!important;}
body.as-v1354-taxonomy .as1310-topic-item>.as95-kicker:empty{display:none!important;}
body.as-v1354-taxonomy .as10241-topic-landing>.as95-masthead{margin-bottom:clamp(8px,1.5vw,16px)!important;}
body.as-v1354-taxonomy .as10241-topic-landing>.as95-related{margin-top:clamp(24px,3vw,38px)!important;}
body.as-v1354-taxonomy .as10241-topic-landing>.as95-related+ .as95-related{margin-top:16px!important;}

@media(prefers-reduced-motion:reduce){
  body.as-v1354-journal .as1354-journal-slider,
  body.as-v1354-journal .as1354-journal-latest ol{scroll-behavior:auto!important;}
}
