﻿/* ---------- common for all knowledge sharing pages ---------- */
.navigate-back {
    padding-top: 100px;
}

.back {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: large;
}

/* article header (simple, separate lines) */
.article-header {
    padding-top: 120px;
    margin-bottom: 2rem;
}

.back-link {
    display: inline-block;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.8rem;
    transition: 0.2s;
}

    .back-link:hover {
        color: var(--primary-color);
        transform: translateX(-4px);
    }

.article-cat {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    border: 1px solid rgba(134,166,240,0.3);
}

.article-title {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.article-meta {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    gap: 1.5rem;
}

    .article-meta i {
        margin-right: 6px;
    }

/* article content block */
.article-content {
    background: var(--white);
    border-radius: 32px;
    padding: 2.5rem 3rem;
    margin: 1rem 0 4rem;
    box-shadow: var(--shadow-md);
}

    .article-content p {
        margin-bottom: 1.5rem;
        font-size: 1.08rem;
        color: #2c3e50;
    }

.article-subtitle {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem;
    color: var(--primary-dark);
    border-left: 5px solid var(--primary-color);
    padding-left: 1rem;
}

/* redesigned quote – elegant light background */
.modern-quote {
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    background: var(--primary-light);
    border-radius: 24px 8px 24px 8px;
    font-size: 1.2rem;
    font-weight: 500;
    border: 1px solid rgba(134,166,240,0.3);
    position: relative;
}

    .modern-quote i {
        color: var(--primary-color);
        font-size: 1.8rem;
        opacity: 0.6;
        margin-right: 12px;
        vertical-align: middle;
    }

    .modern-quote::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 40px;
        width: 50px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 3px;
    }

.highlight-text {
    background: linear-gradient(120deg, rgba(134,166,240,0.2) 0%, rgba(134,166,240,0.1) 40%, transparent 60%);
    font-weight: 600;
    padding: 0 0.2rem;
}

/* responsive adjustments */
@media (max-width: 1024px) {
    .article-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .article-header {
        padding-top: 100px;
    }

    .article-title {
        font-size: 1.9rem;
    }

    .article-content {
        padding: 1.5rem;
    }

    .container {
        padding: 0 20px;
    }
}
