﻿:root { --primary: rgb(220,38,38); --primary-hover: rgb(185,28,28); --primary-light: rgba(220,38,38,0.1); --text-main: #1f2937; --text-muted: #6b7280; --bg-body: #f9fafb; --bg-white: #ffffff; --border-color: #e5e7eb; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --transition: all 0.3s ease; }
        * { 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; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
        
        .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; }
        .header { background: var(--bg-white); border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 50; }
        .header-inner { display: flex; justify-content: space-between; align-items: center; height: 70px; }
        .nav-links { display: none; }
        .nav-links a { font-size: 16px; font-weight: 500; padding: 10px 15px; border-radius: 6px; }
        .nav-links a:hover { color: var(--primary); background: var(--primary-light); }
        .menu-btn { display: block; background: none; border: none; cursor: pointer; }
        .menu-btn svg { width: 28px; height: 28px; }
        @media (min-width: 768px) { .nav-links { display: flex; gap: 10px; } .menu-btn { display: none; } }
        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 90; opacity: 0; visibility: hidden; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer { position: fixed; top: 0; left: -300px; bottom: 0; width: 280px; background: var(--bg-white); z-index: 100; transition: var(--transition); }
        .drawer.active { left: 0; }
        .drawer-header { padding: 20px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; }
        .drawer-close { background: none; border: none; cursor: pointer; }
        .drawer-nav { padding: 20px; }
        .drawer-nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border-color); }

        .tag-banner { background: var(--bg-white); border-bottom: 1px solid var(--border-color); padding: 50px 0; text-align: center; margin-bottom: 40px; }
        .tag-banner h1 { font-size: 28px; color: #111; margin-bottom: 10px; font-weight: 800; }
        .tag-banner h1 span { color: var(--primary); }
        .tag-banner p { color: var(--text-muted); font-size: 15px; }

        .list-grid { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 50px; }
        @media (min-width: 600px) { .list-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 992px) { .list-grid { grid-template-columns: repeat(3, 1fr); } }
        
        .article-card { background: var(--bg-white); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
        .ac-img-wrap { height: 180px; overflow: hidden; }
        .ac-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
        .article-card:hover .ac-img-wrap img { transform: scale(1.05); }
        .ac-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
        .ac-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .ac-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 15px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
        .ac-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border-color); padding-top: 15px; font-size: 12px; color: var(--text-muted); }

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

        .footer { background: #111827; color: #d1d5db; padding: 60px 0 20px; margin-top: 60px;}
        .footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; margin-bottom: 40px; }
        @media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
        .footer-brand .logo span { color: white; }
        .footer-title { color: white; font-size: 18px; font-weight: 700; margin-bottom: 20px; }
        .footer-links li { margin-bottom: 12px; }
        .footer-links a:hover { color: var(--primary); }
        .footer-bottom { border-top: 1px solid #374151; padding-top: 20px; display: flex; justify-content: space-between; font-size: 14px; }