/*
Theme Name: ComicsBaaz
Theme URI: https://comicsbaaz.com
Author: ComicsBaaz Studio
Author URI: https://comicsbaaz.com
Description: Next-gen Graphic Novel & Indian Comics Universe WordPress Theme. Features Comic Halftone Panels, Skewed Action Ribbons, Breaking Ticker, Interactive Hero Showcase, 4-Column Reviews with Verdict Scores, Creator Spotlight, Trending Strip, and full WordPress Customizer controls.
Version: 0.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: comicsbaaz
*/

:root {
    --cb-obsidian: #090a0f;
    --cb-panel-dark: #11131a;
    --cb-surface: #ffffff;
    --cb-paper: #f3f1eb;
    --cb-yellow: #ffd60a;
    --cb-yellow-deep: #f5b700;
    --cb-crimson: #e63946;
    --cb-cyan: #00b4d8;
    --cb-ink: #0f1117;
    --cb-muted: #5b616e;
    --cb-border: #14161f;
    --cb-font-comic: 'Bangers', Impact, sans-serif;
    --cb-font-condensed: 'Barlow Condensed', 'Oswald', sans-serif;
    --cb-font-body: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--cb-font-body);
    background-color: var(--cb-paper);
    background-image: radial-gradient(rgba(15, 17, 23, 0.06) 1px, transparent 1px);
    background-size: 16px 16px;
    color: var(--cb-ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.25, 0.8, 0.25, 1);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.cb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 22px;
}

/* ================= 1. BREAKING COMIC TICKER ================= */
.cb-topbar {
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    border-bottom: 3px solid var(--cb-obsidian);
    font-size: 13px;
    font-weight: 800;
}

.cb-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    gap: 16px;
}

.cb-ticker-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow: hidden;
    flex: 1;
}

.cb-flash-badge {
    background: var(--cb-crimson);
    color: #ffffff;
    font-family: var(--cb-font-condensed);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 2px 10px;
    transform: skewX(-12deg);
    flex-shrink: 0;
    box-shadow: 2px 2px 0 var(--cb-obsidian);
}

.cb-flash-badge span {
    display: inline-block;
    transform: skewX(12deg);
}

.cb-ticker-link {
    font-weight: 800;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cb-ticker-link:hover {
    text-decoration: underline;
}

.cb-topbar-date {
    font-family: var(--cb-font-condensed);
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    flex-shrink: 0;
}

/* ================= 2. HEADER ================= */
.cb-header {
    background: var(--cb-obsidian);
    color: #ffffff;
    border-bottom: 4px solid var(--cb-obsidian);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 999;
}

.cb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 84px;
    gap: 20px;
}

.cb-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.cb-mascot-frame {
    width: 64px;
    height: 64px;
    background: var(--cb-yellow);
    border: 3px solid #ffffff;
    border-radius: 12px;
    overflow: hidden;
    transform: rotate(-3deg);
    box-shadow: 4px 4px 0 var(--cb-crimson);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.cb-brand:hover .cb-mascot-frame {
    transform: rotate(0deg) scale(1.04);
}

.cb-mascot-frame img,
.cb-mascot-frame svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-logo-stack {
    display: flex;
    flex-direction: column;
}

.cb-logo-wordmark {
    font-family: var(--cb-font-comic);
    font-size: 42px;
    line-height: 0.92;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 3px 3px 0 #000000;
}

.cb-logo-wordmark span {
    color: var(--cb-yellow);
}

.cb-logo-sub {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    color: #9ca3af;
    margin-top: 4px;
}

/* Main Navigation */
.cb-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cb-nav ul li {
    position: relative;
}

.cb-nav ul li a {
    font-family: var(--cb-font-condensed);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #f3f4f6;
    padding: 8px 14px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cb-nav ul li a:hover,
.cb-nav ul li.current-menu-item > a {
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    box-shadow: 3px 3px 0 var(--cb-crimson);
}

.cb-nav ul li.menu-item-has-children > a::after {
    content: '▾';
    font-size: 12px;
}

.cb-nav ul ul {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--cb-panel-dark);
    border: 2px solid var(--cb-yellow);
    border-radius: 8px;
    min-width: 210px;
    flex-direction: column;
    align-items: stretch;
    padding: 6px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
}

.cb-nav ul li:hover > ul {
    display: flex;
}

.cb-nav ul ul li a {
    font-size: 15px;
    padding: 9px 12px;
    box-shadow: none !important;
}

/* Header Right Controls */
.cb-header-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #1a1d27;
    border: 2px solid #2e3344;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.cb-icon-btn:hover {
    background: var(--cb-yellow);
    border-color: var(--cb-yellow);
    color: var(--cb-obsidian);
}

.cb-social-pill-group {
    display: flex;
    align-items: center;
    gap: 7px;
}

.cb-social-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #ffffff;
    color: var(--cb-obsidian);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.cb-social-btn:hover {
    background: var(--cb-yellow);
    transform: translateY(-2px);
}

.cb-mobile-btn {
    display: none;
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    border: none;
    font-weight: 900;
    font-size: 20px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.cb-search-drawer {
    display: none;
    background: var(--cb-panel-dark);
    padding: 16px 0;
    border-top: 2px solid #232734;
}

.cb-search-drawer.open {
    display: block;
}

.cb-search-box {
    display: flex;
    max-width: 660px;
    margin: 0 auto;
    gap: 10px;
}

.cb-search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #374151;
    border-radius: 8px;
    background: var(--cb-obsidian);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}

.cb-search-box input:focus {
    outline: none;
    border-color: var(--cb-yellow);
}

.cb-search-box button {
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    font-family: var(--cb-font-condensed);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 0 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* ================= 3. MAGAZINE HERO SHOWCASE ================= */
.cb-hero-section {
    padding: 26px 0 12px;
}

.cb-hero-grid {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 20px;
    align-items: stretch;
}

.cb-hero-main {
    position: relative;
    border: 3px solid var(--cb-obsidian);
    border-radius: 14px;
    overflow: hidden;
    min-height: 450px;
    background: var(--cb-obsidian);
    box-shadow: 7px 7px 0 var(--cb-obsidian);
}

.cb-hero-slide {
    display: none;
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    padding: 36px;
    flex-direction: column;
    justify-content: flex-end;
}

.cb-hero-slide.active {
    display: flex;
}

.cb-hero-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(15deg, rgba(9, 10, 15, 0.96) 0%, rgba(9, 10, 15, 0.72) 52%, rgba(9, 10, 15, 0.15) 100%);
    background-size: 14px 14px, 100% 100%;
}

.cb-hero-slide-inner {
    position: relative;
    z-index: 2;
    max-width: 580px;
    color: #ffffff;
}

.cb-comic-tag {
    display: inline-block;
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    font-family: var(--cb-font-condensed);
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 4px 14px;
    border: 2px solid var(--cb-obsidian);
    box-shadow: 3px 3px 0 var(--cb-crimson);
    margin-bottom: 14px;
}

.cb-comic-tag.red {
    background: var(--cb-crimson);
    color: #ffffff;
    box-shadow: 3px 3px 0 var(--cb-yellow);
}

.cb-hero-heading {
    font-family: var(--cb-font-condensed);
    font-size: 46px;
    font-weight: 800;
    font-style: italic;
    line-height: 1.05;
    text-transform: uppercase;
    margin-bottom: 12px;
    text-shadow: 2px 3px 0 #000000;
}

.cb-hero-heading span {
    color: var(--cb-yellow);
}

.cb-hero-desc {
    font-size: 15px;
    color: #e5e7eb;
    margin-bottom: 22px;
    max-width: 490px;
}

.cb-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    font-family: var(--cb-font-condensed);
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 11px 24px;
    border: 2px solid var(--cb-obsidian);
    border-radius: 8px;
    box-shadow: 4px 4px 0 #ffffff;
}

.cb-action-btn:hover {
    background: #ffffff;
    box-shadow: 4px 4px 0 var(--cb-yellow);
    transform: translate(-1px, -1px);
}

.cb-slider-nav {
    position: absolute;
    bottom: 24px;
    right: 24px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cb-slider-btn {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(9, 10, 15, 0.85);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.35);
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

.cb-slider-btn:hover {
    background: var(--cb-yellow);
    border-color: var(--cb-obsidian);
    color: var(--cb-obsidian);
}

/* Hero Right Side Stacked Panels */
.cb-hero-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cb-side-panel {
    position: relative;
    flex: 1;
    min-height: 215px;
    border: 3px solid var(--cb-obsidian);
    border-radius: 14px;
    overflow: hidden;
    background: var(--cb-obsidian);
    box-shadow: 6px 6px 0 var(--cb-obsidian);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
}

.cb-side-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cb-side-panel:hover img {
    transform: scale(1.06);
}

.cb-side-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(9, 10, 15, 0.95) 0%, rgba(9, 10, 15, 0.45) 60%, transparent 100%);
}

.cb-side-panel-content {
    position: relative;
    z-index: 2;
    color: #ffffff;
}

.cb-side-panel-title {
    font-family: var(--cb-font-condensed);
    font-size: 23px;
    font-weight: 800;
    line-height: 1.15;
    margin-top: 8px;
}

.cb-side-panel:hover .cb-side-panel-title {
    color: var(--cb-yellow);
}

/* ================= 4. COMIC PANEL SECTION HEADERS ================= */
.cb-section {
    padding: 34px 0 6px;
}

.cb-bar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    border-bottom: 3px solid var(--cb-obsidian);
    padding-bottom: 10px;
}

.cb-bar-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cb-bar-ribbon {
    background: var(--cb-obsidian);
    color: #ffffff;
    font-family: var(--cb-font-condensed);
    font-size: 24px;
    font-weight: 800;
    font-style: italic;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 22px;
    transform: skewX(-12deg);
    border-left: 6px solid var(--cb-yellow);
    box-shadow: 4px 4px 0 var(--cb-crimson);
}

.cb-bar-ribbon span {
    display: inline-block;
    transform: skewX(12deg);
}

.cb-bar-link {
    font-family: var(--cb-font-condensed);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    background: #ffffff;
    color: var(--cb-obsidian);
    border: 2px solid var(--cb-obsidian);
    padding: 5px 14px;
    border-radius: 6px;
    box-shadow: 3px 3px 0 var(--cb-obsidian);
}

.cb-bar-link:hover {
    background: var(--cb-yellow);
    transform: translate(-1px, -1px);
}

/* ================= 5. LATEST NEWS CARDS ================= */
.cb-news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.cb-comic-card {
    background: var(--cb-surface);
    border: 3px solid var(--cb-obsidian);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 6px 6px 0 var(--cb-obsidian);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cb-comic-card:hover {
    transform: translate(-2px, -3px);
    box-shadow: 8px 9px 0 var(--cb-crimson);
}

.cb-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--cb-obsidian);
    border-bottom: 3px solid var(--cb-obsidian);
    overflow: hidden;
}

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

.cb-comic-card:hover .cb-card-media img {
    transform: scale(1.05);
}

.cb-card-cat {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    font-family: var(--cb-font-condensed);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 3px 10px;
    border: 2px solid var(--cb-obsidian);
    box-shadow: 2px 2px 0 var(--cb-obsidian);
}

.cb-card-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cb-card-title {
    font-size: 19px;
    font-weight: 800;
    line-height: 1.32;
    margin-bottom: 10px;
}

.cb-card-title a:hover {
    color: var(--cb-crimson);
}

.cb-card-excerpt {
    font-size: 14px;
    color: var(--cb-muted);
    margin-bottom: 16px;
}

.cb-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dashed #d1d5db;
    font-size: 12px;
    font-weight: 700;
    color: var(--cb-muted);
}

/* ================= 6. REVIEWS & CREATOR SPOTLIGHT ================= */
.cb-split-layout {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.cb-reviews-panel {
    background: var(--cb-surface);
    border: 3px solid var(--cb-obsidian);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 6px 6px 0 var(--cb-obsidian);
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
}

.cb-review-hero {
    position: relative;
    border: 2px solid var(--cb-obsidian);
    border-radius: 10px;
    overflow: hidden;
    min-height: 330px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: var(--cb-obsidian);
}

.cb-review-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-review-hero-overlay {
    position: relative;
    z-index: 2;
    padding: 18px;
    background: linear-gradient(to top, rgba(9, 10, 15, 0.96) 0%, rgba(9, 10, 15, 0.65) 60%, transparent 100%);
    color: #ffffff;
}

.cb-score-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    font-family: var(--cb-font-condensed);
    font-size: 16px;
    font-weight: 800;
    padding: 3px 10px;
    border: 2px solid var(--cb-obsidian);
    border-radius: 6px;
}

.cb-stars {
    color: var(--cb-yellow);
    font-size: 15px;
    letter-spacing: 1px;
}

.cb-review-stack {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
}

.cb-review-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
    border: 2px solid #e5e7eb;
    border-radius: 9px;
    background: #fafafa;
    transition: border-color 0.2s, transform 0.2s;
}

.cb-review-item:hover {
    border-color: var(--cb-obsidian);
    transform: translateX(3px);
}

.cb-review-thumb {
    width: 74px;
    height: 74px;
    border-radius: 7px;
    border: 2px solid var(--cb-obsidian);
    overflow: hidden;
    flex-shrink: 0;
}

.cb-review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-review-item-title {
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 5px;
}

.cb-review-item-title a:hover {
    color: var(--cb-crimson);
}

/* Creator Spotlight Feature */
.cb-spotlight-panel {
    position: relative;
    border: 3px solid var(--cb-obsidian);
    border-radius: 12px;
    overflow: hidden;
    min-height: 365px;
    background: var(--cb-obsidian);
    box-shadow: 6px 6px 0 var(--cb-obsidian);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cb-spotlight-panel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.cb-spotlight-panel:hover img {
    transform: scale(1.04);
}

.cb-spotlight-info {
    position: relative;
    z-index: 2;
    padding: 24px;
    background: linear-gradient(to top, rgba(9, 10, 15, 0.97) 0%, rgba(9, 10, 15, 0.65) 58%, transparent 100%);
    color: #ffffff;
}

.cb-spotlight-name {
    font-family: var(--cb-font-condensed);
    font-size: 30px;
    font-weight: 800;
    line-height: 1.1;
    margin: 8px 0 6px;
}

.cb-spotlight-name span {
    color: var(--cb-yellow);
}

.cb-spotlight-role {
    font-size: 14px;
    color: #d1d5db;
    font-weight: 600;
}

/* ================= 7. MOST VIEWED / TRENDING STRIP ================= */
.cb-trending-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cb-trend-card {
    background: var(--cb-surface);
    border: 2.5px solid var(--cb-obsidian);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--cb-obsidian);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.2s;
}

.cb-trend-card:hover {
    transform: translateY(-4px);
    box-shadow: 5px 7px 0 var(--cb-yellow-deep);
}

.cb-rank-num {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    background: var(--cb-obsidian);
    color: var(--cb-yellow);
    font-family: var(--cb-font-comic);
    font-size: 16px;
    padding: 2px 8px;
    border-radius: 5px;
    border: 1.5px solid var(--cb-yellow);
}

.cb-trend-thumb {
    aspect-ratio: 4 / 3;
    border-bottom: 2px solid var(--cb-obsidian);
    overflow: hidden;
}

.cb-trend-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cb-trend-body {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cb-trend-title {
    font-size: 14px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 8px;
}

.cb-trend-title a:hover {
    color: var(--cb-crimson);
}

.cb-trend-views {
    font-size: 12px;
    font-weight: 800;
    color: var(--cb-muted);
}

/* ================= 8. SINGLE ARTICLE & ARCHIVES ================= */
.cb-content-grid {
    display: grid;
    grid-template-columns: 2.15fr 1fr;
    gap: 28px;
    padding: 34px 0 54px;
}

.cb-article-panel {
    background: var(--cb-surface);
    border: 3px solid var(--cb-obsidian);
    border-radius: 14px;
    padding: 32px;
    box-shadow: 7px 7px 0 var(--cb-obsidian);
}

.cb-article-title {
    font-family: var(--cb-font-condensed);
    font-size: 40px;
    font-weight: 800;
    line-height: 1.1;
    margin: 14px 0;
}

.cb-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cb-muted);
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 22px;
}

.cb-article-featured-img {
    border: 3px solid var(--cb-obsidian);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}

.cb-verdict-box {
    background: var(--cb-obsidian);
    color: #ffffff;
    border: 3px solid var(--cb-yellow);
    border-radius: 10px;
    padding: 18px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.cb-prose {
    font-size: 16.5px;
    line-height: 1.78;
}

.cb-prose p {
    margin-bottom: 18px;
}

.cb-prose h2, .cb-prose h3 {
    font-family: var(--cb-font-condensed);
    font-size: 28px;
    margin: 26px 0 10px;
}

.cb-sidebar .widget {
    background: var(--cb-surface);
    border: 3px solid var(--cb-obsidian);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 5px 5px 0 var(--cb-obsidian);
    margin-bottom: 22px;
}

.cb-sidebar .widget-title {
    font-family: var(--cb-font-condensed);
    font-size: 21px;
    font-weight: 800;
    text-transform: uppercase;
    border-bottom: 3px solid var(--cb-obsidian);
    padding-bottom: 6px;
    margin-bottom: 14px;
}

/* ================= 9. FOOTER ================= */
.cb-footer {
    background: var(--cb-obsidian);
    color: #ffffff;
    margin-top: 48px;
    border-top: 5px solid var(--cb-yellow);
}

.cb-footer-grid {
    padding: 46px 0 36px;
    display: grid;
    grid-template-columns: 1.1fr 1.3fr 1.2fr;
    gap: 32px;
    align-items: center;
}

.cb-footer-mid {
    text-align: center;
    border-left: 1px solid #262936;
    border-right: 1px solid #262936;
    padding: 0 22px;
}

.cb-footer-menu {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    margin-bottom: 18px;
    font-size: 13.5px;
    font-weight: 700;
}

.cb-footer-menu li:not(:last-child)::after {
    content: '•';
    margin-left: 14px;
    color: var(--cb-yellow);
}

.cb-footer-menu a:hover {
    color: var(--cb-yellow);
}

.cb-footer-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cb-newsletter-card {
    background: var(--cb-panel-dark);
    border: 2px solid #2a2f3d;
    border-radius: 10px;
    padding: 18px;
}

.cb-newsletter-label {
    font-family: var(--cb-font-condensed);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--cb-yellow);
    margin-bottom: 10px;
}

.cb-newsletter-form {
    display: flex;
    gap: 8px;
}

.cb-newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 6px;
    border: 2px solid #374151;
    background: #ffffff;
    color: var(--cb-obsidian);
    font-size: 13.5px;
    font-weight: 600;
}

.cb-newsletter-form button {
    background: var(--cb-yellow);
    color: var(--cb-obsidian);
    font-family: var(--cb-font-condensed);
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    padding: 10px 18px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.cb-skyline {
    height: 44px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 60' preserveAspectRatio='none'%3E%3Cpath fill='%23161924' d='M0,60 L0,36 L30,36 L30,18 L65,18 L65,42 L95,42 L95,10 L130,10 L130,34 L165,34 L165,16 L205,16 L205,40 L245,40 L245,8 L290,8 L290,35 L330,35 L330,20 L375,20 L375,44 L420,44 L420,14 L465,14 L465,38 L510,38 L510,6 L560,6 L560,34 L605,34 L605,18 L650,18 L650,42 L695,42 L695,12 L740,12 L740,36 L785,36 L785,22 L830,22 L830,44 L875,44 L875,10 L920,10 L920,34 L965,34 L965,18 L1010,18 L1010,40 L1055,40 L1055,14 L1100,14 L1100,36 L1145,36 L1145,20 L1200,20 L1200,60 Z'/%3E%3C/svg%3E");
    background-repeat: repeat-x;
    background-size: 640px 44px;
}

.cb-footer-copy {
    background: #050608;
    border-top: 1px solid #1e222d;
    padding: 15px 0;
    text-align: center;
    font-size: 12.5px;
    color: #9ca3af;
}

.cb-footer-copy span {
    margin: 0 10px;
    color: var(--cb-yellow);
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1100px) {
    .cb-hero-grid { grid-template-columns: 1fr; }
    .cb-hero-side { flex-direction: row; }
    .cb-split-layout { grid-template-columns: 1fr; }
    .cb-trending-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 860px) {
    .cb-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cb-panel-dark);
        padding: 18px 22px;
        border-bottom: 3px solid var(--cb-yellow);
    }
    .cb-nav.open { display: block; }
    .cb-nav ul { flex-direction: column; align-items: flex-start; }
    .cb-mobile-btn { display: inline-block; }
    .cb-news-grid { grid-template-columns: 1fr; }
    .cb-reviews-panel { grid-template-columns: 1fr; }
    .cb-hero-side { flex-direction: column; }
    .cb-footer-grid { grid-template-columns: 1fr; text-align: center; }
    .cb-footer-mid { border: none; padding: 10px 0; }
    .cb-brand { justify-content: center; }
    .cb-content-grid { grid-template-columns: 1fr; }
    .cb-hero-heading { font-size: 34px; }
}

@media (max-width: 560px) {
    .cb-trending-grid { grid-template-columns: repeat(2, 1fr); }
    .cb-social-pill-group { display: none; }
    .cb-topbar-date { display: none; }
}
