/*-----------------------------------------------------
* Program : 사용자(user) > 간이 디자인 (메인 / 공지사항 목록 / 공지사항 상세 3페이지 전용)
* Author  : Claude
* Create  : 2026-07-14
* Modify  : 2026-07-16
* Etc     : $simple_layout 플래그가 설정된 페이지에서만 로드됨
-----------------------------------------------------*/

/* ==================== 공통 ==================== */
html {min-width: 0;}
body.simple_page {font-family: "Pretendard GOV", sans-serif; min-height: 100vh; letter-spacing: 0; background-color: #F0F2F6;}
body.simple_page #wrapper {display: flex; flex-direction: column; min-height: 100vh;}
body.simple_page .simple_container {flex: 1 0 auto; margin-top: 0;}
body.simple_page a {text-decoration: none;}

body.simple_main #wrapper { background: url(../../images/common/bg_icon1.png), url(../../images/common/bg_icon2.png), url(../../images/common/bg_icon3.png); background-position: left top, right bottom, right top; background-size: clamp(120px, 20.2604vw, 389px), clamp(100px, 18.5938vw, 357px), clamp(400px, 76.9792vw, 1478px); background-repeat: no-repeat; }
body.simple_sub #wrapper { background: url(../../images/common/bg_icon1.png), url(../../images/common/bg_icon2.png); background-position: left top, right bottom; background-repeat: no-repeat; background-size: clamp(120px, 20.2604vw, 389px), clamp(100px, 18.5938vw, 357px); }

/* ==================== 헤더 (로고 + 슬로건) ==================== */
.simple_header {padding: 90px 20px 0; text-align: center;}
.simple_logo {margin: 0;}
.simple_logo a {display: inline-block;}
.simple_logo img {width: 250px; max-width: 64vw; height: auto; vertical-align: top;}
.simple_slogan {margin: 32px 0 0; color: #333; font-size: 32px; font-weight: 700; line-height: 1.5; letter-spacing: 1px; word-break: keep-all;}
.simple_slogan strong {font-weight: 700;}
.simple_sub .simple_logo img {width: 262px;}
.simple_main .simple_slogan {margin-top: 52px; font-size: 32px; font-weight: 600; letter-spacing: 1px;}
.simple_main .simple_slogan strong {display: block; font-size: 39px; font-weight: 700;}

/* ==================== 푸터 ==================== */
.simple_footer {flex-shrink: 0; padding: 30px 20px max(40px, calc(24px + env(safe-area-inset-bottom))); text-align: center; line-height: 1.5;}
.simple_footer p {display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 14px; margin: 0;}
.simple_sub .simple_footer {color: #767f91; font-size: 19px;}
.simple_sub .simple_footer p {gap: 6px 12px;}
.simple_sub .simple_footer .ft_map_btn {display: inline-flex; align-items: center; justify-content: center; min-width: 60px; height: 36px; padding: 0 10px; background: #2b62a3; color: #fff !important; font-size: 17px; line-height: 1.5; border-radius: 4px; text-shadow: none; box-sizing: border-box;}
.simple_sub .simple_footer .ft_map_btn:hover {background: #234f85;}
.simple_footer .ft_name {font-weight: 700;}
.simple_footer b {font-weight: 700;}
/* 메인 푸터 */
.simple_main .simple_footer {display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; max-width: 1320px; margin: 0 auto; padding: 15px 20px max(40px, calc(24px + env(safe-area-inset-bottom))); box-sizing: border-box; color: #667187; font-size: 19px; text-align: left;}
.simple_main .simple_footer .ft_info {flex: 1; min-width: 0; justify-content: flex-start; gap: 6px 16px;}
.simple_main .simple_footer .ft_name {font-weight: 600;}
.simple_main .simple_footer .ft_map_btn {flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 60px; padding: 8px 16px; background: #22949c; color: #fff !important; font-size: 17px; line-height: 1.5; border-radius: 99px; box-sizing: border-box;}
.simple_main .simple_footer .ft_map_btn:hover {background: #1b7a81;}

/* ==================== 메인 : 말풍선 / SNS ==================== */
.main_hero {padding: 32px 20px 0; text-align: center;}
.hero_bubble {position: relative; display: inline-block; padding: 12px 32px; background: #4e73ff; color: #fff; font-size: 24px; font-weight: 700; line-height: 1.5; border-radius: 99px;}
.hero_bubble::after {content: ''; position: absolute; left: 50%; bottom: -12px; transform: translateX(-50%); border: 21px solid transparent; border-top: 24px solid #4e73ff; border-bottom: 0;}
.hero_sns {display: flex; gap: 24px; max-width: 632px; margin: 44px auto 0; padding: 24px; background: rgba(255,255,255,0.12); border: 1px solid #fff; border-radius: 20px; box-shadow: 0 4px 34px rgba(0,0,0,0.15); -webkit-backdrop-filter: blur(8.8px); backdrop-filter: blur(8.8px);}
.hero_sns .sns_card {flex: 1; display: flex; align-items: center; gap: 8px; min-width: 0; padding: 20px 24px; background: #fff; border-radius: 16px; transition: transform .15s ease;}
.hero_sns .sns_card:hover {transform: translateY(-2px);}
.hero_sns .sns_icon {flex: none; width: 40px; height: 40px;}
.hero_sns .sns_icon svg {display: block; width: 100%; height: 100%;}
.hero_sns .sns_name {flex: 1; text-align: left; font-size: 19px; font-weight: 700; color: #111;}
.hero_sns .sns_arrow {flex: none; display: inline-flex;}
.hero_sns .sns_arrow img {display: block; width: 24px; height: 24px;}

/* ==================== 메인 : 공지사항 ==================== */
.main_notice {width: 100%; max-width: 1320px; margin: 40px auto 0; padding: 0 20px 30px; box-sizing: border-box;}
.main_notice .notice_head {display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;}
.main_notice .notice_head h2 {margin: 0; font-size: 32px; font-weight: 700; color: #333; letter-spacing: 1px;}
.main_notice .more_link {display: inline-flex; align-items: center; gap: 8px; padding: 8px 0; margin: -8px 0; font-size: 19px; color: #000;}
.main_notice .more_link .plus {display: inline-flex; line-height: 1;}
.main_notice .more_link .plus img {display: block; width: 20px; height: 20px;}
.main_notice .notice_box {padding: 24px; background: rgba(255,255,255,0.12); border: 1px solid #fff; border-radius: 20px; box-shadow: 0 4px 34px rgba(0,0,0,0.15); -webkit-backdrop-filter: blur(8.8px); backdrop-filter: blur(8.8px);}
.main_notice .notice_box ul {display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none;}
.main_notice .notice_box li a {display: flex; align-items: center; gap: 20px; padding: 20px 32px; background: #fff; border-radius: 8px;}
.main_notice .notice_box li a:hover .nv_title {text-decoration: underline;}
.main_notice .no_data {padding: 40px 0; text-align: center; color: #666;}

/* 공지 리스트 공용 (메인/목록) */
.nv_dot {flex: none; width: 7px; height: 7px; border-radius: 50%; background: #35b3a5;}
.nv_title {flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-align: left; font-size: 19px; color: #111;}
.nv_date {flex: none; font-size: 17px; color: #666;}

/* ==================== 게시판 목록 ==================== */
.nv_board_inner {max-width: 1320px; margin: 0 auto; padding: 40px 20px 10px;}
.nv_board_title {margin: 0 0 16px; font-size: 32px; font-weight: 700; color: #333; letter-spacing: 1px;}
.nv_board_card {padding: 24px; background: rgba(255,255,255,0.12); border: 1px solid #fff; border-radius: 20px; box-shadow: 0 4px 34px rgba(0,0,0,0.15); -webkit-backdrop-filter: blur(8.8px); backdrop-filter: blur(8.8px);}
.nv_board_list {display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none;}
.nv_board_list li a {display: flex; align-items: center; gap: 20px; padding: 20px 32px; background: #fff; border-radius: 8px;}
.nv_board_list li a:hover .nv_title {text-decoration: underline;}
.nv_board_list .no_data {padding: 70px 0; text-align: center; color: #8a94a6;}

/* 페이지네이션 (Figma: 셀 48px / gap 8 / 17px / active #2b62a3 r8 / 일반 r6) */
.nv_paging {display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; margin: 32px 0 20px;}
.nv_paging .pg_num {min-width: 48px; height: 48px; line-height: 48px; text-align: center; border-radius: 6px; font-size: 17px; color: #333;}
.nv_paging a.pg_num:hover {background: #e3e8f2;}
.nv_paging .pg_num.active {background: #2b62a3; color: #fff; font-weight: 700; border-radius: 8px;}
.nv_paging .pg_arrow {display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;}
.nv_paging .pg_arrow.prev {padding-right: 8px; box-sizing: content-box; width: 24px;}
.nv_paging .pg_arrow.next {padding-left: 8px; box-sizing: content-box; width: 24px;}
.nv_paging .pg_arrow img {display: block; width: 24px; height: 24px;}
.nv_paging a.pg_arrow:hover img {opacity: 0.7;}
.nv_paging .pg_arrow.disabled {opacity: 0.35;}
.nv_paging .pg_dots {display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;}
.nv_paging .pg_dots img {display: block; width: 24px; height: 24px;}

/* ==================== 게시판 상세 ==================== */
.nv_view_inner {max-width: 1320px; margin: 0 auto; padding: 40px 20px 10px;}
.nv_view_card {padding: 32px; background: #fff; border-radius: 30px; box-shadow: 0 4px 17px rgba(0,0,0,0.15);}
.nv_view_head {position: relative; padding: 40px; background: #fff; border: 1px solid #ccc; border-radius: 24px;}
.nv_view_title {margin: 0; font-size: 32px; font-weight: 700; line-height: 1.5; color: #333; letter-spacing: 0.02em; word-break: keep-all;}
.nv_view_meta {display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 24px 0 0; padding: 0; list-style: none; font-size: 17px; color: #333;}
.nv_view_meta li {position: relative; display: flex; align-items: center; gap: 10px;}
.nv_view_meta li + li::before {content: ''; width: 1px; height: 12px; margin-right: 16px; background: #999;}
.nv_view_meta strong {font-weight: 700; color: #333;}
/* 첨부 */
.nv_view_files {display: flex; flex-direction: column; gap: 16px; margin: -24px 0 0; padding: 48px 32px 24px; list-style: none; background: #f4f5f6; border-radius: 0 0 24px 24px;}
.nv_view_head + .nv_view_files {position: relative; z-index: 0;}
.nv_view_head {z-index: 1;}
.nv_view_files li {display: flex; align-items: center; min-width: 0;}
.nv_view_files a {display: inline-flex; align-items: center; gap: 8px; min-width: 0; font-size: 17px; color: #333;}
.nv_view_files a:hover .fname {text-decoration: underline;}
.nv_view_files .clip {flex: none; display: inline-flex;}
.nv_view_files .clip img {display: block; width: 24px; height: 24px;}
.nv_view_files .fname {overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
.nv_view_files .fsize {flex: none; margin-left: 5px; font-size: 17px; color: #333;}
.nv_view_content {padding: 32px; min-height: 200px; font-size: 17px; line-height: 1.75; color: #333; overflow-x: auto;}
.nv_view_content img {max-width: 100%; height: auto !important;}

/* 이전글/다음글 */
.nv_view_nav {display: flex; gap: 24px;}
.nv_nav_card {flex: 1; display: flex; align-items: center; gap: 24px; min-width: 0; padding: 24px; background: #fff; border: 1px solid #ccc; transition: background .15s ease, border-color .15s ease;}
.nv_nav_card.prev {border-radius: 99px 12px 12px 99px;}
.nv_nav_card.next {flex-direction: row-reverse; border-radius: 12px 99px 99px 12px;}
.nv_nav_card.next .nv_nav_texts {text-align: right;}
.nv_nav_arrow {flex: none; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #f4f5f6; color: #667; transition: background .15s ease, border-color .15s ease;}
.nv_nav_arrow svg {width: 9px; height: 15px;}
a.nv_nav_card:hover {background: #ebf3fc; border-color: #a8ccee;}
a.nv_nav_card:hover .nv_nav_arrow {background: #d1e4f7; border: 1px solid #a8ccee;}
.nv_nav_texts {flex: 1; min-width: 0;}
.nv_nav_texts .lbl {display: block; font-size: 15px; font-weight: 700; color: #333;}
.nv_nav_texts .ttl {display: block; margin-top: 4px; font-size: 17px; color: #666; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;}
a.nv_nav_card:hover .ttl {text-decoration: underline;}
.nv_nav_card.none .lbl {color: #a8b0bf;}
.nv_nav_card.none .ttl {color: #a8b0bf;}

/* 목록 버튼 */
.nv_view_btns {display: flex; justify-content: center; gap: 8px; margin-top: 40px;}
.nv_btn_list {display: inline-flex; align-items: center; justify-content: center; min-width: 90px; height: 56px; padding: 0 20px; background: #fff; border: 1px solid #666; border-radius: 8px; font-size: 17px; color: #333; box-sizing: border-box;}
.nv_btn_list:hover {background: #f2f4f9;}

/* ==================== 반응형 ==================== */
@media (max-width: 1024px) {
	.simple_slogan {font-size: 27px;}
	.simple_main .simple_slogan {font-size: 27px;}
	.simple_main .simple_slogan strong {font-size: 33px;}
	.nv_title {font-size: 17px;}
	.nv_date {font-size: 15px;}
}

@media (max-width: 768px) {
	.simple_header {padding-top: 48px;}
	.simple_logo img {width: 190px;}
	.simple_sub .simple_logo img {width: 200px;}
	.simple_slogan {font-size: 20px; margin-top: 22px;}
	.simple_main .simple_slogan {font-size: 20px;}
	.simple_main .simple_slogan strong {font-size: 24px;}

	.main_hero {padding-top: 32px;}
	.hero_bubble {font-size: 17px; padding: 10px 22px;}
	.hero_bubble::after {bottom: -8px; border-width: 14px; border-top-width: 16px; border-bottom-width: 0;}
	.hero_sns {flex-direction: column; gap: 12px; max-width: 420px; margin-top: 30px; padding: 16px;}
	.hero_sns .sns_card {padding: 14px 18px;}
	.hero_sns .sns_icon {width: 32px; height: 32px;}
	.hero_sns .sns_name {font-size: 16px;}
	.hero_sns .sns_arrow img {width: 20px; height: 20px;}
	.main_notice {margin-top: 34px;}
	.main_notice .notice_head h2 {font-size: 23px;}
	.main_notice .more_link {font-size: 15px;}
	.main_notice .more_link .plus img {width: 16px; height: 16px;}
	.main_notice .notice_box {padding: 12px; border-radius: 14px;}
	.main_notice .notice_box ul {gap: 10px;}
	.main_notice .notice_box li a {gap: 10px; padding: 14px 16px;}

	.nv_title {font-size: 15px;}
	.nv_date {font-size: 13px;}

	.nv_board_inner, .nv_view_inner {padding-top: 36px;}
	.nv_board_title {font-size: 22px;}
	.nv_board_card {padding: 12px; border-radius: 16px;}
	.nv_board_list {gap: 10px;}
	.nv_board_list li a {gap: 10px; padding: 14px 16px;}

	.nv_view_card {padding: 14px; border-radius: 20px;}
	.nv_view_head {padding: 20px; border-radius: 16px;}
	.nv_view_title {font-size: 20px;}
	.nv_view_meta {margin-top: 14px; font-size: 14px; gap: 6px 10px;}
	.nv_view_meta li {gap: 6px;}
	.nv_view_meta li + li::before {margin-right: 10px;}
	.nv_view_files {margin-top: -16px; padding: 30px 16px 14px; border-radius: 0 0 16px 16px; gap: 10px;}
	.nv_view_files a {font-size: 14px;}
	.nv_view_files .clip img {width: 18px; height: 18px;}
	.nv_view_files .fsize {font-size: 14px;}
	.nv_view_content {padding: 20px 16px; font-size: 15px;}
	.nv_view_nav {flex-direction: column; gap: 10px;}
	.nv_nav_card {padding: 12px 16px; gap: 14px;}
	.nv_nav_arrow {width: 34px; height: 34px;}
	.nv_nav_texts .lbl {font-size: 13px;}
	.nv_nav_texts .ttl {font-size: 14px;}
	.nv_view_btns {margin-top: 24px;}
	.nv_btn_list {height: 48px; font-size: 15px;}

	.simple_footer {font-size: 14px;}
	.simple_main .simple_footer {flex-direction: column; justify-content: center; gap: 12px; font-size: 14px; text-align: center;}
	.simple_main .simple_footer .ft_info {flex: none; justify-content: center; align-items: center;}
	.simple_main .simple_footer .ft_map_btn {font-size: 14px;}
	.simple_sub .simple_footer {font-size: 14px;}
	.simple_footer p {flex-direction: column; gap: 4px;}

	.nv_paging {gap: 6px;}
	.nv_paging .pg_num {min-width: 40px; height: 40px; line-height: 40px; font-size: 15px;}
	.nv_paging .pg_arrow {width: 40px; height: 40px;}
	.nv_paging .pg_arrow.prev, .nv_paging .pg_arrow.next {width: 20px; padding-right: 6px; padding-left: 0;}
	.nv_paging .pg_arrow.next {padding-left: 6px; padding-right: 0;}
	.nv_paging .pg_arrow img, .nv_paging .pg_dots img {width: 20px; height: 20px;}
	.nv_paging .pg_dots {width: 40px; height: 40px;}
}

@media (max-width: 480px) {
	.nv_paging {gap: 4px;}
	.nv_paging .pg_num {min-width: 38px; height: 38px; line-height: 38px; font-size: 14px; border-radius: 6px;}
	.nv_paging .pg_arrow {width: 38px; height: 38px;}
	.nv_paging .pg_dots {width: 38px; height: 38px;}
}

/* ==================== 입력 방식 적응 ==================== */
/* 터치 기기 : hover 리프트 무의미 → 눌림 피드백으로 대체 */
@media (hover: none) {
	.hero_sns .sns_card:hover {transform: none;}
	.hero_sns .sns_card:active {transform: scale(0.98);}
	.nv_board_list li a:active,
	.main_notice .notice_box li a:active {background: #f2f4f9;}
	a.nv_nav_card:active {background: #ebf3fc; border-color: #a8ccee;}
	.nv_btn_list:active {background: #f2f4f9;}
	.nv_paging a.pg_num:active {background: #e3e8f2;}
}

/* 모션 민감 사용자 : 전환 제거 */
@media (prefers-reduced-motion: reduce) {
	.hero_sns .sns_card,
	.nv_nav_card,
	.nv_nav_arrow {transition: none;}
	.hero_sns .sns_card:hover,
	.hero_sns .sns_card:active {transform: none;}
}
