/* Features Header Banner for Article Pages */
.features-header {
    background: linear-gradient(135deg, #0066CC, #4A90E2);
    color: #fff;
    padding: 6rem 1rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 80px;
}

.features-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.features-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.features-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    font-weight: 700;
}

.features-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Article specific styles */
.article-container {
    max-width: 900px;
    margin: 2rem auto 4rem;
    padding: 3rem 2.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(12px);
}

.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    position: relative;
}

.article-header::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0066CC, #4A90E2);
}

.article-title {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.article-meta {
    color: #718096;
    font-size: 1rem;
}

.article-content {
    line-height: 1.9;
    color: #2D3748;
    font-size: 1rem;
}

.article-content h2 {
    font-size: 1.6rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2rem 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.related-articles {
    margin-top: 3rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.related-articles h3 {
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-list li {
    margin-bottom: 0.6rem;
}

.related-list a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.related-list a:hover {
    color: var(--primary-dark);
    transform: translateX(3px);
}

/* Responsive styles for article pages */
@media (max-width: 768px) {
    .features-header {
        padding: 5rem 1rem 3rem;
        margin-top: 70px;
    }

    .features-header h1 {
        font-size: 2rem;
    }

    .features-header p {
        font-size: 1rem;
    }

    .article-container {
        margin: 1.5rem auto 3rem;
        padding: 2rem 1.5rem;
    }

    .article-title {
        font-size: 1.8rem;
    }

    .article-content h2 {
        font-size: 1.4rem;
    }
}