:root {
    --primary: #0ea5e9;
    --text: #1f2937;
    --muted: #6b7280;
    --radius: 16px;
    --shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font: 16px/1.5 system-ui, Segoe UI, Roboto
}

.news {
    padding: 40px 16px;
    background: #f7fafc
}

.wrap {
    max-width: 1120px;
    margin: 0 auto;
    border-radius: 24px;
    padding: 20px
}

.hdr {
    text-align: center;
    margin-bottom: 16px
}

.hdr h2 {
    color: #0b1fb5;
    font-size: 40px;
    margin: 0 0 6px
}

.sub {
    color: var(--muted);
    margin: 0
}

.grid {
    display: grid;
    gap: 16px
}

@media (min-width:768px) {
    .grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (min-width:1024px) {
    .grid {
        grid-template-columns: repeat(3, 1fr)
    }
}

.card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden
}

.media {
    aspect-ratio: 16/9;
    overflow: hidden
}

.media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.body {
    padding: 16px
}

.title {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--text)
}

.excerpt {
    margin: 0 0 14px;
    color: #374151;
    font-size: 14px
}

.meta {
    color: var(--muted);
    font-size: 12px;
    margin: 0 0 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 999px
}

.btn:hover {
    filter: brightness(.95)
}