/* === News Page Specific CSS === */

/* 인트로 */
.wawa-news-intro { text-align: center; margin: 40px auto 30px; max-width: 1200px; padding: 0 20px; }
.wawa-news-intro h2 { font-size: 26px; color: #1a1a2e; margin-bottom: 8px; font-weight: 700; border: none; padding: 0; }
.wawa-news-intro h2 .accent { color: #e94560; }
.wawa-news-intro p { color: #666; font-size: 15px; margin: 0; }

/* 카드 섹션 */
.wawa-news-cards-section { max-width: 1500px; margin: 0 auto; padding: 40px 0 60px; }
.wawa-news-cards-inner { max-width: 1200px; margin: 0 auto; }
.wawa-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; transition: opacity 0.3s; }
.wawa-news-divider { }

/* 카드 */
.wawa-nc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; text-decoration: none !important; color: inherit !important; transition: transform 0.25s, box-shadow 0.25s; display: flex; flex-direction: column; }
.wawa-nc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.wawa-nc-thumb { width: 100%; height: 180px; overflow: hidden; background: #f3f4f6; position: relative; }
.wawa-nc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.wawa-nc-no-thumb { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2.5em; color: #d1d5db; }
.wawa-nc-body { padding: 16px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.wawa-nc-cat { position: absolute; bottom: 8px; left: 8px; background: #DC2626; color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 2px; z-index: 2; line-height: 1; }
.wawa-nc-title { font-size: 1.05em; font-weight: 700; color: #1f2937; margin: 0; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wawa-nc-date { font-size: 13px; color: #9ca3af; margin-top: auto; }
.wawa-nc-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #9ca3af; font-size: 1.1em; }
.wawa-news-loading { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: #9ca3af; }

/* 페이지네이션 */
.wawa-news-pagination { margin-top: 32px; text-align: center; }
.wawa-np-wrap { display: inline-flex; gap: 6px; }
.wawa-np-btn { width: 40px; height: 40px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; color: #374151; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; justify-content: center; }
.wawa-np-btn:hover { border-color: #DC2626; color: #DC2626; }
.wawa-np-btn.wawa-np-active { background: #DC2626; color: #fff; border-color: #DC2626; }

/* 반응형 */
@media (max-width: 1024px) {
    .wawa-news-cards-section { padding: 30px 20px 50px; }
    .wawa-news-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 768px) {
    .wawa-news-cards-section { padding: 24px 16px 40px; }
    .wawa-news-grid { grid-template-columns: 1fr; gap: 16px; }
    .wawa-nc-thumb { height: 160px; }
}
