﻿:root { --primary: rgb(255, 184, 108); --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; --radius-md: 8px; --radius-lg: 16px; --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%; display: block; }
        .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); 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:hover { color: var(--primary); } }
        .mobile-menu-toggle { background: none; border: none; padding: 4px; display: block; }
        @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; flex: 1; overflow-y: auto; }
        .drawer-nav a { display: block; padding: 16px 24px; border-bottom: 1px solid var(--bg-body); }

        
        .tag-info-bar { background: #fff; padding: 40px 0; border-bottom: 1px solid var(--border-color); }
        .tag-info-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
        .tag-name { font-size: 32px; font-weight: 800; color: var(--primary); display: flex; align-items: center; gap: 8px; }
        .tag-desc { font-size: 16px; color: var(--text-muted); }

        
        .tag-list-section { padding: 60px 0; }
        .article-grid { display: grid; grid-template-columns: 1fr; gap: 24px; }
        @media (min-width: 768px) { .article-grid { grid-template-columns: repeat(3, 1fr); } }
        .post-card { background: #fff; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-color); display: flex; flex-direction: column; transition: transform 0.3s; }
        .post-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.05); border-color: var(--primary-light); }
        .post-img { position: relative; padding-top: 56%; 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-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; }
        .post-meta { font-size: 12px; color: var(--text-muted); display: flex; justify-content: space-between; border-top: 1px solid var(--bg-body); padding-top: 12px; }

        
        .pagination { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
        .pagination a, .pagination span { display: inline-flex; justify-content: center; align-items: center; width: 40px; height: 40px; border: 1px solid var(--border-color); border-radius: 8px; background: #fff; }
        .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; }
        .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; }
        .footer-title { font-size: 16px; font-weight: 700; margin-bottom: 20px; }
        .footer-links ul { list-style: none; }
        .footer-links ul li { margin-bottom: 12px; }
        .footer-bottom { border-top: 1px solid var(--border-color); padding-top: 24px; display: flex; justify-content: space-between; font-size: 14px; }