/* Category columns: a lead story followed by a restrained numbered list. */
.category-digest { padding-block: 28px; }
.category-digest > .row { --bs-gutter-x: 20px; --bs-gutter-y: 20px; }
.category-digest .news-section { height: 100%; padding: 16px; border: 1px solid #e1e9f0; border-radius: 16px; background: #fff; box-shadow: none; }
.category-digest .news-section:hover { box-shadow: none; }
.category-digest .news-section > .d-flex { margin-bottom: 16px!important; gap: 10px; }
.category-digest .section-title { font-size: 18px; font-weight: 700; color: #082b49; padding-bottom: 10px; }
.category-digest .section-title::after { height: 3px; width: 28px; background: #2676b2; }
.category-digest .view-all-btn { font-size: 10px; font-weight: 500; color: #1763a0; white-space: nowrap; }
.category-digest .view-all-btn:hover { color: #082b49; }
.category-digest .main-news-card { border-radius: 11px; }
.category-digest .main-news-card:hover { transform: none; }
.category-digest .main-news-img-container { height: 230px; background: #082b49; border-radius: 11px; }
.category-digest .main-news-overlay { padding: 48px 16px 15px; background: linear-gradient(0deg,#031d33 0%,#031d33dc 48%,transparent 100%); }
.category-digest .category-tag { background: #103d70; border: 1px solid #76add14d; font-size: 10px; padding: 3px 9px; margin-bottom: 6px; backdrop-filter: none; }
.category-digest .main-news-title { font-size: 16px; line-height: 1.8; font-weight: 700; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-digest .main-news-meta { font-size: 10px; color: #c4daeb; gap: 12px; margin-top: 9px; flex-wrap: wrap; }
.category-digest .main-news-meta i { font-size: 10px; color: #7bbcf0; }
.category-digest .main-news-desc { color: #677d8e; font-size: 11px; line-height: 1.9; padding: 0 2px; min-height: 42px; margin-bottom: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.category-digest .secondary-news-list { gap: 0; margin-top: 14px!important; }
.category-digest .secondary-news-item { background: transparent; border-radius: 0; border-top: 1px solid #e9eff4; padding: 13px 0; gap: 11px; align-items: flex-start; }
.category-digest .secondary-news-item:last-child { padding-bottom: 0; }
.category-digest .secondary-news-item:hover { background: transparent; transform: none; box-shadow: none; }
.category-digest .news-number { display: grid; place-items: center; min-width: 28px; height: 30px; background: #edf4fa; border-radius: 8px; color: #39759f; font-size: 13px; font-weight: 500; margin-top: 3px; }
.category-digest .secondary-news-content { min-width: 0; }
.category-digest .secondary-news-title { font-size: 12px; font-weight: 600; line-height: 1.8; color: #16364f; margin: 0; }
.category-digest .secondary-news-item:hover .secondary-news-title { color: #1763a0; }
.category-digest .secondary-news-meta { font-size: 9px; gap: 10px; color: #8596a4; flex-wrap: wrap; margin-top: 5px; }
.category-digest .secondary-news-meta .text-primary { color: #69849a!important; }
.category-digest .secondary-news-meta i { font-size: 10px; }
.category-digest a:focus-visible { outline: 2px solid #4aa3df; outline-offset: 2px; }
[data-theme="dark"] .category-digest .news-section { background: #092337; border-color: #1a3c54; }
[data-theme="dark"] .category-digest .section-title,
[data-theme="dark"] .category-digest .secondary-news-title { color: #e0eaf3; }
[data-theme="dark"] .category-digest .main-news-desc { color: #9fb4c7; }
[data-theme="dark"] .category-digest .secondary-news-item { background: transparent; border-color: #1a3c54; }
[data-theme="dark"] .category-digest .news-number { background: #10344d; color: #83bce5; }
[data-theme="dark"] .category-digest .view-all-btn,
[data-theme="dark"] .category-digest .secondary-news-item:hover .secondary-news-title { color: #75c1f5; }
[data-theme="dark"] .category-digest .secondary-news-meta .text-primary { color: #9fb4c7!important; }
@media(max-width: 991.98px) {
    .category-digest .main-news-img-container { height: 260px; }
}
@media(max-width: 575.98px) {
    .category-digest { padding-block: 20px; }
    .category-digest .news-section { padding: 13px; }
    .category-digest .section-title { font-size: 16px; }
    .category-digest .main-news-img-container { height: 210px; }
    .category-digest .main-news-title { font-size: 15px; }
}
@media(prefers-reduced-motion: reduce) { .category-digest * { transition: none!important; } }
