
        :root {
            --primary-red: #b30000;
            --primary-red-hover: #8a0000;
            --light-yellow: #fdf5e6;
            --gold: #d4af37;
            --text-dark: #212529;
            --text-muted: #6c757d;
            --bg-light: #f8f9fa;
            --white: #ffffff;
            --border-color: #dee2e6;
            
            /* Typography */
            --font-title-large: 36px;
            --font-article-title: 28px;
            --font-section-title: 22px;
            --font-body: 18px;
            --font-meta: 14px;
        }

        [data-bs-theme="dark"] {
            --primary-red: #cc0000;
            --light-yellow: #2b2b2b;
            --text-dark: #f8f9fa;
            --text-muted: #adb5bd;
            --bg-light: #212529;
            --white: #1a1d20;
            --border-color: #495057;
            background-color: #121212;
            color: var(--text-dark);
        }

        body {
            font-family: 'Roboto', sans-serif;
            font-size: var(--font-body);
            color: var(--text-dark);
            background-color: var(--bg-light);
            line-height: 1.6;
            transition: background-color 0.3s ease, color 0.3s ease;
        }

        h1, .title-large { font-size: var(--font-title-large); font-weight: 700; }
        h2, .article-title { font-size: var(--font-article-title); font-weight: 700; line-height: 1.3; }
        h3, .section-title { font-size: var(--font-section-title); font-weight: 700; text-transform: uppercase; border-bottom: 2px solid var(--primary-red); padding-bottom: 10px; margin-bottom: 20px; position: relative; }
        h3.section-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background-color: var(--gold); }
        .meta-info { font-size: var(--font-meta); color: var(--text-muted); }

        a { color: var(--text-dark); text-decoration: none; transition: color 0.2s ease; }
        a:hover { color: var(--primary-red); }

        /* Topbar */
        .topbar { background-color: var(--primary-red); color: white; padding: 5px 0; font-size: var(--font-meta); }
        .topbar a { color: white; margin-left: 15px; }
        .topbar a:hover { color: var(--gold); }

        /* Header */
        .main-header { background-color: var(--white); padding: 15px 0; border-bottom: 1px solid var(--border-color); }
        .logo-text { color: var(--primary-red); font-weight: 900; font-size: 28px; line-height: 1.2; text-transform: uppercase; text-shadow: 1px 1px 0px rgba(0,0,0,0.1); }
        .logo-subtext { color: var(--text-dark); font-size: 16px; font-weight: 500; }
        .search-form .form-control { border-radius: 20px 0 0 20px; border-color: var(--primary-red); }
        .search-form .btn { border-radius: 0 20px 20px 0; background-color: var(--primary-red); color: white; border-color: var(--primary-red); }
        .search-form .btn:hover { background-color: var(--primary-red-hover); color: white; }

        /* Navbar */
        .navbar { background-color: var(--primary-red); padding: 0; box-shadow: 0 4px 6px rgba(0,0,0,0.1); transition: background-color 0.3s, backdrop-filter 0.3s; }
        .navbar-nav .nav-link { color: white !important; font-weight: 500; padding: 15px 12px !important; text-transform: uppercase; font-size: 14px; transition: background-color 0.3s; }
        .navbar-nav .nav-link:hover, .navbar-nav .nav-item.active .nav-link { background-color: var(--primary-red-hover); }
        
        /* Dropdown enhancements */
        .dropdown-menu { border: none; border-radius: 0 0 8px 8px; box-shadow: 0 10px 20px rgba(0,0,0,0.15); margin-top: 0; padding: 10px 0; }
        .dropdown-item { padding: 8px 20px; font-weight: 500; }
        .dropdown-item:hover { background-color: var(--light-yellow); color: var(--primary-red); }
        
        .sticky-top.scrolled { background-color: rgba(179, 0, 0, 0.95); backdrop-filter: blur(8px); }

        /* Breaking News Ticker */
        .breaking-news { background-color: var(--white); border-bottom: 1px solid var(--border-color); padding: 8px 0; display: flex; align-items: center; }
        .bn-label { background-color: var(--primary-red); color: white; padding: 3px 10px; font-weight: bold; border-radius: 3px; font-size: var(--font-meta); margin-right: 15px; white-space: nowrap; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
        .marquee-container { overflow: hidden; white-space: nowrap; width: 100%; }
        .marquee { display: inline-block; animation: marquee 35s linear infinite; }
        .marquee:hover { animation-play-state: paused; }
        .marquee a { margin-right: 40px; font-weight: 500; position: relative; }
        .marquee a::after { content: '•'; position: absolute; right: -25px; color: var(--primary-red); }
        .marquee a:last-child::after { display: none; }
        @keyframes marquee { 0% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }

        /* Cards & Images */
        .card { border: none; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); transition: transform 0.3s ease, box-shadow 0.3s ease; background-color: var(--white); height: 100%; overflow: hidden; }
        .card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
        .card-img-top { border-radius: 8px 8px 0 0; object-fit: cover; height: 220px; transition: transform 0.5s ease; }
        .card:hover .card-img-top { transform: scale(1.05); }
        
        .img-overlay-wrap { position: relative; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }
        .img-overlay-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
        .img-overlay-wrap:hover img { transform: scale(1.08); }
        .dark-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(0,0,0,0) 20%, rgba(0,0,0,0.9) 100%); transition: opacity 0.3s ease; }
        .img-overlay-wrap:hover .dark-overlay { opacity: 0.8; }
        .overlay-content { position: absolute; bottom: 0; left: 0; width: 100%; padding: 25px; color: white; z-index: 2; }
        .overlay-content h2 { color: white; text-shadow: 1px 2px 4px rgba(0,0,0,0.8); margin-bottom: 10px; }
        .overlay-content a { color: white; }
        .overlay-content a:hover { color: var(--gold); }
        
        .category-badge { background-color: var(--primary-red); color: white; padding: 5px 12px; font-size: 12px; font-weight: bold; border-radius: 4px; text-transform: uppercase; position: absolute; top: 15px; left: 15px; z-index: 2; box-shadow: 0 2px 5px rgba(0,0,0,0.2); letter-spacing: 0.5px; }

        /* Hero Section */
        .hero-section { padding: 30px 0; background-color: var(--light-yellow); border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .hero-main-img { height: 480px; }
        .hero-side-item { display: flex; margin-bottom: 15px; background: var(--white); padding: 12px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); transition: all 0.3s ease; border-left: 3px solid transparent; }
        .hero-side-item:hover { box-shadow: 0 8px 20px rgba(0,0,0,0.1); border-left-color: var(--primary-red); transform: translateX(5px); }
        .hero-side-item img { width: 120px; height: 85px; object-fit: cover; border-radius: 6px; margin-right: 15px; }
        .hero-side-item .title { font-size: 16px; font-weight: 700; margin: 0; line-height: 1.4; }

        /* Sections */
        .news-section { padding: 40px 0; }
        
        /* Sidebar */
        .sidebar-box { background-color: var(--white); padding: 25px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 30px; border-top: 4px solid var(--primary-red); }
        .sidebar-box .section-title { font-size: 20px; margin-bottom: 20px; }
        .list-news-small { padding: 0; margin: 0; }
        .list-news-small li { display: flex; align-items: flex-start; margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); transition: all 0.2s; }
        .list-news-small li:hover { transform: translateX(5px); }
        .list-news-small li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
        .list-news-small .number { font-size: 28px; font-weight: 900; color: var(--primary-red); opacity: 0.2; margin-right: 15px; line-height: 0.8; font-family: Impact, sans-serif; }
        .list-news-small h4 { font-size: 16px; font-weight: 600; margin: 0; line-height: 1.4; }
        .banner-img { width: 100%; border-radius: 8px; margin-bottom: 15px; transition: transform 0.3s; }
        .banner-img:hover { transform: scale(1.02); }

        /* Footer */
        .footer { background-color: #1a1d20; color: #adb5bd; padding: 60px 0 20px; margin-top: 50px; font-size: 15px; border-top: 5px solid var(--primary-red); }
        .footer h4 { color: white; font-size: 18px; text-transform: uppercase; margin-bottom: 25px; font-weight: 700; position: relative; padding-bottom: 12px; }
        .footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background-color: var(--primary-red); }
        .footer a { color: #adb5bd; transition: all 0.3s; }
        .footer a:hover { color: var(--gold); padding-left: 8px; text-decoration: none; }
        .footer ul { list-style: none; padding: 0; }
        .footer ul li { margin-bottom: 12px; }
        .footer-bottom { background-color: #111; padding: 20px 0; margin-top: 40px; text-align: center; border-top: 1px solid #2b2b2b; font-size: 14px; }
        
        /* Utilities */
        .excerpt { color: var(--text-muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: 12px; }
        
        #back-to-top { position: fixed; bottom: 30px; right: 30px; background-color: var(--primary-red); color: white; width: 50px; height: 50px; border-radius: 50%; text-align: center; line-height: 50px; font-size: 20px; cursor: pointer; display: none; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.3); transition: all 0.3s; border: 2px solid white; }
        #back-to-top:hover { background-color: var(--primary-red-hover); transform: translateY(-5px); }
        
        .theme-toggle { cursor: pointer; font-size: 20px; transition: transform 0.3s; display: inline-block; }
        .theme-toggle:hover { transform: rotate(30deg); }
        
        /* Loading overlay */
        #loader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--white); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease; }
        .spinner { width: 60px; height: 60px; border: 5px solid var(--light-yellow); border-top-color: var(--primary-red); border-radius: 50%; animation: spin 1s linear infinite; }
        @keyframes spin { 100% { transform: rotate(360deg); } }

        /* List Articles Custom */
        .article-list-item { transition: all 0.3s ease; border-radius: 8px; padding: 10px; margin-left: -10px; }
        .article-list-item:hover { background-color: var(--light-yellow); }
        .article-list-item img { border-radius: 6px; box-shadow: 0 2px 5px rgba(0,0,0,0.1); }

        /* Responsive */
        @media (max-width: 1199.98px) {
            .navbar-nav .nav-link { padding: 12px 15px !important; border-bottom: 1px solid rgba(255,255,255,0.1); }
            .hero-main-img { height: 350px; margin-bottom: 20px; }
            .search-form { margin-top: 20px; }
            .logo-text { font-size: 22px; }
        }
    
/* === Specific from category.html === */
        .category-article-list { padding: 0; margin: 0; list-style: none; }
        .category-article-item { display: flex; padding: 20px 0; border-bottom: 1px solid var(--border-color); transition: all 0.3s; }
        .category-article-item:hover { background-color: var(--light-yellow); border-radius: 8px; padding-left: 10px; padding-right: 10px; margin-left: -10px; margin-right: -10px; border-bottom-color: transparent; }
        .category-article-item .thumb { width: 280px; height: 180px; flex-shrink: 0; margin-right: 25px; border-radius: 8px; overflow: hidden; }
        .category-article-item .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
        .category-article-item:hover .thumb img { transform: scale(1.05); }
        .category-article-item .content { flex-grow: 1; display: flex; flex-direction: column; }
        .category-article-item .title { font-size: 24px; font-weight: 700; margin-bottom: 10px; line-height: 1.3; }
        .category-article-item .excerpt { color: var(--text-muted); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin-top: auto; }
        /* Pagination */
        .pagination .page-link { color: var(--text-dark); border: none; padding: 10px 15px; margin: 0 5px; border-radius: 4px; background-color: var(--white); box-shadow: 0 2px 5px rgba(0,0,0,0.05); font-weight: 500; }
        .pagination .page-link:hover { background-color: var(--light-yellow); color: var(--primary-red); }
        .pagination .page-item.active .page-link { background-color: var(--primary-red); color: white; }
            .category-article-item { flex-direction: column; }
            .category-article-item .thumb { width: 100%; height: 220px; margin-bottom: 15px; margin-right: 0; }

/* === Specific from article.html === */
        .article-wrap { background-color: var(--white); padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); margin-bottom: 40px; }
        .article-title-main { font-size: 32px; font-weight: 700; line-height: 1.4; margin-bottom: 15px; color: var(--primary-red); }
        .article-meta { padding: 10px 0; margin-bottom: 25px; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; font-size: 15px; color: var(--text-muted); }
        .article-meta .source { font-weight: bold; color: var(--text-dark); margin-right: 15px; }
        .social-share a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; color: white; margin-left: 5px; transition: transform 0.2s; }
        .social-share a:hover { transform: translateY(-3px); }
        .article-sapo { font-size: 20px; font-weight: 700; line-height: 1.6; margin-bottom: 25px; }
        .article-content { font-size: var(--font-body); line-height: 1.8; }
        .article-content p { margin-bottom: 20px; text-align: justify; }
        .article-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 20px 0 10px; display: block; }
        .article-content figcaption { text-align: center; font-style: italic; color: var(--text-muted); font-size: 15px; margin-bottom: 25px; }
        .article-tags { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--border-color); }
        .related-news { margin-top: 40px; }
        .related-news .section-title { font-size: 22px; font-weight: 700; text-transform: uppercase; border-bottom: 2px solid var(--primary-red); padding-bottom: 10px; margin-bottom: 20px; position: relative; }
        .related-news .section-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background-color: var(--gold); }
            .article-title-main { font-size: 26px; }
            .article-wrap { padding: 20px 15px; }

/* === Specific from services.html === */

/* === Specific from service_detail.html === */

/* === Specific from contact.html === */
        .contact-box { background: white; padding: 30px; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-red); height: 100%; }
        .contact-info p { font-size: 16px; margin-bottom: 15px; display: flex; align-items: flex-start; }
        .contact-info i { color: var(--primary-red); font-size: 20px; width: 30px; margin-top: 2px; }

/* === Specific from about.html === */
        /* Timeline CSS */
        .timeline { position: relative; max-width: 1200px; margin: 0 auto; }
        .timeline::after { content: ''; position: absolute; width: 4px; background-color: var(--primary-red); top: 0; bottom: 0; left: 50%; margin-left: -2px; border-radius: 4px; }
        .timeline-container { padding: 10px 40px; position: relative; background-color: inherit; width: 50%; }
        .timeline-container::after { content: ''; position: absolute; width: 20px; height: 20px; right: -10px; background-color: var(--white); border: 4px solid var(--primary-red); top: 20px; border-radius: 50%; z-index: 1; }
        .timeline-content { padding: 20px 30px; background-color: var(--white); position: relative; border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); border-top: 4px solid var(--primary-red); }
        .timeline-content h2 { font-size: 20px; font-weight: bold; color: var(--primary-red); margin-bottom: 15px; }
        .timeline-content p { font-size: 16px; margin-bottom: 0; text-align: justify; }
        .leader-card { background: var(--white); border-radius: 8px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center; overflow: hidden; transition: all 0.3s; border: 1px solid var(--border-color); height: 100%; }
        .leader-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); border-color: var(--primary-red); }
        .leader-photo { width: 100%; height: 350px; object-fit: cover; border-bottom: 4px solid var(--primary-red); }
        .leader-info { padding: 25px 20px; }
        .leader-rank { font-size: 14px; font-weight: bold; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 5px; }
        .leader-name { font-size: 22px; font-weight: 800; color: var(--primary-red); margin-bottom: 5px; }
        .leader-title { font-size: 16px; font-weight: 500; color: var(--text-dark); margin-bottom: 15px; }
        .leader-desc { font-size: 14px; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .leader-main .leader-photo { height: 400px; }
            .timeline::after { left: 31px; }
            .timeline-container { width: 100%; padding-left: 70px; padding-right: 25px; }
            .timeline-container::after { left: 21px; }
