@import url("../changil/style.css?v=2");

/* 자료실 (changil_lib) — 자료실.dc.html 시안 */
.cwl-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 4px; }
.cwl-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.5px; margin: 0; color: #14202E; }
.cwl-head .sub { font-size: 14px; color: #64748B; }
.cwl-desc { font-size: 13.5px; color: #64748B; margin-bottom: 16px; }
.cwl-brandbox { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; padding: 16px 18px; margin-bottom: 18px; }
.cwl-brandbox .t { font-size: 13px; font-weight: 700; color: #475569; margin-bottom: 12px; }
.cwl-brandbox .t span { color: #94A3B8; font-weight: 500; }
.cwl-brandbox .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cwl-brandbox .chips a { padding: 8px 14px; font-size: 13px; border-radius: 7px; text-decoration: none; background: #F1F5F9; color: #475569; font-weight: 600; }
.cwl-brandbox .chips a.on { background: #0F2E4D; color: #fff; font-weight: 700; }
.cwl-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.cwl-top .cnt { font-size: 15px; font-weight: 800; color: #14202E; }
.cwl-top .cnt b { color: #1D4ED8; }
.cwl-search { display: flex; align-items: center; gap: 8px; border: 1px solid #D5DAE3; border-radius: 8px; padding: 4px 6px 4px 14px; background: #fff; width: 280px; margin: 0; }
.cwl-search input[type=text] { flex: 1; min-width: 0; border: 0; outline: none; font-size: 13.5px; font-family: inherit; color: #14202E; background: transparent; height: 32px; }
.cwl-search button { border: 0; background: none; cursor: pointer; font-size: 14px; padding: 4px 8px; }
.cwl-tbl { background: #fff; border: 1px solid #E2E8F0; border-radius: 12px; overflow: hidden; }
.cwl-tbl-h, .cwl-tbl-r { display: grid; grid-template-columns: 118px minmax(0,1fr) 82px 58px 46px; align-items: center; }
.cwl-tbl-h { background: #F7F9FB; border-bottom: 1px solid #E2E8F0; font-size: 13px; font-weight: 700; color: #475569; }
.cwl-tbl-h > div, .cwl-tbl-r > div { padding: 13px 16px; text-align: center; }
.cwl-tbl-r { border-bottom: 1px solid #F1F5F9; font-size: 14px; }
.cwl-tbl-r:last-child { border-bottom: 0; }
.cwl-tbl-r .cat { color: #1D4ED8; font-weight: 700; font-size: 12.5px; text-align: left; line-height: 1.35; word-break: break-word; }
.cwl-tbl-r .subj { text-align: left; line-height: 1.45; word-break: break-word; }
.cwl-tbl-r .subj a { color: #14202E; text-decoration: none; }
.cwl-tbl-r .subj a:hover { color: #1D4ED8; }
.cwl-tbl-r .bdg { font-size: 11px; font-weight: 700; color: #fff; padding: 3px 8px; border-radius: 4px; }
.cwl-tbl-r .bdg.f { background: #B91C1C; }
.cwl-tbl-r .bdg.l { background: #1D4ED8; }
.cwl-tbl-r .bdg.n { background: #94A3B8; }
/* 형식 칸: 뱃지 텍스트 한 줄 유지, 최대 6자 가로 표기 */
.cwl-tbl-h > div:nth-child(3), .cwl-tbl-r .fmt { padding-left: 6px; padding-right: 6px; }
.cwl-tbl-r .fmt, .cwl-tbl-r .bdg { white-space: nowrap; }
.cwl-tbl-r .bdg { display: inline-block; min-width: 46px; text-align: center; box-sizing: border-box; }
.cwl-tbl-r .hit { color: #94A3B8; font-size: 13px; }
.cwl-tbl-r .dl a { color: #0F2E4D; font-weight: 700; text-decoration: none; }
.cwl-empty { padding: 60px 20px; text-align: center; color: #94A3B8; font-size: 14px; }
.cwl-adm { margin-top: 14px; text-align: right; }
.cwl-adm a { display: inline-block; background: #0F2E4D; color: #fff; font-size: 13.5px; font-weight: 700; padding: 11px 20px; border-radius: 9px; text-decoration: none; }
/* 상세 */
.cwl-card { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 34px 38px 30px; max-width: 860px; margin: 0 auto; }
.cwl-cat-label { font-size: 12px; font-weight: 800; color: #1D4ED8; margin-bottom: 6px; }
.cwl-vtitle { font-size: 20px; font-weight: 800; letter-spacing: -0.5px; margin: 0 0 8px; line-height: 1.4; color: #14202E; }
.cwl-vmeta { font-size: 12.5px; color: #94A3B8; padding-bottom: 16px; border-bottom: 1px solid #EEF0F4; margin-bottom: 18px; }
.cwl-vcontent { font-size: 14px; line-height: 1.9; color: #334155; }
.cwl-vcontent img { max-width: 100%; height: auto; }
.cwl-goshop { text-align: center; margin: 24px 0; }
.cwl-goshop a { display: inline-block; background: #0F2E4D; color: #fff; font-size: 15px; font-weight: 800; padding: 13px 30px; border-radius: 9px; text-decoration: none; }
.cwl-files { border-top: 1px solid #EEF0F4; padding-top: 16px; margin-top: 16px; }
.cwl-file { display: flex; align-items: center; gap: 10px; background: #F7F9FB; border-radius: 8px; padding: 14px 16px; margin-bottom: 8px; text-decoration: none; }
.cwl-file .ext { font-size: 11px; font-weight: 700; color: #fff; background: #64748B; padding: 3px 7px; border-radius: 4px; flex-shrink: 0; }
.cwl-file .ext.pdf { background: #B91C1C; }
.cwl-file .ext.lk { background: #1D4ED8; }
.cwl-file .name { flex: 1; min-width: 0; font-size: 13.5px; font-weight: 600; color: #1D4ED8; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cwl-file .down { font-size: 12.5px; color: #64748B; flex-shrink: 0; }
.cwl-vbtns { display: flex; justify-content: center; gap: 10px; margin-top: 24px; }
.cwl-vbtns a { font-size: 14px; font-weight: 700; padding: 11px 34px; border-radius: 8px; text-decoration: none; }
.cwl-vbtns .lst { border: 1px solid #C7CDD6; color: #334155; }
.cwl-vbtns .adm { border: 1px solid #0F2E4D; color: #0F2E4D; }
.cwl-writewrap { background: #fff; border: 1px solid #E2E8F0; border-radius: 14px; padding: 24px; margin-top: 14px; }
@media (max-width: 800px) {
  .cwl-tbl-h, .cwl-tbl-r { grid-template-columns: 92px minmax(0,1fr) 78px 44px; }
  .cwl-tbl-h > div:nth-child(4), .cwl-tbl-r .hit { display: none; }
  .cwl-card { padding: 22px 16px; }
}
