/* Base Reset & Variables */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root {
    --primary-color: #2c3e50;
    --text-color: #333333;
    --light-bg: #f8f9fa;
    --border-color: #e2e8f0;
    --accent-color: #3498db;
}

/* Typography & Layout */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    /*line-height: 1.6;*/
    line-height: 1.2;
    background-color: #ffffff;
}
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Header Navigation */
header {
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}
nav a {
    color: #666;
    text-decoration: none;
    margin-left: 20px;
}
nav a:hover {
    color: var(--accent-color);
}

/* Main Content Grid */
.main-grid {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

/* Article Styles */
article {
    margin-bottom: 40px;
}
.post-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin: 10px 0 20px 0;
}
.post-meta span {
    margin-right: 15px;
}

.section-head {
    font-weight: bold;  /* Makes the text bold */
    font-style: italic; /* Slants the text */
}

.section-header-block {
    font-weight: bold;  /* Makes the text bold */
    font-style: italic; /* Slants the text */
}

.featured-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    background-color: #eaeaea; /* Placeholder background */
    border-radius: 8px;
    margin-bottom: 30px;
}
.post-content h2 {
    margin: 30px 0 15px 0;
    color: var(--primary-color);
}
.post-content p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* Sidebar Styles */
aside {
    border-left: 1px solid var(--border-color);
    padding-left: 20px;
}
.widget {
    margin-bottom: 30px;
}
.widget h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}
.widget ul {
    list-style: none;
}
.widget ul li {
    margin-bottom: 10px;
}
.widget ul li a {
    color: var(--accent-color);
    text-decoration: none;
}
.widget ul li a:hover {
    text-decoration: underline;
}


/* Footer */
footer {
    background-color: var(--light-bg);
    border-top: 1px solid var(--border-color);
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Responsive Breakpoint */
@media (max-width: 768px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
    aside {
        border-left: none;
        padding-left: 0;
        border-top: 1px solid var(--border-color);
        padding-top: 30px;
    }
}