﻿:root { --primary: rgb(68, 71, 90); --primary-dark: rgb(48, 51, 65); --accent: #e63946; --bg-body: #f4f5f7; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: sans-serif; background: var(--bg-body); color: #333; line-height: 1.6; }
        a { text-decoration: none; color: inherit; }
        img { max-width: 100%; display: block; }
        
        .site-header { background-color: var(--primary); color: #fff; position: sticky; top: 0; z-index: 100; }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; padding: 0 20px; max-width: 1200px; margin: 0 auto; }
        .logo { display: inline-flex; align-items: center; gap: 12px; }
        .logo img { height: 40px; max-width: 160px; object-fit: contain; }
        .logo span { font-size: 22px; font-weight: 800; color: #fff; }
        .desktop-nav { display: flex; gap: 30px; }
        .desktop-nav a:hover { opacity: 0.8; }
        .header-actions .btn { padding: 8px 20px; border: 2px solid #fff; border-radius: 6px; }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; padding: 5px; flex-direction: column; gap: 5px; }
        .mobile-toggle span { display: block; width: 24px; height: 2px; background: #fff; }
        
        .drawer { position: fixed; inset: 0; z-index: 1000; visibility: hidden; }
        .drawer.active { visibility: visible; pointer-events: auto; }
        .drawer-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); opacity: 0; transition: 0.3s; }
        .drawer.active .drawer-overlay { opacity: 1; }
        .drawer-content { position: absolute; top: 0; bottom: 0; left: 0; width: 280px; background: #fff; transform: translateX(-100%); transition: 0.3s; display: flex; flex-direction: column; }
        .drawer.active .drawer-content { transform: translateX(0); }
        .drawer-header { padding: 20px; background: var(--primary); display: flex; justify-content: space-between; }
        .drawer-header .logo span { color: #fff; font-size: 18px;}
        .drawer-close { background: none; border: none; font-size: 28px; color: #fff; }
        .drawer-nav { padding: 20px; display: flex; flex-direction: column; gap: 15px; }

        .tag-header { background: #fff; padding: 40px 20px; text-align: center; border-bottom: 1px solid #e2e8f0; }
        .tag-header h1 { color: var(--primary); font-size: 28px; margin-bottom: 10px; }
        .tag-header h1 span { color: var(--accent); }
        
        .content-wrap { max-width: 1000px; margin: 40px auto; padding: 0 20px; min-height: 40vh; }
        .card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
        .info-card { background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); transition: 0.3s; }
        .info-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
        .info-img { height: 180px; width: 100%; object-fit: cover; }
        .info-body { padding: 20px; }
        .info-title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; }
        .info-desc { font-size: 14px; color: #666; margin-bottom: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .info-meta { display: flex; justify-content: space-between; font-size: 12px; color: #999; border-top: 1px solid #f0f0f0; padding-top: 10px; }
        
        .pagination { display: flex; justify-content: center; gap: 10px; margin-top: 40px; padding: 20px 0; }
        .pagination a, .pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; background: #fff; border: 1px solid #ddd; border-radius: 4px; transition: 0.3s; }
        .pagination a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination .current { background: var(--accent); color: #fff; border-color: var(--accent); font-weight: bold; }

        .site-footer { background-color: var(--primary-dark); color: #d1d5db; padding: 60px 0 20px 0; margin-top: auto; }
        .footer-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 0 20px 40px; }
        .footer-brand .logo span { color: #fff; }
        .footer-title { color: #fff; font-size: 18px; margin-bottom: 20px; }
        .footer-links ul { display: flex; flex-direction: column; gap: 10px; }
        .footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding-top: 20px; font-size: 14px; }

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