/* General Body and Typography */
body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f6f9; /* A lighter, cleaner background */
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    color: #2c3e50; /* A darker, more professional blue-grey */
    line-height: 1.3;
}

h1 { font-size: 2.5em; margin-bottom: 0.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.5em; }
h4 { font-size: 1.2em; }

/* Links */
a {
    color: #3498db; /* A brighter, more modern blue */
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: #2980b9;
    text-decoration: none;
}

/* Main Content Container */
.content_container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
}

/* Card-based layout for blog posts */
.blog-post-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden; /* To contain the image */
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.blog-post-card .card-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-post-card .card-content {
    padding: 25px;
}

.blog-post-card h2 {
    margin-top: 0;
    font-size: 1.6em;
}

.blog-post-card .post-meta {
    color: #7f8c8d;
    font-size: 0.85em;
    margin-bottom: 15px;
    display: block;
}

.blog-post-card .post-excerpt {
    color: #34495e;
    font-size: 1em;
    line-height: 1.7;
}

.blog-post-card .read-more-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #3498db;
    color: #fff;
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 500;
    font-size: 0.9em;
}

.blog-post-card .read-more-btn:hover {
    background-color: #2980b9;
}


/* Sidebar Styles */
.sidebar .widget {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.sidebar .widget h3 {
    margin-top: 0;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    margin-bottom: 15px;
    font-size: 1.2em;
}

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

.sidebar .widget ul li a {
    color: #34495e;
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #ecf0f1;
    transition: padding-left 0.2s ease;
}

.sidebar .widget ul li a:hover {
    background-color: #f8f9fa;
    padding-left: 10px;
    color: #3498db;
}

.sidebar .widget p {
    color: #34495e;
}

/* Article Content Specific Styles */
.article-container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.article-header h1 {
    margin-top: 0;
    font-size: 2.8em;
    line-height: 1.2;
}

.article-header .post-meta {
    color: #7f8c8d;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ecf0f1;
}

.article-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: #34495e;
}

.article-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
}

.article-content blockquote {
    border-left: 4px solid #3498db;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #7f8c8d;
}

/* Responsive Design */
@media screen and (max-width: 839px) {
    .mdl-cell--8-col, .mdl-cell--4-col {
        width: 100%;
    }
    .article-container {
        padding: 20px;
    }
    .article-header h1 {
        font-size: 2em;
    }
}