/* News Archive Page (/news) */

.news-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin-bottom: 8px;
}

.news-page-subtitle {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.horiz-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: 14px;
    background: #fff;
    margin-bottom: 16px;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    text-decoration: none;
    color: inherit;
}

.horiz-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    border-color: #e0d8f0;
}

.horiz-card-first {
    background: linear-gradient(135deg, #f8f4ff 0%, #fff 100%);
    border: 2px solid #e0d8f0;
}

.horiz-card .horiz-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    flex-shrink: 0;
}

.horiz-card .horiz-body {
    flex: 1;
    min-width: 0;
}

.horiz-card .horiz-body h5 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
    line-height: 1.4;
    text-align: justify;
}

.horiz-card-first .horiz-body h5 {
    font-size: 1.15rem;
}

.horiz-card .horiz-body .summary {
    font-size: 0.88rem;
    color: #666;
    text-align: justify;
    line-height: 1.5;
    margin-bottom: 8px;
}

.horiz-card .horiz-body .meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.8rem;
    color: #999;
}

.horiz-card .horiz-arrow {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    color: #ccc;
    transition: all 0.3s;
    flex-shrink: 0;
}

.horiz-card:hover .horiz-arrow {
    color: #7c3aed;
    transform: translateX(4px);
}

.news-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #f0f0f0;
}

.news-pagination .page-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid #e0d8f0;
    background: white;
    color: #555;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.news-pagination .page-btn:hover {
    background: #f0e6ff;
    color: #7c3aed;
    border-color: #7c3aed;
}

.news-pagination .page-btn.active {
    background: #7c3aed;
    color: white;
    border-color: #7c3aed;
}

.news-pagination .page-btn.dots {
    border: none;
    background: none;
    cursor: default;
    color: #999;
}

.news-pagination .page-btn.dots:hover {
    background: none;
    color: #999;
}

.news-pagination .page-btn.nav-btn {
    width: auto;
    padding: 0 16px;
    font-size: 0.85rem;
}

@media (max-width: 576px) {
    .horiz-card {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
    }

    .horiz-card .horiz-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }

    .news-page-title {
        font-size: 1.5rem;
    }
}
