/* ========================================================
   CRUNCHNPLAY V2 — MODERN DARK EDITORIAL GAMING THEME
   ======================================================== */

:root {
    --cnp-bg: #05080c;
    --cnp-header: #171c23;
    --cnp-surface: #0d1621;
    --cnp-surface2: #20252e;
    --cnp-card-hover: #111e2c;
    --cnp-text: #ffffff;
    --cnp-secondary: #aeb8c5;
    --cnp-muted: #718096;
    --cnp-yellow: #ffd400;
    --cnp-yellow-hover: #ffe033;
    --cnp-accent: #ffd400;
    --cnp-accent-hover: #ffe033;
    --cnp-border: rgba(255, 255, 255, 0.08);
    --cnp-border-hover: rgba(255, 212, 0, 0.35);
    --cnp-blue: #168cff;
    --cnp-red: #ff3b30;
    --cnp-purple: #9b5cff;
    --cnp-max: 1280px;
    --cnp-radius-card: 12px;
    --cnp-radius-hero: 14px;
    --cnp-radius-btn: 8px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: clip;
    max-width: 100vw;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--cnp-bg);
    color: var(--cnp-text);
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: clip;
    max-width: 100vw;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
    color: var(--cnp-yellow);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: min(var(--cnp-max), calc(100% - 40px));
    margin-inline: auto;
}

/* ========================================================
   HEADER & NAVIGATION — SMART AUTOHIDE & GLASSMORPHISM
   ======================================================== */
.cnp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(13, 18, 26, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.cnp-header.cnp-header-top {
    background: rgba(13, 18, 26, 0.75);
    border-bottom-color: rgba(255, 255, 255, 0.05);
    box-shadow: none;
}

.cnp-header.cnp-header-scrolled {
    background: rgba(10, 14, 21, 0.92);
    border-bottom: 1px solid rgba(255, 212, 0, 0.18);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.cnp-header.cnp-header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.cnp-admin-quick-bar {
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1) !important;
    will-change: transform;
}

.cnp-admin-quick-bar.cnp-admin-hidden {
    transform: translateY(-100%);
}

.cnp-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

.cnp-brand-container {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.cnp-brand,
.custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    user-select: none;
}

.cnp-brand img,
.cnp-default-logo,
.custom-logo {
    height: 38px;
    max-height: 42px;
    width: auto;
    object-fit: contain;
    display: block;
}

.cnp-brand-text {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    line-height: 1.15;
}

.cnp-site-name {
    font-weight: 800;
    font-size: 19px;
    letter-spacing: -0.4px;
    color: #ffffff;
    text-transform: uppercase;
}

.cnp-site-desc {
    font-size: 11px;
    color: var(--cnp-secondary);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.cnp-topbar-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 14px;
    color: var(--cnp-secondary);
}

.cnp-social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--cnp-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.cnp-social-link:hover {
    color: var(--cnp-yellow);
}

.cnp-search-toggle {
    background: none;
    border: none;
    color: var(--cnp-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: var(--cnp-radius-btn);
    transition: background 0.2s, color 0.2s;
}

.cnp-search-toggle:hover {
    color: var(--cnp-yellow);
    background: rgba(255, 255, 255, 0.05);
}

.cnp-nav-bar {
    display: flex;
    align-items: center;
    height: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.cnp-nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 100%;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.cnp-nav-menu > li {
    height: 100%;
    display: flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
}

.cnp-nav-menu > li > a {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 2px;
    color: var(--cnp-secondary);
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    text-decoration: none;
}

.cnp-nav-menu > li:hover > a,
.cnp-nav-menu > li.current-menu-item > a,
.cnp-nav-menu > li.current_page_item > a,
.cnp-nav-menu > li.current-category-ancestor > a,
.cnp-nav-menu > li.current-menu-ancestor > a {
    color: var(--cnp-yellow);
    border-bottom-color: var(--cnp-yellow);
}

/* ========================================================
   DROPDOWN SUB-MENU
   ======================================================== */
.cnp-nav-menu .sub-menu {
    position: absolute;
    top: 48px;
    left: 0;
    min-width: 210px;
    background: #1c222b;
    border-top: 2px solid var(--cnp-yellow);
    border-left: 1px solid var(--cnp-border);
    border-right: 1px solid var(--cnp-border);
    border-bottom: 1px solid var(--cnp-border);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.6);
    padding: 8px 0;
    margin: 0;
    list-style: none;
    display: none;
    flex-direction: column;
    z-index: 1000;
    animation: cnpDropdownFade 0.2s ease;
}

.cnp-nav-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    right: 0;
    height: 8px;
}

@keyframes cnpDropdownFade {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cnp-nav-menu li.menu-item-has-children:hover > .sub-menu,
.cnp-nav-menu li:hover > .sub-menu,
.cnp-nav-menu li:focus-within > .sub-menu {
    display: flex;
}

.cnp-nav-menu .sub-menu li {
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    padding: 0;
}

.cnp-nav-menu .sub-menu li a {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #edf1f5;
    text-transform: none;
    letter-spacing: normal;
    border-bottom: none;
    transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
    text-decoration: none;
    white-space: nowrap;
}

.cnp-nav-menu .sub-menu li a:hover,
.cnp-nav-menu .sub-menu li.current-menu-item > a {
    color: var(--cnp-yellow);
    background: rgba(255, 212, 0, 0.08);
    padding-left: 24px;
}

/* Mobile Toggle */
.cnp-burger {
    display: none;
    background: none;
    border: none;
    width: 36px;
    height: 36px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}

.cnp-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: 0.3s;
}

.cnp-burger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.cnp-burger.active span:nth-child(2) {
    opacity: 0;
}
.cnp-burger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer Menu */
.cnp-mobile-drawer {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    height: calc(100vh - 72px);
    height: calc(100dvh - 72px);
    background: #090e15;
    z-index: 99999;
    padding: 20px 20px 80px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    box-sizing: border-box;
    border-top: 1px solid var(--cnp-border);
}

.cnp-mobile-drawer.open {
    display: block !important;
}

.cnp-mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
}

.cnp-mobile-nav li {
    position: relative;
    display: block;
}

.cnp-mobile-nav a {
    display: block;
    padding: 10px 0;
    color: #ffffff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: color 0.2s;
}

.cnp-mobile-nav .menu-item-has-children > a {
    width: calc(100% - 52px);
}

.cnp-mobile-nav a:hover,
.cnp-mobile-nav .current-menu-item > a {
    color: var(--cnp-yellow);
}

/* Accordion Arrow Toggle Button */
.cnp-mobile-nav .cnp-submenu-toggle {
    position: absolute;
    right: 0;
    top: 4px;
    width: 44px;
    height: 38px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    color: var(--cnp-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s ease, background 0.2s, color 0.2s, border-color 0.2s;
}

.cnp-mobile-nav .cnp-submenu-toggle:hover {
    background: rgba(255, 212, 0, 0.12);
    color: var(--cnp-yellow);
    border-color: rgba(255, 212, 0, 0.3);
}

.cnp-mobile-nav li.submenu-open > .cnp-submenu-toggle {
    transform: rotate(180deg);
    background: rgba(255, 212, 0, 0.15);
    color: var(--cnp-yellow);
    border-color: var(--cnp-yellow);
}

/* Submenus are strictly COLLAPSED by default */
.cnp-mobile-nav .sub-menu {
    display: none !important;
    list-style: none !important;
    padding: 8px 0 6px 16px !important;
    margin: 4px 0 8px !important;
    border-left: 2px solid rgba(255, 212, 0, 0.4) !important;
    flex-direction: column !important;
    gap: 6px !important;
}

/* When active/expanded, display smoothly */
.cnp-mobile-nav li.submenu-open > .sub-menu {
    display: flex !important;
    animation: cnpSubmenuExpand 0.2s ease-out;
}

@keyframes cnpSubmenuExpand {
    from {
        opacity: 0;
        transform: translateY(-4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cnp-mobile-nav .sub-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--cnp-secondary);
    text-transform: none;
    border-bottom: none;
    padding: 6px 0;
}

.cnp-mobile-nav .sub-menu a:hover,
.cnp-mobile-nav .sub-menu .current-menu-item > a {
    color: var(--cnp-yellow);
}

/* Search Modal / Dropdown */
.cnp-search-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 12, 0.85);
    backdrop-filter: blur(8px);
    z-index: 2000;
    justify-content: center;
    padding-top: 100px;
}

.cnp-search-overlay.open {
    display: flex;
}

.cnp-search-box {
    width: min(680px, calc(100% - 40px));
    background: var(--cnp-surface);
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-card);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    height: fit-content;
}

.cnp-search-form {
    display: flex;
    gap: 12px;
}

.cnp-search-input {
    flex: 1;
    background: #05080c;
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-btn);
    padding: 14px 18px;
    color: #ffffff;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.cnp-search-input:focus {
    border-color: var(--cnp-yellow);
}

.cnp-search-submit {
    background: var(--cnp-yellow);
    color: #05080c;
    border: none;
    border-radius: var(--cnp-radius-btn);
    padding: 0 24px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.cnp-search-submit:hover {
    background: var(--cnp-yellow-hover);
}

.cnp-search-close {
    position: absolute;
    top: -36px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
}

/* ========================================================
   BADGES & META
   ======================================================== */
.cnp-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 4px;
    background: var(--cnp-yellow);
    color: #080a0c;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    width: fit-content;
}

.cnp-badge.badge-review { background: var(--cnp-red); color: #ffffff; }
.cnp-badge.badge-video, .cnp-badge.badge-cinema { background: var(--cnp-blue); color: #ffffff; }
.cnp-badge.badge-tech { background: var(--cnp-purple); color: #ffffff; }
.cnp-badge.badge-hardware { background: var(--cnp-yellow); color: #080a0c; }

.cnp-meta {
    font-size: 12px;
    color: var(--cnp-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.cnp-meta span::after {
    content: '•';
    margin-left: 8px;
    color: var(--cnp-muted);
}

.cnp-meta span:last-child::after {
    content: '';
    margin-left: 0;
}

/* ========================================================
   HERO GRID (HOMEPAGE 65/35)
   ======================================================== */
.cnp-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.cnp-hero-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-hero);
    background: var(--cnp-surface);
    display: block;
    text-decoration: none;
    transition: border-color 0.25s, transform 0.25s;
}

.cnp-hero-card:hover {
    border-color: var(--cnp-border-hover);
}

.cnp-hero-main {
    height: 500px;
    min-height: 500px;
}

.cnp-hero-side {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 18px;
    height: 500px;
}

.cnp-hero-small {
    height: 100%;
    min-height: 241px;
}

.cnp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.4s ease;
    display: block;
}

.cnp-hero-card:hover .cnp-hero-bg {
    transform: scale(1.03);
}

.cnp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,8,12,0.05) 0%, rgba(5,8,12,0.4) 40%, rgba(5,8,12,0.95) 100%);
    pointer-events: none;
    z-index: 1;
}

.cnp-hero-content {
    position: absolute;
    left: 28px;
    right: 28px;
    bottom: 26px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.cnp-hero-main .cnp-hero-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.8px;
    color: #ffffff;
    margin: 0;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnp-hero-card:hover .cnp-hero-title {
    color: var(--cnp-yellow);
}

.cnp-hero-small .cnp-hero-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #ffffff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================================
   MAIN CONTENT & SIDEBAR LAYOUT
   ======================================================== */
.cnp-layout,
.cnp-layout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 28px;
    margin-top: 36px;
    margin-bottom: 70px;
}

@media (max-width: 1024px) {
    .cnp-layout,
    .cnp-layout-grid {
        grid-template-columns: 1fr;
    }
}

.cnp-section-title {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cnp-section-title::before {
    content: '';
    display: block;
    width: 4px;
    height: 22px;
    background: var(--cnp-yellow);
    border-radius: 2px;
}

.cnp-news-list,
.cnp-feed-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}


/* Card News (Horizontal) */
.cnp-card {
    display: grid;
    grid-template-columns: 210px 1fr;
    gap: 20px;
    padding: 14px;
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-card);
    background: var(--cnp-surface);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.cnp-card:hover {
    transform: translateY(-2px);
    background: var(--cnp-card-hover);
    border-color: var(--cnp-border-hover);
}

.cnp-card-thumb {
    height: 135px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background: #111822;
}

.cnp-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cnp-card:hover .cnp-card-thumb img {
    transform: scale(1.04);
}

.cnp-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    min-width: 0;
}

.cnp-card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
    margin: 0;
    color: #ffffff;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnp-card:hover .cnp-card-title {
    color: var(--cnp-yellow);
}

.cnp-card-excerpt {
    font-size: 14px;
    line-height: 1.45;
    color: var(--cnp-secondary);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ========================================================
   SIDEBAR & WIDGETS
   ======================================================== */
.cnp-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-content: start;
}

.cnp-widget {
    border: 1px solid var(--cnp-border);
    background: var(--cnp-surface);
    border-radius: var(--cnp-radius-card);
    padding: 20px;
}

.cnp-widget-title {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Telegram Widget */
.cnp-widget-telegram {
    background: linear-gradient(145deg, #101b26 0%, #0d1621 100%);
    border-color: rgba(22, 140, 255, 0.2);
}

.cnp-tg-desc {
    color: var(--cnp-secondary);
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.cnp-tg-qr-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 10px;
    margin-bottom: 14px;
}

.cnp-tg-qr-box img {
    width: 130px;
    height: 130px;
    border-radius: 6px;
}

.cnp-tg-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--cnp-yellow);
    color: #05080c;
    font-weight: 800;
    font-size: 14px;
    padding: 10px 16px;
    border-radius: var(--cnp-radius-btn);
    transition: background 0.2s, transform 0.2s;
    text-align: center;
}

.cnp-tg-btn:hover {
    background: var(--cnp-yellow-hover);
    color: #05080c;
    transform: translateY(-1px);
}

/* Popular / Сейчас читают */
.cnp-popular-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cnp-popular-item {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 12px;
    align-items: start;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cnp-popular-item:last-child {
    border-bottom: none;
}

.cnp-popular-num {
    color: var(--cnp-yellow);
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
}

.cnp-popular-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cnp-popular-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--cnp-text);
    transition: color 0.2s;
}

.cnp-popular-item:hover .cnp-popular-title {
    color: var(--cnp-yellow);
}

/* ========================================================
   GENERIC WORDPRESS DYNAMIC WIDGETS & GUTENBERG BLOCKS
   ======================================================== */
.cnp-sidebar .widget,
.cnp-sidebar .cnp-widget,
.cnp-sidebar .widget_block {
    border: 1px solid var(--cnp-border);
    background: var(--cnp-surface);
    border-radius: var(--cnp-radius-card);
    padding: 20px;
    box-sizing: border-box;
    margin-bottom: 0;
}

/* Widget Headings (Classic and Gutenberg) */
.cnp-sidebar .widget .widget-title,
.cnp-sidebar .cnp-widget .cnp-widget-title,
.cnp-sidebar .widget h2,
.cnp-sidebar .widget h3,
.cnp-sidebar .cnp-widget h2,
.cnp-sidebar .cnp-widget h3,
.cnp-sidebar .widget_block h2,
.cnp-sidebar .widget_block h3,
.cnp-sidebar .widget_block .wp-block-heading {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.2px;
    margin: 0 0 16px 0;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cnp-sidebar .widget-title span,
.cnp-sidebar .cnp-widget-title span {
    border-left: 3px solid var(--cnp-yellow);
    padding-left: 8px;
}

/* Category lists, archives, latest posts (Classic & Gutenberg) */
.cnp-sidebar .widget ul,
.cnp-sidebar .cnp-widget ul,
.cnp-sidebar .widget_block ul,
.cnp-sidebar .wp-block-categories,
.cnp-sidebar .wp-block-categories-list,
.cnp-sidebar .wp-block-archives,
.cnp-sidebar .wp-block-archives-list,
.cnp-sidebar .wp-block-latest-posts {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cnp-sidebar .widget ul li,
.cnp-sidebar .cnp-widget ul li,
.cnp-sidebar .widget_block ul li,
.cnp-sidebar .wp-block-categories li,
.cnp-sidebar .wp-block-categories-list li,
.cnp-sidebar .wp-block-archives li,
.cnp-sidebar .wp-block-archives-list li,
.cnp-sidebar .wp-block-latest-posts li {
    font-size: 14px;
    color: var(--cnp-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 7px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cnp-sidebar .widget ul li:last-child,
.cnp-sidebar .cnp-widget ul li:last-child,
.cnp-sidebar .widget_block ul li:last-child,
.cnp-sidebar .wp-block-categories li:last-child,
.cnp-sidebar .wp-block-categories-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cnp-sidebar .widget ul li a,
.cnp-sidebar .cnp-widget ul li a,
.cnp-sidebar .widget_block ul li a,
.cnp-sidebar .wp-block-categories a,
.cnp-sidebar .wp-block-categories-list a,
.cnp-sidebar .wp-block-archives a,
.cnp-sidebar .wp-block-archives-list a,
.cnp-sidebar .wp-block-latest-posts a {
    color: #e2e8f0;
    transition: color 0.2s;
    text-decoration: none;
    font-weight: 500;
}

.cnp-sidebar .widget ul li a:hover,
.cnp-sidebar .cnp-widget ul li a:hover,
.cnp-sidebar .widget_block ul li a:hover,
.cnp-sidebar .wp-block-categories a:hover,
.cnp-sidebar .wp-block-categories-list a:hover,
.cnp-sidebar .wp-block-archives a:hover,
.cnp-sidebar .wp-block-archives-list a:hover,
.cnp-sidebar .wp-block-latest-posts a:hover {
    color: var(--cnp-yellow);
}

/* Category counts e.g. (14) */
.cnp-sidebar .wp-block-categories li span,
.cnp-sidebar .wp-block-categories-list li span,
.cnp-sidebar .widget_categories li span,
.cnp-sidebar .wp-block-archives li span {
    font-size: 12px;
    color: var(--cnp-muted);
    background: rgba(255, 255, 255, 0.06);
    padding: 2px 7px;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
}

/* Sub-categories / nested */
.cnp-sidebar ul.children,
.cnp-sidebar .wp-block-categories ul.children {
    width: 100%;
    padding-left: 14px !important;
    margin-top: 6px !important;
    border-left: 2px solid var(--cnp-border);
    gap: 6px;
}

/* Select dropdown in widgets */
.cnp-sidebar .widget select,
.cnp-sidebar .cnp-widget select,
.cnp-sidebar .widget_block select,
.cnp-sidebar .wp-block-categories select {
    width: 100%;
    background: #05080c;
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-btn);
    color: #ffffff;
    padding: 10px 14px;
    font-size: 14px;
    outline: none;
}

/* Gutenberg Search Block */
.cnp-sidebar .wp-block-search__input {
    background: #05080c !important;
    border: 1px solid var(--cnp-border) !important;
    color: #ffffff !important;
    border-radius: var(--cnp-radius-btn) !important;
    padding: 8px 12px !important;
    font-size: 14px !important;
}

.cnp-sidebar .wp-block-search__button {
    background: var(--cnp-yellow) !important;
    color: #000000 !important;
    font-weight: 700 !important;
    border-radius: var(--cnp-radius-btn) !important;
    border: none !important;
    padding: 8px 16px !important;
    cursor: pointer !important;
    transition: filter 0.2s !important;
}

.cnp-sidebar .wp-block-search__button:hover {
    filter: brightness(1.1) !important;
}

/* Tag Cloud in widgets */
.cnp-sidebar .tagcloud a,
.cnp-sidebar .wp-block-tag-cloud a {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    color: var(--cnp-secondary) !important;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 3px;
    font-size: 12px !important;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.cnp-sidebar .tagcloud a:hover,
.cnp-sidebar .wp-block-tag-cloud a:hover {
    background: var(--cnp-yellow);
    color: #000000 !important;
}

/* ========================================================
   SINGLE ARTICLE TEMPLATE
   ======================================================== */
.cnp-article-header {
    margin-bottom: 24px;
}

.cnp-breadcrumbs {
    font-size: 13px;
    color: var(--cnp-secondary);
    margin-bottom: 16px;
}

.cnp-breadcrumbs a:hover {
    color: var(--cnp-yellow);
}

.cnp-article-title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.2px;
    color: #ffffff;
    margin: 12px 0 16px;
}

.cnp-article-lead {
    font-size: 19px;
    line-height: 1.55;
    color: var(--cnp-secondary);
    margin-bottom: 18px;
    font-weight: 400;
}

.cnp-author-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-top: 1px solid var(--cnp-border);
    border-bottom: 1px solid var(--cnp-border);
    margin-bottom: 24px;
}

.cnp-author-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
}

.cnp-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cnp-author-info {
    display: flex;
    flex-direction: column;
    font-size: 13px;
}

.cnp-author-name {
    font-weight: 700;
    color: #ffffff;
}

.cnp-article-hero-cover {
    width: 100%;
    max-height: 540px;
    border-radius: var(--cnp-radius-hero);
    overflow: hidden;
    margin-bottom: 36px;
    background: #090c12;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cnp-article-hero-backdrop {
    position: absolute;
    inset: -20px;
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.35) saturate(1.4);
    transform: scale(1.15);
    z-index: 1;
    pointer-events: none;
}

.cnp-article-hero-cover img {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 540px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.cnp-article-body {
    font-size: 17px;
    line-height: 1.75;
    color: #edf1f5;
    word-break: break-word;
    max-width: 100%;
}

/* Steam Widget Responsive Container */
.cnp-steam-wrap {
    width: 100%;
    max-width: 646px;
    margin: 28px auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #171a21;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.cnp-steam-wrap iframe,
iframe.steam-embed {
    display: block;
    border: none;
    max-width: none;
}

@media (max-width: 680px) {
    .cnp-steam-wrap {
        margin: 20px auto;
    }
}

.cnp-article-body p {
    margin-top: 0;
    margin-bottom: 22px;
}

.cnp-article-body h2 {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.25;
    margin: 40px 0 18px;
    color: #ffffff;
}

.cnp-article-body h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 32px 0 14px;
    color: #ffffff;
}

.cnp-article-body blockquote {
    margin: 28px 0;
    padding: 16px 24px;
    border-left: 3px solid var(--cnp-yellow);
    background: rgba(255, 212, 0, 0.03);
    border-radius: 0 8px 8px 0;
    font-size: 19px;
    line-height: 1.6;
    color: #ffffff;
    font-style: italic;
}

.cnp-article-body ul, .cnp-article-body ol {
    margin: 0 0 24px 20px;
    padding: 0;
}

.cnp-article-body li {
    margin-bottom: 8px;
}

.cnp-article-body a {
    color: var(--cnp-yellow);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cnp-article-body a:hover {
    color: var(--cnp-yellow-hover);
}

/* Article Tags */
.cnp-article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 36px 0;
    padding-top: 24px;
    border-top: 1px solid var(--cnp-border);
}

.cnp-tag-pill {
    padding: 4px 12px;
    background: var(--cnp-surface2);
    border: 1px solid var(--cnp-border);
    border-radius: 20px;
    font-size: 13px;
    color: var(--cnp-secondary);
    transition: 0.2s;
}

.cnp-tag-pill:hover {
    color: #05080c;
    background: var(--cnp-yellow);
    border-color: var(--cnp-yellow);
}

/* Related Posts */
.cnp-related-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--cnp-border);
}

.cnp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.cnp-related-card {
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-card);
    background: var(--cnp-surface);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s, border-color 0.2s;
}

.cnp-related-card:hover {
    transform: translateY(-2px);
    border-color: var(--cnp-border-hover);
}

.cnp-related-thumb {
    height: 140px;
    background: #111822;
}

.cnp-related-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cnp-related-info {
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cnp-related-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #ffffff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnp-related-card:hover .cnp-related-title {
    color: var(--cnp-yellow);
}

/* ========================================================
   COMMENTS SECTION
   ======================================================== */
.cnp-comments-section {
    margin-top: 50px;
    padding-top: 36px;
    border-top: 1px solid var(--cnp-border);
}

.cnp-comments-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.cnp-comment-item {
    border: 1px solid var(--cnp-border);
    background: var(--cnp-surface);
    border-radius: var(--cnp-radius-card);
    padding: 18px;
}

.cnp-comment-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.cnp-comment-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
}

.cnp-comment-author {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.cnp-comment-date {
    font-size: 12px;
    color: var(--cnp-muted);
}

.cnp-comment-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--cnp-secondary);
}

.cnp-comment-form-box {
    border: 1px solid var(--cnp-border);
    background: var(--cnp-surface);
    border-radius: var(--cnp-radius-card);
    padding: 24px;
}

.cnp-comment-form-box input,
.cnp-comment-form-box textarea {
    width: 100%;
    background: #05080c;
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-btn);
    padding: 12px 16px;
    color: #ffffff;
    font-family: inherit;
    font-size: 14px;
    margin-bottom: 14px;
    outline: none;
}

.cnp-comment-form-box input:focus,
.cnp-comment-form-box textarea:focus {
    border-color: var(--cnp-yellow);
}

.cnp-comment-submit {
    background: var(--cnp-yellow);
    color: #05080c;
    font-weight: 800;
    border: none;
    padding: 12px 24px;
    border-radius: var(--cnp-radius-btn);
    cursor: pointer;
    transition: background 0.2s;
}

.cnp-comment-submit:hover {
    background: var(--cnp-yellow-hover);
}

/* ========================================================
   PAGINATION
   ======================================================== */
.cnp-pagination,
.cnp-pagination .nav-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: transparent !important;
    border: none !important;
}

.cnp-pagination .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Reset ul / li completely in case WP outputs list */
.cnp-pagination ul,
.cnp-pagination ul.page-numbers {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    gap: 8px !important;
    align-items: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.cnp-pagination ul li {
    list-style: none !important;
    list-style-type: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
}

/* Individual page items: a, span */
.cnp-pagination a.page-numbers,
.cnp-pagination span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    border: 1px solid var(--cnp-border);
    border-radius: var(--cnp-radius-btn);
    background: var(--cnp-surface);
    color: var(--cnp-secondary);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
    user-select: none;
}

.cnp-pagination a.page-numbers:hover {
    background: var(--cnp-yellow);
    color: #05080c;
    border-color: var(--cnp-yellow);
    transform: translateY(-1px);
}

.cnp-pagination span.page-numbers.current {
    background: var(--cnp-yellow);
    color: #05080c;
    border-color: var(--cnp-yellow);
    cursor: default;
}

.cnp-pagination span.page-numbers.dots {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--cnp-muted);
    cursor: default;
    min-width: 24px;
    padding: 0 4px;
}

/* ========================================================
   FOOTER
   ======================================================== */
.cnp-footer {
    border-top: 1px solid var(--cnp-border);
    background: var(--cnp-header);
    padding: 50px 0 35px;
    color: var(--cnp-secondary);
    margin-top: 80px;
}

.cnp-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.cnp-footer-brand h3 {
    margin: 0 0 10px;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
}

.cnp-footer-col h4 {
    margin: 0 0 16px;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.cnp-footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
}

.cnp-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 13px;
    color: var(--cnp-muted);
}

/* ========================================================
   RESPONSIVE BREAKPOINTS
   ======================================================== */
@media (max-width: 960px) {
    .cnp-hero-grid {
        grid-template-columns: 1fr;
    }
    .cnp-hero-main {
        height: 420px;
        min-height: 420px;
    }
    .cnp-hero-side {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
        height: auto;
    }
    .cnp-hero-small {
        height: 220px;
        min-height: 220px;
    }
    .cnp-layout {
        grid-template-columns: 1fr;
    }
    .cnp-related-grid {
        grid-template-columns: 1fr 1fr;
    }
    .cnp-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .cnp-topbar-actions {
        display: none;
    }
    .cnp-nav-bar {
        display: none;
    }
    .cnp-burger {
        display: flex;
    }
    .cnp-hero-grid {
        margin-top: 18px;
    }
    .cnp-hero-side {
        display: none;
    }
    .cnp-hero-main {
        height: 360px;
        min-height: 360px;
    }
    .cnp-hero-content {
        left: 20px;
        right: 20px;
        bottom: 20px;
        gap: 8px;
    }
    .cnp-hero-main .cnp-hero-title {
        font-size: 24px;
        line-height: 1.2;
    }
    .cnp-article-title {
        font-size: 28px;
    }
    .cnp-card {
        grid-template-columns: 120px 1fr;
        gap: 12px;
        padding: 10px;
    }
    .cnp-card-thumb {
        height: 95px;
    }
    .cnp-card-excerpt {
        display: none;
    }
    .cnp-card-title {
        font-size: 15px;
    }
    .cnp-related-grid {
        grid-template-columns: 1fr;
    }
    .cnp-footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .cnp-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        width: calc(100% - 24px);
    }
    .cnp-hero-main {
        height: 300px;
        min-height: 300px;
    }
    .cnp-hero-content {
        left: 14px;
        right: 14px;
        bottom: 14px;
    }
    .cnp-hero-main .cnp-hero-title {
        font-size: 19px;
    }
    .cnp-card {
        grid-template-columns: 100px 1fr;
        gap: 10px;
        padding: 8px;
    }
    .cnp-card-thumb {
        height: 80px;
    }
    .cnp-card-title {
        font-size: 14px;
        line-height: 1.2;
    }
    .cnp-brand {
        font-size: 18px;
    }
}

/* ========================================================
   RESPONSIVE STEAM EMBED WIDGETS
   ======================================================== */
.cnp-article-body {
    max-width: 100%;
    overflow-wrap: break-word;
}

.cnp-steam-wrap {
    position: relative;
    max-width: 100%;
    margin: 24px 0;
    border-radius: 8px;
    overflow: hidden;
    background: #171a21;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    display: inline-block;
    vertical-align: top;
}

.cnp-steam-wrap iframe {
    display: block;
    border: none;
    max-width: none;
}

/* ========================================================
   ARTICLE CALLOUT BOXES & HIGHLIGHTS (ЧЁРНЫЕ ПЛАШКИ)
   ======================================================== */
.cnp-article-body div[style*="border-left"],
.cnp-article-body blockquote,
.cnp-article-body .wp-block-quote,
.cnp-article-body .wp-block-pullquote,
.cnp-article-body div[style*="background-color: #f"],
.cnp-article-body div[style*="background-color: #F"],
.cnp-article-body div[style*="background: #f"],
.cnp-article-body div[style*="background: #F"],
.cnp-article-body div[style*="background-color: #fff"],
.cnp-article-body div[style*="background-color: #FFF"],
.cnp-article-body div[style*="background: #fff"],
.cnp-article-body div[style*="background: #FFF"],
.cnp-article-body div[style*="background-color: white"],
.cnp-article-body div[style*="background: white"],
.cnp-article-body div[style*="rgb(248, 249, 250)"],
.cnp-article-body div[style*="rgb(255, 255, 255)"],
.cnp-article-body blockquote[style*="background"] {
    background: #171c23 !important;
    background-color: #171c23 !important;
    color: #e2e8f0 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35) !important;
    padding: 18px 22px !important;
    margin: 24px 0 !important;
}

.cnp-article-body div[style*="border-left"] p,
.cnp-article-body div[style*="border-left"] span,
.cnp-article-body div[style*="border-left"] li,
.cnp-article-body div[style*="background-color: #f"] p,
.cnp-article-body div[style*="background-color: #fff"] p {
    color: #e2e8f0 !important;
    font-size: 15px;
    line-height: 1.65;
}

.cnp-article-body div[style*="border-left"] strong,
.cnp-article-body div[style*="border-left"] b,
.cnp-article-body div[style*="border-left"] h3,
.cnp-article-body div[style*="border-left"] h4,
.cnp-article-body div[style*="background-color: #f"] strong,
.cnp-article-body div[style*="background-color: #fff"] strong {
    color: #ffffff !important;
}

.cnp-article-body div[style*="border-left"] a,
.cnp-article-body div[style*="background-color: #f"] a,
.cnp-article-body div[style*="background-color: #fff"] a {
    color: var(--cnp-yellow) !important;
    text-decoration: underline;
}

/* CrunchCore Modern Callout Boxes */
.cnp-article-body .article-callout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 22px;
    margin: 28px 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #141924;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}
.cnp-article-body .article-callout.callout-note {
    background: rgba(255, 216, 0, 0.04);
    border-left: 4px solid var(--cnp-yellow, #ffd800);
}
.cnp-article-body .article-callout.callout-warning {
    background: rgba(245, 158, 11, 0.06);
    border-left: 4px solid #f59e0b;
}
.cnp-article-body .article-callout .callout-icon {
    font-size: 22px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.cnp-article-body .article-callout .callout-body {
    flex: 1;
}
.cnp-article-body .article-callout .callout-body strong {
    color: #ffffff !important;
    font-size: 15px;
    display: block;
    margin-bottom: 4px;
}
.cnp-article-body .article-callout .callout-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
    color: #cbd5e1;
}

/* Spoiler / Details Disclosure */
.cnp-article-body .article-spoiler {
    background: #111622;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin: 28px 0;
    overflow: hidden;
}
.cnp-article-body .article-spoiler summary {
    padding: 12px 18px;
    background: #151c2b;
    color: var(--cnp-yellow, #ffd800);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.15s;
}
.cnp-article-body .article-spoiler summary::-webkit-details-marker {
    display: none;
}
.cnp-article-body .article-spoiler summary:hover {
    background: #1a2233;
}
.cnp-article-body .article-spoiler summary::before {
    content: '▶';
    font-size: 10px;
    transition: transform 0.2s ease;
    display: inline-block;
}
.cnp-article-body .article-spoiler[open] summary::before {
    transform: rotate(90deg);
}
.cnp-article-body .article-spoiler .spoiler-body {
    padding: 16px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: #0d121c;
}
.cnp-article-body .article-spoiler .spoiler-body p {
    margin: 0;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.65;
}

/* Article Lead Quote */
.cnp-article-body .article-lead-quote {
    background: rgba(255, 216, 0, 0.04) !important;
    border-left: 4px solid var(--cnp-yellow, #ffd800) !important;
    border-radius: 0 10px 10px 0 !important;
    padding: 20px 26px !important;
    margin: 32px 0 !important;
}
.cnp-article-body .article-lead-quote p {
    font-size: 17px !important;
    font-style: italic !important;
    line-height: 1.7 !important;
    color: #f1f5f9 !important;
    margin-bottom: 8px !important;
}
.cnp-article-body .article-lead-quote cite {
    display: block;
    font-size: 13px;
    color: var(--cnp-muted);
    font-style: normal;
}

/* Pros & Cons Table Styling */
.cnp-article-body .pros-cons-table {
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    background: #0d121c !important;
    border-radius: 10px !important;
    overflow: hidden !important;
    margin: 32px 0 !important;
    width: 100% !important;
}
.cnp-article-body .pros-cons-table td {
    padding: 18px 24px !important;
    border: none !important;
    vertical-align: top !important;
}
.cnp-article-body .pros-cons-table td:first-child {
    background: rgba(16, 185, 129, 0.05) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
}
.cnp-article-body .pros-cons-table td:last-child {
    background: rgba(239, 68, 68, 0.05) !important;
}
@media (max-width: 640px) {
    .cnp-article-body .pros-cons-table tr {
        display: flex;
        flex-direction: column;
    }
    .cnp-article-body .pros-cons-table td {
        display: block;
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
}

/* ========================================================
   MODERN CRUNCHCORE PAGINATION (MATCHING USER SCREENSHOT)
   ======================================================== */
.cnp-pagination-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 36px 0 20px;
    flex-wrap: wrap;
}

.cnp-page-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cnp-page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    background: #141b27;
    color: #f0f3f8;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
    cursor: pointer;
}

.cnp-page-btn:hover {
    background: #1d2636;
    border-color: rgba(255, 216, 0, 0.4);
    color: #ffffff;
    transform: translateY(-1px);
}

.cnp-page-btn.cnp-page-active {
    background: #ffd800 !important;
    color: #000000 !important;
    border-color: #ffd800 !important;
    font-weight: 700 !important;
    cursor: default;
    transform: none !important;
    box-shadow: 0 2px 10px rgba(255, 216, 0, 0.25);
}

.cnp-page-nav {
    padding: 0 18px;
    font-size: 14px;
    font-weight: 600;
}

.cnp-page-dots {
    color: #8c9ba5;
    font-weight: 700;
    font-size: 16px;
    padding: 0 6px;
    user-select: none;
}

/* ========================================================
   CATEGORY HERO & SUBCATEGORY PILLS
   ======================================================== */
.cnp-category-header {
    background: #12161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
}

.cnp-category-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--cat-accent, #ffd800);
}

.cnp-subcategory-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.cnp-subcat-pill {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.cnp-subcat-pill:hover,
.cnp-subcat-pill.active {
    background: var(--cnp-yellow, #ffd800);
    color: #000;
    border-color: var(--cnp-yellow, #ffd800);
    font-weight: 700;
}

/* ========================================================
   SEARCH LIVE SUGGESTIONS DROPDOWN
   ======================================================== */
.search-suggest-box {
    background: #121620;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    max-height: 380px;
    overflow-y: auto;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
}

.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    text-decoration: none;
    color: #f0f3f8;
    transition: background 0.15s ease;
}

.search-suggest-item:hover {
    background: rgba(255, 216, 0, 0.1);
}

.search-suggest-item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.search-suggest-item:last-child {
    border-bottom: none;
}

/* ========================================================
   CRUNCHHUB GAME CATALOG & PASSPORTS
   ======================================================== */
.cnp-hub-header {
    background: linear-gradient(180deg, rgba(255, 216, 0, 0.08) 0%, rgba(18, 22, 31, 0) 100%), #12161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px 32px;
    margin-bottom: 28px;
}

.cnp-hub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cnp-hub-input {
    background: #090c12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
    flex: 1;
    min-width: 220px;
}
.cnp-hub-input:focus {
    border-color: var(--cnp-accent);
}

.cnp-hub-select {
    background: #090c12;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    color: #fff;
    font-size: 14px;
    outline: none;
    cursor: pointer;
}

.cnp-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 22px;
}

.cnp-game-card {
    background: #12161f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    position: relative;
}

.cnp-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--cnp-accent, #ffd800);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.cnp-game-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    background: #090c12;
}

.cnp-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cnp-game-card:hover .cnp-game-thumb img {
    transform: scale(1.04);
}

.cnp-game-score {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(16, 185, 129, 0.9);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}

.cnp-game-date-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    backdrop-filter: blur(4px);
}
.cnp-game-date-badge.released {
    background: rgba(18, 22, 31, 0.85);
    color: #94a3b8;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.cnp-game-date-badge.upcoming {
    background: rgba(255, 216, 0, 0.9);
    color: #000;
}

.cnp-game-info {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.cnp-game-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cnp-game-sub {
    font-size: 12px;
    color: var(--cnp-secondary, #8c9ba5);
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Game Passport Detail styles */
.cnp-game-hero {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #12161f;
    border: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 32px;
}

.cnp-game-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(12px) brightness(0.2);
    transform: scale(1.08);
}

.cnp-game-hero-content {
    position: relative;
    padding: 36px 32px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

@media (max-width: 768px) {
    .cnp-game-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 16px;
    }
}

.cnp-game-poster {
    width: 240px;
    aspect-ratio: 2 / 3;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* ========================================================
   CRUNCHCORE NATIVE GALLERY & LIGHTBOX
   ======================================================== */
.cnp-zoomable-image {
    cursor: zoom-in;
    position: relative;
    transition: transform 0.2s ease, filter 0.2s ease, opacity 0.2s ease;
}

.cnp-zoomable-image:hover {
    filter: brightness(1.04);
}

/* Hover zoom badge on article cover and images */
.cnp-article-hero-cover {
    cursor: zoom-in;
}

.cnp-article-hero-cover:hover img {
    transform: scale(1.015);
    transition: transform 0.3s ease;
}

/* 1. Native CrunchCore Galleries */
.cnp-gallery {
    display: grid;
    gap: 16px;
    margin: 32px 0;
    width: 100%;
}

.cnp-gallery.columns-1 { grid-template-columns: 1fr; }
.cnp-gallery.columns-2 { grid-template-columns: repeat(2, 1fr); }
.cnp-gallery.columns-3 { grid-template-columns: repeat(3, 1fr); }
.cnp-gallery.columns-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 768px) {
    .cnp-gallery.columns-3,
    .cnp-gallery.columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .cnp-gallery.columns-2,
    .cnp-gallery.columns-3,
    .cnp-gallery.columns-4 {
        grid-template-columns: 1fr;
    }
}

.cnp-gallery-item {
    margin: 0;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #090c12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.cnp-gallery-item:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 216, 0, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.cnp-gallery-thumb {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    cursor: zoom-in;
    background: #111622;
}

.cnp-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cnp-gallery-item:hover .cnp-gallery-thumb img {
    transform: scale(1.05);
}

.cnp-gallery-caption {
    font-size: 13px;
    color: var(--cnp-secondary, #8c9ba5);
    padding: 10px 14px;
    background: rgba(14, 18, 26, 0.85);
    line-height: 1.4;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* 2. Lightbox Modal Overlay */
.cnp-lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(4, 6, 10, 0.95);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    user-select: none;
}

.cnp-lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.cnp-lightbox-container {
    position: relative;
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cnp-lightbox-img {
    max-width: 92vw;
    max-height: 82vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.2s ease;
}

.cnp-lightbox-caption {
    margin-top: 14px;
    font-size: 14px;
    font-weight: 500;
    color: #f1f5f9;
    text-align: center;
    max-width: 800px;
    background: rgba(0, 0, 0, 0.6);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cnp-lightbox-caption:empty {
    display: none;
}

/* Lightbox Controls */
.cnp-lightbox-close,
.cnp-lightbox-prev,
.cnp-lightbox-next {
    position: absolute;
    background: rgba(20, 26, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 50%;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.2s ease;
    z-index: 100000;
}

.cnp-lightbox-close:hover,
.cnp-lightbox-prev:hover,
.cnp-lightbox-next:hover {
    background: var(--cnp-yellow, #ffd800);
    color: #000000;
    border-color: var(--cnp-yellow, #ffd800);
    transform: scale(1.08);
}

.cnp-lightbox-close {
    top: 20px;
    right: 24px;
}

.cnp-lightbox-prev {
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.cnp-lightbox-prev:hover {
    transform: translateY(-50%) scale(1.08);
}

.cnp-lightbox-next {
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.cnp-lightbox-next:hover {
    transform: translateY(-50%) scale(1.08);
}

.cnp-lightbox-counter {
    position: absolute;
    top: 24px;
    left: 28px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 13px;
    font-weight: 700;
    background: rgba(20, 26, 38, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    z-index: 100000;
}

@media (max-width: 768px) {
    .cnp-lightbox-prev,
    .cnp-lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    .cnp-lightbox-prev { left: 10px; }
    .cnp-lightbox-next { right: 10px; }
    .cnp-lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
    .cnp-lightbox-counter { top: 14px; left: 14px; }
}

/* ========================================================
   ARTICLE & PAGE BODY TABLES & FIGURES STYLING
   ======================================================== */
.cnp-article-body table,
.cnp-page-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 28px 0;
    font-size: 15px;
    background: #0d111a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.cnp-article-body th,
.cnp-article-body td,
.cnp-page-body th,
.cnp-page-body td {
    padding: 12px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
}

.cnp-article-body th,
.cnp-page-body th {
    background: #141924;
    color: var(--cnp-yellow, #ffd800);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cnp-article-body tr:last-child td,
.cnp-page-body tr:last-child td {
    border-bottom: none;
}

.cnp-article-body tr:hover td,
.cnp-page-body tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.cnp-article-body figure,
.cnp-page-body figure {
    margin: 28px 0;
}

.cnp-article-body figure img,
.cnp-page-body figure img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.cnp-article-body figure figcaption,
.cnp-page-body figure figcaption {
    font-size: 13px;
    color: var(--cnp-secondary, #8c9ba5);
    margin-top: 8px;
    text-align: center;
    font-style: italic;
}

/* --- Sovereign Vector SVG Icons --- */
.cnp-icon {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.15em;
    fill: currentColor;
    flex-shrink: 0;
}
.cnp-icon-stroke {
    width: 1em;
    height: 1em;
    display: inline-block;
    vertical-align: -0.15em;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ========================================================
   1. SKELETON SHIMMER LOADING SYSTEM (StopGame style)
   ======================================================== */
@keyframes cnpShimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.cnp-skeleton {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.03) 0%,
        rgba(255, 255, 255, 0.09) 50%,
        rgba(255, 255, 255, 0.03) 100%
    );
    background-size: 200% 100%;
    animation: cnpShimmer 1.6s ease-in-out infinite;
    border-radius: 6px;
    display: block;
}

.cnp-skeleton-text {
    height: 14px;
    margin-bottom: 8px;
    border-radius: 4px;
}

.cnp-skeleton-text.short {
    width: 35%;
}

.cnp-skeleton-text.medium {
    width: 65%;
}

.cnp-skeleton-text.full {
    width: 100%;
}

.cnp-skeleton-circle {
    border-radius: 50% !important;
    flex-shrink: 0;
}

/* Skeleton Comment Item */
.cnp-skeleton-comment {
    display: flex;
    gap: 14px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cnp-skeleton-comment .avatar {
    width: 42px;
    height: 42px;
}

.cnp-skeleton-comment .body {
    flex: 1;
    min-width: 0;
}

/* Skeleton Game Poster Card */
.cnp-skeleton-game {
    background: #111622;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.cnp-skeleton-game .poster {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 0;
}

.cnp-skeleton-game .info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Skeleton Notification Item */
.cnp-skeleton-notification {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: flex-start;
}

.cnp-skeleton-notification .icon {
    width: 28px;
    height: 28px;
}

.cnp-skeleton-notification .info {
    flex: 1;
    min-width: 0;
}

/* ========================================================
   2. SLIDING TAB INDICATOR (StopGame style)
   ======================================================== */
.cnp-sliding-indicator {
    position: absolute;
    bottom: -1px;
    height: 3px;
    background: var(--cnp-yellow, #ffd400);
    border-radius: 3px 3px 0 0;
    box-shadow: 0 0 14px rgba(255, 212, 0, 0.65);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    pointer-events: none;
    z-index: 3;
}

.cnp-nav-indicator {
    position: absolute;
    bottom: 0;
    height: 2px;
    background: var(--cnp-yellow, #ffd400);
    border-radius: 2px 2px 0 0;
    box-shadow: 0 0 10px rgba(255, 212, 0, 0.6);
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), width 0.28s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
    pointer-events: none;
    opacity: 0;
    z-index: 2;
}


