.video {
	display:flex;
	flex-wrap:wrap;
	width:100%;
}

.video a {
	display:flex;
	flex-direction:column;
	width:23%;
	margin-right:2.66666%;
	border:2px solid var(--cg1);
	transition:all .5s;
}

.video a:hover {
	border:2px solid var(--theme-red);
	box-shadow:5px 5px 0 var(--cg3);
}

.video a:nth-child(4n) {
	margin-right:0;
}

.video a:nth-child(n + 5) {
	margin-top:30px;
}

.video a .imagebox {
	position:relative;
	display:block;
	width:100%;
	height:auto;
	padding-top:100%;
	overflow:hidden;
}

.video a .imagebox img {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
	transition:all .5s;
}

.video a:hover .imagebox img {
	transform:scale(1.2);
}

.video a p {
	display:flex;
	flex-direction:column;
	justify-content:space-between;
	height:120px;
	padding:20px 10px 10px;
	border-top:2px solid var(--cg1);
	transition:all .5s;
}

.video a:hover p {
	border-top:2px solid var(--theme-red);
}

.video a p .video__title {
	display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 60px;
}

.video a p .video__title strong {
	position:relative;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    width:100%;
    font-size:18px;
	font-weight:500;
    line-height: 20px;
}

.video a p .video__title .video__line {
	display:block;
	width:40px;
	height:5px;
	background-color:var(--red);
	margin-top:10px;
	transition:all .5s;
}

.video a:hover p .video__title .video__line {
	width:100%;
	background-color:var(--navy);
}

.video a p .video__date {
	font-size:15px;
	font-weight:500;
	color:var(--cg5);
}

.post__null {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

/* 반응형 */
@media screen and (max-width:1350px) {}

@media screen and (max-width:1025px) {
	.video a {
		width:32%;
		margin-right:2%;
	}
	
	.video a:nth-child(4n) {
		margin-right:2%;
	}
	
	.video a:nth-child(3n) {
		margin-right:0;
	}
	
	.video a:nth-child(n + 4) {
		margin-top:30px;
	}
}

@media screen and (max-width:769px) {
	.video a {
		width:100%;
		margin-right:0;
	}
	
	.video a:nth-child(4n) {
		margin-right:0;
	}
	
	.video a:nth-child(3n) {
		margin-right:0;
	}
	
	.video a:nth-child(n + 2) {
		margin-top:30px;
	}
}



















