.np-section {
    background: var(--surface);
}

.np-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 88px 24px 96px;
}

.np-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

.np-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}

.np-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(46,195,150,0.4);
}

.np-media-link {
    display: block;
}

.np-media {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--canvas-2);
}

.np-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s var(--ease);
}

.np-card:hover .np-media img {
    transform: scale(1.05);
}

.np-card-body {
    padding: 24px 24px 26px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.np-card-body a {
    text-decoration: none;
    color: inherit;
}

.np-date {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--accent-deep);
    margin: 0 0 10px;
}

.np-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
    transition: color 0.2s var(--ease);
}

.np-card-body a:hover .np-title {
    color: var(--accent-deep);
}

.np-excerpt {
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0 0 18px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.np-excerpt p {
    margin: 0;
}

.np-excerpt :is(h1,h2,h3,h4,h5,h6) {
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink-2);
    display: inline;
}

.np-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-deep);
    width: fit-content;
}

.np-readmore::after {
    content: '→';
    transition: transform 0.25s var(--ease);
}

.np-card:hover .np-readmore::after {
    transform: translateX(4px);
}

.news-loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 48px 0 8px;
    color: var(--ink-3);
    font-size: 0.92rem;
}

.news-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid var(--line);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: np-spin 0.8s linear infinite;
}

@keyframes np-spin {
    to {
        transform: rotate(360deg);
    }
}

.news-sentinel {
    height: 1px;
}

@media (max-width: 600px) {
    .np-inner {
        padding: 64px 18px 80px;
    }

    .np-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
