﻿:root {
      --primary-color: rgb(88,86,214);
      --primary-hover: rgb(70,68,190);
      --primary-light: rgba(88,86,214,0.08);
      --accent-color: #FF9500;
      --accent-hover: #E08200;
      --text-dark: #1C1C1E;
      --text-gray: #8E8E93;
      --bg-light: #F2F2F7;
      --bg-white: #FFFFFF;
      --border-color: #E5E5EA;
      --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
      --shadow-md: 0 10px 30px rgba(88,86,214,0.08);
      --shadow-lg: 0 15px 40px rgba(0,0,0,0.1);
      --max-width: 1200px;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      color: var(--text-dark);
      background-color: var(--bg-light);
      line-height: 1.6;
    }
    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.3s ease;
    }
    img {
      max-width: 100%;
      height: auto;
    }
    .container {
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    .site-header {
      background-color: var(--bg-white);
      box-shadow: var(--shadow-sm);
      position: sticky;
      top: 0;
      z-index: 1000;
    }
    .header-container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 70px;
      max-width: var(--max-width);
      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: 18px;
      font-weight: 800;
      line-height: 1;
      color: var(--primary-color);
      white-space: nowrap;
    }
    .desktop-nav {
      display: flex;
      align-items: center;
      gap: 24px;
    }
    .desktop-nav a {
      font-size: 15px;
      font-weight: 600;
      color: var(--text-dark);
      padding: 8px 12px;
      border-radius: 6px;
    }
    .desktop-nav a:hover {
      color: var(--primary-color);
      background-color: var(--primary-light);
    }
    .header-actions {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .btn-download-top {
      background-color: var(--primary-color);
      color: var(--bg-white);
      padding: 8px 18px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: bold;
      box-shadow: 0 4px 10px rgba(88,86,214,0.3);
    }
    .btn-download-top:hover {
      background-color: var(--primary-hover);
      transform: translateY(-1px);
    }
    .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(--text-dark);
      transition: 0.3s;
    }
    .drawer-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0,0,0,0.5);
      z-index: 1001;
      opacity: 0;
      visibility: hidden;
      transition: 0.3s;
    }
    .drawer-overlay.active {
      opacity: 1;
      visibility: visible;
    }
    .drawer-menu {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100%;
      background: var(--bg-white);
      z-index: 1002;
      box-shadow: var(--shadow-lg);
      transition: 0.3s ease;
      padding: 20px;
      display: flex;
      flex-direction: column;
    }
    .drawer-menu.active {
      left: 0;
    }
    .drawer-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 30px;
    }
    .drawer-close {
      background: none;
      border: none;
      font-size: 28px;
      color: var(--text-gray);
      cursor: pointer;
    }
    .drawer-nav {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .drawer-nav a {
      font-size: 16px;
      font-weight: 600;
      padding: 10px 14px;
      border-radius: 8px;
    }
    .drawer-nav a:hover {
      background-color: var(--primary-light);
      color: var(--primary-color);
    }
    .drawer-download-btn {
      margin-top: 30px;
      background-color: var(--accent-color);
      color: var(--bg-white);
      text-align: center;
      padding: 12px;
      border-radius: 8px;
      font-weight: bold;
    }
    .inner-banner {
      background: linear-gradient(135deg, var(--primary-color) 0%, #3d3b9e 100%);
      color: var(--bg-white);
      padding: 40px 0;
      margin-bottom: 40px;
    }
    .inner-banner h1 {
      font-size: 30px;
      font-weight: 800;
    }
    .tag-meta-box {
      font-size: 14px;
      opacity: 0.85;
      margin-top: 8px;
    }
    .tag-layout {
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 40px;
      margin-bottom: 60px;
    }
    .tag-articles-list {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .tag-card {
      background-color: var(--bg-white);
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-color);
      display: flex;
      transition: all 0.3s ease;
    }
    .tag-card:hover {
      transform: translateY(-3px);
      box-shadow: var(--shadow-md);
      border-color: var(--primary-color);
    }
    .tag-card-img {
      width: 240px;
      overflow: hidden;
      flex-shrink: 0;
    }
    .tag-card-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .tag-card-content {
      padding: 24px;
      display: flex;
      flex-direction: column;
      flex-grow: 1;
    }
    .tag-card-meta {
      font-size: 12px;
      color: var(--text-gray);
      margin-bottom: 10px;
    }
    .tag-card-content h2 {
      font-size: 18px;
      font-weight: bold;
      color: var(--text-dark);
      margin-bottom: 10px;
      line-height: 1.4;
    }
    .tag-card-content p {
      font-size: 14px;
      color: var(--text-gray);
      line-height: 1.6;
      margin-bottom: 15px;
      flex-grow: 1;
    }
    .tag-card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
      border-top: 1px solid var(--border-color);
      padding-top: 12px;
    }
    .btn-read {
      color: var(--primary-color);
      font-weight: bold;
    }
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 30px;
    }
    .sidebar-widget {
      background-color: var(--bg-white);
      border-radius: 16px;
      padding: 24px;
      box-shadow: var(--shadow-sm);
      border: 1px solid var(--border-color);
    }
    .sidebar-widget h3 {
      font-size: 18px;
      color: var(--text-dark);
      font-weight: bold;
      margin-bottom: 20px;
      border-left: 4px solid var(--primary-color);
      padding-left: 12px;
    }
    .tag-cloud-sidebar {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }
    .tag-cloud-sidebar a {
      background-color: var(--bg-light);
      padding: 6px 12px;
      border-radius: 20px;
      font-size: 12px;
    }
    .tag-cloud-sidebar a:hover {
      background-color: var(--primary-color);
      color: var(--bg-white);
    }
    .pagination {
      display: flex;
      justify-content: center;
      gap: 8px;
      margin-top: 40px;
    }
    .pagination-item {
      display: inline-block;
      min-width: 40px;
      height: 40px;
      line-height: 40px;
      text-align: center;
      background-color: var(--bg-white);
      border: 1px solid var(--border-color);
      border-radius: 8px;
      font-weight: 600;
    }
    .pagination-item.active {
      background-color: var(--primary-color);
      color: var(--bg-white);
      border-color: var(--primary-color);
    }
    .site-footer {
      background-color: #1c1936;
      color: rgba(255,255,255,0.7);
      padding: 70px 0 20px 0;
    }
    .footer-container {
      display: grid;
      grid-template-columns: 1.5fr 1fr 1fr 1fr;
      gap: 40px;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    .footer-brand {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    .footer-brand .logo span {
      color: var(--bg-white);
    }
    .brand-desc {
      font-size: 14px;
      line-height: 1.7;
    }
    .footer-container h4 {
      color: var(--bg-white);
      font-size: 16px;
      font-weight: 700;
      margin-bottom: 20px;
      position: relative;
    }
    .footer-container h4::after {
      content: '';
      position: absolute;
      left: 0;
      bottom: -8px;
      width: 30px;
      height: 2px;
      background-color: var(--primary-color);
    }
    .footer-links ul {
      list-style: none;
    }
    .footer-links ul li {
      margin-bottom: 12px;
    }
    .footer-links ul li a:hover {
      color: var(--bg-white);
      padding-left: 5px;
    }
    .footer-meta ul {
      list-style: none;
    }
    .footer-meta ul li {
      margin-bottom: 12px;
    }
    .footer-meta ul li a:hover {
      color: var(--bg-white);
      padding-left: 5px;
    }
    .footer-contact p {
      font-size: 14px;
      margin-bottom: 12px;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 50px;
      padding-top: 20px;
      font-size: 13px;
      text-align: center;
    }
    .footer-bottom-container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 20px;
    }
    @media (max-width: 992px) {
      .tag-layout {
        grid-template-columns: 1fr;
      }
      .sidebar {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px;
      }
    }
    @media (max-width: 768px) {
      .desktop-nav, .btn-download-top {
        display: none;
      }
      .menu-toggle {
        display: flex;
      }
      .tag-card {
        flex-direction: column;
      }
      .tag-card-img {
        width: 100%;
        height: 180px;
      }
      .sidebar {
        grid-template-columns: 1fr;
      }
    }