/*
Theme Name: CleverBro
Theme URI: https://cleverbro.com
Author: CleverBro
Author URI: https://cleverbro.com
Description: A premium dark theme for CleverBro - Your Smart Guide to Finance, Tech & Travel. Features modern design with category-colored cards, responsive layout, and optimized performance.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cleverbro
Tags: blog, dark, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ═══════════════════════════════════════════ */
:root {
    /* Core palette */
    --cb-bg-primary: #0a0e1a;
    --cb-bg-secondary: #111828;
    --cb-bg-card: #1a2035;
    --cb-bg-elevated: #212942;
    --cb-text-primary: #e8eaf0;
    --cb-text-secondary: #94a3b8;
    --cb-text-muted: #64748b;
    --cb-border: rgba(255, 255, 255, 0.08);

    /* Accent colors */
    --cb-accent: #3b82f6;
    --cb-accent-hover: #60a5fa;

    /* Category colors */
    --cb-finance: #f59e0b;
    --cb-finance-glow: rgba(245, 158, 11, 0.15);
    --cb-tech: #06b6d4;
    --cb-tech-glow: rgba(6, 182, 212, 0.15);
    --cb-travel: #f97316;
    --cb-travel-glow: rgba(249, 115, 22, 0.15);

    /* Gradients */
    --cb-gradient-hero: linear-gradient(135deg, #0a0e1a 0%, #1a1040 50%, #0a2540 100%);
    --cb-gradient-card: linear-gradient(145deg, #1a2035 0%, #151c30 100%);
    --cb-gradient-accent: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);

    /* Spacing */
    --cb-container: 1200px;
    --cb-radius: 12px;
    --cb-radius-lg: 20px;

    /* Typography */
    --cb-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --cb-font-display: 'Outfit', var(--cb-font-sans);

    /* Transitions */
    --cb-ease: cubic-bezier(0.4, 0, 0.2, 1);
    --cb-transition: 0.3s var(--cb-ease);
}

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

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

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

a {
    color: var(--cb-accent);
    text-decoration: none;
    transition: color var(--cb-transition);
}
a:hover { color: var(--cb-accent-hover); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--cb-font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--cb-text-primary);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

/* ═══════════════════════════════════════════
   LAYOUT
   ═══════════════════════════════════════════ */
.cb-container {
    max-width: var(--cb-container);
    margin: 0 auto;
    padding: 0 24px;
}

.cb-section {
    padding: 80px 0;
}

/* ═══════════════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════════════ */
.cb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--cb-border);
    transition: all var(--cb-transition);
}

.cb-header.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.cb-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.cb-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--cb-font-display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--cb-text-primary);
    text-decoration: none;
}

.cb-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

.cb-logo span {
    background: var(--cb-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.cb-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

.cb-nav a {
    display: block;
    padding: 8px 18px;
    border-radius: 8px;
    color: var(--cb-text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all var(--cb-transition);
}

.cb-nav a:hover,
.cb-nav .current-menu-item a {
    color: var(--cb-text-primary);
    background: var(--cb-bg-elevated);
}

/* Mobile menu */
.cb-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.cb-mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--cb-text-primary);
    margin: 6px 0;
    transition: all var(--cb-transition);
    border-radius: 2px;
}

/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.cb-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: var(--cb-gradient-hero);
    overflow: hidden;
    padding-top: 72px;
}

.cb-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cb-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
}

.cb-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(10, 14, 26, 0.3) 0%, rgba(10, 14, 26, 0.9) 100%);
    z-index: 1;
}

.cb-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

.cb-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(59, 130, 246, 0.12);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 50px;
    color: var(--cb-accent-hover);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.cb-hero__title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cb-hero__title em {
    font-style: normal;
    background: var(--cb-gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cb-hero__desc {
    font-size: 1.15rem;
    color: var(--cb-text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
}

.cb-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.cb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--cb-transition);
    border: none;
    text-decoration: none;
}

.cb-btn--primary {
    background: var(--cb-gradient-accent);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.cb-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.45);
    color: #fff;
}

.cb-btn--ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--cb-text-primary);
    border: 1px solid var(--cb-border);
}

.cb-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* ═══════════════════════════════════════════
   CATEGORY CARDS
   ═══════════════════════════════════════════ */
.cb-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.cb-category-card {
    position: relative;
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    height: 280px;
    cursor: pointer;
    transition: all var(--cb-transition);
    text-decoration: none;
}

.cb-category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.cb-category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--cb-ease);
}

.cb-category-card:hover img {
    transform: scale(1.08);
}

.cb-category-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
}

.cb-category-card__tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    width: fit-content;
}

.cb-category-card--finance .cb-category-card__tag { background: var(--cb-finance); color: #000; }
.cb-category-card--tech .cb-category-card__tag { background: var(--cb-tech); color: #000; }
.cb-category-card--travel .cb-category-card__tag { background: var(--cb-travel); color: #000; }

.cb-category-card h3 {
    font-size: 1.3rem;
    color: #fff;
    margin-bottom: 6px;
}

.cb-category-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
}

/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */
.cb-section-header {
    text-align: center;
    margin-bottom: 50px;
}

.cb-section-header__tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cb-accent-hover);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.cb-section-header h2 {
    margin-bottom: 12px;
}

.cb-section-header p {
    color: var(--cb-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ═══════════════════════════════════════════
   POST CARDS (BLOG GRID)
   ═══════════════════════════════════════════ */
.cb-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 28px;
}

.cb-post-card {
    background: var(--cb-gradient-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
    transition: all var(--cb-transition);
    display: flex;
    flex-direction: column;
}

.cb-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.cb-post-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

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

.cb-post-card__category {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 5px 14px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.cb-post-card__category--finance { background: var(--cb-finance); color: #000; }
.cb-post-card__category--tech { background: var(--cb-tech); color: #000; }
.cb-post-card__category--travel { background: var(--cb-travel); color: #000; }

.cb-post-card__body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cb-post-card__title {
    font-size: 1.15rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

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

.cb-post-card__title a:hover {
    color: var(--cb-accent-hover);
}

.cb-post-card__excerpt {
    font-size: 0.9rem;
    color: var(--cb-text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
    flex: 1;
}

.cb-post-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--cb-border);
    font-size: 0.8rem;
    color: var(--cb-text-muted);
}

.cb-post-card__author {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cb-post-card__avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--cb-bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--cb-accent);
}

.cb-post-card__read-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ═══════════════════════════════════════════
   SINGLE POST
   ═══════════════════════════════════════════ */
.cb-single {
    padding-top: 120px;
    padding-bottom: 80px;
}

.cb-single__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 48px;
}

.cb-single__category {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.cb-single__title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.cb-single__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    color: var(--cb-text-muted);
    font-size: 0.9rem;
}

.cb-single__meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cb-single__featured {
    max-width: 900px;
    margin: 0 auto 48px;
    border-radius: var(--cb-radius-lg);
    overflow: hidden;
}

.cb-single__featured img {
    width: 100%;
    height: auto;
}

.cb-single__content {
    max-width: 740px;
    margin: 0 auto;
}

.cb-single__content p {
    margin-bottom: 1.6em;
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--cb-text-secondary);
}

.cb-single__content h2 {
    margin: 2em 0 0.8em;
    font-size: 1.6rem;
}

.cb-single__content h3 {
    margin: 1.6em 0 0.6em;
    font-size: 1.3rem;
}

.cb-single__content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    background: var(--cb-bg-secondary);
    border-left: 4px solid var(--cb-accent);
    border-radius: 0 var(--cb-radius) var(--cb-radius) 0;
    font-style: italic;
    color: var(--cb-text-secondary);
}

.cb-single__content ul, .cb-single__content ol {
    margin: 1.2em 0;
    padding-left: 1.5em;
    color: var(--cb-text-secondary);
}

.cb-single__content li {
    margin-bottom: 0.5em;
}

.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: 1.5em 0;
    font-size: 0.9rem;
}

.cb-single__content code {
    background: var(--cb-bg-elevated);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.88em;
}

.cb-single__content pre code {
    background: none;
    padding: 0;
}

/* Author Box */
.cb-author-box {
    display: flex;
    gap: 24px;
    padding: 32px;
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-lg);
    margin: 48px auto;
    max-width: 740px;
}

.cb-author-box__avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--cb-gradient-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
}

.cb-author-box__info h4 {
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.cb-author-box__info p {
    font-size: 0.9rem;
    color: var(--cb-text-secondary);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.cb-footer {
    background: var(--cb-bg-secondary);
    border-top: 1px solid var(--cb-border);
    padding: 64px 0 0;
}

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

.cb-footer__about .cb-logo {
    margin-bottom: 16px;
}

.cb-footer__about p {
    color: var(--cb-text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.cb-footer__social {
    display: flex;
    gap: 12px;
}

.cb-footer__social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--cb-bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cb-text-secondary);
    font-size: 0.85rem;
    transition: all var(--cb-transition);
}

.cb-footer__social a:hover {
    background: var(--cb-accent);
    color: #fff;
    transform: translateY(-2px);
}

.cb-footer__col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--cb-text-primary);
    margin-bottom: 20px;
}

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

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

.cb-footer__col a {
    color: var(--cb-text-secondary);
    font-size: 0.9rem;
    transition: color var(--cb-transition);
}

.cb-footer__col a:hover {
    color: var(--cb-text-primary);
}

.cb-footer__bottom {
    border-top: 1px solid var(--cb-border);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--cb-text-muted);
}

/* ═══════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════ */
.cb-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.cb-pagination a, .cb-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    color: var(--cb-text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--cb-transition);
}

.cb-pagination a:hover {
    background: var(--cb-bg-elevated);
    color: var(--cb-text-primary);
    border-color: var(--cb-accent);
}

.cb-pagination .current {
    background: var(--cb-accent);
    color: #fff;
    border-color: var(--cb-accent);
}

/* ═══════════════════════════════════════════
   SIDEBAR / WIDGETS
   ═══════════════════════════════════════════ */
.cb-sidebar .widget {
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-lg);
    padding: 28px;
    margin-bottom: 24px;
}

.cb-sidebar .widget-title {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--cb-accent);
}

/* ═══════════════════════════════════════════
   NEWSLETTER
   ═══════════════════════════════════════════ */
.cb-newsletter {
    background: var(--cb-gradient-hero);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cb-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.cb-newsletter h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    position: relative;
}

.cb-newsletter p {
    color: var(--cb-text-secondary);
    margin-bottom: 28px;
    position: relative;
}

.cb-newsletter__form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 12px;
    position: relative;
}

.cb-newsletter__form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    border: 1px solid var(--cb-border);
    background: var(--cb-bg-card);
    color: var(--cb-text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--cb-transition);
}

.cb-newsletter__form input[type="email"]:focus {
    border-color: var(--cb-accent);
}

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .cb-categories {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .cb-mobile-toggle {
        display: block;
    }

    .cb-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--cb-bg-secondary);
        border-bottom: 1px solid var(--cb-border);
        padding: 16px;
        transform: translateY(-120%);
        transition: transform var(--cb-transition);
        z-index: 999;
    }

    .cb-nav.active {
        transform: translateY(0);
    }

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

    .cb-nav a {
        padding: 12px 16px;
    }

    .cb-hero {
        min-height: 70vh;
    }

    .cb-hero__title {
        font-size: 2rem;
    }

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

    .cb-footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .cb-footer__bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .cb-author-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .cb-newsletter__form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .cb-hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .cb-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cb-animate {
    animation: fadeInUp 0.6s var(--cb-ease) forwards;
    opacity: 0;
}

.cb-animate--delay-1 { animation-delay: 0.1s; }
.cb-animate--delay-2 { animation-delay: 0.2s; }
.cb-animate--delay-3 { animation-delay: 0.3s; }

/* Glow effects for category sections */
.cb-glow-finance { box-shadow: 0 0 40px var(--cb-finance-glow); }
.cb-glow-tech { box-shadow: 0 0 40px var(--cb-tech-glow); }
.cb-glow-travel { box-shadow: 0 0 40px var(--cb-travel-glow); }

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--cb-bg-primary);
}
::-webkit-scrollbar-thumb {
    background: var(--cb-bg-elevated);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--cb-text-muted);
}

/* WordPress-specific */
.wp-block-image img {
    border-radius: var(--cb-radius);
}

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

.alignwide {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Comments */
.cb-comments {
    max-width: 740px;
    margin: 0 auto;
    padding-top: 48px;
}

#respond {
    background: var(--cb-bg-card);
    border: 1px solid var(--cb-border);
    border-radius: var(--cb-radius-lg);
    padding: 32px;
    margin-top: 32px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--cb-bg-secondary);
    border: 1px solid var(--cb-border);
    border-radius: 8px;
    color: var(--cb-text-primary);
    font-family: var(--cb-font-sans);
    font-size: 0.95rem;
    margin-bottom: 16px;
    outline: none;
    transition: border-color var(--cb-transition);
}

.comment-form input:focus,
.comment-form textarea:focus {
    border-color: var(--cb-accent);
}

.comment-form .submit {
    background: var(--cb-gradient-accent);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--cb-transition);
}

.comment-form .submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
}
