/* v13.4.5 — compact editorial rhythm, smaller carousels, mobile language switch. */

body.as-v1345:not(.home){--as1345-copy:72ch;}
body.as-v1345:not(.home) .as95-article-head{padding-top:clamp(28px,4vw,54px)!important;padding-bottom:clamp(18px,2.5vw,32px)!important;}
body.as-v1345:not(.home) .as95-article-head h1{margin-bottom:clamp(10px,1.4vw,16px)!important;font-size:clamp(2.35rem,5vw,4.8rem)!important;line-height:.98!important;}
body.as-v1345:not(.home) .as95-deck{max-width:68ch!important;margin-top:10px!important;margin-bottom:10px!important;line-height:1.55!important;}
body.as-v1345:not(.home) :is(.as95-hub-image,.as95-cover){margin-top:14px!important;margin-bottom:22px!important;}
body.as-v1345:not(.home) .as1026-hub-image--portrait{max-width:min(760px,72vw)!important;}
body.as-v1345:not(.home) :is(.post-content,.as95-reading,.as1330-prose,.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel) :is(p,li){line-height:1.64!important;}
body.as-v1345:not(.home) :is(.post-content,.as95-reading,.as1330-prose,.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel) p{margin-top:0!important;margin-bottom:.78em!important;}
body.as-v1345:not(.home) :is(.post-content,.as95-reading,.as1330-prose) :is(h2,h3){margin-top:1.05em!important;margin-bottom:.45em!important;}
body.as-v1345:not(.home) .as95-reference{margin-top:24px!important;padding-top:18px!important;}
body.as-v1345:not(.home) .as95-author{margin-top:24px!important;padding:20px!important;}
body.as-v1345:not(.home) .as95-author p{margin-bottom:8px!important;}

/* All editorial carousels: smaller chrome, same full-copy readability. */
body.as-v1345 .as1340-editorial-carousel{margin-block:clamp(18px,2.5vw,34px)!important;padding-block:clamp(18px,2.2vw,30px)!important;}
body.as-v1345 .as1340-editorial-carousel .as1300-home-desk__masthead{margin-bottom:14px!important;gap:16px!important;}
body.as-v1345 .as1340-editorial-carousel .as1300-home-desk__heading h2{font-size:clamp(1.65rem,2.7vw,2.65rem)!important;line-height:1.03!important;}
body.as-v1345 .as1340-editorial-carousel .as1300-home-desk__meta>p{font-size:.86rem!important;line-height:1.45!important;}
body.as-v1345 .as1340-editorial-carousel .as1300-carousel-layout{grid-template-columns:minmax(190px,235px) minmax(0,1fr)!important;gap:clamp(14px,2vw,22px)!important;}
body.as-v1345 .as1340-editorial-carousel .as1300-carousel-tab{min-height:56px!important;padding:9px 10px!important;}
body.as-v1345 .as1340-editorial-carousel .as1290-tab-title{font-size:.84rem!important;line-height:1.22!important;}
body.as-v1345 .as1340-editorial-carousel .as1290-tab-deck{font-size:.68rem!important;line-height:1.35!important;margin-top:2px!important;}
body.as-v1345 .as1340-editorial-carousel .as116-carousel-arrow{width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;}
body.as-v1345 .as1340-editorial-carousel .as116-carousel-track>section[data-chapter]{padding-block:clamp(18px,2vw,28px)!important;}
body.as-v1345 .as1340-editorial-carousel :is(.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel,.as1340-review-panel){padding-inline:clamp(18px,3vw,38px)!important;}
body.as-v1345 .as1340-editorial-carousel :is(.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel,.as1340-review-panel)>h2{font-size:clamp(1.75rem,2.8vw,2.75rem)!important;margin-bottom:12px!important;}

/* Mini carousels are navigation, not another feature block. */
body.as-v1345 .as1341-mini-carousel{margin-block:18px!important;padding-block:14px!important;border-radius:12px!important;}
body.as-v1345 .as1341-mini-carousel .as1300-home-desk__masthead{margin-bottom:8px!important;}
body.as-v1345 .as1341-mini-carousel .as1300-home-desk__heading h2{font-size:clamp(1.25rem,2vw,1.65rem)!important;}
body.as-v1345 .as1341-mini-carousel .as1300-home-desk__meta>p{display:none!important;}
body.as-v1345 .as1341-mini-carousel .as1300-carousel-layout{grid-template-columns:minmax(155px,190px) minmax(0,1fr)!important;gap:12px!important;}
body.as-v1345 .as1341-mini-carousel .as1300-carousel-tab{min-height:48px!important;padding:8px 9px!important;}
body.as-v1345 .as1341-mini-carousel .as1290-tab-title{font-size:.8rem!important;}
body.as-v1345 .as1341-mini-carousel .as1290-tab-deck{display:none!important;}
body.as-v1345 .as1341-mini-carousel .as116-carousel-track>section[data-chapter]{padding-block:12px!important;}
body.as-v1345 .as1341-mini-links{gap:8px!important;}
body.as-v1345 .as1341-mini-links>a{min-height:0!important;padding:11px 12px!important;}
body.as-v1345 .as1341-mini-links strong{font-size:.9rem!important;}
body.as-v1345 .as1341-mini-links span{font-size:.76rem!important;line-height:1.4!important;}
body.as-v1345 .as1343-press-grid{gap:10px!important;}
body.as-v1345 .as1343-press-card{padding:13px!important;}
body.as-v1345 .as1343-press-card h3{font-size:1rem!important;line-height:1.28!important;}
body.as-v1345 .as1343-press-card p{font-size:.8rem!important;line-height:1.45!important;}

/* Volare Alto: core thesis above, compact; carousel reserved for reviews/connections. */
body.as-v1345 .as1345-book-intro{margin-top:18px;margin-bottom:22px;}
body.as-v1345 .as1345-book-intro__lead{max-width:78ch;padding:22px 0 18px;}
body.as-v1345 .as1345-book-intro__lead h2{font-size:clamp(1.8rem,3vw,2.65rem);margin:5px 0 10px;line-height:1.03;}
body.as-v1345 .as1345-book-intro__lead p{font-size:clamp(1rem,1.08vw,1.08rem);line-height:1.62;margin:0;}
body.as-v1345 .as1345-book-intro__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;}
body.as-v1345 .as1345-book-intro__grid article{padding:16px;border:1px solid rgba(16,40,63,.12);background:#fff;border-radius:11px;}
body.as-v1345 .as1345-book-intro__grid h3{margin:0 0 7px;font-size:1.03rem;line-height:1.25;color:#10283f;}
body.as-v1345 .as1345-book-intro__grid p{margin:0;font-size:.88rem;line-height:1.5;color:#40556b;}
body.as-v1345 .as1345-volare-carousel{margin-top:18px!important;}

/* Home Journal: a single story must occupy the full editorial row. */
body.as-v1345.home .as117-journal-list[data-journal-count="1"]{grid-template-columns:minmax(0,1fr)!important;}
body.as-v1345.home .as117-journal-list[data-journal-count="1"]>.as117-journal-item{width:100%!important;max-width:none!important;grid-column:1/-1!important;}
body.as-v1345.home .as117-journal-list[data-journal-count="1"]>.as117-journal-item h3{max-width:34ch!important;font-size:clamp(1.55rem,3vw,2.5rem)!important;}
body.as-v1345.home .as117-journal-list[data-journal-count="1"]>.as117-journal-item p{max-width:72ch!important;}

/* Language selector: visibly selectable on touch devices without stealing header width. */
@media (max-width:1100px){
  body.as-v1345 #masthead .as95-languages.as1300-languages{display:flex!important;gap:3px!important;padding:2px!important;border:1px solid rgba(16,40,63,.13)!important;border-radius:10px!important;background:#f1f5f8!important;}
  body.as-v1345 #masthead .as95-languages.as1300-languages .as1300-lang{min-width:38px!important;width:auto!important;min-height:42px!important;height:42px!important;padding:0 7px!important;border-radius:8px!important;font-size:.72rem!important;letter-spacing:.04em!important;color:#435a70!important;box-shadow:none!important;}
  body.as-v1345 #masthead .as95-languages.as1300-languages .as1300-lang:hover{background:#fff!important;color:#153e70!important;}
  body.as-v1345 #masthead .as95-languages.as1300-languages .as1300-lang[aria-current="page"]{background:#153e70!important;color:#fff!important;box-shadow:none!important;}
}

@media (max-width:680px){
  body.as-v1345:not(.home) .as95-article-head{padding-top:22px!important;padding-bottom:14px!important;}
  body.as-v1345:not(.home) .as95-article-head h1{font-size:clamp(2.05rem,10.5vw,3.2rem)!important;}
  body.as-v1345:not(.home) .as95-deck{font-size:1rem!important;line-height:1.5!important;}
  body.as-v1345:not(.home) :is(.as95-hub-image,.as95-cover){margin-bottom:16px!important;}
  body.as-v1345:not(.home) .as1026-hub-image--portrait{max-width:min(88vw,520px)!important;}
  body.as-v1345 .as1340-editorial-carousel{margin-block:14px!important;padding-block:12px!important;}
  body.as-v1345 .as1340-editorial-carousel .as1300-home-desk__masthead,
  body.as-v1345 .as1340-editorial-carousel .as1300-carousel-layout{width:calc(100% - 22px)!important;}
  body.as-v1345 .as1340-editorial-carousel .as1300-home-desk__heading h2{font-size:1.55rem!important;}
  body.as-v1345 .as1340-editorial-carousel .as1300-home-desk__meta>p{display:none!important;}
  body.as-v1345 .as1340-editorial-carousel .as1300-carousel-layout{grid-template-columns:1fr!important;gap:8px!important;}
  body.as-v1345 .as1340-editorial-carousel:not(.as1341-mini-carousel):not(.as1330-dossier-carousel) .as1300-carousel-index{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;overflow:visible!important;padding:0!important;border:0!important;background:transparent!important;}
  body.as-v1345 .as1340-editorial-carousel:not(.as1341-mini-carousel):not(.as1330-dossier-carousel) .as1300-carousel-tab{display:flex!important;align-items:center!important;flex:initial!important;width:100%!important;min-width:0!important;min-height:52px!important;padding:8px 9px!important;border:1px solid rgba(16,40,63,.13)!important;border-radius:9px!important;background:#fff!important;}
  body.as-v1345 .as1340-editorial-carousel:not(.as1341-mini-carousel):not(.as1330-dossier-carousel) .as1290-tab-deck{display:none!important;}
  body.as-v1345 .as1340-editorial-carousel .as116-carousel-track>section[data-chapter]{padding-block:12px!important;}
  body.as-v1345 .as1340-editorial-carousel :is(.as1344-longform-panel,.as1344-profile-panel,.as1341-volare-panel,.as1340-review-panel){padding-inline:12px!important;}

  /* Mini carousel = at most two rows, no hidden horizontal scrolling. */
  body.as-v1345 .as1341-mini-carousel .as1300-carousel-index{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:6px!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;}
  body.as-v1345 .as1341-mini-carousel .as1300-carousel-tab{width:100%!important;min-width:0!important;min-height:48px!important;padding:8px 9px!important;border:1px solid rgba(16,40,63,.13)!important;border-radius:8px!important;background:#fff!important;display:flex!important;align-items:center!important;}
  body.as-v1345 .as1341-mini-carousel .as1300-carousel-tab:nth-child(3):last-of-type{grid-column:1/-1!important;}
  body.as-v1345 .as1341-mini-carousel .as1290-tab-title{font-size:.78rem!important;line-height:1.2!important;}
  body.as-v1345 .as1341-mini-carousel .as1290-tab-icon{width:18px!important;min-width:18px!important;}
  body.as-v1345 .as1341-mini-carousel .as1140-carousel-progress{display:none!important;}

  body.as-v1345 .as1345-book-intro{margin-top:10px;margin-bottom:14px;}
  body.as-v1345 .as1345-book-intro__lead{padding:12px 0;}
  body.as-v1345 .as1345-book-intro__lead h2{font-size:1.7rem;}
  body.as-v1345 .as1345-book-intro__grid{grid-template-columns:1fr;gap:7px;}
  body.as-v1345 .as1345-book-intro__grid article{padding:13px;}
  body.as-v1345 .as1345-book-intro__grid p{font-size:.86rem;}

  body.as-v1345 #masthead .header-inner{gap:5px!important;}
  body.as-v1345 #masthead .as95-languages.as1300-languages .as1300-lang{min-width:36px!important;width:auto!important;min-height:40px!important;height:40px!important;padding-inline:6px!important;font-size:.7rem!important;}
}

@media (max-width:380px){
  body.as-v1345 #masthead .as1300-wordmark{font-size:.68rem!important;letter-spacing:.045em!important;}
  body.as-v1345 #masthead .as95-languages.as1300-languages .as1300-lang{min-width:34px!important;width:auto!important;padding-inline:5px!important;}
  body.as-v1345 .as1341-mini-carousel .as1300-carousel-index{grid-template-columns:1fr!important;}
  body.as-v1345 .as1341-mini-carousel .as1300-carousel-tab:nth-child(3):last-of-type{grid-column:auto!important;}
}

/* Home carousel: same content, less chrome and no long six-row index on phones. */
body.as-v1345.home .as1300-home-desk{padding:clamp(32px,4vw,50px) 0 clamp(38px,5vw,60px)!important;}
body.as-v1345.home .as1300-home-desk__masthead{margin-bottom:22px!important;gap:24px!important;}
body.as-v1345.home .as1300-home-desk__heading h2{font-size:clamp(2.15rem,3.6vw,3.45rem)!important;}
body.as-v1345.home .as1300-carousel-layout{grid-template-columns:minmax(205px,235px) minmax(0,1fr)!important;gap:18px!important;}
body.as-v1345.home .as1300-carousel-tab{min-height:66px!important;padding:12px 12px!important;grid-template-columns:24px minmax(0,1fr) 19px!important;gap:8px!important;}
body.as-v1345.home .as1300-carousel-tab .as1290-tab-title{font-size:.86rem!important;}
body.as-v1345.home .as1300-carousel-tab .as1290-tab-deck{font-size:.66rem!important;line-height:1.35!important;margin-top:3px!important;}
body.as-v1345.home .as116-carousel-track>section[data-chapter]{padding:clamp(24px,3vw,38px) 0!important;}
body.as-v1345.home .as116-carousel-track>section[data-chapter]>.container{padding-inline:clamp(20px,3.2vw,38px)!important;}
body.as-v1345.home .as116-carousel-track h2{font-size:clamp(1.8rem,2.7vw,2.7rem)!important;margin-bottom:12px!important;}
body.as-v1345.home .as116-carousel-track p{line-height:1.62!important;}

@media (min-width:681px) and (max-width:1100px){
  body.as-v1345.home .as1300-carousel-layout{grid-template-columns:1fr!important;}
  body.as-v1345.home .as1300-carousel-index{position:relative!important;top:auto!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;border-radius:10px!important;}
  body.as-v1345.home .as1300-carousel-tab,
  body.as-v1345.home .as1300-carousel-tab:nth-child(2n),
  body.as-v1345.home .as1300-carousel-tab:nth-last-child(2){min-height:58px!important;padding:10px!important;border:1px solid rgba(16,40,63,.11)!important;border-radius:0!important;}
  body.as-v1345.home .as1300-carousel-tab:first-child{border-radius:10px 0 0 0!important;}
  body.as-v1345.home .as1300-carousel-tab:nth-child(3){border-radius:0 10px 0 0!important;}
  body.as-v1345.home .as1300-carousel-tab:nth-child(4){border-radius:0 0 0 10px!important;}
  body.as-v1345.home .as1300-carousel-tab:nth-last-child(2){border-radius:0 0 10px 0!important;}
  body.as-v1345.home .as1300-carousel-tab .as1290-tab-deck{display:none!important;}
  body.as-v1345.home .as1300-carousel-tab[aria-current="true"]{box-shadow:inset 0 3px 0 #2457e6!important;}
  body.as-v1345.home .as1140-carousel-progress{display:none!important;}
}

@media (max-width:680px){
  body.as-v1345.home .as1300-home-desk{padding:28px 0 38px!important;}
  body.as-v1345.home .as1300-home-desk__masthead{margin-bottom:14px!important;gap:10px!important;}
  body.as-v1345.home .as1300-home-desk__heading h2{font-size:2rem!important;}
  body.as-v1345.home .as1300-home-desk__meta>p{display:none!important;}
  body.as-v1345.home .as1300-carousel-layout{grid-template-columns:1fr!important;gap:10px!important;}
  body.as-v1345.home .as1300-carousel-index{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;position:relative!important;top:auto!important;gap:6px!important;padding:0!important;border:0!important;background:transparent!important;}
  body.as-v1345.home .as1300-carousel-tab,
  body.as-v1345.home .as1300-carousel-tab:nth-child(2n),
  body.as-v1345.home .as1300-carousel-tab:nth-last-child(2){display:flex!important;align-items:center!important;gap:7px!important;min-height:54px!important;padding:9px 10px!important;border:1px solid rgba(16,40,63,.13)!important;border-radius:8px!important;background:#fff!important;}
  body.as-v1345.home .as1300-carousel-tab:first-child,
  body.as-v1345.home .as1300-carousel-tab:nth-last-child(2){border-radius:8px!important;}
  body.as-v1345.home .as1300-carousel-tab .as1140-carousel-tab__num{display:none!important;}
  body.as-v1345.home .as1300-carousel-tab .as1290-tab-icon{display:flex!important;position:static!important;width:18px!important;min-width:18px!important;}
  body.as-v1345.home .as1300-carousel-tab .as1290-tab-copy{display:block!important;min-width:0!important;}
  body.as-v1345.home .as1300-carousel-tab .as1290-tab-title{font-size:.8rem!important;line-height:1.15!important;}
  body.as-v1345.home .as1300-carousel-tab .as1290-tab-deck{display:none!important;}
  body.as-v1345.home .as1300-carousel-tab[aria-current="true"]{box-shadow:inset 3px 0 0 #2457e6!important;}
  body.as-v1345.home .as1140-carousel-progress{display:none!important;}
  body.as-v1345.home .as116-carousel-track>section[data-chapter]{padding:20px 0!important;}
  body.as-v1345.home .as116-carousel-track>section[data-chapter]>.container{padding-inline:14px!important;}
  body.as-v1345.home .as116-carousel-track h2{font-size:1.85rem!important;}
  body.as-v1345.home .as116-carousel-track p{font-size:.95rem!important;line-height:1.6!important;}
}

/* v13.4.5 final editorial consistency: compact intro + carousel on internal pages. */
body.as-v1345:not(.home) :is(.as1345-internal-intro,.as1345-profile-intro,.as1345-book-intro){margin-top:clamp(10px,2vw,22px)!important;margin-bottom:clamp(18px,3vw,34px)!important;}
body.as-v1345:not(.home) :is(.as1345-internal-intro__copy,.as1345-profile-intro__lead,.as1345-book-intro__lead){max-width:76ch;}
body.as-v1345:not(.home) :is(.as1345-internal-intro,.as1345-profile-intro,.as1345-book-intro) h2{font-size:clamp(1.75rem,3.2vw,2.8rem)!important;line-height:1.05!important;margin:.25em 0 .55em!important;}
body.as-v1345:not(.home) :is(.as1345-profile-intro__grid,.as1345-book-intro__grid){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(12px,2vw,22px);margin-top:18px;}
body.as-v1345:not(.home) :is(.as1345-profile-intro__grid,.as1345-book-intro__grid)>article{padding:clamp(14px,2vw,22px);border:1px solid rgba(16,40,63,.12);border-radius:10px;background:#fff;}
body.as-v1345:not(.home) :is(.as1345-profile-intro__grid,.as1345-book-intro__grid) h3{font-size:clamp(1.05rem,1.8vw,1.35rem)!important;line-height:1.2!important;margin:0 0 .55em!important;}
body.as-v1345:not(.home) :is(.as1345-profile-intro__grid,.as1345-book-intro__grid) p{font-size:.96rem!important;line-height:1.58!important;margin:0!important;}
body.as-v1345:not(.home) :is(.as1345-internal-carousel,.as1345-profile-carousel,.as1345-volare-carousel){margin-top:clamp(12px,2vw,24px)!important;margin-bottom:clamp(20px,3vw,38px)!important;}

/* Premium LinkedIn share. */
.as1345-share{display:flex;justify-content:flex-start;margin:18px 0 22px;}
.as1345-linkedin-share{display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:10px 15px;border-radius:999px;border:1px solid rgba(10,102,194,.28);background:linear-gradient(180deg,#fff,#f4f8fc);box-shadow:0 8px 22px rgba(16,40,63,.08);font-weight:750;text-decoration:none!important;line-height:1;color:#0a66c2!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;}
.as1345-linkedin-share:hover,.as1345-linkedin-share:focus-visible{transform:translateY(-1px);box-shadow:0 12px 28px rgba(16,40,63,.13);border-color:rgba(10,102,194,.5);outline:none;}
.as1345-linkedin-mark{display:grid;place-items:center;width:26px;height:26px;border-radius:6px;background:#0a66c2;color:#fff;font:800 15px/1 Arial,sans-serif;letter-spacing:-.03em;}
.as1345-linkedin-share b{font-size:.95rem;font-weight:700;}

@media(max-width:680px){
 body.as-v1345:not(.home) :is(.as1345-profile-intro__grid,.as1345-book-intro__grid){grid-template-columns:1fr!important;gap:10px!important;}
 body.as-v1345:not(.home) :is(.as1345-internal-intro,.as1345-profile-intro,.as1345-book-intro){padding-inline:16px!important;margin-bottom:18px!important;}
 .as1345-share{margin:14px 0 18px;}
 .as1345-linkedin-share{width:100%;justify-content:center;min-height:50px;padding:11px 14px;}
}
