﻿.article-hero {
    min-height: 60vh;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.article-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(108,43,217,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(108,43,217,.04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.article-hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.article-hero-orb-1 {
    width: 500px;
    height: 500px;
    background: rgba(108,43,217,.15);
    top: -10%;
    right: -5%;
}

.article-hero-orb-2 {
    width: 350px;
    height: 350px;
    background: rgba(26,107,255,.1);
    bottom: -5%;
    left: -5%;
}

.article-hero-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 4% 5rem;
}

.article-breadcrumb {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: var(--fm);
    font-size: .65rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: var(--muted);
}

    .article-breadcrumb a {
        color: var(--purple-3);
        transition: color .2s;
        text-decoration: none;
    }

        .article-breadcrumb a:hover {
            color: var(--gold-2);
        }

.article-cat {
    display: inline-block;
    font-family: var(--fm);
    font-size: .62rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .7rem;
    border-radius: 3px;
    background: rgba(108,43,217,.2);
    color: var(--purple-3);
    border: 1px solid rgba(108,43,217,.3);
    margin-bottom: 1.5rem;
}

.article-hero h1 {
    font-family: var(--fd);
    font-size: clamp(2.4rem, 5.5vw, 4.5rem);
    letter-spacing: .03em;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-family: var(--fm);
    font-size: .68rem;
    letter-spacing: .08em;
    color: var(--muted);
}

.article-meta-author {
    color: var(--gold-2);
    font-weight: 500;
}

.article-body-section {
    position: relative;
    z-index: 2;
    padding: 0 4% 6rem;
}

.article-body-inner {
    max-width: 780px;
    margin: 0 auto;
}

.article-body {
    font-size: 1.02rem;
    font-weight: 300;
    line-height: 1.9;
    color: rgba(240,238,255,.72);
}

    .article-body h2 {
        font-family: var(--fd);
        font-size: 1.8rem;
        letter-spacing: .03em;
        color: var(--white);
        margin: 3rem 0 1rem;
        line-height: 1.2;
    }

    .article-body h3 {
        font-family: var(--fd);
        font-size: 1.3rem;
        letter-spacing: .03em;
        color: var(--white);
        margin: 2.5rem 0 .8rem;
    }

    .article-body p {
        margin-bottom: 1.5rem;
    }

    .article-body strong {
        color: var(--white);
        font-weight: 500;
    }

    .article-body em {
        color: var(--gold-2);
        font-style: normal;
    }

    .article-body ul, .article-body ol {
        margin: 1rem 0 1.5rem 1.5rem;
    }

    .article-body li {
        margin-bottom: .5rem;
    }

    .article-body code {
        font-family: var(--fm);
        font-size: .82rem;
        background: var(--black-3);
        padding: .15rem .4rem;
        border-radius: 2px;
        color: var(--blue-l);
    }

    .article-body blockquote {
        border-left: 3px solid var(--purple);
        padding-left: 1.5rem;
        margin: 2rem 0;
        color: rgba(240,238,255,.55);
        font-style: italic;
        font-family: var(--fb);
        font-size: 1.15rem;
    }

    .article-body .highlight-box {
        background: var(--black-2);
        border: 1px solid var(--border);
        border-radius: 10px;
        padding: 1.8rem 2rem;
        margin: 2rem 0;
        position: relative;
        overflow: hidden;
    }

        .article-body .highlight-box::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--g-purple);
        }

        .article-body .highlight-box strong {
            display: block;
            font-family: var(--fd);
            font-size: 1.1rem;
            letter-spacing: .04em;
            margin-bottom: .5rem;
        }

.author-card {
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--g-full);
    padding: 2px;
    flex-shrink: 0;
}

.author-avatar-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--black-3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.author-name {
    font-family: var(--fd);
    font-size: 1.1rem;
    letter-spacing: .04em;
    color: var(--white);
}

.author-bio {
    font-size: .82rem;
    color: rgba(240,238,255,.45);
    margin-top: .3rem;
    line-height: 1.6;
}

.share-row {
    display: flex;
    gap: .6rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    align-items: center;
}

.share-btn {
    padding: .5rem 1rem;
    border: 1px solid var(--border-2);
    border-radius: 4px;
    font-family: var(--fm);
    font-size: .68rem;
    letter-spacing: .06em;
    color: var(--muted);
    transition: all .2s;
    text-decoration: none;
}

    .share-btn:hover {
        border-color: var(--purple-2);
        color: var(--purple-3);
        background: rgba(108,43,217,.1);
    }

@media (max-width: 768px) {
    .article-hero h1 {
        font-size: 2rem;
    }

    .article-body {
        font-size: .95rem;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
    }
}