@charset "utf-8";

.pac-container { max-width: 1000px; }

/* PAC 2026 갤러리 */
.pac-gallery-main {
	overflow: hidden;
	background: #fff;
}

.pac-gallery {
	padding: 90px 0 110px;
	background: #f6f8fb;
}


/* 사진 없음 */
.pac-gallery__empty {
	padding: 80px 20px;
	border: 1px solid #dce5ef;
	background: #fff;
	text-align: center;
	font-size: 16px;
	color: #7c8798;
}



/* / */
.pac-gallery {
	padding:80px 0 100px;
	background:#f6f8fb;
}
.pac-gallery__tabs {
	display:flex;
	justify-content:center;
	margin-bottom:28px;
	border-bottom:1px solid #dce5ef;
}
.pac-gallery__tab {
	position:relative;
	display:flex;
	align-items:center;
	justify-content:center;
	min-width:220px;
	height:54px;
	padding:0 28px;
	font-size:17px;
	font-weight:600;
	color:#697386;
}
.pac-gallery__tab:hover {
	color:#1479dc;
}
.pac-gallery__tab.is-active {
	color:#1479dc;
	font-weight:700;
}
.pac-gallery__tab.is-active::after {
	content:"";
	position:absolute;
	left:0;
	right:0;
	bottom:-1px;
	height:3px;
	background:#1479dc;
}
.pac-gallery-viewer {
	width:100%;
	max-width:1000px;
	margin:0 auto;
}
.pac-gallery-viewer__main {
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	aspect-ratio:16/10;
	overflow:hidden;
	border:1px solid #dce5ef;
	background:#111827;
}
.pac-gallery-viewer__main img {
	display:block;
	width:100%;
	height:100%;
	object-fit:contain;
}
.pac-gallery-viewer__thumb-area {
	display:flex;
	align-items:center;
	gap:10px;
	margin-top:12px;
}
.pac-gallery-viewer__thumb-wrap {
	flex:1;
	min-width:0;
	overflow:hidden;
}
.pac-gallery-viewer__thumb-track {
	display:flex;
	gap:8px;
	overflow-x:auto;
	scroll-behavior:smooth;
	scrollbar-width:none;
}
.pac-gallery-viewer__thumb-track::-webkit-scrollbar {
	display:none;
}
.pac-gallery-viewer__thumb {
	flex:0 0 150px;
	height:100px;
	padding:0;
	overflow:hidden;
	border:2px solid transparent;
	background:#e9edf2;
	cursor:pointer;
	opacity:.6;
	transition:border-color .2s ease, opacity .2s ease;
}
.pac-gallery-viewer__thumb img {
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}
.pac-gallery-viewer__thumb:hover {
	opacity:1;
}
.pac-gallery-viewer__thumb.is-active {
	border-color:#1479dc;
	opacity:1;
}
6 {
	flex:0 0 42px;
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	padding:0;
	border:1px solid #dce5ef;
	background:#fff;
	font-size:35px;
	color:#374151;
	cursor:pointer;
}
.pac-gallery-viewer__arrow:hover {
	border-color:#1479dc;
	color:#1479dc;
}
.pac-gallery-viewer__arrow:disabled {
	opacity:.35;
	cursor:default;
}
.pac-gallery__pagination {
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	margin-top:30px;
}
.pac-gallery__page {
	display:flex;
	align-items:center;
	justify-content:center;
	width:38px;
	height:38px;
	border:1px solid #dce5ef;
	background:#fff;
	font-size:14px;
	font-weight:600;
	color:#697386;
}
.pac-gallery__page:hover {
	border-color:#1479dc;
	color:#1479dc;
}
.pac-gallery__page.is-active {
	border-color:#1479dc;
	background:#1479dc;
	color:#fff;
}
.pac-gallery__page--arrow {
	font-size: 22px;
	font-weight: 500;
}
.pac-gallery__empty {
	padding:70px 20px;
	border:1px solid #dce5ef;
	background:#fff;
	text-align:center;
	font-size:15px;
	color:#697386;
}
@media all and (max-width:1024px) {
	.pac-gallery-viewer {
		max-width:900px;
	}
	.pac-gallery-viewer__thumb {
		flex-basis:130px;
		height:88px;
	}
}
@media all and (max-width:767px) {
	.pac-gallery {
		padding:55px 0 70px;
	}
	.pac-gallery__tabs {
		margin-bottom:20px;
	}
	.pac-gallery__tab {
		flex:1;
		min-width:0;
		height:48px;
		padding:0 8px;
		font-size:14px;
	}
	.pac-gallery-viewer__main {
		aspect-ratio:4/3;
	}
	.pac-gallery-viewer__thumb-area {
		gap:6px;
		margin-top:8px;
	}
	.pac-gallery-viewer__thumb {
		flex-basis:100px;
		height:70px;
	}
	.pac-gallery-viewer__arrow {
		flex-basis:36px;
		width:36px;
		height:36px;
	}
	.pac-gallery__pagination {
		margin-top:24px;
	}
}
@media all and (max-width:480px) {
	.pac-gallery-viewer__thumb {
		flex-basis:82px;
		height:58px;
	}
	.pac-gallery-viewer__arrow {
		flex-basis:32px;
		width:32px;
		height:32px;
	}
}

/* 사진 좌우 클릭 화살표 */
.pac-gallery-viewer__arrow {
	flex:0 0 42px;
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	padding:0;
	border:1px solid #dce5ef;
	background:#fff;
	font-size:30px;
	font-weight:400;
	line-height:1;
	color:#222;
	cursor:pointer;
}
.pac-gallery-viewer__arrow:hover {
	border-color:#1479dc;
	color:#1479dc;
}

/* 페이지네이션 화살표 */
.pac-gallery__page--arrow {
	font-size:24px;
	font-weight:400;
	line-height:1;
}
.pac-gallery__page-dot {
	display:flex;
	align-items:center;
	justify-content:center;
	min-width:28px;
	height:38px;
	font-size:14px;
	color:#8a94a3;
}

/* 썸네일 이미지 */
.pac-gallery-viewer {
	width:100%;
	max-width:1000px;
	margin:0 auto;
}
.pac-gallery-viewer__main {
	display:flex;
	align-items:center;
	justify-content:center;
	width:100%;
	aspect-ratio:16/10;
	overflow:hidden;
	border:1px solid #dce5ef;
	background:#111827;
}
.pac-gallery-viewer__main img {
	display:block;
	width:100%;
	height:100%;
	object-fit:contain;
}
.pac-gallery-viewer__thumb-area {
	display:flex;
	align-items:center;
	gap:10px;
	margin-top:12px;
}
.pac-gallery-viewer__thumb-wrap {
	flex:1;
	min-width:0;
	overflow:hidden;
}
.pac-gallery-viewer__thumb-track {
	display:flex;
	gap:8px;
	overflow-x:auto;
	scroll-behavior:smooth;
	scrollbar-width:none;
}
.pac-gallery-viewer__thumb-track::-webkit-scrollbar {
	display:none;
}
.pac-gallery-viewer__thumb {
	flex:0 0 150px;
	height:100px;
	padding:0;
	overflow:hidden;
	border:2px solid transparent;
	background:#e9edf2;
	cursor:pointer;
	opacity:.6;
	transition:border-color .2s ease,opacity .2s ease;
}
.pac-gallery-viewer__thumb img {
	display:block;
	width:100%;
	height:100%;
	object-fit:cover;
}
.pac-gallery-viewer__thumb:hover {
	opacity:1;
}
.pac-gallery-viewer__thumb.is-active {
	border-color:#1479dc;
	opacity:1;
}
.pac-gallery-viewer__arrow {
	flex:0 0 42px;
	display:flex;
	align-items:center;
	justify-content:center;
	width:42px;
	height:42px;
	padding:0;
	border:1px solid #dce5ef;
	background:#fff;
	font-size:30px;
	font-weight:400;
	line-height:1;
	color:#222;
	cursor:pointer;
}
.pac-gallery-viewer__arrow:hover {
	border-color:#1479dc;
	color:#1479dc;
}
@media all and (max-width:1024px) {
	.pac-gallery-viewer__thumb {
		flex-basis:130px;
		height:88px;
	}
}
@media all and (max-width:767px) {
	.pac-gallery-viewer__main {
		aspect-ratio:4/3;
	}
	.pac-gallery-viewer__thumb-area {
		gap:6px;
		margin-top:8px;
	}
	.pac-gallery-viewer__thumb {
		flex-basis:100px;
		height:70px;
	}
	.pac-gallery-viewer__arrow {
		flex-basis:36px;
		width:36px;
		height:36px;
	}
}
@media all and (max-width:480px) {
	.pac-gallery-viewer__thumb {
		flex-basis:82px;
		height:58px;
	}
	.pac-gallery-viewer__arrow {
		flex-basis:32px;
		width:32px;
		height:32px;
		font-size:26px;
	}
}

/* 로딩 효과만 추가 */
#galleryAjaxArea {
	transition:opacity .2s ease;
}
#galleryAjaxArea.is-loading {
	opacity:.45;
	pointer-events:none;
}

/* 스케치 영상 css */
.pac-gallery-video {
	width:100%;
	max-width:1100px;
	margin:0 auto;
}
.pac-gallery-video__frame {
	position:relative;
	width:100%;
	aspect-ratio:16/9;
	overflow:hidden;
	background:#000;
}
.pac-gallery-video__frame iframe {
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
	border:0;
}