/* v13.4.4 — carousel readability and profile consolidation. */

/* Profile uses the same single-panel reading model as the other editorial carousels. */
body.as-v1300-profile .as1344-profile-carousel{margin-top:0;padding-top:24px;}
body.as-v1300-profile .as1344-profile-carousel .as1300-home-desk__masthead,
body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-layout{width:calc(100% - 64px);max-width:1280px;margin-inline:auto;}
body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-layout{grid-template-columns:minmax(230px,285px) minmax(0,1fr);gap:22px;}
body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-index{align-self:start;position:sticky;top:calc(var(--as-header-live-h,90px) + 14px);}
body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-tab{min-height:68px;height:auto;padding:13px 14px;}
body.as-v1300-profile .as1344-profile-carousel .as1290-tab-deck{display:none!important;}
body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-viewport{height:auto!important;max-height:none!important;overflow:visible!important;}
body.as-v1300-profile .as1344-profile-carousel .as116-carousel-track>section[data-chapter]{height:auto!important;max-height:none!important;padding:clamp(24px,3vw,42px) 0!important;}
body.as-v1300-profile .as1344-profile-panel{width:100%!important;max-width:none!important;padding-inline:clamp(22px,4vw,52px)!important;}
body.as-v1300-profile .as1344-profile-panel :is(p,li){max-width:74ch;font-size:clamp(1rem,1.2vw,1.1rem);line-height:1.8;overflow-wrap:anywhere;hyphens:auto;}
body.as-v1300-profile .as1344-profile-panel .as1290-opening{max-width:64ch;color:#10283f;font-family:var(--rc4-display,"Cormorant Garamond",Georgia,serif);font-size:clamp(1.45rem,2.2vw,2rem);line-height:1.35;}
body.as-v1300-profile .as1344-profile-panel h2{max-width:28ch;margin:0 0 18px;font-size:clamp(2rem,3.2vw,3.2rem);line-height:1.06;}
body.as-v1300-profile .as1344-profile-panel .as1341-mini-links{grid-template-columns:repeat(2,minmax(0,1fr));}

/* HOME phone fix: make the six destinations a true horizontal reading rail. */
@media (max-width:680px){
  body.as-v1300.home .as1300-home-desk{padding-top:34px!important;}
  body.as-v1300.home .as1300-home-desk__masthead{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;margin-bottom:14px!important;}
  body.as-v1300.home .as1300-home-desk__heading h2{font-size:clamp(2rem,10vw,2.8rem)!important;max-width:none!important;}
  body.as-v1300.home .as1300-home-desk__meta>p{display:none!important;}
  body.as-v1300.home .as116-carousel-controls{justify-content:space-between!important;width:100%!important;}
  body.as-v1300.home .as11110-carousel-name{font-size:.76rem!important;max-width:17ch!important;}
  body.as-v1300.home .as1300-carousel-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:calc(100% - 24px)!important;}
  body.as-v1300.home .as1300-carousel-index{
    display:flex!important;grid-template-columns:none!important;flex-direction:row!important;gap:8px!important;
    position:relative!important;top:auto!important;padding:2px 2px 8px!important;border:0!important;border-radius:0!important;background:transparent!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;scroll-padding-inline:2px!important;
    overscroll-behavior-inline:contain!important;-webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;
  }
  body.as-v1300.home .as1300-carousel-tab,
  body.as-v1300.home .as1300-carousel-tab:nth-child(2n),
  body.as-v1300.home .as1300-carousel-tab:nth-last-child(2){
    display:grid!important;grid-template-columns:24px minmax(0,1fr) 20px!important;flex:0 0 min(76vw,280px)!important;
    width:auto!important;min-width:min(76vw,280px)!important;min-height:72px!important;padding:12px!important;
    border:1px solid rgba(16,40,63,.14)!important;border-radius:11px!important;background:#f7f9fb!important;
    scroll-snap-align:center!important;scroll-snap-stop:always!important;
  }
  body.as-v1300.home .as1300-carousel-tab[aria-current="true"]{background:#fff!important;border-color:rgba(36,87,230,.5)!important;box-shadow:inset 3px 0 0 #2457e6!important;}
  body.as-v1300.home .as1300-carousel-tab .as1140-carousel-tab__num{display:none!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-copy{grid-column:2!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-icon{grid-column:3!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-title{font-size:.91rem!important;line-height:1.25!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-deck{display:block!important;font-size:.69rem!important;line-height:1.35!important;margin-top:3px!important;}
  body.as-v1300.home .as1300-carousel-index .as1140-carousel-progress{display:none!important;}
  body.as-v1300.home .as1300-carousel-viewport{width:100%!important;overflow:visible!important;height:auto!important;max-height:none!important;}
  body.as-v1300.home .as116-carousel-track>section[data-chapter]{height:auto!important;max-height:none!important;padding:24px 0!important;}
  body.as-v1300.home .as116-carousel-track>section[data-chapter]>.container{padding-inline:15px!important;}
  body.as-v1300.home #rassegna-stampa .press-grid{grid-template-columns:1fr!important;}
  body.as-v1300.home #rassegna-stampa .press-card{min-width:0!important;width:100%!important;}
}

/* Profile phone: horizontal tabs + one full-width section at a time. */
@media (max-width:680px){
  body.as-v1300-profile .as1344-profile-carousel{padding-top:12px;}
  body.as-v1300-profile .as1344-profile-carousel .as1300-home-desk__masthead,
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-layout{width:calc(100% - 24px)!important;}
  body.as-v1300-profile .as1344-profile-carousel .as1300-home-desk__masthead{grid-template-columns:1fr!important;gap:10px!important;margin-bottom:12px!important;}
  body.as-v1300-profile .as1344-profile-carousel .as1300-home-desk__meta>p{display:none!important;}
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-layout{grid-template-columns:1fr!important;gap:10px!important;}
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-index{
    display:flex!important;grid-template-columns:none!important;position:relative!important;top:auto!important;gap:8px!important;
    padding:2px 2px 8px!important;border:0!important;border-radius:0!important;background:transparent!important;
    overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x mandatory!important;overscroll-behavior-inline:contain!important;
    -webkit-overflow-scrolling:touch!important;scrollbar-width:thin!important;
  }
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-tab{
    flex:0 0 min(78vw,286px)!important;width:auto!important;min-width:min(78vw,286px)!important;min-height:64px!important;
    padding:11px 12px!important;border:1px solid rgba(16,40,63,.14)!important;border-radius:10px!important;background:#f7f9fb!important;
    scroll-snap-align:center!important;scroll-snap-stop:always!important;
  }
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-tab[aria-current="true"]{background:#fff!important;border-color:rgba(36,87,230,.5)!important;box-shadow:inset 3px 0 0 #2457e6!important;}
  body.as-v1300-profile .as1344-profile-carousel .as1140-carousel-progress{display:none!important;}
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-viewport{overflow:visible!important;height:auto!important;max-height:none!important;}
  body.as-v1300-profile .as1344-profile-panel{padding-inline:15px!important;}
  body.as-v1300-profile .as1344-profile-panel h2{font-size:clamp(1.85rem,9vw,2.5rem)!important;max-width:none!important;}
  body.as-v1300-profile .as1344-profile-panel :is(p,li){font-size:1rem!important;line-height:1.76!important;}
  body.as-v1300-profile .as1344-profile-panel .as1341-mini-links{grid-template-columns:1fr!important;}
}

/* Volare Alto: shorter horizontal panels instead of one long opening. */
.as1341-volare-carousel .as116-carousel-track>section[data-chapter]{height:auto!important;max-height:none!important;}
.as1341-volare-carousel .as1341-volare-panel{max-width:none!important;}
@media (max-width:680px){
  .as1341-volare-carousel .as1300-carousel-layout{gap:10px!important;}
  .as1341-volare-carousel .as1300-carousel-viewport{height:auto!important;max-height:none!important;overflow:visible!important;}
  .as1341-volare-carousel .as116-carousel-track>section[data-chapter]{padding:20px 0!important;}
  .as1341-volare-carousel .as1341-volare-panel{padding-inline:15px!important;}
}

/* Universal final anti-clipping guards for every carousel. */
body.as-v1300 [data-as-home-carousel] :is(.as116-carousel-viewport,.as116-carousel-track){min-width:0!important;height:auto!important;max-height:none!important;}
body.as-v1300 [data-as-home-carousel] .as116-carousel-track>section[data-chapter]{min-width:0!important;height:auto!important;max-height:none!important;overflow:visible!important;}
body.as-v1300 [data-as-home-carousel] :is(h1,h2,h3,p,li,a,span){overflow-wrap:anywhere;}

@media (prefers-reduced-motion:reduce){
  body.as-v1300 [data-as-home-carousel] *{scroll-behavior:auto!important;transition:none!important;animation:none!important;}
}

/* v13.4.4 FINAL — no-compromise phone readability and shorter internal pages. */
.as95-card--no-cover.as95-lead{grid-template-columns:1fr!important;}
.as95-card--no-cover.as95-lead .as95-card-copy{padding:clamp(30px,4vw,52px)!important;}

.as1344-longform-carousel{margin-top:24px!important;margin-bottom:34px!important;}
.as1344-longform-panel{width:100%!important;max-width:none!important;padding-inline:clamp(24px,4vw,54px)!important;}
.as1344-longform-panel>h2{max-width:26ch;margin:0 0 20px;font-family:var(--rc4-display,"Cormorant Garamond",Georgia,serif);font-size:clamp(2rem,3vw,3.2rem);line-height:1.06;color:#10283f;text-wrap:balance;}
.as1344-longform-panel :is(p,li){max-width:76ch;font-size:clamp(1rem,1.12vw,1.1rem);line-height:1.78;color:#334b61;}
.as1344-longform-panel :is(table,pre){max-width:100%;}

/* Volare Alto: keep page height controlled by an internal reading viewport on larger panels. */
.as1341-volare-carousel .as1300-carousel-viewport{overflow:hidden!important;}
.as1341-volare-carousel .as1341-volare-panel{max-height:min(68vh,720px);overflow-y:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;padding-bottom:34px!important;}
.as1341-volare-carousel .as1341-volare-panel:focus-within{outline:none;}

/* HOME on phones: every destination is visible immediately; no hidden tab rail. */
@media (max-width:680px){
  body.as-v1300.home .as1300-carousel-index{
    display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;
    overflow:visible!important;scroll-snap-type:none!important;padding:0!important;background:transparent!important;border:0!important;
  }
  body.as-v1300.home .as1300-carousel-tab,
  body.as-v1300.home .as1300-carousel-tab:nth-child(2n),
  body.as-v1300.home .as1300-carousel-tab:nth-last-child(2){
    display:grid!important;grid-template-columns:minmax(0,1fr) 22px!important;min-width:0!important;width:100%!important;min-height:62px!important;
    padding:10px 10px 10px 12px!important;border:1px solid rgba(16,40,63,.14)!important;border-radius:10px!important;background:#f7f9fb!important;
  }
  body.as-v1300.home .as1300-carousel-tab[aria-current="true"]{background:#fff!important;border-color:rgba(36,87,230,.52)!important;box-shadow:inset 3px 0 0 #2457e6!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-copy{grid-column:1!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-icon{grid-column:2!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-title{font-size:.85rem!important;line-height:1.25!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-deck{display:none!important;}
  body.as-v1300.home .as1300-carousel-viewport{overflow:hidden!important;}
  body.as-v1300.home .as116-carousel-track>section[data-chapter]{padding:20px 0!important;}
  body.as-v1300.home #rassegna-stampa .press-grid{grid-template-columns:1fr!important;gap:12px!important;}
  body.as-v1300.home #rassegna-stampa .press-card{width:100%!important;min-width:0!important;}

  .as1344-longform-carousel .as1300-carousel-index,
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-index{
    display:flex!important;grid-template-columns:none!important;flex-direction:row!important;gap:8px!important;overflow-x:auto!important;overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;-webkit-overflow-scrolling:touch!important;border:0!important;background:transparent!important;padding:2px 2px 8px!important;
  }
  .as1344-longform-carousel .as1300-carousel-tab,
  body.as-v1300-profile .as1344-profile-carousel .as1300-carousel-tab{
    flex:0 0 min(78vw,286px)!important;width:auto!important;min-width:min(78vw,286px)!important;min-height:66px!important;
    padding:11px 12px!important;border:1px solid rgba(16,40,63,.14)!important;border-radius:10px!important;background:#f7f9fb!important;scroll-snap-align:center!important;
  }
  .as1344-longform-carousel .as1290-tab-deck{display:none!important;}
  .as1344-longform-carousel .as1300-carousel-viewport{overflow:hidden!important;}
  .as1344-longform-panel{padding-inline:15px!important;}
  .as1344-longform-panel>h2{font-size:clamp(1.85rem,9vw,2.5rem);max-width:none;}
  .as1344-longform-panel :is(p,li){font-size:1rem;line-height:1.74;}
  .as1341-volare-carousel .as1341-volare-panel{max-height:min(62vh,620px);padding-right:15px!important;}
}
@media(max-width:390px){
  body.as-v1300.home .as1300-carousel-index{grid-template-columns:1fr 1fr!important;gap:7px!important;}
  body.as-v1300.home .as1300-carousel-tab{min-height:60px!important;padding:9px!important;}
  body.as-v1300.home .as1300-carousel-tab .as1290-tab-title{font-size:.8rem!important;}
}
