/* Import base styles and variables */
@import 'styles.css';

/* Articles Page Layout */
.articles-page {
    max-width: var(--container);
    margin: 80px auto 0;
    padding: 4rem 2rem;
}

.articles-header {
    text-align: center;
    margin-bottom: 4rem;
}

.articles-header h1 {
    font-size: 2.5rem;
    color: var(--text);
    margin-bottom: 1rem;
    font-weight: 300;
}

.articles-header p {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-decoration: none;
    color: var(--text);
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.article-content {
    padding: 1.5rem;
}

.article-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.article-excerpt {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Media Queries */
@media (max-width: 768px) {
    .articles-page {
        padding: 2rem 1rem;
    }

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

    .articles-header p {
        font-size: 1.1rem;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }
} 