#cc-contenuto-home { display:block; width:100%; max-width:none; box-sizing:border-box; background:#fff; padding:0 clamp(16px,3.5vw,50px); }
.cch-home { width:100%; --rosso:#861429; --riga:#ccbfc0; max-width:1210px; margin-inline:auto; background:white; color:#201c1b; font:18px/1.48 Georgia,serif; }
.cch-home * { box-sizing:border-box; }
.cch-home :where(h1,h2,h3,p,figure) { margin:0; color:inherit; font-family:inherit; }
.cch-home h1 { font-size:clamp(38px,5vw,74px); line-height:1.03; }
.cch-home h2 { font-size:clamp(28px,3vw,42px); line-height:1.12; }
.cch-home h3 { font-size:clamp(20px,2vw,29px); line-height:1.15; }
.cch-home a { color:inherit; text-underline-offset:.18em; }
.cch-home a:focus-visible { outline:3px solid #267486; outline-offset:3px; }
.cch-home .wp-block-button__link { padding:.5em 1em; border-radius:3px; background:var(--rosso); color:white; font:600 16px/1.45 Arial,sans-serif; }
.cch-home .cch-hero { display:grid; grid-template-columns:minmax(0,2fr) minmax(0,3fr); gap:clamp(18px,3vw,44px); align-items:center; padding:26px 0; }
.cch-home .cch-hero img { display:block; width:100%; height:auto; aspect-ratio:1.55; object-fit:cover; }
.cch-home .cch-intro > * + *,.cch-home .cch-panel-text > * + * { margin-top:14px; }
.cch-home .cch-intro > p:first-child,.cch-home .cch-porta p,.cch-home .cch-panel-text > p { font:700 15px/1.35 Arial,sans-serif; color:var(--rosso); }
.cch-home .cch-intro > p:first-child { text-transform:uppercase; letter-spacing:.07em; }
.cch-home .cch-intro > p { font-size:clamp(18px,1.8vw,25px); }
.cch-home .cch-index { display:grid; grid-template-columns:minmax(0,3fr) minmax(0,1fr); gap:18px 32px; grid-template-areas:"latest aside" "doors doors"; }
.cch-home .cch-latest,.cch-home .cch-rubriche,.cch-home .cch-side,.cch-home .cch-contact { border-top:1px solid var(--rosso); padding:18px 0; }
.cch-home .cch-latest { grid-area:latest; }
.cch-home .cch-rubriche { grid-area:doors; }
.cch-home .cch-side { grid-area:aside; border-top-width:3px; }
.cch-home .cch-side h2 { font-size:clamp(23px,2.2vw,30px); }
.cch-home .cch-side p { margin:0; border-top:1px solid var(--riga); }
.cch-home .cch-side p a { display:block; padding:11px 0; font:600 16px/1.4 Arial,sans-serif; }
.cch-home .cch-index h2 { margin-bottom:16px; }
.cch-home .cch-query .wp-block-post-featured-image img { display:block; width:100%; height:auto; aspect-ratio:2; object-fit:cover; }
.cch-home .cch-query .wp-block-post-title { margin-top:10px; }
.cch-home .cch-porte { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.cch-home .cch-porta { padding:8px 12px; border-left:1px solid var(--riga); }
.cch-home .cch-panels { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.cch-home .cch-panel { display:grid; background:#263d44; color:white; isolation:isolate; }
.cch-home .cch-panel > * { grid-area:1/1; }
.cch-home .cch-panel > figure img { width:100%; height:100%; object-fit:cover; display:block; }
.cch-home .cch-panel-text { position:relative; padding:clamp(18px,3vw,38px); min-height:235px; background:linear-gradient(100deg,rgba(15,30,36,.91),rgba(15,30,36,.12)); color:white; }
.cch-home .cch-panel-text > p { color:inherit; }
.cch-home .cch-sabato .cch-panel-text { background:linear-gradient(100deg,#fff,rgba(255,255,255,.88) 40%,transparent); color:#201c1b; }
.cch-home .cch-contact { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:16px; margin:22px 0; }
.cch-home .cch-contact h2 { font-size:clamp(22px,2.4vw,32px); }
@media(max-width:899px) {
 .cch-home .cch-index { display:flex; flex-direction:column; gap:0; }
}
@media(max-width:760px) {
 .cch-home .cch-hero,.cch-home .cch-panels { grid-template-columns:minmax(0,1fr); }
 .cch-home .cch-porte { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:580px) {
 .cch-home .cch-query .wp-block-post-template.is-layout-grid { grid-template-columns:minmax(0,1fr); }
}
/* In redazione immagine e testo sono entrambi raggiungibili con un clic. */
.editor-styles-wrapper .cch-home .cch-panel { display:block; }
.editor-styles-wrapper .cch-home .cch-panel > figure img { max-height:150px; }
.editor-styles-wrapper .cch-home .cch-panel-text { min-height:0; }

/* I temi classici possono racchiudere i figli dei gruppi in un div aggiuntivo. */
#cc-contenuto-home .cch-home .wp-block-group__inner-container {
    display:contents;
}
#cc-contenuto-home .cch-home :is(.cch-hero,.cch-index,.cch-porte,.cch-panels,.cch-panel,.cch-contact,.wp-block-group__inner-container)::before,
#cc-contenuto-home .cch-home :is(.cch-hero,.cch-index,.cch-porte,.cch-panels,.cch-panel,.cch-contact,.wp-block-group__inner-container)::after {
    content:none;
}
#cc-contenuto-home .cch-panel > .wp-block-group__inner-container > * { grid-area:1/1; }
#cc-contenuto-home .cch-panel figure img { display:block; width:100%; height:100%; object-fit:cover; }
#cc-contenuto-home .cch-hero .wp-block-image { width:100%; margin:0; }
#cc-contenuto-home .cch-home :is(.cch-hero,.cch-index,.cch-porte,.cch-panels,.cch-panel) { display:grid; }
#cc-contenuto-home .cch-home .cch-intro p:first-child {
    text-transform:uppercase; font:700 15px/1.35 Arial,sans-serif; letter-spacing:.07em; color:var(--rosso);
}
#cc-contenuto-home .cch-intro > .wp-block-group__inner-container > * + *,
#cc-contenuto-home .cch-panel-text > .wp-block-group__inner-container > * + * { margin-top:14px; }
#cc-contenuto-home .cch-panel-text p { color:inherit; font:700 15px/1.35 Arial,sans-serif; }
@media(max-width:899px) {
    #cc-contenuto-home .cch-home .cch-index { display:flex; flex-direction:column; }
}
