:root {
    --primary-color: #0a4abf;
    --secondary-color: #fca311;
    --dark-grey: #333333;
    --light-grey: #f4f4f4;
    --text-color: #555555;
    --border-color: #dddddd;
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lato', sans-serif;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
    margin: 0;
    padding: 0;
}

.blog-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-header h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    color: var(--dark-grey);
    margin-bottom: 10px;
}

.blog-header p {
    font-size: 1.2rem;
    color: #777;
    max-width: 600px;
    margin: 0 auto;
}

/* This is where your WordPress shortcode would render the post list */
.recent-posts-shortcode {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.post-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.post-card-image {
    height: 200px;
    width: 100%;
    object-fit: cover;
}

.post-card-content {
    padding: 25px;
}

.post-category {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--dark-grey);
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.post-card-content h2 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    color: var(--dark-grey);
    margin: 0 0 10px 0;
}

.post-card-content h2 a {
    text-decoration: none;
    color: inherit;
}

.post-card-content h2 a:hover {
    color: var(--primary-color);
}

.post-excerpt {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.post-meta {
    font-size: 0.85rem;
    color: #888;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-header h1 {
        font-size: 2.5rem;
    }
}