/*
Theme Name: CoinerBlog Crypto Theme
Theme URI: https://coinerblog.com
Author: CoinerBlog
Author URI: https://coinerblog.com
Description: A cyberpunk/neon cryptocurrency WordPress theme with live price tickers, crypto widgets, and custom Gutenberg blocks. Built for coinerblog.com.
Version: 1.1.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: coinerblog
Tags: blog, cryptocurrency, dark-mode, custom-menu, custom-logo, featured-images, block-styles, wide-blocks

CoinerBlog Crypto Theme, (C) 2026 CoinerBlog
*/

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    --cb-bg-primary: #0f131d;
    --cb-bg-secondary: #171d2b;
    --cb-bg-card: #1d2536;
    --cb-bg-card-hover: #27324a;
    --cb-neon-cyan: #7bd3ff;
    --cb-neon-magenta: #2563eb;
    --cb-neon-green: #16c784;
    --cb-neon-yellow: #f5b91a;
    --cb-neon-orange: #f59e0b;
    --cb-neon-red: #ea3943;
    --cb-text-primary: #edf2fb;
    --cb-text-secondary: #c0cbe0;
    --cb-text-muted: #8390a9;
    --cb-border: #2b3750;
    --cb-gradient-main: linear-gradient(135deg, #f5b91a, #2563eb);
    --cb-gradient-card: linear-gradient(145deg, #1d2536, #182031);
    --cb-glow-cyan: 0 0 10px rgba(123, 211, 255, 0.35), 0 0 20px rgba(123, 211, 255, 0.15);
    --cb-glow-magenta: 0 0 10px rgba(37, 99, 235, 0.35), 0 0 20px rgba(37, 99, 235, 0.15);
    --cb-header-bg: rgba(15, 19, 29, 0.9);
    --cb-ticker-bg: linear-gradient(90deg, #111827 0%, #172033 50%, #111827 100%);
    --cb-shadow-strong: 0 16px 36px rgba(5, 12, 23, 0.35);
    --cb-badge-bg: rgba(245, 185, 26, 0.9);
    --cb-radius: 12px;
    --cb-radius-sm: 6px;
    --cb-transition: 0.3s ease;
    --cb-font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cb-font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --cb-font-display: 'Orbitron', 'Inter', sans-serif;
    --cb-container: 1200px;
}

[data-theme='light'] {
    --cb-bg-primary: #f5f7fc;
    --cb-bg-secondary: #ffffff;
    --cb-bg-card: #ffffff;
    --cb-bg-card-hover: #eef2f9;
    --cb-neon-cyan: #2563eb;
    --cb-neon-magenta: #1d4ed8;
    --cb-neon-green: #059669;
    --cb-neon-yellow: #b45309;
    --cb-neon-orange: #d97706;
    --cb-neon-red: #dc2626;
    --cb-text-primary: #0f172a;
    --cb-text-secondary: #334155;
    --cb-text-muted: #64748b;
    --cb-border: #d7e0ec;
    --cb-gradient-main: linear-gradient(135deg, #f59e0b, #2563eb);
    --cb-gradient-card: linear-gradient(145deg, #ffffff, #f8fafc);
    --cb-glow-cyan: 0 0 0 rgba(0, 0, 0, 0);
    --cb-glow-magenta: 0 0 0 rgba(0, 0, 0, 0);
    --cb-header-bg: rgba(255, 255, 255, 0.92);
    --cb-ticker-bg: linear-gradient(90deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    --cb-shadow-strong: 0 12px 28px rgba(15, 23, 42, 0.12);
    --cb-badge-bg: rgba(245, 158, 11, 0.92);
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--cb-font-main);
    background-color: var(--cb-bg-primary);
    color: var(--cb-text-primary);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    transition: background-color var(--cb-transition), color var(--cb-transition);
}

a {
    color: var(--cb-neon-cyan);
    text-decoration: none;
    transition: color var(--cb-transition);
}

a:hover {
    color: var(--cb-neon-magenta);
}

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

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 185, 26, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(22, 199, 132, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

[data-theme='light'] body::before {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(245, 158, 11, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(5, 150, 105, 0.05) 0%, transparent 50%);
}

/* ============================================
   CONTAINER
   ============================================ */
.cb-container {
    max-width: var(--cb-container);
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ============================================
   CRYPTO TICKER BAR
   ============================================ */
.cb-ticker-bar {
    background: var(--cb-ticker-bg);
    border-bottom: 1px solid var(--cb-border);
    padding: 8px 0 8px 112px;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.cb-ticker-label-wrap {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.cb-ticker-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: var(--cb-gradient-main);
    border-radius: 999px;
    padding: 5px 10px;
}

.cb-ticker-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--cb-gradient-main);
    opacity: 0.5;
}

.cb-ticker-track {
    display: flex;
    animation: ticker-scroll var(--cb-ticker-duration, 40s) linear infinite;
    width: max-content;
}

.cb-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.cb-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 20px;
    border-right: 1px solid var(--cb-border);
    white-space: nowrap;
    font-size: 13px;
    font-family: var(--cb-font-mono);
    cursor: default;
}

.cb-ticker-item:hover {
    background: rgba(37, 99, 235, 0.08);
}

.cb-ticker-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.cb-ticker-symbol {
    font-weight: 700;
    color: var(--cb-text-primary);
    text-transform: uppercase;
}

.cb-ticker-price {
    color: var(--cb-neon-cyan);
    font-weight: 600;
}

.cb-ticker-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.cb-ticker-change.positive {
    color: var(--cb-neon-green);
    background: rgba(57, 255, 20, 0.1);
}

.cb-ticker-change.negative {
    color: var(--cb-neon-red);
    background: rgba(255, 7, 58, 0.1);
}

.cb-ticker-loading {
    text-align: center;
    padding: 4px 20px;
    color: var(--cb-text-muted);
    font-size: 13px;
    font-family: var(--cb-font-mono);
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.cb-header {
    background: var(--cb-header-bg);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cb-border);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 99;
}

.cb-header.is-scrolled {
    box-shadow: var(--cb-shadow-strong);
}

.cb-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.cb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-logo img {
    max-height: 40px;
}

.cb-logo-fallback {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cb-logo-fallback img {
    width: auto;
    height: 42px;
}

.cb-logo-text {
    font-family: var(--cb-font-display);
    font-size: 21px;
    font-weight: 900;
    background: var(--cb-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
}

/* Main Navigation */
.cb-nav {
    margin-left: auto;
}

.cb-nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

.cb-nav a {
    display: block;
    padding: 10px 18px;
    color: var(--cb-text-secondary);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--cb-radius-sm);
    transition: all var(--cb-transition);
    position: relative;
}

.cb-nav a:hover,
.cb-nav .current-menu-item a {
    color: var(--cb-neon-cyan);
    background: rgba(37, 99, 235, 0.1);
    text-shadow: var(--cb-glow-cyan);
}

.cb-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--cb-neon-cyan);
    transition: width var(--cb-transition);
    border-radius: 2px;
}

.cb-nav a:hover::after,
.cb-nav .current-menu-item a::after {
    width: 60%;
}

.cb-header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-left: 14px;
}

.cb-theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--cb-border);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    background: var(--cb-bg-secondary);
    color: var(--cb-text-primary);
    cursor: pointer;
    transition: all var(--cb-transition);
}

.cb-theme-toggle:hover {
    border-color: var(--cb-neon-cyan);
    color: var(--cb-neon-cyan);
}

.cb-theme-toggle-icon {
    font-size: 13px;
    line-height: 1;
}

/* Mobile Menu Toggle */
.cb-menu-toggle {
    display: none;
    background: var(--cb-bg-secondary);
    border: 1px solid var(--cb-border);
    color: var(--cb-text-primary);
    padding: 8px 12px;
    border-radius: var(--cb-radius-sm);
    cursor: pointer;
    font-size: 20px;
    transition: all var(--cb-transition);
}

.cb-menu-toggle:hover {
    border-color: var(--cb-neon-cyan);
    color: var(--cb-neon-cyan);
}

/* ============================================
   MAIN CONTENT LAYOUT
   ============================================ */
.cb-site-content {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 30px;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.cb-site-content.full-width {
    grid-template-columns: 1fr;
}

.cb-main {
    min-width: 0;
}

/* ============================================
   POST CARDS
   ============================================ */
.cb-post-card {
    background: var(--cb-gradient-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    overflow: hidden;
    margin-bottom: 30px;
    transition: all var(--cb-transition);
    position: relative;
}

.cb-post-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cb-gradient-main);
    opacity: 0;
    transition: opacity var(--cb-transition);
}

.cb-post-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    transform: translateY(-3px);
    box-shadow: var(--cb-glow-cyan);
}

.cb-post-card:hover::before {
    opacity: 1;
}

.cb-post-thumbnail {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.cb-post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cb-post-card:hover .cb-post-thumbnail img {
    transform: scale(1.05);
}

.cb-post-thumbnail .cb-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--cb-badge-bg);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
}

.cb-post-content {
    padding: 25px;
}

.cb-post-title {
    font-family: var(--cb-font-display);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cb-post-title a {
    color: var(--cb-text-primary);
}

.cb-post-title a:hover {
    color: var(--cb-neon-cyan);
}

.cb-post-excerpt {
    color: var(--cb-text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.cb-post-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    color: var(--cb-text-muted);
    font-family: var(--cb-font-mono);
}

.cb-post-meta a {
    color: var(--cb-text-muted);
}

.cb-post-meta a:hover {
    color: var(--cb-neon-cyan);
}

.cb-post-meta .cb-meta-icon {
    margin-right: 4px;
}

.cb-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: transparent;
    border: 1px solid var(--cb-neon-cyan);
    color: var(--cb-neon-cyan);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--cb-transition);
    margin-top: 15px;
}

.cb-read-more:hover {
    background: var(--cb-neon-cyan);
    color: var(--cb-bg-primary);
    box-shadow: var(--cb-glow-cyan);
    text-shadow: none;
}

/* ============================================
   SINGLE POST
   ============================================ */
.cb-single-header {
    text-align: center;
    padding: 40px 0 30px;
    border-bottom: 1px solid var(--cb-border);
    margin-bottom: 30px;
}

.cb-single-header .cb-category-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.12);
    color: var(--cb-neon-magenta);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.cb-single-title {
    font-family: var(--cb-font-display);
    font-size: 36px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    background: var(--cb-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cb-single-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--cb-text-muted);
    font-size: 14px;
    font-family: var(--cb-font-mono);
}

.cb-single-content {
    font-size: 17px;
    line-height: 1.8;
}

.cb-single-content h2,
.cb-single-content h3,
.cb-single-content h4 {
    font-family: var(--cb-font-display);
    color: var(--cb-text-primary);
    margin: 35px 0 15px;
}

.cb-single-content h2 {
    font-size: 28px;
    border-left: 3px solid var(--cb-neon-cyan);
    padding-left: 15px;
}

.cb-single-content h3 {
    font-size: 22px;
}

.cb-single-content p {
    margin-bottom: 20px;
}

.cb-single-content blockquote {
    background: var(--cb-bg-card);
    border-left: 3px solid var(--cb-neon-magenta);
    padding: 20px 25px;
    margin: 25px 0;
    border-radius: 0 var(--cb-radius) var(--cb-radius) 0;
    font-style: italic;
    color: var(--cb-text-secondary);
}

.cb-single-content pre,
.cb-single-content code {
    font-family: var(--cb-font-mono);
}

.cb-single-content pre {
    background: var(--cb-bg-secondary);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 20px;
    overflow-x: auto;
    margin: 25px 0;
}

.cb-single-content code {
    background: rgba(37, 99, 235, 0.1);
    color: var(--cb-neon-cyan);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 14px;
}

.cb-single-content ul,
.cb-single-content ol {
    margin: 15px 0 15px 25px;
}

.cb-single-content li {
    margin-bottom: 8px;
}

.cb-single-content a {
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.cb-single-content a:hover {
    border-bottom-color: var(--cb-neon-cyan);
}

.cb-single-content img {
    border-radius: var(--cb-radius);
    margin: 20px 0;
}

.cb-single-featured-image {
    margin: 0 0 30px;
    border-radius: var(--cb-radius);
    overflow: hidden;
}

.cb-single-featured-image img {
    width: 100%;
}

/* Tags */
.cb-post-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--cb-border);
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cb-post-tags a {
    display: inline-block;
    padding: 5px 14px;
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    border-radius: 20px;
    font-size: 12px;
    color: var(--cb-text-secondary);
    transition: all var(--cb-transition);
}

.cb-post-tags a:hover {
    border-color: var(--cb-neon-cyan);
    color: var(--cb-neon-cyan);
    background: rgba(37, 99, 235, 0.08);
}

/* ============================================
   SIDEBAR
   ============================================ */
.cb-sidebar {
    position: relative;
    z-index: 1;
}

.cb-widget {
    background: var(--cb-gradient-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 25px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.cb-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cb-gradient-main);
}

.cb-widget-title {
    font-family: var(--cb-font-display);
    font-size: 16px;
    font-weight: 700;
    color: var(--cb-text-primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cb-border);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Crypto Prices Widget */
.cb-crypto-widget-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(42, 42, 62, 0.5);
    transition: background var(--cb-transition);
}

.cb-crypto-widget-item:last-child {
    border-bottom: none;
}

.cb-crypto-widget-item:hover {
    background: rgba(37, 99, 235, 0.06);
    margin: 0 -10px;
    padding: 12px 10px;
    border-radius: var(--cb-radius-sm);
}

.cb-crypto-widget-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cb-crypto-widget-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
}

.cb-crypto-widget-name {
    font-weight: 600;
    font-size: 14px;
}

.cb-crypto-widget-symbol {
    color: var(--cb-text-muted);
    font-size: 12px;
    font-family: var(--cb-font-mono);
    text-transform: uppercase;
}

.cb-crypto-widget-right {
    text-align: right;
}

.cb-crypto-widget-price {
    font-family: var(--cb-font-mono);
    font-weight: 600;
    font-size: 14px;
    color: var(--cb-neon-cyan);
}

.cb-crypto-widget-change {
    font-size: 12px;
    font-family: var(--cb-font-mono);
    font-weight: 600;
}

.cb-crypto-widget-change.positive {
    color: var(--cb-neon-green);
}

.cb-crypto-widget-change.negative {
    color: var(--cb-neon-red);
}

.cb-widget-loading {
    text-align: center;
    padding: 20px;
    color: var(--cb-text-muted);
    font-family: var(--cb-font-mono);
    font-size: 13px;
}

.cb-widget-updated {
    text-align: center;
    font-size: 11px;
    color: var(--cb-text-muted);
    margin-top: 12px;
    font-family: var(--cb-font-mono);
}

/* ============================================
   GUTENBERG BLOCK: CRYPTO PRICE CARD
   ============================================ */
.wp-block-coinerblog-price-card {
    background: var(--cb-gradient-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.wp-block-coinerblog-price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--cb-gradient-main);
}

.wp-block-coinerblog-price-card .cb-price-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.wp-block-coinerblog-price-card .cb-price-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.wp-block-coinerblog-price-card .cb-price-card-name {
    font-family: var(--cb-font-display);
    font-size: 20px;
    font-weight: 700;
}

.wp-block-coinerblog-price-card .cb-price-card-value {
    font-family: var(--cb-font-mono);
    font-size: 32px;
    font-weight: 700;
    color: var(--cb-neon-cyan);
    margin-bottom: 10px;
}

.wp-block-coinerblog-price-card .cb-price-card-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--cb-border);
}

.wp-block-coinerblog-price-card .cb-price-card-stat {
    text-align: center;
}

.wp-block-coinerblog-price-card .cb-price-card-stat-label {
    font-size: 11px;
    color: var(--cb-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.wp-block-coinerblog-price-card .cb-price-card-stat-value {
    font-family: var(--cb-font-mono);
    font-size: 14px;
    font-weight: 600;
    color: var(--cb-text-primary);
}

/* ============================================
   GUTENBERG BLOCK: COIN COMPARISON TABLE
   ============================================ */
.wp-block-coinerblog-coin-comparison {
    overflow-x: auto;
    margin: 25px 0;
}

.wp-block-coinerblog-coin-comparison table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cb-bg-card);
    border-radius: var(--cb-radius);
    overflow: hidden;
}

.wp-block-coinerblog-coin-comparison th {
    background: rgba(37, 99, 235, 0.1);
    color: var(--cb-neon-cyan);
    font-family: var(--cb-font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--cb-border);
}

.wp-block-coinerblog-coin-comparison td {
    padding: 14px 18px;
    border-bottom: 1px solid rgba(42, 42, 62, 0.5);
    font-family: var(--cb-font-mono);
    font-size: 14px;
}

.wp-block-coinerblog-coin-comparison tr:hover td {
    background: rgba(37, 99, 235, 0.06);
}

/* ============================================
   GUTENBERG BLOCK: CRYPTO CALLOUT
   ============================================ */
.wp-block-coinerblog-crypto-callout {
    background: var(--cb-bg-card);
    border-radius: var(--cb-radius);
    padding: 25px;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.wp-block-coinerblog-crypto-callout.bullish {
    border-left: 4px solid var(--cb-neon-green);
}

.wp-block-coinerblog-crypto-callout.bearish {
    border-left: 4px solid var(--cb-neon-red);
}

.wp-block-coinerblog-crypto-callout.neutral {
    border-left: 4px solid var(--cb-neon-cyan);
}

.wp-block-coinerblog-crypto-callout .cb-callout-label {
    font-family: var(--cb-font-display);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-weight: 700;
}

.wp-block-coinerblog-crypto-callout.bullish .cb-callout-label {
    color: var(--cb-neon-green);
}

.wp-block-coinerblog-crypto-callout.bearish .cb-callout-label {
    color: var(--cb-neon-red);
}

.wp-block-coinerblog-crypto-callout.neutral .cb-callout-label {
    color: var(--cb-neon-cyan);
}

/* ============================================
   PAGINATION
   ============================================ */
.cb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 40px 0 20px;
}

.cb-pagination a,
.cb-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    font-family: var(--cb-font-mono);
    font-size: 14px;
    transition: all var(--cb-transition);
    color: var(--cb-text-secondary);
}

.cb-pagination a:hover {
    border-color: var(--cb-neon-cyan);
    color: var(--cb-neon-cyan);
    background: rgba(37, 99, 235, 0.08);
}

.cb-pagination .current {
    background: var(--cb-neon-cyan);
    border-color: var(--cb-neon-cyan);
    color: var(--cb-bg-primary);
    font-weight: 700;
}

/* ============================================
   FOOTER
   ============================================ */
.cb-footer {
    background: var(--cb-bg-secondary);
    border-top: 1px solid var(--cb-border);
    padding: 50px 0 0;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.cb-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--cb-gradient-main);
}

.cb-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.cb-footer-about .cb-logo-text {
    font-size: 20px;
    margin-bottom: 15px;
    display: inline-block;
}

.cb-footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.cb-footer-logo img {
    height: 36px;
    width: auto;
}

.cb-footer-about p {
    color: var(--cb-text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.cb-footer h4 {
    font-family: var(--cb-font-display);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cb-text-primary);
    margin-bottom: 20px;
}

.cb-footer ul {
    list-style: none;
}

.cb-footer ul li {
    margin-bottom: 10px;
}

.cb-footer ul a {
    color: var(--cb-text-secondary);
    font-size: 14px;
    transition: all var(--cb-transition);
}

.cb-footer ul a:hover {
    color: var(--cb-neon-cyan);
    padding-left: 5px;
}

.cb-footer-bottom {
    border-top: 1px solid var(--cb-border);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--cb-text-muted);
    font-family: var(--cb-font-mono);
}

/* ============================================
   COMMENTS
   ============================================ */
.cb-comments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--cb-border);
}

.cb-comments h3 {
    font-family: var(--cb-font-display);
    font-size: 22px;
    margin-bottom: 25px;
}

.comment-list {
    list-style: none;
}

.comment {
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 20px;
    margin-bottom: 15px;
}

.comment .comment-author {
    font-weight: 700;
    color: var(--cb-neon-cyan);
}

.comment .comment-meta {
    font-size: 13px;
    color: var(--cb-text-muted);
    font-family: var(--cb-font-mono);
    margin-bottom: 10px;
}

.comment-respond {
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius);
    padding: 25px;
    margin-top: 25px;
}

.comment-respond label {
    color: var(--cb-text-secondary);
    font-size: 14px;
    display: block;
    margin-bottom: 5px;
}

.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
    width: 100%;
    padding: 12px 15px;
    background: var(--cb-bg-secondary);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-sm);
    color: var(--cb-text-primary);
    font-family: var(--cb-font-main);
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color var(--cb-transition);
}

.comment-respond input:focus,
.comment-respond textarea:focus {
    outline: none;
    border-color: var(--cb-neon-cyan);
    box-shadow: var(--cb-glow-cyan);
}

.comment-respond .submit {
    background: var(--cb-neon-cyan);
    color: var(--cb-bg-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--cb-transition);
}

.comment-respond .submit:hover {
    box-shadow: var(--cb-glow-cyan);
    transform: translateY(-2px);
}

/* ============================================
   SEARCH FORM
   ============================================ */
.cb-search-form {
    display: flex;
    gap: 0;
}

.cb-search-form input[type="search"] {
    flex: 1;
    padding: 10px 15px;
    background: var(--cb-bg-secondary);
    border: 1px solid var(--cb-border);
    border-right: none;
    border-radius: var(--cb-radius-sm) 0 0 var(--cb-radius-sm);
    color: var(--cb-text-primary);
    font-size: 14px;
}

.cb-search-form input[type="search"]:focus {
    outline: none;
    border-color: var(--cb-neon-cyan);
}

.cb-search-form button {
    padding: 10px 18px;
    background: var(--cb-neon-cyan);
    color: var(--cb-bg-primary);
    border: none;
    border-radius: 0 var(--cb-radius-sm) var(--cb-radius-sm) 0;
    cursor: pointer;
    font-weight: 700;
    transition: all var(--cb-transition);
}

.cb-search-form button:hover {
    box-shadow: var(--cb-glow-cyan);
}

/* ============================================
   404 PAGE
   ============================================ */
.cb-404 {
    text-align: center;
    padding: 80px 0;
}

.cb-404-code {
    font-family: var(--cb-font-display);
    font-size: 120px;
    font-weight: 900;
    background: var(--cb-gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
}

.cb-404 h2 {
    font-family: var(--cb-font-display);
    font-size: 28px;
    margin-bottom: 15px;
}

.cb-404 p {
    color: var(--cb-text-secondary);
    font-size: 16px;
    margin-bottom: 30px;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1024px) {
    .cb-site-content {
        grid-template-columns: 1fr;
    }

    .cb-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .cb-ticker-bar {
        padding-left: 16px;
    }

    .cb-ticker-label-wrap {
        display: none;
    }

    .cb-theme-toggle-text {
        display: none;
    }

    .cb-menu-toggle {
        display: block;
    }

    .cb-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--cb-bg-secondary);
        border-bottom: 1px solid var(--cb-border);
        padding: 15px 20px;
    }

    .cb-nav.active {
        display: block;
    }

    .cb-nav ul {
        flex-direction: column;
        gap: 0;
    }

    .cb-nav a {
        padding: 12px 15px;
        border-bottom: 1px solid var(--cb-border);
    }

    .cb-single-title {
        font-size: 26px;
    }

    .cb-single-meta {
        flex-direction: column;
        gap: 8px;
    }

    .cb-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cb-footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .wp-block-coinerblog-price-card .cb-price-card-stats {
        grid-template-columns: 1fr;
    }

    .wp-block-coinerblog-price-card .cb-price-card-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .cb-post-meta {
        flex-direction: column;
        gap: 8px;
    }

    .cb-header-inner {
        padding: 10px 0;
    }

    .cb-logo-text {
        font-size: 18px;
    }

    .cb-theme-toggle {
        padding: 8px 9px;
    }
}

/* ============================================
   WORDPRESS CORE OVERRIDES
   ============================================ */
.wp-block-image img {
    border-radius: var(--cb-radius);
}

.wp-block-separator {
    border-color: var(--cb-border);
}

.wp-block-quote {
    background: var(--cb-bg-card);
    border-left: 3px solid var(--cb-neon-magenta);
    padding: 20px 25px;
    border-radius: 0 var(--cb-radius) var(--cb-radius) 0;
}

.wp-block-table table {
    border-color: var(--cb-border);
}

.wp-block-table td,
.wp-block-table th {
    border-color: var(--cb-border);
    padding: 12px 16px;
}

.has-text-align-center {
    text-align: center;
}

/* Gutenberg editor alignment */
.alignwide {
    margin-left: -60px;
    margin-right: -60px;
    max-width: calc(100% + 120px);
}

.alignfull {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}

@media (max-width: 768px) {
    .alignwide {
        margin-left: -20px;
        margin-right: -20px;
        max-width: calc(100% + 40px);
    }
}
