:root {
    --primary-color: #007bff;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f4f7f6; /* Subtle gray background */
    --border-color: #e1e4e8;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-light); /* This removes the "all white" look */
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 850px;
    margin: 40px auto;
    padding: 0 20px;
}

.back-link {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
}

.hero {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.hero h1 {
    font-size: 2.2rem;
    margin: 0;
    color: var(--text-dark);
}

.hero p {
    color: var(--text-light);
    margin-top: 10px;
}

.card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
    background: white; /* Cards stay white to contrast with gray background */
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card-header h2 {
    margin-top: 0;
    font-size: 1.4rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--bg-light);
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.article-list {
    list-style: none;
    padding: 0;
}

.article-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.article-list li:last-child {
    border-bottom: none;
}

.article-list a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 1.05rem;
}

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

.tag {
    background: #eef2f7;
    color: #5a67d8;
    font-size: 0.75rem;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    text-transform: uppercase;
}

footer {
    text-align: center;
    margin-top: 50px;
    padding-bottom: 40px;
    color: var(--text-light);
    font-size: 0.85rem;
}
