/* Category and tag archives share the homepage news treatment. */
html[data-theme] .home-news-archive { min-height: 0; padding-top: 20px !important; margin-bottom: 32px; }
html[data-theme] .home-news-archive .archive-editorial-main { border-inline-end: 0 !important; border-right: 0 !important; padding-inline-end: 0 !important; }
.home-news-archive .breadcrumb { font-size: 12px; margin-bottom: 22px; }
.archive-news-header { margin-bottom: 24px; }
.archive-news-heading { display: flex; align-items: center; gap: 18px; }
html[data-theme] .home-news-archive .archive-news-heading .page-title { margin: 0; padding: 0; font-family: var(--vr-font-primary, sans-serif); font-size: 28px; font-weight: 700; line-height: 1.45; color: var(--vr-text-main, #171717); }
.archive-news-rule { flex: 1; height: 3px; background: var(--vr-gray-200, #e2e2e2); position: relative; }
.archive-news-rule::before { content: ''; display: block; width: 60px; max-width: 100%; height: 3px; background: #d60000; }
.archive-news-description { max-width: 900px; margin: 12px 0 0; font-family: var(--vr-font-primary, sans-serif); font-size: 14px; line-height: 1.8; color: var(--vr-text-muted, #666); }
html[data-theme] .home-news-archive .subcategory-pill { border: 1px solid var(--vr-gray-200, #ddd); border-radius: 999px; background: transparent; color: var(--vr-text-main, #171717); font-family: var(--vr-font-primary, sans-serif); font-size: 13px; font-weight: 600; padding: 7px 15px; }
html[data-theme] .home-news-archive .subcategory-pill:hover,
html[data-theme] .home-news-archive .subcategory-pill:focus-visible,
html[data-theme] .home-news-archive .subcategory-pill:active,
html[data-theme] .home-news-archive .subcategory-pill.active,
html[data-theme] .home-news-archive .subcategory-pill[aria-current="page"] { background: #d60000 !important; color: #fff !important; -webkit-text-fill-color: #fff; border-color: #d60000 !important; }
html[data-theme] .home-news-archive .subcategory-pill:focus-visible { outline: 2px solid var(--vr-text-main, #171717); outline-offset: 3px; }
html[data-theme] .home-news-archive .modern-3col-grid { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 22px 28px !important; }
html[data-theme] .home-news-archive .modern-bottom-card { display: grid !important; grid-template-columns: minmax(0, 35%) minmax(0, 1fr); align-items: start; gap: 14px; margin: 0 !important; padding: 0 0 20px !important; border: 0 !important; border-bottom: 1px solid var(--vr-gray-200, #e2e2e2) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; min-width: 0; }
html[data-theme] .home-news-archive .modern-card-image-wrapper { width: 100%; height: auto !important; aspect-ratio: 5 / 3; margin: 0 !important; border-radius: 6px; overflow: hidden; }
html[data-theme] .home-news-archive .modern-card-image-link { display: block; width: 100%; height: 100%; }
html[data-theme] .home-news-archive .modern-card-image { display: block; width: 100%; height: 100%; object-fit: cover; }
html[data-theme] .home-news-archive .modern-card-content { padding: 0 !important; min-width: 0; }
.home-news-archive .modern-category-wrapper { display: none; }
html[data-theme] .home-news-archive .modern-category-link { font-family: var(--vr-font-primary, sans-serif); font-size: 11px; font-weight: 600; background: transparent; padding: 0; color: #c40000; }
html[data-theme] .home-news-archive .modern-card-title { margin: 0 0 8px !important; font-family: var(--vr-font-primary, sans-serif) !important; font-size: 18px !important; font-weight: 600 !important; line-height: 1.45 !important; }
html[data-theme] .home-news-archive .modern-card-title a { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; font: inherit !important; color: var(--vr-text-main, #171717) !important; text-decoration: none; }
html[data-theme] .home-news-archive .modern-card-title a:hover { color: #c40000 !important; }
.home-news-archive .modern-card-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-family: var(--vr-font-primary, sans-serif); font-size: 11px; line-height: 1.5; color: var(--vr-text-muted, #777); }
.home-news-archive .modern-meta-readtime, .home-news-archive .modern-meta-divider { display: none; }
html[data-theme] .home-news-archive .btn-load-more-archive { background: #d60000; border: 1px solid #d60000; color: #fff; border-radius: 999px; padding: 10px 24px; }
[data-bs-theme="dark"] .home-news-archive .modern-category-link { color: #ff9ba5 !important; }
@media (max-width: 767.98px) {
    html[data-theme] .home-news-archive .modern-3col-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 14px !important; }
}
@media (max-width: 575.98px) {
    html[data-theme] .home-news-archive { padding-top: 12px !important; margin-bottom: 20px; }
    .home-news-archive .breadcrumb { margin-bottom: 16px; }
    .archive-news-header { margin-bottom: 18px; }
    html[data-theme] .home-news-archive .archive-news-heading .page-title { font-size: 22px; }
    .archive-news-description { font-size: 13px; line-height: 1.7; }
    html[data-theme] .home-news-archive .modern-bottom-card { grid-template-columns: 125px minmax(0, 1fr); gap: 12px; padding-bottom: 14px !important; }
    html[data-theme] .home-news-archive .modern-card-image-wrapper { height: 80px !important; aspect-ratio: auto; }
    html[data-theme] .home-news-archive .modern-card-title { font-size: 16px !important; line-height: 1.35 !important; margin-bottom: 6px !important; }
    .home-news-archive .modern-meta-author, .home-news-archive .modern-category-wrapper { display: none; }
    .home-news-archive .modern-bottom-card:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
}
