﻿/* ═══════════════════════════════════════════════
   PUBLIC KNOWLEDGE PAGE STYLES
   ═══════════════════════════════════════════════ */

/* === HERO === */
.knowledge-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-particles {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 50%, rgba(124, 77, 255, .15), transparent 50%), radial-gradient(circle at 80% 30%, rgba(0, 229, 255, .12), transparent 50%), radial-gradient(circle at 50% 80%, rgba(255, 77, 210, .1), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.knowledge-hero-inner {
    position: relative;
    z-index: 2;
}

.knowledge-hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.knowledge-hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 1.5rem 0 1.5rem;
    color: var(--text);
}

    .knowledge-hero-title .line {
        display: block;
    }

.knowledge-hero-desc {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-soft);
    margin-bottom: 2rem;
}

/* === Search Box === */
.knowledge-search-box {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    padding: 0.5rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.search-input-wrap {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

    .search-input-wrap i {
        position: absolute;
        right: 1.25rem;
        color: var(--text-muted);
        font-size: 0.95rem;
        pointer-events: none;
    }

    .search-input-wrap input {
        width: 100%;
        padding: 0.95rem 3rem 0.95rem 1.25rem;
        background: transparent;
        border: none;
        color: var(--text);
        font-family: inherit;
        font-size: 0.95rem;
        outline: none;
    }

        .search-input-wrap input::placeholder {
            color: var(--text-muted);
        }

.search-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    background: var(--grad-cta);
    border: none;
    border-radius: 100px;
    color: #fff;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s var(--ease);
    box-shadow: 0 8px 20px rgba(124, 77, 255, 0.35);
}

    .search-submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 28px rgba(124, 77, 255, 0.5);
    }

/* === Hero Stats === */
.knowledge-hero-stats {
    display: inline-flex;
    align-items: center;
    gap: 2rem;
    padding: 1.25rem 2.25rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.8), rgba(20, 21, 48, 0.6));
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    flex-wrap: wrap;
    justify-content: center;
}

.hero-stat {
    text-align: center;
    min-width: 90px;
}

.hero-stat-value {
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 1.85rem;
    line-height: 1;
    background: var(--grad-cta);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
    margin-bottom: 0.4rem;
}

.hero-stat-label {
    color: var(--text-soft);
    font-size: 0.8rem;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 38px;
    background: var(--border);
}

/* ═══════════════════════════════════════════════
   FEATURED ARTICLE
   ═══════════════════════════════════════════════ */
.featured-article-section {
    padding: 5rem 0 3rem;
}

.featured-article-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    text-decoration: none;
    color: inherit;
    transition: all 0.65s var(--ease);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
}

    .featured-article-card:hover {
        transform: translateY(-8px);
        border-color: var(--neon-violet);
        box-shadow: 0 32px 80px rgba(124, 77, 255, 0.3);
    }

.featured-cover {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

    .featured-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s var(--ease);
    }

.featured-article-card:hover .featured-cover img {
    transform: scale(1.06);
}

.featured-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.6);
}

.featured-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.1), transparent);
    pointer-events: none;
}

.featured-badge-floating {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.6rem 1.15rem;
    background: linear-gradient(135deg, #ffb547, #ff4dd2);
    color: #fff;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(255, 181, 71, 0.45);
    z-index: 2;
    animation: badgePulse 2.5s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.featured-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-category {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.95rem;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(0, 212, 255, 0.06));
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    color: var(--neon-cyan);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    align-self: flex-start;
}

    .featured-category i {
        font-size: 0.7rem;
    }

.featured-title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.3;
    margin: 0 0 1rem;
}

.featured-description {
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.85;
    margin: 0 0 1.5rem;
}

.featured-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--border);
}

    .featured-meta .meta-item {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--text-muted);
        font-size: 0.85rem;
    }

        .featured-meta .meta-item i {
            color: var(--neon-cyan);
            font-size: 0.78rem;
        }

.featured-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--neon-cyan);
    font-weight: 700;
    font-size: 0.95rem;
    transition: gap 0.4s var(--ease);
}

.featured-article-card:hover .featured-cta {
    gap: 1rem;
}

.featured-cta i {
    transition: transform 0.4s var(--ease);
}

.featured-article-card:hover .featured-cta i {
    transform: translateX(-4px);
}

/* ═══════════════════════════════════════════════
   FILTERS
   ═══════════════════════════════════════════════ */
.knowledge-articles-section {
    padding: 4rem 0 5rem;
}

.knowledge-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 3rem;
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.2rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.7), rgba(20, 21, 48, 0.5));
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-soft);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    backdrop-filter: blur(8px);
    transition: all 0.45s var(--ease);
}

    .filter-chip:hover {
        border-color: var(--border-glow);
        color: var(--text);
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(124, 77, 255, 0.15);
    }

    .filter-chip.active {
        background: var(--grad-cta);
        border-color: transparent;
        color: #fff;
        box-shadow: 0 8px 20px rgba(124, 77, 255, 0.4);
    }

    .filter-chip i {
        font-size: 0.78rem;
        color: var(--neon-cyan);
    }

    .filter-chip.active i {
        color: #fff;
    }

.chip-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 0.4rem;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    font-family: var(--font-en);
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.filter-chip.active .chip-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

/* === Active Filter Info === */
.active-filter-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.06), rgba(124, 77, 255, 0.03));
    border: 1px dashed rgba(0, 212, 255, 0.3);
    border-radius: 14px;
    flex-wrap: wrap;
}

.filter-info-content {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-soft);
    font-size: 0.92rem;
}

    .filter-info-content i {
        color: var(--neon-cyan);
    }

    .filter-info-content strong {
        color: var(--text);
        font-weight: 700;
    }

.filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1.1rem;
    background: rgba(255, 77, 109, 0.08);
    border: 1px solid rgba(255, 77, 109, 0.25);
    border-radius: 100px;
    color: var(--neon-red);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s var(--ease);
}

    .filter-clear:hover {
        background: var(--neon-red);
        color: #fff;
        border-color: transparent;
    }

/* ═══════════════════════════════════════════════
   KNOWLEDGE GRID
   ═══════════════════════════════════════════════ */
.knowledge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
}

.knowledge-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border);
    border-radius: 22px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    text-decoration: none;
    color: inherit;
    transition: all 0.6s var(--ease);
}

    .knowledge-card:hover {
        transform: translateY(-8px);
        border-color: var(--border-glow);
        box-shadow: 0 24px 50px rgba(124, 77, 255, 0.18);
    }

.card-cover {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.15), rgba(0, 212, 255, 0.08));
}

    .card-cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 1s var(--ease);
    }

.knowledge-card:hover .card-cover img {
    transform: scale(1.06);
}

.card-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.5s var(--ease);
}

.knowledge-card:hover .card-cover-placeholder i {
    transform: rotate(-8deg) scale(1.08);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: inline-block;
}

.card-category-badge {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    background: rgba(13, 15, 36, 0.85);
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    color: var(--neon-cyan);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    z-index: 2;
}

    .card-category-badge i {
        font-size: 0.65rem;
    }

.card-body {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-title {
    margin: 0 0 0.65rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-description {
    color: var(--text-soft);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0 0 1.25rem;
    flex: 1;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border);
}

.card-meta {
    display: flex;
    gap: 0.85rem;
}

    .card-meta .meta-item {
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        color: var(--text-muted);
        font-size: 0.8rem;
        font-family: var(--font-mono);
    }

        .card-meta .meta-item i {
            color: var(--neon-cyan);
            font-size: 0.7rem;
        }

.card-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(124, 77, 255, 0.08);
    border: 1px solid var(--border-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    font-size: 0.85rem;
    transition: all 0.4s var(--ease);
}

.knowledge-card:hover .card-arrow {
    background: var(--grad-cta);
    color: #fff;
    border-color: transparent;
    transform: translateX(-4px);
}

/* ═══════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════ */
.knowledge-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

    .knowledge-pagination .page-link {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        padding: 0.65rem 1rem;
        background: rgba(13, 15, 36, 0.6);
        border: 1px solid var(--border);
        border-radius: 12px;
        color: var(--text-soft);
        font-size: 0.88rem;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.4s var(--ease);
        min-width: 42px;
        justify-content: center;
    }

        .knowledge-pagination .page-link:hover {
            border-color: var(--border-glow);
            color: var(--text);
            transform: translateY(-2px);
        }

        .knowledge-pagination .page-link.active {
            background: var(--grad-cta);
            border-color: transparent;
            color: #fff;
            box-shadow: 0 8px 18px rgba(124, 77, 255, 0.35);
        }

/* ═══════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════ */
.knowledge-empty,
.empty-filter-state {
    text-align: center;
    padding: 5rem 2rem;
    max-width: 600px;
    margin: 0 auto;
}

    .knowledge-empty i,
    .empty-filter-state i {
        font-size: 5rem;
        color: var(--text-dim);
        margin-bottom: 1.5rem;
        opacity: 0.45;
    }

    .knowledge-empty h2,
    .empty-filter-state h3 {
        font-size: 1.6rem;
        margin: 0 0 1rem;
        color: var(--text);
    }

    .knowledge-empty p,
    .empty-filter-state p {
        color: var(--text-soft);
        font-size: 1rem;
        line-height: 1.85;
        margin: 0 0 2rem;
    }

/* ═══════════════════════════════════════════════
   CTA SECTION (Index)
   ═══════════════════════════════════════════════ */
.knowledge-cta-section {
    padding: 5rem 0;
}

.knowledge-cta-card {
    position: relative;
    padding: 3.5rem 3rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.95), rgba(20, 21, 48, 0.85));
    border: 1px solid var(--border-glow);
    border-radius: 28px;
    overflow: hidden;
    text-align: center;
    backdrop-filter: blur(20px);
}

.cta-glow {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 77, 255, 0.18), transparent 60%);
    pointer-events: none;
    animation: pulseBg 4s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin: 1.25rem 0 1rem;
}

.cta-desc {
    color: var(--text-soft);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.cta-actions {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

/* ═══════════════════════════════════════════════
   ARTICLE DETAILS PAGE
   ═══════════════════════════════════════════════ */

/* === Hero === */
.article-detail-hero {
    padding: 7rem 0 4rem;
    position: relative;
    overflow: hidden;
}

/* === Breadcrumbs === */
.article-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

    .article-breadcrumbs a {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        color: var(--text-soft);
        text-decoration: none;
        transition: color 0.3s;
    }

        .article-breadcrumbs a:hover {
            color: var(--neon-cyan);
        }

    .article-breadcrumbs .separator {
        color: var(--text-dim);
        font-size: 0.7rem;
    }

    .article-breadcrumbs .current {
        color: var(--text);
        font-weight: 600;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        max-width: 250px;
    }

/* === Article Header === */
.article-header {
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}

.article-category-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1.1rem;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(0, 212, 255, 0.06));
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    color: var(--neon-cyan);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.4s var(--ease);
}

    .article-category-link:hover {
        background: var(--grad-cta);
        color: #fff;
        border-color: transparent;
    }

    .article-category-link i {
        font-size: 0.72rem;
    }

.article-title-main {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text);
    line-height: 1.25;
    margin: 0 0 1.25rem;
}

.article-lead {
    color: var(--text-soft);
    font-size: 1.15rem;
    line-height: 1.85;
    margin: 0 0 2rem;
}

/* === Meta Bar === */
.article-meta-bar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    padding: 0.85rem 1.5rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border-glow);
    border-radius: 100px;
    backdrop-filter: blur(12px);
    justify-content: center;
}

.meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-soft);
    font-size: 0.85rem;
}

    .meta-pill i {
        color: var(--neon-cyan);
        font-size: 0.78rem;
    }

/* ═══════════════════════════════════════════════
   COVER IMAGE
   ═══════════════════════════════════════════════ */
.article-cover-section {
    padding: 0 0 2rem;
}

.article-cover-image {
    aspect-ratio: 21 / 9;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    max-width: 1100px;
    margin: 0 auto;
}

    .article-cover-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* ═══════════════════════════════════════════════
   MAIN CONTENT LAYOUT
   ═══════════════════════════════════════════════ */
.article-main-section {
    padding: 3rem 0 5rem;
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 2.5rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* === Article Content === */
.article-content-wrap {
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 3rem;
    backdrop-filter: blur(12px);
}

.article-content {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.95;
}

    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4 {
        color: var(--text);
        margin: 2rem 0 1rem;
        font-weight: 700;
        line-height: 1.3;
    }

    .article-content h1 {
        font-size: 1.85rem;
    }

    .article-content h2 {
        font-size: 1.55rem;
    }

    .article-content h3 {
        font-size: 1.3rem;
    }

    .article-content h4 {
        font-size: 1.15rem;
    }

    .article-content p {
        margin: 0 0 1.25rem;
        color: var(--text-soft);
    }

    .article-content a {
        color: var(--neon-cyan);
        text-decoration: underline;
        transition: color 0.3s;
    }

        .article-content a:hover {
            color: var(--neon-violet);
        }

    .article-content ul,
    .article-content ol {
        margin: 1rem 0;
        padding-right: 2rem;
        color: var(--text-soft);
    }

    .article-content li {
        margin-bottom: 0.5rem;
    }

    .article-content code {
        background: rgba(124, 77, 255, 0.12);
        color: var(--neon-violet);
        padding: 0.15rem 0.5rem;
        border-radius: 6px;
        font-family: 'JetBrains Mono', monospace;
        font-size: 0.92em;
    }

    .article-content pre {
        background: rgba(0, 0, 0, 0.45);
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 1.25rem;
        overflow-x: auto;
        margin: 1.5rem 0;
    }

        .article-content pre code {
            background: transparent;
            padding: 0;
            color: var(--text);
            font-size: 0.9rem;
            line-height: 1.65;
        }

    .article-content blockquote {
        border-right: 4px solid var(--neon-violet);
        background: rgba(124, 77, 255, 0.05);
        padding: 1rem 1.5rem;
        margin: 1.5rem 0;
        border-radius: 0 12px 12px 0;
        color: var(--text);
        font-style: italic;
    }

    .article-content img {
        max-width: 100%;
        height: auto;
        border-radius: 12px;
        margin: 1.5rem 0;
        border: 1px solid var(--border);
    }

    .article-content table {
        width: 100%;
        border-collapse: collapse;
        margin: 1.5rem 0;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid var(--border);
    }

    .article-content th,
    .article-content td {
        padding: 0.75rem 1rem;
        border: 1px solid var(--border);
        text-align: right;
    }

    .article-content th {
        background: rgba(124, 77, 255, 0.1);
        color: var(--text);
        font-weight: 700;
    }

    .article-content hr {
        border: none;
        height: 1px;
        background: linear-gradient(90deg, transparent, var(--border), transparent);
        margin: 2rem 0;
    }

/* ═══════════════════════════════════════════════
   SHARE BUTTONS
   ═══════════════════════════════════════════════ */
.article-share {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border);
}

    .article-share h4 {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin: 0 0 1.25rem;
        color: var(--text);
        font-size: 1.05rem;
        font-weight: 700;
    }

        .article-share h4 i {
            color: var(--neon-cyan);
        }

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.7rem 1.2rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-soft);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--ease);
}

    .share-btn:hover {
        transform: translateY(-3px);
        color: #fff;
        border-color: transparent;
    }

    .share-btn.share-twitter:hover {
        background: #000;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .share-btn.share-facebook:hover {
        background: #1877f2;
        box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
    }

    .share-btn.share-linkedin:hover {
        background: #0a66c2;
        box-shadow: 0 8px 20px rgba(10, 102, 194, 0.4);
    }

    .share-btn.share-whatsapp:hover {
        background: #25d366;
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    }

    .share-btn.share-copy:hover {
        background: var(--grad-cta);
        box-shadow: 0 8px 20px rgba(124, 77, 255, 0.4);
    }

/* === Copy Toast === */
.copy-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--neon-green), var(--neon-cyan));
    color: #fff;
    border-radius: 100px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(0, 230, 118, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: all 0.45s var(--ease-bounce);
}

    .copy-toast.show {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }

    .copy-toast i {
        font-size: 1.2rem;
    }

/* ═══════════════════════════════════════════════
   PREV / NEXT NAVIGATION
   ═══════════════════════════════════════════════ */
.article-prev-next {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px dashed var(--border);
}

.prev-next-card {
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s var(--ease);
}

    .prev-next-card:hover {
        background: rgba(124, 77, 255, 0.08);
        border-color: var(--border-glow);
        transform: translateY(-3px);
    }

.prev-next-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--neon-cyan);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.55rem;
}

.next-card .prev-next-label {
    justify-content: flex-end;
}

.prev-next-title {
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.5;
}

.next-card .prev-next-title {
    text-align: left;
}

/* ═══════════════════════════════════════════════
   SIDEBAR
   ═══════════════════════════════════════════════ */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 1.5rem;
}

.sidebar-card {
    padding: 1.5rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.85), rgba(20, 21, 48, 0.7));
    border: 1px solid var(--border);
    border-radius: 18px;
    backdrop-filter: blur(12px);
}

    .sidebar-card h3 {
        display: flex;
        align-items: center;
        gap: 0.55rem;
        margin: 0 0 1.15rem;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--text);
    }

        .sidebar-card h3 i {
            color: var(--neon-cyan);
            font-size: 0.85rem;
        }

/* === Reading Progress === */
.progress-card {
    background: linear-gradient(145deg, rgba(124, 77, 255, 0.06), rgba(0, 212, 255, 0.03));
    border-color: var(--border-glow);
}

.reading-progress {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.progress-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--grad-cta);
    border-radius: 100px;
    transition: width 0.3s ease;
    box-shadow: 0 0 12px rgba(124, 77, 255, 0.6);
}

.progress-percent {
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--neon-cyan);
    font-size: 0.88rem;
    min-width: 40px;
    text-align: center;
}

/* === Related List === */
.related-list,
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.related-item {
    display: flex;
    gap: 0.85rem;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease);
}

    .related-item:hover {
        background: rgba(124, 77, 255, 0.08);
        border-color: var(--border-glow);
        transform: translateX(-3px);
    }

.related-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(13, 15, 36, 0.5);
}

    .related-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.2rem;
}

.related-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .related-info h4 {
        margin: 0 0 0.4rem;
        color: var(--text);
        font-size: 0.88rem;
        font-weight: 600;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.related-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

    .related-meta i {
        color: var(--neon-cyan);
        font-size: 0.65rem;
    }

/* === Popular List === */
.popular-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s var(--ease);
}

    .popular-item:hover {
        background: rgba(124, 77, 255, 0.08);
        border-color: var(--border-glow);
        transform: translateX(-3px);
    }

.popular-rank {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--grad-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: var(--font-en);
    font-weight: 800;
    font-size: 0.92rem;
    flex-shrink: 0;
    box-shadow: 0 6px 14px rgba(124, 77, 255, 0.4);
}

.popular-info {
    flex: 1;
    min-width: 0;
}

    .popular-info h4 {
        margin: 0 0 0.3rem;
        color: var(--text);
        font-size: 0.88rem;
        font-weight: 600;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.popular-meta {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-muted);
    font-size: 0.75rem;
}

    .popular-meta i {
        color: var(--neon-amber);
        font-size: 0.65rem;
    }

/* === Sidebar CTA === */
.sidebar-cta-card {
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.12), rgba(0, 212, 255, 0.06));
    border-color: var(--border-glow);
    text-align: center;
}

.cta-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    border-radius: 16px;
    background: var(--grad-cta);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
    box-shadow: 0 10px 24px rgba(124, 77, 255, 0.4);
    animation: pulseBg 3s ease-in-out infinite;
}

.sidebar-cta-card h3 {
    margin: 0 0 0.65rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    justify-content: center;
}

.sidebar-cta-card p {
    color: var(--text-soft);
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 1.25rem;
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ═══════════════════════════════════════════════
   BACK TO KNOWLEDGE
   ═══════════════════════════════════════════════ */
.back-to-knowledge-section {
    padding: 0 0 5rem;
}

.back-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(13, 15, 36, 0.6), rgba(20, 21, 48, 0.4));
    border: 1px dashed var(--border);
    border-radius: 18px;
}

/* ═══════════════════════════════════════════════
   AOS Optimizations
   ═══════════════════════════════════════════════ */
[data-aos] {
    will-change: transform, opacity;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos] {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
    }
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .featured-article-card {
        grid-template-columns: 1fr;
    }

    .featured-content {
        padding: 2rem;
    }

    .article-layout {
        grid-template-columns: 1fr;
    }

    .article-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .knowledge-hero {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .knowledge-search-box {
        flex-direction: column;
        border-radius: 24px;
        padding: 1rem;
    }

    .search-input-wrap input {
        padding: 0.75rem 2.85rem 0.75rem 1rem;
    }

    .search-submit-btn {
        width: 100%;
        justify-content: center;
    }

    .knowledge-hero-stats {
        gap: 0.85rem;
        padding: 1rem 1.5rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-stat {
        min-width: 75px;
    }

    .hero-stat-value {
        font-size: 1.4rem;
    }

    .knowledge-grid {
        grid-template-columns: 1fr;
    }

    .article-content-wrap {
        padding: 1.75rem 1.5rem;
    }

    .article-content {
        font-size: 0.98rem;
    }

    .article-prev-next {
        grid-template-columns: 1fr;
    }

    .next-card .prev-next-label {
        justify-content: flex-start;
    }

    .next-card .prev-next-title {
        text-align: right;
    }

    .article-meta-bar {
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .article-breadcrumbs .current {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .share-btn {
        flex: 1;
        justify-content: center;
        font-size: 0.78rem;
        padding: 0.65rem 0.85rem;
    }

        .share-btn span {
            display: none;
        }
}
