﻿:root {
      --primary: #D9A441;
      --primary-hover: #F2C15D;
      --bg-dark: #121212;
      --text-light: #F5F5F7;
      --text-muted: #A0A0A5;
      --text-dark: rgb(47,54,64);
      --bg-light: #FAFAFA;
      --border-color: rgba(217, 164, 65, 0.15);
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
      --transition: all 0.3s ease;
    }
    * { box-sizing: border-box; margin: 0; padding: 0; }
    body { font-family: var(--font-stack); background: var(--bg-light); color: var(--text-dark); line-height: 1.6; }
    a { color: inherit; text-decoration: none; transition: var(--transition); }

    .site-header { background: var(--bg-dark); color: var(--text-light); border-bottom: 1px solid var(--border-color); }
    .header-inner { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; }
    .logo { display: flex; align-items: center; gap: 0.75rem; font-weight: 700; color: var(--primary); }
    .logo img { height: 40px; }
    .desktop-nav { display: flex; gap: 2rem; }
    .desktop-nav a { color: var(--text-muted); font-weight: 500; }
    .desktop-nav a:hover { color: var(--primary); }

    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; }
    .mobile-menu-btn span { display: block; width: 24px; height: 2px; background: var(--text-light); }
    .mobile-nav-mask { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 998; }
    .mobile-drawer { position: fixed; top: 0; right: -300px; width: 300px; height: 100%; background: var(--bg-dark); z-index: 999; transition: var(--transition); padding: 1.5rem; display: flex; flex-direction: column; color: var(--text-light); }
    .drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
    .drawer-close { background: none; border: none; color: var(--text-light); font-size: 2rem; cursor: pointer; }
    .drawer-body .drawer-nav { display: flex; flex-direction: column; gap: 1.5rem; }
    .drawer-body .drawer-nav a { color: var(--text-muted); border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 0.5rem; }

    
    .breadcrumb-bar { background: #EFEFF4; padding: 1rem 1.5rem; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .breadcrumb-inner { max-width: 1200px; margin: 0 auto; font-size: 0.9rem; color: #666; }
    .breadcrumb-inner a { color: var(--primary); }

    
    .article-container { max-width: 1200px; margin: 3rem auto; padding: 0 1.5rem; display: grid; grid-template-columns: 3fr 1fr; gap: 2.5rem; }
    
    .article-main { background: white; padding: 2.5rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 4px 15px rgba(0,0,0,0.02); }
    .article-header { border-bottom: 1px solid #eee; padding-bottom: 1.5rem; margin-bottom: 2rem; }
    .article-title-text { font-size: 2rem; font-weight: 800; color: var(--text-dark); margin-bottom: 1rem; line-height: 1.3; }
    .article-meta { font-size: 0.9rem; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 1.5rem; }
    
    
    .article-body-content { font-size: 1.05rem; line-height: 1.8; color: #333; margin-bottom: 3rem; }
    .article-body-content p { margin-bottom: 1.5rem; }
    .article-body-content img { max-width: 100% !important; height: auto !important; object-fit: contain; border-radius: 6px; margin: 1.5rem 0; display: block; }
    .article-body-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--text-dark); margin: 2rem 0 1rem 0; border-left: 4px solid var(--primary); padding-left: 0.75rem; }
    .article-body-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--text-dark); margin: 1.5rem 0 0.75rem 0; }
    .article-body-content table { width: 100% !important; max-width: 100%; border-collapse: collapse; margin: 1.5rem 0; overflow-x: auto; display: block; }
    .article-body-content table th, .article-body-content table td { border: 1px solid #ddd; padding: 0.75rem; text-align: left; }
    .article-body-content table th { background-color: #f7f7f7; font-weight: 600; }

    
    .post-nav { display: flex; justify-content: space-between; border-top: 1px solid #eee; padding-top: 2rem; margin-top: 3rem; flex-wrap: wrap; gap: 1.5rem; }
    .post-nav-item { width: 48%; min-width: 250px; }
    .post-nav-label { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem; display: block; }
    .post-nav-title { font-size: 0.95rem; font-weight: 600; color: var(--primary); }
    .post-nav-title:hover { color: var(--primary-hover); }

    
    .related-section { margin-top: 4rem; border-top: 2px solid var(--primary); padding-top: 3rem; }
    .related-title { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); margin-bottom: 2rem; }
    .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
    .related-card { background: white; padding: 1.5rem; border-radius: 6px; border: 1px solid rgba(0,0,0,0.05); }
    .related-card h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }

    
    .sidebar { display: flex; flex-direction: column; gap: 2.5rem; }
    .widget { background: white; padding: 1.5rem; border-radius: 8px; border: 1px solid rgba(0,0,0,0.05); }
    .widget-title { font-size: 1.1rem; font-weight: 700; border-left: 4px solid var(--primary); padding-left: 0.75rem; margin-bottom: 1.25rem; color: var(--text-dark); text-transform: uppercase; }

    
    .site-footer { background-color: var(--bg-dark); color: var(--text-light); border-top: 3px solid var(--primary); padding: 4rem 1.5rem 2rem 1.5rem; margin-top: 5rem; }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
    .footer-brand p { margin-top: 1rem; color: var(--text-muted); font-size: 0.95rem; }
    .footer-column h3 { font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 1.5rem; text-transform: uppercase; }
    .footer-column ul { list-style: none; }
    .footer-column ul li { margin-bottom: 0.75rem; }
    .footer-column ul li a { color: var(--text-muted); font-size: 0.95rem; }
    .footer-column ul li a:hover { color: var(--primary); padding-left: 5px; }
    .footer-bottom { max-width: 1200px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.9rem; color: var(--text-muted); }

    @media (max-width: 992px) {
      .article-container { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .mobile-menu-btn { display: flex; }
      .article-main { padding: 1.5rem; }
      .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    }