.collection-greed .gallery {
    display: flex;
    flex-wrap: wrap;
    grid-gap: 20px;
    width: calc(100% + 20px);
}

.collection-greed .gallery.list {
    display: block !important;
    grid-gap: 20px;
    width: calc(100% + 20px);
}

.collection-greed .gallery .gallery__item {
    background: #EEEEEE;
    position: relative;
    width: calc((100%/4) - 20px);
    height: 400px;
}

.collection-greed .gallery.list .gallery__item {
    width: 100%;
    margin-bottom: 20px;
}

.collection-greed .gallery .gallery__item .img-box {
    display: block;
    overflow: hidden;
    height: 100%;
}
.collection-greed .gallery__item .gallery__item_title {
    font-size: 16px;
    position: absolute;
    bottom: 0;
    padding: 10px 5px 10px 5px;
    text-align: center;
    color: #FFFFFF;
    line-height: 20px;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    background: rgba(0, 0, 0, 0.7);
    width: calc(100% - 10px);
    height: 60px;
}

.collection-greed .gallery .gallery__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-greed .gallery.list .gallery__item .img-box {
    width: 250px
}
.collection-greed .gallery.list .gallery__item {
    height: 300px;
}
.collection-greed .gallery.list .gallery__item .gallery__item_title {
    display: none;
}

.collection-greed .gallery .hidden-grid-part {
    display: none;
}

.collection-greed .gallery.list .hidden-grid-part {
    display: block;
    padding: 20px;
    width: calc(100% - 270px);
}

.collection-greed .gallery.list .gallery__item {
    display: flex;
    background: #f8f8f8;
}

.hidden-grid-part .title, .hidden-grid-part .title a {
    font-size: 20px;
    color: var(--color-main-dark);
    text-decoration: none;
}

.hidden-grid-part .annotation {
    margin-top: 20px;
}

.hidden-grid-part .link {
    margin-top: 20px;
    color: var(--color-main-dark);
    cursor: pointer;
}

.video-thumb-container {
    height: auto !important;
    position: relative;
}

.video-thumb-container .img-box {
    height: 250px !important;
    overflow: hidden;
    display: block;
    cursor: pointer;
    position: relative;
}

.video-thumb {
    filter: brightness(0.7);
    transition: all 0.3s;
}

.video-thumb-container .play-icon {
    font-size: 100px;
    position: absolute;
    left: calc(50% - 50px);
    top: 75px;
    color: #cccccc;
    transition: all 0.3s;
}

.video-thumb-title {
    text-align: center;
    padding:5px;
    font-size: 14px;
    cursor: pointer;
    color: var(--color-main-dark);
}

.video-thumb-container .img-box img {
    transform: scale(1);
}


.video-thumb-container:hover .video-thumb {
    filter: brightness(0.3);
}
.video-thumb-container:hover .play-icon {
    color: #FFFFFF;
}

.video-thumb-container:hover .video-thumb-title {
    color: #FFFFFF;
    background: #000000;
}
