﻿body {
}

.gallery-style4 .gallery-img-salve {
    margin-left: -300px;
    margin-right: -100px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

    .gallery-style4 .gallery-img-salve img {
        transition: 0.5s ease-in-out;
    }

    .gallery-style4 .gallery-img-salve:hover img {
        transform: scale(1.1);
    }

.privacyInput {
    height: 20px;
    width: 20px;
    visibility: hidden;
    position: absolute;
}

/* [Stile modale YouTube] */
.youtube-modal .swal2-popup {
    padding: 0;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

    .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }



/* [SweetAlert2 Close Button Style] */
.swal2-popup .swal2-close {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    padding: 6px;
    z-index: 9999;
    box-shadow: 0 0 5px rgba(0,0,0,0.3);
    border: 1px solid #ccc;
    color: #000;
    font-size: 20px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Ensure visibility on hover */
    .swal2-popup .swal2-close:hover {
        background-color: rgba(255, 255, 255, 1);
        color: #000;
        box-shadow: 0 0 6px rgba(0,0,0,0.4);
    }



.youtube-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .youtube-button::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 14px;
        background-image: url('../images/youtub_ico.png');
        background-size: contain;
        background-repeat: no-repeat;
    }

.blog-single a:not(.vs-btn),
.destination-details a:not(.vs-btn) {
    color: #ff683f;
}

    .blog-single a:not(.vs-btn):hover,
    .destination-details a:not(.vs-btn):hover {
        text-decoration: underline;
    }

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: inline-block;
    float: left;
    margin-top: -8px;
    margin-right:10px;
}

    .avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* [/Stile modale YouTube] */

.features-style1, .features-style3 {
    min-height: 330px;
}

/* [override banner] */
@media (min-width: 1920px) {
    .hero-layout2 .hero-img .shape-mokup {
        right: -4.5%;
        transform: rotateZ(23deg);
        height: 65%;
        width: 35%;
    }
}
@media (min-width: 2120px) {
    .hero-layout2 .hero-img .shape-mokup {
        right: -4.5%;
        transform: rotateZ(23deg);
        height: 65%;
        width: 35%;
    }
}
@media (min-width: 2400px) {
    .hero-layout2 .hero-img .shape-mokup {
        right: -4.5%;
        transform: rotateZ(23deg);
        height: 65%;
        width: 30%;
    }
}
@media (min-width: 2900px) {
    .hero-layout2 .hero-img .shape-mokup {
        right: -4.5%;
        transform: rotateZ(23deg);
        height: 65%;
        width: 25%;
    }
}
/* [/override banner] */

/*#region [Magnific Popup: stili per YouTube Short]*/

/* [Container per video Short (9:16)] */
.mfp-container.short {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.mfp-container.short .mfp-iframe-holder,
.mfp-container.short .mfp-iframe-scaler,
.mfp-container.short .mfp-content {
    width: 360px !important;
    height: 640px !important;
    max-width: 50vw !important;
    max-height: 90vh !important;
    padding: 0 !important;
}

/* [Iframe Short con proporzioni 9:16] */
.mfp-iframe.short {
    width: 360px !important;
    height: 640px !important;
    max-width: 50vw !important;
    max-height: 90vh !important;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/* [Video Standard (mantiene proporzioni esistenti 16:9)] */
.mfp-container:not(.short) .mfp-iframe-holder,
.mfp-container:not(.short) .mfp-iframe-scaler,
.mfp-container:not(.short) .mfp-content {
    width: 560px !important;
    height: 315px !important;
    max-width: 90vw !important;
    max-height: 60vh !important;
}

.mfp-iframe:not(.short) {
    width: 560px !important;
    height: 315px !important;
    max-width: 90vw !important;
    max-height: 60vh !important;
}

/* [Dimensioni aumentate per risoluzioni alte (Full HD+)] */
@media (min-width: 1920px) {
    /* [Short più grandi per schermi Full HD e superiori] */
    .mfp-container.short .mfp-iframe-holder,
    .mfp-container.short .mfp-iframe-scaler,
    .mfp-container.short .mfp-content,
    .mfp-iframe.short {
        width: 480px !important;  /* da 360px a 480px */
        height: 853px !important; /* da 640px a 853px (mantenendo 9:16) */
        max-width: 40vw !important;
        max-height: 85vh !important;
    }
    
    /* [Standard più grandi per schermi Full HD e superiori] */
    .mfp-container:not(.short) .mfp-iframe-holder,
    .mfp-container:not(.short) .mfp-iframe-scaler,
    .mfp-container:not(.short) .mfp-content,
    .mfp-iframe:not(.short) {
        width: 800px !important; /* da 560px a 800px */
        height: 450px !important; /* da 315px a 450px (mantenendo 16:9) */
        max-width: 80vw !important;
        max-height: 70vh !important;
    }
}

/* [Dimensioni ancora più grandi per risoluzioni 2K e 4K] */
@media (min-width: 2560px) {
    /* [Short per schermi 2K e superiori] */
    .mfp-container.short .mfp-iframe-holder,
    .mfp-container.short .mfp-iframe-scaler,
    .mfp-container.short .mfp-content,
    .mfp-iframe.short {
        width: 600px !important;  /* 600px per 2K+ */
        height: 1067px !important; /* 1067px (mantenendo 9:16) */
        max-width: 35vw !important;
        max-height: 80vh !important;
    }
    
    /* [Standard per schermi 2K e superiori] */
    .mfp-container:not(.short) .mfp-iframe-holder,
    .mfp-container:not(.short) .mfp-iframe-scaler,
    .mfp-container:not(.short) .mfp-content,
    .mfp-iframe:not(.short) {
        width: 1024px !important; /* 1024px per 2K+ */
        height: 576px !important; /* 576px (mantenendo 16:9) */
        max-width: 75vw !important;
        max-height: 65vh !important;
    }
}

/* [Dimensioni massime per schermi ultra-wide e 4K+] */
@media (min-width: 3440px) {
    /* [Short per schermi ultra-wide] */
    .mfp-container.short .mfp-iframe-holder,
    .mfp-container.short .mfp-iframe-scaler,
    .mfp-container.short .mfp-content,
    .mfp-iframe.short {
        width: 720px !important;  /* 720px per ultra-wide */
        height: 1280px !important; /* 1280px (mantenendo 9:16) */
        max-width: 30vw !important;
        max-height: 75vh !important;
    }
    
    /* [Standard per schermi ultra-wide] */
    .mfp-container:not(.short) .mfp-iframe-holder,
    .mfp-container:not(.short) .mfp-iframe-scaler,
    .mfp-container:not(.short) .mfp-content,
    .mfp-iframe:not(.short) {
        width: 1280px !important; /* 1280px per ultra-wide */
        height: 720px !important; /* 720px (mantenendo 16:9) */
        max-width: 70vw !important;
        max-height: 60vh !important;
    }
}

/* [Responsive per dispositivi mobili - mantieni le dimensioni esistenti] */
@media (max-width: 768px) {
    /* [Short su mobile: mantieni proporzioni verticali] */
    .mfp-container.short .mfp-iframe-holder,
    .mfp-container.short .mfp-iframe-scaler,
    .mfp-container.short .mfp-content,
    .mfp-iframe.short {
        width: 70vw !important;
        height: 124.44vw !important; /* 70vw * 16/9 per mantenere 9:16 */
        max-width: 70vw !important;
        max-height: 90vh !important;
    }
    
    /* [Standard su mobile: mantieni proporzioni orizzontali] */
    .mfp-container:not(.short) .mfp-iframe-holder,
    .mfp-container:not(.short) .mfp-iframe-scaler,
    .mfp-container:not(.short) .mfp-content,
    .mfp-iframe:not(.short) {
        width: 95vw !important;
        height: 53.4375vw !important; /* 95vw * 9/16 */
        max-width: 95vw !important;
        max-height: 60vh !important;
    }
}

@media (max-width: 480px) {
    /* [Short su schermi molto piccoli] */
    .mfp-container.short .mfp-iframe-holder,
    .mfp-container.short .mfp-iframe-scaler,
    .mfp-container.short .mfp-content,
    .mfp-iframe.short {
        width: 80vw !important;
        height: 142.22vw !important; /* 80vw * 16/9 */
        max-height: 85vh !important;
    }
}

/* [Animazione di apertura migliorata per Short] */
.mfp-container.short.mfp-ready {
    animation: mfpFadeInScaleVertical 0.3s ease-out;
}

@keyframes mfpFadeInScaleVertical {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/*#endregion [/Magnific Popup: stili per YouTube Short]*/

.col-auto.d-flex .user-btn i
{
    font-size: 40px;
}