/* THERA SAR: the logo's offset plates become tangible navigation controls. */
#thera-sar-editoriale{--sar-nav-height:72px}
#thera-sar-editoriale .sar-topbar{position:sticky;top:0;z-index:35;min-height:72px;padding:9px 0 13px;background:#f4f2ed;border-bottom:1px solid #b7beb9;box-shadow:0 8px 0 #f4f2ed}
#thera-sar-editoriale .sar-topbar a{font-size:13px;text-decoration:underline;text-decoration-color:#a4471170;text-underline-offset:5px;text-decoration-thickness:1px}
#thera-sar-editoriale .sar-topbar .back-action{gap:8px;font-weight:700}
#thera-sar-editoriale .sar-topbar .back-action>span{font-size:19px;transition:transform .25s}
#thera-sar-editoriale .sar-topbar .back-action:hover>span{transform:translateX(-3px)}
#thera-sar-editoriale .atlas-book{scroll-margin-top:calc(var(--sar-nav-height) + 22px)}
#thera-sar-editoriale .atlas-sidebar{top:calc(var(--sar-nav-height) + 20px)}
#thera-sar-editoriale .atlas-sidebar-head{font-size:11px;font-weight:700;color:#34474d;border-color:#adb8b4;letter-spacing:.02em}
#thera-sar-editoriale .atlas-index{gap:5px}
#thera-sar-editoriale .atlas-entry{grid-template-columns:20px minmax(0,1fr) 16px;gap:8px;padding:14px 12px;min-height:62px;border:1px solid #c4ccc6;border-left:0;box-shadow:2px 2px 0 #152c3506;transition:background .22s,border-color .22s,color .22s,translate .16s}
#thera-sar-editoriale .atlas-entry-title{font-size:13px;font-weight:600}
#thera-sar-editoriale .atlas-entry-no{font-size:10px;color:#59676c}
#thera-sar-editoriale .atlas-entry-arrow{display:block;font-size:17px;color:#a44711;transition:transform .25s}
#thera-sar-editoriale .atlas-entry[aria-current=page]{background:#f1dfc8;color:#152c35;border-color:#d6b08d}
#thera-sar-editoriale .atlas-entry[aria-current=page] .atlas-entry-title{font-weight:800}
#thera-sar-editoriale .atlas-entry:hover{background:#eee7da;border-color:#a8b5af}
#thera-sar-editoriale .atlas-entry:is(:hover,:focus-visible) .atlas-entry-arrow{transform:translateX(3px)}
#thera-sar-editoriale .atlas-entry:active{translate:1px 2px}
#thera-sar-editoriale .sar-chapter-marker{position:absolute;top:0;left:0;width:4px;pointer-events:none;background:#ff751f;box-shadow:0 0 12px #ff751f32;z-index:2;transition:transform .46s cubic-bezier(.2,.8,.2,1),height .46s cubic-bezier(.2,.8,.2,1)}
#thera-sar-editoriale .atlas-index[data-marker-ready=true] .atlas-entry::before{display:none}
#thera-sar-editoriale .atlas-reader-bar .atlas-section-picker{border-color:#9ea9a2;background:#eee4d6;box-shadow:3px 3px 0 #152c351a;border-radius:0}
#thera-sar-editoriale .atlas-picker-label{font-weight:800}
#thera-sar-editoriale .atlas-picker-current{color:#405158}
#thera-sar-editoriale .atlas-picker-end{color:#96400e}
#thera-sar-editoriale .sar-risk summary{padding:10px 13px;border:1px solid #aeb9b2;background:#eeece4;font-size:13px;gap:18px;min-height:48px}
#thera-sar-editoriale .sar-risk summary::after{width:26px;height:26px;display:grid;place-items:center;background:#f4deca;border:1px solid #d4ad8c;font-size:23px;line-height:1;flex:0 0 auto;transition:rotate .25s}
#thera-sar-editoriale .sar-risk[open] summary{background:#eee0cd;border-color:#b78b64}
#thera-sar-editoriale .sar-risk p{padding:14px 13px 20px}
#thera-sar-editoriale .recovery-path-controls{border:1px solid #aab6af;box-shadow:4px 4px 0 #152c3510;gap:0;background:#f8f6f0}
#thera-sar-editoriale .recovery-path-choice{padding:16px 18px 22px;min-height:100px;transition:background .25s}
#thera-sar-editoriale .recovery-path-choice+button{padding-left:18px;border-left:1px solid #aab6af}
#thera-sar-editoriale .recovery-path-choice[aria-pressed=true]{background:#f2dfc9;color:#152c35}
#thera-sar-editoriale .recovery-path-choice strong{padding-right:20px;position:relative;line-height:1.5}
#thera-sar-editoriale .recovery-path-choice strong::after{content:'→';position:absolute;right:0;color:#a44711;transition:transform .25s}
#thera-sar-editoriale .recovery-path-choice[aria-pressed=true] strong::after{transform:rotate(-45deg)}
#thera-sar-editoriale .recovery-path-choice>span{color:#465960}
#thera-sar-editoriale .recovery-path-choice:active{background:#ecd0af}
#thera-sar-editoriale .info-section a:not(.btn){text-decoration:underline;text-decoration-color:#b26736;text-underline-offset:4px;text-decoration-thickness:1.5px;font-weight:600}
#thera-sar-editoriale .atlas-pager{gap:16px;border-top:0;padding-top:18px}
#thera-sar-editoriale .atlas-pager a{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 12px;align-items:center;padding:12px 15px;border:1px solid #adb9b1;background:#f9f6ee;min-height:66px;max-width:48%;color:#152c35;font-size:14px;line-height:1.4;text-align:left;box-shadow:3px 3px 0 #152c350e;transition:background .25s,translate .15s}
#thera-sar-editoriale .atlas-pager a[data-atlas-next]{border-right:4px solid #ff751f}
#thera-sar-editoriale .atlas-pager .sar-pager-cue{font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:#78523a;grid-column:1}
#thera-sar-editoriale .atlas-pager [data-atlas-pager-label]{grid-column:1;font-weight:700}
#thera-sar-editoriale .atlas-pager a>span[aria-hidden]{grid-column:2;grid-row:1/3;font-size:23px;color:#a44711}
#thera-sar-editoriale .atlas-pager a:hover{background:#f0e2d0}
#thera-sar-editoriale .atlas-pager a:active{translate:1px 2px}
#thera-sar-editoriale .site-completion :is(.footer-links,.footer-contact-links) a{text-decoration:underline;text-underline-offset:4px;text-decoration-color:#9caaa3}
@container folio (max-width:640px){
  #thera-sar-editoriale .atlas-reader-bar{top:var(--sar-nav-height);padding-top:9px}
  #thera-sar-editoriale .atlas-sidebar{top:calc(var(--sar-nav-height) + 12px);max-height:calc(100dvh - var(--sar-nav-height) - 28px);border-radius:0;background:#f4f2ed}
  #thera-sar-editoriale .atlas-entry{min-height:56px;padding-block:11px}
  #thera-sar-editoriale .atlas-entry-title{font-size:14px}
  #thera-sar-editoriale .atlas-reader-bar .atlas-section-picker{min-height:64px;padding:10px 13px;border-color:#9eaaa1;border-left:4px solid #ff751f;border-radius:0;background:#eee4d6;box-shadow:3px 3px 0 #152c351a}
}
@media(max-width:380px){
  #thera-sar-editoriale .sar-topbar{gap:8px}
  #thera-sar-editoriale .sar-topbar a{font-size:12px}
  #thera-sar-editoriale .sar-topbar-actions{gap:8px}
  #thera-sar-editoriale .recovery-path-choice{padding-inline:12px}
  #thera-sar-editoriale .recovery-path-choice+button{padding-left:12px}
  #thera-sar-editoriale .atlas-pager{gap:10px}
  #thera-sar-editoriale .atlas-pager a{padding:11px;font-size:13px;gap:4px 8px}
}
@media(max-height:500px){#thera-sar-editoriale{--sar-nav-height:62px}#thera-sar-editoriale .sar-topbar{min-height:62px;padding-block:5px}}
#thera-sar-editoriale [data-paused=true] :is(.sar-chapter-marker,.atlas-entry,.atlas-entry-arrow,.recovery-path-choice,.recovery-path-choice strong::after,.atlas-pager a,.back-action>span){transition:none!important}
@media(prefers-reduced-motion:reduce){#thera-sar-editoriale .sar-chapter-marker{transition:none!important}}
@media print{#thera-sar-editoriale .sar-topbar{position:static}#thera-sar-editoriale .sar-chapter-marker{display:none}}
