.about-page, .about-us-area
{
    position: inherit !important;
}
.section.section--head {
    margin-bottom: 120px;
}

.serv_auto_dark .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    opacity: .7;
    background: #000000;
}

.pswp__ui.pswp__ui--hidden,
.about-intro .col-four {
    display: none;
}
.video-container {
    width: 44%;
    height: 400px;
    float: left; /* Mantiene il tuo layout originale */
    margin: 3%;
    margin-bottom: 25px;
    position: relative; /* Fondamentale per centrare l'icona */
    background-color: #000;
    border: 1px solid rgb(252, 152, 60);
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    /* Cambia da cover a contain per vedere tutto il video senza tagli */
    object-fit: contain; 
    display: block;
    background-color: #000; /* Mantiene lo sfondo nero dove il video non arriva */
}

/* Stile dell'icona Play al centro */
.icon-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(252, 152, 60, 0.8); /* Arancione come il tuo bordo, ma semitrasparente */
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 10;
}

.icon-video:hover {
    background: rgb(252, 152, 60); /* Arancione pieno al passaggio del mouse */
    transform: translate(-50%, -50%) scale(1.1);
    color: #fff;
}

/* Fix per mobile: su schermi piccoli i video vanno uno sotto l'altro */
@media (max-width: 768px) {
    .video-container {
        width: 94%; /* Quasi tutta la larghezza */
        margin: 3%;
        height: auto; /* Altezza automatica per non tagliare il video su mobile */
    }
    .video-container video {
        height: auto;
    }
}
.col-eight {
width:100% !important;
}
div#demo-test-gallery a {
    width: 31%;
    float: left;
    margin: 1%;
    margin-bottom: 25px;
    height: 250px;
    overflow: hidden;
    text-align: center;
    background-color: #000;
}


h1.title_album {
    text-transform: uppercase;
    color: #1f1f2c;
    line-height: 1.3;
    font-weight: 700;
    font-size: 36px;
    margin-bottom: 20px;
    text-align: center;
}

#about > div.row.about-bottom-image > h1.title_album {
    display: none;
}

p.num_foto_album {
    display: none;
}

@media (max-width:990px)
{
div#demo-test-gallery a {
    height: 190px;
}
}

@media (max-width:800px)
{
div#demo-test-gallery a {
    width: 48%;
}
div#demo-test-gallery a {
    height: 260px;
}

}



div#demo-test-gallery a img {
    height: 100%;
    width:auto;
    max-width: none;
}
@media (max-width:420px)
{
div#demo-test-gallery a {
    width: 98%;
}
div#demo-test-gallery a {
    height: auto;
}
div#demo-test-gallery a img {
    width: 100% !important;
}
}
@media (max-width: 767.98px) {
    div#demo-test-gallery a {
        background-color: #FFF;
    }
    h1.title_album {
        text-transform: uppercase;
        color: #1f1f2c;
        line-height: 1.3;
        font-weight: 700;
        font-size: 23px;
        margin-bottom: 20px;
        text-align: center;
    }
}

