﻿:root { --primary: rgb(75,85,99); --primary-hover: rgb(55,65,79); --primary-light: rgba(75,85,99,0.08); --text-dark: #111827; --text-main: #374151; --text-muted: #6b7280; --bg-main: #f9fafb; --bg-card: #ffffff; --border-color: #e5e7eb; --radius-md: 8px; --radius-lg: 16px; --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05); --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1); --container: 1200px; }
        * { margin: 0; padding: 0; box-sizing: border-box; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; }
        body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: all 0.3s; }
        ul { list-style: none; }
        img { max-width: 100%; height: auto; display: block; }
        .container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
        
        
        .header { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
        .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: 22px; font-weight: 800; line-height: 1; color: var(--text-dark); white-space: nowrap; }
        .desktop-nav { display: flex; gap: 32px; align-items: center; }
        .desktop-nav a { font-weight: 500; color: var(--text-main); }
        .desktop-nav a:hover { color: var(--primary); }
        .mobile-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--text-dark); }
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; visibility: hidden; transition: all 0.3s; backdrop-filter: blur(4px); }
        .drawer { position: fixed; top: 0; left: -320px; bottom: 0; width: 280px; background: #fff; z-index: 1000; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: var(--shadow-md); display: flex; flex-direction: column; }
        .drawer.active { left: 0; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .drawer-header { padding: 24px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--border-color); }
        .drawer-close { background: none; border: none; cursor: pointer; color: var(--text-muted); }
        .drawer-nav { padding: 20px; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 16px 0; border-bottom: 1px solid var(--border-color); font-size: 16px; font-weight: 500; }

        
        .page-header { background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-light) 100%); padding: 60px 0; border-bottom: 1px solid var(--border-color); }
        .breadcrumb { font-size: 14px; color: var(--text-muted); margin-bottom: 24px; }
        .breadcrumb a { color: var(--primary); }
        .breadcrumb a:hover { text-decoration: underline; }
        .page-header h1 { font-size: 36px; font-weight: 800; color: var(--text-dark); margin-bottom: 16px; }
        .page-header p { font-size: 16px; color: var(--text-muted); max-width: 800px; }

        
        .list-layout { display: flex; gap: 40px; padding: 60px 0; }
        .list-main { flex: 1; }
        .list-sidebar { width: 320px; flex-shrink: 0; }
        
        
        .article-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 40px; }
        .post-card { background: var(--bg-card); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; border: 1px solid var(--border-color); transition: transform 0.3s, box-shadow 0.3s; }
        .post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
        .post-img { aspect-ratio: 16/9; overflow: hidden; }
        .post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
        .post-card:hover .post-img img { transform: scale(1.05); }
        .post-content { padding: 24px; display: flex; flex-direction: column; flex: 1; }
        .post-meta { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
        .post-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 12px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
        .post-title a:hover { color: var(--primary); }
        .post-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 20px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }
        .post-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--border-color); }
        .read-more { font-size: 14px; font-weight: 600; color: var(--primary); }

        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 40px; }
        .pagination a { display: inline-flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 12px; background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-md); font-weight: 500; color: var(--text-main); }
        .pagination a:hover, .pagination a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
        .pagination span.ellipsis { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; color: var(--text-muted); }

        
        .widget { background: var(--bg-card); border-radius: var(--radius-md); padding: 24px; border: 1px solid var(--border-color); margin-bottom: 32px; box-shadow: var(--shadow-sm); }
        .widget h3 { font-size: 18px; color: var(--text-dark); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary-light); }
        .widget-links li { margin-bottom: 12px; }
        .widget-links li:last-child { margin-bottom: 0; }
        .widget-links a { color: var(--text-main); display: flex; align-items: center; }
        .widget-links a::before { content: '›'; margin-right: 8px; color: var(--primary); font-size: 18px; }
        .widget-links a:hover { color: var(--primary); }

        
        .footer { background: #1f2937; color: #9ca3af; padding-top: 80px; margin-top: 60px; }
        .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 60px; }
        .footer .logo span { color: #fff; }
        .footer-brand p { margin-top: 20px; font-size: 14px; line-height: 1.8; }
        .footer-links h4 { color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 24px; }
        .footer-links ul li { margin-bottom: 12px; }
        .footer-links ul li a:hover { color: #fff; }
        .footer-contact p { margin-bottom: 12px; font-size: 14px; }
        .footer-bottom { border-top: 1px solid #374151; padding: 24px 0; text-align: center; font-size: 14px; }

        @media (max-width: 1024px) {
            .list-layout { flex-direction: column; }
            .list-sidebar { width: 100%; }
        }
        @media (max-width: 768px) {
            .desktop-nav { display: none; }
            .mobile-toggle { display: block; }
            .article-list { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; gap: 32px; }
        }