.editorial-body {
    background:
        radial-gradient(circle at top, rgba(0, 206, 201, 0.12), transparent 34%),
        radial-gradient(circle at 85% 18%, rgba(232, 97, 26, 0.12), transparent 22%),
        linear-gradient(180deg, #090910 0%, #0d0d16 100%);
}

.editorial-shell {
    padding-top: 112px;
    padding-bottom: 80px;
}

.editorial-hero {
    position: relative;
    padding: 56px 0 28px;
}

.editorial-hero::before {
    content: '';
    position: absolute;
    inset: 10px auto auto 50%;
    width: min(720px, 88vw);
    height: 320px;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(240, 165, 0, 0.14), transparent 64%);
    pointer-events: none;
    filter: blur(10px);
}

.editorial-hero-inner {
    position: relative;
    max-width: 860px;
    text-align: center;
    margin: 0 auto;
}

.editorial-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 206, 201, 0.18);
    background: rgba(0, 206, 201, 0.08);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.editorial-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 14px currentColor;
}

.editorial-title {
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}

.editorial-subtitle {
    color: var(--text-secondary);
    font-size: 1.08rem;
    line-height: 1.85;
    max-width: 760px;
    margin: 0 auto;
}

.editorial-meta-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.editorial-meta-pill {
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
}

.editorial-meta-pill strong {
    color: var(--text-primary);
}

.editorial-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 240px;
    gap: 16px;
    margin-top: 34px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--border-subtle);
    background: rgba(21, 21, 31, 0.82);
    box-shadow: var(--shadow-card);
}

.editorial-search-input,
.editorial-select {
    width: 100%;
    padding: 15px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background: rgba(10, 10, 15, 0.95);
    color: var(--text-primary);
    font-size: 0.98rem;
    font-family: inherit;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.editorial-search-input:focus,
.editorial-select:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 0 0 0 2px rgba(240, 165, 0, 0.16);
}

.editorial-summary {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin: 22px 0 18px;
}

.editorial-summary p {
    color: var(--text-secondary);
}

.editorial-counter {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(240, 165, 0, 0.08);
    color: var(--accent-yellow);
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
}

.editorial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.editorial-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 310px;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015)),
        var(--bg-card);
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-medium), border-color var(--transition-fast), box-shadow var(--transition-medium);
}

.editorial-card:hover {
    transform: translateY(-6px);
    border-color: rgba(240, 165, 0, 0.36);
    box-shadow: var(--shadow-hover);
}

.editorial-card-featured {
    grid-column: span 2;
    background:
        radial-gradient(circle at top right, rgba(0, 206, 201, 0.14), transparent 36%),
        linear-gradient(135deg, rgba(240, 165, 0, 0.12), rgba(255, 255, 255, 0.02)),
        var(--bg-card);
}

.editorial-card-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 206, 201, 0.1);
    color: var(--accent-cyan);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.editorial-card-featured .editorial-card-category {
    background: rgba(240, 165, 0, 0.12);
    color: var(--accent-yellow);
}

.editorial-card h2 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.editorial-card p {
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.8;
}

.editorial-card-meta {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.editorial-card-link {
    margin-top: 20px;
    color: var(--text-primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.editorial-card-link span {
    color: var(--accent-yellow);
}

.editorial-empty {
    grid-column: 1 / -1;
    padding: 26px;
    border-radius: 18px;
    border: 1px solid rgba(214, 48, 49, 0.24);
    background: rgba(214, 48, 49, 0.08);
    color: #fecaca;
    text-align: center;
}

.editorial-cta {
    margin-top: 48px;
    padding: 34px;
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background: linear-gradient(135deg, rgba(0, 206, 201, 0.12), rgba(240, 165, 0, 0.08));
    text-align: center;
    box-shadow: var(--shadow-card);
}

.editorial-cta h2 {
    font-size: clamp(1.9rem, 3vw, 2.5rem);
    margin-bottom: 12px;
}

.editorial-cta p {
    max-width: 760px;
    margin: 0 auto 20px;
    color: var(--text-secondary);
}

.article-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: start;
}

.article-panel,
.article-sidebar-card,
.article-hero-card {
    border-radius: 24px;
    border: 1px solid var(--border-subtle);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.015)),
        var(--bg-card);
    box-shadow: var(--shadow-card);
}

.article-hero-card {
    padding: 34px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.article-hero-card::after {
    content: '';
    position: absolute;
    inset: auto -80px -80px auto;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(0, 206, 201, 0.14), transparent 68%);
    pointer-events: none;
}

.article-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.article-breadcrumb a:hover {
    color: var(--text-primary);
}

.article-title {
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
}

.article-summary {
    color: var(--text-secondary);
    font-size: 1.06rem;
    line-height: 1.85;
    max-width: 820px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.article-panel {
    padding: 32px;
}

.article-section + .article-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

.article-section h2 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

.article-section p {
    color: var(--text-secondary);
    line-height: 1.9;
}

.article-section ul {
    padding-left: 20px;
    color: var(--text-secondary);
    line-height: 1.9;
}

.article-section li + li {
    margin-top: 8px;
}

.article-sidebar {
    display: grid;
    gap: 18px;
}

.article-sidebar-card {
    padding: 22px;
}

.article-sidebar-card h3 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.article-sidebar-card p,
.article-sidebar-card li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.75;
}

.article-sidebar-card ul {
    padding-left: 18px;
}

.article-related-list {
    display: grid;
    gap: 12px;
}

.article-related-link {
    display: block;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
    transition: border-color var(--transition-fast), transform var(--transition-fast);
}

.article-related-link:hover {
    border-color: rgba(240, 165, 0, 0.28);
    transform: translateY(-2px);
}

.article-related-link strong {
    display: block;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.article-related-link span {
    color: var(--text-muted);
    font-size: 0.84rem;
}

.article-not-found {
    max-width: 820px;
    margin: 80px auto 0;
    padding: 34px;
    border-radius: 24px;
    border: 1px solid rgba(214, 48, 49, 0.24);
    background: rgba(214, 48, 49, 0.08);
    text-align: center;
}

.article-not-found h1 {
    margin-bottom: 10px;
}

.article-not-found p {
    color: var(--text-secondary);
    margin-bottom: 18px;
}

@media (max-width: 1024px) {
    .editorial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .article-shell {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .editorial-shell {
        padding-top: 94px;
        padding-bottom: 44px;
    }

    .editorial-toolbar {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .editorial-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .editorial-grid {
        grid-template-columns: 1fr;
    }

    .editorial-card-featured {
        grid-column: span 1;
    }

    .editorial-card,
    .editorial-cta,
    .article-hero-card,
    .article-panel,
    .article-sidebar-card {
        padding: 22px 18px;
    }
}
