﻿:root {
      --primary: #1D7BFF;
      --primary-hover: #0056C6;
      --secondary: rgb(107,114,128);
      --dark-deep: #0A1128;
      --dark-card: #111B3D;
      --light-bg: #F4F8FD;
      --white: #FFFFFF;
      --text-main: #0F172A;
      --text-muted: #64748B;
      --border-color: #E2E8F0;
      --max-width: 1200px;
      --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
      color: var(--text-main);
      background-color: var(--white);
      line-height: 1.6;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }

    
    .header {
      position: sticky;
      top: 0;
      z-index: 100;
      background: rgba(255, 255, 255, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border-color);
    }

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

    .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: 18px;
      font-weight: 800;
      line-height: 1;
      color: var(--dark-deep);
      white-space: nowrap;
    }

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

    .nav-desktop a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-main);
    }

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

    .menu-toggle {
      display: none;
      background: none;
      border: none;
      flex-direction: column;
      justify-content: space-between;
      width: 24px;
      height: 18px;
      cursor: pointer;
    }

    .menu-toggle span {
      display: block;
      width: 100%;
      height: 2px;
      background-color: var(--dark-deep);
      border-radius: 2px;
    }

    
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(10, 17, 40, 0.4);
      backdrop-filter: blur(4px);
      z-index: 998;
      opacity: 0;
      visibility: hidden;
      transition: var(--transition);
    }

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

    .drawer {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--white);
      z-index: 999;
      box-shadow: 4px 0 24px rgba(10, 17, 40, 0.15);
      transition: var(--transition);
      display: flex;
      flex-direction: column;
      padding: 24px;
    }

    .drawer.active {
      left: 0;
    }

    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 40px;
    }

    .drawer-close {
      background: none;
      border: none;
      font-size: 24px;
      cursor: pointer;
      color: var(--text-muted);
    }

    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .drawer-nav a {
      font-size: 16px;
      font-weight: 500;
      padding: 8px 0;
      border-bottom: 1px solid var(--border-color);
    }

    
    .page-header {
      background-color: var(--dark-deep);
      color: var(--white);
      padding: 60px 0;
    }

    .breadcrumb {
      font-size: 14px;
      margin-bottom: 16px;
      color: rgba(255, 255, 255, 0.6);
    }

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

    .page-header h1 {
      font-size: 32px;
      font-weight: 800;
    }

    
    .main-content {
      padding: 60px 0;
    }

    .list-layout {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 40px;
    }

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

    .article-row-card {
      display: flex;
      gap: 24px;
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      overflow: hidden;
      transition: var(--transition);
    }

    .article-row-card:hover {
      box-shadow: 0 10px 24px rgba(0,0,0,0.06);
      transform: translateY(-2px);
    }

    .article-row-image {
      width: 240px;
      height: 160px;
      flex-shrink: 0;
      background-color: var(--light-bg);
      overflow: hidden;
    }

    .article-row-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .article-row-content {
      padding: 20px 24px 20px 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }

    .article-row-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
      margin-bottom: 8px;
    }

    .article-row-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--dark-deep);
      margin-bottom: 8px;
    }

    .article-row-summary {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 16px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .article-row-tag {
      font-size: 12px;
      color: var(--primary);
      background: rgba(29, 123, 255, 0.08);
      padding: 2px 8px;
      border-radius: 4px;
      align-self: flex-start;
    }

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

    .widget {
      background: var(--white);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 24px;
    }

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

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

    .sidebar-post-item {
      display: flex;
      gap: 12px;
    }

    .sidebar-post-img {
      width: 60px;
      height: 60px;
      border-radius: 6px;
      background: var(--light-bg);
      overflow: hidden;
      flex-shrink: 0;
    }

    .sidebar-post-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .sidebar-post-title {
      font-size: 14px;
      font-weight: 600;
      color: var(--dark-deep);
      line-height: 1.4;
    }

    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .tag-item {
      font-size: 12px;
      color: var(--text-muted);
      background: var(--light-bg);
      padding: 6px 12px;
      border-radius: 20px;
    }

    .tag-item:hover {
      background: var(--primary);
      color: var(--white);
    }

    
    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 40px;
    }

    .pagination a, .pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 14px;
      border-radius: 6px;
      border: 1px solid var(--border-color);
      font-weight: 600;
      font-size: 14px;
    }

    .pagination .current {
      background: var(--primary);
      color: var(--white);
      border-color: var(--primary);
    }

    
    .footer {
      background: var(--dark-deep);
      color: rgba(255, 255, 255, 0.7);
      border-top: 1px solid rgba(255, 255, 255, 0.1);
      padding: 60px 0 30px;
    }

    .footer-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-brand .logo span {
      color: var(--white);
    }

    .footer-brand p {
      font-size: 14px;
      margin-top: 16px;
    }

    .footer-title {
      color: var(--white);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
    }

    .footer-links {
      list-style: none;
    }

    .footer-links li {
      margin-bottom: 12px;
    }

    .footer-links a {
      font-size: 14px;
    }

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

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

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

    @media (max-width: 768px) {
      .nav-desktop {
        display: none;
      }
      .menu-toggle {
        display: flex;
      }
      .article-row-card {
        flex-direction: column;
      }
      .article-row-image {
        width: 100%;
        height: 200px;
      }
      .article-row-content {
        padding: 20px;
      }
      .footer-grid {
        grid-template-columns: 1fr;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }
    }