.elementor-kit-10{--e-global-color-primary:#404E7C;--e-global-color-secondary:#80A4ED;--e-global-color-text:#091A3D;--e-global-color-accent:#5DC881;--e-global-color-1d882b4:#FFFFFF00;--e-global-color-bc882b2:#00000000;--e-global-color-82815bc:#FFFFFF;--e-global-color-9bf8458:#3F3F3F;--e-global-color-16feedc:#091A3D;--e-global-color-1b3480e:#213660;--e-global-color-374289e:#395183;--e-global-color-9c699af:#6888CA;--e-global-color-ffbcf8d:#80A4ED;--e-global-color-f4d3946:#99B6F1;--e-global-color-46996f3:#B3C8F4;--e-global-color-ff558d9:#CCDBF8;--e-global-color-316f7f1:#E6EDFB;--e-global-color-40977c1:#F2F6FD;--e-global-color-c3434d9:#2D6D97;--e-global-color-b5858a4:#72A6C8;--e-global-color-ef42c56:#B7DFF9;--e-global-color-84c9785:#C5E5FA;--e-global-color-8b337de:#E2F2FD;--e-global-color-91ce9c0:#F1F9FE;--e-global-color-f956add:#F8FCFE;--e-global-color-b8df492:#257F8F;--e-global-color-b6b82de:#4B97A4;--e-global-color-e6face4:#98C6CE;--e-global-color-81e16fd:#BEDDE3;--e-global-color-c71e79a:#E4F5F8;--e-global-color-44646d4:#F7FCFD;--e-global-typography-primary-font-family:"Tenor Sans";--e-global-typography-primary-font-size:1.2em;--e-global-typography-primary-font-weight:400;--e-global-typography-secondary-font-family:"Roboto Slab";--e-global-typography-secondary-font-weight:400;--e-global-typography-text-font-family:"Montserrat";--e-global-typography-text-font-size:1.6em;--e-global-typography-text-font-weight:400;--e-global-typography-accent-font-family:"Roboto";--e-global-typography-accent-font-weight:500;--e-global-typography-01d39cb-font-family:"Tenor Sans";--e-global-typography-01d39cb-font-size:clamp(2.8rem, 3.9cqw, 3.5rem);--e-global-typography-01d39cb-line-height:1.1em;--e-global-typography-46e83c6-font-family:"Tenor Sans";--e-global-typography-46e83c6-font-size:clamp(2.6rem, 3.6cqw, 3.25rem);--e-global-typography-46e83c6-font-weight:900;--e-global-typography-46e83c6-line-height:1.1em;--e-global-typography-33b286d-font-family:"Tenor Sans";--e-global-typography-33b286d-font-size:clamp(2.4rem, 3.3cqw, 3rem);--e-global-typography-33b286d-line-height:1.2em;--e-global-typography-43a2267-font-family:"Tenor Sans";--e-global-typography-43a2267-font-size:clamp(2.104rem, 2.9cqw, 2.63rem);--e-global-typography-43a2267-line-height:1.2em;--e-global-typography-ecffab8-font-family:"Tenor Sans";--e-global-typography-ecffab8-font-size:clamp(2rem, 2.8cqw, 2.5rem);--e-global-typography-ecffab8-line-height:1.2em;--e-global-typography-a16b79e-font-family:"Tenor Sans";--e-global-typography-a16b79e-font-size:clamp(1.752rem, 2.4cqw, 2.19rem);--e-global-typography-ceeb8bd-font-family:"Tenor Sans";--e-global-typography-ceeb8bd-font-size:clamp(1.504rem, 2.1cqw, 1.88rem);--e-global-typography-ceeb8bd-line-height:1.3em;--e-global-typography-c2c2e8a-font-family:"Montserrat";--e-global-typography-c2c2e8a-font-size:clamp(0.848rem, 1.2cqw, 1.06rem);--e-global-typography-c2c2e8a-line-height:1.4em;--e-global-typography-51a5f7a-font-family:"Montserrat";--e-global-typography-51a5f7a-font-size:clamp(0.848rem, 1.2cqw, 1.06rem);--e-global-typography-51a5f7a-font-weight:600;--e-global-typography-7d0abac-font-family:"Montserrat";--e-global-typography-7d0abac-font-size:clamp(1rem, 1.4cqw, 1.25rem);--e-global-typography-7d0abac-line-height:1.3em;--e-global-typography-e7b26d7-font-family:"Montserrat";--e-global-typography-e7b26d7-font-size:clamp(1rem, 1.4cqw, 1.25rem);--e-global-typography-e7b26d7-font-weight:600;--e-global-typography-e7b26d7-line-height:1.3em;--e-global-typography-2084db9-font-family:"Montserrat";--e-global-typography-2084db9-font-size:clamp(0.752rem, 1.0cqw, 0.94rem);--e-global-typography-09d650a-font-family:"Montserrat";--e-global-typography-09d650a-font-size:clamp(0.752rem, 1.0cqw, 0.94rem);--e-global-typography-09d650a-font-weight:600;--e-global-typography-d71094d-font-family:"Montserrat";--e-global-typography-d71094d-font-size:clamp(0.75rem, 0.9cqw, 0.81rem);--e-global-typography-28b3cbd-font-family:"Montserrat";--e-global-typography-28b3cbd-font-size:clamp(0.75rem, 0.9cqw, 0.81rem);--e-global-typography-28b3cbd-font-weight:600;--e-global-typography-ddb983b-font-family:"Montserrat";--e-global-typography-ddb983b-font-size:clamp(0.75rem, 0.8cqw, 0.69rem);--e-global-typography-2cd619d-font-family:"Montserrat";--e-global-typography-2cd619d-font-size:clamp(0.75rem, 0.8cqw, 0.69rem);--e-global-typography-cd68da7-font-family:"Montserrat";--e-global-typography-cd68da7-font-size:clamp(0.75rem, 0.8cqw, 0.69rem);--e-global-typography-cd68da7-font-weight:600;background-color:var( --e-global-color-1d882b4 );color:var( --e-global-color-9bf8458 );}.elementor-kit-10 button,.elementor-kit-10 input[type="button"],.elementor-kit-10 input[type="submit"],.elementor-kit-10 .elementor-button{background-color:var( --e-global-color-primary );font-family:var( --e-global-typography-2084db9-font-family ), Sans-serif;font-size:var( --e-global-typography-2084db9-font-size );border-radius:50px 50px 50px 50px;padding:15px 15px 15px 15px;}.elementor-kit-10 e-page-transition{background-color:#FFBC7D;}.elementor-kit-10 a{color:var( --e-global-color-primary );}.elementor-kit-10 h1{font-family:var( --e-global-typography-33b286d-font-family ), Sans-serif;font-size:var( --e-global-typography-33b286d-font-size );line-height:var( --e-global-typography-33b286d-line-height );}.elementor-kit-10 h2{font-family:var( --e-global-typography-43a2267-font-family ), Sans-serif;font-size:var( --e-global-typography-43a2267-font-size );line-height:var( --e-global-typography-43a2267-line-height );}.elementor-kit-10 h3{font-family:var( --e-global-typography-ecffab8-font-family ), Sans-serif;font-size:var( --e-global-typography-ecffab8-font-size );line-height:var( --e-global-typography-ecffab8-line-height );}.elementor-kit-10 h4{font-family:var( --e-global-typography-a16b79e-font-family ), Sans-serif;font-size:var( --e-global-typography-a16b79e-font-size );}.elementor-kit-10 h5{font-family:var( --e-global-typography-ceeb8bd-font-family ), Sans-serif;font-size:var( --e-global-typography-ceeb8bd-font-size );line-height:var( --e-global-typography-ceeb8bd-line-height );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1280px;}.e-con{--container-max-width:1280px;--container-default-padding-top:0px;--container-default-padding-right:0px;--container-default-padding-bottom:0px;--container-default-padding-left:0px;}.elementor-widget:not(:last-child){--kit-widget-spacing:30px;}.elementor-element{--widgets-spacing:30px 30px;--widgets-spacing-row:30px;--widgets-spacing-column:30px;}{}h1.entry-title{display:var(--page-title-display);}@media(max-width:1366px){.elementor-kit-10 h1{font-size:var( --e-global-typography-33b286d-font-size );line-height:var( --e-global-typography-33b286d-line-height );}.elementor-kit-10 h2{font-size:var( --e-global-typography-43a2267-font-size );line-height:var( --e-global-typography-43a2267-line-height );}.elementor-kit-10 h3{font-size:var( --e-global-typography-ecffab8-font-size );line-height:var( --e-global-typography-ecffab8-line-height );}.elementor-kit-10 h4{font-size:var( --e-global-typography-a16b79e-font-size );}.elementor-kit-10 h5{font-size:var( --e-global-typography-ceeb8bd-font-size );line-height:var( --e-global-typography-ceeb8bd-line-height );}.elementor-kit-10 button,.elementor-kit-10 input[type="button"],.elementor-kit-10 input[type="submit"],.elementor-kit-10 .elementor-button{font-size:var( --e-global-typography-2084db9-font-size );}}@media(max-width:1024px){.elementor-kit-10 h1{font-size:var( --e-global-typography-33b286d-font-size );line-height:var( --e-global-typography-33b286d-line-height );}.elementor-kit-10 h2{font-size:var( --e-global-typography-43a2267-font-size );line-height:var( --e-global-typography-43a2267-line-height );}.elementor-kit-10 h3{font-size:var( --e-global-typography-ecffab8-font-size );line-height:var( --e-global-typography-ecffab8-line-height );}.elementor-kit-10 h4{font-size:var( --e-global-typography-a16b79e-font-size );}.elementor-kit-10 h5{font-size:var( --e-global-typography-ceeb8bd-font-size );line-height:var( --e-global-typography-ceeb8bd-line-height );}.elementor-kit-10 button,.elementor-kit-10 input[type="button"],.elementor-kit-10 input[type="submit"],.elementor-kit-10 .elementor-button{font-size:var( --e-global-typography-2084db9-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:1024px;}.e-con{--container-max-width:1024px;}}@media(max-width:767px){.elementor-kit-10 h1{font-size:var( --e-global-typography-33b286d-font-size );line-height:var( --e-global-typography-33b286d-line-height );}.elementor-kit-10 h2{font-size:var( --e-global-typography-43a2267-font-size );line-height:var( --e-global-typography-43a2267-line-height );}.elementor-kit-10 h3{font-size:var( --e-global-typography-ecffab8-font-size );line-height:var( --e-global-typography-ecffab8-line-height );}.elementor-kit-10 h4{font-size:var( --e-global-typography-a16b79e-font-size );}.elementor-kit-10 h5{font-size:var( --e-global-typography-ceeb8bd-font-size );line-height:var( --e-global-typography-ceeb8bd-line-height );}.elementor-kit-10 button,.elementor-kit-10 input[type="button"],.elementor-kit-10 input[type="submit"],.elementor-kit-10 .elementor-button{font-size:var( --e-global-typography-2084db9-font-size );}.elementor-section.elementor-section-boxed > .elementor-container{max-width:767px;}.e-con{--container-max-width:767px;}}/* Start custom CSS */:root {
  /* Colori */
  --e-global-color-primary: #404E7C;
  --e-global-color-secondary: #80A4ED;
  --e-global-color-accent: #5DC881;
  --bg-site: #F0FAF3;

  /* Tipografia Fluida */
  --font-xl: clamp(48px, 8vw, 93px);
  --font-h1: clamp(32px, 4.5vw, 47px);
  --font-h2: clamp(28px, 4vw, 42px);
  --font-p-lead: clamp(19px, 2.2vw, 24px);
}

/* Text Styles */
.text-balance {text-wrap:balance;}
.text-nowrap{text-wrap:nowrap}
.mt-0, .mt-0 * {margin-top:0!important;}
.mb-0, .mb-0 * {margin-bottom:0!important;}
.m-0, .m-0 * {margin:0!important;}
/* Text Underline */

.underline u{
   box-shadow: inset 0 -16px 0  var(--e-global-color-accent), inset 0 -30px 0 transparent !important;}
u  {
box-shadow: inset 0 -10px 0 #edf2f5, inset 0 -35px 0 var(--e-global-color-accent) !important;
    text-decoration: none!important;
}


/* Bottone */
#btn-pd-v1 .elementor-button-icon {
    background-color: white;
    padding: 10px!important;
    border-radius: 100px;
    width: 40px;
    height: 40px;
}

#btn-pd-v1 .elementor-button svg{ fill: var(--e-global-color-text)!important;font-size:20px!important;}
#btn-pd-v1 .elementor-button-text {display:inline!important;align-content:center;}

/* solo frecce */
.elementor-swiper-button-prev .e-font-icon-svg, .elementor-swiper-button-next .e-font-icon-svg {
    background-color: white;
    padding: 5px!important;
    border-radius: 100px;
    box-sizing:content-box;
    width: 30px;
    height: 30px;
    /*fill: var(--e-global-color-text)!important;*/
    /*font-size:20px!important;*/
}
.elementor-swiper-button-prev {padding-right:25px!important;}
.elementor-swiper-button-next {padding-left:25px!important;}

/* header */ 
header .elementor-sticky--effects {
    background:white;
    box-shadow:0 5px 25px 0 rgba(64, 78, 124, 0.2);
}


/* Specialità Mediche */
.border-sfumato-azul {
padding: 8px 16px 8px 16px;
border-left-style: solid;
border-left-width: 3px;
border-image-source: linear-gradient(to bottom, #b3dced 0%, #29b8e5 50%, #bce0ee 100%);
border-image-slice: 1;
}

.specializzazioni-pagine .elementor-icon-box-description a:hover {color:var(--e-global-color-accent);}

.loop-menu-specializzazioni .elementor-cta__bg { background-size:contain!important;background-position:center top!important;background-repeat:no-repeat;}
.loop-menu-specializzazioni .elementor-cta__button.elementor-button:hover, .loop-menu-specializzazioni .elementor-cta__title:hover{color:var(--e-global-color-accent)!important;}
.loop-menu-specializzazioni .elementor-cta__title {font-weight:bold;color:var(--e-global-color-primary);margin-bottom:4px!important;}
.loop-menu-specializzazioni .elementor-cta__description {font-size: var(--e-global-typography-28b3cbd-font-size)!important;margin-bottom:4px!important;}

/* Singole pagine di Specializzazione */
.rotate-icon .elementor-button-icon svg{rotate: 0deg;}

/* Carosello Medici  */
#carosello-professionisti .swiper-wrapper {
    justify-content:center;
}

.filter-professionisti .taxonomy-filter {display: flex;align-items: flex-start;gap: 20px;flex-wrap: wrap; justify-content:center;}
.no-post {min-height:300px;}

.filter-professionisti .bpfwe-select2 {box-shadow:rgba(208,208,208,0.2) 5px 5px 10px; border-radius: 20px;}

.filter-professionisti {font-family: var(--e-global-typography-28b3cbd-font-family), Sans-serif;
    font-size: var(--e-global-typography-28b3cbd-font-size);
    font-weight: var(--e-global-typography-28b3cbd-font-weight);
}

/* FAQ */
.faq-wrapper .e-n-accordion-item {border:1px solid var(--e-global-color-accent);border-radius:20px;box-shadow: 5px 5px 10px 0px rgba(206, 206, 206, 0.2);}

/* 1. COMPORTAMENTO DI BASE (Valido per le 18 specializzazioni standard) */
/* Mostriamo solo la riga standard e nascondiamo le altre due */
.riga-standard {
    display: flex !important; /* o block, a seconda del layout di Elementor */
}
.riga-medicina-lavoro,
.riga-punto-prelievi {
    display: none !important;
}

/* 2. COMPORTAMENTO PER PAGINA MEDICINA DEL LAVORO */
/* Se siamo qui, nascondiamo lo standard e mostriamo solo la riga lavoro */
.term-medicina-del-lavoro .riga-standard {
    display: none !important;
}
.term-medicina-del-lavoro .riga-medicina-lavoro {
    display: flex !important;
}

/* 3. COMPORTAMENTO PER PAGINA PUNTO PRELIEVI */
/* Se siamo qui, nascondiamo lo standard e mostriamo solo la riga prelievi */
.term-punto-prelievi .riga-standard {
    display: none !important;
}
.term-punto-prelievi .riga-punto-prelievi {
    display: flex !important;
}

/* Se il box del testo è completamente vuoto, nascondi l'intera riga (spunta inclusa) */
.obiettivi-specializzazioni .elementor-icon-list-item:has(.elementor-icon-list-text:empty) {
    display: none !important;
}

/* * OBIETTIVI /
/* Sicurezza extra: nasconde la riga anche se ACF lascia un paragrafo invisibile */
.obiettivi-specializzazioni.elementor-icon-list-item:has(.elementor-icon-list-text > p:empty) {
    display: none !important;
}

/* Rimuove lo spazio vuoto in alto SOLO per le 3 pagine senza icona */
body.term-medicina-del-lavoro .elementor-element-2b2bffa,
body.term-punto-prelievi .elementor-element-2b2bffa,
body.term-medicina-dello-sport .elementor-element-2b2bffa,
body.term-medicina-sportiva .elementor-element-2b2bffa {
    padding-top: 20px !important; /* Modifica questo 20px in base a quanto spazio vuoi lasciare in alto */
}
/* Se avevi usato il margine sul bottone "Torna alla home" per fare spazio all'icona, azzeriamo anche quello: */
body.term-medicina-del-lavoro .elementor-element-66c35d23,
body.term-punto-prelievi .elementor-element-66c35d23,
body.term-medicina-dello-sport .elementor-element-66c35d23,
body.term-medicina-sportiva .elementor-element-66c35d23 {
    margin-top: 0 !important;
}

/* NEWS e SING ARTICOLO */
.contenuto-news ul {
    padding-inline-start:16px!important;
}
.contenuto-news ul li{padding-bottom:8px;}

.paragrafo-aggiuntivo h3 {
    margin-block-start:0.5em;
    margin-block-end:0.5em;}

/* MEDIA QUERY */
@media only screen and (min-width:1025px) {
    #grid-professionisti .elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(31%, max-content));
    justify-content: center;
    }
}
@media only screen and (min-width:1367px) {
    #grid-professionisti .elementor-loop-container {
    grid-template-columns: repeat(auto-fit, minmax(23%, max-content));
    justify-content: center;}
}

@media only screen and (max-width:767px) {
    .main-menu-wrapper {background-color:white;}
    body.term-medicina-del-lavoro .elementor-element-2b2bffa,
    body.term-punto-prelievi .elementor-element-2b2bffa,
    body.term-medicina-dello-sport .elementor-element-2b2bffa,
    body.term-medicina-sportiva .elementor-element-2b2bffa {
        padding-top: 10px !important; /* Su smartphone riduciamo ancora lo spazio */
    }
}/* End custom CSS */