@charset "utf-8";
/* gallery_news — 목록/글보기 (시안: 좌측 제목·우측 날짜, 본문은 더 좁게, LIST >) */

/* ===== 글보기 ===== */
.bo-gall-view {
	width: 100%;
	max-width: none;
	margin: 0;
	/* 탭~제목 / LIST~푸터 여백: 기존 5em·7em의 3배 */
	padding: 10em 0 15em;
	box-sizing: border-box;
}
.bo-gall-view .com-box-01 {
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
	max-width: var(--width-4-pd, 1575px);
	width: 100%;
	box-sizing: border-box;
}

/* 제목 라인 — 좌측 제목 / 우측 날짜 (본문보다 넓음) */
.bo-gall-view .view-head {
	position: static;
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	padding: 0;
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	background: transparent;
	z-index: auto;
}
.bo-gall-view .view-cate {
	margin: 1.2em 0 0;
	font-size: 0.9em;
	font-weight: 600;
	color: var(--color-base-3, #113090);
}
.bo-gall-view .view-head-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5em 2em;
	padding: 1.6em 0.2em 1.5em;
}
.bo-gall-view .view-title {
	flex: 1;
	min-width: 0;
	margin: 0;
	font-size: 1.55em;
	font-weight: 700;
	line-height: 1.45;
	color: #222;
	text-align: left;
	word-break: keep-all;
}
.bo-gall-view .view-title .sch_word {
	color: #e60012;
	font-weight: 800;
}
.bo-gall-view .view-date {
	flex: 0 0 auto;
	margin: 0;
	padding: 0;
	font-size: 0.95em;
	font-weight: 300;
	color: #888;
	white-space: nowrap;
	text-align: right;
	line-height: 1.45;
}

/* 본문 영역 — 제목보다 좌우 여백 더 두어 좁게 */
.bo-gall-view .view-main {
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* 관리 버튼 */
.bo-gall-view .view-btn-list {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.5em;
	margin: 0;
	padding: 0;
	list-style: none;
}
.bo-gall-view .view-btn-list li {
	margin: 0;
	padding: 0;
}
.bo-gall-view .gall-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 5.2em;
	padding: 0.55em 1.15em;
	border-radius: 0.4em;
	border: 1px solid var(--color-base-3, #113090);
	background: #fff;
	color: var(--color-base-3, #113090);
	font-size: 0.92em;
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
	box-sizing: border-box;
}
.bo-gall-view a.gall-btn:hover,
.bo-gall-view .gall-btn:hover {
	background: var(--color-base-3, #113090);
	color: #fff;
	text-decoration: none;
}
.bo-gall-view .gall-btn-primary {
	background: var(--color-base-3, #113090);
	color: #fff;
	border-color: var(--color-base-3, #113090);
}
.bo-gall-view .gall-btn-primary:hover {
	background: var(--color-base-1, #0a2ca9);
	border-color: var(--color-base-1, #0a2ca9);
	color: #fff;
}
.bo-gall-view .gall-btn-line {
	border-color: #c8c8c8;
	color: #555;
}
.bo-gall-view .gall-btn-line:hover {
	border-color: var(--color-base-3, #113090);
	background: #fff;
	color: var(--color-base-3, #113090);
}
.bo-gall-view .gall-btn-danger {
	border-color: #c45;
	color: #c45;
}
.bo-gall-view .gall-btn-danger:hover {
	background: #c45;
	border-color: #c45;
	color: #fff;
}

/* 관리 버튼 — 제목 라인 우측 하단 (상단만) */
.bo-gall-view .view-tools {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.55em;
}
.bo-gall-view .view-tools-head {
	/* 제목 보더 박스 밖(아래), 기존 간격의 3배 */
	margin: 4.5em 0.2em 2.5em 0;
	padding: 0;
	border: 0;
	justify-content: flex-end;
}
.bo-gall-view .view-tools-head:empty {
	display: none;
}

/* LIST > 버튼 — 본문 하단 */
.bo-gall-view .view-list-wrap {
	display: flex;
	justify-content: center;
	margin: 7em 0 0;
}
.bo-gall-view .view-list-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.45em;
	min-width: 9em;
	padding: 0.85em 1.8em;
	border: 1px solid #9eb6e0;
	border-radius: 0.45em;
	background: #fff;
	color: #6b8ec8;
	font-size: 0.95em;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-decoration: none;
	line-height: 1.2;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.bo-gall-view .view-list-btn i {
	font-style: normal;
	font-weight: 500;
}
.bo-gall-view .view-list-btn:hover {
	background: var(--color-base-3, #113090);
	border-color: var(--color-base-3, #113090);
	color: #fff;
	text-decoration: none;
}

/* 본문 / 이미지 */
.bo-gall-view .view-body {
	padding: 0;
	min-height: 12em;
}
.bo-gall-view .view-img {
	margin: 0 0 2em;
	width: 100%;
	overflow: hidden;
}
.bo-gall-view .view-img img,
.bo-gall-view #bo_v_img img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	margin: 0 auto 1.2em;
	border-radius: 0.6em;
}
.bo-gall-view .view-content {
	font-size: 1.05em;
	line-height: 1.85;
	color: #333;
	word-break: break-word;
	text-align: left;
}
.bo-gall-view .view-content img {
	max-width: 100%;
	height: auto;
	border-radius: 0.6em;
}
.bo-gall-view .view-content a {
	color: var(--color-base-3, #113090);
	text-decoration: underline;
}

.bo-gall-view .view-file,
.bo-gall-view .view-link {
	margin: 0 0 1.2em;
	padding: 0.9em 1em;
	background: #f7f9fc;
	border: 1px solid #e3e8f0;
	border-radius: 0.5em;
}
.bo-gall-view .view-file ul,
.bo-gall-view .view-link ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.bo-gall-view .view-file li,
.bo-gall-view .view-link li {
	padding: 0.25em 0;
	font-size: 0.95em;
}
.bo-gall-view .view-file a,
.bo-gall-view .view-link a {
	color: var(--color-base-3, #113090);
	text-decoration: none;
}
.bo-gall-view .view-file a:hover,
.bo-gall-view .view-link a:hover {
	text-decoration: underline;
}

.bo-gall-view .view-act {
	margin: 2em 0 0;
	text-align: center;
}
.bo-gall-view #bo_v_act_good,
.bo-gall-view #bo_v_act_nogood {
	display: none;
	margin-top: 0.6em;
	color: var(--color-base-3, #113090);
	font-size: 0.9em;
}

#bo_v_atc_title { margin: 0; padding: 0; height: 0; overflow: hidden; }

@media (max-width: 1024px) {
	.bo-gall-view .view-main {
		max-width: 100%;
		padding-left: 1.5em;
		padding-right: 1.5em;
	}
}

@media (max-width: 768px) {
	.bo-gall-view {
		padding: 6em 0 10em;
	}
	.bo-gall-view .view-head {
		margin-bottom: 0;
	}
	.bo-gall-view .view-head-row {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.55em;
		padding: 1.25em 0.1em 1.2em;
	}
	.bo-gall-view .view-title {
		font-size: 1.25em;
		width: 100%;
	}
	.bo-gall-view .view-date {
		align-self: flex-start;
		font-weight: 300;
		text-align: left;
	}
	.bo-gall-view .view-tools-head {
		margin: 2.7em 0.1em 1.6em 0;
	}
	.bo-gall-view .view-main {
		padding-left: 0.8em;
		padding-right: 0.8em;
	}
	.bo-gall-view .view-list-btn {
		width: 100%;
		max-width: 14em;
	}
}

/* ===== 목록(기존 스킨 스타일 유지용 최소) ===== */
#bo_gall h2 {margin:0;padding:0;width:0;height:0;font-size:0;line-height:0;overflow:hidden}
#bo_sch {margin-bottom:10px;padding-top:5px;text-align:center}
