/* ============================================
   ARTICLES PAGE STYLES
   ============================================ */
.articles-header {
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 60px;
    text-align: center;
    position: relative;
}

.articles-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.articles-header p {
    font-size: 1.2rem;
    color: var(--text-gray);
}

.articles-content {
    padding: 60px 2rem;
}

.article-post {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.article-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.article-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    color: var(--text-gray);
    font-size: 0.9rem;
}

.article-body {
    color: var(--text-light);
    line-height: 1.8;
}

.article-body p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.article-body h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.article-body h4 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-body ul,
.article-body ol {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
}

.article-body li {
    margin-bottom: 0.75rem;
    color: var(--text-gray);
}

.article-body strong {
    color: var(--primary-color);
}

.article-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
}

/* ============================================
   ARTICLES SECTION ON HOMEPAGE
   ============================================ */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.article-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(168, 85, 247, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.article-placeholder {
    font-size: 4rem;
}

.article-content {
    padding: 2rem;
}

.article-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.article-link {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 0.5rem;
}

.article-card:hover .article-link {
    transform: translateX(5px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .articles-header {
        padding: 100px 1rem 40px;
    }
    
    .article-post {
        padding: 2rem 1.5rem;
    }
    
    .article-header h2 {
        font-size: 1.8rem;
    }
    
    .article-body h3 {
        font-size: 1.5rem;
    }
    
    .article-body h4 {
        font-size: 1.2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
}

