/* General Styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    box-sizing: border-box;
    background-color: #fafafa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    top: 70px; /* Adjusted to ensure content appears below the header */
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style-type: none;
    padding: 0;
}

/* Header Style */
.site-header {
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.site-name a {
    font-size: 1.5em;
    font-weight: bold;
    color: #333;
}

.navigation ul {
    display: flex;
    gap: 15px;
}

.navigation li a {
    color: #333;
    padding: 10px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.navigation li a:hover {
    background-color: #eee;
}

/* Top Section Style */
.top-section {
    background-color: #ffffff;
    padding: 40px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.top-section .content h2 {
    font-size: 2em;
    margin-bottom: 10px;
}

.top-section .content p {
    line-height: 1.6;
    color: #555;
}

/* Recent News Section */
.recent-news {
    margin-bottom: 30px;
    padding: 0 20px;
}

.recent-news h2 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.news-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.post {
    transition: transform 0.3s;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.post img {
    max-width: 100%;
}

.post a {
    display: block;
    margin: 10px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.post:hover {
    transform: scale(1.05);
}

/* Footer Style */
.site-footer {
    background-color: #333;
    color: #ffffff;
    padding: 20px;
    margin-top: 30px;
    border-radius: 8px;
}

.footer-links, .social-media {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.footer-links a, .social-media a {
    color: #ffffff;
    transition: color 0.3s;
}

.footer-links a:hover, .social-media a:hover {
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navigation ul {
        flex-direction: column;
        display: none;
        background-color: #ffffff;
        position: absolute;
        top: 50px;
        right: 20px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        overflow: hidden;
    }

    .navigation ul.active {
        display: flex;
    }

    .navigation li a {
        padding: 15px;
    }

    .header-inner {
        position: relative;
    }

    .site-header:after {
        content: "\2630"; /* Hamburger menu icon */
        font-size: 24px;
        position: absolute;
        right: 20px;
        top: 15px;
        cursor: pointer;
        display: block;
    }
}

/* Blog Page Styles */
.main-content .article-container {
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.blog-article h1 {
    font-size: 2.4em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.blog-article .meta-info {
    font-size: 0.9em;
    color: #777;
    margin-bottom: 20px;
}

.featured-image {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    border-radius: 8px;
    margin-bottom: 20px;
}

.blog-article p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}