@charset "utf-8";
/* 공지사항(병원 이용안내) 게시판 — 히어로와 같은 남색·하늘색, 사이트 주황 포인트 */
.nt-board {
    --nt-navy: #0b2c78;
    --nt-navy-dark: #08205e;
    --nt-sky: #29a8e0;
    --nt-line: #e3e7ef;
    --nt-bg: #f5f7fb;
    --nt-text: #222;
    --nt-sub: #6b7280;
    color: var(--nt-text);
    font-size: 16px;
    word-break: keep-all;
}
.nt-board a, .nt-board a:hover, .nt-board a:focus { color: inherit; text-decoration: none; }
.nt-board .nt-files a, .nt-board .nt-files a:hover { color: var(--nt-navy); text-decoration: underline; }

/* 상단: 건수 + 검색 */
.nt-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.nt-total { margin: 0; font-size: 15px; color: var(--nt-sub); }
.nt-total strong { color: var(--nt-navy); font-weight: 700; }
.nt-total span { margin-left: 4px; }
.nt-search { display: flex; height: 44px; }
.nt-search select,
.nt-search input { height: 44px; border: 1px solid var(--nt-line); background: #fff; font-size: 15px; color: var(--nt-text); padding: 0 12px; outline: none; }
.nt-search select { width: 120px; border-radius: 4px 0 0 4px; border-right: 0; }
.nt-search input { width: 240px; }
.nt-search input:focus, .nt-search select:focus { border-color: var(--nt-sky); }
.nt-search button { width: 48px; border: 0; border-radius: 0 4px 4px 0; background: var(--nt-navy); color: #fff; font-size: 16px; cursor: pointer; }
.nt-search button:hover { background: var(--nt-navy-dark); }

/* 목록 */
.nt-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--nt-navy); }
.nt-head, .nt-row { display: flex; align-items: center; border-bottom: 1px solid var(--nt-line); }
.nt-head { background: var(--nt-bg); height: 52px; font-size: 15px; font-weight: 600; color: #444; text-align: center; }
.nt-row { min-height: 64px; transition: background .15s; }
.nt-row:hover { background: #f9fbff; }
.nt-row.is-notice { background: #f3f8fd; }
.nt-row.is-current .nt-title { color: var(--nt-navy); font-weight: 700; }
.nt-chk { width: 48px; text-align: center; flex: none; }
.nt-num { width: 90px; flex: none; text-align: center; color: var(--nt-sub); font-size: 15px; }
.nt-head .nt-subject { flex: 1; }
.nt-row .nt-subject { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; padding: 18px 16px; font-size: 17px; }
.nt-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-row .nt-subject:hover .nt-title { color: var(--nt-navy); }
.nt-date { width: 130px; flex: none; text-align: center; color: var(--nt-sub); font-size: 15px; }
.nt-hit { width: 90px; flex: none; text-align: center; color: var(--nt-sub); font-size: 15px; }
.nt-badge { display: inline-block; padding: 3px 10px; border-radius: 20px; background: var(--nt-navy); color: #fff; font-size: 13px; font-style: normal; font-weight: 600; line-height: 1.4; }
.nt-badge-m { display: none; }
.nt-new { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%; background: #ff8a00; color: #fff; font-size: 11px; font-style: normal; font-weight: 700; flex: none; }
.nt-clip { color: var(--nt-sub); font-size: 14px; flex: none; }
.nt-meta-m { display: none; }
.nt-empty { padding: 80px 0; text-align: center; color: var(--nt-sub); border-bottom: 1px solid var(--nt-line); }
.nt-empty i { font-size: 40px; color: #c8cfdc; }
.nt-empty p { margin: 14px 0 0; font-size: 16px; }

/* 버튼 */
.nt-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 44px; padding: 0 22px; border-radius: 4px; border: 1px solid var(--nt-navy); font-size: 15px; font-weight: 600; cursor: pointer; transition: background .15s, color .15s; }
.nt-btn-primary { background: var(--nt-navy); color: #fff !important; }
.nt-btn-primary:hover { background: var(--nt-navy-dark); }
.nt-btn-line { background: #fff; color: var(--nt-navy) !important; }
.nt-btn-line:hover { background: var(--nt-bg); }
.nt-btn-danger { border-color: #d64545; color: #d64545 !important; }
.nt-btn-wide { min-width: 180px; }
.nt-admin { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }

/* 페이지 번호 */
.nt-paging { margin-top: 40px; display: flex; justify-content: center; }
.nt-paging .pagination { margin: 0; gap: 6px; flex-wrap: wrap; justify-content: center; }
.nt-paging .page-link { min-width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--nt-line); border-radius: 4px !important; color: #555; font-size: 15px; }
.nt-paging .page-item.active .page-link { background: var(--nt-navy); border-color: var(--nt-navy); color: #fff; }
.nt-paging .page-link:hover { color: var(--nt-navy); background: var(--nt-bg); }

/* 본문 */
.nt-view-head { border-top: 2px solid var(--nt-navy); border-bottom: 1px solid var(--nt-line); padding: 32px 8px 24px; text-align: center; }
.nt-view-cate { margin: 0 0 10px; color: var(--nt-sky); font-size: 15px; font-weight: 600; }
.nt-view-title { margin: 0; font-size: 28px; font-weight: 700; color: #111; line-height: 1.4; }
.nt-view-meta { list-style: none; margin: 16px 0 0; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: #444; }
.nt-view-meta span { color: var(--nt-sub); margin-right: 4px; }
.nt-view-body { padding: 48px 8px 56px; min-height: 240px; font-size: 17px; line-height: 1.85; border-bottom: 1px solid var(--nt-line); }
.nt-view-body img { max-width: 100%; height: auto; }
.nt-view-img { margin-bottom: 24px; text-align: center; }
.nt-files { margin-top: 24px; padding: 18px 22px; background: var(--nt-bg); border-radius: 6px; }
.nt-files-title { margin: 0 0 8px; font-weight: 600; color: var(--nt-navy); }
.nt-files ul { list-style: none; margin: 0; padding: 0; }
.nt-files li { padding: 4px 0; font-size: 15px; }
.nt-files a { color: var(--nt-navy); text-decoration: underline; }
.nt-files span { color: var(--nt-sub); }
.nt-nav { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--nt-line); }
.nt-nav li { display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 0 16px; border-bottom: 1px solid var(--nt-line); font-size: 16px; }
.nt-nav-label { width: 80px; flex: none; color: var(--nt-sub); font-size: 15px; }
.nt-nav-label i { color: var(--nt-sky); margin-right: 4px; }
.nt-nav a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-nav a:hover { color: var(--nt-navy); }
.nt-nav-date { flex: none; color: var(--nt-sub); font-size: 15px; }
.nt-view-btns { position: relative; margin-top: 40px; display: flex; justify-content: center; }
.nt-view-admin { position: absolute; right: 0; top: 0; display: flex; gap: 8px; }

/* 모바일 */
@media (max-width: 767px) {
    .nt-board { font-size: 15px; }
    .nt-bar { flex-direction: column; align-items: stretch; gap: 12px; }
    .nt-search { width: 100%; }
    .nt-search select { width: 96px; padding: 0 8px; }
    .nt-search input { flex: 1; width: auto; min-width: 0; }
    .nt-head { display: none; }
    .nt-num, .nt-date, .nt-hit { display: none; }
    .nt-row .nt-subject { flex-wrap: wrap; padding: 16px 4px; font-size: 16px; gap: 6px; }
    .nt-title { white-space: normal; flex: 0 1 auto; max-width: 100%; }
    .nt-badge-m { display: inline-block; }
    .nt-meta-m { display: block; width: 100%; font-size: 13px; color: var(--nt-sub); }
    .nt-view-head { padding: 24px 4px 18px; }
    .nt-view-title { font-size: 21px; }
    .nt-view-meta { font-size: 13px; gap: 4px 14px; }
    .nt-view-body { padding: 28px 4px 36px; font-size: 16px; min-height: 160px; }
    .nt-nav li { padding: 12px 4px; gap: 10px; font-size: 15px; }
    .nt-nav-label { width: 64px; font-size: 13px; }
    .nt-nav-date { display: none; }
    .nt-view-btns { flex-direction: column; align-items: center; gap: 16px; }
    .nt-view-admin { position: static; }
    .nt-btn-wide { width: 100%; max-width: 320px; }
}
