/* from themes/basic/newsApp/news_index.html */
:root {
            --news-primary: #9d1f37;
            --news-dark: #1c1c1d;
            --news-muted: #6c7077;
            --news-border: #e7e8eb;
            --news-bg: #f5f6f8;
            --news-white: #ffffff;
            --news-radius: 16px;
        }
.news-index {
            padding: 65px 0;
            background: var(--news-bg);
        }
.news-index a {
            text-decoration: none;
        }
.news-header {
            display: flex;
            align-items: flex-end;
            justify-content: space-between;
            gap: 20px;
            margin-bottom: 28px;
        }
.news-header small {
            display: block;
            margin-bottom: 8px;
            color: var(--news-primary);
            font-size: 12px;
            font-weight: 800;
            letter-spacing: 1.5px;
            text-transform: uppercase;
        }
.news-header h1,
.news-header h2 {
            margin: 0;
            color: var(--news-dark);
            font-size: clamp(30px, 4vw, 44px);
            font-weight: 800;
            line-height: 1.15;
        }
.news-header p {
            max-width: 440px;
            margin: 0;
            color: var(--news-muted);
            font-size: 15px;
            line-height: 1.7;
        }
.featured-news {
            position: relative;
            display: block;
            min-height: 440px;
            overflow: hidden;
            margin-bottom: 28px;
            background: #242424;
            border-radius: var(--news-radius);
            box-shadow: 0 16px 36px rgba(0, 0, 0, .14);
        }
.featured-news-image {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .6s ease;
        }
.featured-news:hover .featured-news-image {
            transform: scale(1.06);
        }
.featured-news-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(
                180deg,
                rgba(0, 0, 0, .03) 20%,
                rgba(0, 0, 0, .88) 100%
            );
        }
.featured-news-content {
            position: absolute;
            z-index: 2;
            right: 0;
            bottom: 0;
            left: 0;
            padding: 36px;
            color: #fff;
        }
.featured-label {
            display: inline-block;
            padding: 6px 12px;
            margin-bottom: 12px;
            color: #fff;
            background: var(--news-primary);
            border-radius: 30px;
            font-size: 11px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
.featured-news-content h2 {
            max-width: 850px;
            margin: 0 0 12px;
            color: #fff;
            font-size: clamp(24px, 3.3vw, 39px);
            font-weight: 800;
            line-height: 1.25;
        }
.featured-news-content p {
            max-width: 760px;
            margin: 0;
            color: rgba(255, 255, 255, .88);
            font-size: 15px;
            line-height: 1.7;
        }
.featured-read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 20px;
            color: #fff;
            font-size: 14px;
            font-weight: 800;
        }
.featured-read-more::after {
            content: "→";
            font-size: 20px;
        }
.news-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: 22px;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card {
            display: flex;
            flex-direction: column;
            min-width: 0;
            overflow: hidden;
            background: var(--news-white);
            border: 1px solid var(--news-border);
            border-radius: var(--news-radius);
            box-shadow: 0 5px 18px rgba(0, 0, 0, .04);
            transition: transform .25s ease, box-shadow .25s ease;
        }
.news-card.news-card-enter {
            opacity: 0;
            transform: translateY(15px);
            animation: newsCardEnter .45s ease forwards;
        }
@keyframes newsCardEnter {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 16px 34px rgba(0, 0, 0, .12);
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-image-link {
            display: block;
            height: 205px;
            overflow: hidden;
            background: linear-gradient(135deg, #d9dce1, #a9afb8);
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform .45s ease;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card:hover .news-card-image {
            transform: scale(1.08);
        }
.news-image-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            color: rgba(255, 255, 255, .95);
            background: linear-gradient(135deg, #8f1930, #3d101a);
            font-size: 13px;
            font-weight: 800;
            letter-spacing: 1px;
            text-transform: uppercase;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-content {
            display: flex;
            flex: 1;
            flex-direction: column;
            padding: 20px;
        }
.news-card-date {
            margin-bottom: 9px;
            color: var(--news-primary);
            font-size: 12px;
            font-weight: 700;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-title {
            display: -webkit-box;
            overflow: hidden;
            margin: 0 0 10px;
            color: var(--news-dark);
            font-size: 18px;
            font-weight: 750;
            line-height: 1.42;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 2;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card:hover .news-card-title {
            color: var(--news-primary);
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-excerpt {
            display: -webkit-box;
            overflow: hidden;
            margin: 0;
            color: var(--news-muted);
            font-size: 14px;
            line-height: 1.65;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-read {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            margin-top: auto;
            padding-top: 17px;
            color: var(--news-primary);
            font-size: 13px;
            font-weight: 800;
        }
:where(body:has(.tpl-newsApp-news_index)) .news-card-read::after {
            content: "→";
            font-size: 17px;
        }
.news-load-more-area {
            display: flex;
            justify-content: center;
            padding-top: 36px;
        }
#PopulateNext {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            min-width: 185px;
            min-height: 48px;
            padding: 12px 25px;
            color: #fff;
            background: var(--news-primary);
            border: 1px solid var(--news-primary);
            border-radius: 8px;
            cursor: pointer;
            font-size: 14px;
            font-weight: 800;
            transition: all .25s ease;
        }
#PopulateNext:hover:not(:disabled) {
            color: var(--news-primary);
            background: transparent;
        }
#PopulateNext:disabled {
            cursor: wait;
            opacity: .7;
        }
.news-side-box {
            padding: 22px;
            margin-bottom: 24px;
            background: #fff;
            border: 1px solid var(--news-border);
            border-radius: var(--news-radius);
        }
.news-side-box h3,
.news-side-box h4 {
            margin: 0 0 18px;
            color: var(--news-dark);
            font-weight: 800;
        }
.news-view-count {
            color: var(--news-primary);
            font-size: 42px;
            font-weight: 800;
            line-height: 1;
        }
.top-news-item {
            padding-bottom: 17px;
            margin-bottom: 17px;
            border-bottom: 1px solid var(--news-border);
        }
.top-news-item:last-child {
            padding-bottom: 0;
            margin-bottom: 0;
            border-bottom: 0;
        }
.top-news-item img {
            width: 100%;
            height: 125px;
            margin-bottom: 10px;
            border-radius: 8px;
            object-fit: cover;
        }
.top-news-item h5 {
            margin: 0;
            color: var(--news-dark);
            font-size: 15px;
            font-weight: 700;
            line-height: 1.45;
        }
@media (max-width: 991px) {
.news-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }
.news-sidebar {
                margin-top: 35px;
            }
}
@media (max-width: 575px) {
.news-index {
                padding: 45px 0;
            }
.news-header {
                display: block;
            }
.news-header p {
                margin-top: 14px;
            }
.featured-news {
                min-height: 365px;
            }
.featured-news-content {
                padding: 22px;
            }
.featured-news-content p {
                display: -webkit-box;
                overflow: hidden;
                -webkit-box-orient: vertical;
                -webkit-line-clamp: 3;
            }
.news-grid {
                grid-template-columns: 1fr;
                gap: 16px;
            }
:where(body:has(.tpl-newsApp-news_index)) .news-card-image-link {
                height: 220px;
            }
}
