﻿:root { --primary: rgb(255, 184, 108); --primary-hover: rgb(240, 160, 80); --primary-light: rgba(255, 184, 108, 0.1); --text-dark: #111827; --text-main: #374151; --text-muted: #6b7280; --bg-body: #f9fafb; --bg-white: #ffffff; --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); --radius-md: 8px; --radius-lg: 16px; --radius-full: 9999px; --transition: all 0.3s ease; }
        * { box-sizing: border-box; margin: 0; padding: 0; }
        body { font-family: sans-serif; color: var(--text-main); background: var(--bg-body); line-height: 1.6; }
        a { text-decoration: none; color: inherit; transition: var(--transition); }
        img { max-width: 100%; height: auto; display: block; }
        ul { list-style: none; }
        .container { 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-dark); white-space: nowrap; }
        .site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border-color); }
        .header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
        .desktop-nav { display: none; }
        @media (min-width: 1024px) { .desktop-nav { display: flex; gap: 32px; align-items: center; } .desktop-nav a { font-weight: 500; font-size: 16px; } .desktop-nav a:hover { color: var(--primary); } }
        .header-actions { display: flex; gap: 16px; }
        .btn { padding: 10px 24px; border-radius: var(--radius-full); font-weight: 600; cursor: pointer; border: none; }
        .btn-primary { background: var(--primary); color: #fff; }
        .btn-primary:hover { background: var(--primary-hover); }
        .mobile-menu-toggle { background: none; border: none; cursor: pointer; padding: 4px; }
        @media (min-width: 1024px) { .mobile-menu-toggle { display: none; } }

        
        .drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 100; opacity: 0; visibility: hidden; }
        .drawer-overlay.active { opacity: 1; visibility: visible; }
        .mobile-drawer { position: fixed; top: 0; left: -300px; width: 280px; height: 100vh; background: var(--bg-white); z-index: 101; transition: transform 0.3s; display: flex; flex-direction: column; }
        .mobile-drawer.active { transform: translateX(300px); }
        .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-body { padding: 20px 0; overflow-y: auto; flex: 1; }
        .drawer-nav a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--bg-body); }
        .drawer-footer { padding: 20px; border-top: 1px solid var(--border-color); }

        
        .page-banner { background: var(--text-dark); padding: 60px 0; color: #fff; text-align: center; position: relative; }
        .page-banner::after { content:''; position:absolute; inset:0; background:linear-gradient(45deg, var(--primary-light), transparent); opacity:0.2; }
        .page-title { font-size: 36px; font-weight: 800; position: relative; z-index: 2; margin-bottom: 16px; }
        .breadcrumb { font-size: 14px; color: #9ca3af; position: relative; z-index: 2; display: flex; justify-content: center; gap: 8px; }
        .breadcrumb a { color: #fff; }
        .breadcrumb a:hover { color: var(--primary); }

        
        .list-layout { display: flex; flex-direction: column; gap: 32px; padding: 60px 0; }
        @media (min-width: 1024px) { .list-layout { flex-direction: row; align-items: flex-start; } }
        .main-content { flex: 1; min-width: 0; }
        .sidebar { width: 100%; }
        @media (min-width: 1024px) { .sidebar { width: 320px; flex-shrink: 0; position: sticky; top: 92px; } }

        
        .article-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
        @media (min-width: 768px) { .article-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (min-width: 1024px) { .article-grid { grid-template-columns: repeat(2, 1fr); } } 
        .post-card { background: var(--bg-white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border-color); display: flex; flex-direction: column; }
        .post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
        .post-img { position: relative; padding-top: 60%; background: #eee; }
        .post-img img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
        .post-content { padding: 20px; flex: 1; display: flex; flex-direction: column; }
        .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; }
        .post-desc { font-size: 14px; color: var(--text-muted); margin-bottom: 16px; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;}
        .post-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--border-color); padding-top: 16px; }

        
        .widget { background: var(--bg-white); border-radius: var(--radius-lg); padding: 24px; border: 1px solid var(--border-color); margin-bottom: 24px; }
        .widget-title { font-size: 18px; font-weight: 700; color: var(--text-dark); margin-bottom: 16px; padding-bottom: 12px; 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: 12px; }
        .widget-list a { display: block; padding: 8px 12px; background: var(--bg-body); border-radius: var(--radius-md); font-size: 14px; color: var(--text-main); }
        .widget-list a:hover { background: var(--primary-light); color: var(--primary); }

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

        
        .site-footer { background: var(--bg-white); border-top: 1px solid var(--border-color); padding: 60px 0 24px; 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 p { margin-top: 16px; font-size: 14px; color: var(--text-muted); }
        .footer-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
        .footer-links ul li { margin-bottom: 12px; }
        .footer-links a { color: var(--text-muted); font-size: 14px; }
        .footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; text-align: center; font-size: 14px; color: var(--text-muted); display: flex; flex-direction: column; gap: 12px; align-items: center; }
        @media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }
        .footer-bottom-links { display: flex; gap: 16px; }