﻿:root {
      --primary: #D9A441;
      --primary-hover: #C59130;
      --bg-dark: #121212;
      --bg-deep: #1A1A1A;
      --bg-card: #242424;
      --text-light: #F5F5F7;
      --text-muted: #A0A0AB;
      --border-color: rgba(217, 164, 65, 0.2);
      --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    body {
      font-family: var(--font-family);
      background-color: #0F0F0F;
      color: var(--text-light);
      line-height: 1.6;
    }
    a { color: inherit; text-decoration: none; transition: color 0.3s ease; }
    
    
    .site-header {
      position: sticky;
      top: 0;
      z-index: 100;
      background-color: rgba(18, 18, 18, 0.95);
      border-bottom: 1px solid var(--border-color);
      backdrop-filter: blur(10px);
    }
    .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-size: 1.25rem; font-weight: 700; color: var(--primary); text-transform: uppercase; }
    .logo img { height: 40px; object-fit: contain; }
    .desktop-nav { display: flex; gap: 2rem; }
    .desktop-nav a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); }
    .desktop-nav a:hover { color: var(--primary); }
    .mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 6px; width: 30px; height: 24px; justify-content: center; }
    .mobile-menu-btn span { display: block; width: 100%; height: 2px; background-color: var(--primary); }

    
    .mobile-nav-mask { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0,0,0,0.8); z-index: 199; }
    .mobile-drawer { position: fixed; top: 0; right: -300px; width: 300px; height: 100vh; background-color: var(--bg-deep); z-index: 200; padding: 2rem; display: flex; flex-direction: column; gap: 2rem; transition: right 0.3s; border-left: 1px solid var(--border-color); }
    .mobile-drawer.active { right: 0; }
    .drawer-head { display: flex; justify-content: space-between; align-items: center; }
    .drawer-close { background: none; border: none; color: var(--primary); font-size: 2rem; cursor: pointer; }
    .drawer-nav { display: flex; flex-direction: column; gap: 1.5rem; }
    .drawer-nav a { font-size: 1.1rem; font-weight: 600; color: var(--text-light); }

    
    .tag-hero {
      background: linear-gradient(135deg, #121212 0%, #1a1a1a 100%);
      padding: 4rem 1.5rem;
      border-bottom: 1px solid var(--border-color);
      text-align: center;
    }
    .tag-hero-inner {
      max-width: 800px;
      margin: 0 auto;
    }
    .breadcrumbs {
      font-size: 0.9rem;
      color: var(--primary);
      margin-bottom: 1rem;
    }
    .breadcrumbs a { color: var(--text-muted); }
    .breadcrumbs a:hover { color: var(--primary); }
    .tag-hero h1 {
      font-size: clamp(1.75rem, 4vw, 2.5rem);
      text-transform: uppercase;
      margin-bottom: 0.5rem;
    }
    .tag-count-bar {
      color: var(--text-muted);
      font-size: 1rem;
    }
    .tag-count-bar span {
      color: var(--primary);
      font-weight: 700;
    }

    
    .layout-container {
      max-width: 1200px;
      margin: 3rem auto;
      padding: 0 1.5rem;
      display: grid;
      grid-template-columns: 2.5fr 1fr;
      gap: 3rem;
    }

    
    .items-grid {
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .item-card {
      background: var(--bg-card);
      border: 1px solid rgba(255,255,255,0.05);
      display: grid;
      grid-template-columns: 1fr 1.5fr;
      transition: all 0.3s;
    }
    .item-card:hover {
      border-color: var(--primary);
      transform: translateY(-2px);
    }
    .item-img {
      width: 100%;
      height: 100%;
      min-height: 200px;
      object-fit: cover;
    }
    .item-content {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .item-meta {
      font-size: 0.8rem;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }
    .item-content h2 {
      font-size: 1.35rem;
      margin-bottom: 0.75rem;
      line-height: 1.3;
    }
    .item-content p {
      color: var(--text-muted);
      font-size: 0.9rem;
      line-height: 1.5;
      margin-bottom: 1.5rem;
    }
    .item-more {
      font-weight: 600;
      color: var(--primary);
      font-size: 0.9rem;
    }

    
    .pagination-wrap {
      margin-top: 3rem;
      display: flex;
      gap: 0.5rem;
      justify-content: center;
      align-items: center;
    }
    .pagination-item {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-width: 40px;
      height: 40px;
      padding: 0 0.5rem;
      background: var(--bg-card);
      border: 1px solid rgba(255,255,255,0.05);
      font-size: 0.9rem;
      color: var(--text-light);
      transition: all 0.3s;
    }
    .pagination-item:hover, .pagination-item.active {
      background: var(--primary);
      color: #121212;
      border-color: var(--primary);
    }
    .pagination-item.disabled {
      opacity: 0.3;
      pointer-events: none;
    }

    
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 3rem;
    }
    .sidebar-widget {
      background: var(--bg-card);
      border: 1px solid rgba(255,255,255,0.05);
      padding: 1.5rem;
    }
    .widget-title {
      font-size: 1.1rem;
      text-transform: uppercase;
      color: #FFF;
      margin-bottom: 1.25rem;
      border-left: 3px solid var(--primary);
      padding-left: 0.75rem;
    }
    .widget-list {
      list-style: none;
    }
    .widget-list li {
      margin-bottom: 1rem;
      border-bottom: 1px solid rgba(255,255,255,0.05);
      padding-bottom: 0.75rem;
    }
    .widget-list li:last-child {
      margin-bottom: 0;
      padding-bottom: 0;
      border-bottom: none;
    }
    .widget-list a {
      font-size: 0.9rem;
      color: var(--text-light);
      display: block;
      line-height: 1.4;
    }
    .widget-list a:hover {
      color: var(--primary);
    }
    .tag-cloud {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
    }
    .tag-cloud a {
      background: rgba(255,255,255,0.05);
      font-size: 0.8rem !important;
      padding: 0.3rem 0.75rem;
      border-radius: 15px;
      color: var(--text-muted);
    }
    .tag-cloud a:hover {
      background: var(--primary);
      color: #121212;
    }

    
    .site-footer { background-color: var(--bg-dark); border-top: 1px solid var(--border-color); padding: 4rem 1.5rem 2rem; }
    .footer-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; }
    .footer-brand .logo { margin-bottom: 1rem; }
    .footer-brand p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }
    .footer-column h3 { font-size: 1rem; color: #FFF; text-transform: uppercase; margin-bottom: 1.5rem; position: relative; }
    .footer-column h3::after { content: ''; position: absolute; left: 0; bottom: -6px; width: 30px; height: 2px; background-color: var(--primary); }
    .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.9rem; }
    .footer-column ul li a:hover { color: var(--primary); }
    .footer-contact li { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 0.75rem; }
    .footer-bottom { max-width: 1200px; margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.05); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--text-muted); }

    @media (max-width: 992px) {
      .layout-container { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .desktop-nav { display: none; }
      .mobile-menu-btn { display: flex; }
      .item-card { grid-template-columns: 1fr; }
      .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
    }