/* Styles for news-list: moved out of the template inline <style> block(s). */

    .news-page {
        max-width: 1100px;
        margin: 0 auto;
        padding: 24px 16px 48px;
    }

    .news-hero {
        text-align: center;
        margin-bottom: 32px;
    }

    .news-hero h1 {
        font-size: clamp(1.75rem, 4vw, 2.25rem);
        color: #1a2a44;
        margin-bottom: 10px;
        font-weight: 800;
    }

    .news-hero p {
        color: #64748b;
        font-size: 1rem;
        max-width: 640px;
        margin: 0 auto;
        line-height: 1.6;
    }

    .news-list {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .news-card {
        display: grid;
        grid-template-columns: 72px 140px 1fr;
        gap: 18px;
        align-items: start;
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 14px;
        padding: 16px;
        box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
        transition: box-shadow 0.2s, transform 0.2s;
    }

    .news-card:hover {
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
        transform: translateY(-2px);
    }

    .news-rank {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        padding-top: 4px;
    }

    .news-rank-num {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: linear-gradient(135deg, #1a2a44 0%, #2e4372 100%);
        color: #fbbf24;
        font-weight: 800;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .news-rank-label {
        font-size: 0.65rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        color: #94a3b8;
    }

    .news-rank-label.latest {
        color: #d97706;
    }

    .news-thumb {
        width: 140px;
        height: 100px;
        border-radius: 10px;
        overflow: hidden;
        background: #f1f5f9;
        flex-shrink: 0;
    }

    .news-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .news-body h2 {
        font-size: 1.05rem;
        line-height: 1.4;
        margin: 0 0 8px;
        color: #1a2a44;
    }

    .news-body h2 a {
        color: inherit;
        text-decoration: none;
    }

    .news-body h2 a:hover {
        color: #2e4372;
    }

    .news-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        align-items: center;
        margin-bottom: 8px;
        font-size: 0.78rem;
        color: #64748b;
    }

    .news-tag {
        background: #fef3c7;
        color: #92400e;
        padding: 2px 8px;
        border-radius: 999px;
        font-weight: 600;
        font-size: 0.7rem;
    }

    .news-excerpt {
        font-size: 0.9rem;
        color: #475569;
        line-height: 1.55;
        margin: 0 0 10px;
    }

    .news-read-more {
        font-size: 0.85rem;
        font-weight: 700;
        color: #2e4372;
        text-decoration: none;
    }

    .news-read-more:hover {
        color: #d4af37;
    }

    .news-empty {
        text-align: center;
        padding: 48px 20px;
        background: #f8fafc;
        border-radius: 14px;
        color: #64748b;
    }

    @media (max-width: 768px) {
        .news-card {
            grid-template-columns: 52px 1fr;
            grid-template-rows: auto auto;
        }

        .news-thumb {
            grid-column: 1 / -1;
            width: 100%;
            height: 160px;
        }

        .news-rank {
            flex-direction: row;
            align-items: center;
        }

        .news-rank-num {
            width: 36px;
            height: 36px;
            font-size: 0.95rem;
        }
    }
