/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 18 2026 | 17:52:58 */
/* HERO BASE */
.hero-home {
    position: relative;
    overflow: hidden;
}

.hero-home > .wp-block-cover__inner-container {
    position: relative;
    min-height: 900px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

/* TOPBAR */
 

.hero-home .wp-block-site-logo img.custom-logo {
    max-height: 72px;
    width: auto;
}

/* MENU */
.hero-home .wp-block-navigation .wp-block-navigation-item__content,
.hero-home .wp-block-navigation .wp-block-pages-list__item__link,
.hero-home .wp-block-navigation .wp-block-navigation__responsive-container-open {
    color: #fff !important;
}

.hero-home .wp-block-navigation svg {
    fill: currentColor;
}

/* TITOLI */
.hero-home h1,
.hero-home h2 {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
}

.hero-home h1 {
    font-size: clamp(2rem, 6vw, 4.5rem);
    line-height: 1.05;
    margin-top: 0;
}

.hero-home h2 {
    font-size: clamp(1rem, 2.8vw, 1.6rem);
    line-height: 1.2;
    margin-top: 12px;
}

/* MOBILE */
@media (max-width: 768px) {
    .hero-home {
        position: relative;
        min-height: 440px !important;
        height: 440px !important;
        padding: 12px !important;
        overflow: hidden;
    }

    .hero-home > .wp-block-cover__image-background {
        object-fit: cover !important;
        object-position: center 32% !important;
    }

    .hero-home > .wp-block-cover__inner-container {
        position: absolute !important;
        inset: 0;
        z-index: 2;
        min-height: 440px !important;
        height: 440px !important;
        display: flex;
        flex-direction: column;
        justify-content: flex-start !important;
        padding: 12px 16px 70px 16px !important;
    }

    .hero-home .hero-topbar {
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        right: 12px !important;
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
        box-sizing: border-box !important;
        z-index: 30 !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
        flex-wrap: nowrap !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    .hero-home .wp-block-site-logo img.custom-logo {
        max-height: 50px !important;
        width: auto !important;
    }

    .hero-home .wp-block-navigation {
        flex: 0 0 auto !important;
        margin: 0 0 0 auto !important;
        min-width: auto !important;
    }

    .hero-home .wp-block-navigation__responsive-container-open {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 24px !important;
        height: 24px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .hero-home .wp-block-navigation__responsive-container-open svg {
        width: 24px !important;
        height: 24px !important;
        display: block !important;
    }

    .hero-home h1,
    .hero-home h2 {
        position: relative;
        z-index: 10;
        text-align: center;
        color: #fff;
        margin-left: auto;
        margin-right: auto;
        max-width: 86%;
        text-shadow: 0 2px 10px rgba(0,0,0,.28);
    }

    .hero-home h1 {
        font-size: 22px !important;
        line-height: 1.08 !important;
        font-weight: 800 !important;
        margin-top: 150px !important;
        margin-bottom: 10px !important;
    }

    .hero-home h2 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        margin-top: 0 !important;
    }

    .hero-home .wp-block-spacer {
        display: none !important;
    }
}
@media (max-width: 768px) {
    .hero-home .hero-topbar .wp-block-navigation-is-layout-flex {
        display: block !important;
    }
}
@media (max-width: 768px) {

    /* contenitore hero */
    .hero-home {
        position: relative !important;
    }

    /* topbar: niente layout complicati */
    .hero-home .hero-topbar {
        position: absolute !important;
        top: 12px !important;
        left: 12px !important;
        right: 12px !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 50 !important;
        display: block !important;
        min-height: 56px !important;
        overflow: visible !important;
    }

    /* logo */
    .hero-home .hero-topbar .wp-block-site-logo,
    .hero-home .hero-topbar .wp-block-site-logo a {
        display: inline-block !important;
        margin: 0 !important;
    }

    .hero-home .hero-topbar .custom-logo {
        display: block !important;
        max-height: 48px !important;
        width: auto !important;
    }

    /* navigation intera inchiodata a destra */
    .hero-home .hero-topbar .wp-block-navigation {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        display: block !important;
    }

    /* bottone hamburger */
    .hero-home .hero-topbar .wp-block-navigation__responsive-container-open {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        max-width: 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 0 !important;
    }

    .hero-home .hero-topbar .wp-block-navigation__responsive-container-open svg {
        width: 24px !important;
        height: 24px !important;
        display: block !important;
    }
}
@media (max-width: 768px) {
    .hero-home > .wp-block-cover__inner-container {
        justify-content: flex-start !important;
        padding-top: 120px !important;
        padding-right: 16px !important;
        padding-bottom: 60px !important;
        padding-left: 16px !important;
    }

    .hero-home h1 {
        font-size: 18px !important;
        line-height: 1.12 !important;
        font-weight: 800 !important;
        max-width: 82% !important;
        margin-top: 110px !important;
        margin-bottom: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }

    .hero-home h2 {
        font-size: 12px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        max-width: 78% !important;
        margin-top: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
    }
}
/* DESKTOP */
@media (min-width: 769px) {
    .hero-home {
        min-height: 900px !important;
    }

    .hero-home > .wp-block-cover__image-background {
        object-fit: cover !important;
        object-position: center 65% !important;
    }

    .hero-home > .wp-block-cover__inner-container {
        min-height: 900px !important;
    }
}
/* DESKTOP HERO LAYOUT */
@media (min-width: 769px) {
    .hero-home {
        position: relative;
        min-height: 900px !important;
        overflow: hidden;
    }

    .hero-home > .wp-block-cover__image-background {
        object-fit: cover !important;
        object-position: center 68% !important;
    }

    .hero-home > .wp-block-cover__inner-container {
        position: absolute !important;
        inset: 0;
        z-index: 2;
        min-height: 900px !important;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 40px 40px 140px 40px !important;
    }

    .hero-home .hero-topbar {
        position: absolute !important;
        top: 24px !important;
        left: 24px !important;
        right: 24px !important;
        z-index: 30 !important;
        margin: 0 !important;
        display: flex;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .hero-home .wp-block-site-logo img.custom-logo {
        max-height: 88px;
        width: auto;
    }

    .hero-home h1,
    .hero-home h2 {
        position: relative;
        z-index: 10;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 1100px;
        color: #fff;
    }

    .hero-home h1 {
        font-size: 72px !important;
        line-height: 1.05 !important;
        font-weight: 800 !important;
        margin-top: 0;
        margin-bottom: 30px;
        text-shadow: 0 4px 18px rgba(0,0,0,.28);
    }

    .hero-home h2 {
        font-size: 30px !important;
        line-height: 1.2 !important;
        font-weight: 600 !important;
        margin-top: 10;
        text-shadow: 0 3px 14px rgba(0,0,0,.22);
    }

    .hero-home .wp-block-navigation .wp-block-navigation-item__content,
    .hero-home .wp-block-navigation .wp-block-pages-list__item__link,
    .hero-home .wp-block-navigation .wp-block-navigation__responsive-container-open {
        color: #fff !important;
    }

    .hero-home .wp-block-navigation svg {
        fill: currentColor;
    }
}