/* ===== 공고 팝업 (메인 진입 시 노출) — np- 네임스페이스로 사이트 스타일과 분리 ===== */
.np-overlay {
	--np-blue: #1f6fd1;
	--np-ink: #1d2433;
	--np-muted: #6b7488;
	--np-line: #e3e7ee;
	display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
	z-index: 1000001; padding: 24px;
	align-items: center; justify-content: center;
	background: rgba(8, 16, 35, 0.55);
	opacity: 0; transition: opacity 0.28s ease;
	-webkit-font-smoothing: antialiased;
}
.np-overlay.is-open { display: flex; }
.np-overlay.is-visible { opacity: 1; }
.np-overlay, .np-overlay * { font-family: 'Pretendard', 'Pretendard Variable', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif; box-sizing: border-box; }

.np-card {
	position: relative; width: 100%; max-width: 820px;
	max-height: calc(100vh - 48px); display: flex; flex-direction: column;
	background: #fff; border-radius: 16px; overflow: hidden;
	box-shadow: 0 24px 70px rgba(8, 16, 35, 0.45);
	transform: translateY(14px) scale(0.98); transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
}
.np-overlay.is-visible .np-card { transform: translateY(0) scale(1); }

.np-close {
	position: absolute; top: 14px; right: 14px; z-index: 2;
	width: 30px; height: 30px; border: none; border-radius: 50%;
	background: rgba(29, 36, 51, 0.07); color: var(--np-ink);
	font-size: 17px; line-height: 1; cursor: pointer;
	display: flex; align-items: center; justify-content: center;
}
.np-close:hover { background: rgba(29, 36, 51, 0.15); }

/* 본문 (길면 내부 스크롤) */
.np-body { padding: 34px 40px 26px; overflow-y: auto; -webkit-overflow-scrolling: touch; color: var(--np-ink); }
.np-title { margin: 0 0 4px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.np-date { font-size: 14px; color: var(--np-muted); padding-bottom: 18px; border-bottom: 1px solid var(--np-line); }
.np-lead { margin: 18px 0; font-size: 14.5px; line-height: 1.75; word-break: keep-all; }

.np-items { margin: 0; padding: 18px 22px; background: #f7f8fa; border: 1px solid var(--np-line); border-radius: 10px; }
.np-item { display: flex; gap: 12px; padding: 5px 0; font-size: 13.5px; line-height: 1.6; }
.np-item dt { flex: 0 0 190px; font-weight: 700; }
.np-item dd { flex: 1; margin: 0; word-break: keep-all; }
.np-item .np-em-blue { color: var(--np-blue); font-weight: 700; }
.np-item .np-em { font-weight: 800; }

.np-sign { margin-top: 22px; text-align: center; }
.np-sign-date { font-size: 15px; font-weight: 700; }
.np-sign-company { margin-top: 4px; font-size: 18px; font-weight: 800; }
.np-sign-ceo { margin-left: 8px; font-size: 14px; font-weight: 700; color: var(--np-muted); }

/* 하단 바: 다시 보지 않기 / 닫기 */
.np-foot { display: flex; justify-content: space-between; align-items: center; padding: 0 20px; height: 48px; background: #2b2f38; flex-shrink: 0; }
.np-foot button { border: none; background: none; color: #fff; font-size: 14px; cursor: pointer; padding: 8px 4px; }
.np-foot button:hover { text-decoration: underline; }

body.np-no-scroll { overflow: hidden; }

@media all and (max-width: 640px) {
	.np-overlay { padding: 12px; }
	.np-card { max-height: calc(100vh - 24px); }
	.np-body { padding: 28px 20px 20px; }
	.np-title { font-size: 22px; }
	.np-items { padding: 14px 16px; }
	.np-item { display: block; padding: 6px 0; }
	.np-item dt { margin-bottom: 2px; }
	.np-sign-ceo { display: block; margin: 4px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
	.np-overlay, .np-card { transition: none !important; }
}
