/* 공지사항 목록·내용 (NOT-01) (값은 tokens.css) */
body.notice-page { height: auto; min-height: 100%; background: var(--surface-subtle); }
.site-header .back-link { flex: 1 1 0; }
.center-logo { margin: 0; }
.site-header .account { flex: 1 1 0; display: flex; justify-content: flex-end; }

.notice-main { max-width: 800px; margin: 0 auto; padding: var(--space-6) var(--screen-margin) var(--space-12); display: flex; flex-direction: column; gap: var(--space-4); }
.notice-main:focus { outline: none; }
.notice-main > h1 { margin: 0; font-size: var(--font-heading-xlarge); }
.list-status { margin: 0; font-size: var(--font-body-small); color: var(--text-subtle); }
.list-status:empty { display: none; }

.notice-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border-top: 2px solid var(--color-gray-80); }
.notice-list li { border-bottom: 1px solid var(--border-divider); }
.notice-list:empty { display: none; }
.notice-row { display: flex; align-items: center; gap: var(--space-3); min-height: 60px; padding: var(--space-3) var(--space-4); color: var(--text-body); text-decoration: none; }
.notice-row:hover .notice-title { color: var(--text-link); text-decoration: underline; }
.notice-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.notice-row time { flex: none; font-size: var(--font-body-small); color: var(--text-subtle); }
.pin-badge { flex: none; align-self: center; padding: 1px var(--space-2); border-radius: var(--radius-small); border: 1px solid var(--color-primary-20); background: var(--color-primary-5); color: var(--color-primary-80); font-size: var(--font-body-xsmall); font-weight: var(--font-weight-bold); }

.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-1); }
.pager[hidden] { display: none; }
.pager a, .pager-current { min-width: var(--touch-min); min-height: var(--touch-min); display: inline-flex; align-items: center; justify-content: center; padding: 0 var(--space-2); border-radius: var(--radius-small); text-decoration: none; }
.pager a { color: var(--text-body); border: 1px solid var(--border-light); background: var(--surface); }
.pager a:hover { border-color: var(--action-primary); color: var(--text-link); }
.pager-current { background: var(--action-primary); color: var(--text-on-primary); font-weight: var(--font-weight-bold); }

.notice-article { background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius-large); overflow: hidden; }
.article-head { padding: var(--space-5); border-bottom: 1px solid var(--border-divider); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); }
.article-head h1 { margin: 0; font-size: var(--font-heading-large); overflow-wrap: anywhere; }
.article-head .pin-badge { align-self: flex-start; }
.article-date { margin: 0; font-size: var(--font-body-small); color: var(--text-subtle); }
.article-body { padding: var(--space-5); white-space: pre-line; overflow-wrap: anywhere; line-height: 1.7; }
.list-button { align-self: center; display: inline-flex; align-items: center; text-decoration: none; min-width: 160px; justify-content: center; }
