.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: 6px;
    overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}

.np-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--line);
}

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

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

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

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

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

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

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

.np-title {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.34;
    letter-spacing: -0.01em;
    margin: 0 0 12px;
}

.np-excerpt {
    color: var(--ink-2);
    font-size: 0.92rem;
    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.92rem;
    font-weight: 700;
    margin: 0;
    color: var(--ink-2);
    display: inline;
}

.np-readmore {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding-top: 20px;
    border-top: 1px solid var(--line-2);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--ink);
}

.np-readmore i {
    font-size: 0.8rem;
    transition: transform 0.25s var(--ease);
}

.np-card:hover .np-readmore i {
    transform: translateX(5px);
}

.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(--ink);
    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;
    }
}
