/* ==========================================================================
   Article Page Styles
   ========================================================================== */

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.back-link:hover {
    color: var(--brand-green);
}

.back-link svg {
    transition: transform 0.3s ease;
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .back-link-text {
        display: none;
    }

    .back-link svg {
        width: 24px;
        height: 24px;
    }

    .back-link:hover svg {
        transform: none;
        /* Disable hover movement on mobile */
    }
}

.back-link:hover svg {
    transform: translateX(-4px);
}

.back-link:hover svg {
    transform: translateX(-4px);
}

/* ==========================================================================
   Article Hero
   ========================================================================== */

.article-hero {
    padding: 120px 0 80px;
    background: var(--dark-bg);
    position: relative;
}

.article-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(61.22% 81.57% at 50% -3.83%,
            rgba(12, 255, 167, 0.2) 0%,
            rgba(15, 18, 20, 0.2) 100%);
    z-index: 0;
}

.article-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.article-hero-content {
    max-width: 100%;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.article-date {
    color: var(--brand-green);
    font-weight: 500;
}

.article-reading-time {
    color: var(--text-gray);
}

.article-title {
    font-size: clamp(2.25rem, 5vw, 5rem);
    font-weight: 500;
    line-height: 100%;
    margin-bottom: 20px;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.article-lead {
    font-size: 1.1rem;
    color: var(--text-white);
    max-width: 100%;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
}

.article-hero-image {
    border-radius: calc(var(--radius) * 1px);
    overflow: hidden;
    border: 1px solid rgba(12, 255, 167, 0.15);
    max-width: 50%;
}

.article-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Article Content
   ========================================================================== */

.article-content {
    padding: 6rem 0 80px;
    background: var(--dark-bg);
}

.article-container {
    max-width: 720px;
}

.article-content section {
    margin-bottom: 48px;
}

.article-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(12, 255, 167, 0.2);
}

.article-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.article-content p:last-child {
    margin-bottom: 0;
}

.article-content strong {
    color: var(--text-white);
    font-weight: 600;
}

/* Info Cards */
.info-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.info-card {
    background: rgba(12, 255, 167, 0.04);
    border: 1px solid rgba(12, 255, 167, 0.15);
    border-left: 4px solid var(--brand-green);
    border-radius: 12px;
    padding: 24px;
}

.info-card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-green);
    margin-bottom: 8px;
    line-height: 1;
}

.info-card-label {
    font-size: 0.75rem;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.info-card p {
    margin-bottom: 0;
    font-size: 1rem;
}

/* Highlight Box */
.highlight-box {
    background: rgba(12, 255, 167, 0.06);
    border-left: 4px solid var(--brand-green);
    border-radius: 8px;
    padding: 28px;
    margin: 32px 0;
}

.highlight-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-green);
    margin-bottom: 8px !important;
}

.highlight-new-label {
    margin-top: 24px !important;
    color: var(--text-white);
}

.highlight-old {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 0 !important;
}

.highlight-new {
    color: var(--text-white);
    font-weight: 500;
    margin-bottom: 0 !important;
}

/* Upcoming Topics */
.section-lead {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.upcoming-topics {
    margin: 20px 0 28px;
    padding-left: 20px;
    border-left: 3px solid rgba(12, 255, 167, 0.3);
}

.upcoming-topics p {
    margin-bottom: 8px;
    font-size: 1rem;
}

.upcoming-topics p:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   Article CTA
   ========================================================================== */

.article-cta {
    padding: 0 0 80px;
    background: var(--dark-bg);
    position: relative;
}

.article-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(61.22% 81.57% at 50% 103.83%,
            rgba(12, 255, 167, 0.2) 0%,
            rgba(15, 18, 20, 0.2) 100%);
    z-index: 0;
}

.article-cta .container {
    max-width: 720px;
    position: relative;
    z-index: 1;
}

.article-cta .cta-section {
    margin-top: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
    .article-hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-hero-content {
        max-width: 100%;
        order: 2;
    }

    .article-hero-image {
        order: 1;
    }
}

@media (max-width: 768px) {
    .article-title {
        font-size: 1.75rem;
    }

    .article-lead {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.25rem;
    }

    .article-content p {
        font-size: 1rem;
    }

    .info-card {
        padding: 20px;
    }

    .highlight-box {
        padding: 20px;
    }

    .article-meta {
        flex-direction: column;
        gap: 8px;
    }
}