/*
Theme Name: CAAF Lombardia
Theme URI: https://tuosito.it
Author: Valerio Antonetti
Author URI: https://tuoportfolio.it
Description: Tema WordPress personalizzato per CAAF Lombardia basato su Bootstrap e Montserrat.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: caaf-lombardia
*/

/* Importazione font Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;700&display=swap');

/* RESET GENERALE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
	overflow-x: hidden;
}
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #E32A33;
    color: #fff;
    line-height: 1.6;
	overflow-x: hidden;
}

/* COLORI PRINCIPALI */
:root {
    --primary-color: #E32A33; /* Rosso principale */
    --secondary-color: #f8f9fa; /* Grigio chiaro */
    --dark-color: #343a40; /* Nero scuro */
    --light-color: #ffffff; /* Bianco */
    --accent-color: #F08C28; /* Giallo accento */
}

.site-header{
	    transition: background-color 0.3s ease, height 0.3s ease;
}
a {
    color: #f68b1e;
}
div#wa-chat img {
    width: 70px;
    position: fixed;
    right: 50px;
    bottom: 50px;
    animation: pulse 2s infinite;
	z-index: 1;
}

div#mobile-news {
    display: none;
}

.btn:hover {
    background: #E32A33;
    transform: scale(1.05);
    transition: 0.2s all;
}
.header-wrapper{
    margin: 0 auto;
	max-width: 1800px;
}
.site-header-desktop {
  position: fixed;
  top: -20px;
  z-index: 1000;
  background: linear-gradient(#d82733 0%, rgba(217, 39, 53, 0) 100%);
  transition: all 0.3s ease-in-out;
  padding: 30px 0;
  box-shadow: none;
width: 100%;
}

.site-header-desktop.scrolled {
  padding: 15px 0;
  background: linear-gradient(#d82733 0%, rgba(217, 39, 53, 0) 100%);
}
/* NAVBAR */
.navbar {
    background-color: var(--primary-color) !important;
    padding: 15px 0;
}

.navbar a {
    color: var(--light-color) !important;
    font-weight: 500;
}

.navbar a:hover {
    color: var(--accent-color) !important;
}

/* HEADER */
.site-header {
    text-align: center;
    padding: 40px 20px;
    color: var(--light-color);
}
a.logo img {
    width: 180px;
    margin-top: -55px;
}
.site-header h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

/* BOTTONI */
.btn-custom {
    background-color: var(--accent-color);
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    display: inline-block;
}

.btn-custom:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

/* SEZIONI */
.section {
    padding: 60px 20px;
    text-align: center;
}

.section-dark {
    background: var(--dark-color);
    color: var(--light-color);
}

/* CARD SERVIZI */
.card-service {
    background: var(--light-color);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.card-service h3 {
    font-weight: 600;
    color: var(--primary-color);
}

/* FOOTER */
.site-footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    text-align: center;
    padding: 40px 20px;
}

.site-footer a {
    color: var(--accent-color);
    font-weight: 500;
}

.site-footer a:hover {
    color: var(--light-color);
}

/* FORM NEWSLETTER */
.newsletter {
    max-width: 800px;
    margin: 0 auto;
}

.newsletter input {
    width: 80%;
    padding: 10px;
    border: 1px solid var(--light-color);
    border-radius: 5px;
}

.newsletter button {
    width: 20%;
    background: var(--accent-color);
    border: none;
    padding: 10px;
    cursor: pointer;
}

.newsletter button:hover {
    background: var(--dark-color);
    color: var(--light-color);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .site-header h1 {
        font-size: 2rem;
    }

    .btn-custom {
        width: 100%;
    }
}

/* HEADER GENERALE */
.site-header {
    padding: 15px 0;
    position: relative;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* LOGO */
.logo img {
    display: block;
}

/* MENU DESKTOP */
.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 100px;
    background: white;
    padding: 15px 30px;
    border-radius: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	white-space: nowrap;
	    gap: 60px;
}

.main-nav .nav-list li {
    list-style: none;
}

.main-nav .nav-list a {
    text-decoration: none;
    font-weight: 600;
    color: #000;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav .nav-list a:hover,
.main-nav .nav-list .current-menu-item a {
    color: #E32A33;
}

.main-nav .nav-list .current-menu-item a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E32A33;
}

/* PULSANTE PRENOTA ONLINE */
.btn-prenota {
    background-color: #F08C28;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 400;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3sease;
    filter: drop-shadow(0px 13px 36px rgba(0, 0, 0, 0.16));
    animation: pulse 2s infinite;
	margin-top: -5px;
}

.btn-prenota:hover {
    background-color: #cc7a00;
}

/* MENU MOBILE */
.mobile-menu {
    display: none;
    align-items: center;
    gap: 15px;
}

/* HAMBURGER MENU */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 5px;
}



/* MENU MOBILE APERTO */
.mobile-nav-list {
    list-style: none;
    padding: 0;
}

.mobile-nav-list li {
    padding: 10px 0;
}

.mobile-nav-list a {
    text-decoration: none;
    font-weight: 600;
    color: #E32A33;
}

/* Menu mobile a schermo intero */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%; /* Nasconde il menu fuori dallo schermo */
    width: 100%;
    height: 100vh;
    background: #fff;
    box-shadow: none;
    transition: left 0.3s ease-in-out;
    padding: 50px 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Mostra il menu mobile quando è aperto */
.mobile-nav.open {
    left: 0;
}

/* Overlay per sfondo quando il menu è aperto */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Stile del pulsante di chiusura */
.close-menu {
    background: none;
    border: none;
    font-size: 32px;
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

/* Stile del menu mobile */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.mobile-nav-list li {
    margin: 20px 0;
}

.mobile-nav-list a {
    text-decoration: none;
    font-size: 24px;
    color: #fff;
    font-weight: bold;
    transition: color 0.3s;
}

.mobile-nav-list a:hover {
    color: #f68b1e;
}

/* Hamburger menu stile */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 4px;
    background: #000;
    transition: 0.3s;
}

/* Animazione dell'hamburger quando il menu è aperto */
.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


p.excpert-text {
    min-height: 120px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {

    .mobile-menu {
        display: flex;
    }
    
    .mobile-nav.active {
        display: block;
    }
}

/* HERO SECTION */
.hero-section {
    position: relative;
    text-align: center;
    padding: 50px 0;
    overflow: hidden;
}
#altezza-fix{
	height:180px!important
}
.promo-site a {
    color: #fff;
    text-decoration: none;
}
@media screen and (max-width: 1024px) and (orientation: portrait) {
  .hero-section  {
    padding-top: 25%;
  }
@media (min-width: 1024px) and (max-width: 1366px) {
    .hero-section  {
    padding-top: 25%;
  }
nav.servizi-menu {
    margin-top: 10%;
}
.about-hero {
    margin-top: 10% !important;
}
}
	
.about-hero {
    margin-top: 10% !important;
}

.servizi-menu  {
    margin-top: 25%!important;
  }
}
.hero-content {
    margin-bottom: 20px;
}

.hero-content h1 {
    font-weight: 700;
    font-size: 2.5rem;
}

.hero-content p {
    font-size: 1.2rem;
}

/* IMMAGINE HERO */
.hero-image {
    position: relative;
    max-width: 100%;
    text-align: center;
}

.hero-image img {
    width: 100%;
}
 @keyframes pulse {
            0% {
                transform: scale(1);
            }

            50% {
                transform: scale(1.1);
            }

            100% {
                transform: scale(1);
            }
        }

/* PULSANTI "+" */
.plus-btn {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border: 0px solid #E32A33;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: 0.3s;
	animation: pulse 2s infinite;
}

.plus-btn:hover {
    background: #E32A33;
    color: white;
}
.btn-primary {
    background: #e30613;
    color: white;
    font-weight: 400;
	border: 0;
    transition: background 0.3s ease-in-out;

}
/* POPUP */
.hero-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
}
h2#popup-title {
    color: #333;
}
p#popup-content{
    color: #333;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
    width: 400px;
    max-width: 90%;
}

.popup-content h2 {
    font-size: 1.5rem;
    font-weight: bold;
}

.popup-content p {
    font-size: 1rem;
}

.popup-content .btn-custom {
    background: #E32A33;
    color: white;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.close-popup {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* MOSTRA POPUP */
.hero-popup.active {
    display: flex;
}

/* SEZIONE SCADENZE */
.scadenze-section {
    padding: 20px 0;
    text-align: center;
}

.scadenze-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.2);
    padding: 15px 25px;
    border-radius: 50px;
    max-width: 800px;
    margin: 0 auto;
}


.scadenze-text {
    color: white;
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 0;
}

.scadenze-text .highlight {
    font-weight: 700;
}

.scadenze-btn {
    background: white;
    color: black;
    font-size: 16px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}

.scadenze-btn:hover {
    background: #f5f5f5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .scadenze-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
	#altezza-fix{
		display: none;
	}
}

/* SEZIONE CAAF INFO */
.caaf-info-section {
    padding: 50px 0;
    text-align: center;
    color: white;
}

.caaf-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.caaf-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
}

/* BOX STATISTICHE */
.caaf-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.stat-box {
    background: white;
    color: #e30613;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    max-width: 300px;
    flex: 1;
}

.stat-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-box p {
    font-size: 16px;
}

/* CTA BUTTON */
.caaf-btn {
    display: inline-block;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    transition: background 0.3s ease-in-out;
}
.hero-image .plus-btn {
    opacity: 0.7 !important;
}
.caaf-btn:hover {
    background: white;
    color: #e30613;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .caaf-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-box {
        max-width: 90%;
        margin-bottom: 15px;
    }
	

}

/* SEZIONE SERVIZI */
.servizi-section {
    padding: 50px 0;
    text-align: center;
    color: white;
}
section#content-service h2, h3, h4, h5, h6 {
    font-weight: 700;
}

.lista-documenti li a {
    width: 100%;
    border: 1px solid;
    padding: 10px;
    border-radius: 50px;
}
.lista-documenti img {
    margin-right: 10px;
}
.lista-documenti a {
    font-weight: 500!important;
}
.servizi-title {
    font-size: 24px;
    margin-bottom: 20px;
}

ul.lista-documenti li:first-child {
    margin-top: 30px;
}

.single-servizi .servizi-section {
    margin-top: 50px;
}

.single-servizi .app-promo-section {
    padding-top: 50px;
}


/* CAROUSEL */
.servizi-carousel {
    position: relative;
    margin: auto;
    overflow: hidden;
}

.swiper-slide {
    display: flex;
    justify-content: center;
}

.servizio-card {
    display: flex;
    background: white;
    color: #e30613;
    border-radius: 30px;
    max-width: 700px;
    align-items: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

/* IMMAGINE */
.servizio-img {
    width: 40%;
    flex-shrink: 0;
    position: relative;
}

.servizio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    height: auto;
    left: 0;
}

/* CONTENUTO */
.servizio-content {
    width: 60%;
    padding: 20px;
    text-align: left;
}
.servizio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: absolute;
    height: auto;
    left: -40px;
    top: -180px;
}

.swiper {
    padding-top: 6% !important;
}

.servizio-content h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
}

.servizio-content p {
    font-size: 16px;
    margin-bottom: 15px;
}

.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: visible!important;
    backface-visibility: visible!important;
}

/* PULSANTI */
.servizio-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
	font-weight: 400;
}

.btn-red {
    background: #e30613;
    color: white;
	font-weight: 400;
}

.btn-red:hover {
    background: #c0000b;
}

.btn-orange {
    background: #f68b1e;
    color: white;
}

.btn-orange:hover {
    background: #d97712;
}

.btn-white {
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    margin-top: 20px;
}

.btn-white:hover {
    background: white;
    color: #e30613;
}

/* Swiper Navigation */
.swiper-button-prev, .swiper-button-next {
    color: white;
}

.swiper-pagination {
    margin-top: 10px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .servizio-card {
        flex-direction: column;
        text-align: center;
    }

    .servizio-img {
        width: 100%;
        height: 200px;
    }

    .servizio-img img {
        border-radius: 30px 30px 0 0;
    }

    .servizio-content {
        width: 100%;
        padding: 20px;
    }
}


.swiper-slide {
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
    opacity: 0.7; /* Slide laterali piÃ¹ trasparenti */
}

.swiper-slide-active  .btn-orange {
    background: #f68b1e;
    color: white;
    font-size: 13px;
}



.swiper-slide-active .servizio-content p {
    font-size: 13px;
    margin-bottom: 15px;
}

.swiper-slide-active .btn-red {
    background: #e30613;
    color: white;
    font-size: 13px;
    font-weight: 400;
}


.servizio-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.servizio-img img {
    max-width: 100%;
    border-radius: 30px;
}

.swiper-pagination {
    bottom: 20px !important;
}

.swiper-wrapper{
	padding-bottom: 80px!important;
}


/** SEDI ***/
input#search-input {
    border-radius: 40px;
}
.results-container {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 10px;
    position: relative;
    padding-left: 20px;
    overflow: hidden;
}

#results {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px; /* Distanza tra le card */
}

.card-service {
	color: #E32A33;
    flex: 0 0 auto;
    background: white;
    border-radius: 30px;
    padding: 15px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
	text-align:left;
}
.card-service h4 {
    font-size: 20px;
    font-weight: 700;
}

.card-service {
    min-height: 210px;
}

.card-service a{
	color: #E32A33;
    text-decoration: none;
}

.gradient-gg {
    position: absolute;
    right: 0;
    top: 0;
}


.icon-sede{
    width: 20px; /* Dimensione icona */
    height: auto;
    margin-right: 8px; /* Spazio tra icona e testo */
    vertical-align: middle;
}

div#results {
    padding: 20px 0;
}
.search-container {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    border: 2px solid #ddd;
    padding: 5px;
}

.search-icon {
    width: 20px;
    height: auto;
    margin-left: 10px;
}

#search-input {
    border: none;
    outline: none;
    flex: 1;
    padding: 10px;
    border-radius: 50px;
}
form#search-form {
    max-width: 800px;
    margin: 0 auto;
}
#search-form  .input-group-text {
    border: 0;
    background: no-repeat;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: var(--swiper-navigation-size);
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
    color: #fff;
}

span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #fff !important;
}

/*** DIGITA ***/

.app-promo-section {
    color: white;
    padding: 30px 0;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
}

div#accordion-digita button {
    background: none !important;
    border: 0 !important;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.3) !important;
}
.accordion-button:not(.collapsed)::after {
    background-image: var(--bs-accordion-btn-active-icon);
    transform: var(--bs-accordion-btn-icon-transform);
    color: #fff !important;
}
.accordion-item {
    color: var(--bs-accordion-color);
    background-color: var(--bs-accordion-bg);
    border: var(--bs-accordion-border-width) solid var(--bs-accordion-border-color);
    color: #fff !important;
    background: transparent!important;
    border: 0!important;
}

.accordion-button:not(.collapsed) {

    box-shadow: none!important;
}


/* SFONDO DIVERSO DELLA COLONNA DESTRA */
.promo-bg {
    background: rgba(255, 255, 255, 0.15);
    padding: 60px;
    border-radius: 30px;
    position: relative;
    padding-left: 120px;
}
/* STILE DEL LOGO CON SFONDO BIANCO E OMBRA */
.promo-logo-container {
    background: white;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    margin-bottom: 20px;
    width: 111%;
    margin-top: -90px !important;
}
.promo-logo {
    width: 180px;
}

/* TESTO */
.promo-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
}

.promo-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
}
/* BOTTONI DI DOWNLOAD E DIGITACGIL.IT ALLINEATI */
.app-download-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.app-download-buttons {
    display: flex;
    gap: 15px;
}

.app-download-buttons img {
    width: 150px;
    transition: transform 0.3s ease;
}

.app-download-buttons img:hover {
    transform: scale(1.1);
}

/* TESTO DEL SITO ALLINEATO A DESTRA */
.promo-site {
    font-size: 26px;
    font-weight: bold;
    text-align: right;
    flex-grow: 1;
}

.promo-dot {
    color: black;
    font-weight: bold;
}

/* SOVRAPPOSIZIONE DEL TELEFONO ALLO SFONDO */
.phone-container {
    position: relative;
    z-index: 2;
}


.phone-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}


/* Sovrapposizione del telefono allo sfondo */
.app-preview-img {
    width: 100%;
    /* position: absolute; */
    left: 0;
    top: -28%;
    padding-left: 40px;
}


/***BANNER ***/
/* Stile generale del banner */
.banner-section {
    background-color: #E52B2D; /* Sfondo rosso */
    padding: 60px 0;
    display: flex;
    justify-content: center;
}

/* Contenitore del banner */
.banner-wrapper {
    background: white;
    display: flex;
    align-items: center;
    padding: 40px;
    border-radius: 25px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    margin: 0 auto;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
    color: #E32A33;
}
/* Sezione immagine */
.banner-image {
    flex: 1;
}

.banner-image img {
    width: 100%;
    border-radius: 20px;
}

/* Sezione testo */
.banner-content {
    flex: 2;
    padding-left: 40px;
}

.banner-content h2 {
    font-size: 28px;
    font-weight: bold;
    color: #E32A33;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Bottone personalizzato */
.btn-banner {
    background-color: #E32A33;
    padding: 12px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-banner:hover {
    background-color: #900000;
}
/*** NEWS ***/
/* Stile generale della sezione news */
.news-section {
    padding: 60px 0;
    text-align: center;
}

.news-title {
    font-size: 28px;
    color: white;
    margin-bottom: 10px;
}

.news-subtitle {
    font-size: 16px;
    color: white;
    max-width: 1200px;
    margin: 0 auto 30px;
}

/* Stile del carosello */
.carousel {
    position: relative;
    padding-bottom: 40px;
}

/* Assicura che i post siano ben allineati */
.carousel-item {
    transition: transform 0.5s ease-in-out;
}

/* Stile della card con immagine di sfondo */
.news-card {
    width: 100%;
    height: 450px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Stile del box bianco con overlay */
.news-overlay {
    position: absolute;
    bottom: 10%;
    width: 80%;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px;
    text-align: left;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    left: 10%;
    border-radius: 20px;
}

/* Stile del titolo con massimo 2 righe */
.news-title-box {
    font-size: 18px;
    font-weight: bold;
    color: #000;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
}

/* Contenitore per la data e il pulsante */
.news-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Stile della data */
.news-date {
    font-size: 14px;
    color: #777;
    margin-bottom: 0;
}

/* Pulsante "LEGGI" */
.btn-news {
    background-color: #E32A33;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-news:hover {
    background-color: #900000;
}


/* Bottone Archivio News */
.news-archive {
    margin-top: 20px;
}

.btn-archive {
    background-color: white;
    color: #E32A33;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: background 0.3s ease;
}

.btn-archive:hover {
    background-color: #ddd;
}


/* FOOTER STYLES */
.footer-section {
    background-color: #fff;
    padding: 50px 0;
    text-align: center;
	    border-radius: 20px 20px 0 0;
	    margin-top: 70px;
}

/* Titolo */
.footer-title {
    font-size: 26px;
    font-weight: bold;
    color: #000;
    margin-bottom: 10px;
}

/* Sottotitolo */
.footer-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}

/* FORM NEWSLETTER */
.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 30px;
    text-align: center;
    font-size: 16px;
}

.newsletter-form button {
    background-color: #B70000;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.newsletter-form button:hover {
    background-color: #900000;
}

/* LINEA DIVISORIA */
.footer-divider {
    width: 100%;
    height: 1px;
    background-color: #ddd;
    margin: 30px 0;
}

/* LOGO */
.footer-logo img {
    max-width: 100px;
    margin-bottom: 10px;
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    color: #000;
    font-size: 22px;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #B70000;
}

/* FOOTER LINK NAVIGAZIONE */
.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin: 0 15px;
    font-size: 16px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #B70000;
}

/* INFO AZIENDALE */
.footer-info {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}
/* ðŸ“± SISTEMA LA HEADER SU MOBILE */
@media (max-width: 991px) {
    .header-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    /* Nasconde il pulsante "Prenota Online" */
    .btn-prenota {
        display: none !important;
    }

    /* Sposta il logo al centro */
    .logo {
        margin: 0 auto;
    }

    /* Sposta il menu mobile a sinistra */
    .mobile-menu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* Pulsante hamburger a sinistra */
    .hamburger-menu {
        position: absolute;
        left: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .hamburger-menu span {
        width: 30px;
        height: 3px;
        background: white;
        display: block;
        transition: 0.3s;
    }

    /* Icona telefono a destra */


    .call-icon:hover {
        transform: scale(1.1);
    }
	
	.banner-wrapper {
    background: white;
    display: flex;
    align-items: center;
    padding: 20px;
    border-radius: 25px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 40px;
    padding-top: 40px;
}

}


/* BARRA NAVIGAZIONE SERVIZI */
.servizi-menu {
    /* position: fixed; */
    top: 0;
    left: 0;
    width: 100%;
    /* background: #d00; */
    z-index: 999;
    padding: 10px 0;
    text-align: center;
    border-top: 1px solid rgba(225, 225, 225, 0.4);
    border-bottom: 1px solid rgba(225, 225, 225, 0.4);
}
.servizi-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.servizi-menu ul li {
    display: inline-block;
}

.servizi-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: 0.3s;
}
nav.servizi-menu li a {
    font-weight: 400;
}

nav.servizi-menu  .current a{
    font-weight: 700!important;
}

/* ELEMENTO ATTIVO */
.servizi-menu ul li.current a {
    border-bottom: 2px solid white;
}


/**** SERVIZIO CONTENT ***/

.lista-spese {
    list-style: none;
    padding: 0;
}

.lista-spese li {
    border-top: 1px solid #fff;
    padding: 10px 0;
}

.lista-spese li:last-child {
    border-bottom: 1px solid #fff;
}

.lista-spese a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.lista-documenti {
    list-style: none;
    padding: 0;
}

.lista-documenti li {
    background: white;
    margin: 10px 0;
    border-radius: 30px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.lista-documenti a {
    text-decoration: none;
    color: #D00;
    font-weight: bold;
    display: flex;
    align-items: center;
    width: 100%;
}

.lista-documenti i {
    margin-right: 10px;
}

.documenti-card {
    background: white;
    border-radius: 20px;
}

.btn-scarica {
    background: #D00;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
}


/**** SINGLE ARTICOLO ***/
/* Hero Image */
.hero-article img {
    max-height: 450px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

/* Meta Info */
.article-meta p {
    font-size: 14px;
    color: #fff !important;
}

/* Contenuto Articolo */
.article-content {
    font-size: 18px;
    line-height: 1.8;
    text-align: justify;
}

/* Sidebar */
.sidebar {
    border-radius: 15px;
    padding: 20px;
}

/* Box Autore */
.author-box img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid white;
}

.author-box h5 {
    color: #fff;
    margin-top: 10px;
}

.author-box p {
    font-size: 14px;
    color: #f8d7da;
}

/* Articoli Correlati */
.related-articles .card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.related-articles .card:hover {
    transform: translateY(-5px);
}

.related-articles .card-title a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.related-articles .card-title a:hover {
    color: #ffebee;
}

.related-articles .card-body {
    padding: 15px;
}


div#contenuto-articolo img {
    border-radius: 25px !important;
}
.breadcrump a {
    color: #fff!important;
}
.breadcrumb-wrapper a {
    color: #fff;
}

.about-text h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

.locations .results-container .col-md-4 {
    max-width: 420px;
}
.locations .results-container .indirizzo {
    text-wrap: initial;
}
.about-text {
    padding-left: 50px;
}

.page-template-chi-siamo .caaf-btn {
    display: none!important;
}

.page-template-chi-siamo .caaf-description {
    display: none;
}

.page-template-chi-siamo  .caaf-title {
    display: none;
}

.page-template-chi-siamo  .stat-box {
    max-width: 33.33%;
	padding: 50px 20px;
}

.article-content p {
    color: #fff;
}
div#contenuto-articolo .article-meta h1 {
    color: #fff;
}
.contact-box {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 20px;
}

.contact-box {
    background: #fff;
    border-radius: 30px;
    padding: 30px;
    margin-bottom: 20px;
    width: 80%;
}

.contact-box strong {
    font-size: 24px;
}

.contact-box strong img {
    width: 25px;
}

.contact-box h3 {
    color: #E32A33;
}

.contact-box p {
    color: #222;
}

section.contact-section {
    padding-top: 50px;
}

.contact-box-form input {
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
	width: 100%
}

.contact-box-form textarea {
    background: rgba(255, 255, 255, 0.15);
    border: 0;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
	width: 100%
}

.contact-box-form label{
	width:100%;
}

input[type="checkbox"] {
    float: left;
    width: 30px;
    padding: 0;
    margin-top: 5px;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 80%;
    background: #fff;
    color: #E32A33;
    font-size: 18px;
	margin: 0 10%;
}
/* Adattamento per Mobile */
@media (max-width: 768px) {
    .col-md-8 {
        width: 100%;
    }

    .col-md-4 {
        margin-top: 20px;
        width: 100%;
    }
}

/** PAGINA NEWS ***/
/* Ultima News in evidenza */
.featured-news {
    background-color: #fff;
    border-radius: 25px;
    padding: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.featured-news img {
    border-radius: 25px;
}

.featured-news h2 a {
    color: #e30613;
    text-decoration: none;
}
/* Card News Stile Quotidiano */
.news-card {
    background-color: #fff;
    border-radius: 10px;
    transition: transform 0.2s ease-in-out;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card .card-title a {
    text-decoration: none;
    color: #222;
    font-weight: bold;
}

.news-card .card-title a:hover {
    color: #E14B55;
}

/* Paginazione */
.pagination {
    text-align: center;
}

.pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 4px;
    border-radius: 5px;
    background: #E14B55;
    color: #fff;
    text-decoration: none;
}

.pagination .page-numbers.current {
    background: #F08C28;
}

.title-section{
	    border-top: 1px solid rgba(225, 225, 225, 0.4);
    border-bottom: 1px solid rgba(225, 225, 225, 0.4);
	
}


div#static-results p, div#static-results a {
    color: #e30613;
    text-decoration: none;
}

div#static-results .card {
    min-height: 210px;
    border-radius: 30px !important;
}

/* PAGINA SERVIZI ***/



.page-template-servizi .servizio-card {
    border-radius: 30px;
    max-width: 1000px;
    margin: 0 auto;
	    border: 0;
}


.page-template-servizi .servizio-img img {

    border-radius: 20px;
    position: relative;
    height: auto;
    left: 0;
    top: 0;
}

div#service-archive img {
    border-radius: 20px;
}

div#service-archive p {
    color: #111;
}
.card-intro {
    min-height: 120px;
    margin-bottom: 0;
}
div#service-archive .card {
    min-height: 680px;
}

/* PAGINA CERCA ***/

.iframe-container {
    background: white;
    /* display: flex
; */
    /* align-items: center; */
    padding: 40px;
    border-radius: 25px;
    width: 100%;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
    /* max-width: 1200px; */
    /* margin: 0 auto; */
}


/* Archivio Post - Magazine Layout */
.magazine-archive {
    padding: 50px 0;
    background-color: #E32A33;
    color: #fff;
}

.archive-title {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 30px;
}

/* Sezione in evidenza */
.featured-section {
    display: flex;
    align-items: stretch;
    margin-bottom: 60px;
}

.featured-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.featured-article {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

.featured-link {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
    transition: filter 0.3s ease;
}

.featured-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 1);
    padding: 20px;
    border-radius: 5px;
}

.featured-title {
    font-size: 24px;
    font-weight: bold;
    color: #E32A33;
}

.featured-excerpt {
    font-size: 16px;
    margin-top: 10px;
	color: #222;
}

/* Notizie a Lato */
.side-news-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}

.side-news-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
	
.side-news-item:last-child {

	border-bottom: 0px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
    padding-bottom: 0;
}
	

.side-news-link {
    text-decoration: none;
    color: white;
    display: flex;
    gap: 10px;
}

.side-news-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 5px;
}

.side-news-text {
    flex: 1;
}

.side-news-title {
    font-size: 16px;
    font-weight: bold;
}

.side-news-excerpt {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
	
/*** HEADER MOBILE **/

	/* Stile dell'header desktop */

/* Stile dell'header mobile */
.site-header-mobile {
    padding: 15px 0;
    position: relative;
    z-index: 100;
}

/* Hamburger menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.hamburger-menu span {
    display: block;
    width: 30px;
    height: 4px;
    background: #fff;
    transition: 0.3s;
}

/* Menu mobile full screen */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background: #E32A33;
    transition: left 0.3s ease-in-out;
    padding: 50px 20px;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobile-nav.open {
    left: 0;
}

/* Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out;
    z-index: 1000;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Pulsante chiusura menu */
.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 82px;
    cursor: pointer;
	color: #fff;
}


/* Stile generale */
.app-promo-section {
    padding: 50px 0;
	padding-top: 0px;
}

/* Stile per la versione mobile */
.mobile-promo {
    background: #DE4650;
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

/* Logo */
.promo-logo-container {
    display: flex;
    margin-bottom: 20px;
}

/* Titolo */
.promo-title {
    font-size: 22px;
    font-weight: bold;
}

/* Sezione FAQ */
.promo-faq {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 10px 15px;
    color: #D91E35;
    border-radius: 10px;
    cursor: pointer;
    margin: 10px 0;
    font-weight: bold;
}

.promo-faq .faq-toggle {
    border: none;
    background: transparent;
    font-size: 18px;
    color: #D91E35;
    cursor: pointer;
}

/* Testo nascosto */
.faq-content {
    display: none;
    background: white;
    color: #D91E35;
    padding: 10px;
    border-radius: 10px;
    margin-top: 5px;
}

/* Sezione download */
.promo-download-text {
    font-size: 18px;
    font-weight: bold;
    margin: 20px 0;
}

.app-download-container img {
    width: 160px;
    margin: 5px;
}

/* Link del sito */
.promo-site {
    font-size: 20px;
    font-weight: bold;
    margin-top: 20px;
}

/* Allineamento colonne */
.phone-container {
    margin-top: 20px;
}

.app-preview-img {
    max-width: 100%;
}


/* Menu fisso in basso su mobile */
.mobile-fixed-menu {
    position: fixed;
    bottom: 0px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: 100%;
    /* max-width: 400px; */
    background: #E84E55;
    padding: 10px;
    border-radius: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    padding-bottom: 20px;
}

/* Pulsanti */
.fixed-btn {
    flex: 1;
    text-align: center;
    margin: 0 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
	border-radius: 5px;
}

.fixed-btn img {
    width: 100%;
    height: auto;
    max-width: 150px;
}

/* WhatsApp Button */
.whatsapp-btn {
    background: none;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    flex: 0 0 50px;
}

.whatsapp-btn img {
    width: 50px;
    height: 50px;
}

button#mdp-readabler-trigger-button {
    width: 50px;
    height: 50px;
}
span.mdp-readabler-trigger-button-icon {
    width: 180%;
    margin-left: -40%;
}

.mdp-readabler-trigger-button-box.bottom-left.mdp-entrance-fade.mdp-hover-none {
    position: fixed;
    left: 50px;
    bottom: 40px;
}

/* Nascondi su desktop */
@media (min-width: 768px) {
    .mobile-fixed-menu {
        display: none;
    }
}

.post-type-archive-sedi #ajax-results .card-service {
	margin-bottom: 20px;
	
}

/* Nascondere il desktop su mobile e viceversa */
@media (max-width: 767px) {
    .d-md-flex {
        display: none !important;
    }
}

@media (min-width: 768px) {
    .mobile-promo {
        display: none;
    }
}

/* Nascondere header desktop su mobile e viceversa */
@media (max-width: 991px) {
    .site-header-desktop {
        display: none;
    }
}

@media (min-width: 992px) {
    .site-header-mobile {
        display: none;
    }
}

@media (max-width: 768px) {
	
    a.logo img {
        width: 80%;
        margin-top:-55px;
        margin-left: 10%;
        margin-right: 10%;
    }
	a.call-icon {
    margin-right: 10px;
}
	.promo-logo-container {
    background: white;
    padding: 15px 30px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    display: inline-flex
;
    margin-bottom: 20px;
    width: 70%;
    margin-top: -90px !important;
    margin: 0 15%;
}
	
.app-download-container {
    display:contents;
    
    width: 100%;
}

.promo-site {
    text-align: left;
    margin-left: 5px;
}
	
.app-preview-img {
    width: 250px;
    max-width: 100%;
    padding-left: 0;
}
h2.promo-title{
    margin-top: 30px;
    font-weight: 400;
    font-size: 1.6em;
}
.promo-download-text {
    font-size: 1.5em;
    font-weight: 400;
	margin-bottom: 0;
}
.hero-content h1 {
    font-weight: 700;
    font-size: 1.7rem;
}
.hero-image img {
    width: 220%;
    margin-left: -60%;
}
.scadenze-wrapper {
    border-radius: 20px;
}
.caaf-title {
    font-size: 27px;
}

.servizio-card {
    background: none;
    text-align: center;
}
.servizio-img img {
    width: 80%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    position: relative;
    height: auto;
    left: 0;
    top: 0;
}
    .servizio-img {
        width: 100%;
        height: auto;
    }
	.servizio-content {

    text-align: center;
}

.servizio-content h3 {
    font-size: 22px;
    font-weight: bold;
            margin-bottom: -10px;
    color: #fff;
}

.swiper-slide-active .servizio-content p {

    display: none;
}
.servizio-buttons {
    display: block;
    gap: 10px;
    margin-top: 10px;
    align-items: center;
}
.servizio-card {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.0);
	}
.servizio-buttons .btn.btn-orange {
    display: none;
}
.servizio-buttons .btn-red {
    background: none;
    text-decoration: underline;
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 20px;
}
.banner-content p {
	text-align: center;
}
section.scadenze-section {
    margin-top: 50px;
}
    .banner-content h2 {
        font-size: 26px;
        text-align: center;
        margin-top: 20px;
    }
.banner-wrapper {
    position: relative;
	display: flow;
}
.banner-content a {
    align-items: center;
    width: 50%;
    margin: 0 25%;
}

div#wa-chat img {
    width: 50px;
    position: fixed;
    right: 10px;
    bottom: 90px;
    animation: pulse 2s infinite;
    z-index: 1000!important;
}

.mdp-readabler-trigger-button-box.bottom-left.mdp-entrance-fade.mdp-hover-none {
    position: fixed;
    left: 10px;
    bottom: 80px;
}
	
.banner-content {
    flex: 0;
    padding-left: 0px;
}

.gradient-gg {
    display: none;
}

div#service-archive .card {
    min-height: auto;
    background: #fff;
}
  .servizi-menu {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch; /* Scroll fluido su iOS */
        scrollbar-width: none; /* Nasconde la scrollbar su Firefox */
    }

    .servizi-menu::-webkit-scrollbar {
        display: none; /* Nasconde la scrollbar su Chrome, Safari */
    }
    .locations .results-container .col-md-4 {
        max-width: 340px;
    }
	div#newsCarousel {
    display: none;
}
div#mobile-news {
    display: block;
}
	
nav.servizi-menu li:first-child {
    margin-left: 40px;
}
	
.servizi-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex
; justify-content:space-between;
    gap: 20px;
}
    .servizi-menu {
        overflow-x: auto;
        white-space: nowrap;
        padding: 10px 0;
        background-color: #E32A33;
        margin-top: 0 !important;
    }

.servizi-menu ul {
    display: flex;
    flex-wrap: nowrap; /* Evita il ritorno a capo */
    gap: 15px; /* Spazio tra gli elementi */
    padding: 0;
    margin: 0;
    list-style: none;
    overflow-x: auto; /* Scroll orizzontale se serve */
    -webkit-overflow-scrolling: touch; /* Scroll fluido su mobile */
}

.servizi-menu li {
    flex: 0 0 auto;
}

.servizi-menu a {
    display: inline-block;
    padding: 10px 15px;
    color: #fff;
    background-color: transparent;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    white-space: nowrap; /* Evita che le parole vadano a capo */
}

/* Rimuove la scrollbar */
.servizi-menu::-webkit-scrollbar {
    display: none;
}

.servizi-menu {
    scrollbar-width: none; /* Firefox */
}
.hero-servizio img {
    width: 70%;
}
.hero-servizio h2 {
    text-align: center;
    margin-top: 20px;
}
    .hero-servizio p {
        text-align: center;
        text-align: justify;
        text-align-last: center;
    }
.hero-servizio  .btn-light {
    display: none;
}
section.hero-servizio {
    margin-bottom: 0;
    padding-bottom: 0 !important;
}

section#content-service {
    padding-top: 10px !important;
    text-align: center;
}

.card.documenti-card{
    margin-top: 30px;
}
.hero-servizio .fs-4 {
    text-align: center;
}
.single-servizi .servizi-section {
    margin-top: 0px;
}
.servizio-content {
    margin-bottom: 0;
    padding-bottom: 0;
}
.featured-article {
    height: 540px;
}
.featured-title {
    font-size: 18px;
}
.featured-excerpt {
    font-size: 14px;
    margin-top: 10px;
    color: #222;
    line-height: 18px;
}
h4#title-news-sb {
    font-size: 18px;
}

.page-template-news .servizi-section {
    padding-top: 0;
}
.newsletter-form {
    display: inline-table;
	width: 100%;
}
	
.newsletter-form input {
    width: 70%;
}
	
.newsletter-form button {
    background-color: #B70000;
    color: white;
    border: none;
    padding: 15px 15px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    width: 29%;
    margin-left: 1%;
}
.footer-links a {
    width: 100% !important;
    /* float: left; */
    margin: 0;
    display: block;
}
.about-text {
    padding-left: 0px;
}
.about-text h3 {
    margin-top: 30px;
    /* text-align: justify; */
    text-end: center;
    /* text-align-last: center; */
    font-size: 20px;
}
.about-text p {
    text-align: justify;
    text-align-last: left;
}
.page-template-chi-siamo .stat-box {
    max-width: 100%;

}
.page-template-chi-siamo .caaf-info-section {
    padding-top: 0;
}
.servizi-section .caaf-info-section {
    padding-top: 0;
}
.contact-box {
    width: 100%;
}
.contact-box-form {
    margin-top: 20px;
}
.hero-section {

    padding-top: 0;
}
.scadenze-section {
    padding: 0px 0;
}
.servizi-title {
    margin-bottom: 0px;
}
.servizi-section {

    padding-top: 0;
}
.swiper-slide {

    padding-top: 25px;
}
.servizio-content {
    margin-bottom: -30px;
}
.banner-section {
padding-top: 0;
    padding-bottom: 0;
}
div#results {
    padding: 20px 0;
    margin-top: 0px !important;
    padding-top: 0;
}
section.locations {
    padding-bottom: 0 !important;
    margin-bottom: -15px;
}
section.news-section {
    padding-bottom: 0;
}

.page-template-chi-siamo section.caaf-info-section {
    padding-bottom: 0;
}

.post-type-archive-servizi .servizi-section.py-5 {
    padding-bottom: 0 !important;
}
.post-type-archive-servizi .app-promo-section {
    padding-top: 75px;
}

.post-type-archive-servizi  .locations.text-center.py-5 {
    padding-top: 70px !important;
}
	
.post-type-archive-servizi .side-news-wrapper {
    padding-top: 20px;
}
.featured-section {
    display: flex
;
    align-items: stretch;
    margin-bottom: -20px;
}
.page-template-prenota .locations.text-center.py-5 {
    padding-top: 0 !important;
}
page-template-prenota .app-promo-section {
    padding: 50px 0;
    padding-top: 80px;
}
	
}
.banner-section-overlay {
    position: relative;
    height: 120vh; 
    min-height: 700px; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-wrapper-overlay {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Media Background */
.banner-media-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    border-radius:20px;
    overflow: hidden;
}

.banner-media-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 2;
}

.banner-video-bg {
    width: 100vw; 
    height: 100vh; 
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.1); 
    transition: transform 20s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.1);
}

.banner-video-iframe-bg {
    width: 100vw; 
    height: 100vh; 
    min-width: 100%;
    min-height: 100%;
    border: none;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.15); 
    Border-radius:20px
}

.banner-image-bg {
    width: 100vw; 
    height: 100vh; 
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1.05);
    transition: transform 0.5s ease;
}

.banner-section-overlay:hover .banner-image-bg {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Video con controlli (layout side) */
.banner-video {
    width: 100%;
    height: 100%;
    min-height: 400px;
    object-fit: cover;
    object-position: center center;
}

.banner-video-iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Content Overlay */
.banner-content-overlay {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    margin-bottom: 50px;
    margin-top: 30px;
    padding: 10px 10px;
    max-width: 800px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content-overlay h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-text-p {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.7;
    color: #ffffff !important;
    font-weight: 400;
}

.banner-text-p p {
color: #ffffff !important;
    margin: 0;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}


.banner-content-overlay .btn {
border: 2px solid !important;
    display: inline-block;
    padding: 10px 15px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    font-weight: 400;
    background: transparent;
    color: white;
    font-weight: 400;
    border: 0;
    margin-bottom: 10px;
transition: background 0.3s ease-in-out;
}


.banner-content-overlay .btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(227, 42, 51, 0.4),
        0 0 20px rgba(227, 42, 51, 0.3);
    background: linear-gradient(135deg, #ff3344 0%, #E32A33 100%);
}

.banner-content-overlay .btn:active {
    transform: translateY(-1px) scale(1.02);
}

.banner-content-overlay::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(255, 255, 255, 0.1) 0%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0.1) 100%);
    border-radius: 22px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.banner-content-overlay:hover::before {
    opacity: 1;
}

.video-wrapper iframe {
    width: 100%;
    height: 330px;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .banner-section-overlay {
        height: 100vh; 
        min-height: 500px;
    }
    
    .banner-content-overlay {
        padding: 40px 30px;
        margin: 0 20px;
        border-radius: 15px;
    }
    
    .banner-content-overlay h2 {
        margin-bottom: 25px;
    }
    
    .banner-text-p {
        margin-bottom: 35px;
        font-size: 1.1rem;
    }
    
    .banner-content-overlay .btn {
        padding: 15px 35px;
        font-size: 1rem;
    }
	.video-wrapper iframe {
    height: 200px;

}
div#results p {
font-size: 14px!important;
}
.card-service {
min-height: 180px;
}
.app-promo-section {
margin-top: 70px;
}
.hero-servizio h1 {
text-align: center!important;
}
.hero-servizio .text-white.breadcrump {
font-size: 12px!important;
}
.hero-content p {
font-size: 1.2rem;
padding: 0 10px;
}
.lista-documenti li a {
text-align: initial;
font-size: 14px; 
}
.footer-section {
padding-bottom: 100px;
}.news-section .container {
padding: 0;
	padding-left: 15px;
}
.hero-popup {
z-index: 10;
}
}

@media (max-width: 480px) {
    .banner-section-overlay {
        min-height: 450px;
    }
    
    .banner-content-overlay {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .banner-text-p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 30px;
    }
    
    .banner-content-overlay .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        letter-spacing: 0.3px;
    }
	section.news-section {
    margin-bottom: 50px;
}
}

@media (prefers-reduced-motion: reduce) {
    .banner-content-overlay,
    .banner-video-bg,
    .banner-image-bg,
    .banner-content-overlay .btn {
        animation: none;
        transition: none;
    }
    
    .banner-video-bg,
    .banner-image-bg {
        transform: translate(-50%, -50%) scale(1);
    }
}