﻿:root {
            --primary-color: rgb(55,65,81);
            --primary-light: rgb(75,85,99);
            --primary-dark: rgb(31,41,55);
            --accent-color: #f59e0b;
            --accent-hover: #d97706;
            --bg-light: #f9fafb;
            --bg-white: #ffffff;
            --text-dark: #111827;
            --text-muted: #6b7280;
            --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), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
            --radius-md: 8px;
            --radius-lg: 12px;
            --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-sans);
            background-color: var(--bg-light);
            color: var(--text-dark);
            line-height: 1.6;
            overflow-x: hidden;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        img {
            max-width: 100%;
            height: auto;
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        
        header {
            background-color: var(--primary-color);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-md);
        }

        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            height: 70px;
        }

        .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: #ffffff;
            white-space: nowrap;
        }

        .nav-desktop {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .nav-desktop a {
            color: rgba(255, 255, 255, 0.85);
            font-size: 15px;
            font-weight: 500;
            padding: 8px 12px;
            border-radius: var(--radius-md);
        }

        .nav-desktop a:hover {
            color: #ffffff;
            background-color: rgba(255, 255, 255, 0.1);
        }

        .menu-btn {
            display: none;
            background: none;
            border: none;
            color: #ffffff;
            font-size: 24px;
            cursor: pointer;
            padding: 8px;
        }

        
        .drawer-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 200;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
        }

        .drawer {
            position: fixed;
            top: 0;
            left: -280px;
            width: 280px;
            height: 100%;
            background-color: var(--primary-dark);
            z-index: 201;
            box-shadow: var(--shadow-lg);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            display: flex;
            flex-direction: column;
            padding: 20px;
        }

        .drawer-active .drawer-overlay {
            opacity: 1;
            visibility: visible;
        }

        .drawer-active .drawer {
            left: 0;
        }

        .drawer-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding-bottom: 20px;
            margin-bottom: 20px;
        }

        .drawer-close {
            background: none;
            border: none;
            color: #ffffff;
            font-size: 24px;
            cursor: pointer;
        }

        .drawer-nav {
            display: flex;
            flex-direction: column;
            gap: 16px;
            overflow-y: auto;
            flex: 1;
        }

        .drawer-nav a {
            color: rgba(255, 255, 255, 0.85);
            font-size: 16px;
            font-weight: 500;
            padding: 10px 14px;
            border-radius: var(--radius-md);
        }

        .drawer-nav a:hover {
            color: #ffffff;
            background-color: rgba(255, 255, 255, 0.1);
        }

        
        .breadcrumb-wrapper {
            background-color: var(--bg-white);
            padding: 15px 0;
            border-bottom: 1px solid var(--border-color);
        }

        .breadcrumb {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 14px;
            color: var(--text-muted);
        }

        .breadcrumb a:hover {
            color: var(--primary-color);
        }

        .breadcrumb span.current {
            color: var(--text-dark);
            font-weight: 600;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            max-width: 300px;
        }

        
        .article-layout {
            display: grid;
            grid-template-columns: 1.4fr 0.6fr;
            gap: 40px;
            padding: 40px 0 80px;
        }

        .article-main {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 40px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }

        .article-header {
            border-bottom: 1px solid var(--border-color);
            padding-bottom: 25px;
            margin-bottom: 30px;
        }

        .article-title {
            font-size: 28px;
            font-weight: 800;
            color: var(--primary-dark);
            line-height: 1.3;
            margin-bottom: 15px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 14px;
            color: var(--text-muted);
        }

        .article-content {
            font-size: 16px;
            color: var(--text-dark);
            line-height: 1.8;
            margin-bottom: 40px;
        }

        .article-content p {
            margin-bottom: 20px;
        }

        .article-content img {
            border-radius: var(--radius-md);
            margin: 20px 0;
            display: block;
        }

        
        .article-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            margin-bottom: 40px;
        }

        .article-tags-title {
            font-weight: 700;
            color: var(--primary-dark);
            margin-right: 10px;
        }

        .tag-link {
            background-color: rgba(55,65,81, 0.08);
            color: var(--primary-color);
            padding: 4px 12px;
            border-radius: var(--radius-md);
            font-size: 13px;
        }

        .tag-link:hover {
            background-color: var(--primary-color);
            color: #ffffff;
        }

        
        .prev-next-box {
            display: flex;
            justify-content: space-between;
            gap: 20px;
            background-color: var(--bg-light);
            border-radius: var(--radius-md);
            padding: 20px;
            border: 1px solid var(--border-color);
            margin-bottom: 40px;
        }

        .prev-next-item {
            flex: 1;
            display: flex;
            flex-direction: column;
            gap: 6px;
        }

        .prev-next-item span {
            font-size: 12px;
            color: var(--text-muted);
        }

        .prev-next-item a {
            font-size: 14px;
            font-weight: 600;
            color: var(--primary-dark);
        }

        .prev-next-item a:hover {
            color: var(--accent-color);
        }

        
        .related-title {
            font-size: 20px;
            font-weight: 800;
            color: var(--primary-dark);
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid var(--primary-color);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .related-card {
            background-color: var(--bg-light);
            border-radius: var(--radius-md);
            padding: 15px;
            border: 1px solid var(--border-color);
        }

        .related-card h4 {
            font-size: 14px;
            font-weight: 700;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .related-card h4:hover {
            color: var(--accent-color);
        }

        .related-card span {
            font-size: 12px;
            color: var(--text-muted);
        }

        
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 30px;
        }

        .widget {
            background-color: var(--bg-white);
            border-radius: var(--radius-lg);
            padding: 24px;
            border: 1px solid var(--border-color);
            box-shadow: var(--shadow-sm);
        }

        .widget-title {
            font-size: 16px;
            font-weight: 700;
            color: var(--primary-dark);
            margin-bottom: 18px;
            padding-left: 10px;
            border-left: 4px solid var(--accent-color);
        }

        .sidebar-links {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .sidebar-links a {
            font-size: 14px;
            color: var(--text-dark);
            display: block;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .sidebar-links a:hover {
            color: var(--accent-color);
        }

        
        footer {
            background-color: var(--primary-dark);
            color: rgba(255, 255, 255, 0.7);
            padding: 60px 0 30px;
            border-top: 4px solid var(--accent-color);
        }

        .footer-grid {
            display: grid;
            grid-template-columns: 1.2fr 0.8fr 1fr;
            gap: 40px;
            margin-bottom: 40px;
        }

        .footer-logo-area p {
            font-size: 14px;
            line-height: 1.6;
            margin-top: 15px;
            color: rgba(255, 255, 255, 0.5);
        }

        .footer-nav-links h4, .footer-contact h4 {
            color: #ffffff;
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 20px;
        }

        .footer-nav-links ul {
            list-style: none;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px;
        }

        .footer-nav-links a {
            font-size: 14px;
            color: rgba(255, 255, 255, 0.7);
        }

        .footer-nav-links a:hover {
            color: var(--accent-color);
        }

        .footer-contact p {
            font-size: 14px;
            margin-bottom: 12px;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 30px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
            font-size: 13px;
        }

        .footer-bottom-links {
            display: flex;
            gap: 20px;
        }

        .footer-bottom-links a {
            color: rgba(255, 255, 255, 0.5);
        }

        .footer-bottom-links a:hover {
            color: #ffffff;
        }

        @media (max-width: 1024px) {
            .article-layout { grid-template-columns: 1fr; }
            .footer-grid { grid-template-columns: 1fr; }
        }

        @media (max-width: 768px) {
            .nav-desktop { display: none; }
            .menu-btn { display: block; }
            .article-main { padding: 25px; }
            .related-grid { grid-template-columns: 1fr; }
        }