﻿:root {
      --primary-color: rgb(98, 0, 238);
      --primary-hover: rgb(75, 0, 180);
      --primary-light: rgba(98, 0, 238, 0.08);
      --text-color: #1e293b;
      --text-muted: #64748b;
      --bg-light: #f8fafc;
      --border-color: #e2e8f0;
    }

    * {
      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-color);
      background-color: #fff;
      line-height: 1.6;
    }

    
    .site-header{
      position:sticky;
      top:0;
      z-index:900;
      width:100%;
      background:rgba(255,255,255,.92);
      backdrop-filter:blur(16px);
      -webkit-backdrop-filter:blur(16px);
      border-bottom:1px solid rgba(15,23,42,.08);
    }

    .header-inner{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      min-height:72px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:24px;
    }

    .logo{
      display:inline-flex;
      align-items:center;
      gap:12px;
      text-decoration:none;
      min-width:0;
      flex-shrink:0;
    }

    .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.2;
      color:#111827;
      white-space:nowrap;
      max-width:180px;
      overflow:hidden;
      text-overflow:ellipsis;
    }

    .desktop-nav{
      display:flex;
      align-items:center;
      justify-content:flex-end;
      gap:8px;
      min-width:0;
      flex:1;
      overflow-x:auto;
      scrollbar-width:none;
    }

    .desktop-nav::-webkit-scrollbar{
      display:none;
    }

    .desktop-nav a{
      display:inline-flex;
      align-items:center;
      justify-content:center;
      min-height:40px;
      padding:0 14px;
      border-radius:999px;
      font-size:14px;
      font-weight:600;
      color:#334155;
      text-decoration:none;
      white-space:nowrap;
      flex-shrink:0;
    }

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

    .mobile-menu-btn{
      display:none;
      width:44px;
      height:44px;
      border:0;
      border-radius:14px;
      background:rgba(15,23,42,.08);
      align-items:center;
      justify-content:center;
      flex-direction:column;
      gap:5px;
      cursor:pointer;
      flex-shrink:0;
    }

    .mobile-menu-btn span{
      display:block;
      width:20px;
      height:2px;
      border-radius:999px;
      background:#111827;
    }

    .mobile-nav-mask{
      position:fixed;
      inset:0;
      z-index:998;
      background:rgba(15,23,42,.54);
      opacity:0;
      visibility:hidden;
      pointer-events:none;
      transition:opacity .25s ease, visibility .25s ease;
    }

    .mobile-drawer{
      position:fixed;
      top:0;
      left:0;
      z-index:999;
      width:min(86vw, 360px);
      height:100vh;
      height:100dvh;
      background:#ffffff;
      color:#111827;
      transform:translateX(-105%);
      transition:transform .28s ease;
      box-shadow:24px 0 60px rgba(15,23,42,.22);
      display:flex;
      flex-direction:column;
      overflow:hidden;
    }

    .drawer-head{
      min-height:76px;
      padding:18px 18px 14px;
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border-bottom:1px solid rgba(15,23,42,.08);
      flex-shrink:0;
    }

    .drawer-logo img{
      height:36px;
      max-width:130px;
    }

    .drawer-logo span{
      max-width:150px;
      font-size:17px;
    }

    .drawer-close{
      width:40px;
      height:40px;
      border:0;
      border-radius:14px;
      background:rgba(15,23,42,.08);
      color:#111827;
      font-size:26px;
      line-height:1;
      cursor:pointer;
      flex-shrink:0;
    }

    .drawer-body{
      flex:1;
      overflow-y:auto;
      -webkit-overflow-scrolling:touch;
      padding:14px;
    }

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

    .drawer-nav a{
      display:flex;
      align-items:center;
      width:100%;
      min-height:48px;
      padding:13px 14px;
      border-radius:14px;
      background:rgba(15,23,42,.04);
      color:#111827;
      text-decoration:none;
      font-size:15px;
      font-weight:700;
      line-height:1.35;
      word-break:break-word;
      overflow-wrap:anywhere;
    }

    .drawer-nav a:hover{
      background:rgba(98,0,238,.12);
      color:rgb(98,0,238);
    }

    body.drawer-open{
      overflow:hidden;
      touch-action:none;
    }

    body.drawer-open .mobile-nav-mask{
      opacity:1;
      visibility:visible;
      pointer-events:auto;
    }

    body.drawer-open .mobile-drawer{
      transform:translateX(0);
    }

    
    .list-hero {
      background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-light) 100%);
      padding: 60px 0;
      text-align: center;
      border-bottom: 1px solid var(--border-color);
    }

    .list-hero-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
    }

    .breadcrumb {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

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

    .breadcrumb span {
      color: var(--text-muted);
    }

    .list-title {
      font-size: clamp(24px, 4vw, 36px);
      font-weight: 850;
      color: #0f172a;
      margin-bottom: 12px;
    }

    .list-desc {
      font-size: 16px;
      color: var(--text-muted);
      max-width: 700px;
      margin: 0 auto;
    }

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

    .main-container {
      width: min(1200px, calc(100% - 32px));
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2.8fr 1.2fr;
      gap: 40px;
    }

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

    .sidebar-widget {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 24px;
    }

    .widget-title {
      font-size: 18px;
      font-weight: 800;
      color: #0f172a;
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--border-color);
      position: relative;
    }

    .widget-title::after {
      content: '';
      position: absolute;
      bottom: -2px;
      left: 0;
      width: 40px;
      height: 2px;
      background-color: var(--primary-color);
    }

    
    .list-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .article-horizontal-card {
      background: #fff;
      border: 1px solid var(--border-color);
      border-radius: 16px;
      overflow: hidden;
      display: flex;
      gap: 24px;
      padding: 20px;
      transition: all 0.25s;
    }

    .article-horizontal-card:hover {
      border-color: var(--primary-color);
      box-shadow: 0 10px 25px rgba(0,0,0,0.04);
      transform: translateY(-2px);
    }

    .h-card-image {
      width: 240px;
      height: 160px;
      border-radius: 12px;
      background-color: #f1f5f9;
      position: relative;
      overflow: hidden;
      flex-shrink: 0;
    }

    .h-card-image img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .h-card-content {
      display: flex;
      flex-direction: column;
      flex-grow: 1;
      justify-content: space-between;
    }

    .h-card-meta {
      display: flex;
      align-items: center;
      gap: 12px;
      font-size: 12px;
      color: var(--text-muted);
    }

    .h-card-title {
      font-size: 20px;
      font-weight: 800;
      color: #0f172a;
      text-decoration: none;
      line-height: 1.4;
      margin: 8px 0;
    }

    .h-card-title:hover {
      color: var(--primary-color);
    }

    .h-card-summary {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      margin-bottom: 12px;
    }

    .h-card-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: auto;
    }

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

    .pagination {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .pagination a, .pagination span {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 12px;
      border-radius: 8px;
      background: #fff;
      border: 1px solid var(--border-color);
      font-size: 14px;
      font-weight: 600;
      color: var(--text-color);
      text-decoration: none;
      transition: all 0.2s;
    }

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

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

    .pagination .disabled {
      opacity: 0.5;
      pointer-events: none;
    }

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

    .tag-link {
      display: inline-block;
      padding: 6px 12px;
      font-size: 13px;
      background: var(--bg-light);
      border: 1px solid var(--border-color);
      color: var(--text-color);
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.2s;
    }

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

    
    .site-footer{
      width:100%;
      background:#0f172a;
      color:#e5e7eb;
      overflow:hidden;
    }

    .footer-inner{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      padding:54px 0 34px;
      display:grid;
      grid-template-columns:minmax(240px,1.4fr) repeat(3, minmax(150px, .8fr));
      gap:28px;
      align-items:start;
    }

    .footer-logo span{
      color:#ffffff;
    }

    .footer-brand p{
      margin:18px 0 0;
      color:rgba(226,232,240,.78);
      line-height:1.8;
      font-size:14px;
      max-width:420px;
    }

    .footer-column h3{
      margin:0 0 14px;
      color:#ffffff;
      font-size:15px;
      font-weight:800;
    }

    .footer-column ul{
      list-style:none;
      padding:0;
      margin:0;
      display:flex;
      flex-direction:column;
      gap:10px;
    }

    .footer-column li,
    .footer-column a{
      color:rgba(226,232,240,.78);
      font-size:14px;
      line-height:1.55;
      text-decoration:none;
      word-break:break-word;
      overflow-wrap:anywhere;
    }

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

    .footer-bottom{
      width:min(1200px, calc(100% - 32px));
      margin:0 auto;
      padding:18px 0 24px;
      border-top:1px solid rgba(226,232,240,.12);
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:14px;
      color:rgba(226,232,240,.68);
      font-size:13px;
      line-height:1.6;
    }

    @media (max-width: 900px){
      .header-inner{
        width:min(100% - 24px, 1200px);
        min-height:64px;
        gap:12px;
      }

      .desktop-nav{
        display:none !important;
      }

      .mobile-menu-btn{
        display:inline-flex !important;
      }

      .logo img{
        height:34px;
        max-width:120px;
      }

      .logo span{
        font-size:16px;
        max-width:150px;
      }

      .footer-inner{
        width:min(100% - 24px, 1200px);
        grid-template-columns:1fr 1fr;
        gap:24px 18px;
        padding:42px 0 28px;
      }

      .footer-brand{
        grid-column:1 / -1;
      }

      .footer-bottom{
        width:min(100% - 24px, 1200px);
        flex-direction:column;
        align-items:flex-start;
      }

      .main-container {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .article-horizontal-card {
        flex-direction: column;
      }

      .h-card-image {
        width: 100%;
        height: 200px;
      }
    }

    @media (max-width: 520px){
      .mobile-drawer{
        width:88vw;
      }

      .logo span{
        max-width:120px;
      }

      .drawer-logo span{
        max-width:120px;
      }

      .footer-inner{
        grid-template-columns:1fr;
      }
    }