﻿:root { --primary-color: rgb(255, 59, 48); --primary-hover: rgb(220, 40, 30); --primary-light: rgba(255, 59, 48, 0.1); --text-main: #2c3e50; --text-muted: #6c757d; --bg-body: #f8f9fa; --bg-white: #ffffff; --border-color: #eaeaea; --container-width: 1200px; --shadow-sm: 0 2px 8px rgba(0,0,0,0.05); --shadow-md: 0 8px 24px rgba(0,0,0,0.08); --radius-md: 8px; --radius-lg: 16px; }
        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
        ul, li { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container-width); margin: 0 auto; padding: 0 20px; }
        
        .header { background: var(--bg-white); box-shadow: var(--shadow-sm); position: sticky; top: 0; z-index: 1000; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; 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: 20px; font-weight: 800; line-height: 1; color: var(--text-main); white-space: nowrap; }
        .nav-desktop { display: flex; gap: 30px; align-items: center; }
        .nav-desktop a { font-size: 16px; font-weight: 500; color: var(--text-main); }
        .nav-desktop a:hover { color: var(--primary-color); }
        .header-actions { display: flex; align-items: center; gap: 15px; }
        .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 50px; font-weight: 600; cursor: pointer; transition: all 0.3s; }
        .btn-outline { border: 1px solid var(--border-color); background: transparent; color: var(--text-main); }
        .btn-outline:hover { border-color: var(--primary-color); color: var(--primary-color); }
        .menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--text-main); }

        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1001; opacity: 0; visibility: hidden; transition: all 0.3s; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 1002; transition: all 0.3s; overflow-y: auto; display: flex; flex-direction: column; }
        .drawer.active { left: 0; box-shadow: var(--shadow-md); }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
        .drawer-close { font-size: 28px; cursor: pointer; color: var(--text-muted); line-height: 1; }
        .drawer-nav { padding: 20px 0; }
        .drawer-nav a { display: block; padding: 15px 20px; font-size: 16px; border-bottom: 1px solid #f0f0f0; }

        .footer { background: #1a1a2e; color: #a0a0b5; padding: 80px 0 30px; margin-top: 60px;}
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; text-align: center; font-size: 14px; display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom-links { display: flex; justify-content: center; gap: 20px; }

        @media (max-width: 768px) {
            .nav-desktop, .header-actions .btn-outline { display: none; }
            .menu-toggle { display: block; }
            .footer-grid { grid-template-columns: 1fr; }
        }

        
        .page-header { background: linear-gradient(to right, #ffffff, #fff5f4); padding: 50px 0; border-bottom: 1px solid var(--border-color); margin-bottom: 40px; }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; }
        .breadcrumb a { color: var(--text-main); font-weight: 500; }
        .breadcrumb a:hover { color: var(--primary-color); }
        .page-title { font-size: 32px; font-weight: 700; color: #111; margin-bottom: 10px; }
        .page-desc { font-size: 16px; color: var(--text-muted); max-width: 800px; }

        .layout-grid { display: grid; grid-template-columns: 3fr 1fr; gap: 40px; }
        @media (max-width: 992px) { .layout-grid { grid-template-columns: 1fr; } }

        .articles-list { display: flex; flex-direction: column; gap: 30px; }
        .article-card-row { display: flex; background: var(--bg-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; }
        .article-card-row:hover { box-shadow: var(--shadow-md); transform: translateX(5px); }
        .article-card-row img { width: 240px; height: 160px; object-fit: cover; }
        .article-card-row .body { padding: 20px 25px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
        .article-card-row .title { font-size: 20px; font-weight: 600; margin-bottom: 10px; }
        .article-card-row .desc { color: var(--text-muted); font-size: 14px; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .article-card-row .meta { display: flex; gap: 20px; font-size: 13px; color: #999; align-items: center; }
        .article-card-row .tags span { background: var(--primary-light); color: var(--primary-color); padding: 2px 8px; border-radius: 4px; }
        @media (max-width: 600px) {
            .article-card-row { flex-direction: column; }
            .article-card-row img { width: 100%; height: 180px; }
        }

        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: 6px; font-weight: 500; }
        .pagination a:hover { border-color: var(--primary-color); color: var(--primary-color); }
        .pagination .current { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }

        .sidebar { background: var(--bg-white); padding: 30px; border-radius: var(--radius-md); box-shadow: var(--shadow-sm); height: fit-content; }
        .sidebar-title { font-size: 18px; font-weight: 700; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--border-color); position: relative; }
        .sidebar-title::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 40px; height: 2px; background: var(--primary-color); }