/* Trang Tin tức — kiểu luathungbach (danh sách dọc + cột phụ) */

.news-page {
    --nw-navy: #0b2345;
    --nw-gold: #c8a15a;
    --nw-gold-line: #c9a227;
    max-width: 1100px;
    margin: 0 auto;
}

.news-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) min(280px, 32%);
    gap: 32px 36px;
    align-items: start;
}

.news-page__subhero-more {
    display: block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
}

.news-page__subhero-more a {
    color: #b45309;
    text-decoration: none;
}

.news-page__subhero-more a:hover {
    text-decoration: underline;
}

.news-page__empty {
    margin: 0;
    padding: 28px 20px;
    text-align: center;
    font-size: 15px;
    color: #64748b;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
}

.news-feed {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-feed__item {
    border-bottom: 1px solid #e2e8f0;
}

.news-feed__item:first-child {
    border-top: 1px solid #e2e8f0;
}

.news-feed__article {
    display: flex;
    gap: 18px;
    padding: 22px 0 22px 14px;
    margin-left: 0;
    border-left: 3px solid transparent;
    transition: background 0.15s ease, border-left-color 0.15s ease;
}

.news-feed__article:hover {
    background: #fafbfc;
    border-left-color: var(--nw-gold-line);
}

.news-feed__thumb {
    flex: 0 0 auto;
    width: 140px;
    height: 105px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
    align-self: flex-start;
}

.news-feed__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-feed__body {
    min-width: 0;
    flex: 1;
}

.news-feed__cat {
    display: inline-block;
    margin: 0 0 6px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--nw-navy);
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    border-left: 3px solid var(--nw-gold-line);
}

.news-feed__title {
    margin: 0 0 8px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: clamp(17px, 2.2vw, 20px);
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.news-feed__title a {
    color: var(--nw-navy);
    text-decoration: none;
}

.news-feed__title a:hover {
    color: #174074;
    text-decoration: underline;
    text-decoration-color: var(--nw-gold-line);
}

.news-feed__excerpt {
    margin: 0 0 10px;
    font-size: 15px;
    line-height: 1.65;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-feed__excerpt p {
    margin: 0;
}

.news-feed__more {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: var(--nw-navy);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.news-feed__more:hover {
    color: #174074;
    text-decoration: underline;
}

.news-aside-card {
    position: sticky;
    top: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.news-aside-card__title {
    margin: 0 0 12px;
    font-family: "Roboto Condensed", "Arial Narrow", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nw-navy);
}

.news-aside-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.news-aside-card__list li {
    border-bottom: 1px dashed #cbd5e1;
}

.news-aside-card__list li:last-child {
    border-bottom: 0;
}

.news-aside-card__list a {
    display: block;
    padding: 10px 0 10px 14px;
    position: relative;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
}

.news-aside-card__list a::before {
    content: "\203A";
    position: absolute;
    left: 0;
    color: var(--nw-gold-line);
    font-weight: 700;
}

.news-aside-card__list a:hover {
    color: var(--nw-navy);
}

@media (max-width: 900px) {
    .news-page__grid {
        grid-template-columns: 1fr;
    }

    .news-aside-card {
        position: relative;
        top: 0;
    }
}

@media (max-width: 560px) {
    .news-feed__article {
        flex-direction: column;
        padding-left: 12px;
    }

    .news-feed__thumb {
        width: 100%;
        max-width: 280px;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}

/* Dòng giới thiệu phía trên lưới (trang /posts) */
.news-page__subhero {
    margin-bottom: 20px;
}

.news-page__subhero-lead {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #475569;
}

.news-page__subhero-lead a {
    color: var(--nw-navy);
    font-weight: 700;
    text-decoration: none;
}

.news-page__subhero-lead a:hover {
    text-decoration: underline;
    text-decoration-color: var(--nw-gold-line);
}

.news-aside-card__list--compact a {
    font-size: 13px;
    font-weight: 600;
    padding-top: 8px;
    padding-bottom: 8px;
}

.news-aside-card__subtitle {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
}

/* Số hotline nổi bật trên nền card sáng */
.news-aside-card__tel {
    font-weight: 800;
    font-size: 15px;
    color: var(--nw-navy);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* .hb-page a { color: inherit } thắng .news-aside-card__btn — cần đủ độ ưu tiên */
.news-aside-card .news-aside-card__btn {
    display: block;
    text-align: center;
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 700;
    color: #fff !important;
    text-decoration: none;
    background: var(--nw-navy);
    border-radius: 6px;
    border: 1px solid #0a1c38;
}

.news-aside-card .news-aside-card__btn:hover {
    color: #fff !important;
    filter: brightness(1.06);
}

.post-list-page__empty {
    margin: 0;
    padding: 28px 0;
    color: #64748b;
    font-size: 15px;
}

.news-page .pagination {
    margin-top: 8px;
    padding-top: 22px;
    border-top: 1px solid #e2e8f0;
}

.news-page .pagination .page-link:hover {
    border-color: var(--nw-gold-line);
    color: var(--nw-navy);
}

.news-page .pagination .page-link.active {
    background: var(--nw-navy);
    border-color: var(--nw-navy);
    color: #fff;
}
