/* 소식 — page.css 에서 분리(10-28 코어 CSS 최적화). 이 섹션이 화면에 있을 때만 불러온다(inc/css-modules.php). */
.dw-news { padding-top: 56px; padding-bottom: 90px; }
.dw-news-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
}
.dw-news-tab {
    padding: 9px 20px;
    min-height: 44px;
    border: 1px solid var(--dw-line);
    border-radius: 999px;
    background: #fff;
    color: var(--dw-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: all .18s ease;
}
.dw-news-tab:hover { border-color: var(--dw-primary); color: var(--dw-primary); }
.dw-news-tab.is-active { background: var(--dw-primary); border-color: var(--dw-primary); color: #fff; }
.dw-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 2px solid var(--dw-ink);
}
.dw-news-item { border-bottom: 1px solid var(--dw-line); }
.dw-news-row {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 26px 8px;
    color: inherit;
    text-decoration: none;
    transition: background .18s ease;
}
.dw-news-row:hover { background: var(--dw-bg); }
.dw-news-thumb {
    flex: 0 0 auto;
    width: 148px;
    height: 96px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--dw-bg);
}
.dw-news-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dw-news-main { flex: 1 1 auto; min-width: 0; }
.dw-news-meta { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.dw-news-cat {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--dw-primary) 12%, #fff);
    color: var(--dw-primary);
    font-size: 12px;
    font-weight: 700;
    line-height: 16px;
}
.dw-news-new {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: #d03a22;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 16px;
}
.dw-news-title {
    display: block;
    color: var(--dw-ink);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: -.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color .18s ease;
}
.dw-news-row:hover .dw-news-title { color: var(--dw-primary); }
.dw-news-excerpt {
    display: block;
    margin-top: 6px;
    color: var(--dw-text);
    font-size: 14.5px;
    line-height: 1.6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dw-news-date {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--dw-muted);
    font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.dw-news-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--dw-line);
    border-radius: 50%;
    color: var(--dw-muted);
    font-size: 15px;
    transition: all .18s ease;
}
.dw-news-row:hover .dw-news-arrow {
    border-color: var(--dw-primary);
    background: var(--dw-primary);
    color: #fff;
    transform: translateX(2px);
}
.dw-news-empty { padding: 60px 0; text-align: center; color: var(--dw-muted); }
.dw-news-single { padding-top: 56px; padding-bottom: 90px; max-width: 860px; }
.dw-news-single-head {
    padding-bottom: 26px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--dw-line);
}
.dw-news-single-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.dw-news-single-date { color: var(--dw-muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.dw-news-single-title {
    margin: 0;
    color: var(--dw-ink);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
}
.dw-news-single-media {
    margin: 0 0 32px;
    border-radius: 14px;
    overflow: hidden;
}
.dw-news-single-media img { width: 100%; height: auto; display: block; }
.dw-news-content { color: var(--dw-text); font-size: 16px; line-height: 1.85; }
.dw-news-content > * + * { margin-top: 1.1em; }
.dw-news-nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 14px;
    margin: 48px 0 0;
    padding-top: 28px;
    border-top: 1px solid var(--dw-line);
}
.dw-news-nav-link {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 18px 20px;
    border: 1px solid var(--dw-line);
    border-radius: 12px;
    text-decoration: none;
    min-width: 0; /* 긴 제목(한 줄 말줄임)이 칸을 밀어 모바일 가로 넘침 나던 것 (10-25) */
    transition: border-color .18s ease, background .18s ease;
}
.dw-news-nav-link:hover { border-color: var(--dw-primary); background: var(--dw-bg); }
.dw-news-nav-next { text-align: right; }
.dw-news-nav-label { color: var(--dw-muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.dw-news-nav-title {
    color: var(--dw-ink);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dw-news-single-foot { margin-top: 40px; text-align: center; }
@media (max-width: 760px) {
.dw-news-row { flex-direction: column; align-items: stretch; gap: 12px; padding: 20px 4px; }
.dw-news-thumb { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.dw-news-title { font-size: 16px; white-space: normal; }
.dw-news-excerpt { display: none; }
.dw-news-date { flex-direction: row; align-items: center; justify-content: space-between; width: 100%; gap: 10px; font-size: 13px; }
.dw-news-nav { grid-template-columns: minmax(0, 1fr); }
.dw-news-nav-next { text-align: left; }
}
