/*
Theme Name: Vigraf Tipografia
Author: Luca Forzan - LF Design
Author URI: https://lf-design.it/
Version: 1.0
Text Domain: vigraf
*/

/* ==========================================================================
   BASE & RESET
========================================================================== */
html {
    margin-top: 0 !important; /* rimuove offset admin bar */
}
body {
    margin: 0;
    overflow-x: clip; /* 'clip' evita il taglio dei sub-menu desktop position:absolute */
    position: relative;
    font-family: var(--e-global-typography-text-font-family), Sans-serif;
}
*:focus {
    outline: none;
}

/* ==========================================================================
   LINK
========================================================================== */
a,
a:visited,
a:hover,
a:active {
    color: inherit;
}
a:not(.elementor-button):not(.elementor-button-link):not(:has(img)):not(:has(svg)) {
    transition: opacity .25s ease;
}
a:not(.elementor-button):not(.elementor-button-link):not(:has(img)):not(:has(svg)):hover {
    opacity: .8;
}

/* ==========================================================================
   TRANSIZIONI GLOBALI
========================================================================== */
*,
*::before,
*::after {
    transition:
        color .3s ease,
        background-color .3s ease,
        opacity .3s ease,
        border-color .3s ease,
        text-decoration-color .3s ease;
}

/* ==========================================================================
   TIPOGRAFIA
========================================================================== */
h1, h2, h3,
h4, h5, h6 {
    margin: 10px 0;
    font-weight: inherit;
    color: var(--e-global-color-secondary) !important;
}
strong,
b {
    color: var(--e-global-color-primary) !important;
    font-weight: 500!important
}
.invert,
.invert * {
    color: #fff !important;
}
/* Titoli senza margine */
.title-no-margin h1,
.title-no-margin h2,
.title-no-margin h3,
.title-no-margin h4,
.title-no-margin h5,
.title-no-margin h6 {
    margin: 0 !important;
}
/* Paragrafi senza margine */
.p-no-margin p {
    margin-block-start: 0;
    margin-block-end: 0;
}
.h1-strong h1 strong{
    color: #B5C7F4!important; 
}

/* ==========================================================================
   PADDING
========================================================================== */
.padding-top            { padding-top: 80px!important; }
.padding-bottom         { padding-bottom: 80px!important; }
.padding-medium-top     { padding-top: 30px!important; }
.padding-medium-bottom  { padding-bottom: 30px!important; }
.padding-bottom-opened{
    padding-bottom: 80px!important;
}
.padding-open-top{
    padding-top: 150px!important;
}
.padding-hero {
  padding-top: 160px !important;
}

/* ==========================================================================
   HEADER
========================================================================== */
.header-blur,
.header-blur.elementor-sticky--active {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(36px) !important;
    -webkit-backdrop-filter: blur(36px) !important;
    z-index: 10001 !important;
}

/* Fix sub-menu desktop: garantisce che i dropdown SmartMenus non vengano tagliati */
header .elementor-nav-menu--main .sub-menu {
    z-index: 10002 !important;
    overflow: visible !important;
}
/* Submenu desktop: stesso sfondo blur dell'header */
header .elementor-nav-menu--main .elementor-nav-menu--dropdown {
    background-color: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(36px) !important;
    -webkit-backdrop-filter: blur(36px) !important;
    border: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08) !important;
}

/* ==========================================================================
   BOTTONI
========================================================================== */
/* Header button */
.btn-header a.elementor-button {
    background-color: var(--e-global-color-primary) !important;
    border-radius: 44px !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.6em !important;
    text-transform: uppercase !important;
    padding: 12px 24px !important;
    border: 2px solid var(--e-global-color-primary)!important;
}
.btn-header a.elementor-button:hover {
    opacity: 0.85 !important;
    color: #fff !important;
}
/* --- Base condivisa bottoni con quadratino --- */
.btn-white-primary a.elementor-button,
.btn-outline-pink a.elementor-button,
.btn-white-yellow a.elementor-button,
.btn-outline-pink-black a.elementor-button,
.btn-outline-yellow-white a.elementor-button,
.btn-primary-yellow a.elementor-button,
.btn-outline-primary-white a.elementor-button,
.btn-outline-white a.elementor-button,
.btn-outline-secondary-primary a.elementor-button,
.btn-outline-pink-white a.elementor-button {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 44px !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    line-height: 1.6em !important;
    text-transform: uppercase !important;
    padding: 12px 24px 12px 46px !important;
    border-width: 2px !important;
    border-style: solid !important;
    transition: color .4s ease, border-color .4s ease, background-color .4s ease !important;
}
/* Quadratino */
.btn-white-primary a.elementor-button::before,
.btn-outline-pink a.elementor-button::before,
.btn-white-yellow a.elementor-button::before,
.btn-outline-pink-black a.elementor-button::before,
.btn-outline-yellow-white a.elementor-button::before,
.btn-primary-yellow a.elementor-button::before,
.btn-outline-primary-white a.elementor-button::before,
.btn-outline-white a.elementor-button::before,
.btn-outline-secondary-primary a.elementor-button::before,
.btn-outline-pink-white a.elementor-button::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px !important;
    height: 16px !important;
    border-radius: 0 !important;
    z-index: 0;
    transition: left .4s cubic-bezier(.4, 0, .2, 1),
                top .4s cubic-bezier(.4, 0, .2, 1),
                width .4s cubic-bezier(.4, 0, .2, 1),
                height .4s cubic-bezier(.4, 0, .2, 1),
                border-radius .4s cubic-bezier(.4, 0, .2, 1),
                transform .4s cubic-bezier(.4, 0, .2, 1);
}
/* Contenuto testo sopra al quadratino */
.btn-white-primary a.elementor-button .elementor-button-content-wrapper,
.btn-outline-pink a.elementor-button .elementor-button-content-wrapper,
.btn-white-yellow a.elementor-button .elementor-button-content-wrapper,
.btn-outline-pink-black a.elementor-button .elementor-button-content-wrapper,
.btn-outline-yellow-white a.elementor-button .elementor-button-content-wrapper,
.btn-primary-yellow a.elementor-button .elementor-button-content-wrapper,
.btn-outline-primary-white a.elementor-button .elementor-button-content-wrapper,
.btn-outline-white a.elementor-button .elementor-button-content-wrapper,
.btn-outline-secondary-primary a.elementor-button .elementor-button-content-wrapper,
.btn-outline-pink-white a.elementor-button .elementor-button-content-wrapper {
    position: relative !important;
    z-index: 1 !important;
}
/* Quadratino che si espande al hover */
.btn-white-primary a.elementor-button:hover::before,
.btn-outline-pink a.elementor-button:hover::before,
.btn-white-yellow a.elementor-button:hover::before,
.btn-outline-pink-black a.elementor-button:hover::before,
.btn-outline-yellow-white a.elementor-button:hover::before,
.btn-primary-yellow a.elementor-button:hover::before,
.btn-outline-primary-white a.elementor-button:hover::before,
.btn-outline-white a.elementor-button:hover::before,
.btn-outline-secondary-primary a.elementor-button:hover::before,
.btn-outline-pink-white a.elementor-button:hover::before {
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 44px !important;
}
/* --- 1. Bianco / Quadratino Principale --- */
/* Fondo bianco, bordo bianco, testo secondario
   Hover: tutto primary, testo bianco            */
.btn-white-primary a.elementor-button {
    background-color: #fff !important;
    border-color: #fff !important;
    color: var(--e-global-color-secondary) !important;
}
.btn-white-primary a.elementor-button::before {
    background-color: var(--e-global-color-primary);
}
.btn-white-primary a.elementor-button:hover {
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}
/* --- 2. Trasparente / Quadratino Rosa --- */
/* Fondo trasparente, bordo #ADB5BD, testo bianco
   Hover: tutto rosa, testo bianco                */
.btn-outline-pink a.elementor-button {
    background-color: transparent !important;
    border-color: #ADB5BD !important;
    color: #fff !important;
}
.btn-outline-pink a.elementor-button::before {
    background-color: #E5007D;
}
.btn-outline-pink a.elementor-button:hover {
    color: #fff !important;
    border-color: #E5007D !important;
    background-color: #E5007D !important;
}
/* --- 3. Bianco / Quadratino Giallo --- */
/* Fondo bianco, bordo #ADB5BD, testo grigio scuro
   Hover: tutto giallo, testo grigio scuro resta   */
.btn-white-yellow a.elementor-button {
    background-color: #fff !important;
    border-color: #ADB5BD !important;
    color: #1E1E1E !important;
}
.btn-white-yellow a.elementor-button::before {
    background-color: #FFBF00;
}
.btn-white-yellow a.elementor-button:hover {
    color: #1E1E1E !important;
    border-color: #FFBF00 !important;
    background-color: #FFBF00 !important;
}
/* --- 4. Trasparente / Bordo Bianco / Quadratino Giallo --- */
/* Fondo trasparente, bordo bianco, testo bianco
   Hover: sfondo e bordo giallo, testo secondary   */
.btn-outline-yellow-white a.elementor-button {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}
.btn-outline-yellow-white a.elementor-button::before {
    background-color: #FFBF00;
}
.btn-outline-yellow-white a.elementor-button:hover {
    color: var(--e-global-color-secondary) !important;
    border-color: #FFBF00 !important;
    background-color: #FFBF00 !important;
}
/* --- 5. Trasparente / Quadratino Rosa --- */
/* Fondo trasparente, bordo #ADB5BD, testo scuro
   Hover: tutto rosa, testo bianco                */
.btn-outline-pink-black a.elementor-button {
    background-color: transparent !important;
    border-color: #ADB5BD !important;
    color: #1E1E1E !important;
}
.btn-outline-pink-black a.elementor-button::before {
    background-color: #E5007D;
}
.btn-outline-pink-black a.elementor-button:hover {
    color: #fff !important;
    border-color: #E5007D !important;
    background-color: #E5007D !important;
}
/* --- 6. Primary / Bordo Bianco / Quadratino Giallo --- */
/* Fondo primary, bordo bianco, testo bianco
   Hover: tutto giallo, testo diventa grigio scuro */
.btn-primary-yellow a.elementor-button {
    background-color: var(--e-global-color-primary) !important;
    border-color: #fff !important;
    color: #fff !important;
}
.btn-primary-yellow a.elementor-button::before {
    background-color: #FFBF00;
}
.btn-primary-yellow a.elementor-button:hover {
    color: #1E1E1E !important;
    border-color: #FFBF00 !important;
    background-color: #FFBF00 !important;
}
/* --- 7. Trasparente / Bordo Bianco / Quadratino Primary --- */
/* Fondo trasparente, bordo bianco, testo bianco
   Hover: tutto primary, testo bianco              */
.btn-outline-primary-white a.elementor-button {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}
.btn-outline-primary-white a.elementor-button::before {
    background-color: var(--e-global-color-primary);
}
.btn-outline-primary-white a.elementor-button:hover {
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}
/* --- 8. Trasparente / Bordo Bianco / Quadratino Bianco --- */
/* Fondo trasparente, bordo bianco, testo bianco
   Hover: sfondo e bordo bianco, testo secondary   */
.btn-outline-white a.elementor-button {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}
.btn-outline-white a.elementor-button::before {
    background-color: #fff;
}
.btn-outline-white a.elementor-button:hover {
    color: var(--e-global-color-secondary) !important;
    border-color: #fff !important;
    background-color: #fff !important;
}
/* --- 9. Trasparente / Bordo e Testo Secondary / Quadratino Primary --- */
/* Fondo trasparente, bordo e testo secondary, quadratino primary
   Hover: sfondo e bordo primary, testo bianco        */
.btn-outline-secondary-primary a.elementor-button {
    background-color: transparent !important;
    border-color: var(--e-global-color-secondary) !important;
    color: var(--e-global-color-secondary) !important;
}
.btn-outline-secondary-primary a.elementor-button::before {
    background-color: var(--e-global-color-primary);
}
.btn-outline-secondary-primary a.elementor-button:hover {
    color: #fff !important;
    border-color: var(--e-global-color-primary) !important;
    background-color: var(--e-global-color-primary) !important;
}
/* --- 10. Trasparente / Bordo Bianco / Quadratino Rosa --- */
/* Fondo trasparente, bordo bianco, testo bianco, quadratino rosa
   Hover: sfondo e bordo rosa, testo bianco           */
.btn-outline-pink-white a.elementor-button {
    background-color: transparent !important;
    border-color: #fff !important;
    color: #fff !important;
}
.btn-outline-pink-white a.elementor-button::before {
    background-color: #E5007D;
}
.btn-outline-pink-white a.elementor-button:hover {
    color: #fff !important;
    border-color: #E5007D !important;
    background-color: #E5007D !important;
}

/* ==========================================================================
   HOME
========================================================================== */
/* Gradiente nero – overlay su container */
.background-gradient-black {
    position: relative !important;
}
.background-gradient-black::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1) 0%,
        rgba(0, 0, 0, 0.6) 40%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1 !important;
    pointer-events: none;
    border-radius: inherit;
}
/* Tutti i container figli di Elementor sopra al gradiente */
.background-gradient-black > .e-con,
.background-gradient-black > .e-flex,
.background-gradient-black > .e-con-boxed,
.background-gradient-black > .elementor-widget {
    position: relative !important;
    z-index: 2 !important;
}
.h1-hero h1,
.h1-hero.elementor-heading-title {
    font-weight: 500 !important;
    font-size: 104px !important;
    letter-spacing: -0.03em !important; /* -3% = -0.03em */
    line-height: 1.1em !important;
}
/* Sezione bianca sovrapposta alla hero */
.vigraf-rounded-overlap {
    --width: calc(100% - 28px);
    position: relative;
    z-index: 10!important;
    width: calc(100% - 28px);
    max-width: none !important;
    margin-top: -48px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    background-color: #ffffff;
    border-radius: 32px 32px 0 0 !important;
    overflow: hidden;
}

/* ==========================================================================
   CAROUSEL SERVIZI (Swiper) - DESKTOP
========================================================================== */
.carousel-service {
    position: relative;
    width: 100%;
}
.carousel-service__inner {
    padding: 0 90px;
    overflow: hidden;
}
.carousel-service__swiper {
    width: 100%;
}
.carousel-service__slide-inner {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 60px;
    align-items: stretch;
}
/* Immagine - contenitore fisso 500x700, indipendente dal formato originale */
.carousel-service__media {
    width: 500px;
    height: 700px;
    overflow: hidden;
    border-radius: 12px;
}
.carousel-service__media a {
    display: block;
    width: 100%;
    height: 100%;
}
.carousel-service__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Contenuto testuale - ancorato in basso, allineato alla base dell'immagine */
.carousel-service__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}
.carousel-service__counter {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 50px;
}
.carousel-service__current {
    font-size: 40px;
    font-weight: 400;
    color: #1E1E1E;
}
.carousel-service__line {
    width: 60px;
    height: 1px;
    background-color: #ADB5BD;
}
.carousel-service__total {
    font-size: 40px;
    font-weight: 400;
    color: #ADB5BD;
}
.carousel-service__title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 20px;
}
.carousel-service__title a {
    color: var(--e-global-color-primary, #0844DB);
    text-decoration: none;
}
.carousel-service__title a:hover {
    opacity: 0.8;
}
.carousel-service__excerpt {
    color: #6C757D;
    font-size: 16px;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 0 28px;
}
.carousel-service__content .btn-outline-pink {
    align-self: flex-start;
}
/* Frecce - solo angolo, allineate al bordo del boxed */
.carousel-service__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ADB5BD;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E1E1E;
    cursor: pointer;
    z-index: 5;
    transition: border-color 0.3s ease;
}
.carousel-service__arrow svg {
    width: 8px;
    height: 14px;
}
.carousel-service__arrow:hover {
    border-color: #1E1E1E;
}
.carousel-service__arrow--prev {
    left: 0;
}
.carousel-service__arrow--next {
    right: 0;
}

/* ==========================================================================
   LATEST NEWS
========================================================================== */
.latest-news__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.latest-news__card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    background-color: #fff;
}
.latest-news__media {
    position: relative;
    display: block;
    height: 395px;
}
.latest-news__media img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    margin: 0 !important;
}
/* Etichetta categoria */
.latest-news__category {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: var(--e-global-color-primary, #0844DB) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 6px 14px;
    border-radius: 4px;
}
/* Corpo testo - flessibile, riempie lo spazio rimanente della card */
.latest-news__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    background-color: #fff;
    padding: 24px;
}
.latest-news__date {
    font-size: 16px !important;
    color: var(--e-global-color-secondary, #1E1E1E) !important;
    margin: 0 0 24px;
}
.latest-news__title {
    font-size: 24px !important;
    font-weight: 500 !important;
    line-height: 1.3;
    margin: 0 0 24px;
}
.latest-news__title a {
    color: var(--e-global-color-secondary, #1E1E1E) !important;
    text-decoration: none;
}
.latest-news__title a:hover {
    opacity: 0.8;
}
.latest-news__excerpt {
    font-size: 16px !important;
    color: #6C757D;
    line-height: 1.6;
    margin: 0 0 24px;
}
/* Sempre ancorato in fondo alla card, indipendentemente dalla lunghezza del testo sopra */
.latest-news__readmore {
    margin-top: auto;
    font-size: 18px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    color: #1E1E1E;
    text-decoration: none;
}

/* ==========================================================================
   RECENSIONI GOOGLE
========================================================================== */
.google-reviews__card {
    display: flex;
    flex-direction: column;
    gap: 8.68px;
    padding: 13px;
    background-color: #FFFFFF;
    border-radius: 8.68px;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.12);
    margin-top: 17px;
}
.google-reviews__row {
    display: flex;
    align-items: center;
}
.ti-widget.ti-goog .ti-widget-container,
.ti-widget.ti-goog .ti-widget-container * {
    font-family: 'Sora', sans-serif !important;
}
.ti-widget.ti-goog .ti-review-item > .ti-inner,
.ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.12) !important;
}

/* ==========================================================================
   PRE-FOOTER
========================================================================== */
#pre-footer h3 {
    font-weight: 400 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #fff !important;
}
#pre-footer h2 {
    font-weight: 500 !important;
    font-size: 56px !important;
    line-height: 1.2 !important;
    color: #fff !important;
}
.prefooter-images-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}
.prefooter-images {
    display: flex;
    gap: 24px;
    /* Larghezza calcolata in modo che: metà-img1 + img2 + img3 + metà-img4 + 3 gap = 100vw */
    --prefooter-item-width: calc((100vw - 72px) / 3);
}
.prefooter-images__item {
    flex: 0 0 var(--prefooter-item-width);
    border-radius: 16px;
    overflow: hidden;
}
.prefooter-images__item img {
    display: block;
    width: 100%;
    height: 550px!important;
    object-fit: cover;
}
/* Le immagini ai lati vengono spinte fuori per metà della loro larghezza,
   tagliate esattamente dal bordo dello schermo */
.prefooter-images__item:first-child {
    margin-left: calc(var(--prefooter-item-width) / -2);
}
.prefooter-images__item:last-child {
    margin-right: calc(var(--prefooter-item-width) / -2);
}

/* ==========================================================================
   SERVICES LIST
========================================================================== */
.services-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100% !important;
}
.services-list__card {
    width: 100% !important;
    box-sizing: border-box;
    border-radius: 40px;
    padding: 60px;
}
.services-list__title {
    margin: 0 0 12px;
}
.services-list__excerpt {
        white-space: pre-line;

    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px;
}
.elementor-widget-shortcode:has(.services-list),
.elementor-shortcode:has(.services-list) {
    width: 100% !important;
    flex: 1 1 100% !important;
}

.elementor-widget-shortcode .services-list,
.elementor-shortcode .services-list {
    width: 100% !important;
}

/* ==========================================================================
   CHI SIAMO
========================================================================== */
.border-radius-24 img {
  border-radius: 24px!important;
}

/* ==========================================================================
   FOOTER
========================================================================== */
#footer p {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}
#footer h3 {
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    margin: 0px 0;
}
#footer li {
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    padding-bottom: 5px;
}
#footer strong,
#footer b {
    color: #fff !important;
    font-weight: 700 !important;
}

/* ==========================================================================
   BOTTONE "CARICA ALTRI ARTICOLI"
========================================================================== */
.latest-news__load-more-wrapper {
    margin-top: 40px;
    width: 100%;
}
.latest-news__load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 18px 24px;
    background-color: transparent;
    border: 2px solid #ADB5BD;
    border-radius: 44px;
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--e-global-color-secondary);
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.latest-news__load-more:hover {
    background-color: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
    color: #fff;
}
/* Icona + */
.latest-news__load-more-icon {
    width: 20px;
    height: 20px;
    color: var(--e-global-color-primary);
    flex-shrink: 0;
    transition: color 0.3s ease;
}
.latest-news__load-more:hover .latest-news__load-more-icon {
    color: #fff;
}
/* Stato loading */
.latest-news__load-more.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

/* ==========================================================================
   TEMPLATE ARTICOLO SINGOLO
========================================================================== */
/* Etichetta categoria articolo singolo */
.article-category-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    gap: 8px;
}
.article-category {
    display: inline-flex;
    align-items: center;
    background-color: #0844DB;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 6px 14px;
    border-radius: 4px;
    cursor: default;
}
/* Immagine copertina */
.article-img {
    width: 100%;
    height: 635px;
    border-radius: 24px;
    overflow: hidden;
}
.article-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
    display: block;
}
/* ===== ARTICOLO SINGOLO — BODY ===== */
/* Testo paragrafi */
#article-body p {
    color: #3C4043;
    font-size: 18px;
}
/* Liste */
#article-body li {
    color: #3C4043;
    font-size: 18px;
}
/* h2 */
#article-body h2 {
    font-weight: 500;
    font-size: 32px;
    line-height: 1.2;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}
/* h3 */
#article-body h3 {
    font-weight: 500;
    font-size: 26px;
    line-height: 1.2;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
/* h4 */
#article-body h4 {
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    padding-top: 25px !important;
    padding-bottom: 25px !important;
}
/* b e strong: primary su tutti i livelli del body */
#article-body h2 b, #article-body h2 strong,
#article-body h3 b, #article-body h3 strong,
#article-body h4 b, #article-body h4 strong,
#article-body p b,  #article-body p strong,
#article-body li b, #article-body li strong {
    color: var(--e-global-color-primary);
}
/* Quote */
#article-body blockquote {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background-color: #EAF1FE;
    border: 2px solid var(--e-global-color-primary);
    border-radius: 12px;
    padding: 20px;
    margin-block-start: 0;
    margin-block-end: 0;
    margin-inline-start: 0;
    margin-inline-end: 0;
    margin-top: 10px;
}
#article-body blockquote p {
    margin: 0;
}
#article-body blockquote p + p {
    margin-top: 10px;
}
/* Bottone [btn] */
#article-body .btn-white-yellow {
    padding-top: 20px;
}
/* Tabelle */
#article-body table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 2px solid var(--e-global-color-primary);
    border-radius: 12px;
    overflow: hidden;
}
#article-body th,
#article-body td {
    padding: 12px 16px;
    color: #3c4043;
    border-bottom: 1px solid var(--e-global-color-primary);
}
#article-body tr:last-child td {
    border-bottom: none;
}

/* ==========================================================================
   CONTATTI
========================================================================== */
.border-rad-contact {
    border-radius: 18px !important;
    overflow: hidden;
    padding: 30px !important;
}
.border-rad-contact h2 {
    font-weight: 500 !important;
    font-size: 26px !important;
    line-height: 1.6 !important;
}
/* Label accettazione privacy */
.elementor-field-type-acceptance .elementor-field-label,
.elementor-field-type-acceptance label,
.elementor-field-type-acceptance label *,
.elementor-field-type-acceptance span {
    color: #4A5565 !important;
    font-size: 15px !important;
    line-height: 21px !important;
}
/* Select: sfondo bianco + bordo */
.elementor-select-wrapper select {
    background-color: #fff !important;
    border: 2px solid #AFAFB0 !important;
}
/* Select: icona angle-down in primary */
.elementor-select-wrapper svg,
.elementor-select-wrapper svg path {
    fill: var(--e-global-color-primary) !important;
    color: var(--e-global-color-primary) !important;
}
/* Reset Elementor defaults */
.contact-pills .elementor-icon-list-item,
.contact-pills .elementor-inline-item {
  padding: 0 !important;
  border: none !important;
  background: none !important;
}
/* Il pill vero è sull'<a> */
.contact-pills .elementor-icon-list-item a {
  display: inline-flex !important;
  flex-direction: row-reverse !important; /* icona a destra */
  align-items: center !important;
  gap: 10px !important;
  border: 1.5px solid #ffffff !important;
  border-radius: 999px !important;
  padding: 10px 24px !important;
  text-decoration: none !important;
  transition: background 0.2s ease !important;
}
.contact-pills .elementor-icon-list-item a:hover {
  background: rgba(255, 255, 255, 0.1) !important;
}
/* Icona */
.contact-pills .elementor-icon-list-icon {
  display: flex !important;
  align-items: center !important;
}
.contact-pills .elementor-icon-list-icon svg {
  width: 20px !important;
  height: 20px !important;
  fill: #ffffff !important;
}
/* Testo */
.contact-pills .elementor-icon-list-text {
  color: #ffffff !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

/* Gap tra i pill */
.contact-pills.elementor-icon-list-items {
  gap: 8px !important;
  flex-wrap: wrap !important;
}

/* ==========================================================================
   SERVICE DETAILS
========================================================================== */
.service-details {
    display: flex;
    flex-direction: column;
}
.service-details__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: var(--e-global-color-primary);
    min-height: 500px;
}
/* Righe dispari: immagine a sinistra */
.service-details__row:nth-child(odd) .service-details__media {
    grid-column: 1;
    grid-row: 1;
}
.service-details__row:nth-child(odd) .service-details__content {
    grid-column: 2;
    grid-row: 1;
}
/* Media: flex container che "tira" l'immagine a riempire tutto */
.service-details__media {
    overflow: hidden;
    display: flex;
    align-items: stretch;
}
.service-details__media img {
    display: block;
    flex: 1 1 100%;
    min-height: 0;
    min-width: 0;
    object-fit: cover;
}
/* Contenuto */
.service-details__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 60px;
    box-sizing: border-box;
}
/* Badge NEL DETTAGLIO */
.service-details__label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    background-color: #2D60E0;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 32px;
}
/* Testi WYSIWYG */
.service-details__text {
    margin-top: auto; /* spinge testo+bottone in fondo, label resta in alto */
}
.service-details__text h2,
.service-details__text h3 {
    color: #fff !important;
    font-size: 40px !important;
    font-weight: 500 !important;
    line-height: 1.15 !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}
.service-details__text p,
.service-details__text li,
.service-details__text span {
    color: #B5C7F4 !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    margin-bottom: 0 !important;
}
.service-details__text p + p {
    margin-top: 16px !important;
}
.service-details__text strong,
.service-details__text b {
    color: #B5C7F4 !important;
    font-weight: 700 !important;
}
.service-details__text ul,
.service-details__text ol {
    padding-left: 20px;
    margin: 0;
}
.service-details__content .elementor-widget-button {
    margin-top: 32px;
}

/* ==========================================================================
   SERVICE NEWS CAROUSEL
========================================================================== */
.service-news-carousel {
    position: relative;
    width: 100%;
}
.service-news-carousel__swiper {
    width: 100%;
    overflow: hidden;
}
.service-news-carousel .swiper-slide {
    height: auto;
}
.service-news-carousel .swiper-slide .latest-news__card {
    height: 100%;
}
/* Frecce: primary, fuori dalle card, nascoste di default */
.service-news-carousel__arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1.5px solid var(--e-global-color-primary);
    background-color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    color: var(--e-global-color-primary);
    cursor: pointer;
    z-index: 5;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.service-news-carousel__arrow svg {
    width: 8px;
    height: 14px;
}
.service-news-carousel__arrow path {
    stroke: var(--e-global-color-primary);
    transition: stroke 0.3s ease;
}
.service-news-carousel__arrow:hover {
    background-color: var(--e-global-color-primary);
    color: #fff;
}
.service-news-carousel__arrow:hover path {
    stroke: #fff;
}
.service-news-carousel__arrow--prev { left: -28px; }
.service-news-carousel__arrow--next { right: -28px; }

/* Desktop (≥768px): frecce visibili solo con 3+ slide */
.service-news-carousel--many .service-news-carousel__arrow {
    display: flex;
}
/* 1 solo articolo: nessun carosello Swiper, solo griglia statica a 2 colonne */
.service-news-carousel--static .swiper-wrapper {
    display: flex;
    gap: 20px;
    transform: none !important;
}
.service-news-carousel--static .swiper-slide {
    width: calc(50% - 10px);
    flex-shrink: 0;
}

/* ==========================================================================
   RESPONSIVE
========================================================================== */
@media (max-width: 1024px) {
    /* Header */
    .btn-header a.elementor-button {
        font-size: 16px !important;
        padding: 10px 20px !important;
    }
    /* Base condivisa */
    .btn-white-primary a.elementor-button,
    .btn-outline-pink a.elementor-button,
    .btn-white-yellow a.elementor-button,
    .btn-outline-pink-black a.elementor-button,
    .btn-outline-yellow-white a.elementor-button,
    .btn-primary-yellow a.elementor-button {
        font-size: 16px !important;
        padding: 10px 20px 10px 42px !important;
    }
    /* Quadratino tablet */
    .btn-white-primary a.elementor-button::before,
    .btn-outline-pink a.elementor-button::before,
    .btn-white-yellow a.elementor-button::before,
    .btn-outline-pink-black a.elementor-button::before,
    .btn-outline-yellow-white a.elementor-button::before,
    .btn-primary-yellow a.elementor-button::before {
        width: 14px !important;
        height: 14px !important;
        left: 16px;
    }
    .h1-hero h1,
    .h1-hero.elementor-heading-title {
        font-size: 72px !important;
    }
    /* Carosello servizi */
    .carousel-service__inner {
        padding: 0 60px;
    }
    .carousel-service__slide-inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .carousel-service__media {
        width: 100%;
        height: 230px;
        /* height: auto; */
        /* aspect-ratio: 5 / 7; */
    }
    .carousel-service__content {
        height: auto;
        justify-content: flex-start;
    }
    .carousel-service__current,
    .carousel-service__total {
        font-size: 32px;
    }
    .carousel-service__title {
        font-size: 32px;
    }
    .carousel-service__excerpt {
        max-width: 100%;
    }
    .carousel-service__arrow {
        width: 42px;
        height: 42px;
    }
    .carousel-service__arrow svg {
        width: 7px;
        height: 12px;
    }
    /* padding */
    .padding-top {
        padding-top: 60px !important;
    }
    .padding-bottom {
        padding-bottom: 60px !important;
    }
    .padding-medium-top {
        padding-top: 20px !important;
    }
    .padding-medium-bottom {
        padding-bottom: 20px !important;
    }
    .padding-bottom-opened {
        padding-bottom: 96px !important;
    }
    .padding-open-top{
        padding-top: 100px!important;
    }
    .padding-hero {
        padding-top: 120px !important;
    }
    .vigraf-rounded-overlap {
        margin-top: -20px !important;
    }
    /* Latest News - tablet */
    .latest-news__media {
        height: 320px;
    }
    .latest-news__title {
        font-size: 20px !important;
    }
    .latest-news__date,
    .latest-news__excerpt {
        font-size: 15px !important;
    }
    .latest-news__readmore {
        font-size: 16px !important;
    }
    header .elementor-nav-menu--main {
        display: none !important;
    }
    /* Nasconde il dropdown di default per evitare che Elementor lo mostri nel suo modo */
    header .elementor-nav-menu--dropdown {
        display: none !important;
    }
    /* Quando il menu è aperto: rimuove backdrop-filter e transform dall'header
       così il dropdown con position:fixed si posiziona rispetto al viewport, non all'header */
    body.mobile-menu-open .header-blur,
    body.mobile-menu-open .header-blur.elementor-sticky--active {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        will-change: auto !important;
        transform: none !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        z-index: 10001 !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown {
        display: flex !important;
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 70px) !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        z-index: 9999 !important;
        margin: 0 !important;
        margin-top: 0 !important;
        border-top: none !important;
        padding: 32px 24px !important;
        overflow-y: auto !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        gap: 0 !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li {
        width: 100%;
        border-bottom: 1px solid rgba(30, 30, 30, 0.12);
        padding: 18px 0;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li:last-child {
        border-bottom: none;
    }
    /* Reset completo - voci principali */
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li > .elementor-item,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li > .elementor-item:hover,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li > .elementor-item:focus,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li > .elementor-item:active,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li > .elementor-item-active {
        background: none !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none !important;
        white-space: normal !important;
        font-family: 'Sora', sans-serif !important;
        font-size: 28px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        width: 100% !important;
        color: var(--e-global-color-secondary) !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-nav-menu > li > .elementor-item-active {
        color: var(--e-global-color-primary) !important;
    }
    /* Sub-menu mobile: lasciamo display a SmartMenus,
       nascondiamo con height+opacity e mostriamo con .sm-open */
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu {
        position: static !important;
        top: auto !important;
        left: auto !important;
        width: 100% !important;
        min-width: 0 !important;
        max-height: none !important;
        box-shadow: none !important;
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin: 0 !important;
        list-style: none !important;
        pointer-events: auto !important;
        overflow: hidden !important;
        height: 0 !important;
        opacity: 0 !important;
        transition: none !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu.sm-open {
        height: auto !important;
        overflow: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu li {
        border-bottom: none !important;
        padding: 0 !important;
        margin: 0 0 10px 0 !important;
        width: 100%;
        height: auto !important;
        min-height: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-item,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-item:hover,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item:hover,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-item:focus,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item:focus {
        font-size: 16px !important;
        font-weight: 400 !important;
        text-transform: none !important;
        color: var(--e-global-color-secondary) !important;
        opacity: 0.65;
        white-space: normal !important;
        padding: 0 0 0 15px !important;
        background: transparent !important;
        display: block !important;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-item:hover,
    body.mobile-menu-open header .elementor-nav-menu--dropdown .sub-menu .elementor-sub-item:hover {
        opacity: 1;
        color: var(--e-global-color-primary) !important;
    }
    .elementor-menu-toggle {
        position: relative;
        z-index: 10002 !important;
    }
    /* Voce con submenu: testo e freccia sulla stessa riga */
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-item.has-submenu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
    }
    /* Sub-arrow: inline-flex per stare sulla stessa riga del testo */
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-item.has-submenu .sub-arrow {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
        width: 20px !important;
        height: 20px !important;
    }
    /* Nasconde l'SVG nativo di Elementor */
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-item.has-submenu .sub-arrow svg {
        display: none !important;
    }
    /* Angle-down outline */
    body.mobile-menu-open header .elementor-nav-menu--dropdown .elementor-item.has-submenu .sub-arrow::after {
        content: '';
        display: block !important;
        width: 20px !important;
        height: 20px !important;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e1e1e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-size: contain !important;
        background-position: center !important;
        flex-shrink: 0 !important;
    }
    .prefooter-images__item img {
        height: 280px;
    }
    .article-img {
        height: 500px;
    }
    /* Service Details */
    .service-details__content {
        padding: 40px;
    }
    .service-details__text h2,
    .service-details__text h3 {
        font-size: 32px !important;
    }
}

@media (max-width: 767px) {
    /* Header */
    .btn-header a.elementor-button {
        font-size: 11px !important;
        padding: 5px 10px !important
    }
    /* Base condivisa */
    .btn-white-primary a.elementor-button,
    .btn-outline-pink a.elementor-button,
    .btn-white-yellow a.elementor-button,
    .btn-outline-pink-black a.elementor-button,
    .btn-outline-yellow-white a.elementor-button,
    .btn-primary-yellow a.elementor-button {
        font-size: 18px !important;
        padding: 9px 18px 9px 38px !important;
    }
    /* Quadratino mobile */
    .btn-white-primary a.elementor-button::before,
    .btn-outline-pink a.elementor-button::before,
    .btn-white-yellow a.elementor-button::before,
    .btn-outline-pink-black a.elementor-button::before,
    .btn-outline-yellow-white a.elementor-button::before,
    .btn-primary-yellow a.elementor-button::before {
        width: 12px !important;
        height: 12px !important;
        left: 14px;
    }
    /* Disattiva l'effetto "quadratino che si espande" al tap da mobile:
       col touch l'hover può restare "incollato" durante una navigazione
       veloce, dando un effetto a scatti/di errore. Sotto i 767px il
       quadratino resta sempre alla sua dimensione di riposo. */
    .btn-white-primary a.elementor-button:hover::before,
    .btn-outline-pink a.elementor-button:hover::before,
    .btn-white-yellow a.elementor-button:hover::before,
    .btn-outline-pink-black a.elementor-button:hover::before,
    .btn-outline-yellow-white a.elementor-button:hover::before,
    .btn-primary-yellow a.elementor-button:hover::before,
    .btn-outline-primary-white a.elementor-button:hover::before,
    .btn-outline-white a.elementor-button:hover::before,
    .btn-outline-secondary-primary a.elementor-button:hover::before,
    .btn-outline-pink-white a.elementor-button:hover::before {
        left: 14px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        width: 12px !important;
        height: 12px !important;
        border-radius: 0 !important;
    }
    .padding-top {
        padding-top: 40px !important;
    }
    .padding-bottom {
        padding-bottom: 40px !important;
    }
    .padding-medium-top {
        padding-top: 15px !important;
    }
    .padding-medium-bottom {
        padding-bottom: 15px !important;
    }
    .padding-bottom-opened {
        padding-bottom: 84px !important;
    }
    .padding-open-top{
        padding-top: 80px!important;
    }
    .vigraf-rounded-overlap {
        margin-top: -40px !important;
    }
    .h1-hero h1,
    .h1-hero.elementor-heading-title {
        font-size: 44px !important;
    }
    /* Carosello servizi - mobile */
    .carousel-service__inner {
        padding: 0; /* prima era 0 40px - ora il servizio occupa tutta la larghezza */
    }
    .carousel-service__current,
    .carousel-service__total {
        font-size: 26px;
    }
    .carousel-service__title {
        font-size: 26px;
    }
    .carousel-service__line {
        width: 40px;
    }
    /* Contenitore generale: le frecce vanno a capo sotto al servizio */
    .carousel-service {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
    }
    .carousel-service__inner {
        flex: 1 0 100%; /* forza il servizio a occupare tutta la riga, spingendo le frecce sotto */
    }
    /* Frecce: da posizionamento assoluto a flusso normale, affiancate sotto */
    .carousel-service__arrow {
        position: static !important;
        transform: none !important;
        width: 36px;
        height: 36px;
    }
    .carousel-service__arrow svg {
        width: 6px;
        height: 10px;
    }
    /* Latest News - mobile */
    .latest-news__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .latest-news__media {
        height: 230px;
    }
    .latest-news__title {
        font-size: 20px !important;
    }
    .latest-news__date,
    .latest-news__excerpt {
        font-size: 14px !important;
    }
    .latest-news__readmore {
        font-size: 14px !important;
    }
    .carousel-service__counter {
        margin-bottom: 20px;
    }
    /* Recensioni Google - mobile */
    .google-reviews__row {
        flex-direction: column;
    }
    body.mobile-menu-open header .elementor-nav-menu--dropdown {
        top: 78px !important;
    }
    #pre-footer h2 {
        font-size: 36px !important;
    }
    #pre-footer h3 {
        font-size: 14px !important;
    }
    /* Nasconde la 3ª e 4ª immagine */
    .prefooter-images__item:nth-child(3),
    .prefooter-images__item:nth-child(4) {
        display: none;
    }
    .prefooter-images {
        gap: 12px;
    }
    /* Ogni immagine è leggermente più larga del 50%, per poter sforare oltre il bordo */
    .prefooter-images__item {
        flex: 0 0 calc(50% + 30px);
    }
    /* Taglio leggero su entrambi i lati esterni */
    .prefooter-images__item:first-child {
        margin-left: -30px;
    }
    .prefooter-images__item:nth-child(2) {
        margin-right: -30px;
    }
    .prefooter-images__item img {
        height: 280px !important;
    }
    .services-list__card {
        padding: 40px;
    }
    .article-img {
        height: 400px;
    }
    .contact-pills .elementor-inline-item {
        margin-bottom: 8px !important;
    }
    .background-gradient-black::after {
        background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.4) 100%
        );
    }
    /* Service News Carousel */
    /* Frecce: non più sovrapposte alla card, ma sotto, centrate e affiancate */
    .service-news-carousel {
        text-align: center;
    }
    .service-news-carousel__arrow {
        position: static;
        top: auto;
        transform: none;
        margin-top: 16px;
    }
    .service-news-carousel__arrow--prev {
        left: auto;
        margin-right: 12px;
    }
    .service-news-carousel__arrow--next {
        right: auto;
    }
    /* Mobile: frecce visibili con 2+ slide */
    .service-news-carousel--few .service-news-carousel__arrow,
    .service-news-carousel--many .service-news-carousel__arrow {
        display: inline-flex;
    }
    .service-news-carousel--static .swiper-wrapper {
        gap: 16px;
    }
    .service-news-carousel--static .swiper-slide {
        width: 100%;
    }
    /* Service Details */
        .service-details__row,
    .service-details__row:nth-child(odd) {
        grid-template-columns: 1fr !important;
    }
    .service-details__row .service-details__content,
    .service-details__row:nth-child(odd) .service-details__content {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
    .service-details__row .service-details__media,
    .service-details__row:nth-child(odd) .service-details__media {
        grid-column: 1 !important;
        grid-row: 2 !important;
        min-height: 280px;
    }
    .service-details__content {
        padding: 40px 24px;
    }
    .service-details__text h2,
    .service-details__text h3 {
        font-size: 28px !important;
    }
}