/* ADC — tipografia editoriale condivisa. Migliora la lettura senza alterare contenuti o dati. */
:root{--adc-ink:#28342f;--adc-link:#765037;--adc-rule:#ded8cd}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-kerning:normal;overflow-wrap:break-word}
main p,main li,article p,article li{line-height:1.78;hyphens:auto;overflow-wrap:break-word}
main p,article p{margin-block:0 1.15em}
main h1,main h2,main h3,article h1,article h2,article h3{text-wrap:balance;overflow-wrap:normal;hyphens:none}
main h2,article h2{line-height:1.3;margin-block:2.1rem .8rem}
main h3,article h3{line-height:1.35;margin-block:1.5rem .6rem}
main a,article a{text-underline-offset:.17em;text-decoration-thickness:from-font;overflow-wrap:anywhere}
main a:focus-visible,article a:focus-visible{outline:3px solid #a36a45;outline-offset:3px;border-radius:2px}
main ul,main ol,article ul,article ol{padding-inline-start:1.45em;margin-block:.65em 1.35em}
main li+li,article li+li{margin-block-start:.38em}
main blockquote,article blockquote{margin:1.5rem 0;padding:.8rem 1.2rem;border-inline-start:3px solid #b18c68;background:#f7f2e9}
main img,article img{max-width:100%;height:auto}
main figure,article figure{max-width:100%;margin:1.6rem 0}
main figcaption,article figcaption{font-size:.91em;line-height:1.6;color:#5d625c;margin-top:.55rem}
main table,article table{max-width:100%;font-variant-numeric:tabular-nums}
main th,main td,article th,article td{line-height:1.55;overflow-wrap:anywhere}
main hr,article hr{border:0;border-top:1px solid var(--adc-rule);margin:2rem 0}
@media(max-width:640px){main p,main li,article p,article li{line-height:1.72}main h2,article h2{margin-block-start:1.8rem}main blockquote,article blockquote{padding:.65rem .85rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Identità ADC: verde archivio, pergamena e lettura accessibile. */
:root{--adc-green:#173c36;--adc-gold:#b79b69;--adc-paper:#f8f6f1;--adc-text:#25302e}
body{font-size:clamp(16px,1.1vw,18px);-webkit-font-smoothing:antialiased}
main,article{max-width:100%}
main p,main li,article p,article li{max-width:76ch}
main h1,main h2,main h3,article h1,article h2,article h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.015em}
main a,article a{color:#286354;text-decoration-thickness:1px}
main a:hover,article a:hover{color:#173c36}
main input,main select,main textarea,main button{font:inherit;max-width:100%}
main input[type="search"],main input[type="text"],main select,main textarea{min-height:44px}
main button,main a.btn{min-height:44px}
main img,article img{max-width:100%;height:auto}
main table,article table{display:block;max-width:100%;overflow-x:auto}
main blockquote,article blockquote{border-left-color:#b79b69}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* Tabelle editoriali ADC: schede leggibili su smartphone, intestazioni conservate. */
@media(max-width:680px){
  main table.adc-mobile-cards,article table.adc-mobile-cards{display:block;width:100%;max-width:100%;overflow:visible;border:0;background:transparent}
  .adc-mobile-cards thead{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
  .adc-mobile-cards tbody,.adc-mobile-cards tr,.adc-mobile-cards td,.adc-mobile-cards th[scope="row"]{display:block;width:100%;min-width:0;max-width:100%;box-sizing:border-box}
  .adc-mobile-cards tbody tr{margin:0 0 1.15rem;padding:1rem 1.05rem;border:1px solid #dce3dc;border-radius:14px;background:#fff;box-shadow:0 2px 9px rgba(21,52,43,.045)}
  .adc-mobile-cards tbody td,.adc-mobile-cards tbody th[scope="row"]{border:0!important;padding:.65rem 0!important;text-align:left!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important;hyphens:auto}
  .adc-mobile-cards tbody td+td,.adc-mobile-cards tbody th[scope="row"]+td{border-top:1px solid #e8eae6!important}
  .adc-mobile-cards tbody td::before,.adc-mobile-cards tbody th[scope="row"]::before{content:attr(data-label);display:block;margin:0 0 .28rem;color:#315d4d;font:700 .78rem/1.45 system-ui,-apple-system,sans-serif;letter-spacing:.015em;hyphens:none;overflow-wrap:normal}
  .adc-mobile-cards tbody td:first-child,.adc-mobile-cards tbody th[scope="row"]:first-child{font-weight:600;color:#233f35}
  .adc-mobile-cards a{overflow-wrap:anywhere}
}
