.footer-wrap .footer-top .footer-menu li > i {
    font-size: 15px !important
}

.btn.style1:hover {
    background-color: #F3A11F;
}

.service-card.style1:before {
    background-color: #FFE438;
    border-color: #F3A11F
}

.service-card.style1 h3 {
    -webkit-transition: .4s;
    transition: .4s;
}

.service-card.style1:hover h3 {
    color: #fff;
}

.process-wrap.style1 .process-item h4 {
    color: #fff;
    -webkit-transition: .4s;
    transition: .4s;
}

.process-wrap.style1 .process-item:hover h4 {
    color: #29abe2;
}

/* Pagina tutto sull'ADHD */
/* Card personalizzate */
.custom-card {
    border: none;
    border-radius: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    background: white;
}

    .custom-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    }

.icon-box {
    width: 60px;
    height: 60px;
    background: #edf2ff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

/* Box segnali (scuola) */
.warning-list-box {
    background: #fff9db;
    border-left: 6px solid #fcc419;
    padding: 25px;
    border-radius: 15px;
}

/* Badge terapie */
.therapy-badge {
    background: #f1f3f5;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
}

    .therapy-badge strong {
        color: #4c6ef5;
        display: block;
    }

/* Alert finale */
.alert-prevenzione {
    background: #fff5f5;
    border: 2px dashed #ff6b6b;
    border-radius: 20px;
}

.btn-custom {
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-aifa {
    background-color: #6c5ce7;
    color: white;
}

    .btn-aifa:hover {
        background-color: #5849c4;
        color: white;
        transform: scale(1.05);
    }

@media(min-width:768px) {
    .blog-img img {
        height: 400px;
        object-fit: cover;
        width: 100%;
        object-position: top
    }

    .libri-img img {
        height: 600px;
        object-fit: cover;
        width: 100%;
        object-position: top
    }
}

.blog-card.style1 .blog-img .post-date {
    width: max-content;
    padding: 0 20px
}

/* ==========================================================
   Hero section - news in evidenza
   ========================================================== */
.hero-wrap.style1 .hero-content.hero-news-content span {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    font-size: 14px;
    background: #fff;
    border-radius: 30px;
    padding: 6px 18px;
    box-shadow: 0 6px 16px rgba(41, 171, 226, .18);
}

.hero-wrap.style1 .hero-content.hero-news-content h1 {
    font-size: 46px;
    line-height: 1.3;
    margin: 20px 0 12px;
}

.hero-news-img-wrap {
    position: relative;
    z-index: 1;
    perspective: 1400px;
    padding: 20px 30px 30px 20px;
}

    /* Piano di appoggio: crea la profondita' dietro all'immagine */
    .hero-news-img-wrap:before {
        content: "";
        position: absolute;
        top: 45px;
        right: 0;
        bottom: 0;
        left: 55px;
        border-radius: 40px;
        background: linear-gradient(135deg, #29abe2 0%, #FFE438 100%);
        opacity: .35;
        filter: blur(2px);
        z-index: -1;
    }

.hero-news-img {
    display: block;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: #fff;
    padding: 12px;
    transform: rotateY(-9deg) rotateX(4deg) translateZ(0);
    transform-style: preserve-3d;
    box-shadow: 0 2px 0 rgba(255, 255, 255, .9) inset, 0 18px 30px -12px rgba(14, 28, 31, .35), 0 40px 60px -20px rgba(14, 28, 31, .3), 0 0 0 1px rgba(14, 28, 31, .04);
    -webkit-transition: all .5s ease;
    transition: all .5s ease;
}

    .hero-news-img img {
        width: 100%;
        height: 460px;
        object-fit: cover;
        border-radius: 30px;
        display: block;
    }

    .hero-news-img:hover {
        transform: rotateY(-3deg) rotateX(1deg) translateY(-8px);
        box-shadow: 0 2px 0 rgba(255, 255, 255, .9) inset, 0 24px 36px -12px rgba(14, 28, 31, .4), 0 55px 75px -20px rgba(14, 28, 31, .35), 0 0 0 1px rgba(14, 28, 31, .04);
    }

.hero-news-img-wrap .hero-shape-3 {
    position: absolute;
    bottom: -30px;
    right: -20px;
    z-index: -1;
}

@media only screen and (max-width: 1199px) {
    .hero-wrap.style1 .hero-content.hero-news-content h1 {
        font-size: 38px;
    }

    .hero-news-img img {
        height: 380px;
    }
}

@media only screen and (max-width: 991px) {
    .hero-news-img-wrap {
        margin-top: 50px;
        padding: 15px;
    }

    .hero-news-img {
        transform: none;
    }

        .hero-news-img:hover {
            transform: translateY(-8px);
        }

    .hero-news-img-wrap:before {
        top: 30px;
        left: 30px;
    }
}

@media only screen and (max-width: 575px) {
    .hero-wrap.style1 .hero-content.hero-news-content h1 {
        font-size: 30px;
    }

    .hero-news-img img {
        height: 260px;
        border-radius: 22px;
    }

    .hero-news-img {
        border-radius: 30px;
        padding: 8px;
    }
}
