/* 메인 "오늘의 (나라) 소식" 칸(news.widget.php) — genau css/style.css 의 gn_news 규칙을 옮긴 것(게나우를 고치면 여기도 맞출 것). 색 토큰이 없으면 괄호 안 기본값 */
.gn_news { background: var(--g-surface, #fff); border: 1px solid var(--g-border, #e5e5ea); border-radius: var(--g-radius-md, 12px); padding: 18px 20px; margin: 0 0 20px; box-shadow: var(--g-shadow-sm, none); }
.gn_news .gn_section_head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; padding-bottom: 12px; border-bottom: 2px solid var(--g-ink, #1d1d1f); }
.gn_news .gn_section_head h2 { margin: 0; font-size: 17px; font-weight: 800; letter-spacing: -.3px; color: var(--g-text, #1d1d1f); }
.gn_news_note { font-size: 11.5px; color: var(--g-text-faint, #999); } /* 제목 옆 작은 회색 안내 — 빨간색 쓰지 말 것(사용자 결정 2026-10-16) */
.gn_news_empty { padding: 8px 0 2px; font-size: 13px; color: var(--g-text-faint, #999); }
.gn_news_month { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; padding: 11px 14px; border-radius: var(--g-radius-sm, 8px); background: rgba(242, 183, 5, .18); color: var(--g-text, #1d1d1f); font-size: 14px; font-weight: 700; }
.gn_news_month:hover { background: rgba(242, 183, 5, .3); color: var(--g-text, #1d1d1f); }
.gn_news_month_tag { flex: none; font-size: 12px; font-weight: 800; color: var(--g-primary, #333); }
.gn_news_month_tit { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 아호이 월간 소식(lib/monthly.lib.php) — 나라 색(--nm-c)은 라벨 칩·왼쪽 띠·화살표에만, 제목은 검정(사이트 기본 글자색)(2026-10-16 사용자 결정).
   체코 = 밝은 하늘 파랑 + 옅은 하늘색 배경, 슬로바키아 = 차분한 빨강 #D2444C + 옅은 분홍 배경(국기 빨강 #EE1C25 는 너무 쨍하다고 해서 체코 하늘 파랑과 톤을 맞춤).
   (처음엔 진한 분홍 배경 + 나라별 파랑 글자였는데 사이트 색과 안 어울려 바꿈. 게나우는 노랑 그대로) */
.gn_news_month_cz { --nm-c: #2B7BD0; --nm-bg: #EAF4FD; --nm-bg-h: #DCEDFB; --nm-line: #C7DFF5; }
.gn_news_month_sk { --nm-c: #D2444C; --nm-bg: #FCF1F2; --nm-bg-h: #F9E3E5; --nm-line: #F2D6D8; }
.gn_news_month_cz, .gn_news_month_sk { background: var(--nm-bg); border: 1px solid var(--nm-line); border-left: 4px solid var(--nm-c); color: var(--g-text, #1a1a1a); }
.gn_news_month_cz:hover, .gn_news_month_sk:hover { background: var(--nm-bg-h); color: var(--g-text, #1a1a1a); }
.gn_news_month_cz .gn_news_month_tag, .gn_news_month_sk .gn_news_month_tag { padding: 3px 8px; border-radius: 3px; background: var(--nm-c); color: #fff; font-size: 11.5px; }
.gn_news_month_cz > .fa-angle-right, .gn_news_month_sk > .fa-angle-right { color: var(--nm-c); }
.gn_news_list { display: flex; flex-direction: column; }
.gn_news_item { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--g-border, #e5e5ea); font-size: 14px; }
.gn_news_item:last-child { border-bottom: none; }
.gn_news_tag { flex: none; min-width: 52px; padding: 2px 8px; border-radius: 999px; background: var(--g-surface-alt, #f5f5f7); color: var(--g-text-sub, #666); font-size: 11.5px; font-weight: 700; text-align: center; }
.gn_news_tit { flex: 1; min-width: 0; color: var(--g-text, #1d1d1f); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.gn_news_tit:hover { color: var(--g-primary, #333); }
.gn_news_meta { flex: none; font-size: 12px; color: var(--g-text-faint, #999); white-space: nowrap; }
.gn_news_hide button { border: none; background: none; color: var(--g-text-faint, #999); font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; }
.gn_news_hide button:hover { color: var(--g-danger, #d93025); }
/* 최고관리자 기사 올리기 칸(theme/genau/news.manage.php) */
.gn_news_add { display: flex; gap: 6px; margin-bottom: 10px; }
.gn_news_add input { min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--g-border, #e5e5ea); border-radius: var(--g-radius-sm, 8px); background: var(--g-surface, #fff); color: var(--g-text, #1d1d1f); font-size: 13px; }
.gn_news_add input[type=url] { flex: 2; }
.gn_news_add input[type=text] { flex: 1; }
.gn_news_add button { flex: none; height: 36px; padding: 0 14px; border: none; border-radius: var(--g-radius-sm, 8px); background: var(--g-primary, #333); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.gn_news_add .gn_news_find { flex: none; display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border: 1px solid var(--g-border, #e5e5ea); border-radius: var(--g-radius-sm, 8px); color: var(--g-text-sub, #666); font-size: 13px; font-weight: 700; white-space: nowrap; }
.gn_news_add .gn_news_find:hover { color: var(--g-primary, #333); border-color: var(--g-primary, #333); }
.gn_news_cand { margin-bottom: 12px; padding: 10px 12px; border: 1px dashed var(--g-border, #e5e5ea); border-radius: var(--g-radius-sm, 8px); background: var(--g-surface-alt, #f5f5f7); }
.gn_news_cand summary { cursor: pointer; font-size: 13px; font-weight: 800; color: var(--g-text, #1d1d1f); }
.gn_news_cand summary span { margin-left: 6px; font-size: 11.5px; font-weight: 400; color: var(--g-text-faint, #999); }
.gn_news_cand ul { margin-top: 8px; }
.gn_news_cand li { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-top: 1px solid var(--g-border, #e5e5ea); font-size: 13px; }
.gn_news_cand li a { flex: 1; min-width: 0; color: var(--g-text, #1d1d1f); }
.gn_news_cand li a:hover { color: var(--g-primary, #333); }
.gn_news_cand li button { flex: none; height: 28px; padding: 0 10px; border: 1px solid var(--g-primary, #333); border-radius: var(--g-radius-sm, 8px); background: var(--g-surface, #fff); color: var(--g-primary, #333); font-size: 12px; font-weight: 700; cursor: pointer; }
.gn_news_cand li button:hover { background: var(--g-primary, #333); color: #fff; }
@media (max-width: 640px) {
    .gn_news_add { flex-wrap: wrap; }
    .gn_news_add input[type=url] { flex-basis: 100%; }
    .gn_news_item { flex-wrap: wrap; row-gap: 2px; }
    .gn_news_tit { flex-basis: calc(100% - 70px); white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .gn_news_meta { margin-left: 62px; }
}
/* [더 보기] 접기 — 처음 보일 수·최대 수는 기사 찾기 화면에서(genau_news_fold·genau_news_show) */
.gn_news_list.is_folded .gn_news_item.is_more { display: none; }
.gn_news_list.is_folded .gn_news_item:has(+ .is_more) { border-bottom: none; } /* 접혔을 때 마지막으로 보이는 줄 */
.gn_news_more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; margin-top: 8px; padding: 8px 0; border: 1px solid var(--g-border, #e5e5ea); border-radius: var(--g-radius-sm, 8px); background: var(--g-surface, #fff); color: var(--g-text-sub, #666); font-family: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.gn_news_more:hover { border-color: var(--g-primary, #333); color: var(--g-primary, #333); }
/* 운영진: 회색 태그를 고르는 칸(news.widget.php act=tag) — 보기엔 태그와 같고 점선 테두리만 */
.gn_news_tagf { flex: none; margin: 0; }
select.gn_news_tag { -webkit-appearance: none; appearance: none; border: 1px dashed var(--g-border, #e5e5ea); font-family: inherit; line-height: 1.5; cursor: pointer; max-width: 120px; }
select.gn_news_tag:hover { border-color: var(--g-primary, #333); }
