.videogallery{
	align-items: center;
	background: url(/images/site/dk_portfolio_bg.png) no-repeat top 230px right 0px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	margin-top: 230px;
	padding: 50px 0px 100px 0px;
	width: 100%;
}


.videogallery-content {
    display: grid;
    box-sizing: border-box;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px 30px;
    border-bottom: 1px solid #d6d6d6;
    padding-bottom: 25px;
}



.videogallery > div.videogallery-wrapper{
	max-width: 1420px;
    display: flex;
    flex-direction: column;
    align-items: center;
	position: relative;
	width: 100%;
}


.videogallery h2{
	align-items: flex-start;
	color: #f2f2f2;
	font-family: 'Segoe UI';
	font-size: 192px;
	font-weight: normal;
	justify-content: flex-start;
	line-height: 192px;
    margin: 0 0 15px;
	position: relative;
	text-transform: uppercase;
    width: 100%;
}

.videogallery h2 > span{
	color: #298c2b;
	font-family: 'Segoe UI';
	font-size: 60px;
	line-height: 60px;
	position: absolute;
	text-align: center;
	text-transform: uppercase;
	top: 70px;
	width: 100%;
}

.videogallery h2::after{
	background: url(/images/site/sd_portfolio_h1.png) no-repeat top center;
	bottom: -10px;
	content: '';
	display: block;
	height: 60px;
	left: calc(50% - 35px);
	position: absolute;
	width: 85px;
}



.videogallery .video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 45px;
    cursor: pointer;
    opacity: 1;
    transition: .3s;
}

.videogallery  .video-item{
    display:block;
    position: relative;
    aspect-ratio:1/1;
}
.videogallery .video-item video{
    display: block;
    width: 100%;
    height: 100%;
}


.videogallery .goDalee{
	justify-content: flex-end;
	margin-top: 15px;
	width: 100%;
}

.videogallery .goDaleeLink{
	align-items: center;
	gap: 0px 10px;
	text-decoration: none;
}

.videogallery .goDaleeLink > span{
	color: #298c2b;
	font-family: "Tahoma";
	font-size: 12px;
	text-align: right;
	text-transform: uppercase;
}
.videogallery .goDaleeLink:hover > span{
	color: #2d2d2d;
}
.videogallery .goDaleeLink:hover > img{
	filter: grayscale(100%) contrast(200%);
}

/* Плей значок SVG */
.videogallery .video-item .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; 
    transition: transform 0.3s, opacity 0.3s;
    opacity: 0.8;
}

.videogallery .video-item:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}


@media (max-width: 1410px) {
    .videogallery-content {
        max-width: 900px;
        width: 100%;
    }
}
@media(max-width:1200px){
    .videogallery-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .videogallery-content  {
        max-width: 580px;
    }
    .videogallery h2{ font-size: 90px; }
	.videogallery h2::after{ bottom: 15px; }
	.videogallery h2 > span{
		font-size: 45px;
		top: -80px;
	}

	.videogallery .goDaleeLink{
		margin-right: 20px;
	}
}

@media(max-width: 600px) {
	.videogallery{ margin-top: 120px; }
	.videogallery h2{ 
		align-items: center;
		color: #298c2b;
		font-family: 'Segoe UI';
		font-size: 52px;
		line-height: 52px;
		margin-bottom: 80px;
	}
	.videogallery h2::after{ bottom: -65px; }
	.videogallery h2 > span{ display: none; }
    .videogallery-content  {
        max-width: 430px;
    }
}
@media(max-width:340px){
    .videogallery-content {
        grid-template-columns: repeat(1, 1fr);
        padding: 0 20px;
    }
}