/*
Theme Name: Cognito Consultants
Theme URI: https://blueriosystems.com
Author: Hassan - Blue Rio Systems
Description: 2026 Enterprise B2B SaaS Theme featuring Bento grids, glassmorphism, and fluid typography.
Version: 2026.10.00
Text Domain: blueriosystems
*/

/*
# ─────────────────────────────────────────────────────
# Module   : style.css
# Layer    : Presentation
# Pillar   : P1 (Architecture), P8 (Code Quality)
# ─────────────────────────────────────────────────────
*/

:root {
    /* 2026 Enterprise Color Matrix mapped to theme.json presets */
    --cc-bg-obsidian: var(--wp--preset--color--obsidian, #05070A);
    --cc-bg-surface: var(--wp--preset--color--surface, #0E121A);
    --cc-bg-surface-elevated: var(--wp--preset--color--surface-elevated, #161B26);

    --cc-accent-cyber: var(--wp--preset--color--cyber, #10B981);
    --cc-accent-cyber-start: var(--wp--preset--color--cyber-start, #34D399);
    --cc-accent-glow: var(--wp--preset--color--cyber-glow, rgba(16, 185, 129, 0.25));

    --cc-text-pure: var(--wp--preset--color--pure-white, #FFFFFF);
    --cc-text-muted: var(--wp--preset--color--muted, #9CA3AF);
    --cc-text-subtle: var(--wp--preset--color--subtle, #6B7280);
    --cc-color-error: #ef4444;
    --cc-color-success: #10b981;

    --cc-border-glass: var(--wp--preset--color--glass, rgba(255, 255, 255, 0.08));
    --cc-border-highlight: var(--wp--preset--color--highlight, rgba(255, 255, 255, 0.15));

    /* Fluid Typography */
    --cc-font-display: var(--wp--preset--font-family--display, 'Plus Jakarta Sans', 'Inter', sans-serif);
    --cc-font-body: var(--wp--preset--font-family--body, 'Inter', sans-serif);

    --cc-text-xs: 0.75rem;
    --cc-text-sm: 0.875rem;
    --cc-text-base: 1rem;
    --cc-text-lg: 1.125rem;
    --cc-text-xl: clamp(1.25rem, 2vw, 1.5rem);
    --cc-text-2xl: clamp(1.5rem, 3vw, 2rem);
    --cc-text-4xl: clamp(2.5rem, 5vw, 4rem);
    --cc-text-5xl: clamp(3rem, 6vw, 5rem);

    /* Layout & Utilities */
    --cc-radius-sm: 8px;
    --cc-radius-md: 16px;
    --cc-radius-lg: 24px;
    --cc-layout-max: 1200px;
    --cc-transition-speed: 0.3s;
}

/* Base Reset & Global Styles */
html,
body {
    overflow-x: hidden;
    max-width: 100vw;
}

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

body {
    font-family: var(--cc-font-body);
    background-color: var(--cc-bg-obsidian);
    color: var(--cc-text-muted);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--cc-font-display);
    color: var(--cc-text-pure);
    line-height: 1.1;
    letter-spacing: -0.03em;
    font-weight: 700;
}



/* 2026 UI Components */
.glass-panel {
    background: rgba(14, 18, 26, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--cc-border-glass);
    border-radius: var(--cc-radius-md);
    transition: transform var(--cc-transition-speed) ease, border-color var(--cc-transition-speed) ease, box-shadow var(--cc-transition-speed) ease;
}

.glass-panel:hover {
    border-color: var(--cc-border-highlight);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.text-gradient {
    background: linear-gradient(135deg, var(--cc-text-pure) 0%, var(--cc-text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.1em;
    margin-right: -0.1em;
    background-clip: text;
}

.text-gradient-accent {
    background: linear-gradient(135deg, var(--cc-accent-cyber-start), var(--cc-accent-cyber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-right: 0.1em;
    margin-right: -0.1em;
    background-clip: text;
}

/* Magnetic Glowing Buttons */
.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: var(--cc-text-pure);
    color: var(--cc-bg-obsidian);
    font-family: var(--cc-font-display);
    font-weight: 600;
    font-size: var(--cc-text-sm);
    border-radius: 100px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

.btn-cyber:hover {
    background: transparent;
    color: var(--cc-text-pure);
    border-color: var(--cc-text-pure);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-ghost-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: transparent;
    color: var(--cc-text-pure);
    font-family: var(--cc-font-display);
    font-weight: 600;
    font-size: var(--cc-text-sm);
    border-radius: 100px;
    text-decoration: none;
    border: 1px solid var(--cc-border-glass);
    transition: all var(--cc-transition-speed) ease;
}

.btn-ghost-cyber:hover {
    border-color: var(--cc-accent-cyber);
    background: var(--cc-accent-glow);
    color: var(--cc-accent-cyber);
}

/* Badges */
.badge-cyber {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background-color: color-mix(in srgb, var(--cc-accent-cyber) 12%, transparent);
    border: 1px solid color-mix(in srgb, var(--cc-accent-cyber) 30%, transparent);
    border-radius: 100px;
    font-size: var(--cc-text-xs);
    font-weight: 600;
    color: var(--cc-accent-cyber);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-cyber::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cc-accent-cyber);
    box-shadow: 0 0 8px var(--cc-accent-cyber);
}

/* Ambient Background Glows */
.ambient-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cc-accent-glow) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

/* Structure Containers */
.section-wrapper {
    padding: clamp(60px, 10vw, 120px) 0;
    position: relative;
    z-index: 1;
}

.section-wrapper-decorate {
    min-height: 40vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--cc-border-glass);
}

.container-core {
    width: 100%;
    max-width: var(--cc-layout-max);
    margin: 0 auto;
    padding-left: clamp(20px, 5vw, 48px);
    padding-right: clamp(20px, 5vw, 48px);
}

/* DRY Components & Layout Grids */
.cc-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.cc-grid-2-sm-gap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cc-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* collage type grid */
.cc-grid-collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    grid-auto-rows: minmax(100px, auto);
    gap: 24px;
}

.cc-grid-collage>* {
    grid-column: span 2;
    grid-row: span 2;
}

.cc-grid-collage> :nth-child(3n + 1) {
    grid-column: span 4;
}


.cc-grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

/* 1. The Container */
.cc-grid-collage {
    display: grid;
    /* Use a 4-column base for maximum layout flexibility */
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 250px;
    /* Fixed height helps the "collage" look */
    gap: 20px;
}

/* 2. Default Mobile Behavior (Full Width) */
.cc-grid-collage>* {
    grid-column: span 4;
    border-radius: 12px;
    overflow: hidden;
}

/* 3. Tablet View (2 Columns) */
@media (min-width: 640px) {
    .cc-grid-collage {
        grid-template-columns: repeat(2, 1fr);
    }

    .cc-grid-collage>* {
        grid-column: span 1;
    }

    /* Make every 3rd item wide on tablet */
    .cc-grid-collage> :nth-child(3n+1) {
        grid-column: span 2;
    }
}

/* 4. Desktop Collage Look (4 Columns) */
@media (min-width: 1024px) {
    .cc-grid-collage {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
    }

    /* Make every 3rd item wide on tablet */
    .cc-grid-collage> :nth-child(3n+1) {
        grid-column: span 1;

    }
}

.cc-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cc-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background-color: color-mix(in srgb, var(--cc-accent-cyber) 16%, transparent);
    color: var(--cc-accent-cyber);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.cc-icon-box-sm {
    width: 32px;
    height: 32px;
    font-size: 14px;
}

/* specific generic components */
.cc-bento-span-2 {
    grid-column: span 2;
}

.cc-service-card {
    padding: 40px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.cc-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cc-accent-cyber);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--cc-transition-speed) ease;
}

.cc-service-card:hover::after {
    transform: scaleX(1);
}

.cc-trust-bar {
    border-top: 1px solid var(--cc-border-glass);
    border-bottom: 1px solid var(--cc-border-glass);
    padding: 40px 24px;
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.01);
}

.cc-trust-logo {
    font-family: var(--cc-font-display);
    font-weight: 600;
    font-size: var(--cc-text-sm);
    color: var(--cc-text-subtle);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cc-hero-band {
    background: linear-gradient(to right, rgba(14, 18, 26, 0.9), rgba(5, 7, 10, 0.9)), url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjEiIGZpbGw9InJnYmEoMjU1LDI1NSwyNTUsMC4wNSkiLz48L3N2Zz4=');
    border: 1px solid var(--cc-border-glass);
    border-radius: var(--cc-radius-lg);
    padding: 80px 48px;
    text-align: center;
    margin: 64px auto;
    max-width: var(--cc-layout-max);
    position: relative;
}

.cc-outcome-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
}

/* Form Overrides & Custom Layouts (Contact Page) */


/* Container for the icons */
.svg-icon {
    display: flex;
    align-items: center;
    column-gap: 5px;
    text-decoration: none;
}

.svg-icon svg {
    width: 18px;
    height: 18px;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 8px;
}

/* Base style for each icon circle */
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--cc-border-glass);
    /* Adjust color to match your 'muted' text */
    border-radius: 8px;
    /* Rounded borders as requested */
    color: var(--cc-text-pure);
    /* Adjust based on your theme */
    transition: all 0.3s ease;
    text-decoration: none;
}

/* SVG sizing inside the circle */
.social-icon svg {
    width: 18px;
    height: 18px;
}

/* Hover effects */
.social-icon:hover {
    background-color: var(--cc-accent-glow);
    border-color: var(--cc-accent-cyber);
    transform: translateY(-2px);
}



.cc-form-group {
    margin-bottom: 20px;
}

.cc-form-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--cc-text-pure);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.cc-form-control {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--cc-border-glass);
    border-radius: var(--cc-radius-sm);
    font-size: 14px;
    background: var(--cc-bg-surface);
    color: var(--cc-text-pure);
    font-family: inherit;
    transition: border var(--cc-transition-speed);
}

.cc-form-control:focus {
    outline: none;
    border-color: var(--cc-text-pure);
}

textarea.cc-form-control {
    resize: vertical;
    min-height: 120px;
}

.cc-form-submit {
    width: 100%;
    background: var(--cc-text-pure);
    color: var(--cc-bg-obsidian);
    padding: 16px;
    border: none;
    border-radius: var(--cc-radius-sm);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--cc-transition-speed);
    margin-top: 10px;
}

.cc-form-submit:hover {
    background: var(--cc-text-muted);
}

.cc-form-disclaimer {
    font-size: 11px;
    color: var(--cc-text-subtle);
    margin-top: 16px;
    text-align: center;
}

/* DRY Spacing & Layout Utilities */
.p-sm {
    padding: clamp(16px, 3vw, 24px);
}

.p-md {
    padding: clamp(24px, 4vw, 32px);
}

.p-lg {
    padding: clamp(32px, 5vw, 48px);
}

.py-section {
    padding-top: clamp(60px, 10vw, 120px);
    padding-bottom: clamp(60px, 10vw, 120px);
}

.max-w-sm {
    max-width: 480px;
    width: 100%;
}

.max-w-md {
    max-width: 560px;
    width: 100%;
}

.max-w-lg {
    max-width: 700px;
    width: 100%;
}

.max-w-xl {
    max-width: 800px;
    width: 100%;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.flex-col {
    display: flex;
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

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

.gap-sm {
    gap: clamp(12px, 2vw, 16px);
}

.gap-md {
    gap: clamp(16px, 3vw, 24px);
}

.gap-lg {
    gap: clamp(24px, 4vw, 32px);
}

/* Typography Utility Classes */
.text-xs {
    font-size: var(--cc-text-xs);
}

.text-sm {
    font-size: var(--cc-text-sm);
}

.text-base {
    font-size: var(--cc-text-base);
}

.text-lg {
    font-size: var(--cc-text-lg);
}

.text-xl {
    font-size: var(--cc-text-xl);
}

.text-2xl {
    font-size: var(--cc-text-2xl);
}

.text-4xl {
    font-size: var(--cc-text-4xl);
}

.text-5xl {
    font-size: var(--cc-text-5xl);
}

.text-pure {
    color: var(--cc-text-pure);
}

.text-muted {
    color: var(--cc-text-muted);
}

.text-subtle {
    color: var(--cc-text-subtle);
}

.text-cyber {
    color: var(--cc-accent-cyber);
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.mb-2 {
    margin-bottom: 8px;
}

.mb-4 {
    margin-bottom: 16px;
}

.mb-6 {
    margin-bottom: 24px;
}

.mb-8 {
    margin-bottom: 32px;
}

.mb-10 {
    margin-bottom: 40px;
}

.mb-12 {
    margin-bottom: 48px;
}

.mb-16 {
    margin-bottom: 64px;
}

.mt-12 {
    margin-top: 48px;
}

.mt-16 {
    margin-top: 64px;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {

    .cc-grid-2,
    .cc-grid-2-sm-gap,
    .cc-grid-3 {
        grid-template-columns: 1fr;
    }

    .cc-bento-span-2 {
        grid-column: span 1;
    }
}

/* Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* ─────────────────────────────────────────────────────
 * Header / Navigation Styles 
 * ───────────────────────────────────────────────────── */
.theme-navbar {
    background: var(--cc-bg-obsidian);
    height: 66px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--cc-border-glass);
}

.theme-logo {
    cursor: pointer;
    /* FIX: Force flexbox to respect the logo size and never shrink it to 0 */
    flex-shrink: 0; 
    width: 144px;  /* Explicitly allocate horizontal track layout area */
    height: 36px;  /* Force matching constraint height boundary */
    display: flex;
    align-items: center;
}

/* Ensure child elements expand to fill the newly declared layout bounds safely */
.theme-logo a,
.theme-logo img,
.theme-logo svg {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

.theme-nav-links {
    display: flex;
    align-items: center;
}

.primary-nav-list {
    display: flex;
    gap: 4px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.theme-nav-links a,
.primary-nav-list a {
    background: none;
    border: none;
    color: var(--cc-text-muted);
    font-size: 13px;
    padding: 7px 12px;
    cursor: pointer;
    border-radius: 3px;
    transition: all var(--cc-transition-speed);
    white-space: nowrap;
    font-family: var(--cc-font-body);
    text-decoration: none;
    font-weight: 500;
}

.theme-nav-links a:hover,
.theme-nav-links a.active,
.primary-nav-list a:hover {
    color: var(--cc-text-pure);
    background: rgba(255, 255, 255, 0.12);
}



.theme-nav-r {
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-gn {
    background: transparent;
    color: var(--cc-text-muted);
    padding: 8px 16px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid var(--cc-border-glass);
    cursor: pointer;
    font-family: var(--cc-font-body);
    transition: all var(--cc-transition-speed);
    text-decoration: none;
}

.btn-gn:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--cc-text-pure);
}

.btn-sn {
    background: var(--cc-text-pure);
    color: var(--cc-bg-obsidian);
    padding: 8px 18px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    font-family: var(--cc-font-body);
    text-decoration: none;
    transition: background var(--cc-transition-speed);
}

.btn-sn:hover {
    background: var(--cc-accent-cyber);
    color: var(--cc-text-pure) !important;
}

.hbg {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.hbg span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--cc-text-pure);
}

.drawer {
    display: none;
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--cc-bg-obsidian);
    z-index: 999;
    padding: 24px;
    overflow-y: auto;
    flex-direction: column;
    gap: 4px;
}

.drawer.open {
    display: flex;
}

.drawer a,
.drawer-menu-list a {
    display: block;
    background: none;
    border: none;
    color: var(--cc-text-muted);
    font-size: 15px;
    padding: 14px 0;
    cursor: pointer;
    border-bottom: 1px solid var(--cc-border-glass);
    text-align: left;
    font-family: var(--cc-font-body);
    text-decoration: none;
    font-weight: 500;
}

.drawer a:hover,
.drawer a.active,
.drawer-menu-list a:hover {
    color: var(--cc-text-pure);
}

.drawer-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.drawer .dcta {
    display: block;
    background: var(--cc-text-pure);
    color: var(--cc-bg-obsidian);
    border-radius: 3px;
    font-weight: 700;
    padding: 14px;
    text-align: center;
    margin-top: 16px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

/* ─────────────────────────────────────────────────────
 * Footer Styles 
 * ───────────────────────────────────────────────────── */
.theme-footer {
    background: var(--cc-bg-obsidian);
    padding: 48px;
    border-top: 1px solid var(--cc-border-glass);
}

.fg {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--cc-layout-max);
    margin: 0 auto;
}

.fgb p {
    font-size: 13px;
    color: var(--cc-text-muted);
    line-height: 1.8;
    margin-top: 14px;
    max-width: 260px;
}

.fc h4 {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cc-text-muted);
    margin-bottom: 14px;
}

.fc a,
.footer-links a {
    display: block;
    font-size: 13px;
    color: var(--cc-text-muted);
    padding: 4px 0;
    cursor: pointer;
    transition: color var(--cc-transition-speed);
    background: none;
    border: none;
    font-family: var(--cc-font-body);
    text-align: left;
    text-decoration: none;
}

.fc a:hover,
.footer-links a:hover {
    color: var(--cc-text-pure);
}

.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.fbtm {
    max-width: var(--cc-layout-max);
    margin: 28px auto 0;
    padding-top: 22px;
    border-top: 1px solid var(--cc-border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.fbtm p {
    font-size: 12px;
    color: var(--cc-text-subtle);
}

.fbtm-slogan a:hover {
    color: var(--cc-accent-cyber) !important;
}

@media (max-width: 1024px) {
    .fg {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 900px) {
    .theme-navbar {
        padding: 0 20px;
    }

    .theme-nav-links,
    .theme-nav-r {
        display: none;
    }

    .hbg {
        display: flex;
    }

    .theme-footer {
        padding: 32px 24px;
    }
}

/* ─────────────────────────────────────────────────────
 * About Page Section
 * Module   : About
 * Pillar   : P1 (Architecture), P8 (Code Quality)
 * ───────────────────────────────────────────────────── */

.cc-about-layout {
    align-items: start;
    padding-top: 120px;
    padding-bottom: 120px;
}

.cc-about-intro {
    position: sticky;
    top: 110px;
}

.cc-about-highlight {
    padding: 28px 32px;
    position: relative;
    overflow: hidden;
}

.cc-about-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cc-accent-glow), transparent 65%);
    pointer-events: none;
}

.cc-about-panel {
    padding: 40px;
}

.cc-about-points {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cc-about-point {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cc-about-point p {
    flex: 1;
    min-width: 0;
    padding-top: 3px;
}

.cc-about-feature-card {
    padding: 28px;
    min-width: 0;
}

.cc-about-feature-card h3,
.cc-about-feature-card p {
    min-width: 0;
    overflow-wrap: break-word;
}

.cc-about-global-card {
    padding: 40px;
    min-width: 0;
}

.cc-about-panel,
.cc-about-feature-card,
.cc-about-global-card,
.cc-about-highlight {
    width: 100%;
    min-width: 0;
}

.cc-about-layout * {
    max-width: 100%;
}

/* ─────────────────────────────────────────────────────
 * Responsive
 * ───────────────────────────────────────────────────── */

@media (max-width: 1024px) {

    .cc-about-layout {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-top: 80px;
        padding-bottom: 80px;
    }

    .cc-about-intro {
        position: relative;
        top: auto;
    }
}

@media (max-width: 768px) {

    .cc-about-layout {
        gap: 32px;
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .cc-about-panel,
    .cc-about-global-card {
        padding: 28px 22px;
    }

    .cc-about-feature-card {
        padding: 24px 22px;
    }

    .cc-about-highlight {
        padding: 24px 22px;
    }

    .cc-about-point {
        gap: 12px;
    }
}

@media (max-width: 480px) {

    .cc-about-layout {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    .cc-about-panel,
    .cc-about-global-card,
    .cc-about-feature-card,
    .cc-about-highlight {
        padding-left: 18px;
        padding-right: 18px;
    }

    .cc-about-panel,
    .cc-about-global-card {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .text-5xl {
        line-height: 1.05;
    }
}

/* ─────────────────────────────────────────────────────
 * Editorial / Blog System
 * ───────────────────────────────────────────────────── */

.post-category a {
    text-decoration: none;
}

.cc-post-feed {
    display: flex;
    flex-direction: column;
    gap: clamp(32px, 5vw, 56px);
}

.cc-post-feature {
    overflow: hidden;
}

.cc-post-feature-image {
    border-radius: var(--cc-radius-md);
    overflow: hidden;
    margin-bottom: 24px;
}

.cc-post-feature-image img,
.cc-post-card-image img,
.cc-article-hero img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.cc-post-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.cc-post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: clamp(20px, 4vw, 32px);
}

.cc-post-card {
    height: 100%;
}

.cc-post-card-image {
    border-radius: var(--cc-radius-sm);
    overflow: hidden;
}

.cc-post-card-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cc-post-card-title a,
.cc-post-feature-title a,
.cc-article-title {
    color: var(--cc-text-pure);
    text-decoration: none;
}

.cc-post-card-title a:hover,
.cc-post-feature-title a:hover {
    color: var(--cc-accent-cyber);
}

.cc-article-shell {
    display: flex;
    flex-direction: column;
    gap: clamp(40px, 6vw, 72px);
}

.cc-article-header {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.cc-article-hero {
    overflow: hidden;
    border-radius: var(--cc-radius-lg);
}

.cc-editorial-content {
    width: 100%;
    /* max-width: 760px; */
    max-width: var(--cc-layout-max);
    margin: 0 auto;
}

.cc-editorial-content p {
    font-size: clamp(1rem, 1.2vw, 1.125rem);
    line-height: 1.9;
    color: var(--cc-text-muted);
    margin-bottom: 1.5em;
}

.cc-editorial-content h2,
.cc-editorial-content h3,
.cc-editorial-content h4 {
    margin-top: 2.2em;
    margin-bottom: 0.8em;
}

.cc-editorial-content ul,
.cc-editorial-content ol {
    padding-left: 1.4rem;
    margin-bottom: 1.5em;
}

.cc-editorial-content li {
    margin-bottom: 0.7em;
    color: var(--cc-text-muted);
}

.cc-editorial-content img {
    width: 100%;
    height: auto;
    border-radius: var(--cc-radius-md);
    margin: 32px 0;
}

.cc-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

@media (max-width: 768px) {

    .cc-post-grid,
    .cc-related-grid {
        grid-template-columns: 1fr;
    }

    .cc-editorial-content {
        max-width: 100%;
    }
}

/* ─────────────────────────────────────────────────────
 * Pagination System
 * ───────────────────────────────────────────────────── */

.navigation.pagination {
    margin-top: clamp(48px, 6vw, 72px);
}

.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.navigation.pagination .page-numbers {
    min-width: 44px;
    height: 44px;
    padding: 0 16px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 999px;

    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--cc-border-glass);

    color: var(--cc-text-muted);
    text-decoration: none;

    font-size: var(--cc-text-sm);
    font-weight: 600;

    transition:
        background var(--cc-transition-speed),
        border-color var(--cc-transition-speed),
        color var(--cc-transition-speed),
        transform var(--cc-transition-speed);
}

.navigation.pagination .page-numbers:hover {
    border-color: var(--cc-border-highlight);
    background: rgba(255, 255, 255, 0.06);
    color: var(--cc-text-pure);
    transform: translateY(-2px);
}

.navigation.pagination .page-numbers.current {
    background: var(--cc-text-pure);
    color: var(--cc-bg-obsidian);
    border-color: var(--cc-text-pure);
}

.navigation.pagination .prev,
.navigation.pagination .next {
    padding-left: 20px;
    padding-right: 20px;
}

@media (max-width: 640px) {

    .navigation.pagination .nav-links {
        gap: 8px;
    }

    .navigation.pagination .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 14px;
        font-size: 13px;
    }

    .navigation.pagination .prev,
    .navigation.pagination .next {
        width: 100%;
    }
}

/* ─────────────────────────────────────────────────────
 * Mobile Drawer System (2026 Bento/Glass Design)
 * ───────────────────────────────────────────────────── */

/* Burger Icon Animation */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1100;
    display: flex;
    align-items: center;
}

.hamburger-box {
    width: 24px;
    height: 14px;
    display: inline-block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    width: 24px;
    height: 2px;
    background-color: var(--cc-text-pure);
    position: absolute;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: "";
    top: -6px;
}

.hamburger-inner::after {
    content: "";
    bottom: -6px;
}

/* Active Toggle State */
.menu-toggle.is-active .hamburger-inner {
    background: transparent;
}

.menu-toggle.is-active .hamburger-inner::before {
    transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-inner::after {
    transform: translateY(-6px) rotate(-45deg);
}

/* Drawer Container */
.mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 1050;
    visibility: hidden;
    pointer-events: none;
    transition: visibility var(--cc-transition-speed);
}

.mobile-drawer.is-open {
    visibility: visible;
    pointer-events: all;
}

.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(5, 7, 10, 0.8);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--cc-transition-speed) ease;
}

.mobile-drawer.is-open .drawer-overlay {
    opacity: 1;
}

.drawer-content {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--cc-bg-surface);
    border-left: 1px solid var(--cc-border-glass);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer.is-open .drawer-content {
    transform: translateX(0);
}

/* Nav Links */
.drawer-body {
    flex: 1;
    padding: 100px 32px 40px;
    overflow-y: auto;
}

.mobile-nav-list {
    list-style: none;
    margin-bottom: 48px;
}

.mobile-nav-list li {
    margin-bottom: 24px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s ease;
}

.mobile-drawer.is-open .mobile-nav-list li {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation for links */
.mobile-drawer.is-open li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-drawer.is-open li:nth-child(2) {
    transition-delay: 0.15s;
}

.mobile-drawer.is-open li:nth-child(3) {
    transition-delay: 0.2s;
}

.mobile-drawer.is-open li:nth-child(4) {
    transition-delay: 0.25s;
}

.mobile-nav-list a {
    font-family: var(--cc-font-display);
    font-size: var(--cc-text-2xl);
    font-weight: 700;
    color: var(--cc-text-pure);
    text-decoration: none;
    transition: color 0.2s ease;
}

.mobile-nav-list a:hover {
    color: var(--cc-accent-cyber);
}

/* Bento Grid in Drawer */
.drawer-bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.bento-item {
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.drawer-footer {
    padding: 32px;
    border-top: 1px solid var(--cc-border-glass);
}

/* Responsive Utilities */
@media (min-width: 1025px) {

    .menu-toggle,
    .mobile-drawer {
        display: none;
    }
}

@media (max-width: 1024px) {
    .hide-mobile {
        display: none;
    }

    .hide-tablet {
        display: none;
    }
}

@media (max-width: 768px) {

    .drawer-content {
        max-width: 100%;
    }
}

/* ─────────────────────────────────────────────────────
 * Drawer Close UI (Bento/Glass Style)
 * ───────────────────────────────────────────────────── */

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--cc-border-glass);
    position: sticky;
    top: 0;
    background: var(--cc-bg-glow);
    backdrop-filter: blur(20px);
    z-index: 10;
}

.close-drawer {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cc-bg-surface-elevated);
    border: 1px solid var(--cc-border-glass);
    color: var(--cc-text-pure);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--cc-transition-speed) ease;
}

.close-drawer:hover {
    background: var(--cc-accent-glow);
    border-color: var(--cc-accent-cyber);
    color: var(--cc-accent-cyber);
    transform: rotate(90deg);
}

.close-drawer svg {
    width: 20px;
    height: 20px;
}

/* Ensure the main toggle is hidden when drawer is open on mobile to avoid overlap */
@media (max-width: 768px) {
    .mobile-drawer.is-open~.site-header .menu-toggle {
        opacity: 0;
        pointer-events: none;
    }
}