.galleries-block h2 {
    font-size: 22px;
    font-weight: 500;
}

.gallery-header {
    font-size: 36px;
    margin-bottom: 10px;
}

.gallery-block {
    margin-top: 10px;
}

.gallery-title {
    margin-bottom: 10px;
}

.gallery-body {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-element {
    width: 325px;
    aspect-ratio: 16/9;
    background-color: white;
    position: relative;
}

.gallery-element .gallery-img-div {
    width: 325px;
    aspect-ratio: 16/9;
    text-align: center;
}

.gallery-element img {
    height: 100%;
}

.gallery-element-text-block {
    padding: 10px 20px 15px;
}

h3.gallery-element-name  {
    margin-bottom: 5px;
    font-size: 22px;
    font-weight: 500;
}

.gallery-element-description {
    font-size: 16px;
    font-weight: 400;
    color: var(--gray4-text-color);
}

.gallery-play-button {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 60px;
    left: 50%;
    translate: -50%;
    z-index: 2;
    background-image: url("/local/templates/csio-dpo/svg/play-button.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

@media (max-width: 780px){
    .gallery-header {
        font-size: 26px;
        margin-top: 10px;
    }

    .gallery-element {
        width: 100%;

    }

    .gallery-element .gallery-img-div {
        width: 100%;
    }

    .gallery-element img {
        height: 100%;
    }
}