@charset "UTF-8";
/* 공지·소식(/news/) — 다른 하위 페이지와 같은 남색·금색, 직선·가는 선 규칙. 글은 모두 textContent 로 들어온다(homepage-news.js). */
.news-board{max-width:880px;margin:8px auto 88px}
.news-filters{display:flex;flex-wrap:wrap;gap:4px;border-bottom:1px solid var(--line);margin:0 0 20px}
.news-filters button{position:relative;padding:14px 14px 12px;border:0;background:none;color:var(--muted);font:inherit;font-size:15px;font-weight:500;white-space:nowrap;cursor:pointer}
.news-filters button:hover{color:var(--navy)}
.news-filters button[aria-pressed="true"]{color:var(--navy);font-weight:700}
.news-filters button[aria-pressed="true"]:after{content:"";position:absolute;left:10px;right:10px;bottom:-1px;height:2px;background:var(--navy)}
.news-filters button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.news-search{display:flex;gap:8px;margin:0 0 28px}
.news-search input{flex:1;min-width:0;min-height:46px;padding:10px 14px;border:1px solid #cfd8de;background:#fff;font:inherit;font-size:15px;color:var(--ink)}
.news-search input:focus{outline:2px solid var(--gold);outline-offset:-1px;border-color:var(--navy)}
.news-search button{min-height:46px;padding:0 22px;border:0;background:var(--navy);color:#fff;font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.news-search button:hover{background:var(--deep)}
#news-posts{border-top:1px solid var(--navy)}
.news-feature{padding:28px 28px 22px;border-bottom:1px solid var(--line);background:#f7f8f9;border-top:2px solid var(--gold);margin-top:-1px}
.news-feature h3{margin:10px 0 8px;font-size:22px;font-weight:600;letter-spacing:-.03em;line-height:1.45;overflow-wrap:anywhere}
.news-feature p{margin:0 0 14px;color:#44535e;font-size:15px;line-height:1.8;overflow-wrap:anywhere}
.news-feature .news-open{border:0;background:none;padding:0;color:var(--navy);font:inherit;font-size:14px;font-weight:600;cursor:pointer}
.news-feature .news-open:hover{color:#826737}
.news-row{border-bottom:1px solid var(--line)}
.news-row button{display:grid;grid-template-columns:96px 1fr auto;gap:18px;align-items:center;width:100%;min-height:64px;padding:16px 6px;border:0;background:none;text-align:left;font:inherit;color:var(--ink);cursor:pointer;transition:background-color .2s ease-out}
.news-row button:hover{background:#f6f8f9}
.news-row button:focus-visible{outline:2px solid var(--gold);outline-offset:-2px}
.news-category{display:inline-block;color:#826737;font-size:13px;font-weight:600;white-space:nowrap}
.news-row-title{font-size:16px;font-weight:500;letter-spacing:-.02em;overflow-wrap:anywhere}
.news-row button:hover .news-row-title{color:var(--navy);text-decoration:underline;text-underline-offset:4px}
.news-date{color:var(--muted);font-size:13px;white-space:nowrap}
.news-empty{padding:56px 0;text-align:center;color:var(--muted);font-size:15px}
#news-more{margin-top:20px}
.news-dialog{width:min(760px,calc(100vw - 32px));max-height:calc(100vh - 48px);padding:0;border:0;border-top:3px solid var(--navy);box-shadow:0 24px 60px -20px rgba(12,41,64,.45)}
.news-dialog::backdrop{background:rgba(10,32,49,.55)}
.news-dialog-header{position:sticky;top:0;display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 20px;border-bottom:1px solid var(--line);background:#fff;font-size:14px;color:var(--muted)}
.news-dialog-header div{display:flex;gap:8px;align-items:center}
.news-dialog-header a{font-size:13px;color:var(--navy)}
.news-dialog-header button{min-height:34px;padding:0 12px;border:1px solid #cfd8de;background:#fff;font:inherit;font-size:13px;cursor:pointer}
.news-dialog-header button:hover{border-color:var(--navy)}
.news-detail-content{padding:22px 26px 30px}
.news-detail-content h2{margin:10px 0 6px;font-size:24px;font-weight:600;letter-spacing:-.03em;line-height:1.45;overflow-wrap:anywhere}
.news-published-date{margin:0;color:var(--muted);font-size:13px}
.news-body{margin-top:18px;font-size:16px;line-height:1.85;color:var(--ink);overflow-wrap:anywhere}
.news-plain{white-space:pre-wrap}
.news-resource-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:26px;padding-top:16px;border-top:1px solid var(--line)}
@media(max-width:760px){
  .news-board{margin-bottom:58px}
  .news-filters button{padding:12px 10px 10px;font-size:14px}
  .news-feature{padding:22px 18px 18px}
  .news-feature h3{font-size:19px}
  .news-row button{grid-template-columns:1fr auto;grid-template-areas:"cat date" "title title";gap:4px 12px;padding:14px 4px}
  .news-row .news-category{grid-area:cat}
  .news-row .news-date{grid-area:date}
  .news-row .news-row-title{grid-area:title;font-size:15px}
  .news-detail-content{padding:18px 18px 24px}
  .news-detail-content h2{font-size:20px}
  .news-body{font-size:15px}
}
