.page-container {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xl);
}

.page-hero {
    text-align: center;
    margin-bottom: var(--space-xxl);
    padding: var(--space-lg) var(--space-md);
    background-color: var(--color-bg-light); /* Light background for hero */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.page-hero h1 {
    font-size: 2.5rem; /* Adjust as needed */
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.page-hero .subtitle {
    font-size: 1.15rem;
    color: var(--color-text-muted);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.content-section {
    margin-bottom: var(--space-xxl);
}

.content-section h2 {
    font-size: 1.8rem;
    margin-bottom: var(--space-lg);
    color: var(--color-text);
    border-bottom: 2px solid var(--color-accent-light);
    padding-bottom: var(--space-sm);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(336px, 1fr)); /* Responsive grid for articles */
    gap: 1.8rem;
}

.article-card {
    background-color: var(--color-card-bg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden; /* Ensures image corners are rounded if image is direct child */
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-thumbnail {
    width: 100%;
    height: 224px; /* Adjust as needed */
    max-height: 224px; /* Prevent upscaling beyond this */
    object-fit: cover; /* Ensures image covers the area well */
    border-bottom: 1px solid var(--color-border);
}

.article-card-content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Allows content to fill card and push button down */
}

.article-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.article-title a {
    color: var(--color-text);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    margin-bottom: var(--space-md);
    flex-grow: 1; /* Pushes meta and button down */
}

.article-meta {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    display: block; /* Or inline-block if preferred */
}

.btn-read-more {
    display: inline-block;
    background-color: var(--color-accent);
    color: var(--color-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    margin-top: auto; /* Pushes button to bottom of card */
    align-self: flex-start; /* Aligns button to the start if card content is short */
    transition: background-color var(--transition-fast);
}

.btn-read-more:hover,
.btn-read-more:focus {
    background-color: var(--color-accent-hover);
    color: var(--color-white);
    text-decoration: none;
}

/* Responsive adjustments for article grid if needed */
@media (max-width: var(--bp-mobile)) {
    .article-grid {
        grid-template-columns: 1fr; /* Stack cards on mobile */
    }
    .page-hero h1 {
        font-size: 2rem;
    }
    .content-section h2 {
        font-size: 1.5rem;
    }
}

/* Article thumbnails */
.article-card { display: flex; flex-direction: column; }
.article-thumb { margin: 0 0 12px; border-radius: 12px; overflow: hidden; }
.article-thumb img { width: 100%; height: auto; display: block; aspect-ratio: 16/9; object-fit: cover; max-width: 100%; }
