/* 갤러리 */
.default-gallary {
	display: flex;
	flex-wrap: wrap;
	gap: 4.7rem 4.4rem;
}
.default-gallary[catalog] {
	gap: 4.7rem 3rem;	
}
.default-gallary li {
	width: calc((100% - 8.8rem) / 3);
}
.default-gallary[catalog] li {
	width: calc((100% - 9rem) / 4);
}
.default-gallary li.no-data {
	border-top: 0.2rem solid #222;
}
.default-gallary a {
	display: block;
}
.default-gallary .img {
	aspect-ratio: 45 / 32;
	position: relative;
}
.default-gallary .img[youtube] {
	aspect-ratio: 16 / 8.8;
}
.default-gallary[catalog] .img {
	aspect-ratio: 1 / 1;
}
.default-gallary .img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.default-gallary .img::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.4));
	/* backdrop-filter: blur(2px); */
	opacity: 0;
	transition: opacity 0.4s ease;
}
.default-gallary a:hover .img::after {
	opacity: 1;
}
.default-gallary .title {
	font-size: 1.9rem;
	font-weight: 500;
	margin-top: 2rem;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.default-gallary a:hover .title {
	text-decoration: underline;
}
.default-gallary .date {
    color: #999;
    font-weight: 300;
    margin-top: 1.6rem;
}


/* 공통 상세페이지 */
.board-detail .status {
	padding-top: 2rem;
    display: flex;
    gap: 0 3rem;
    font-weight: 300;
    /* color: #666; */
	font-size: 1.8rem;
}
.board-detail .status li:not(:first-child) {
    position: relative;
}
.board-detail .status li:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 0.2rem;
    left: -1.5rem;
    width: 1px;
    height: 1.3rem;
    background-color: #ddd;
}
.board-detail h2 {
    font-size: 3rem;
    margin-top: 3rem;
    padding-bottom: 2rem;
    letter-spacing: -0.1rem;
	line-height: 1.33;
}
.board-detail h2 .lock {
	width: 2rem;
    margin-left: 1rem;
    margin-top: -0.5rem;
}
.board-detail .fr-view {
    padding: 3rem 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    min-height: 20rem;
	line-height: 1.7;
	/* font-weight: 300; */
	font-size: 1.8rem;
}
.board-detail .file, .board-detail .period {
    display: flex;
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
}
.board-detail .file h3 {
	flex-shrink: 0;
    font-size: 1.8rem;
    margin-top: 0.1rem;
    width: 10rem;
    padding-left: 2rem;
	line-height: 1.5;
	padding-top: 0.1rem;
}
.board-detail .file ul {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 0.4rem 2rem;
    flex-wrap: wrap;
}
.board-detail .file li {
	line-height: 1.5;
    font-size: 1.6rem;
    background: url('/images/board_ico/ico-clip.svg') no-repeat left top 0.5rem / 1.6rem;
    padding-left: 2.2rem;
}
.board-detail .bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 3rem;
}
.board-detail .bottom ul {
    display: flex;
    gap: 0 5rem;
    position: relative;
	font-size: 1.8rem;
}
.board-detail .bottom li:first-child {
    padding-left: 3.3rem;
}
.board-detail .bottom li:first-child::before {
    content: '';
    position: absolute;
    top: 1.2rem;
    left: 0;
    width: 2.6rem;
    height: 1px;
    background-color: #222;
}
.board-detail .bottom li:first-child::after {
    content: '';
    position: absolute;
    top: 1.2rem;
    left: 0;
    width: 1.1rem;
    height: 1px;
    background-color: #222;
    transform-origin: left bottom;
    transform: rotate(-40deg);
}
.board-detail .bottom li {
    position: relative;
}
.board-detail .bottom li:last-child {
    padding-right: 3.3rem;
}
.board-detail .bottom li:last-child::before {
    content: '';
    position: absolute;
    top: 1.2rem;
    right: 0;
    width: 2.6rem;
    height: 1px;
    background-color: #222;
}
.board-detail .bottom li:last-child::after {
    content: '';
    position: absolute;
    top: 1.2rem;
    right: 0;
    width: 1.1rem;
    height: 1px;
    background-color: #222;
    transform-origin: right bottom;
    transform: rotate(40deg);
}
.board-detail .bottom li.none {
    color: #999;
}
.board-detail .bottom li.none::before, .board-detail .bottom li.none::after {
    background-color: #999;
}
.board-detail .bottom li.none::before, .board-detail .bottom li.none::after {
    background-color: #999;
}
.board-detail .bottom ul::after {
    content: '';
    position: absolute;
    top: 0.2rem;
    left: 50%;
    width: 1px;
    height: 1.3rem;
    background-color: #ddd;
}
.board-detail .bt_list {
    /* margin-left: auto; */
    height: 6.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    width: 15rem;
    border-radius: 3.3rem;
    font-size: 2rem;
    color: #fff;
    font-weight: 500;
    background-color: var(--pc2);
}
.board-detail .bt_list img {
    margin-right: 0.6rem;
}
.btn-wrap {
    width: 100%;
    text-align: center;
    margin-top: 7rem;
    display: flex;
    justify-content: center;
}
.confirm {
    display: inline-block;
    width: 20rem;
    height: 6.4rem;
    line-height: 6.4rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    background-color: var(--pc1);
    color: #fff;
    border-radius: 0.8rem;
}
.cancel {
    display: inline-block;
    width: 20rem;
    height: 6.4rem;
    line-height: 6.4rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    background-color: var(--pc2);
    color: #fff;
    border-radius: 0.8rem;
}
.btn-list {
    display: inline-block;
    width: 20rem;
    height: 6.4rem;
    line-height: 6.4rem;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 500;
    background-color: var(--pc3);
    color: #fff;
    border-radius: 0.8rem;
}
.video-container {
	width: 78.4rem;
	max-width: 100%;
	aspect-ratio: 16 / 9;
}
.video-container iframe {
	width: 100%;
	height: 100%;
	object-fit: cover;
}


/* 미디어쿼리 */
@media screen and (max-width: 1279px) {
	/* 갤러리 */
	.default-gallary {
		gap: 5.7rem 1.6rem;
	}
	.default-gallary li {
		width: calc((100% - 3.2rem) / 3);
	}
}

@media screen and (max-width: 1023px) {
	/* 갤러리 */
	.default-gallary li {
		width: calc((100% - 1.6rem) / 2);
	}
}

@media screen and (max-width:767px){
	/* 갤러리 */
	.default-gallary {
		gap: 5rem 1.4rem;
	}
	.default-gallary li {
		width: calc((100% - 1.4rem) / 2);
	}
	.default-gallary .img::after {
		display: none;
	}
	.default-gallary .title {
		/* font-size: 1.7rem; */
	}
	.default-gallary .date {
		font-size: 1.4rem;
		margin-top: 1rem;
	}

	/* 공통 상세페이지 */
	.board-detail h2 {
		font-size: 2.4rem;
	}
	.board-detail .file h3 {
		width: 8rem;
	}
	.board-detail .file li {
		padding-left: 2.6rem;
	}
	.board-detail .bottom {
		flex-direction: column;
		align-items: center;
	}
	.board-detail .bottom ul {
		margin-bottom: 5rem;
	}
	.board-detail .bt_list {
		font-size: 1.8rem;
	}
}