/* Articles Page - Redesigned to match ai-news.html */

/* Hero specific styling */
.articles-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #ffa95c 100%);
}

/* Newsletter Section */
.newsletter-section {
    padding: 60px 0;
    background: #ffffff;
}

.newsletter-box {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    border: 1px solid #e2e8f0;
}

.newsletter-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.newsletter-content p {
    color: #64748b;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    min-width: 400px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: #6366f1;
}

.newsletter-form button {
    padding: 14px 28px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.newsletter-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* Footer */
.news-footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand .logo-icon {
    color: #6366f1;
    font-size: 2rem;
    margin-right: 8px;
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 12px;
}

.footer-links h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: #f1f5f9;
}

.footer-links a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    padding: 6px 0;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #6366f1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #1e293b;
    color: #64748b;
}

/* Responsive */
@media (max-width: 768px) {
    .newsletter-box {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }
    
    .newsletter-form {
        min-width: unset;
        width: 100%;
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
}

/* Dark mode support for articles content */
@media (prefers-color-scheme: dark) {
    .newsletter-section {
        background: #0f172a;
    }
    
    .newsletter-box {
        background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
        border-color: #334155;
    }
    
    .newsletter-content h3 {
        color: #f1f5f9;
    }
    
    .newsletter-content p {
        color: #94a3b8;
    }
    
    .newsletter-form input {
        background: #0f172a;
        border-color: #334155;
        color: #f1f5f9;
    }
}
