/* ═══════════════════════════════════════════════════════
   NEXORA — Gaming News Portal
   Inspired by: IGN, GameSpot, PC Gamer editorial style
   ═══════════════════════════════════════════════════════ */

/* ── Custom Properties ─────────────────────────────────── */
:root {
    /* Core palette */
    --black:       #090909;
    --deep:        #0e0e0e;
    --dark:        #141414;
    --card:        #1b1b1b;
    --border:      #282828;
    --border-lite: #333;

    /* Accent — bold editorial red */
    --red:         #e8002d;
    --red-dark:    #c0001f;
    --red-dim:     rgba(232, 0, 45, 0.12);

    /* Text */
    --t1:          #f0f0f0;
    --t2:          #a0a0a0;
    --t3:          #555;

    /* Fonts */
    --font-h:  'Oswald', sans-serif;
    --font-b:  'Inter', sans-serif;

    /* Layout */
    --max:   1240px;
    --gutter: 20px;
    --gap:    16px;
    --r:      3px;
}

/* ── Base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
    background: var(--black);
    color: var(--t1);
    font-family: var(--font-b);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }

/* ── Utility ───────────────────────────────────────────── */
.nx-container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
}

.nx-page { padding-bottom: 60px; }

/* ── Top Bar ───────────────────────────────────────────── */
.nx-topbar {
    background: #000;
    border-bottom: 1px solid var(--border);
    font-size: 11px;
    letter-spacing: 0.04em;
}

.nx-topbar-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nx-topbar-date { color: var(--t3); font-size: 11px; }

.nx-topbar-right {
    display: flex;
    align-items: center;
    gap: 0;
}

.nx-topbar-link {
    color: var(--t2);
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0 12px;
    border-left: 1px solid var(--border);
    transition: color 0.15s;
}

.nx-topbar-link:first-child { border-left: none; }
.nx-topbar-link:hover { color: var(--red); }

/* ── Header ────────────────────────────────────────────── */
.nx-header {
    background: var(--deep);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 200;
}

.nx-header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    height: 58px;
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Logo */
.nx-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nx-logo-img { height: 38px; width: auto; object-fit: contain; }

.nx-logo-text {
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
}

.nx-logo-text::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    margin-left: 3px;
    vertical-align: super;
}

/* Nav */
.nx-nav {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.nx-nav-item {
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--t2);
    padding: 0 14px;
    height: 58px;
    display: flex;
    align-items: center;
    border-bottom: 3px solid transparent;
    transition: color 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.nx-nav-item:hover {
    color: #fff;
    border-bottom-color: var(--red);
}

/* Right: search + burger */
.nx-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}

.nx-search {
    display: flex;
    align-items: center;
    gap: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    transition: border-color 0.15s;
}

.nx-search:focus-within { border-color: var(--red); }

.nx-search-icon {
    padding: 0 10px;
    color: var(--t2);
    display: flex;
    align-items: center;
    height: 36px;
    transition: color 0.15s;
    background: none;
    border: none;
    cursor: pointer;
}

.nx-search-icon:hover { color: var(--t1); }

.nx-search-field {
    background: none;
    border: none;
    outline: none;
    color: var(--t1);
    font-family: var(--font-b);
    font-size: 13px;
    width: 180px;
    padding: 0 10px 0 0;
    height: 36px;
}

.nx-search-field::placeholder { color: var(--t3); }

.nx-burger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: var(--t2);
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: color 0.15s;
}

.nx-burger:hover { color: var(--t1); }

/* ── Category Sub-nav ──────────────────────────────────── */
.nx-subnav {
    border-top: 1px solid var(--border);
    background: var(--dark);
}

.nx-subnav-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.nx-subnav-inner::-webkit-scrollbar { display: none; }

.nx-subnav-item {
    font-family: var(--font-h);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--t3);
    padding: 9px 16px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: color 0.15s, border-color 0.15s;
}

.nx-subnav-item:hover {
    color: var(--t1);
    border-bottom-color: var(--red);
}

/* ── Mobile Drawer ─────────────────────────────────────── */
.nx-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    background: var(--deep);
    border-right: 1px solid var(--border);
    z-index: 500;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    overflow-y: auto;
}

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

.nx-drawer-inner { padding: 20px; }

.nx-drawer-search { margin-bottom: 20px; }

.nx-drawer-search-input {
    width: 100%;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--t1);
    font-family: var(--font-b);
    font-size: 14px;
    padding: 10px 14px;
    outline: none;
}

.nx-drawer-link {
    display: block;
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--t2);
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    transition: color 0.15s;
}

.nx-drawer-link:hover { color: var(--red); }

.nx-drawer-divider {
    font-family: var(--font-h);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--t3);
    margin: 20px 0 8px;
}

.nx-drawer-link-cat {
    font-size: 13px;
    padding: 9px 0;
    color: var(--t3);
}

.nx-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 499;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
}

.nx-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ── Category Labels ───────────────────────────────────── */
.nx-label {
    display: inline-block;
    font-family: var(--font-h);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--t2);
    background: var(--border);
    padding: 2px 8px;
    border-radius: 2px;
    transition: background 0.15s, color 0.15s;
}

.nx-label:hover { background: var(--red); color: #fff; }

.nx-label-accent {
    background: var(--red);
    color: #fff;
}

.nx-label-accent:hover { background: var(--red-dark); }

/* ── Hero Layout ───────────────────────────────────────── */
.nx-hero-block {
    background: var(--deep);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.nx-hero-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3px;
    border-radius: var(--r);
    overflow: hidden;
    min-height: 480px;
}

/* Main hero */
.nx-hero-main {
    position: relative;
    background: var(--card);
    overflow: hidden;
}

.nx-hero-img-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
}

.nx-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.nx-hero-main:hover .nx-hero-img { transform: scale(1.03); }

.nx-hero-fade {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.4) 45%, transparent 75%);
}

.nx-hero-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.nx-hero-title {
    font-family: var(--font-h);
    font-size: clamp(22px, 2.8vw, 36px);
    font-weight: 700;
    line-height: 1.15;
    margin: 8px 0 10px;
    letter-spacing: 0.01em;
}

.nx-hero-title a {
    color: #fff;
    transition: color 0.15s;
}

.nx-hero-title a:hover { color: var(--red); }

.nx-hero-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.55);
    letter-spacing: 0.03em;
}

/* Hero right stack */
.nx-hero-stack {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.nx-stack-item {
    background: var(--card);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    flex: 1;
    position: relative;
    transition: background 0.15s;
}

.nx-stack-item:hover { background: var(--border); }

.nx-stack-img-wrap {
    width: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.nx-stack-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.nx-stack-item:hover .nx-stack-img { transform: scale(1.05); }

.nx-stack-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.nx-stack-title {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
}

.nx-stack-title a {
    color: var(--t1);
    transition: color 0.15s;
}

.nx-stack-title a:hover { color: var(--red); }

.nx-stack-time {
    font-size: 11px;
    color: var(--t3);
    letter-spacing: 0.03em;
}

/* ── Main Layout ───────────────────────────────────────── */
.nx-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 28px 0;
}

.nx-layout-sidebar {
    grid-template-columns: 1fr 300px;
}

.nx-content { min-width: 0; }

/* ── Section heading ───────────────────────────────────── */
.nx-section { margin-bottom: 40px; }

.nx-section-head {
    margin-bottom: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.nx-section-title {
    font-family: var(--font-h);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--t1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.nx-section-bar {
    display: inline-block;
    width: 4px;
    height: 18px;
    background: var(--red);
    border-radius: 2px;
    flex-shrink: 0;
}

/* ── News Grid ─────────────────────────────────────────── */
.nx-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--gap);
}

/* ── Card ──────────────────────────────────────────────── */
.nx-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s, transform 0.15s;
}

.nx-card:hover {
    border-color: var(--border-lite);
    transform: translateY(-2px);
}

.nx-card-thumb {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--dark);
}

.nx-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.nx-card:hover .nx-card-img { transform: scale(1.06); }

.nx-card-noimg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 100%);
}

.nx-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 7px;
    flex: 1;
}

.nx-card-title {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.nx-card-title a {
    color: var(--t1);
    transition: color 0.15s;
}

.nx-card-title a:hover { color: var(--red); }

.nx-card-excerpt {
    font-size: 12px;
    color: var(--t2);
    line-height: 1.55;
    flex: 1;
}

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

.nx-card-foot time, .nx-card-foot {
    font-size: 11px;
    color: var(--t3);
    letter-spacing: 0.02em;
}

.nx-card-read {
    color: var(--t3);
    font-size: 11px;
}

/* ── List items (more stories) ─────────────────────────── */
.nx-list { display: flex; flex-direction: column; gap: 0; }

.nx-list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.nx-list-item:last-child { border-bottom: none; }

.nx-list-thumb {
    width: 100px;
    height: 64px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--r);
    background: var(--dark);
}

.nx-list-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.nx-list-item:hover .nx-list-img { transform: scale(1.05); }

.nx-list-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }

.nx-list-title {
    font-family: var(--font-h);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.nx-list-title a { color: var(--t1); transition: color 0.15s; }
.nx-list-title a:hover { color: var(--red); }

.nx-list-time { font-size: 11px; color: var(--t3); }

/* ── Single Article ────────────────────────────────────── */
.nx-article-hero {
    width: 100%;
    max-height: 480px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0;
}

.nx-article-hero-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    object-position: center 30%;
}

.nx-article-hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--black));
}

.nx-article {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    margin-bottom: 32px;
}

.nx-art-header {
    padding: 28px 32px 20px;
    border-bottom: 1px solid var(--border);
}

.nx-art-title {
    font-family: var(--font-h);
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    margin: 10px 0 14px;
}

.nx-art-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--t3);
    letter-spacing: 0.03em;
}

.nx-art-footer {
    padding: 20px 32px;
    border-top: 1px solid var(--border);
    background: var(--dark);
}

/* ── Prose ─────────────────────────────────────────────── */
.nx-prose {
    padding: 28px 32px;
    color: var(--t2);
    font-size: 16px;
    line-height: 1.8;
}

.nx-prose h2, .nx-prose h3, .nx-prose h4 {
    font-family: var(--font-h);
    color: var(--t1);
    font-weight: 700;
    line-height: 1.2;
    margin: 2em 0 0.6em;
    letter-spacing: 0.02em;
}

.nx-prose h2 { font-size: 26px; border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.nx-prose h3 { font-size: 21px; }
.nx-prose h4 { font-size: 17px; }
.nx-prose p  { margin-bottom: 1.3em; }

.nx-prose a {
    color: var(--red);
    transition: color 0.15s;
}

.nx-prose a:hover { color: #fff; text-decoration: underline; }

.nx-prose strong { color: var(--t1); font-weight: 600; }

.nx-prose blockquote {
    border-left: 4px solid var(--red);
    margin: 1.5em 0;
    padding: 14px 20px;
    background: var(--dark);
    color: var(--t1);
    font-style: normal;
    font-family: var(--font-h);
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.02em;
    border-radius: 0 var(--r) var(--r) 0;
}

.nx-prose code {
    background: var(--dark);
    border: 1px solid var(--border);
    color: #e06c75;
    font-size: 0.87em;
    padding: 1px 5px;
    border-radius: 2px;
    font-family: 'Fira Code', monospace;
}

.nx-prose pre {
    background: var(--dark);
    border: 1px solid var(--border);
    padding: 18px;
    border-radius: var(--r);
    overflow-x: auto;
    margin: 1.5em 0;
}

.nx-prose pre code { background: none; border: none; padding: 0; }

.nx-prose ul, .nx-prose ol { margin: 1em 0 1.3em 1.4em; }
.nx-prose li { margin-bottom: 0.35em; }

.nx-prose img {
    max-width: 100%;
    border-radius: var(--r);
    margin: 1.5em 0;
    border: 1px solid var(--border);
}

.nx-prose hr { border: none; border-top: 1px solid var(--border); margin: 2em 0; }

/* ── Share Bar ─────────────────────────────────────────── */
.nx-share {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.nx-share-label {
    font-family: var(--font-h);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--t3);
    margin-right: 4px;
}

.nx-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: var(--dark);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 12px;
    font-weight: 500;
    color: var(--t2);
    transition: all 0.15s;
    cursor: pointer;
    text-decoration: none;
}

.nx-share-btn:hover { border-color: var(--red); color: var(--red); }

/* ── Sidebar ───────────────────────────────────────────── */
.nx-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.nx-sidebar .widget {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 18px;
    margin-bottom: 18px;
}

.nx-sidebar .widget-title {
    font-family: var(--font-h);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--t1);
    padding-bottom: 10px;
    margin-bottom: 14px;
    border-bottom: 2px solid var(--red);
}

.nx-sidebar .widget-content { font-size: 13px; color: var(--t2); }

.nx-sidebar .widget-recent-posts { list-style: none; }

.nx-sidebar .widget-recent-posts li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.nx-sidebar .widget-recent-posts li:last-child { border-bottom: none; }

.nx-sidebar .widget-recent-posts a {
    font-size: 13px;
    font-weight: 500;
    color: var(--t2);
    line-height: 1.4;
    transition: color 0.15s;
}

.nx-sidebar .widget-recent-posts a:hover { color: var(--red); }

/* ── Archive Header ────────────────────────────────────── */
.nx-archive-head {
    padding: 28px 0 20px;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.nx-archive-eyebrow {
    font-family: var(--font-h);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 6px;
}

.nx-archive-title {
    font-family: var(--font-h);
    font-size: clamp(26px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.nx-archive-desc {
    color: var(--t2);
    font-size: 14px;
    margin-top: 8px;
    max-width: 480px;
}

/* ── Pagination ────────────────────────────────────────── */
.nx-pagination, .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 32px 0 8px;
}

.nx-pagination a, .pagination a,
.nx-pagination span, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--r);
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.03em;
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--t2);
    transition: all 0.15s;
}

.nx-pagination a:hover, .pagination a:hover {
    border-color: var(--red);
    color: var(--red);
}

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

/* ── Related ───────────────────────────────────────────── */
.nx-related { border-top: 1px solid var(--border); padding-top: 32px; }

/* ── Footer ────────────────────────────────────────────── */
.nx-footer {
    background: #000;
    border-top: 3px solid var(--red);
    margin-top: 40px;
}

.nx-footer-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 40px var(--gutter) 24px;
}

.nx-footer-grid {
    display: grid;
    grid-template-columns: 200px 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}

.nx-footer-brand { }

.nx-footer-logo-wrap {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    font-family: var(--font-h);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #fff;
}

.nx-footer-tagline {
    font-size: 12px;
    color: var(--t3);
    line-height: 1.6;
}

.nx-footer-col {}

.nx-footer-col .widget { background: none; border: none; padding: 0; }

.nx-footer-col .widget-title {
    font-family: var(--font-h);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--t2);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.nx-footer-col .widget-content { font-size: 13px; color: var(--t3); }

.nx-footer-col .widget-recent-posts { list-style: none; }
.nx-footer-col .widget-recent-posts li { padding: 7px 0; border-bottom: 1px solid var(--border); }
.nx-footer-col .widget-recent-posts li:last-child { border-bottom: none; }
.nx-footer-col .widget-recent-posts a { font-size: 12px; color: var(--t3); transition: color 0.15s; }
.nx-footer-col .widget-recent-posts a:hover { color: var(--red); }

.nx-footer-bottom {
    padding-top: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}

.nx-footer-copy { font-size: 11px; color: var(--t3); }

/* ── Empty ─────────────────────────────────────────────── */
.nx-empty {
    text-align: center;
    padding: 80px 20px;
}

.nx-empty h2 {
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: var(--t1);
    margin-bottom: 10px;
}

.nx-empty p { font-size: 14px; color: var(--t3); }

/* ── 404 ───────────────────────────────────────────────── */
.nx-404-wrap {
    text-align: center;
    padding: 80px 20px;
}

.nx-404-num {
    font-family: var(--font-h);
    font-size: 120px;
    font-weight: 700;
    line-height: 1;
    color: var(--red);
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}

.nx-404-title {
    font-family: var(--font-h);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 10px;
}

.nx-404-desc { color: var(--t2); font-size: 15px; margin-bottom: 28px; }

.nx-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-h);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--r);
    transition: background 0.15s;
}

.nx-btn:hover { background: var(--red-dark); color: #fff; }

/* ── Admin Bar ─────────────────────────────────────────── */
.admin-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(9,9,9,0.96);
    border-top: 2px solid var(--red);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 20px;
    font-family: var(--font-h);
    font-size: 12px;
    letter-spacing: 0.04em;
}

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1080px) {
    .nx-hero-layout { grid-template-columns: 1fr 280px; }
    .nx-grid { grid-template-columns: repeat(3, 1fr); }
    .nx-footer-grid { grid-template-columns: 1fr 1fr; }
    .nx-layout-sidebar { grid-template-columns: 1fr; }
    .nx-sidebar { position: static; }
}

@media (max-width: 800px) {
    .nx-hero-layout { grid-template-columns: 1fr; min-height: auto; }
    .nx-hero-main { min-height: 320px; }
    .nx-hero-stack { flex-direction: row; overflow-x: auto; }
    .nx-stack-item { min-width: 220px; flex-direction: column; }
    .nx-stack-img-wrap { width: 100%; height: 120px; }
    .nx-grid { grid-template-columns: repeat(2, 1fr); }
    .nx-nav { display: none; }
    .nx-search { display: none; }
    .nx-burger { display: flex; }
    .nx-topbar-right { display: none; }
    .nx-footer-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 480px) {
    .nx-grid { grid-template-columns: 1fr; }
    .nx-art-header { padding: 20px; }
    .nx-prose { padding: 20px; }
    .nx-art-footer { padding: 16px 20px; }
    .nx-hero-main { min-height: 260px; }
    .nx-hero-caption { padding: 16px; }
}
