﻿:root { --primary: rgb(251,188,5); --primary-hover: rgb(230,170,0); --text-main: #1f2937; --text-muted: #6b7280; --text-light: #9ca3af; --bg-body: #f3f4f6; --bg-surface: #ffffff; --bg-dark: #111827; --border-color: #e5e7eb; --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05); --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1); --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1); --radius-md: 8px; --radius-lg: 12px; --container-width: 1200px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; display: flex; flex-direction: column; min-height: 100vh; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; font-weight: 600; border-radius: var(--radius-md); cursor: pointer; border: none; }
        .btn-primary { background-color: var(--primary); color: #111; }
        
        
        .site-header { background-color: var(--bg-surface); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 80px; }
        .logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
        .logo img { display: block; height: 40px; width: auto; max-width: 160px; object-fit: contain; flex-shrink: 0; }
        .logo span { display: inline-block; font-size: 22px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .desktop-nav { display: none; }
        .desktop-nav ul { display: flex; gap: 30px; }
        .desktop-nav a { font-weight: 500; position: relative; padding: 8px 0; }
        .desktop-nav a:hover { color: var(--primary); }
        .header-actions { display: none; }
        .menu-toggle { display: block; background: none; border: none; font-size: 24px; cursor: pointer; }
        @media (min-width: 992px) { .desktop-nav, .header-actions { display: block; } .menu-toggle { display: none; } }

        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 998; opacity: 0; visibility: hidden; transition: 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -320px; bottom: 0; width: 280px; background: var(--bg-surface); z-index: 999; transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { background: none; border: none; font-size: 24px; color: var(--text-muted); cursor: pointer; }
        .drawer-body { padding: 20px 0; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 15px 20px; font-weight: 500; border-bottom: 1px solid var(--border-color); }

        
        .page-header { background: var(--bg-dark); color: #fff; padding: 60px 0; position: relative; overflow: hidden; }
        .page-header::before { content: ''; position: absolute; right: 0; top: 0; width: 50%; height: 100%; background: linear-gradient(90deg, transparent, rgba(251,188,5,0.1)); pointer-events: none; }
        .page-title { font-size: 32px; margin-bottom: 10px; font-weight: 700; position: relative; z-index: 2; }
        .breadcrumb { display: flex; gap: 8px; font-size: 14px; color: #9ca3af; position: relative; z-index: 2; }
        .breadcrumb a { color: #d1d5db; }
        .breadcrumb a:hover { color: var(--primary); }
        .breadcrumb span { color: var(--primary); }

        
        .list-container { padding: 60px 0; display: flex; flex-direction: column; gap: 40px; }
        .main-content { flex: 1; }
        .sidebar { width: 100%; display: flex; flex-direction: column; gap: 30px; }
        @media (min-width: 992px) { .list-container { flex-direction: row; } .sidebar { width: 320px; flex-shrink: 0; } }

        
        .article-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
        .article-card { background: var(--bg-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: 0.3s; }
        .article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--primary); }
        .article-img-wrap { position: relative; padding-top: 50%; overflow: hidden; }
        .article-img-wrap img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .article-card:hover .article-img-wrap img { transform: scale(1.05); }
        .article-tag { position: absolute; top: 15px; right: 15px; background: rgba(0,0,0,0.7); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 12px; z-index: 2; border-left: 3px solid var(--primary); }
        .article-content { padding: 25px; display: flex; flex-direction: column; flex: 1; }
        .article-title { font-size: 20px; margin-bottom: 15px; line-height: 1.4; }
        .article-title a:hover { color: var(--primary); }
        .article-desc { color: var(--text-muted); font-size: 14px; margin-bottom: 20px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .article-meta { display: flex; justify-content: space-between; align-items: center; padding-top: 15px; border-top: 1px dashed var(--border-color); font-size: 13px; color: var(--text-light); }
        @media (min-width: 768px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }

        
        .widget { background: var(--bg-surface); border-radius: var(--radius-lg); padding: 25px; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); }
        .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--bg-body); position: relative; }
        .widget-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary); }
        .widget-list li { margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px dashed var(--border-color); }
        .widget-list li:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
        .widget-list a { display: block; font-size: 15px; margin-bottom: 5px; font-weight: 500; }
        .widget-list a:hover { color: var(--primary); }
        .widget-meta { font-size: 12px; color: var(--text-light); }

        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 50px; flex-wrap: wrap; }
        .page-item { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 10px; background: var(--bg-surface); border: 1px solid var(--border-color); border-radius: var(--radius-md); font-weight: 500; transition: 0.3s; }
        .page-item:hover:not(.disabled) { border-color: var(--primary); color: var(--primary); }
        .page-item.active { background: var(--primary); color: #111; border-color: var(--primary); }
        .page-item.disabled { opacity: 0.5; cursor: not-allowed; }

        
        .site-footer { background-color: var(--bg-dark); color: #d1d5db; padding: 60px 0 20px; margin-top: auto; border-top: 4px solid var(--primary); }
        .footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; color: #9ca3af; max-width: 300px; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; font-weight: 600; }
        .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
        .footer-links a { color: #9ca3af; font-size: 14px; }
        .footer-links a:hover { color: var(--primary); padding-left: 5px; }
        .footer-bottom { padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column; gap: 15px; align-items: center; font-size: 14px; text-align: center; }
        .footer-bottom-links { display: flex; gap: 20px; }
        @media (min-width: 768px) { .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; } .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }