.notice-container { max-width: 70rem; margin: 2.5rem auto; padding: 0 1.5rem; }

/* 타이틀 */
.page-title-row { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 2rem; }
.page-title-row h1 { font-size: 1.75rem; font-weight: 800; display: flex; align-items: center; gap: 0.6rem; }
.page-title-row h1 i { color: var(--primary); }
.page-title-row p { color: var(--text-muted); font-size: 0.95rem; margin-top: 0.35rem; }

.notice-table { width: 100%; border-collapse: collapse; }
.notice-table th {
    padding: 0.75rem 1rem; font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
    border-bottom: 2px solid var(--primary); text-align: left;
}
.notice-table th.col-no { width: 4rem; text-align: center; }
.notice-table th.col-date { width: 7rem; text-align: center; }
.notice-table th.col-views { width: 5rem; text-align: center; }

.notice-table td {
    padding: 0.85rem 1rem; font-size: 0.88rem; border-bottom: 1px solid #f1f5f9;
}
.notice-table td.col-no { text-align: center; color: var(--text-muted); font-size: 0.82rem; }
.notice-table td.col-date { text-align: center; color: var(--text-muted); font-size: 0.82rem; }
.notice-table td.col-views { text-align: center; color: var(--text-muted); font-size: 0.82rem; }

.notice-table tr.pinned { background: #F8F7FF; }
.notice-table tr:hover { background: #fafafa; }
.notice-table tr.pinned:hover { background: #f0eeff; }

.pin-icon { color: var(--primary); margin-right: 0.35rem; font-size: 0.78rem; }
.notice-title-link {
    color: var(--text-main); text-decoration: none; font-weight: 500;
}
.notice-title-link:hover { color: var(--primary); }

.pagination {
    display: flex; justify-content: center; gap: 0.3rem; margin-top: 2rem;
}
.pagination a, .pagination span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.2rem; height: 2.2rem; border-radius: 0.5rem;
    font-size: 0.82rem; font-weight: 600; text-decoration: none;
    border: 1px solid var(--border); color: var(--text-muted); background: white;
}
.pagination a:hover { border-color: var(--primary); color: var(--primary); }
.pagination .active {
    background: var(--primary); color: white; border-color: var(--primary);
}

.empty-msg { text-align: center; padding: 3rem; color: var(--text-muted); font-size: 0.9rem; }

/* 공지사항 상세 */
.detail-container { max-width: 70rem; margin: 2.5rem auto; padding: 0 1.5rem; }

.detail-header {
    border-bottom: 2px solid var(--primary); padding-bottom: 1.25rem; margin-bottom: 2rem;
}
.detail-header h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.6rem; line-height: 1.4; }
.detail-meta { display: flex; gap: 1.5rem; font-size: 0.82rem; color: var(--text-muted); }

.detail-body {
    font-size: 0.95rem; line-height: 1.8; color: var(--text-main);
    min-height: 12rem; word-break: break-word;
}
.detail-body img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 0.5rem 0; }
.detail-body h1, .detail-body h2, .detail-body h3 { margin: 1rem 0 0.5rem; }
.detail-body p { margin-bottom: 0.5rem; }
.detail-body ul, .detail-body ol { padding-left: 1.5rem; margin-bottom: 0.5rem; }
.detail-body blockquote {
    border-left: 3px solid var(--primary); padding: 0.5rem 1rem;
    margin: 0.5rem 0; background: #f8fafc; color: #475569;
}
.detail-body pre {
    background: #1e293b; color: #e2e8f0; padding: 1rem; border-radius: 0.5rem;
    overflow-x: auto; font-size: 0.85rem; margin: 0.5rem 0;
}
.detail-body a { color: var(--primary); }

.detail-footer {
    margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid #f1f5f9;
    display: flex; justify-content: center;
}
.btn-list {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.6rem 1.5rem; border: 1px solid var(--border); border-radius: 0.6rem;
    background: white; color: var(--text-main); font-size: 0.85rem; font-weight: 600;
    text-decoration: none; transition: all 0.2s;
}
.btn-list:hover { border-color: var(--primary); color: var(--primary); }
