/* =========================================================
   공지사항(Notice) — 목록/상세 전용 스타일
   - common.css(+@import header-footer.css) 이후에 로드된다.
   - .notice* 스코프만 사용해 다른 페이지에 영향이 없다.
   - 색상은 사이트 변수(--navy/--blue/--gray*) 재사용.
   ========================================================= */

.noticeWrap {
	margin-top: 90px;          /* 고정 헤더(90px) 회피 (top-bar 미노출 시) */
	background: var(--white);
	min-height: 60vh;
}
body.has-top-bar .noticeWrap {
	margin-top: 134px;         /* top-bar 44 + header 90 */
}

.noticeInner {
	max-width: 880px;
	margin: 0 auto;
	padding: 64px 24px 120px;
}

/* ----- 페이지 헤더 ----- */
.noticeHead {
	padding-bottom: 24px;
	margin-bottom: 4px;
	border-bottom: 2px solid var(--navy);
}
.noticeHead h1 {
	font-size: 34px;
	font-weight: 800;
	color: var(--darkNavy);
	letter-spacing: -0.02em;
}

/* ----- 목록 ----- */
.noticeList { list-style: none; margin: 0; padding: 0; }
.noticeRow { border-bottom: 1px solid #eeeeee; }
.noticeRow > a {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 28px 6px;
	text-decoration: none;
	transition: background 0.2s;
}
.noticeRow > a:hover { background: #fafafa; }

.noticeCate {
	flex-shrink: 0;
	display: inline-block;
	padding: 4px 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.4;
	color: var(--blue);
	background: rgba(0, 146, 213, 0.08);
	border-radius: 100px;
}
.noticeRowTitle {
	flex: 1;
	font-size: 18px;
	font-weight: 700;
	color: var(--gray400);
	transition: color 0.2s;
	word-break: keep-all;
}
.noticeRow > a:hover .noticeRowTitle { color: var(--blue); }
.noticeRowDate {
	flex-shrink: 0;
	font-size: 15px;
	font-weight: 500;
	color: var(--gray500);
}

/* ----- 빈 상태 ----- */
.noticeEmpty {
	padding: 110px 0;
	text-align: center;
	font-size: 16px;
	font-weight: 500;
	color: var(--gray500);
}

/* ----- 상세 ----- */
.noticeBack {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 28px;
	font-size: 15px;
	font-weight: 600;
	color: var(--gray500);
	text-decoration: none;
	transition: color 0.2s;
}
.noticeBack:hover { color: var(--blue); }

.noticeDetailHead {
	padding-bottom: 28px;
	margin-bottom: 40px;
	border-bottom: 1px solid #eeeeee;
}
.noticeDetailHead .noticeCate { margin-bottom: 16px; }
.noticeDetailHead h1 {
	font-size: 30px;
	font-weight: 800;
	color: var(--darkNavy);
	letter-spacing: -0.02em;
	margin: 6px 0 14px;
	word-break: keep-all;
}
.noticeDetailDate {
	font-size: 15px;
	font-weight: 500;
	color: var(--gray500);
}

/* 본문 — 법적 공고 톤(담백한 문서형) */
.notice-detail-body {
	font-size: 16px;
	line-height: 1.9;
	color: var(--gray400);
}
.notice-detail-body .notice-lead { margin-bottom: 28px; }
/* common.css 의 li/ul/ol { list-style:none } 리셋을 이겨 번호(1.~6.) 복원 */
.notice-detail-body .notice-ol { margin: 0 0 32px; padding-left: 24px; list-style: decimal outside; }
.notice-detail-body .notice-ol > li { margin-bottom: 14px; padding-left: 6px; list-style-type: decimal; }
.notice-detail-body .notice-date-line {
	margin: 44px 0 32px;
	text-align: center;
	font-weight: 500;
}
.notice-detail-body .notice-sign { line-height: 1.9; }
.notice-detail-body .notice-sign-company {
	font-weight: 700;
	color: var(--darkNavy);
}

/* 안내문형 본문 — 절 제목 + 글머리 목록 (침해사고 안내 등) */
.notice-detail-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.notice-detail-body .notice-lead + .notice-lead { margin-top: -10px; }
.notice-detail-body .notice-h {
	margin: 44px 0 14px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.5;
	color: var(--darkNavy);
	letter-spacing: -0.01em;
	word-break: keep-all;
}
/* common.css 의 li/ul/ol { list-style:none } 리셋을 이겨 글머리표 복원 */
.notice-detail-body .notice-ul { margin: 0; padding-left: 22px; list-style: disc outside; }
.notice-detail-body .notice-ul > li { margin-bottom: 8px; padding-left: 4px; list-style-type: disc; word-break: keep-all; }
.notice-detail-body .notice-p { margin-bottom: 14px; word-break: keep-all; }
.notice-detail-body .notice-sign-right { margin-top: 52px; text-align: right; }
.notice-detail-body .notice-sign-right .notice-date-line { margin: 0 0 4px; text-align: right; }

/* ----- 반응형 ----- */
@media all and (max-width: 767px) {
	body.has-top-bar .noticeWrap { margin-top: 130px; }  /* top-bar 40 + header 90 */
	.noticeInner { padding: 40px 20px 90px; }
	.noticeHead h1 { font-size: 26px; }

	.noticeRow > a {
		flex-wrap: wrap;
		gap: 10px 12px;
		padding: 20px 6px;
		align-items: center;
	}
	.noticeRowTitle { order: 1; flex-basis: 100%; font-size: 16px; }
	.noticeCate { order: 2; font-size: 12px; padding: 3px 10px; }
	.noticeRowDate { order: 3; margin-left: auto; font-size: 13px; }

	.noticeDetailHead h1 { font-size: 23px; }
	.notice-detail-body { font-size: 15px; line-height: 1.85; }
	.notice-detail-body .notice-ol li { margin-bottom: 12px; }
	.notice-detail-body .notice-h { margin: 36px 0 12px; font-size: 17px; }
	.notice-detail-body .notice-ul { padding-left: 20px; }
	.notice-detail-body .notice-sign-right { margin-top: 40px; }
}
