.photo {
	display: grid;
    grid-template-columns: repeat(3,380px);
    grid-auto-rows: 360px;
    justify-content: space-between;
    align-items: center;
    row-gap: 35px;
	width:100%;
}

.photo a {
	display:flex;
	flex-direction:column;
    width: 100%;
    height: 100%;
	transition:all .5s;
}

.photo a:hover {
	border:2px solid var(--theme-red);
	box-shadow:5px 5px 0 var(--cg3);
}

.photo a .imagebox {
	position:relative;
	display:block;
	width:100%;
	height:auto;
	border: 1px solid #dadada;
	padding-top:250px;
	overflow:hidden;
	transition:all .5s;
}

.photo a .imagebox img {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	object-fit:cover;
	transition:all .5s;
}

.photo a .imagebox .screen {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    font-size: 50px;
    color: #fff;
    background-color: rgb(16 25 58 / 50%);
    opacity:0;
    transition:all 0.5s;
}

.photo a p {
	display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    line-height: 30px;
	transition:all .5s;
}

.photo a p .photo__title {
	position:relative;
    width:100%;
    height:60px;
    font-size: 20px;
    font-weight: 600;
}

.photo a p .photo__date {
    font-size: 18px;
    font-weight: 600;
    color: #484848;
}

.photo a:hover .imagebox {
    box-shadow: 5px 5px 0 #999999;
}

.photo a:hover .imagebox .screen {
	opacity:1;
}

.photo a:hover p {
    text-decoration: underline;
    text-underline-offset: 5px;
}

.post__null {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

/* 반응형 */
@media screen and (max-width:1250px) {
	.photo {
	    grid-template-columns: repeat(3,1fr);
	    column-gap: 10px;
	}
}

@media screen and (max-width:1025px) {
	.photo {
	    grid-template-columns: repeat(2,1fr);
	}
}

@media screen and (max-width:769px) {
	.photo {
	    grid-template-columns: repeat(1,1fr);
	}
}



















