body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    color: #444;
    background-color: #f8f9fa;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}
img { max-width: 100%; height: auto; display: block; }

/* Header & Nav */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
.logo {
    font-family: 'Lora', serif;
    font-size: 2em;
    text-decoration: none;
    color: #333;
}
.logo strong { color: #007bff; }
.main-nav a {
    text-decoration: none;
    color: #555;
    margin-left: 25px;
    font-weight: 700;
    font-size: 0.9em;
    transition: color 0.2s;
}
.main-nav a:hover {
    color: #007bff;
}

/* Hero Section (No Image) */
.hero-no-img {
    background: linear-gradient(135deg, #005A9C 0%, #007bff 100%);
    color: white;
    text-align: center;
    padding: 100px 20px;
}
.hero-no-img h1 {
    font-family: 'Lora', serif;
    font-size: 3.5em;
    margin: 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

/* Main Content & Blog Posts (Homepage) */
.featured-posts {
    padding: 40px 0;
}
.featured-posts h2 {
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}
.post-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 5px solid #007bff;
}
.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    border-left-color: #0056b3;
}
.post-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 25px 30px;
}
.post-content .category {
    font-size: 0.8em;
    font-weight: 700;
    color: #007bff;
    text-transform: uppercase;
}
.sponsored-link { color: #28a745 !important; }
.post-content h3 {
    font-family: 'Lora', serif;
    font-size: 1.5em;
    margin: 10px 0;
}

/* Sidebar CTA */
.sidebar-cta {
    background-color: #fff;
    border: 2px dashed #007bff;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}
.sidebar-cta h3 {
    margin-top: 0;
    font-size: 1.8em;
    color: #0056b3;
}
.sidebar-cta a {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 15px;
    transition: background-color 0.2s;
}
.sidebar-cta a:hover {
    background-color: #0056b3;
}

/* Article Content Styles */
.article-content {
    max-width: 800px;
    margin: 40px auto;
    background-color: #fff;
    padding: 40px 50px;
    border: 1px solid #ddd;
    border-radius: 8px;
}
.article-content h1 {
    font-family: 'Lora', serif;
    font-size: 2.8em;
    margin-top: 0;
    line-height: 1.2;
}
.article-content .post-meta {
    color: #777;
    font-size: 0.9em;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}
.article-content h2 {
    font-family: 'Lora', serif;
    font-size: 2em;
    margin-top: 40px;
}
.article-content p, .article-content ul, .article-content ol {
    font-size: 1.1em;
    line-height: 1.8;
}
.article-content ul, .article-content ol {
    padding-left: 25px;
}
.article-content a {
    color: #007bff;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-bottom-color 0.2s;
}
.article-content a:hover {
    border-bottom-color: #007bff;
}

/* Article figure caption styling */
.article-figcaption {
    font-size: 0.9em;
    color: #666;
    margin-top: 8px;
}

/* Hero image example styling for articles */
.article-content figure {
    margin: 0 0 20px 0;
}
.article-content figure img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Post meta and dark footer utilities */
.post-meta {
    color: #888;
    font-size: 0.9em;
}
.site-footer--dark {
    background-color: #333;
    color: white;
    padding: 20px;
    text-align: center;
    margin-top: 30px;
}

/* Footer */
.main-footer {
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-top: 1px solid #ddd;
    font-size: 0.9em;
}