/* Traces, conferenza del progetto BLADE.
   Una sola famiglia di caratteri (EB Garamond), fondo bianco, rosso Ca' Foscari per link e sottotitolo.
   Niente etichette in maiuscoletto spaziato, niente pulsanti: il registro è quello di un programma a stampa. */

@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-400-normal.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-400-italic.woff2") format("woff2");font-weight:400;font-style:italic;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-600-normal.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"EB Garamond";src:url("fonts/eb-garamond-latin-600-italic.woff2") format("woff2");font-weight:600;font-style:italic;font-display:swap}

:root{--red:#b01e28;--red-deep:#8c1820;--ink:#1d1f22;--soft:#44474c;--muted:#6b7076;--rule:#dddbd6;--paper:#fff;--measure:41rem}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:1.5rem}
body{margin:0;background:var(--paper);color:var(--ink);font-family:"EB Garamond",Georgia,"Times New Roman",serif;
  font-size:clamp(1.12rem,1rem + .3vw,1.25rem);line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
a{color:var(--red);text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.18em}
a:hover{color:var(--red-deep)}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}
img{max-width:100%}
.wrap{max-width:60rem;margin-inline:auto;padding-inline:clamp(1rem,4vw,2.5rem)}
.skip{position:absolute;left:-999px;top:.5rem;background:var(--red);color:#fff;padding:.3rem .6rem}
.skip:focus{left:.5rem}

/* testata */
.top{border-top:4px solid var(--red);border-bottom:1px solid var(--rule)}
.top .wrap{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:.4rem 1.5rem;padding-block:.7rem}
.brand{display:flex;align-items:center;gap:.7rem;color:var(--ink);text-decoration:none}
.brand:hover{color:var(--ink)}
.brand .mark{width:22px;height:40px;flex:none}
.brand b{display:block;font-weight:600;font-size:1.45rem;line-height:1}
.brand small{display:block;font-style:italic;font-size:.92rem;color:var(--muted);line-height:1.2;margin-top:.15rem}
.top nav{display:flex;flex-wrap:wrap;gap:.2rem 1.4rem;font-size:1.05rem}
.top nav a{color:var(--ink);text-decoration:none}
.top nav a:hover,.top nav a[aria-current]{color:var(--red)}
.top nav a[aria-current]{text-decoration:underline;text-underline-offset:.3em;text-decoration-thickness:.06em}
.top nav a.ext{color:var(--red)}

/* apertura */
main{padding-block:clamp(2rem,5vw,3.5rem) clamp(3rem,6vw,4.5rem)}
.pre{margin:0;font-style:italic;color:var(--muted);overflow-wrap:anywhere}
.pre a{color:inherit}
.pre a:hover{color:var(--red)}
.hero h1{font-weight:600;font-size:clamp(3.2rem,2rem + 5vw,5.4rem);line-height:1;margin:.5rem 0 .2rem;letter-spacing:-.005em}
.hero .subtitle{font-style:italic;color:var(--red);font-size:clamp(1.5rem,1.1rem + 1.5vw,2.15rem);line-height:1.2;margin:0;max-width:34ch}
.hero .when{font-size:clamp(1.2rem,1.05rem + .5vw,1.45rem);margin:1.1rem 0 0}
.pagehead h1{font-weight:600;font-size:clamp(2.3rem,1.6rem + 2.6vw,3.3rem);line-height:1.05;margin:.4rem 0 .6rem}
.lede{max-width:var(--measure);font-size:1.08em;margin:1.6rem 0 0}
.pagehead .lede{margin-top:0}

/* dati pratici */
.facts{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:.55rem 1.2rem;max-width:46rem;margin:2.2rem 0 0;padding:1.3rem 0;border-top:1px solid var(--rule);border-bottom:1px solid var(--rule)}
.facts dt{font-style:italic;color:var(--muted)}
.facts dd{margin:0}

/* programma */
h2.sec{font-weight:600;font-size:clamp(1.8rem,1.4rem + 1.2vw,2.3rem);margin:3rem 0 0;line-height:1.1}
.status{font-style:italic;color:var(--muted);margin:.3rem 0 0}
.day{margin-top:2.4rem}
.day > h2{font-weight:600;font-size:1.45rem;margin:0;padding-bottom:.45rem;border-bottom:1.5px solid var(--ink)}
.slot{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:0 1.2rem;padding:.95rem 0;border-bottom:1px solid var(--rule)}
.slot .t{color:var(--muted);font-variant-numeric:tabular-nums lining-nums;white-space:nowrap}
.slot .c{max-width:44rem}
.slot h3{font-weight:600;font-size:1em;margin:0;line-height:1.35}
.slot h3 .aff{font-weight:400}
.slot p{margin:0}
.slot .label{font-style:italic;color:var(--red)}
.slot .ttl{font-style:italic}
.slot .aside,.slot .pause{color:var(--muted)}
.slot .pause{font-style:italic}
.slot .online{color:var(--muted);font-style:italic}
.slot .sub{display:grid;grid-template-columns:3.4rem minmax(0,1fr);gap:0 .6rem;margin-top:.55rem}
.slot .sub .st{color:var(--muted);font-variant-numeric:tabular-nums lining-nums}
.slot ul.ws{list-style:none;margin:.5rem 0 0;padding:0}
.slot ul.ws li{margin:.5rem 0 0}
.slot .more{margin-top:.7rem}
@media (max-width:560px){
  .slot,.facts{grid-template-columns:1fr}
  .slot .t{margin-bottom:.15rem}
  .facts dd{margin-bottom:.4rem}
}

/* pagine di testo */
.text{max-width:var(--measure)}
.text h2{font-weight:600;font-size:1.5rem;line-height:1.2;margin:2.6rem 0 .5rem}
.text article h2{margin-bottom:.2rem}
.text article .who{font-style:italic;color:var(--soft);margin:0 0 .8rem}
.text p{margin:0 0 .9rem}
.text ul.plain{list-style:none;padding:0;margin:0}
.text ul.plain li{margin:.15rem 0}
.regform{display:block;width:100%;height:2400px;border:1px solid var(--rule);margin:.8rem 0 .5rem}
@media (max-width:640px){.regform{height:2700px}}

/* loghi e piede */
.logos{display:flex;flex-wrap:wrap;align-items:center;gap:1.4rem 1.5rem;margin:3rem 0 0;padding-top:1.8rem;border-top:1px solid var(--rule)}
.logos img{width:auto;object-fit:contain}
.logos + .text h2:first-child{margin-top:2.4rem}
.foot{border-top:1px solid var(--rule);color:var(--soft);font-size:.95em}
.foot .wrap{padding-block:1.6rem 2.2rem}
.foot p{max-width:46rem;margin:0 0 .5rem}
@media print{.top nav,.regform{display:none}}
.slot .item{margin-top:.55rem}
.wsd{border-bottom:1px solid var(--rule);padding:1rem 0}
.wsd:first-child{border-top:1px solid var(--rule)}
.wsd summary{cursor:pointer;list-style:none}
.wsd summary::-webkit-details-marker{display:none}
.text .wsd summary h2{display:block;font-weight:600;font-size:1.25rem;line-height:1.25;margin:0}
.wsd summary .who{display:block;font-style:italic;color:var(--soft);margin-top:.15rem}
.wsd summary .hint{display:inline-block;margin-top:.35rem;color:var(--red);text-decoration:underline;text-decoration-thickness:.06em;text-underline-offset:.18em}
.wsd summary .hint::before{content:"+ "}
.wsd[open] summary .hint::before{content:"− "}
.wsd[open] summary{margin-bottom:.8rem}
.wsd p:last-child{margin-bottom:0}
.foot .wrap{display:flex;gap:1.6rem 2rem;align-items:flex-start;flex-wrap:wrap}
.foot .flogo img{height:78px;width:auto;display:block}
.foot .wrap > div{flex:1 1 20rem;min-width:0}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.pagehead + .text{margin-top:1.6rem}
.wsd summary:focus-visible{outline:2px solid var(--red);outline-offset:4px}
.top nav a{padding:.25rem 0}
@media (prefers-reduced-motion: reduce){html{scroll-behavior:auto}}
