.component-gallery {
    padding-top: var(--p-lg);
    padding-bottom: var(--p-lg);
}

.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery a.gallery-item {
    width: 10.1%;
    margin: 0.5%;
    overflow: hidden;
    position: relative;
    cursor: pointer
}

.gallery a.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    -o-object-fit: cover;
    object-position: center;
    -o-object-position: center;
    -webkit-transition: all 0.6s !important;
    -moz-transition: all 0.6s !important;
    -o-transition: all 0.6s !important;
    transition: all 0.6s !important;
    position: relative;
    z-index: 0;
}

.gallery a.gallery-item:hover img {
    -webkit-transform: scale(1.01);
    -moz-transform: scale(1.01);
    -o-transform: scale(1.01);
    transform: scale(1.01);
}

.gallery a.gallery-item::after {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background-color: rgba(var(--black-rgb), .48);
    position: absolute;
    z-index: 1;
}

.gallery a.gallery-item:hover::after {
    background-color: rgba(var(--black-rgb), .3);
}

.gallery a.gallery-item::before {
    content: '';
    display: block;
    width: 42px;
    height: 42px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 2;
}

.gallery a.gallery-item.image::before {
    background-image: url('../../resources/img/icons/icon-image.min.svg');
    filter: grayscale(100) brightness(100);
    -webkit-filter: grayscale(100) brightness(100);
}

.gallery a.gallery-item.video::before {
    background-image: url('../../resources/img/icons/icon-play.min.svg');
    filter: grayscale(100) brightness(100);
    -webkit-filter: grayscale(100) brightness(100);
}

/* #region Responsive */
@media (max-width: 991.98px) {
    div.gallery a.gallery-item {
        width: 23.9%;
    }
}

/* #endregion */