/*
 * 모나리자 추가 스타일 (v1.1)
 * style.css 의 토큰(--mz-*)을 그대로 사용한다. 하위 페이지 제목 띠, 핵심 정보 표, 번호 목록, 고지문, 글 화면 정리.
 */

/* 가로 흔들림 방지: 전체 폭 섹션이 100vw 를 쓰므로 바깥쪽 넘침을 잘라 낸다 */
html, body { overflow-x: clip; }

/* GeneratePress 기본 여백 제거(전체 폭 섹션이 화면 끝까지 붙도록) */
.separate-containers .site-main { margin: 0; }
.separate-containers .inside-article { background: transparent; }
.site-content { display: block; }
.page .entry-content, .page .inside-article { margin: 0; }
.page .entry-content > * { margin-top: 0; }

/* 하위 페이지 제목 띠 */
.mz-pagehead { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(24px, 4vw, 40px); background: linear-gradient(180deg, var(--mz-secondary), var(--mz-bg)); border-bottom: 1px solid var(--mz-border); }
.mz-pagehead h1 { margin: 0 0 12px; }
.mz-pagehead p { max-width: 720px; color: var(--mz-muted); margin: 0; }
.mz-pagehead .mz-bar { margin-left: 0; }

/* 섹션 안쪽 제목 간격 */
.mz-section h2 { margin-top: 0; margin-bottom: 20px; }
.mz-section h2:not(:first-child) { margin-top: 48px; }
.mz-section .wp-block-columns { margin-top: 24px; gap: 24px; }
.mz-section .wp-block-buttons { margin-top: 24px; }

/* 핵심 정보 표 (mz_facts) */
.mz-facts { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--mz-secondary); border: 1px solid var(--mz-border); border-radius: var(--mz-radius-card); overflow: hidden; }
.mz-facts th, .mz-facts td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--mz-border); vertical-align: top; background: transparent; color: var(--mz-text); }
.mz-facts th { width: 8.5em; color: var(--mz-accent-soft); font-weight: 700; white-space: nowrap; }
.mz-facts tr:last-child th, .mz-facts tr:last-child td { border-bottom: 0; }

/* 이용 순서(번호 목록) */
.mz-section ol.wp-block-list { padding-left: 1.4em; }
.mz-section ol.wp-block-list li { margin-bottom: 10px; padding-left: 4px; }
.mz-section ol.wp-block-list li::marker { color: var(--mz-accent); font-weight: 800; }
.mz-section ul.wp-block-list li::marker { color: var(--mz-primary); }

/* 고지문 */
.mz-notice { margin-top: 32px; padding: 16px 20px; border-left: 3px solid var(--mz-primary); background: var(--mz-secondary); color: var(--mz-muted); font-size: .9375rem; border-radius: 0 var(--mz-radius) var(--mz-radius) 0; }

/* 글(소식) 화면 */
.single .inside-article, .blog .inside-article, .archive .inside-article { max-width: var(--mz-narrow); margin: 0 auto; padding: 48px 24px; }
.single .entry-title, .archive .page-title { color: var(--mz-heading); }
.entry-meta, .entry-meta a { color: var(--mz-muted); }

/* 입력칸(검색·댓글) 어두운 배경 */
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="tel"], textarea, select {
	background: var(--mz-secondary); color: var(--mz-text); border: 1px solid var(--mz-border); border-radius: var(--mz-radius);
}

@media (max-width: 767px) {
	.mz-facts th { width: 6.5em; white-space: normal; }
	.mz-facts th, .mz-facts td { padding: 12px 14px; }
}
.mz-related{margin:2.5em 0 1em;padding:1em 1.2em;background:#f6f6f6;border-radius:10px;line-height:2}.mz-footer .mz-disclaimer{font-size:12px;opacity:.85;max-width:900px;margin:10px auto}
