/* Avvertenze per l'uso — archivio satirico, styles scoped to page 1752 */
body.page-id-1752 {background:#e3dacb;color:#211e1b}
body.page-id-1752 .site-header {display:none}
body.page-id-1752 .site-topbar {background:#211f1d;border-bottom:1px solid #715c4d}
body.page-id-1752 .site-topbar a,body.page-id-1752 .site-topbar__motto{color:#e9d9c3}
body.page-id-1752 .apu-main {width:100%;margin:0;padding:0;max-width:none;background:repeating-linear-gradient(90deg,#e3dacb,#e3dacb 4px,#e5dccd 5px)}
body.page-id-1752 .apu-document-archive {max-width:none;margin:0;border:0}
body.page-id-1752 .apu-page-content {width:100%;max-width:none;padding:0}
body.page-id-1752 .apu-hub {width:100%;max-width:none;margin:0 auto;font-family:Georgia,'Times New Roman',serif;font-size:18px;line-height:1.68}
body.page-id-1752 .apu-hero {min-height:480px;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;max-width:none!important;margin:0!important;padding:90px 30px!important;background:#221e1c!important;color:#f4e4d0!important;border-top:14px solid #ad3d30!important;border-bottom:12px solid #ad3d30!important;position:relative}
body.page-id-1752 .apu-hero:before{content:"ARCHIVIO RISERVATO AL PUBBLICO · EDIZIONE NON UFFICIALE";display:block;position:absolute;top:28px;left:0;width:100%;letter-spacing:.18em;color:#ddaa8b;font:700 .7rem/1.4 system-ui,sans-serif}
body.page-id-1752 .apu-hero>p:first-child{color:#da9f88!important;letter-spacing:.22em!important;font:700 .8rem/1.5 system-ui,sans-serif!important}
body.page-id-1752 .apu-hero h1{font-family:Impact,'Arial Narrow',system-ui,sans-serif!important;color:#fff5e8!important;font-size:clamp(3.5rem,9vw,8.5rem)!important;font-weight:900;letter-spacing:-.055em!important;line-height:.95!important;max-width:1100px;text-transform:uppercase;margin:35px auto!important}
body.page-id-1752 .apu-hero p:nth-of-type(2){font-size:clamp(1.25rem,2.4vw,1.85rem)!important;color:#f4e4d0!important;font-style:normal!important}
body.page-id-1752 .apu-hero p:last-child{color:#fff!important;border:2px solid #b94a3b!important;padding:12px 22px!important;margin-top:35px!important;font:800 clamp(.78rem,1.6vw,1.1rem)/1.4 system-ui,sans-serif!important;text-transform:uppercase;letter-spacing:.12em}
body.page-id-1752 .apu-hub>section:not(.apu-hero){box-sizing:border-box;max-width:1120px!important;margin:0 auto!important;padding:clamp(38px,6vw,80px) clamp(22px,5vw,76px)!important}
body.page-id-1752 .apu-hub>section:nth-child(2){background:#ede1d0}
body.page-id-1752 .apu-hub h2{color:#2b2420!important;font-size:clamp(2rem,4vw,3.1rem);line-height:1.13;margin:0 0 26px}
body.page-id-1752 .apu-hub p{line-height:1.75}
body.page-id-1752 section[aria-labelledby="apu-registro"]{background:#d7c9b5!important;border:0!important;border-top:8px solid #963426!important;border-bottom:8px solid #963426!important;max-width:none!important;padding-left:max(24px,calc((100vw - 1120px)/2))!important;padding-right:max(24px,calc((100vw - 1120px)/2))!important}
body.page-id-1752 section[aria-labelledby="apu-registro"]>div{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:19px!important}
body.page-id-1752 section[aria-labelledby="apu-registro"] article{background:#fbf4e9!important;border:1px solid #bba992!important;border-top:6px solid #9b342c!important;padding:24px!important;min-width:0;box-shadow:5px 7px 0 rgba(42,30,24,.12)}
body.page-id-1752 section[aria-labelledby="apu-registro"] article>p:first-child{font:800 .7rem/1.4 system-ui,sans-serif;letter-spacing:.09em;color:#8e382b}
body.page-id-1752 section[aria-labelledby="apu-registro"] article h3{font-size:1.5rem;line-height:1.2;color:#26201e}
body.page-id-1752 section[aria-labelledby="apu-registro"] article a{color:#8f3327;font-weight:bold;text-decoration-thickness:1px}
body.page-id-1752 .apu-hub section:last-child{background:#f0e6d9;border-top:1px solid #b6a48e}
@media(max-width:800px){body.page-id-1752 section[aria-labelledby="apu-registro"]>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}body.page-id-1752 .apu-hero{min-height:380px}}
@media(max-width:520px){body.page-id-1752 section[aria-labelledby="apu-registro"]>div{grid-template-columns:1fr!important}body.page-id-1752 .apu-hero{min-height:320px;padding:75px 20px!important}body.page-id-1752 .apu-hero h1{font-size:clamp(2.8rem,13vw,4.6rem)!important}body.page-id-1752 .apu-hub{font-size:16px}}

/* Registro APU: griglia a colonne fisse, celle di pari altezza come una tabella. */
body.page-id-1752 .apu-hub sectionsection[aria-labelledby="apu-registro"] > div {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  grid-auto-flow:row!important;
  grid-auto-rows:1fr!important;
  align-items:stretch!important;
  gap:20px!important;
  width:100%!important;
}
body.page-id-1752 .apu-hub sectionsection[aria-labelledby="apu-registro"] > div > article {
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  box-sizing:border-box!important;
  min-width:0!important;
  margin:0!important;
}
body.page-id-1752 .apu-hub sectionsection[aria-labelledby="apu-registro"] > div > article h3 { overflow-wrap:break-word;hyphens:auto; }
body.page-id-1752 .apu-hub sectionsection[aria-labelledby="apu-registro"] > div > article p:last-child {margin-top:auto!important;padding-top:18px;}
@media(max-width:900px) {
 body.page-id-1752 .apu-hub sectionsection[aria-labelledby="apu-registro"] > div{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media(max-width:600px) {
 body.page-id-1752 .apu-hub sectionsection[aria-labelledby="apu-registro"] > div{grid-template-columns:minmax(0,1fr)!important;grid-auto-rows:auto!important;}
}

/* Struttura documentale a tre righe, derivata dai percorsi DM */
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-table{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;gap:18px!important;width:100%}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-width:0;box-sizing:border-box;min-height:290px;padding:25px 23px 21px;border:1px solid #baaa95;border-top:4px solid #913a2e;background:#fbf4e9;box-shadow:none}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__title{grid-row:1;min-width:0}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__num{display:block;margin-bottom:24px;color:#964338;font:800 .68rem/1.4 system-ui,sans-serif;letter-spacing:.09em}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__title h3{margin:0 0 18px;font-size:clamp(1.3rem,1.7vw,1.55rem);line-height:1.2;overflow-wrap:break-word;color:#28211d}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__text{grid-row:2;min-width:0;display:flex;align-items:center}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__text p{margin:0 0 18px;font-size:.97rem;line-height:1.6}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__source{grid-row:3;align-self:end}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__source a{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:11px 9px;border-top:1px solid #b5927f;background:#e9dacf;color:#793126;font:700 .75rem/1.3 system-ui,sans-serif;text-decoration:none}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__source a span:first-child{background:#923b30;color:white;padding:6px 8px;font-size:.65rem;letter-spacing:.08em}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__source a:hover{background:#ddc5b4}
@media(max-width:900px){body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-table{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-table{grid-template-columns:minmax(0,1fr)!important}body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{min-height:0}}

/* APU — servizio di certificazione spontanea */
body.page-id-1752 .apu-hub section.apu-service{max-width:1120px!important;background:#292320!important;color:#f0e3d3!important;border:0;border-top:8px solid #a34134;padding:clamp(32px,5vw,64px)!important}
body.page-id-1752 .apu-service__eyebrow{color:#e3ae96;font:800 .73rem/1.5 system-ui,sans-serif;letter-spacing:.15em}
body.page-id-1752 .apu-service h2{color:#fff5e7!important;font:900 clamp(2rem,4vw,3.4rem)/1.12 Georgia,serif;margin:15px 0 25px}
body.page-id-1752 .apu-service p{color:#eee0d0!important}
body.page-id-1752 .apu-service__lead{font-size:clamp(1.2rem,2.3vw,1.55rem);font-weight:bold;border-left:5px solid #b94838;padding-left:22px}
body.page-id-1752 .apu-service__rules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin:35px 0}
body.page-id-1752 .apu-service__rules>div{background:#f1e5d4;padding:25px;border-top:4px solid #b54434;min-width:0}
body.page-id-1752 .apu-service__rules span{font:800 .7rem/1.5 system-ui,sans-serif;letter-spacing:.11em;color:#88352b}
body.page-id-1752 .apu-service__rules h3{margin:12px 0;font-size:1.35rem;color:#28201b}
body.page-id-1752 .apu-service__rules p{color:#372b25!important;font-size:.96rem;line-height:1.62}
body.page-id-1752 .apu-service__notice{margin-top:32px;padding:26px;border:1px solid #b84b3c;text-align:center}
body.page-id-1752 .apu-service__notice strong{font:800 .75rem/1.5 system-ui,sans-serif;letter-spacing:.12em;color:#efa990;text-transform:uppercase}
body.page-id-1752 .apu-service__notice p:not(.apu-service__small){font-size:clamp(1.15rem,2.2vw,1.55rem);font-weight:bold}
body.page-id-1752 .apu-service__small{font-size:.84rem;color:#d4c5b7!important}
@media(max-width:680px){body.page-id-1752 .apu-service__rules{grid-template-columns:1fr}}

/* Sigilli archivistici vettoriali tipografici — nessuna immagine ritagliata */
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{grid-template-rows:auto 102px minmax(0,1fr) auto!important}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__visual{grid-row:2;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;overflow:visible;margin:0 0 15px;padding:8px 4px;background:#f4eadb;border:1px solid #cfb9a3;box-shadow:inset 0 0 0 4px #f9f1e7;color:#973c2f}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__sigil{display:block;font:normal 52px/1 Georgia,'Times New Roman',serif;color:#963d30;text-align:center;white-space:nowrap;letter-spacing:-.08em}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__sigil--3{font-size:63px;line-height:.83}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__sigil--4{font-size:60px;transform:rotate(-14deg);line-height:.87}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__sigil--5{font-size:50px;line-height:1}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__visual-label{display:block;margin-top:5px;font:800 .59rem/1.2 system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;text-align:center;color:#8b3b2f}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__text{grid-row:3;align-items:flex-start!important}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__source{grid-row:4}
@media(max-width:600px){body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{grid-template-rows:auto 106px minmax(0,1fr) auto!important}}

/* Geometria APU: righe interne fisse e identiche in ogni scheda */
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{
  grid-template-rows:126px 102px minmax(0,1fr) auto!important;
  align-content:stretch!important;
}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__title{
  grid-row:1;min-height:0;display:flex;flex-direction:column;
  justify-content:flex-start;overflow-wrap:anywhere;
}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__title h3{
  margin:12px 0 0!important;line-height:1.22;
}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__num{
  margin-bottom:0!important;
}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__visual{
  margin-bottom:12px!important;
}
@media(max-width:900px){
 body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{
  grid-template-rows:130px 102px minmax(0,1fr) auto!important;
 }
}
@media(max-width:600px){
 body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{
  grid-template-rows:110px 106px minmax(0,1fr) auto!important;
 }
}

/* Correzione titolo APU/005: fascia comune sufficiente per quattro righe */
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{grid-template-rows:minmax(172px,auto) 102px minmax(0,1fr) auto!important}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__title{overflow:visible!important;min-height:auto!important}
body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row__title h3{overflow:visible!important;max-height:none!important;display:block!important;-webkit-line-clamp:unset!important}
@media(max-width:900px){body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{grid-template-rows:minmax(180px,auto) 102px minmax(0,1fr) auto!important}}
@media(max-width:600px){body.page-id-1752 section[aria-labelledby="apu-registro"] .apu-doc-row{grid-template-rows:minmax(155px,auto) 106px minmax(0,1fr) auto!important}}
