.news-family-page,
.news-detail-page {
    background: #faf9f7;
    color: #20221f;
}

.news-family-hero {
    position: relative;
    height: 300px;
    padding-bottom: 28px;
    background-image: none;
    background-position: center;
    background-size: cover;
}
.news-family-hero-image { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }

.news-family-breadcrumb {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 14px clamp(20px, 4vw, 48px) 0;
    box-sizing: border-box;
    color: #8a877e;
    font-size: 11.5px;
    text-align: right;
}

.news-family-breadcrumb a { color: #8a877e; }
.news-family-breadcrumb strong { color: #20221f; font-weight: 600; }

.news-family-index {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 56px) clamp(20px, 4vw, 48px) 56px;
    box-sizing: border-box;
}

.news-family-index > h2 {
    margin: 0;
    font-family: Marcellus, "Pretendard Variable", sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 400;
}

.news-family-tabs {
    display: flex;
    gap: clamp(20px, 3vw, 36px);
    margin-top: 28px;
    border-bottom: 1px solid #e6e3dc;
}

.news-family-tabs a {
    padding: 14px 2px;
    border-bottom: 2px solid transparent;
    color: #8a877e;
    font-size: 14px;
}

.news-family-tabs a.active {
    border-bottom-color: #20221f;
    color: #20221f;
    font-weight: 700;
}

.news-family-tabs span {
    color: #8a877e;
    font-size: 11.5px;
    font-weight: 400;
}

.news-family-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 28px;
    flex-wrap: wrap;
}

.news-family-count { color: #8a877e; font-size: 12.5px; }
.news-family-count b { color: #20221f; font-weight: 600; }

.news-family-search {
    display: flex;
    width: min(260px, 100%);
    height: 40px;
    margin-left: auto;
    padding: 0 12px;
    align-items: center;
    gap: 8px;
    border: 1px solid #c9c5ba;
    border-radius: 6px;
    color: #8a877e;
    box-sizing: content-box;
}

.news-family-search input {
    min-width: 0;
    flex: 1;
    border: 0;
    outline: 0;
    background: transparent;
    color: #20221f;
    font: inherit;
    font-size: 12.5px;
}
.news-family-search input::placeholder { color: #a9a69d; opacity: 1; }

.news-family-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 24px);
}

.news-family-card { display: block; min-width: 0; color: #20221f; }
.news-family-thumb { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: #f0eee8; }
.news-family-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-family-play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.news-family-play > span { display: flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(20, 24, 20, .55); color: #fff; font-size: 14px; }

.news-family-badge {
    display: inline-block;
    padding: 3px 9px;
    border: 1px solid #c9c5ba;
    border-radius: 3px;
    color: #8a877e;
    font-size: 10px;
    letter-spacing: .1em;
}

.news-family-card .news-family-badge { margin-top: 14px; }
.news-family-card > strong { display: -webkit-box; min-height: 3em; margin-top: 10px; overflow: hidden; font-size: 14.5px; font-weight: 600; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-family-excerpt { display: -webkit-box; min-height: 3.2em; margin-top: 6px; overflow: hidden; color: #8a877e; font-size: 12px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.news-family-card time { display: block; margin-top: 8px; color: #a9a69d; font-size: 11.5px; }

.news-family-empty { margin-bottom: 56px; padding: 56px 24px; border: 1px dashed #c9c5ba; border-radius: 8px; color: #8a877e; font-size: 13.5px; line-height: 1.8; text-align: center; }
.news-family-empty a { display: inline-block; margin-top: 14px; color: #2c4434; font-size: 12.5px; text-decoration: underline; }
.news-family-press-notice { margin: 24px 0 8px; color: #8a877e; font-size: 12.5px; }
.news-family-press-list a { display: grid; grid-template-columns: 100px 1fr auto auto; gap: 18px; align-items: center; padding: 18px 4px; border-bottom: 1px solid #e6e3dc; }
.news-family-press-list span, .news-family-press-list time { color: #8a877e; font-size: 12px; }
.news-family-press-list strong { font-size: 14px; font-weight: 500; }
.news-family-press-list b { color: #2c4434; font-size: 12px; white-space: nowrap; }
.news-family-pagination { margin-top: 32px; }

.news-detail-article {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 24px) clamp(56px, 7vw, 80px);
    box-sizing: border-box;
}

.news-detail-article > h1 {
    margin: 14px 0 0;
    font-family: Marcellus, "Pretendard Variable", sans-serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
    line-height: 1.45;
}

.news-detail-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #e6e3dc;
    color: #8a877e;
    font-size: 12px;
}

.news-detail-meta button {
    margin-left: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #2c4434;
    cursor: pointer;
    font: inherit;
}

.news-detail-content { margin: 28px 0; }
.news-detail-image { aspect-ratio: 16 / 10; margin-bottom: 24px; overflow: hidden; border-radius: 8px; background: #f0eee8; }
.news-detail-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.news-detail-image-placeholder { display: flex; width: 100%; height: 100%; padding: 8px; box-sizing: content-box; align-items: center; justify-content: center; background: #f0eee8; color: #a9a69d; font-size: 11px; line-height: 1.45; text-align: center; }
.news-detail-body { color: #4c4e48; font-size: 14px; line-height: 2; }
.news-detail-body p { margin: 0 0 28px; }
.news-detail-body p:last-child { margin-bottom: 0; }
/* BUG-D-269 · DEV-ANS-157 N-3717 — 크기 속성(width · height)이 상자보다 넓은 사진은 공통 max-width: 100% 로 폭만 줄고 높이가 그대로라 찌그러졌다(600 × 360 → 375 에서 335 × 360).
   다른 본문 상자(제품 상세 · 기술 · 페이지 본문)처럼 높이를 비율에 맞춘다. */
.news-detail-body img { height: auto; }
.news-detail-legal { padding-top: 14px; border-top: 1px solid #e6e3dc; color: #a9a69d; font-size: 11px; line-height: 1.9; }

.news-detail-related { margin-top: 36px; }
.news-detail-related h2 { margin: 0 0 16px; font-size: 16px; font-weight: 700; }
.news-detail-neighbors { margin-top: 36px; border-top: 1px solid #e6e3dc; }
.news-detail-neighbors > a,
.news-detail-neighbors > span { display: flex; gap: 16px; padding: 15px 4px; border-bottom: 1px solid #efece5; font-size: 13.5px; }
.news-detail-neighbors span,
.news-detail-neighbors em { flex: 0 0 64px; color: #8a877e; font-size: 12px; font-style: normal; }
.news-detail-neighbors b { font-weight: 400; }
.news-detail-neighbors > span b { color: #a9a69d; }
.news-detail-back { margin-top: 32px; text-align: center; }
.news-detail-back a { display: inline-block; padding: 11px 40px; border: 1px solid #20221f; border-radius: 4px; font-size: 12.5px; font-weight: 600; }

/* BUG-D-211 ③ · DEV-REQ-118 N-3004 — 768 이상은 기본 3열. 2열은 767.98px 이하(모바일)만 — 전에는 1439.98px 이하 전부를 2열로 덮었다. */
@media (max-width: 767.98px) {
    .news-family-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767.98px) {
    .news-family-hero { height: 300px !important; }
    .news-family-press-list a { grid-template-columns: 80px 1fr; gap: 10px; }
    .news-family-press-list time, .news-family-press-list b { grid-column: 2; }
}
