/* ── News grid / cards ─────────────────────────────────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}
.news-card {
    border: 1px solid #e2e5ea;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s;
}
.news-card:hover {
    box-shadow: 0 6px 24px rgba(0, 0, 0, .1);
}
.news-card__img-link {
    display: block;
    overflow: hidden;
}
.news-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform .3s;
}
.news-card__img-link:hover .news-card__img {
    transform: scale(1.04);
}
.news-card__body {
    padding: 1.1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-card__cat {
    display: inline-block;
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    background: #3b82f6;
    padding: 2px 9px;
    border-radius: 20px;
}
.news-card__title {
    margin: .55rem 0 .3rem;
    font-size: 1.05rem;
    line-height: 1.35;
    flex: 1;
}
.news-card__title-link {
    color: inherit;
    text-decoration: none;
}
.news-card__title-link:hover {
    color: #3b82f6;
}
.news-card__date {
    font-size: .78rem;
    color: #9ca3af;
    display: block;
    margin-bottom: .5rem;
}
.news-card__excerpt {
    font-size: .88rem;
    color: #4b5563;
    margin: .4rem 0 .9rem;
    line-height: 1.55;
    flex: 1;
}
.news-card__readmore {
    display: inline-block;
    margin-top: auto;
    font-size: .83rem;
    font-weight: 600;
    color: #3b82f6;
    text-decoration: none;
    transition: color .2s;
}
.news-card__readmore:hover {
    color: #1d4ed8;
}

/* ── Single article ─────────────────────────────────────────────────────────── */
.news-single {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 3rem;
}
.news-back-link {
    display: block;
    font-size: .85rem;
    color: #6b7280;
    text-decoration: none;
    margin-bottom: 1.25rem;
    transition: color .2s;
}
.news-back-link:hover {
    color: #1f2937;
}
.news-single__cat {
    display: inline-block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #fff;
    background: #3b82f6;
    padding: 2px 10px;
    border-radius: 20px;
    margin-bottom: .75rem;
}
.news-single__title {
    font-size: 2rem;
    line-height: 1.25;
    margin-bottom: .6rem;
    color: #111827;
}
.news-single__meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    color: #6b7280;
    font-size: .875rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.news-single__img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 1.75rem;
    max-height: 420px;
    object-fit: cover;
}
.news-single__lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: #374151;
    border-left: 3px solid #3b82f6;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}
.news-single__body {
    line-height: 1.75;
    font-size: 1rem;
    color: #1f2937;
}
.news-single__body h2,
.news-single__body h3 {
    margin: 1.75rem 0 .75rem;
    line-height: 1.3;
}
.news-single__body p {
    margin-bottom: 1rem;
}
.news-single__body img {
    max-width: 100%;
    border-radius: 8px;
    margin: 1rem 0;
}

/* ── Empty state ─────────────────────────────────────────────────────────────── */
.news-empty {
    padding: 1rem;
    color: #9ca3af;
    font-style: italic;
}
