/* Styles scoped to tin-tuc.html. */

.hero-title span {
            color: var(--primary-color);
        }

        /* News Banner */
        .news-banner {
            background: radial-gradient(circle at 80% 50%, var(--primary-light) 0%, #fff 100%);
            padding: 60px 0;
        }

        .news-banner-grid {
            display: grid;
            grid-template-columns: 1.1fr 0.9fr;
            align-items: center;
            gap: 50px;
        }

        .news-main-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 40px;
            margin-top: 40px;
        }

        /* Article List */
        .articles-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 30px;
            align-items: stretch;
        }

        .article-card {
            color: inherit;
            text-decoration: none;
            background-color: var(--white);
            border-radius: 16px;
            overflow: hidden;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            display: flex;
            flex-direction: column;
            transition: var(--transition-normal);
            min-height: 520px;
        }

        .article-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-hover);
        }

        .article-img-box {
            height: 220px;
            background-color: #f8f1f3;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-weight: 600;
            font-size: 14px;
            overflow: hidden;
        }

        .article-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
        }

        .article-info {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .article-cat {
            color: var(--primary-color);
            font-size: 11px;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .article-title {
            font-size: 16px;
            margin-bottom: 10px;
            line-height: 1.4;
            min-height: 45px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-desc {
            font-size: 12px;
            color: var(--text-muted);
            line-height: 1.6;
            margin-bottom: 15px;
            flex-grow: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .article-meta {
            display: flex;
            justify-content: space-between;
            font-size: 11px;
            color: var(--text-muted);
            border-top: 1px solid var(--border-color);
            padding-top: 12px;
            margin-top: auto;
        }

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 8px;
            margin-top: 50px;
        }

        .page-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            border: 1px solid #ddd;
            background-color: var(--white);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition-fast);
        }

        .page-btn.active, .page-btn:hover {
            background-color: var(--primary-color);
            color: var(--white);
            border-color: var(--primary-color);
        }

        .page-btn:disabled {
            cursor: not-allowed;
            opacity: 0.45;
        }

        .page-btn:disabled:hover {
            background-color: var(--white);
            color: inherit;
            border-color: #ddd;
        }

        /* Sidebar Components */
        .sidebar-widget {
            background-color: var(--white);
            border-radius: 20px;
            padding: 25px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
            margin-bottom: 30px;
        }

        .sidebar-widget-title {
            font-size: 16px;
            color: var(--text-dark);
            margin-bottom: 20px;
            position: relative;
            padding-bottom: 10px;
        }

        .sidebar-widget-title::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 40px;
            height: 2px;
            background-color: var(--primary-color);
        }

        /* Popular Articles List */
        .pop-article-item {
            color: inherit;
            text-decoration: none;
            display: flex;
            gap: 12px;
            margin-bottom: 15px;
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 15px;
        }

        .pop-article-item:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .pop-img-box {
            width: 60px;
            height: 60px;
            border-radius: 8px;
            background-color: var(--primary-light);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-color);
            font-size: 10px;
            font-weight: bold;
            flex-shrink: 0;
        }

        .pop-img-box img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .pop-info h5 {
            font-size: 13px;
            line-height: 1.4;
            margin-bottom: 5px;
        }

        .pop-meta {
            font-size: 10px;
            color: var(--text-muted);
        }

        /* Popular categories widget */
        .sidebar-cat-list li {
            display: flex;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid var(--border-color);
            font-size: 13px;
        }

        .sidebar-cat-list li:last-child {
            border-bottom: none;
        }

        .sidebar-cat-list a:hover {
            color: var(--primary-color);
        }

        .sidebar-cat-count {
            background-color: var(--bg-gray);
            color: var(--text-muted);
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 11px;
            font-weight: 600;
        }

        /* Bottom Banner */
        .news-bottom-banner {
            background-color: var(--primary-light);
            border-radius: 24px;
            padding: 50px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 60px;
        }

        @media (max-width: 1024px) {
            .news-banner-grid {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .news-main-grid {
                grid-template-columns: 1fr;
            }

            .news-bottom-banner {
                flex-direction: column;
                text-align: center;
                gap: 20px;
            }
        }

        @media (max-width: 768px) {
            .articles-grid {
                grid-template-columns: 1fr;
            }

            .article-card {
                min-height: auto;
            }

            .article-img-box {
                height: 190px;
            }

            .article-title {
                min-height: auto;
            }
        }
