/* ===== PAGE HEADER — CINEMATIC REEL ===== */
    .page-header {
      position: relative;
      height: 420px;
      overflow: hidden;
      border-bottom: 1px solid rgba(180,80,255,0.25);
      background: #080808;
    }

    .header-reel {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: flex-end; /* push images toward the bottom */
      gap: 12px;
      padding-bottom: 40px;  /* gap between images and lower edge */
    }

    .header-reel-track {
      display: flex;
      gap: 6px;
      flex-shrink: 0;
      min-width: 100%;
      align-items: center;
      padding: 0 6px;
    }

    .header-reel {
      width: max-content;
      will-change: transform;
    }

    .reel-img {
      height: 345px;
      width: 420px;
      object-fit: cover;
      object-position: center;
      flex-shrink: 0;
      filter: grayscale(20%) brightness(0.65) contrast(1.05);
      display: block;
      border-radius: 4px;
      transform: rotate(-3deg) translateY(6px);
      transform-origin: bottom center;
      transition: transform 0.4s ease, filter 0.4s ease;
    }

    .reel-img:nth-child(even) {
      transform: rotate(2.5deg) translateY(-4px);
    }

    .reel-img:nth-child(3n) {
      transform: rotate(-1.5deg) translateY(10px);
    }

    .reel-img:nth-child(4n) {
      transform: rotate(3.5deg) translateY(-8px);
    }

    .header-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      background:
        linear-gradient(0deg,  rgba(8,8,8,1.0) 0%, rgba(8,8,8,0.82) 35%, rgba(8,8,8,0.30) 70%, rgba(8,8,8,0.08) 100%),
        linear-gradient(90deg, rgba(8,8,8,0.75) 0%, transparent 50%,  rgba(8,8,8,0.50) 100%);
    }

    .header-overlay::after {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 55% 70% at 18% 85%, rgba(30,30,35,0.30) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 82% 25%, rgba(20,20,25,0.20) 0%, transparent 55%);
    }

    .page-header-inner {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 2;
      max-width: 1440px;
      margin: 0 auto;
      padding: 0 56px 48px;
    }

    .page-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 16px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(242,238,255,0.45);
    }

    .page-breadcrumb a { color: rgba(242,238,255,0.45); text-decoration: none; transition: color .2s; }
    .page-breadcrumb a:hover { color: var(--accent); }
    .page-breadcrumb .sep { color: rgba(180,120,255,0.3); }
    .page-breadcrumb .current { color: var(--accent); }

    .page-header h1 {
      font-size: clamp(30px, 4vw, 50px);
      font-weight: 900;
      letter-spacing: -0.03em;
      color: #fff;
      margin-bottom: 12px;
      line-height: 1.04;
      text-shadow: 0 2px 30px rgba(0,0,0,0.7);
    }

    .page-header h1 em {
      font-style: italic;
      background: linear-gradient(100deg, #a020f0 0%, #c855ff 30%, #ff3cac 62%, #ff6fd8 85%, #bf5fff 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .page-header-desc {
      font-size: 14px;
      color: rgba(242,238,255,0.60);
      max-width: 560px;
      line-height: 1.7;
    }

    /* ===== MAIN WRAP ===== */
    .news-section-wrap {
      background: #0d0a18;
      position: relative;
      overflow: hidden;
    }

    .news-section-wrap::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 70% 50% at 15% 40%, rgba(130,30,220,0.28) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 85% 20%, rgba(180,20,100,0.22) 0%, transparent 60%);
      filter: blur(60px);
      pointer-events: none;
      z-index: 0;
    }

    .news-section-wrap::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(5,3,14,0.55);
      pointer-events: none;
      z-index: 0;
    }

    .news-layout {
      max-width: 1440px;
      margin: 0 auto;
      padding: 48px 56px 80px;
      display: grid;
      grid-template-columns: 1fr 320px;
      gap: 40px;
      align-items: start;
      position: relative;
      z-index: 1;
    }

    .sort-options { display: flex; gap: 6px; }

    .sort-opt {
      background: none;
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-family: 'Nunito Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 6px 12px;
      cursor: pointer;
      transition: all 0.2s;
      border-radius: 2px;
    }

    .sort-opt:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

    .sort-opt.active {
      border-color: var(--accent);
      color: #fff;
      background: linear-gradient(135deg, var(--vc-purple), var(--vc-pink));
    }

    /* ===== NEWS CARDS — uniform fixed height ===== */
    .news-list {
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .news-card {
      background: var(--bg-2);
      border: 1px solid var(--border);
      display: grid;
      grid-template-columns: 280px 1fr;
      height: 170px;
      overflow: hidden;
      text-decoration: none;
      transition: background 0.2s, border-color 0.2s;
    }

    .news-card:hover { background: var(--bg-3); border-color: var(--border-hover); }

    .news-card-thumb {
      width: 280px;
      height: 170px;
      flex-shrink: 0;
      overflow: hidden;
    }

    .news-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      filter: grayscale(15%) brightness(0.85);
      transition: transform 0.5s ease, filter 0.5s ease;
      display: block;
    }

    .news-card:hover .news-card-img {
      transform: scale(1.06);
      filter: grayscale(0%) brightness(1.06);
    }

    .news-card-placeholder {
      width: 100%;
      height: 100%;
      background: linear-gradient(135deg, #12091f 0%, #1a0a2e 60%, #090915 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      opacity: 0.18;
    }

    .news-card-body {
      padding: 15px 20px;
      display: flex;
      flex-direction: column;
      overflow: hidden;
      min-width: 0;
    }

    .news-card-title {
      font-size: 20px;
      font-weight: 800;
      line-height: 1.2;
      color: var(--text);
      letter-spacing: -0.025em;
      margin-bottom: 8px;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .news-card-excerpt {
      font-size: 13px;
      line-height: 1.55;
      color: var(--text-muted);
      overflow: hidden;
      margin-top: 20px;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
    }

    .news-card-meta {
      display: flex;
      gap: 6px;
      font-size: 10px;
      font-weight: 500;
      color: var(--text-muted);
      letter-spacing: 0.03em;
      align-items: center;
      flex-wrap: wrap;
      margin-bottom: 8px;
    }

    .news-card-meta .meta-author { color: var(--accent); font-weight: 700; }
    .news-card-meta .meta-sep { color: var(--border-hover); }

    /* ===== PAGINATION ===== */
    .pagination {
      display: flex;
      gap: 6px;
      justify-content: center;
      margin-top: 30px;
    }

    .page-btn {
      background: var(--bg-2);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-family: 'Nunito Sans', sans-serif;
      font-size: 12px;
      font-weight: 700;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.2s;
      border-radius: 2px;
    }

    .page-btn:hover,
    .page-btn.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }
    .page-btn.wide { width: auto; padding: 0 14px; }

    /* ===== SIDEBAR ===== */
    .sidebar {
      display: flex;
      flex-direction: column;
      gap: 20px;
      position: sticky;
      top: 90px;
      align-self: start;
      /* search-bar: ~46px + mb 18px = ~64px */
      margin-top: 64px;
    }

    .widget {
      background: var(--bg-2);
      border: 1px solid var(--border);
      overflow: hidden;
    }

    .widget-title {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.22em;
      text-transform: uppercase;
      color: var(--text);
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .widget-title i { color: var(--accent); font-size: 11px; }

    /* Widget 1 — Tags cloud */
    .tags-cloud {
      padding: 14px 16px;
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .tag-pill {
      background: var(--bg-3);
      border: 1px solid var(--border);
      color: var(--text-muted);
      font-family: 'Nunito Sans', sans-serif;
      font-size: 10px;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 5px 11px;
      border-radius: 2px;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s, background 0.2s;
      display: inline-flex;
      align-items: center;
      gap: 5px;
    }

    .tag-pill .tag-count {
      font-size: 9px;
      background: rgba(196,95,255,0.15);
      color: var(--accent);
      padding: 1px 5px;
      border-radius: 10px;
    }

    .tag-pill:hover,
    .tag-pill.active { border-color: var(--accent); color: var(--accent); background: var(--accent-glow); }

    /* Widget 2 — Wikis Rockstar: image cards grid */
    .wiki-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1px;
      background: var(--border);
    }

    .wiki-card {
      position: relative;
      height: 80px;
      overflow: hidden;
      text-decoration: none;
      display: block;
    }

    /* First card spans full width */
    .wiki-card--wide {
      grid-column: 1 / -1;
      height: 90px;
    }

    .wiki-card-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      filter: grayscale(30%) brightness(0.5) contrast(1.1);
      transition: filter 0.4s ease, transform 0.5s ease;
      display: block;
    }

    .wiki-card:hover .wiki-card-img {
      filter: grayscale(0%) brightness(0.65) contrast(1.05);
      transform: scale(1.05);
    }

    .wiki-card-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(0deg, rgba(6,5,15,0.82) 0%, rgba(6,5,15,0.25) 60%, transparent 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 10px 12px;
      transition: background 0.3s;
    }

    .wiki-card:hover .wiki-card-overlay {
      background: linear-gradient(0deg, rgba(6,5,15,0.88) 0%, rgba(6,5,15,0.38) 60%, transparent 100%);
    }

    .wiki-card-label {
      font-size: 10px;
      font-weight: 800;
      letter-spacing: 0.08em;
      color: #fff;
      line-height: 1.2;
      text-shadow: 0 1px 6px rgba(0,0,0,0.8);
      transition: color 0.2s;
    }

    .wiki-card:hover .wiki-card-label { color: var(--accent); }

    .wiki-card-sub {
      font-size: 9px;
      font-weight: 500;
      color: rgba(242,238,255,0.55);
      letter-spacing: 0.06em;
      margin-top: 1px;
    }

    .wiki-card--wide .wiki-card-label { font-size: 12px; }

    /* accent border on hover */
    .wiki-card::after {
      content: '';
      position: absolute;
      inset: 0;
      border: 2px solid transparent;
      transition: border-color 0.25s;
      pointer-events: none;
    }

    .wiki-card:hover::after { border-color: var(--accent); }

    /* ===== RESPONSIVE ===== */
    @media (max-width: 1100px) {
      .news-layout { grid-template-columns: 1fr; padding: 36px 28px 60px; }
      .sidebar { position: static; margin-top: 0; }
    }

    @media (max-width: 768px) {
      .page-header { height: 260px; }
      .page-header-inner { padding: 0 16px 32px; }
      .news-layout { padding: 24px 16px 48px; }
      .news-card { grid-template-columns: 1fr; height: auto; }
      .news-card-thumb { width: 100%; height: 48vw; }
    }
    @media (max-width: 480px) {
      .page-header { height: 210px; }
    }