/* --- MOSTRA IMMAGINI --- */
.wp-block-post-featured-image.alignfull img,
.wp-block-post-featured-image.alignwide img {
    display: block !important;
}

/* --- NASCONDI ELEMENTI NON NECESSARI --- */
.wp-block-post-time-to-read,
.wp-block-post-date,
.wp-block-paragraph,
.taxonomy-category,
.wp-block-post-terms,
.wp-block-post-title,
.wp-block-columns.are-vertically-aligned-bottom,
.wp-block-spacer,
.wp-container-core-group-is-layout-f74443b4 > *,
.wp-block-column.is-vertically-aligned-bottom,
.wp-block-column.is-vertically-aligned-center,
.wp-block-column.is-vertically-aligned-top,
.wp-container-core-group-is-layout-b5de6c71,
.wp-container-core-group-is-layout-30bc376f > .alignfull,
.vc_custom_heading,
.vc_custom_1773670828055 {
    display: none !important;
}

/* --- PADDING / MARGINI --- */
.wp-block-group { 
    padding-top: 0px !important;
}

:root :where(.is-layout-flow) > :first-child {
    margin-block-start: 30px !important;
}

.wp-block-navigation .wp-block-page-list {
    margin-left: 20px !important;
}

.wp-block-template-part {
    margin-left: 0px !important;
}

/* --- VIDEO RESPONSIVE --- */
.video-verticale .wpb_video_wrapper {
    position: relative;
    padding-bottom: 177.78%;
    height: 0;
}

.video-verticale .wpb_video_wrapper iframe {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-bottom: 100%;
}

/* --- NAV BUTTONS (PREVIEW / NEXT) --- */
.nav-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-buttons .vc_column_container {
    width: 50% !important;
}

.nav-buttons h4 {
    margin: 0;
}

.nav-buttons a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
}

.nav-buttons a:hover {
    text-decoration: underline;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
}

/* --- EFFETTO IMMAGINI HOME (B/N → COLORE) --- */
.vc_gitem-zone {
    filter: grayscale(100%);
}

.vc_grid-item:hover .vc_gitem-zone {
    filter: grayscale(0%);
}

/* --- RIMOZIONE OVERLAY WPBAKERY --- */
.vc_gitem-zone::before,
.vc_gitem-zone::after {
    content: none !important;
    display: none !important;
}

.vc_gitem-zone-mini {
    opacity: 0 !important;
}

.vc_grid-item:hover .vc_gitem-zone-mini {
    opacity: 0 !important;
}

.vc_gitem-link {
    background: none !important;
}

.vc_grid-item:hover {
    opacity: 1 !important;
}

/* --- BLOCCA ZOOM WPBAKERY --- */
.vc_grid-item:hover .vc_gitem-zone {
    transform: none !important;
}

/* --- 3 GIF ATTACCATE --- */

.triple-gif {
    margin: 0 !important;
    padding-left: 50px !important;
    padding-right: 50px !important;
}

.triple-gif .wpb_column,
.triple-gif .vc_column_container,
.triple-gif .vc_column-inner,
.triple-gif .wpb_wrapper,
.triple-gif .wpb_single_image,
.triple-gif .vc_single_image-wrapper {
    margin: 0 !important;
    padding: 0 !important;
}

.triple-gif .vc_single_image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

.triple-gif img {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
}

/* --- MOBILE --- */
@media (max-width: 768px) {

    .triple-gif {
        display: flex !important;
        flex-wrap: nowrap !important;
    }

    .triple-gif .wpb_column {
        width: 33.333% !important;
    }
}
/* elimina spazio verticale mobile tra gif */

@media (max-width: 768px) {

    .mobile-gif-fix .wpb_single_image {
        margin-bottom: 0 !important;
    }

    .mobile-gif-fix .vc_column_container,
    .mobile-gif-fix .vc_column-inner {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .mobile-gif-fix .wpb_wrapper > * {
        margin-bottom: 0 !important;
    }

}
.stretch-gif {
    overflow: hidden;
}

.stretch-gif img {
    width: 134% !important;
    max-width: none !important;
    margin-left: 50%;
    transform: translateX(-50%);
    height: auto !important;
    display: block;
}
.wp-block-site-title {
    font-size: 20px !important;
}

@media (min-width: 1024px) {
    .wp-block-site-title {
        font-size: 40px !important;
    }
}