:root {
    --primary-color: #2c5282; /* A calm, deep blue */
    --secondary-color: #e2e8f0; /* Light gray for backgrounds */
    --text-color: #2d3748; /* Dark gray for text */
    --text-light-color: #718096; /* Lighter gray for secondary text */
    --background-color: #ffffff;
    --border-color: #cbd5e0;
    --font-family: 'Inter', sans-serif;
}

/* Basic Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.7;
    background-color: var(--background-color);
    color: var(--text-color);
}

h1, h2, h3, h4 {
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container & Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 0;
}

@media (min-width: 992px) {
    .main-layout {
        grid-template-columns: 3fr 1fr;
    }
}

/* Header & Navigation */
.site-header {
    background-color: var(--background-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.site-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
}

.site-title a {
    color: inherit;
    text-decoration: none;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-color);
    padding-bottom: 0.25rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Main Content & Articles */
.page-header {
    background-color: var(--secondary-color);
    padding: 3rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.page-header h1 {
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-light-color);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.article-card {
    background: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.article-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-card-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-card-content p {
    color: var(--text-light-color);
    margin-bottom: 1rem;
    flex-grow: 1;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.btn:hover {
    background-color: #2b6cb0;
    text-decoration: none;
}

/* Article Page Specifics */
.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.article-header h1 {
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}

.article-meta {
    color: var(--text-light-color);
    font-size: 0.9rem;
}

.article-content {
    font-size: 1.1rem;
}

.article-content h2, .article-content h3 {
    margin-top: 2.5rem;
}

.article-content ul, .article-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.cta-box {
    background-color: var(--secondary-color);
    border-left: 5px solid var(--primary-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 5px;
}

.cta-box p {
    margin-bottom: 0;
}

/* Sidebar */
.sidebar-widget {
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
}

.sidebar-widget ul {
    list-style: none;
}

.sidebar-widget ul li {
    margin-bottom: 0.75rem;
}

.sidebar-widget ul li a {
    color: var(--text-color);
    font-weight: 500;
}

.sidebar-widget ul li a:hover {
    color: var(--primary-color);
}

/* Footer */
.site-footer {
    background-color: var(--text-color);
    color: var(--secondary-color);
    padding: 2rem 0;
    margin-top: 2rem;
    text-align: center;
}

.site-footer p {
    margin: 0;
}

/* Contact Form Placeholder */
.contact-form {
    max-width: 600px;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}
.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-family);
    font-size: 1rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }
    .main-nav ul {
        justify-content: center;
    }
    h1 { font-size: 2rem; }
    .article-header h1 { font-size: 2.25rem; }
}
