/* CDS — header/footer GeneratePress, isolati e responsive */ 
:root{--cds-blue:#002678;--cds-blue-dark:#002678;--cds-white:#fff}
body{background-color:var(--cds-blue)}
.cds-header{background:var(--cds-blue);color:#fff;position:relative;z-index:100;padding:24px 20px 30px}
.cds-header-inner{max-width:none;width:100%;margin:0 auto;display:flex;align-items:center;flex-direction:column;gap:20px}
.cds-brand{display:block;max-width:960px;width:100%;text-align:center}
.cds-brand img{width:min(100%,940px);height:auto;display:inline-block;object-fit:contain}
.cds-nav{width:100%}
.cds-nav ul{list-style:none;margin:0;padding:0}
.cds-menu{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}
.cds-menu>li{position:relative;display:flex;align-items:center}
.cds-menu>li>a{display:block;padding:20px;background:rgba(255,255,255,.2);color:#fff!important;border:2px solid #fff;border-radius:5px;box-shadow:5px 5px 15px rgba(255,255,255,.9);font-size:18px;font-family:Catamaran,Helvetica,Arial,Lucida,sans-serif;font-weight:600;text-decoration:none;white-space:nowrap;transition:background .2s}
.cds-menu>li>a:hover,.cds-menu>li.current-menu-item>a{background:rgba(255,255,255,.27)}
.cds-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:225px;background:#fff;border-radius:3px;box-shadow:0 10px 28px rgba(0,0,0,.25);padding:7px 0;z-index:200}
.cds-menu .sub-menu a{display:block;padding:11px 15px;color:#092c75;text-decoration:none;font-size:13px}
.cds-menu .sub-menu a:hover{background:#edf3ff}
.cds-menu li:hover>.sub-menu,.cds-menu li:focus-within>.sub-menu,.cds-menu li.submenu-open>.sub-menu{display:block}
.cds-submenu-toggle{border:0;background:transparent;color:#fff;cursor:pointer;padding:4px 7px;margin-left:-28px;position:relative;z-index:1;font-size:18px;line-height:1}
.cds-menu-toggle{display:none}
.cds-footer{background:var(--cds-blue-dark);color:#fff;position:relative;isolation:isolate;overflow:hidden;padding:54px 24px 65px;min-height:230px}
.cds-footer:before{content:"";position:absolute;inset:0;background-image:var(--cds-footer-art);background-repeat:no-repeat;background-size:400px auto;background-position:right bottom;opacity:.65;z-index:-1;pointer-events:none}
.cds-footer-inner{max-width:none;width:100%;margin:0 auto;display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:32px;align-items:center}
.cds-footer-contacts{grid-column:1;font-size:13px;line-height:1.8}
.cds-footer-contacts h2{font-size:15px;color:#fff;margin:0 0 12px}
.cds-footer-contacts p{margin:0 0 8px}
.cds-footer-contacts p span{display:inline-block;width:25px;font-size:18px}
.cds-footer a{color:#fff;text-decoration:none}
.cds-footer a:hover{text-decoration:underline}
.cds-footer-center{grid-column:2;text-align:center}
.cds-footer-center img{max-width:340px;width:100%;height:auto}
.cds-footer-center p{margin:12px 0}
.cds-footer-note{font-size:11px;line-height:1.65;max-width:340px;margin-left:auto!important;margin-right:auto!important}
/* Evita che il contenitore standard GP aggiunga sfondi all'header/footer */
.site-header,.main-navigation,.site-footer{background:transparent}
@media(max-width:850px){
 .cds-header{padding:18px 18px 20px}
 .cds-header-inner{display:grid;grid-template-columns:1fr auto;gap:12px}
 .cds-brand{text-align:left}
 .cds-brand img{width:100%;max-width:620px}
 .cds-menu-toggle{display:flex;flex-direction:column;gap:5px;background:transparent;border:1px solid #fff;border-radius:5px;padding:10px;cursor:pointer}
 .cds-menu-toggle span{display:block;width:23px;height:2px;background:#fff}
 .cds-nav{display:none;grid-column:1/-1}
 .cds-nav.is-open{display:block}
 .cds-menu{display:block}
 .cds-menu>li{display:flex;flex-wrap:wrap;margin:5px 0}
 .cds-menu>li>a{width:100%;padding:12px 14px}
 .cds-submenu-toggle{margin-left:-35px;padding:10px}
 .cds-menu .sub-menu{position:static;width:100%;min-width:0;box-shadow:none;margin:0 0 4px}
 .cds-menu li:hover>.sub-menu,.cds-menu li:focus-within>.sub-menu{display:none}
 .cds-menu li.submenu-open>.sub-menu{display:block}
 .cds-footer-inner{grid-template-columns:1fr;gap:25px;text-align:center}
 .cds-footer-contacts,.cds-footer-center{grid-column:1}
 .cds-footer:before{background-size:300px auto;opacity:.3}
}

/* Larghezza piena con padding interno su tutti i dispositivi */
.cds-header{width:100%;box-sizing:border-box;padding-left:clamp(20px,4vw,72px);padding-right:clamp(20px,4vw,72px)}
.cds-footer{width:100%;box-sizing:border-box;padding-left:clamp(20px,4vw,72px);padding-right:clamp(20px,4vw,72px)}
.cds-menu .sub-menu a{font-family:Catamaran,Helvetica,Arial,Lucida,sans-serif;font-weight:600;font-size:16px}

/* Footer fedele ai tre terzi del layout Divi, senza rimuovere elementi */
.cds-footer{background-color:#002678;padding-top:42px;padding-bottom:42px}
.cds-footer-inner{grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;gap:clamp(20px,3vw,50px)}
.cds-footer-contacts{grid-column:1;display:flex;flex-direction:column;gap:12px;text-align:left}
.cds-footer-info{display:flex;align-items:center;gap:14px;min-height:34px;color:#fff;font-family:Catamaran,Helvetica,Arial,sans-serif;font-size:13px;line-height:1.4}
.cds-footer-info img{width:24px;height:24px;object-fit:contain;flex-shrink:0}
.cds-footer-info a,.cds-footer-info span{overflow-wrap:anywhere;color:#fff}
.cds-footer-social{display:flex;align-items:center;gap:9px;margin-top:7px}
.cds-footer-social a{display:flex;align-items:center;justify-content:center;width:26px;height:26px;border-radius:3px;color:#fff!important;font-weight:700;text-decoration:none!important}
.cds-social-facebook{background:#1877f2;font-family:Arial,sans-serif;font-size:19px}
.cds-social-instagram{background:linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5)}
.cds-footer-center{grid-column:2;text-align:center;display:flex;align-items:center;flex-direction:column;gap:15px}
.cds-footer-brand{display:block;width:100%}
.cds-footer-center .cds-footer-brand img{width:100%;max-width:420px;height:auto;display:block}
.cds-footer-privacy{font-family:Catamaran,Helvetica,Arial,sans-serif;font-size:20px;font-weight:700;color:#fff;margin:0}
.cds-footer-note{font-family:Catamaran,Helvetica,Arial,sans-serif;font-size:12px;line-height:1.55;color:#fff;max-width:420px;margin:0!important}
.cds-footer-decoration{grid-column:3;min-height:180px}
.cds-footer:before{background-size:min(35vw,520px) auto;opacity:1;background-position:right bottom}
@media(max-width:850px){
 .cds-footer-inner{grid-template-columns:1fr;gap:30px}
 .cds-footer-contacts,.cds-footer-center{grid-column:1}
 .cds-footer-contacts{max-width:450px;width:100%;margin:auto;text-align:left}
 .cds-footer-decoration{display:none}
 .cds-footer:before{background-size:300px auto;opacity:.35}
}

/* v1.3 — menu: frecce fisse in alto a destra, hover blu e sottomenu a pulsanti */
.cds-nav{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap}
.cds-menu>li.menu-item-has-children{position:relative}
.cds-menu>li.menu-item-has-children>a{padding-right:30px}
.cds-menu>li.menu-item-has-children>a:after{display:none!important;content:none!important}
.cds-menu>li>a:hover,.cds-menu>li>a:focus-visible,
.cds-menu>li.current-menu-item>a,.cds-menu>li.current-menu-ancestor>a,
.cds-menu>li:hover>a{background:#002678!important;color:#fff!important}
.cds-menu .cds-submenu-toggle{position:absolute;top:4px;right:5px;left:auto;margin:0!important;padding:0!important;width:16px;height:16px;display:flex;align-items:center;justify-content:center;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;color:#fff!important;transform:none!important;transition:none!important;z-index:5}
.cds-menu .cds-submenu-toggle:hover,.cds-menu .cds-submenu-toggle:focus,
.cds-menu .cds-submenu-toggle[aria-expanded=true]{background:transparent!important;color:#fff!important;box-shadow:none!important;transform:none!important}
.cds-menu .cds-submenu-toggle span{display:block;font-size:16px;line-height:1;transform:none!important;transition:none!important}
.cds-menu .cds-submenu-toggle:hover span,.cds-menu .cds-submenu-toggle[aria-expanded=true] span{transform:none!important}
.cds-menu .sub-menu{background:transparent!important;box-shadow:none!important;border:0!important;border-radius:0!important;padding:9px 0 0!important;min-width:225px;display:none;flex-direction:column;gap:6px}
.cds-menu .sub-menu li{position:relative;list-style:none;margin:0!important;padding:0!important}
.cds-menu .sub-menu a{display:block;padding:12px 14px!important;background:rgba(255,255,255,.2)!important;color:#fff!important;border:2px solid #fff!important;border-radius:5px!important;box-shadow:5px 5px 15px rgba(255,255,255,.9)!important;font-family:Catamaran,Helvetica,Arial,Lucida,sans-serif!important;font-size:18px!important;font-weight:600!important;line-height:1.4!important;text-decoration:none!important;white-space:normal}
.cds-menu .sub-menu a:hover,.cds-menu .sub-menu a:focus-visible,.cds-menu .sub-menu li:hover>a{background:#002678!important;color:#fff!important}
@media(min-width:851px){
 .cds-menu li:hover>.sub-menu,.cds-menu li:focus-within>.sub-menu,.cds-menu li.submenu-open>.sub-menu{display:flex}
}
.cds-header-social{display:flex;align-items:center;gap:14px}
.cds-header-social a{display:flex;align-items:center;justify-content:center;color:#fff!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;width:35px;height:35px;text-decoration:none!important}
.cds-header-social svg{display:block;width:33px;height:33px}
.cds-header-social a:hover,.cds-header-social a:focus-visible{color:#fff!important;opacity:.8}
@media(max-width:850px){
 .cds-nav{display:none;flex-direction:column;align-items:stretch;gap:14px}
 .cds-nav.is-open{display:flex}
 .cds-menu .sub-menu{position:static;min-width:0;width:100%;padding:8px 0 0 14px!important}
 .cds-menu li:hover>.sub-menu,.cds-menu li:focus-within>.sub-menu{display:none}
 .cds-menu li.submenu-open>.sub-menu{display:flex}
 .cds-menu .cds-submenu-toggle{top:9px;right:12px;width:24px;height:24px}
 .cds-header-social{justify-content:center;padding:8px 0}
}



/* Sottomenu sempre davanti al contenuto */

.site-header,
.main-navigation,
.inside-header,
.inside-navigation {
    position: relative;
    z-index: 9999;
    overflow: visible !important;
}

/* Il menu a discesa deve restare sopra la pagina */
.main-navigation .main-nav ul li {
    position: relative;
}

.main-navigation .main-nav ul ul {
    z-index: 10000 !important;
    overflow: visible !important;
}

/* Contenuto sotto al menu */
#page,
.site-content {
    position: relative;
    z-index: 1;
}

/* CDS homepage Gutenberg — aggiungere in fondo allo style.css dell’override */
body.home #page,body.home .site,body.home .site-content,body.home .content-area,body.home .site-main,body.home .inside-article{max-width:none!important;width:100%!important;margin:0!important;padding:0!important;background:transparent!important}
body.home .entry-header{display:none}
.cds-home{font-family:Catamaran,Helvetica,Arial,sans-serif;overflow:hidden}
.cds-home-main{background-image:linear-gradient(180deg,#002678 20%,rgba(41,145,224,.3) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');background-position:center top;background-size:cover;background-attachment:fixed;padding:95px 24px 110px;max-width:none!important}
.cds-home-main>*{max-width:1290px;margin-left:auto!important;margin-right:auto!important}
.cds-home-section-title{position:relative;text-align:center;isolation:isolate;padding:30px 0 60px;max-width:1290px!important}
.cds-home-section-title .cds-home-ghost{position:absolute;z-index:-1;left:0;right:0;top:-35px;margin:0!important;font-size:clamp(90px,17vw,215px);font-weight:800;line-height:1;white-space:nowrap;letter-spacing:-.04em;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(215,228,236,.12));background-clip:text;-webkit-background-clip:text;color:transparent;-webkit-text-fill-color:transparent;pointer-events:none}
.cds-home-section-title .cds-home-kicker{color:red!important;font-weight:700;font-size:20px;text-align:center;margin:0 0 4px!important}
.cds-home-section-title h2{font-family:'Space Grotesk',Arial,sans-serif;font-weight:700;font-size:clamp(30px,4vw,48px);color:#00007a!important;text-align:center;text-shadow:0 0 20px #fff;margin:0 0 15px!important}
.cds-home-rule{max-width:200px;margin:0 auto!important}.cds-home-rule img{max-height:20px;object-fit:contain}
.cds-home-service-grid{max-width:690px!important;gap:20px!important;margin-top:0!important;margin-bottom:20px!important;align-items:stretch!important}
.cds-home-service-grid>.wp-block-column{min-width:0;flex:1!important}
.cds-home-service{background:rgba(255,255,255,.82);border-radius:10px;padding:40px 35px 30px;box-shadow:0 20px 50px rgba(0,0,0,.1);display:flex;flex-direction:column;min-height:100%}
.cds-home-service .wp-block-image{margin:0 0 25px!important}.cds-home-service .wp-block-image img{height:60px;width:auto;object-fit:contain}
.cds-home-service h3{font-family:'Space Grotesk',Arial,sans-serif;color:#002678!important;font-size:25px;font-weight:700;line-height:1.2;margin:0 0 11px!important}
.cds-home-service p{font-size:17px;line-height:1.6;color:#000;margin:0 0 13px!important}
.cds-home-service .cds-home-card-link{margin-top:auto!important;margin-bottom:0!important}.cds-home-card-link a{color:#002678!important;font-size:18px;font-weight:700;text-decoration:none}
.cds-home-card-link a:hover{text-decoration:underline}
.cds-home-news-title{margin-top:150px!important}.cds-home-news{max-width:1290px!important;margin:0 auto!important}
.cds-home-news .wp-block-post-template{gap:25px}.cds-home-news-card{background:rgba(255,255,255,.9);border-radius:10px;box-shadow:0 15px 40px rgba(0,0,0,.2);overflow:hidden;padding:0 0 20px;height:100%}
.cds-home-news-card .wp-block-post-featured-image{margin:0 0 18px!important}.cds-home-news-card .wp-block-post-featured-image img{aspect-ratio:16/10;object-fit:cover;width:100%}
.cds-home-news-card .wp-block-post-title,.cds-home-news-card .wp-block-post-date,.cds-home-news-card .wp-block-post-excerpt{margin:0 20px 12px!important}
.cds-home-news-card .wp-block-post-title{font-family:'Space Grotesk',Arial,sans-serif;font-size:23px;text-align:center;font-weight:700}.cds-home-news-card .wp-block-post-title a{color:#002678;text-decoration:none}
.cds-home-news-card .wp-block-post-date{text-align:center;color:#002678;font-weight:700;font-size:16px}
.cds-home-news-card .wp-block-post-excerpt{color:#000;font-size:16px;line-height:1.6;text-align:justify}
.cds-home-news-card .wp-block-post-excerpt__more-link{display:block;text-align:right;color:#2991e0;font-size:17px;font-weight:600}
.cds-home-news .wp-block-query-pagination{margin-top:35px;color:#fff}.cds-home-news .wp-block-query-pagination a{color:#fff}
.cds-home-contact{max-width:none!important;background:linear-gradient(105deg,rgba(0,38,120,.88),rgba(41,145,224,.45)),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_2409930473.jpg') center/cover no-repeat;padding:100px max(24px,calc((100vw - 1290px)/2));color:#fff}
.cds-home-contact .wp-block-columns{max-width:1290px;margin:auto!important}.cds-home-contact h2,.cds-home-contact h3,.cds-home-contact p{color:#fff!important}.cds-home-contact h3{font-size:20px;font-weight:700}.cds-home-contact h2{font-family:'Space Grotesk',Arial,sans-serif;font-size:clamp(30px,4vw,48px);font-weight:700;line-height:1.1}.cds-home-contact p{font-size:18px;line-height:1.6}
.cds-home-contact-button .wp-block-button__link{background:#002678;color:#fff;border-radius:50px;padding:12px 40px;font-family:'Space Grotesk',Arial,sans-serif;font-size:18px;font-weight:700;border:2px solid #002678}.cds-home-contact-button .wp-block-button__link:hover{background:#fff;color:#002678}
@media(max-width:781px){.cds-home-main{padding:75px 20px;background-attachment:scroll}.cds-home-service-grid{max-width:420px!important;gap:20px!important}.cds-home-service-grid>.wp-block-column{flex-basis:100%!important}.cds-home-news .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))}.cds-home-news-title{margin-top:90px!important}.cds-home-contact{padding:70px 24px}.cds-home-section-title .cds-home-ghost{top:-5px}}
@media(max-width:540px){.cds-home-news .wp-block-post-template{grid-template-columns:1fr}.cds-home-section-title{padding:25px 0 45px}.cds-home-section-title .cds-home-ghost{font-size:25vw}.cds-home-contact .wp-block-columns{display:block}}

/* v1.1 â€” correzioni homepage */
body.home #content, body.home #primary, body.home #main, body.home .inside-article, body.home .entry-content, body.home .cds-home {width:100%!important;max-width:none!important;margin:0!important;padding:0!important;}
body.home .entry-content > .cds-home {margin-block-start:0!important;}
body.home .cds-home-main {width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box;background-position:center top!important;background-size:cover!important;padding-top:0!important;}
body.home .cds-home-services-title {padding-top:95px;}
body.home .cds-home-service-grid {width:min(90%,690px)!important;max-width:690px!important;margin-left:auto!important;margin-right:auto!important;justify-content:center!important;}
body.home .cds-home-news-card .wp-block-post-featured-image, body.home .cds-home-news-card .wp-block-post-featured-image a {display:block;width:100%!important;max-width:none!important;}
body.home .cds-home-news-card .wp-block-post-featured-image img {display:block;width:100%!important;max-width:none!important;height:auto;aspect-ratio:16/10;object-fit:cover;}
body.home .cds-home-news-card .wp-block-post-title, body.home .cds-home-news-card .wp-block-post-title a {font-family:'Space Grotesk',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700!important;color:#002678!important;text-decoration:none!important;}
body.home .cds-home-news-card .wp-block-post-excerpt__more-link, body.home .cds-home-news-card .wp-block-post-excerpt__more-link:hover {text-decoration:none!important;}
body.home .cds-home-news .wp-block-query-pagination {display:flex;justify-content:center;gap:30px;align-items:center;}
body.home .cds-home-news .wp-block-query-pagination-numbers {display:none!important;}
body.home .cds-home-news .wp-block-query-pagination a {font-size:32px;font-weight:700;text-decoration:none!important;line-height:1;}
body.home .cds-home-contact {width:100%!important;max-width:none!important;margin:0!important;box-sizing:border-box;background-size:cover!important;background-position:center center!important;}
body.home .cds-home-contact h2 {font-family:'Space Grotesk',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700!important;font-size:48px;color:#fff!important;line-height:1.1em;text-align:left;text-shadow:.08em .08em .08em rgba(0,0,0,.4);}
body.home .cds-home-contact-button .wp-block-button__link {color:#fff!important;border-radius:50px;letter-spacing:0;font-size:18px;font-family:'Space Grotesk',Helvetica,Arial,Lucida,sans-serif!important;font-weight:700!important;background-color:#002678!important;text-decoration:none!important;}
body.home .cds-home-contact-button .wp-block-button__link:hover {color:#002678!important;background-color:#fff!important;}
@media(max-width:781px){body.home .cds-home-main{background-attachment:scroll!important;}body.home .cds-home-services-title{padding-top:70px;}body.home .cds-home-service-grid{width:min(100%,420px)!important;}body.home .cds-home-contact h2{font-size:clamp(30px,6vw,48px);text-align:center;}}

/* v1.2 — correzione layout Gutenberg: niente offset e niente 100vw */
body.home { overflow-x: clip; }
body.home #page,
body.home #content,
body.home #primary,
body.home #main,
body.home .inside-article,
body.home .entry-content,
body.home .cds-home,
body.home .cds-home > .wp-block-group__inner-container,
body.home .cds-home-main,
body.home .cds-home-main > .wp-block-group__inner-container {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.home #page { overflow: visible; }
body.home .site-content,
body.home .site-main,
body.home .inside-article,
body.home .entry-content,
body.home .cds-home,
body.home .cds-home > .wp-block-group__inner-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Nessun distacco fra header e immagine; preserva il padding laterale dei contenuti */
body.home .cds-header { padding-bottom: 0; }
body.home .cds-home-main {
    padding: 0 24px 110px !important;
    background-position: center top !important;
    background-size: cover !important;
    background-attachment: fixed;
}
body.home .cds-home-main > .wp-block-group__inner-container {
    display: flow-root;
}
body.home .cds-home-main > .wp-block-group__inner-container > * {
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
}
body.home .cds-home-services-title { padding-top: 95px; }
body.home .cds-home-service-grid {
    width: min(100%, 690px) !important;
    max-width: 690px !important;
    margin-inline: auto !important;
}
body.home .cds-home-contact {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
}
@media (max-width: 781px) {
    body.home .cds-home-main {
        padding: 0 20px 75px !important;
        background-attachment: scroll !important;
    }
    body.home .cds-home-services-title { padding-top: 70px; }
    body.home .cds-home-service-grid { max-width: 420px !important; }
}


/* v1.4 — sfondo unico dietro header e Servizi */
body.home {
    background-color: #002678 !important;
    background-image:
        linear-gradient(180deg, rgba(0,38,120,.98) 0%, rgba(0,38,120,.94) 19%, rgba(0,38,120,.66) 42%, rgba(41,145,224,.30) 100%),
        url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
/* La foto appartiene al body, non ricomincia sotto il menu. */
body.home .cds-header,
body.home .site-header,
body.home .main-navigation,
body.home #page,
body.home #content,
body.home #primary,
body.home #main,
body.home .site-content,
body.home .inside-article,
body.home .entry-content,
body.home .cds-home,
body.home .cds-home-main {
    background-color: transparent !important;
    background-image: none !important;
}
/* Evita la striscia bianca introdotta da GeneratePress. */
body.home .separate-containers .inside-article { background: transparent !important; }

/* Contatti: UNA SOLA immagine. Il cerchio e la sfumatura sono
   un unico overlay radiale, non una seconda copia della foto. */
body.home .cds-home-contact {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-image: url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_2409930473.jpg') !important;
    background-position: center bottom !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}
body.home .cds-home-contact::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    /* A destra il cerchio trasparente lascia visibile la foto originale. */
    background: radial-gradient(circle 460px at 83% 52%,
        transparent 0 97%,
        rgba(0,38,120,.60) 100%);
}
body.home .cds-home-contact::after { content: none !important; display: none !important; }
body.home .cds-home-contact > .wp-block-group__inner-container,
body.home .cds-home-contact > .wp-block-columns {
    position: relative;
    z-index: 1;
}
body.home .cds-home-contact-button .wp-block-button__link {
    border: 2px solid #fff !important;
}
@media (max-width: 781px) {
    body.home { background-attachment: scroll !important; }
    body.home .cds-home-contact::before {
        background: linear-gradient(90deg, rgba(0,38,120,.78), rgba(0,38,120,.22));
    }
}



/* Homepage: elimina padding inferiore */
body.home .site-content,
body.home .site-main,
body.home .inside-article,
body.home .entry-content,
body.home .cds-home,
body.home .cds-home > .wp-block-group__inner-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Footer: padding sinistro contatti */
.cds-footer-contacts {
    grid-column: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    padding-left: 8%;
}



/* Homepage - correzioni mobile */
@media (max-width: 767px) {

    /* Nasconde soltanto lo spacer iniziale da 150px */
    body.home .cds-home
    > .wp-block-group__inner-container
    > .wp-block-spacer:first-child {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Ripristina lo sfondo fotografico su mobile */
    body.home {
        background-image:
            linear-gradient(
                180deg,
                rgba(0, 38, 120, 0.95) 0%,
                rgba(0, 38, 120, 0.55) 45%,
                rgba(41, 145, 224, 0.30) 100%
            ),
            url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;

        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-attachment: scroll !important;
    }

    /* Mantiene trasparente la sezione Servizi */
    body.home .cds-home-main {
        background: transparent !important;
    }
}

/* v1.5 — contenitori GeneratePress full width per TUTTE le pagine */
body.page { overflow-x: clip; }
body.page #page, body.page #content, body.page #primary,
body.page #main, body.page .site-content, body.page .site-main,
body.page .inside-article, body.page .entry-content {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}
body.page .inside-article, body.page .entry-content { padding-top: 0 !important; padding-bottom: 0 !important; }
/* La pagina News usa le classi esatte della home */
body.page:has(.cds-news-page) {
    background-color: #002678 !important;
    background-image: linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}
body.page:has(.cds-news-page) .cds-header,
body.page:has(.cds-news-page) #page,
body.page:has(.cds-news-page) #content,
body.page:has(.cds-news-page) #primary,
body.page:has(.cds-news-page) #main,
body.page:has(.cds-news-page) .site-content,
body.page:has(.cds-news-page) .inside-article,
body.page:has(.cds-news-page) .entry-content,
body.page:has(.cds-news-page) .cds-news-page {
    background: transparent !important;
}
body.page:has(.cds-news-page) .entry-header { display:none !important; }
.cds-news-page {
    box-sizing:border-box;
    width:100% !important;
    max-width:none !important;
    padding:0 24px 95px;
    margin:0 !important;
    font-family:Catamaran,Helvetica,Arial,sans-serif;
}
.cds-news-page > .wp-block-group__inner-container {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
}
.cds-news-page .cds-home-section-title,
.cds-news-page .cds-home-news {
    max-width:1290px !important;
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
/* Stessi titoli, card, immagini e frecce della homepage */
.cds-news-page .cds-home-news-title { margin-top:0 !important; }
.cds-news-page .cds-home-news .wp-block-post-template { gap:25px; }
.cds-news-page .cds-home-news-card .wp-block-post-featured-image,
.cds-news-page .cds-home-news-card .wp-block-post-featured-image a { display:block;width:100% !important;max-width:none !important; }
.cds-news-page .cds-home-news-card .wp-block-post-featured-image img { display:block;width:100% !important;height:auto;aspect-ratio:16/10;object-fit:cover; }
.cds-news-page .cds-home-news-card .wp-block-post-title,
.cds-news-page .cds-home-news-card .wp-block-post-title a { font-family:'Space Grotesk',Helvetica,Arial,sans-serif !important;font-weight:700 !important;color:#002678 !important;text-decoration:none !important; }
.cds-news-page .cds-home-news-card .wp-block-post-excerpt__more-link { text-decoration:none !important; }
.cds-news-page .cds-home-news .wp-block-query-pagination { display:flex;justify-content:center;gap:30px;align-items:center; }
.cds-news-page .cds-home-news .wp-block-query-pagination-numbers { display:none !important; }
.cds-news-page .cds-home-news .wp-block-query-pagination a { font-size:32px;font-weight:700;text-decoration:none !important;line-height:1; }
.cds-news-spacer { height:150px !important; }
@media(max-width:781px) {
    .cds-news-page { padding:0 20px 65px; }
    .cds-news-page .cds-home-news .wp-block-post-template { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .cds-news-page .cds-home-news-title { margin-top:0 !important; }
    body.page:has(.cds-news-page) { background-attachment:scroll !important; }
}
@media(max-width:767px) {
    .cds-news-spacer { display:none !important;height:0 !important;margin:0 !important;padding:0 !important; }
    .cds-news-page .cds-home-news-title { padding-top:70px; }
}
@media(max-width:540px) {
    .cds-news-page .cds-home-news .wp-block-post-template { grid-template-columns:1fr; }
}


/* v1.6 — FAQ: stessa struttura, larghezza e sfondo di Home/News */
body.page:has(.cds-faq) {
    background-color: #002678 !important;
    background-image: linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position:center top !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
}
body.page:has(.cds-faq) .cds-header,
body.page:has(.cds-faq) .site-header,
body.page:has(.cds-faq) .main-navigation,
body.page:has(.cds-faq) #page,
body.page:has(.cds-faq) #content,
body.page:has(.cds-faq) #primary,
body.page:has(.cds-faq) #main,
body.page:has(.cds-faq) .site-content,
body.page:has(.cds-faq) .site-main,
body.page:has(.cds-faq) .inside-article,
body.page:has(.cds-faq) .entry-content,
body.page:has(.cds-faq) .cds-faq {
    background-color:transparent !important;
    background-image:none !important;
}
body.page:has(.cds-faq) .entry-header {display:none !important;}
.cds-faq, .entry-content > .cds-faq {
    box-sizing:border-box;
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 24px 95px !important;
    font-family:Catamaran,Helvetica,Arial,sans-serif;
}
.cds-faq > .wp-block-group__inner-container {width:100% !important;max-width:none !important;margin:0 !important;}
.cds-faq .cds-faq-title,
.cds-faq .cds-faq-list {width:100% !important;max-width:1290px !important;margin-left:auto !important;margin-right:auto !important;}
.cds-faq .cds-faq-title {
    margin-top:0 !important;margin-bottom:50px !important;
    text-align:center;color:#fff !important;
    font-family:'Space Grotesk',Helvetica,Arial,sans-serif;
    font-size:clamp(30px,4vw,48px);font-weight:700;line-height:1.3;
    text-shadow:0 2px 12px rgba(0,25,75,.35);
}
.cds-faq .cds-faq-item {margin:0 0 18px;border:0;border-radius:12px;overflow:hidden;background:rgba(255,255,255,.95);box-shadow:0 8px 30px rgba(0,20,65,.18);}
.cds-faq .cds-faq-item summary {position:relative;display:block;cursor:pointer;list-style:none;padding:21px 65px 21px 25px;font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:700;line-height:1.4;color:#002678;}
.cds-faq .cds-faq-item summary::-webkit-details-marker {display:none;}
.cds-faq .cds-faq-item summary::after {content:'+';position:absolute;right:24px;top:50%;transform:translateY(-50%);font:400 30px/1 Arial,sans-serif;color:#002678;}
.cds-faq .cds-faq-item[open] summary::after {content:'−';}
.cds-faq .cds-faq-answer {padding:0 25px 20px;font-family:Catamaran,sans-serif;font-size:17px;font-weight:600;line-height:1.7;color:#666c99;}
.cds-faq .cds-faq-answer p {margin:0 0 12px;}
.cds-faq .cds-faq-answer a {color:#002678;text-decoration:underline;}
.cds-faq .cds-faq-answer img {display:block;width:60px;height:60px;object-fit:contain;margin-left:auto;}
.cds-faq-spacer {height:150px !important;}
@media(max-width:781px) {
    .cds-faq {padding:0 20px 65px !important;}
    body.page:has(.cds-faq) {background-attachment:scroll !important;}
}
@media(max-width:767px) {
    .cds-faq-spacer {display:none !important;height:0 !important;margin:0 !important;padding:0 !important;}
    .cds-faq .cds-faq-title {padding-top:70px;margin-bottom:30px !important;}
    .cds-faq .cds-faq-item summary {font-size:18px;padding:16px 50px 16px 16px;}
    .cds-faq .cds-faq-item summary::after {right:15px;}
    .cds-faq .cds-faq-answer {padding:0 16px 15px;}
}

/* v1.7 — tipografia e accordion FAQ come Divi originale */
.cds-faq .cds-faq-title {
    font-family:'Space Grotesk',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight:700 !important;
    font-size:45px !important;
    color:#00007a !important;
    line-height:1.4em !important;
    text-align:center !important;
    text-shadow:0 0 .3em #fff !important;
}
.cds-faq .cds-faq-item {
    border-radius:10px !important;
    overflow:hidden !important;
    border:5px solid transparent !important;
    background:rgba(255,255,255,.9) !important;
    box-shadow:0 2px 18px rgba(0,0,0,.6) !important;
}
.cds-faq .cds-faq-item[open] {background:#fff !important;}
@media (min-width:981px) {
    .cds-faq .cds-faq-item {margin-bottom:2.75% !important;}
}
@media (max-width:767px) {
    .cds-faq .cds-faq-title {font-size:28px !important;}
}


/* v1.8 — Convenzioni: layout condiviso con Home, News e FAQ */
body.page:has(.cds-convenzioni) {
    background-color:#002678 !important;
    background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position:center top !important;
    background-size:cover !important;
    background-repeat:no-repeat !important;
    background-attachment:fixed !important;
}
body.page:has(.cds-convenzioni) .cds-header,
body.page:has(.cds-convenzioni) .site-header,
body.page:has(.cds-convenzioni) .main-navigation,
body.page:has(.cds-convenzioni) #page,
body.page:has(.cds-convenzioni) #content,
body.page:has(.cds-convenzioni) #primary,
body.page:has(.cds-convenzioni) #main,
body.page:has(.cds-convenzioni) .site-content,
body.page:has(.cds-convenzioni) .site-main,
body.page:has(.cds-convenzioni) .inside-article,
body.page:has(.cds-convenzioni) .entry-content,
body.page:has(.cds-convenzioni) .cds-convenzioni {
    background-color:transparent !important;
    background-image:none !important;
}
body.page:has(.cds-convenzioni) .entry-header {display:none !important;}
body.page:has(.cds-convenzioni) #page,
body.page:has(.cds-convenzioni) #content,
body.page:has(.cds-convenzioni) #primary,
body.page:has(.cds-convenzioni) #main,
body.page:has(.cds-convenzioni) .inside-article,
body.page:has(.cds-convenzioni) .entry-content {width:100% !important;max-width:none !important;margin-left:0 !important;margin-right:0 !important;padding-left:0 !important;padding-right:0 !important;}
.cds-convenzioni,.entry-content > .cds-convenzioni {
    box-sizing:border-box;width:100% !important;max-width:none !important;
    margin:0 !important;padding:0 24px 100px !important;
    font-family:Catamaran,Helvetica,Arial,sans-serif;
}
.cds-convenzioni > .wp-block-group__inner-container {max-width:none !important;width:100% !important;}
.cds-convenzioni .cds-convenzioni-title,
.cds-convenzioni .cds-convenzioni-intro,
.cds-convenzioni .cds-convenzioni-grid {width:100% !important;max-width:1290px !important;margin-left:auto !important;margin-right:auto !important;}
.cds-convenzioni .cds-convenzioni-title {
    font-family:'Space Grotesk',Helvetica,Arial,Lucida,sans-serif !important;
    font-weight:700 !important;font-size:45px !important;color:#00007a !important;
    line-height:1.4em !important;text-align:center !important;
    text-shadow:0 0 .3em #fff !important;margin-top:0 !important;margin-bottom:22px !important;
}
.cds-convenzioni .cds-convenzioni-intro {
    font-family:Catamaran,Helvetica,Arial,sans-serif;color:#fff !important;
    font-size:17px;font-weight:700;line-height:1.4;
    text-shadow:0 1px 6px #000;text-align:center;margin-bottom:46px !important;
}
.cds-convenzioni .cds-convenzioni-grid {
    display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr));
    gap:42px 28px;margin-bottom:85px !important;align-items:stretch;
}
.cds-convenzioni .cds-convenzioni-card {
    box-sizing:border-box;display:flex;flex-direction:column;align-items:center;
    justify-content:space-between;gap:22px;min-width:0;min-height:265px;
    padding:40px;background:rgba(255,255,255,.8);border-radius:10px;
    box-shadow:0 5px 83px rgba(13,14,67,.12);
    text-decoration:none !important;transition:transform .2s ease,box-shadow .2s ease;
}
.cds-convenzioni a.cds-convenzioni-card:hover {transform:translateY(-20px);box-shadow:0 12px 45px rgba(13,14,67,.23);}
.cds-convenzioni .cds-convenzioni-logo {display:flex;align-items:center;justify-content:center;flex:1;width:100%;min-height:110px;}
.cds-convenzioni .cds-convenzioni-logo img {display:block;max-width:100%;width:auto;max-height:160px;height:auto;object-fit:contain;border-radius:10px;}
.cds-convenzioni .cds-convenzioni-name {
    display:block;width:100%;font-family:Catamaran,Helvetica,Arial,sans-serif;
    font-size:19px;font-weight:800;line-height:1.35;text-align:center;color:#002678 !important;
}
.cds-convenzioni .cds-convenzioni-spacer {height:150px !important;}
@media(max-width:1024px) {
    .cds-convenzioni .cds-convenzioni-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;}
}
@media(max-width:781px) {
    body.page:has(.cds-convenzioni) {background-attachment:scroll !important;}
    .cds-convenzioni {padding:0 20px 65px !important;}
}
@media(max-width:767px) {
    .cds-convenzioni .cds-convenzioni-spacer {display:none !important;height:0 !important;margin:0 !important;padding:0 !important;}
    .cds-convenzioni .cds-convenzioni-title {font-size:28px !important;padding-top:70px;margin-bottom:18px !important;}
    .cds-convenzioni .cds-convenzioni-intro {margin-bottom:30px !important;}
    .cds-convenzioni .cds-convenzioni-grid {grid-template-columns:minmax(0,1fr);gap:22px;margin-bottom:60px !important;}
    .cds-convenzioni .cds-convenzioni-card {padding:30px;min-height:220px;}
}


/* v1.9 — Convenzioni: tre colonne reali su desktop e tablet */
@media (min-width: 768px) {
  body.page .cds-convenzioni .cds-convenzioni-grid,
  body.page .cds-convenzioni .wp-block-group.cds-convenzioni-grid {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:42px 28px !important;
    align-items:stretch !important;
  }
  body.page .cds-convenzioni .cds-convenzioni-grid > * {
    width:100% !important;
    min-width:0 !important;
    max-width:none !important;
    margin:0 !important;
  }
}
@media (max-width: 767px) {
  body.page .cds-convenzioni .cds-convenzioni-grid {
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:22px !important;
  }
}

/* v1.9 — unico sfondo fotografico su mobile, fisso rispetto allo schermo.
   Evita background-size:cover calcolato sull'intera altezza della pagina,
   che ritagliava completamente la foto sulle pagine lunghe. */
@media (max-width: 767px) {
  body.home,
  body.page:has(.cds-news-page),
  body.page:has(.cds-faq),
  body.page:has(.cds-convenzioni) {
    background-color:#002678 !important;
    background-image:none !important;
  }
  body.home::before,
  body.page:has(.cds-news-page)::before,
  body.page:has(.cds-faq)::before,
  body.page:has(.cds-convenzioni)::before {
    content:'';
    display:block;
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    background-image:
      linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),
      url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
    background-position:center center;
    background-size:cover;
    background-repeat:no-repeat;
  }
  body.home #page,
  body.page:has(.cds-news-page) #page,
  body.page:has(.cds-faq) #page,
  body.page:has(.cds-convenzioni) #page {
    position:relative;
    z-index:1;
    background:transparent !important;
  }
  body.home .site-header,
  body.page:has(.cds-news-page) .site-header,
  body.page:has(.cds-faq) .site-header,
  body.page:has(.cds-convenzioni) .site-header,
  body.home .site-content,
  body.page:has(.cds-news-page) .site-content,
  body.page:has(.cds-faq) .site-content,
  body.page:has(.cds-convenzioni) .site-content {
    background-color:transparent !important;
  }
}

/* v2.0 - Gutenberg classico: griglia sul vero contenitore delle schede */
body.page .cds-convenzioni .cds-convenzioni-grid > .wp-block-group__inner-container {
 display:grid !important;grid-template-columns:repeat(3,minmax(0,1fr)) !important;gap:42px 28px !important;align-items:stretch !important;
 width:100% !important;max-width:none !important;padding:0 !important;margin:0 !important;
}
body.page .cds-convenzioni .cds-convenzioni-grid > .wp-block-group__inner-container > .cds-convenzioni-card {
 width:100% !important;min-width:0 !important;max-width:none !important;margin:0 !important;box-sizing:border-box !important;
}
@media(max-width:767px){
 body.page .cds-convenzioni .cds-convenzioni-grid > .wp-block-group__inner-container {grid-template-columns:minmax(0,1fr) !important;gap:22px !important;}
}

/* v2.1 — correzione larghezza: il wrapper esterno NON deve essere grid.
   La griglia a tre colonne e' solo sul contenitore interno Gutenberg. */
body.page .cds-convenzioni .wp-block-group.cds-convenzioni-grid {
    display:block !important;
    width:100% !important;
    max-width:1290px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
}
body.page .cds-convenzioni .wp-block-group.cds-convenzioni-grid > .wp-block-group__inner-container {
    display:grid !important;
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    gap:42px 28px !important;
    width:100% !important;
    max-width:none !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
}
@media (max-width:767px) {
    body.page .cds-convenzioni .wp-block-group.cds-convenzioni-grid > .wp-block-group__inner-container {
        grid-template-columns:minmax(0,1fr) !important;
        gap:22px !important;
    }
}




/* CENTRO DIAGNOSTICO SENESE - CONTATTI */

.cds-contatti {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  padding: 200px 0 50px;
  background-image:
    linear-gradient(
      110deg,
      rgba(0,34,108,.90) 20%,
      rgba(41,145,224,.30) 100%
    ),
    url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-2.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  font-family: 'Catamaran', sans-serif;
}

.cds-contatti *,
.cds-contatti *::before,
.cds-contatti *::after {
  box-sizing: border-box;
}

.cds-contatti__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4%;
  width: 90%;
  max-width: 1280px;
  margin: -70px auto 0;
  align-items: start;
}

/* COLONNA INFORMAZIONI */

.cds-contatti__info {
  padding: 40px 50px;
  background: rgba(255,255,255,.80);
  border-radius: 10px;
  box-shadow: 0 5px 83px rgba(13,14,67,.08);
}

.cds-contatti h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 41px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 30px;
}

.cds-contatti__info h2 {
  color: #00007a;
  text-shadow: 1px 2px 3px rgba(0,0,0,.2);
}

.cds-contatti__detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 35px;
  color: #00277a;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
}

.cds-contatti__detail:last-child {
  margin-bottom: 0;
}

.cds-contatti__detail p {
  margin: 0 0 15px;
}

.cds-contatti__detail p:last-child {
  margin-bottom: 0;
}

.cds-contatti__detail a {
  color: #00277a;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.cds-contatti__detail a:hover {
  color: #2991e0;
}

.cds-contatti__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 29px;
  width: 29px;
  height: 29px;
  border-radius: 50%;
  background: #00277a;
  color: white;
  font-size: 15px;
}

/* COLONNA MODULO */

.cds-contatti__form {
  padding: 0 10px;
  color: white;
}

.cds-contatti__form h2 {
  color: #fff;
  margin-bottom: 10px;
  text-shadow: 1px 2px 3px rgba(0,0,0,.2);
}

.cds-contatti__privacy {
  margin: 0 0 20px;
  font-size: 16px;
  font-weight: 700;
}

.cds-contatti__privacy a {
  color: #2991e0;
  text-decoration: underline;
}

/* MODULO DEL PLUGIN */

.cds-contatti__form form {
  width: 100%;
}

.cds-contatti__form form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
.cds-contatti__form form textarea,
.cds-contatti__form form select {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 65px;
  padding: 20px 24px;
  margin-bottom: 20px;
  border: 0;
  border-radius: 6px;
  background: rgba(255,255,255,.80);
  color: #00277a;
  font-family: 'Catamaran', sans-serif;
  font-size: 15px;
  font-weight: 700;
  box-shadow: none;
}

.cds-contatti__form form textarea {
  min-height: 160px;
  resize: vertical;
}

.cds-contatti__form form input:focus,
.cds-contatti__form form textarea:focus {
  background: #fff;
  outline: 2px solid #2991e0;
}

.cds-contatti__form form input::placeholder,
.cds-contatti__form form textarea::placeholder {
  color: #00277a;
  opacity: 1;
}

.cds-contatti__form form label {
  font-family: 'Catamaran', sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.cds-contatti__form form input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
  accent-color: #00277a;
}

.cds-contatti__form form button[type="submit"],
.cds-contatti__form form input[type="submit"] {
  display: block;
  width: 100%;
  min-height: 70px;
  padding: 20px 27px;
  border: 2px solid #00277a;
  border-radius: 6px;
  background: #00277a;
  color: #fff;
  font-family: 'Catamaran', sans-serif;
  font-size: 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s;
}

.cds-contatti__form form button[type="submit"]:hover,
.cds-contatti__form form input[type="submit"]:hover {
  background: #fff;
  color: #00277a;
}

/* TABLET E MOBILE */

@media (max-width: 980px) {
  .cds-contatti {
    padding: 100px 0;
    background-position: center center;
  }

  .cds-contatti__container {
    grid-template-columns: 1fr;
    gap: 90px;
    margin-top: 0;
  }

  .cds-contatti__info {
    padding: 35px 30px;
  }

  .cds-contatti__form {
    padding: 0;
  }
}

@media (max-width: 767px) {
  .cds-contatti {
    padding: 100px 0;
    background-position: center center;
  }

  .cds-contatti__container {
    width: 90%;
  }

  .cds-contatti h2 {
    font-size: 28px;
    line-height: 1.4;
  }

  .cds-contatti__info {
    padding: 30px 22px;
  }

  .cds-contatti__detail {
    gap: 10px;
    font-size: 16px;
    margin-bottom: 25px;
  }

  .cds-contatti__form form input:not([type="checkbox"]):not([type="hidden"]):not([type="submit"]),
  .cds-contatti__form form textarea {
    padding: 18px;
  }
}



/* v2.2 — CONTATTI: stesso sfondo e struttura delle FAQ */

/* Sfondo unico, compreso l'header */
body.page:has(.cds-contatti-page) {
    background-color: #002678 !important;
    background-image:
        linear-gradient(
            180deg,
            rgba(0,38,120,.98) 0%,
            rgba(0,38,120,.94) 19%,
            rgba(0,38,120,.66) 42%,
            rgba(41,145,224,.30) 100%
        ),
        url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Contenitori trasparenti */
body.page:has(.cds-contatti-page) .cds-header,
body.page:has(.cds-contatti-page) .site-header,
body.page:has(.cds-contatti-page) .main-navigation,
body.page:has(.cds-contatti-page) #page,
body.page:has(.cds-contatti-page) #content,
body.page:has(.cds-contatti-page) #primary,
body.page:has(.cds-contatti-page) #main,
body.page:has(.cds-contatti-page) .site-content,
body.page:has(.cds-contatti-page) .site-main,
body.page:has(.cds-contatti-page) .inside-article,
body.page:has(.cds-contatti-page) .entry-content,
body.page:has(.cds-contatti-page) .cds-contatti-page,
body.page:has(.cds-contatti-page) .cds-contatti {
    background-color: transparent !important;
    background-image: none !important;
}

body.page:has(.cds-contatti-page) .entry-header {
    display: none !important;
}

/* Stesse dimensioni esterne delle FAQ */
.cds-contatti-page,
.entry-content > .cds-contatti-page {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 24px 95px !important;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
}

/* Elimina il vecchio spazio interno e il margine aggiuntivo */
.cds-contatti-page .cds-contatti {
    padding: 0 !important;
    margin: 0 !important;
    width: 100%;
}

.cds-contatti-page .cds-contatti__container {
    margin: 0 auto !important;
    width: 90%;
    max-width: 1280px;
}

/* Spacer da 150px come FAQ */
.cds-contatti-spacer {
    height: 150px !important;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 781px) {
    body.page:has(.cds-contatti-page) {
        background-attachment: scroll !important;
    }

    .cds-contatti-page {
        padding: 0 20px 65px !important;
    }
}

/* Mobile: stessa gestione fotografica delle FAQ */
@media (max-width: 767px) {
    body.page:has(.cds-contatti-page) {
        background-image: none !important;
    }

    body.page:has(.cds-contatti-page)::before {
        content: '';
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-image:
            linear-gradient(
                180deg,
                rgba(0,38,120,.95) 0%,
                rgba(0,38,120,.78) 38%,
                rgba(41,145,224,.30) 100%
            ),
            url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    body.page:has(.cds-contatti-page) #page {
        position: relative;
        z-index: 1;
        background: transparent !important;
    }

    .cds-contatti-spacer {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cds-contatti-page .cds-contatti {
        padding-top: 70px !important;
    }
}


/* Contatti - rimuove limite larghezza dei gruppi Gutenberg */
.cds-contatti-page .wp-block-group__inner-container {
    max-width: none !important;
    width: 100% !important;
}




/* ===================================================
   CDS — ORARI E SEDI
   Stesso layout di FAQ / CONTATTI
   =================================================== */

/* Sfondo unico anche dietro header */
body.page:has(.cds-orari-page) {
    background-color: #002678 !important;
    background-image:
        linear-gradient(
            180deg,
            rgba(0,38,120,.98) 0%,
            rgba(0,38,120,.94) 19%,
            rgba(0,38,120,.66) 42%,
            rgba(41,145,224,.30) 100%
        ),
        url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Trasparenza contenitori GeneratePress */
body.page:has(.cds-orari-page) .cds-header,
body.page:has(.cds-orari-page) .site-header,
body.page:has(.cds-orari-page) .main-navigation,
body.page:has(.cds-orari-page) #page,
body.page:has(.cds-orari-page) #content,
body.page:has(.cds-orari-page) #primary,
body.page:has(.cds-orari-page) #main,
body.page:has(.cds-orari-page) .site-content,
body.page:has(.cds-orari-page) .site-main,
body.page:has(.cds-orari-page) .inside-article,
body.page:has(.cds-orari-page) .entry-content,
body.page:has(.cds-orari-page) .cds-orari-page {
    background-color: transparent !important;
    background-image: none !important;
}

body.page:has(.cds-orari-page) .entry-header {
    display: none !important;
}

/* Larghezza piena come Contatti */
.cds-orari-page,
.entry-content > .cds-orari-page {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 24px 100px !important;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
}

.cds-orari-page .wp-block-group__inner-container {
    max-width: none !important;
    width: 100% !important;
}

/* Spacer iniziale */
.cds-orari-spacer {
    height: 150px !important;
    margin: 0 !important;
}

/* Titoli principali */
.cds-orari-page .cds-orari-title {
    font-family: 'Space Grotesk', Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    font-size: 45px !important;
    line-height: 1.4 !important;
    text-align: center !important;
    color: #00007a !important;
    text-shadow: 0 0 .3em #fff !important;
    margin: 0 auto 50px !important;
}

/* Due colonne */
.cds-orari-page .cds-orari-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr));
    align-items: stretch !important;
    gap: 4% !important;
    width: 90% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
}

.cds-orari-grid > .wp-block-column {
    min-width: 0;
    width: 100%;
    margin: 0 !important;
    display: flex;
}

/* Schede */
.cds-orari-page .cds-orari-card {
    position: relative;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 40px 40px 120px;
    background: rgba(255,255,255,.80);
    border-radius: 10px;
    box-shadow: 0 5px 83px rgba(13,14,67,.12);
    transition: transform .25s ease;
}

@media (hover:hover) {
    .cds-orari-card:hover {
        transform: translateY(-20px);
    }
}

/* Titoli sedi */
.cds-orari-page .cds-orari-card-title {
    font-family: 'Space Grotesk', Helvetica, Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    color: #002678 !important;
    text-align: center !important;
    text-shadow: 1px 2px 3px rgba(0,0,0,.2);
    margin: 0 0 50px !important;
}

/* Sottotitoli */
.cds-orari-page .cds-orari-subtitle {
    font-family: 'Space Grotesk', Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #00277a !important;
    text-align: left !important;
    margin: 0 0 15px !important;
}

/* Servizi */
.cds-orari-service {
    margin: 0 0 24px;
}

.cds-orari-service-name {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    color: #00277a;
}

.cds-orari-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 25px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: #00277a;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

/* Orari allineati a destra come Divi */
.cds-orari-time {
    margin-top: 8px;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.2;
    color: #2991e0;
    text-align: right;
}

.cds-orari-time p {
    margin: 0 0 6px !important;
    color: #2991e0 !important;
}

.cds-orari-time .cds-orari-note {
    text-align: left;
    padding-left: 40px;
    margin-bottom: 12px !important;
}

/* Icone decorative in basso */
.cds-orari-decoration {
    position: absolute;
    bottom: 30px;
    right: 30px;
    display: block;
    width: 80px;
    height: 80px;
    object-fit: contain;
}

/* Mappa */
.cds-orari-page .cds-orari-map-title {
    margin-top: 150px !important;
    margin-bottom: 50px !important;
}

.cds-orari-map {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.cds-orari-map iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: 0;
}

/* Tablet */
@media (max-width: 1024px) {
    .cds-orari-page .cds-orari-grid {
        width: 100% !important;
        max-width: 850px !important;
        gap: 20px !important;
    }

    .cds-orari-page .cds-orari-card {
        padding: 30px 25px 120px;
    }
}

/* Mobile: una scheda sotto l'altra */
@media (max-width: 767px) {
    body.page:has(.cds-orari-page) {
        background-image: none !important;
    }

    body.page:has(.cds-orari-page)::before {
        content: '';
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-image:
            linear-gradient(
                180deg,
                rgba(0,38,120,.95) 0%,
                rgba(0,38,120,.78) 38%,
                rgba(41,145,224,.30) 100%
            ),
            url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    body.page:has(.cds-orari-page) #page {
        position: relative;
        z-index: 1;
        background: transparent !important;
    }

    .cds-orari-page {
        padding: 0 20px 65px !important;
    }

    .cds-orari-spacer {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cds-orari-page .cds-orari-title {
        font-size: 28px !important;
        margin-bottom: 30px !important;
    }

    .cds-orari-page > .cds-orari-title:first-of-type {
        padding-top: 70px;
    }

    .cds-orari-page .cds-orari-grid {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-width: 400px !important;
        gap: 25px !important;
    }

    .cds-orari-page .cds-orari-card {
        padding: 35px 25px 120px;
    }

    .cds-orari-page .cds-orari-card-title {
        font-size: 28px !important;
        margin-bottom: 35px !important;
    }

    .cds-orari-page .cds-orari-map-title {
        margin-top: 90px !important;
        margin-bottom: 30px !important;
    }

    .cds-orari-map iframe {
        height: 450px;
    }
}



/* =====================================================
   CDS — ACCREDITAMENTO
   Stessa struttura FAQ / CONTATTI
   ===================================================== */

/* Sfondo unico dietro header e prima sezione */
body.page:has(.cds-accreditamento-page) {
    background-color: #002678 !important;
    background-image:
        linear-gradient(
            180deg,
            rgba(0,38,120,.98) 0%,
            rgba(0,38,120,.94) 19%,
            rgba(0,38,120,.66) 42%,
            rgba(41,145,224,.30) 100%
        ),
        url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Contenitori GeneratePress trasparenti */
body.page:has(.cds-accreditamento-page) .cds-header,
body.page:has(.cds-accreditamento-page) .site-header,
body.page:has(.cds-accreditamento-page) .main-navigation,
body.page:has(.cds-accreditamento-page) #page,
body.page:has(.cds-accreditamento-page) #content,
body.page:has(.cds-accreditamento-page) #primary,
body.page:has(.cds-accreditamento-page) #main,
body.page:has(.cds-accreditamento-page) .site-content,
body.page:has(.cds-accreditamento-page) .site-main,
body.page:has(.cds-accreditamento-page) .inside-article,
body.page:has(.cds-accreditamento-page) .entry-content,
body.page:has(.cds-accreditamento-page) .cds-accreditamento-page,
body.page:has(.cds-accreditamento-page) .cds-accreditamento-quality {
    background-color: transparent !important;
    background-image: none !important;
}

body.page:has(.cds-accreditamento-page) .entry-header {
    display: none !important;
}

/* Larghezza piena come Contatti */
.cds-accreditamento-page,
.entry-content > .cds-accreditamento-page {
    box-sizing: border-box;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    font-family: Catamaran, Helvetica, Arial, sans-serif;
}

.cds-accreditamento-page .wp-block-group__inner-container {
    width: 100% !important;
    max-width: none !important;
}

/* Spacer desktop */
.cds-accreditamento-spacer {
    height: 150px !important;
    margin: 0 !important;
}

/* Sezioni */
.cds-accreditamento-section {
    box-sizing: border-box;
    width: 100%;
    max-width: none !important;
}

/* Griglia due colonne */
.cds-accreditamento-page .cds-accreditamento-columns {
    display: grid !important;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 0 !important;
    width: 90% !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    align-items: center !important;
}

.cds-accreditamento-columns > .wp-block-column {
    min-width: 0;
    width: 100%;
    margin: 0 !important;
}

/* Prima sezione */
.cds-accreditamento-quality {
    padding: 0 24px 100px;
}

.cds-accreditamento-quality-card {
    margin: 10px 100px 0 0 !important;
    padding: 30px;
    background: rgba(255,255,255,.80);
    border-radius: 10px;
}

/* Titoli */
.cds-accreditamento-page h2 {
    font-family: 'Space Grotesk', Helvetica, Arial, sans-serif !important;
    font-size: 41px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin: 0 0 20px !important;
}

/* Testo prima sezione */
.cds-accreditamento-quality-card h2 {
    color: #00007a !important;
    text-shadow: 0 .06em .15em #fff;
}

.cds-accreditamento-quality-card p {
    font-family: Catamaran, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: #002678 !important;
    margin: 0 !important;
}

/* Immagini */
.cds-accreditamento-image {
    width: 100%;
    margin: 0 !important;
}

.cds-accreditamento-image img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 488px;
    aspect-ratio: 620 / 488;
    object-fit: cover;
    border-radius: 20px;
}

/* Seconda sezione: sfondo originale Divi */
.cds-accreditamento-certification {
    margin-top: 10px !important;
    padding: 110px 24px 100px;
    background-image:
        linear-gradient(
            180deg,
            #002678 0%,
            #002678 24%,
            rgba(0,38,120,.9) 100%
        ),
        url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/01/laboratory-2-bfg-2.webp');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.cds-accreditamento-certification-text {
    padding-left: 130px;
}

.cds-accreditamento-certification-text h2 {
    color: #fff !important;
    text-shadow: 1px 2px 3px rgba(0,0,0,.2);
}

.cds-accreditamento-certification-text p {
    font-family: Catamaran, Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.6;
    color: #fff !important;
    margin: 0 !important;
}

/* Tablet */
@media (max-width: 1024px) {
    .cds-accreditamento-quality-card {
        margin-right: 30px !important;
    }

    .cds-accreditamento-certification-text {
        padding-left: 50px;
    }
}

/* Mobile */
@media (max-width: 767px) {

    /* Stesso sfondo mobile delle FAQ */
    body.page:has(.cds-accreditamento-page) {
        background-image: none !important;
    }

    body.page:has(.cds-accreditamento-page)::before {
        content: '';
        display: block;
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-image:
            linear-gradient(
                180deg,
                rgba(0,38,120,.95) 0%,
                rgba(0,38,120,.78) 38%,
                rgba(41,145,224,.30) 100%
            ),
            url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    body.page:has(.cds-accreditamento-page) #page {
        position: relative;
        z-index: 1;
        background: transparent !important;
    }

    /* Spacer disattivato su mobile */
    .cds-accreditamento-spacer {
        display: none !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .cds-accreditamento-quality {
        padding: 70px 20px 80px;
    }

    .cds-accreditamento-page .cds-accreditamento-columns {
        display: flex !important;
        flex-direction: column;
        width: 100% !important;
        max-width: 500px !important;
        gap: 30px !important;
    }

    .cds-accreditamento-quality-card {
        margin: 0 !important;
        padding: 25px;
    }

    .cds-accreditamento-page h2 {
        font-size: 28px !important;
    }

    .cds-accreditamento-image img {
        max-height: 370px;
    }

    .cds-accreditamento-certification {
        padding: 80px 20px;
        background-attachment: scroll;
    }

    .cds-accreditamento-certification-text {
        padding: 0;
    }
}


/* CDS Analisi eseguite — sfondo e dimensioni come FAQ */
body.page:has(.cds-analisi-page) {
  background-color:#002678 !important;
  background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
  background-position:center top !important;
  background-size:cover !important;
  background-repeat:no-repeat !important;
  background-attachment:fixed !important;
}
body.page:has(.cds-analisi-page) .site-header,
body.page:has(.cds-analisi-page) .main-navigation,
body.page:has(.cds-analisi-page) .cds-header,
body.page:has(.cds-analisi-page) #page,
body.page:has(.cds-analisi-page) #content,
body.page:has(.cds-analisi-page) #primary,
body.page:has(.cds-analisi-page) #main,
body.page:has(.cds-analisi-page) .site-content,
body.page:has(.cds-analisi-page) .site-main,
body.page:has(.cds-analisi-page) .inside-article,
body.page:has(.cds-analisi-page) .entry-content,
body.page:has(.cds-analisi-page) .cds-analisi-page {
  background-color:transparent !important;
  background-image:none !important;
}
body.page:has(.cds-analisi-page) .entry-header {display:none !important;}
.cds-analisi-page,.entry-content > .cds-analisi-page {
  width:100% !important;max-width:none !important;margin:0 !important;
  padding:0 24px 100px !important;box-sizing:border-box;
  font-family:Catamaran,Helvetica,Arial,sans-serif;
}
.cds-analisi-page .wp-block-group__inner-container {max-width:none !important;width:100% !important;}
.cds-analisi-spacer {height:150px !important;margin:0 !important;}
.cds-analisi-panel {
  width:90%;max-width:1280px;margin:0 auto;box-sizing:border-box;
  padding:40px;background:rgba(255,255,255,.5);border-radius:10px;
  box-shadow:0 5px 83px rgba(13,14,67,.12);
}
.cds-analisi-panel h2 {
  font:700 41px/1.4 'Space Grotesk',Helvetica,Arial,sans-serif !important;
  color:#00007a !important;text-shadow:2px 2px 4px #fff !important;
  text-align:center;margin:0 0 28px !important;
}
.cds-analisi-field {margin-bottom:22px;min-width:0;}
.cds-analisi-field label {
  display:block;margin-bottom:10px;text-align:center;
  font:700 20px/1.4 'Space Grotesk',Helvetica,Arial,sans-serif;
  color:#002678;text-shadow:2px 2px 4px #fff;
}
.cds-analisi-field input,.cds-analisi-field select,.cds-analisi-field textarea {
  display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;
  padding:12px 14px;border:2px solid grey;border-radius:4px;background:#fff;
  font:700 20px/1.4 'Space Grotesk',Helvetica,Arial,sans-serif;
  color:#002678;text-align:center;
}
.cds-analisi-field textarea {font-weight:500;text-align:left;resize:vertical;}
.cds-analisi-results {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;}
#cds-analisi-noresults {color:#002678;text-align:center;font-weight:700;}
@media(max-width:767px) {
  body.page:has(.cds-analisi-page) {background-image:none !important;}
  body.page:has(.cds-analisi-page)::before {
    content:'';display:block;position:fixed;inset:0;z-index:0;pointer-events:none;
    background-image:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
    background-position:center;background-size:cover;background-repeat:no-repeat;
  }
  body.page:has(.cds-analisi-page) #page {position:relative;z-index:1;background:transparent !important;}
  .cds-analisi-spacer {display:none !important;height:0 !important;margin:0 !important;padding:0 !important;}
  .cds-analisi-page {padding:70px 20px 65px !important;}
  .cds-analisi-panel {width:100%;padding:25px 18px;}
  .cds-analisi-panel h2 {font-size:28px !important;}
  .cds-analisi-field label {font-size:18px;}
  .cds-analisi-field input,.cds-analisi-field select,.cds-analisi-field textarea {font-size:16px;}
  .cds-analisi-results {grid-template-columns:1fr;gap:0;}
}


/* CDS — PREPARAZIONE ALLE ANALISI: stesso sfondo FAQ */
body.page:has(.cds-preparazione-page) {
 background-color:#002678!important;
 background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg')!important;
 background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important;background-attachment:fixed!important;
}
body.page:has(.cds-preparazione-page) .site-header,
body.page:has(.cds-preparazione-page) .main-navigation,
body.page:has(.cds-preparazione-page) #page,
body.page:has(.cds-preparazione-page) #content,
body.page:has(.cds-preparazione-page) #primary,
body.page:has(.cds-preparazione-page) #main,
body.page:has(.cds-preparazione-page) .site-content,
body.page:has(.cds-preparazione-page) .site-main,
body.page:has(.cds-preparazione-page) .inside-article,
body.page:has(.cds-preparazione-page) .entry-content,
body.page:has(.cds-preparazione-page) .cds-preparazione-page {background:transparent!important;}
body.page:has(.cds-preparazione-page) .entry-header {display:none!important;}
body.page:has(.cds-preparazione-page) .wp-block-group__inner-container {max-width:none!important;width:100%!important;}
.cds-preparazione-page {box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0 24px 100px!important;font-family:Catamaran,sans-serif;}
.cds-preparazione-spacer {height:150px!important;margin:0!important;}
.cds-preparazione-content {width:90%!important;max-width:1280px!important;margin:0 auto!important;}
.cds-preparazione-page .cds-preparazione-kicker {font-family:'Space Grotesk',sans-serif!important;color:#fff!important;text-align:center!important;font-size:20px!important;font-weight:700!important;margin:0 0 12px!important;}
.cds-preparazione-page .cds-preparazione-title {font-family:'Space Grotesk',sans-serif!important;color:#00007a!important;text-shadow:0 0 .3em #fff!important;text-align:center!important;font-size:42px!important;line-height:1.4!important;font-weight:700!important;margin:0 0 45px!important;}
.cds-preparazione-accordion {display:grid;gap:12px;}
.cds-preparazione-item {border-radius:10px;background:rgba(255,255,255,.90);box-shadow:0 5px 24px rgba(0,0,0,.15);overflow:hidden;}
.cds-preparazione-item summary {position:relative;cursor:pointer;list-style:none;padding:20px 65px 20px 26px;color:#002678;font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:700;line-height:1.4;}
.cds-preparazione-item summary::-webkit-details-marker {display:none;}
.cds-preparazione-item summary::after {content:'+';position:absolute;right:24px;top:50%;transform:translateY(-50%);font-size:30px;font-weight:400;}
.cds-preparazione-item[open] summary::after {content:'−';}
.cds-preparazione-answer {padding:0 26px 26px;color:#666c99;font-family:Catamaran,sans-serif;font-size:16px;font-weight:600;line-height:1.65;}
.cds-preparazione-answer p {margin:0 0 12px;}
.cds-preparazione-answer ul {margin:0 0 16px 24px;}
.cds-preparazione-answer img {max-width:60px;height:auto;}
@media(max-width:767px){
 body.page:has(.cds-preparazione-page){background-image:none!important;}
 body.page:has(.cds-preparazione-page)::before {content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') center center/cover no-repeat;}
 body.page:has(.cds-preparazione-page) #page {position:relative;z-index:1;}
 .cds-preparazione-page {padding:70px 20px 70px!important;}
 .cds-preparazione-spacer {display:none!important;height:0!important;}
 .cds-preparazione-content {width:100%!important;max-width:400px!important;}
 .cds-preparazione-page .cds-preparazione-title {font-size:28px!important;margin-bottom:30px!important;}
 .cds-preparazione-item summary {font-size:18px;padding:17px 48px 17px 18px;}
 .cds-preparazione-item summary::after {right:17px;}
 .cds-preparazione-answer {padding:0 18px 20px;}
}

/* PREPARAZIONE ALLE ANALISI - SFONDO ANCHE DIETRO HEADER */

body.page:has(.cds-preparazione-page) {
    background-color: #002678 !important;
    background-image:
        linear-gradient(
            180deg,
            rgba(0,38,120,.98) 0%,
            rgba(0,38,120,.94) 19%,
            rgba(0,38,120,.66) 42%,
            rgba(41,145,224,.30) 100%
        ),
        url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
    background-position: center top !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important;
}

/* Rende trasparenti header e contenitori GeneratePress */
body.page:has(.cds-preparazione-page) .cds-header,
body.page:has(.cds-preparazione-page) .site-header,
body.page:has(.cds-preparazione-page) .main-navigation,
body.page:has(.cds-preparazione-page) #page,
body.page:has(.cds-preparazione-page) #content,
body.page:has(.cds-preparazione-page) #primary,
body.page:has(.cds-preparazione-page) #main,
body.page:has(.cds-preparazione-page) .site-content,
body.page:has(.cds-preparazione-page) .site-main,
body.page:has(.cds-preparazione-page) .inside-article,
body.page:has(.cds-preparazione-page) .entry-content {
    background-color: transparent !important;
    background-image: none !important;
}

/* MOBILE: sfondo fisso come FAQ */
@media (max-width: 767px) {

    body.page:has(.cds-preparazione-page) {
        background-image: none !important;
    }

    body.page:has(.cds-preparazione-page)::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 0;
        pointer-events: none;
        background-image:
            linear-gradient(
                180deg,
                rgba(0,38,120,.95) 0%,
                rgba(0,38,120,.78) 38%,
                rgba(41,145,224,.30) 100%
            ),
            url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    body.page:has(.cds-preparazione-page) #page {
        position: relative;
        z-index: 1;
        background: transparent !important;
    }
}

/* SPAZIATURA INIZIALE - SOLO DESKTOP */

@media (max-width: 1024px) {

    .cds-faq-spacer,
    .cds-contatti-spacer,
    .cds-orari-spacer,
    .cds-accreditamento-spacer,
    .cds-analisi-spacer,
    .cds-preparazione-spacer {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

}

/* CDS - REFERTI ONLINE: layout e sfondo identici alle FAQ */
body.page:has(.cds-referti-page) {
  background-color:#002678!important;
  background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg')!important;
  background-position:center top!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-attachment:fixed!important;
}
body.page:has(.cds-referti-page) .cds-header,
body.page:has(.cds-referti-page) .site-header,
body.page:has(.cds-referti-page) .main-navigation,
body.page:has(.cds-referti-page) #page,
body.page:has(.cds-referti-page) #content,
body.page:has(.cds-referti-page) #primary,
body.page:has(.cds-referti-page) #main,
body.page:has(.cds-referti-page) .site-content,
body.page:has(.cds-referti-page) .site-main,
body.page:has(.cds-referti-page) .inside-article,
body.page:has(.cds-referti-page) .entry-content,
body.page:has(.cds-referti-page) .cds-referti-page {
  background-color:transparent!important;background-image:none!important;
}
body.page:has(.cds-referti-page) .entry-header{display:none!important;}
.cds-referti-page,.entry-content>.cds-referti-page{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  box-sizing:border-box;font-family:Catamaran,Helvetica,Arial,sans-serif;
}
.cds-referti-page .wp-block-group__inner-container{width:100%!important;max-width:none!important;}
.cds-referti-spacer{height:150px!important;margin:0!important;}
.cds-referti-container{width:90%!important;max-width:1280px!important;margin:0 auto!important;padding:0 0 100px!important;box-sizing:border-box;}
.cds-referti-title{
  font-family:'Space Grotesk',Helvetica,Arial,sans-serif!important;font-size:41px!important;
  line-height:1.4!important;font-weight:700!important;text-align:center!important;
  color:#00007a!important;text-shadow:0 0 .3em #fff;margin:0 0 48px!important;
}
.cds-referti-access{
  position:relative;box-sizing:border-box;width:100%;max-width:440px;margin:0 auto 95px!important;
  padding:40px 40px 60px!important;border-radius:10px;background:rgba(255,255,255,.9)!important;
  box-shadow:0 5px 83px rgba(13,14,67,.12);text-align:center;
}
.cds-referti-access h3{
  margin:0 0 24px!important;color:#002678!important;font-family:'Space Grotesk',Helvetica,Arial,sans-serif!important;
  font-size:20px!important;line-height:1.4!important;font-weight:700!important;text-align:center;
}
.cds-referti-imedica{margin:0 auto 32px!important;max-width:100%;text-align:center;}
.cds-referti-imedica img{max-width:100%;height:auto;object-fit:contain;}
.cds-referti-access .wp-block-buttons{justify-content:center!important;}
.cds-referti-button .wp-block-button__link{
  background:transparent!important;border:2px solid #00277a!important;border-radius:6px!important;
  color:#00277a!important;font:700 16px 'Space Grotesk',Helvetica,Arial,sans-serif!important;
  padding:10px 22px!important;text-decoration:none!important;
}
.cds-referti-button .wp-block-button__link:hover,
.cds-referti-button .wp-block-button__link:focus-visible{background:#2991e0!important;border-color:#2991e0!important;color:#fff!important;}
.cds-referti-decoration{position:absolute;right:-20px;bottom:-30px;width:80px;margin:0!important;pointer-events:none;}
.cds-referti-decoration img{display:block;width:100%;height:auto;}
.cds-referti-apps{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px!important;max-width:1280px!important;margin:0 auto 80px!important;}
.cds-referti-app{min-width:0;margin:0!important;padding:20px!important;border-radius:10px;
  background:rgba(255,255,255,.8)!important;box-shadow:0 5px 83px rgba(13,14,67,.08);text-align:center;
  border-bottom:2px solid #00277a;}
.cds-referti-app figure{margin:0 auto!important;width:50%;}
.cds-referti-app img{display:block;width:100%;height:auto;object-fit:contain;}
.cds-referti-software{text-align:center;margin:0 auto!important;max-width:340px;}
.cds-referti-software h3{color:#fff!important;font:700 18px 'Space Grotesk',Helvetica,Arial,sans-serif!important;letter-spacing:1px;text-shadow:1px 2px 3px #000;margin:0 0 14px!important;}
.cds-referti-software figure{display:inline-block;margin:0!important;background:rgba(255,255,255,.8);border-radius:10px;padding:12px;max-width:100%;}
.cds-referti-software img{display:block;max-width:100%;height:auto;object-fit:contain;}
@media(max-width:1024px){.cds-referti-spacer{display:none!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;}}
@media(max-width:767px){
 body.page:has(.cds-referti-page){background-image:none!important;}
 body.page:has(.cds-referti-page)::before{
   content:'';position:fixed;inset:0;z-index:0;pointer-events:none;
   background-image:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg');
   background-position:center center;background-size:cover;background-repeat:no-repeat;
 }
 body.page:has(.cds-referti-page) #page{position:relative;z-index:1;background:transparent!important;}
 .cds-referti-container{width:100%!important;padding:65px 20px 80px!important;}
 .cds-referti-title{font-size:28px!important;margin-bottom:30px!important;}
 .cds-referti-access{padding:30px 22px 45px!important;margin-bottom:65px!important;}
 .cds-referti-decoration{right:-8px;bottom:-20px;width:60px;}
 .cds-referti-apps{display:flex!important;flex-direction:column;gap:20px!important;margin-bottom:65px!important;}
 .cds-referti-app figure{width:65%;}
}


/* PACCHETTI CHECK-UP - STILE FAQ */
body.page:has(.cds-checkup-page) {
  background-color:#002678!important;
  background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg")!important;
  background-size:cover!important;background-position:center top!important;background-repeat:no-repeat!important;background-attachment:fixed!important;
}
body.page:has(.cds-checkup-page) :is(.cds-header,.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content){background:transparent!important;}
body.page:has(.cds-checkup-page) .entry-header{display:none!important;}
body.page:has(.cds-checkup-page) :is(.inside-article,.entry-content,.site-content,.site-main){max-width:none!important;padding-left:0!important;padding-right:0!important;}
.cds-checkup-page{font-family:Catamaran,sans-serif;color:#fff;line-height:1.6;}
.cds-checkup-page *{box-sizing:border-box;}
.cds-checkup-spacer{height:150px;}
.cds-checkup-container{width:90%;max-width:1280px;margin:0 auto;padding-bottom:100px;}
.cds-checkup-kicker{font-family:'Space Grotesk',sans-serif;font-size:20px;font-weight:700;margin:0 0 10px;color:#fff;}
.cds-checkup-intro h1{font-family:'Space Grotesk',sans-serif;font-size:42px;line-height:1.4;font-weight:700;color:#00007a;background:rgba(255,255,255,.35);text-shadow:0 0 8px #fff;border-radius:10px;padding:14px;max-width:80%;margin:0 0 48px;}
.cds-checkup-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;margin-bottom:95px;}
.cds-checkup-hero-img{display:block;width:100%;height:auto;border-radius:20px;}
.cds-checkup-intro-copy>p{font-size:16px;font-weight:700;line-height:1.6;margin:0 0 24px;text-shadow:0 1px 3px rgba(0,0,0,.3);}
.cds-checkup-blurb{display:flex;align-items:flex-start;gap:22px;}
.cds-checkup-blurb>img{width:48px;height:48px;object-fit:contain;flex-shrink:0;}
.cds-checkup-blurb h2{font:700 19px/1.35 'Space Grotesk',sans-serif;color:#fff;margin:0 0 11px;}
.cds-checkup-blurb p{font-size:15px;line-height:1.6;margin:0;}
.cds-checkup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:36px;}
.cds-checkup-card{position:relative;overflow:hidden;background:rgba(255,255,255,.9);border-radius:10px;box-shadow:0 5px 83px rgba(13,14,67,.08);padding-bottom:36px;}
.cds-checkup-card::after{content:'';position:absolute;bottom:0;left:40px;right:40px;height:2px;background:#00277a;}
.cds-checkup-card-image{display:block;overflow:hidden;}
.cds-checkup-card-image img{display:block;width:100%;height:215px;object-fit:cover;transition:transform .3s ease;}
.cds-checkup-card-image:hover img{transform:scale(1.05);}
.cds-checkup-card-body{padding:30px 35px 0;}
.cds-checkup-card h2{font:700 20px/1.4 'Space Grotesk',sans-serif;margin:0 0 8px;color:#00277a;}
.cds-checkup-card h2 a{color:#00277a;text-decoration:none;}
.cds-checkup-card h2 a:hover{color:#2991e0;}
.cds-checkup-card p{font:600 15px/1.6 Catamaran,sans-serif;color:#00277a;margin:0;}
@media(max-width:1024px){
 .cds-checkup-spacer{display:none!important;height:0!important;margin:0!important;padding:0!important;}
 .cds-checkup-container{padding-top:30px;}
 .cds-checkup-intro h1{font-size:36px;max-width:100%;}
 .cds-checkup-intro-grid{gap:30px;}
 .cds-checkup-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:767px){
 body.page:has(.cds-checkup-page){background-image:none!important;}
 body.page:has(.cds-checkup-page)::before{content:'';position:fixed;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg");background-position:center;background-size:cover;background-repeat:no-repeat;}
 body.page:has(.cds-checkup-page) #page{position:relative;z-index:1;background:transparent!important;}
 .cds-checkup-container{width:90%;padding-top:20px;padding-bottom:65px;}
 .cds-checkup-intro h1{font-size:28px;line-height:1.4;margin-bottom:28px;}
 .cds-checkup-intro-grid{grid-template-columns:1fr;gap:25px;margin-bottom:55px;}
 .cds-checkup-grid{grid-template-columns:1fr;gap:25px;}
 .cds-checkup-card-image img{height:220px;}
}


/* CDS - Cardiovascolare: stile FAQ, isolato a questa pagina */
body.page:has(.cds-cardio-page) {
  background-color: #002678 !important;
  background-image: linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg") !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
body.page:has(.cds-cardio-page) :is(.cds-header,.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {
  background-color: transparent !important;
  background-image: none !important;
}
body.page:has(.cds-cardio-page) .entry-header { display:none !important; }
body.page:has(.cds-cardio-page) :is(.site-content,.inside-article,.entry-content) { max-width:none !important; padding-left:0 !important; padding-right:0 !important; }
.cds-cardio-page { color:#fff; font-family:Catamaran,sans-serif; font-size:16px; font-weight:700; line-height:1.6; padding-bottom:100px; }
.cds-cardio-page * { box-sizing:border-box; }
.cds-cardio-spacer { height:150px; }
.cds-cardio-container { width:90%; max-width:1280px; margin:0 auto; }
.cds-cardio-intro { display:grid; grid-template-columns:1fr 1fr; gap:35px; align-items:center; margin-bottom:80px; }
.cds-cardio-intro-text { background:rgba(255,255,255,.85); color:#00277a; padding:30px; border-radius:10px; }
.cds-cardio-page h1,.cds-cardio-page h2 { font-family:'Space Grotesk',sans-serif; font-weight:700; color:#002678; line-height:1.4; }
.cds-cardio-page h1 { font-size:25px; margin:0 0 18px; }
.cds-cardio-page p { margin:0 0 16px; }
.cds-cardio-page p:last-child { margin-bottom:0; }
.cds-cardio-hero { display:block; width:100%; aspect-ratio: 1.45; object-fit:cover; border-radius:20px; }
.cds-cardio-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; align-items:stretch; }
.cds-cardio-card { position:relative; min-width:0; padding:40px 50px; border-radius:10px; background:rgba(255,255,255,.85); color:#00277a; box-shadow:0 5px 83px rgba(13,14,67,.08); }
.cds-cardio-card h2 { font-size:24px; padding-right:65px; margin:0 0 11px; }
.cds-cardio-card p { font-size:17px; font-weight:600; margin-bottom:25px; }
.cds-cardio-icon { position:absolute; right:50px; top:40px; width:55px; height:auto; }
.cds-cardio-list { list-style:none !important; margin:0 !important; padding:0 !important; }
.cds-cardio-list li { display:flex; align-items:flex-start; gap:12px; margin:0 0 8px; font-size:16px; font-weight:700; }
.cds-cardio-list li::before { content:'✓'; display:inline-flex; align-items:center; justify-content:center; flex:0 0 25px; width:25px; height:25px; border-radius:50%; background:#2991e0; color:#fff; font-size:14px; line-height:1; }
@media(max-width:1024px) {
  .cds-cardio-spacer { display:none !important; height:0 !important; margin:0 !important; padding:0 !important; }
  .cds-cardio-page { padding-top:0; }
  .cds-cardio-intro { grid-template-columns:1fr; gap:28px; margin-bottom:50px; }
  .cds-cardio-cards { grid-template-columns:1fr; gap:25px; }
}
@media(max-width:767px) {
  body.page:has(.cds-cardio-page) { background-image:none !important; }
  body.page:has(.cds-cardio-page)::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background-image:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg"); background-position:center; background-size:cover; background-repeat:no-repeat; }
  body.page:has(.cds-cardio-page) #page { position:relative; z-index:1; background:transparent !important; }
  .cds-cardio-container { width:90%; }
  .cds-cardio-page { padding-bottom:60px; }
  .cds-cardio-page h1 { font-size:28px; }
  .cds-cardio-intro-text { padding:20px; }
  .cds-cardio-hero { aspect-ratio: 1.5; }
  .cds-cardio-card { padding:30px 22px; }
  .cds-cardio-icon { right:22px; top:30px; width:45px; }
  .cds-cardio-card h2 { padding-right:50px; }
}


/* CDS - Donna: stile FAQ, isolato a questa pagina */
body.page:has(.cds-donna-page) {
  background-color: #002678 !important;
  background-image: linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg") !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
body.page:has(.cds-donna-page) :is(.cds-header,.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {
  background-color: transparent !important;
  background-image: none !important;
}
body.page:has(.cds-donna-page) .entry-header { display:none !important; }
body.page:has(.cds-donna-page) :is(.site-content,.inside-article,.entry-content) { max-width:none !important; padding-left:0 !important; padding-right:0 !important; }
.cds-donna-page { color:#fff; font-family:Catamaran,sans-serif; font-size:16px; font-weight:700; line-height:1.6; padding-bottom:100px; }
.cds-donna-page * { box-sizing:border-box; }
.cds-donna-spacer { height:150px; }
.cds-donna-container { width:90%; max-width:1280px; margin:0 auto; }
.cds-donna-intro { display:grid; grid-template-columns:1fr 1fr; gap:35px; align-items:center; margin-bottom:80px; }
.cds-donna-intro-text { background:rgba(255,255,255,.85); color:#00277a; padding:30px; border-radius:10px; }
.cds-donna-page h1,.cds-donna-page h2 { font-family:'Space Grotesk',sans-serif; font-weight:700; color:#002678; line-height:1.4; }
.cds-donna-page h1 { font-size:25px; margin:0 0 18px; }
.cds-donna-page p { margin:0 0 16px; }
.cds-donna-page p:last-child { margin-bottom:0; }
.cds-donna-hero { display:block; width:100%; aspect-ratio: 1.45; object-fit:cover; border-radius:20px; }
.cds-donna-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; align-items:stretch; }
.cds-donna-card { position:relative; min-width:0; padding:40px 50px; border-radius:10px; background:rgba(255,255,255,.85); color:#00277a; box-shadow:0 5px 83px rgba(13,14,67,.08); }
.cds-donna-card h2 { font-size:24px; padding-right:65px; margin:0 0 11px; }
.cds-donna-card p { font-size:17px; font-weight:600; margin-bottom:25px; }
.cds-donna-icon { position:absolute; right:50px; top:40px; width:55px; height:auto; }
.cds-donna-list { list-style:none !important; margin:0 !important; padding:0 !important; }
.cds-donna-list li { display:flex; align-items:flex-start; gap:12px; margin:0 0 8px; font-size:16px; font-weight:700; }
.cds-donna-list li::before { content:'✓'; display:inline-flex; align-items:center; justify-content:center; flex:0 0 25px; width:25px; height:25px; border-radius:50%; background:#2991e0; color:#fff; font-size:14px; line-height:1; }
@media(max-width:1024px) {
  .cds-donna-spacer { display:none !important; height:0 !important; margin:0 !important; padding:0 !important; }
  .cds-donna-page { padding-top:0; }
  .cds-donna-intro { grid-template-columns:1fr; gap:28px; margin-bottom:50px; }
  .cds-donna-cards { grid-template-columns:1fr; gap:25px; }
}
@media(max-width:767px) {
  body.page:has(.cds-donna-page) { background-image:none !important; }
  body.page:has(.cds-donna-page)::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background-image:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg"); background-position:center; background-size:cover; background-repeat:no-repeat; }
  body.page:has(.cds-donna-page) #page { position:relative; z-index:1; background:transparent !important; }
  .cds-donna-container { width:90%; }
  .cds-donna-page { padding-bottom:60px; }
  .cds-donna-page h1 { font-size:28px; }
  .cds-donna-intro-text { padding:20px; }
  .cds-donna-hero { aspect-ratio: 1.5; }
  .cds-donna-card { padding:30px 22px; }
  .cds-donna-icon { right:22px; top:30px; width:45px; }
  .cds-donna-card h2 { padding-right:50px; }
}

.cds-donna-benefits { padding-left:22px; margin:14px 0 0; }
.cds-donna-benefits li { margin:0 0 5px; }
.cds-donna-note { background:rgba(255,255,255,.85);color:#00277a;padding:22px 30px;border-radius:10px;margin-bottom:60px; }
@media(max-width:767px){.cds-donna-note{padding:20px;margin-bottom:40px;}}


/* CDS - Oncologia: stile FAQ, isolato a questa pagina */
body.page:has(.cds-oncologia-page) {
  background-color: #002678 !important;
  background-image: linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg") !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
body.page:has(.cds-oncologia-page) :is(.cds-header,.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {
  background-color: transparent !important;
  background-image: none !important;
}
body.page:has(.cds-oncologia-page) .entry-header { display:none !important; }
body.page:has(.cds-oncologia-page) :is(.site-content,.inside-article,.entry-content) { max-width:none !important; padding-left:0 !important; padding-right:0 !important; }
.cds-oncologia-page { color:#fff; font-family:Catamaran,sans-serif; font-size:16px; font-weight:700; line-height:1.6; padding-bottom:100px; }
.cds-oncologia-page * { box-sizing:border-box; }
.cds-oncologia-spacer { height:150px; }
.cds-oncologia-container { width:90%; max-width:1280px; margin:0 auto; }
.cds-oncologia-intro { display:grid; grid-template-columns:1fr 1fr; gap:35px; align-items:center; margin-bottom:80px; }
.cds-oncologia-intro-text { background:rgba(255,255,255,.85); color:#00277a; padding:30px; border-radius:10px; }
.cds-oncologia-page h1,.cds-oncologia-page h2 { font-family:'Space Grotesk',sans-serif; font-weight:700; color:#002678; line-height:1.4; }
.cds-oncologia-page h1 { font-size:25px; margin:0 0 18px; }
.cds-oncologia-page p { margin:0 0 16px; }
.cds-oncologia-page p:last-child { margin-bottom:0; }
.cds-oncologia-hero { display:block; width:100%; aspect-ratio: 1.45; object-fit:cover; border-radius:20px; }
.cds-oncologia-cards { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:30px; align-items:stretch; }
.cds-oncologia-card { position:relative; min-width:0; padding:40px 50px; border-radius:10px; background:rgba(255,255,255,.85); color:#00277a; box-shadow:0 5px 83px rgba(13,14,67,.08); }
.cds-oncologia-card h2 { font-size:24px; padding-right:65px; margin:0 0 11px; }
.cds-oncologia-card p { font-size:17px; font-weight:600; margin-bottom:25px; }
.cds-oncologia-icon { position:absolute; right:50px; top:40px; width:55px; height:auto; }
.cds-oncologia-list { list-style:none !important; margin:0 !important; padding:0 !important; }
.cds-oncologia-list li { display:flex; align-items:flex-start; gap:12px; margin:0 0 8px; font-size:16px; font-weight:700; }
.cds-oncologia-list li::before { content:'✓'; display:inline-flex; align-items:center; justify-content:center; flex:0 0 25px; width:25px; height:25px; border-radius:50%; background:#2991e0; color:#fff; font-size:14px; line-height:1; }
@media(max-width:1024px) {
  .cds-oncologia-spacer { display:none !important; height:0 !important; margin:0 !important; padding:0 !important; }
  .cds-oncologia-page { padding-top:0; }
  .cds-oncologia-intro { grid-template-columns:1fr; gap:28px; margin-bottom:50px; }
  .cds-oncologia-cards { grid-template-columns:1fr; gap:25px; }
}
@media(max-width:767px) {
  body.page:has(.cds-oncologia-page) { background-image:none !important; }
  body.page:has(.cds-oncologia-page)::before { content:""; position:fixed; inset:0; z-index:0; pointer-events:none; background-image:linear-gradient(180deg,rgba(0,38,120,.95) 0%,rgba(0,38,120,.78) 38%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg"); background-position:center; background-size:cover; background-repeat:no-repeat; }
  body.page:has(.cds-oncologia-page) #page { position:relative; z-index:1; background:transparent !important; }
  .cds-oncologia-container { width:90%; }
  .cds-oncologia-page { padding-bottom:60px; }
  .cds-oncologia-page h1 { font-size:28px; }
  .cds-oncologia-intro-text { padding:20px; }
  .cds-oncologia-hero { aspect-ratio: 1.5; }
  .cds-oncologia-card { padding:30px 22px; }
  .cds-oncologia-icon { right:22px; top:30px; width:45px; }
  .cds-oncologia-card h2 { padding-right:50px; }
}



/* Spaziatura tra introduzione e pacchetti */
.cds-oncologia-intro { margin-bottom:80px; }
@media(max-width:767px) { .cds-oncologia-intro { margin-bottom:45px; } }


/* Centro Diagnostico Senese — Prevenzione; regole limitate alla pagina */
body.page:has(.cds-prevenzione-page) {
 background: linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg") center top / cover fixed no-repeat;
}
body.page:has(.cds-prevenzione-page) :is(.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {background:transparent!important;}
body.page:has(.cds-prevenzione-page) .entry-header {display:none;}
body.page:has(.cds-prevenzione-page) .inside-article {padding:0!important;}
body.page:has(.cds-prevenzione-page) .entry-content {margin-top:0!important;}
.cds-prevenzione-page {box-sizing:border-box;max-width:1280px!important;width:90%;margin:0 auto;padding:150px 0 100px;color:#00277a;font-family:Catamaran,sans-serif;font-size:16px;font-weight:600;line-height:1.6;}
.cds-prevenzione-page * {box-sizing:border-box;}
.cds-prevenzione-page .cds-prevenzione-intro {display:grid;grid-template-columns:1fr 1fr;gap:30px;align-items:start;margin:0 0 70px;}
.cds-prevenzione-page .cds-prevenzione-lead {background:rgba(255,255,255,.8);border-radius:10px;padding:24px 25px;}
.cds-prevenzione-page h2,.cds-prevenzione-page h3 {font-family:'Space Grotesk',sans-serif;color:#002678;font-weight:700;line-height:1.4;}
.cds-prevenzione-page h2 {font-size:25px;margin:0 0 12px;}
.cds-prevenzione-page h3 {font-size:24px;margin:0 0 10px;}
.cds-prevenzione-page p {font-family:Catamaran,sans-serif;color:#00277a;font-size:16px;line-height:1.6;margin:0 0 10px;}
.cds-prevenzione-page .cds-prevenzione-photo {margin:0;}
.cds-prevenzione-page .cds-prevenzione-photo img {display:block;width:100%;height:488px;object-fit:cover;border-radius:20px;}
.cds-prevenzione-page .cds-prevenzione-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch;margin:0;}
.cds-prevenzione-page .cds-prevenzione-card {min-width:0;background:rgba(255,255,255,.8);padding:40px 50px;border-radius:10px;box-shadow:0 5px 83px rgba(13,14,67,.08);}
.cds-prevenzione-page .cds-prevenzione-card p {font-size:17px;margin-bottom:24px;}
.cds-prevenzione-page .cds-prevenzione-exams {list-style:none;margin:0;padding:0;}
.cds-prevenzione-page .cds-prevenzione-exams li {position:relative;list-style:none;margin:0 0 10px;padding:0 0 0 35px;font-family:Catamaran,sans-serif;color:#00277a;font-weight:700;font-size:16px;line-height:1.6;}
.cds-prevenzione-page .cds-prevenzione-exams li::before {content:'✓';position:absolute;top:2px;left:0;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2991e0;color:white;font:700 13px/1 sans-serif;}
@media(max-width:1024px) {
 .cds-prevenzione-page {width:90%;padding-top:0;padding-bottom:70px;}
 .cds-prevenzione-page .cds-prevenzione-intro {grid-template-columns:1fr;gap:24px;margin-bottom:45px;}
 .cds-prevenzione-page .cds-prevenzione-cards {grid-template-columns:1fr;gap:24px;}
 .cds-prevenzione-page .cds-prevenzione-photo img {height:370px;}
}
@media(max-width:600px) {
 body.page:has(.cds-prevenzione-page) {background-attachment:scroll;}
 .cds-prevenzione-page {width:calc(100% - 32px);}
 .cds-prevenzione-page .cds-prevenzione-card {padding:28px 24px;}
 .cds-prevenzione-page h2 {font-size:28px;}
 .cds-prevenzione-page .cds-prevenzione-photo img {height:300px;}
}


/* Layout Gutenberg effettivo: il tema inserisce inner-container nei gruppi. */
body.page:has(.cds-prevenzione-page) .site-content,
body.page:has(.cds-prevenzione-page) .content-area,
body.page:has(.cds-prevenzione-page) .site-main,
body.page:has(.cds-prevenzione-page) .inside-article,
body.page:has(.cds-prevenzione-page) .entry-content {width:100%!important;max-width:none!important;}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-page {
  width:90%!important;max-width:1280px!important;margin-inline:auto!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-page > .wp-block-group__inner-container {
  width:100%!important;max-width:none!important;padding:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:30px!important;align-items:start!important;
  width:100%!important;max-width:none!important;padding:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container > * {
  min-width:0!important;width:100%!important;max-width:none!important;margin:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-lead > .wp-block-group__inner-container {
  padding:0!important;width:100%!important;max-width:none!important;
}
@media(max-width:1024px) {
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container {
  grid-template-columns:minmax(0,1fr)!important;gap:24px!important;
 }
}

/* FIX LARGHEZZA: esce dal contenitore GeneratePress anche se #page resta limitato. */
body.page:has(.cds-prevenzione-page) .entry-content > .cds-prevenzione-page {
  position:relative!important;
  left:50%!important;
  transform:translateX(-50%)!important;
  width:min(90vw,1280px)!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
@media(max-width:600px) {
  body.page:has(.cds-prevenzione-page) .entry-content > .cds-prevenzione-page {
    width:calc(100vw - 32px)!important;
  }
}

   align-items:start !important;
   width:100% !important;
   max-width:none !important;
 }
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container > .cds-prevenzione-lead,
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container > .cds-prevenzione-photo {
   width:100% !important;
   max-width:none !important;
   min-width:0 !important;
   margin:0 !important;
 }
}


/* FIX DEFINITIVO: il gruppo Gutenberg esterno contiene UN SOLO inner-container.
   Non applicare grid al gruppo esterno: dimezza la larghezza del contenuto. */
body.page:has(.cds-prevenzione-page) .cds-prevenzione-page {
  display:block!important; width:90%!important;max-width:1280px!important;
  margin-left:auto!important;margin-right:auto!important;
  padding:150px 0 100px!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-page > .wp-block-group__inner-container {
  display:block!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro {
  display:block!important;width:100%!important;max-width:none!important;
  margin:0 0 70px!important;padding:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:30px!important;align-items:start!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container > * {
  width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-lead > .wp-block-group__inner-container {
  width:100%!important;max-width:none!important;padding:0!important;margin:0!important;
}
body.page:has(.cds-prevenzione-page) .wp-block-columns.cds-prevenzione-cards {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:28px!important;align-items:stretch!important;width:100%!important;
  max-width:none!important;margin:0!important;
}
body.page:has(.cds-prevenzione-page) .cds-prevenzione-cards > .wp-block-column {
  flex:none!important;min-width:0!important;width:100%!important;
  max-width:none!important;margin:0!important;
}
@media(max-width:1024px){
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-page {width:90%!important;padding-top:0!important;padding-bottom:70px!important;}
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro {margin-bottom:45px!important;}
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-intro > .wp-block-group__inner-container,
 body.page:has(.cds-prevenzione-page) .wp-block-columns.cds-prevenzione-cards {grid-template-columns:minmax(0,1fr)!important;gap:24px!important;}
}
@media(max-width:600px){
 body.page:has(.cds-prevenzione-page) .cds-prevenzione-page {width:calc(100% - 32px)!important;}
}

/* CDS — RISCHIO TROMBOTICO. Stile autonomo, non modifica le altre pagine. */
body.page:has(.cds-trombotico-page) {
  background-color:#002678 !important;
  background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg") !important;
  background-position:center top !important;background-size:cover !important;
  background-repeat:no-repeat !important;background-attachment:fixed !important;
}
body.page:has(.cds-trombotico-page) :is(.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {background:transparent !important;}
body.page:has(.cds-trombotico-page) .entry-header {display:none !important;}
body.page:has(.cds-trombotico-page) :is(#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {
  width:100% !important;max-width:none !important;margin-left:0 !important;margin-right:0 !important;
  padding-left:0 !important;padding-right:0 !important;box-sizing:border-box !important;
}
body.page:has(.cds-trombotico-page) .entry-content {margin-top:0 !important;}
/* La larghezza è gestita dal contenitore interno, non da griglie Gutenberg annidate. */
.cds-trombotico-page {width:100% !important;max-width:none !important;margin:0 !important;padding:150px 0 100px !important;box-sizing:border-box;font-family:Catamaran,Helvetica,Arial,sans-serif;color:#00277a;}
.cds-trombotico-page *, .cds-trombotico-page *::before,.cds-trombotico-page *::after {box-sizing:border-box;}
.cds-trombotico-inner {width:90%;max-width:1280px;margin:0 auto;}
.cds-trombotico-intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start;margin:0 0 80px;}
.cds-trombotico-lead {min-width:0;background:rgba(255,255,255,.8);border-radius:10px;padding:25px 25px 20px;}
.cds-trombotico-page h2,.cds-trombotico-page h3 {font-family:'Space Grotesk',Helvetica,Arial,sans-serif !important;font-weight:700 !important;color:#002678 !important;line-height:1.4 !important;}
.cds-trombotico-page h2 {font-size:25px !important;margin:0 0 16px !important;text-shadow:1px 2px 3px rgba(0,0,0,.2);}
.cds-trombotico-page h3 {font-size:24px !important;margin:0 70px 12px 0 !important;text-shadow:1px 2px 3px rgba(0,0,0,.2);}
.cds-trombotico-page p {font-family:Catamaran,Helvetica,Arial,sans-serif !important;color:#00277a !important;font-size:16px !important;font-weight:600 !important;line-height:1.6 !important;margin:0 0 10px !important;}
.cds-trombotico-photo {min-width:0;margin:0 !important;}
.cds-trombotico-photo img {display:block;width:100%;height:488px;object-fit:cover;border-radius:20px;}
.cds-trombotico-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch;}
.cds-trombotico-card {position:relative;min-width:0;padding:40px 50px;background:rgba(255,255,255,.8);border-radius:10px;box-shadow:0 5px 83px rgba(13,14,67,.08);}
.cds-trombotico-icon {position:absolute;right:50px;top:40px;width:55px;max-height:65px;object-fit:contain;}
.cds-trombotico-card > p {font-size:17px !important;margin-bottom:25px !important;}
.cds-trombotico-exams {list-style:none !important;margin:0 !important;padding:0 !important;}
.cds-trombotico-exams li {position:relative;list-style:none !important;padding:0 0 0 35px;margin:0 0 10px;font:700 16px/1.6 Catamaran,Helvetica,Arial,sans-serif;color:#00277a;}
.cds-trombotico-exams li::before {content:'✓';position:absolute;left:0;top:1px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2991e0;color:#fff;font:700 13px/1 Arial,sans-serif;}
@media(max-width:1024px) {
 .cds-trombotico-page {padding-top:0 !important;padding-bottom:70px !important;}
 .cds-trombotico-intro {grid-template-columns:minmax(0,1fr);gap:25px;margin-bottom:45px;}
 .cds-trombotico-cards {grid-template-columns:minmax(0,1fr);gap:25px;}
 .cds-trombotico-photo img {height:488px;}
}
@media(max-width:767px) {
 body.page:has(.cds-trombotico-page) {background-attachment:scroll !important;}
 .cds-trombotico-inner {width:calc(100% - 32px);}
 .cds-trombotico-photo img {height:370px;}
 .cds-trombotico-card {padding:30px 25px;}
 .cds-trombotico-icon {right:25px;top:30px;}
 .cds-trombotico-page h2 {font-size:28px !important;}
}


/* CDS - Immagine di sfondo visibile anche dietro l'header.
   Solo Prevenzione e Rischio Trombotico. Inserire IN FONDO al CSS esistente. */
body.page:has(.cds-prevenzione-page),
body.page:has(.cds-trombotico-page) {
  background-color: #002678 !important;
  background-image: linear-gradient(180deg, rgba(0,38,120,.98) 0%, rgba(0,38,120,.94) 19%, rgba(0,38,120,.66) 42%, rgba(41,145,224,.30) 100%), url('https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg') !important;
  background-position: center top !important;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
}
body.page:has(.cds-prevenzione-page) .cds-header,
body.page:has(.cds-trombotico-page) .cds-header,
body.page:has(.cds-prevenzione-page) .site-header,
body.page:has(.cds-trombotico-page) .site-header,
body.page:has(.cds-prevenzione-page) .main-navigation,
body.page:has(.cds-trombotico-page) .main-navigation {
  background-color: transparent !important;
  background-image: none !important;
}
@media (max-width: 767px) {
  body.page:has(.cds-prevenzione-page),
  body.page:has(.cds-trombotico-page) {
    background-attachment: scroll !important;
  }
}


/* CDS — UOMO. Stile autonomo, non modifica le altre pagine. */
body.page:has(.cds-uomo-page) {
  background-color:#002678 !important;
  background-image:linear-gradient(180deg,rgba(0,38,120,.98) 0%,rgba(0,38,120,.94) 19%,rgba(0,38,120,.66) 42%,rgba(41,145,224,.30) 100%),url("https://www.centrodiagnosticosenese.it/wp-content/uploads/2024/02/shutterstock_1687180639-scaled.jpg") !important;
  background-position:center top !important;background-size:cover !important;
  background-repeat:no-repeat !important;background-attachment:fixed !important;
}
body.page:has(.cds-uomo-page) :is(.cds-header,.site-header,.main-navigation,#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {background:transparent !important;}
body.page:has(.cds-uomo-page) .entry-header {display:none !important;}
body.page:has(.cds-uomo-page) :is(#page,#content,#primary,#main,.site-content,.site-main,.inside-article,.entry-content) {
  width:100% !important;max-width:none !important;margin-left:0 !important;margin-right:0 !important;
  padding-left:0 !important;padding-right:0 !important;box-sizing:border-box !important;
}
body.page:has(.cds-uomo-page) .entry-content {margin-top:0 !important;}
/* La larghezza è gestita dal contenitore interno, non da griglie Gutenberg annidate. */
.cds-uomo-page {width:100% !important;max-width:none !important;margin:0 !important;padding:150px 0 100px !important;box-sizing:border-box;font-family:Catamaran,Helvetica,Arial,sans-serif;color:#00277a;}
.cds-uomo-page *, .cds-uomo-page *::before,.cds-uomo-page *::after {box-sizing:border-box;}
.cds-uomo-inner {width:90%;max-width:1280px;margin:0 auto;}
.cds-uomo-intro {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:30px;align-items:start;margin:0 0 80px;}
.cds-uomo-lead {min-width:0;background:rgba(255,255,255,.8);border-radius:10px;padding:25px 25px 20px;}
.cds-uomo-page h2,.cds-uomo-page h3 {font-family:'Space Grotesk',Helvetica,Arial,sans-serif !important;font-weight:700 !important;color:#002678 !important;line-height:1.4 !important;}
.cds-uomo-page h2 {font-size:25px !important;margin:0 0 16px !important;text-shadow:1px 2px 3px rgba(0,0,0,.2);}
.cds-uomo-page h3 {font-size:24px !important;margin:0 70px 12px 0 !important;text-shadow:1px 2px 3px rgba(0,0,0,.2);}
.cds-uomo-page p {font-family:Catamaran,Helvetica,Arial,sans-serif !important;color:#00277a !important;font-size:16px !important;font-weight:600 !important;line-height:1.6 !important;margin:0 0 10px !important;}
.cds-uomo-photo {min-width:0;margin:0 !important;}
.cds-uomo-photo img {display:block;width:100%;height:488px;object-fit:cover;border-radius:20px;}
.cds-uomo-cards {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:stretch;}
.cds-uomo-card {position:relative;min-width:0;padding:40px 50px;background:rgba(255,255,255,.8);border-radius:10px;box-shadow:0 5px 83px rgba(13,14,67,.08);}
.cds-uomo-icon {position:absolute;right:50px;top:40px;width:55px;max-height:65px;object-fit:contain;}
.cds-uomo-card > p {font-size:17px !important;margin-bottom:25px !important;}
.cds-uomo-exams {list-style:none !important;margin:0 !important;padding:0 !important;}
.cds-uomo-exams li {position:relative;list-style:none !important;padding:0 0 0 35px;margin:0 0 10px;font:700 16px/1.6 Catamaran,Helvetica,Arial,sans-serif;color:#00277a;}
.cds-uomo-exams li::before {content:'✓';position:absolute;left:0;top:1px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#2991e0;color:#fff;font:700 13px/1 Arial,sans-serif;}
@media(max-width:1024px) {
 .cds-uomo-page {padding-top:0 !important;padding-bottom:70px !important;}
 .cds-uomo-intro {grid-template-columns:minmax(0,1fr);gap:25px;margin-bottom:45px;}
 .cds-uomo-cards {grid-template-columns:minmax(0,1fr);gap:25px;}
 .cds-uomo-photo img {height:488px;}
}
@media(max-width:767px) {
 body.page:has(.cds-uomo-page) {background-attachment:scroll !important;}
 .cds-uomo-inner {width:calc(100% - 32px);}
 .cds-uomo-photo img {height:370px;}
 .cds-uomo-card {padding:30px 25px;}
 .cds-uomo-icon {right:25px;top:30px;}
 .cds-uomo-page h2 {font-size:28px !important;}
}

/* Header personalizzato: la foto del body resta visibile dietro logo e menu. */
body.page:has(.cds-uomo-page) .cds-header,
body.page:has(.cds-uomo-page) .site-header,
body.page:has(.cds-uomo-page) .main-navigation {
  background-color:transparent !important;
  background-image:none !important;
}
/* Introduzione aggiuntiva della pagina Uomo. */
.cds-uomo-description {background:rgba(255,255,255,.8);border-radius:10px;padding:30px;margin:0 0 80px;}
.cds-uomo-description p:last-child {margin-bottom:0 !important;}
.cds-uomo-benefits {margin:0 0 12px 22px;padding:0;color:#00277a;font:600 16px/1.6 Catamaran,Helvetica,Arial,sans-serif;}
.cds-uomo-benefits li {margin:0 0 3px;}
@media(max-width:1024px){.cds-uomo-description{margin-bottom:45px;}}
@media(max-width:767px){.cds-uomo-description{padding:25px 22px;}}
