/* Blog page styles */

.blog-banner {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-banner .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-banner .title-main {
    color: #ffffff;
    font-size: 2.5rem;
    text-align: center;
    padding: 10px;
}

/* Container adjustments */
.container {
    max-width: 1200px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .blog-banner {
        height: 200px;
    }

    .blog-banner .title-main {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .blog-banner {
        height: 150px;
    }

    .blog-banner .title-main {
        font-size: 1.5rem;
    }
}

/* Dark mode adjustments */
.dark-mode .blog-banner .overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.dark-mode .blog-banner .title-main {
    color: #ffffff;
}


/* Single Blog Post Styles */
.blog-post-content {
    font-family: "Poppins", sans-serif;
    line-height: 1.8;
    color: #333333;
}

.blog-post-content .post-meta {
    font-size: 0.9rem;
    color: #777777;
}

.blog-post-content .post-meta i {
    color: #006c09;
    margin-right: 5px;
}

.blog-post-content .post-body {
    font-size: 1rem;
    margin-top: 20px;
}

.blog-post-content .post-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    border-radius: 8px;
}

/* Sidebar */
.post-sidebar {
    background: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.post-sidebar h5 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #006c09;
}

.post-sidebar ul li {
    margin-bottom: 10px;
}

.post-sidebar ul li a {
    text-decoration: none;
    color: #333333;
    transition: color 0.3s;
}

.post-sidebar ul li a:hover {
    color: #006c09;
}

/* Dark mode for post page */
.dark-mode .blog-post-content {
    color: #dddddd;
}

.dark-mode .blog-post-content .post-meta {
    color: #aaaaaa;
}

.dark-mode .post-sidebar {
    background: #222222;
    color: #dddddd;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.dark-mode .post-sidebar h5 {
    color: #9be79b;
}

.dark-mode .post-sidebar ul li a {
    color: #dddddd;
}

.dark-mode .post-sidebar ul li a:hover {
    color: #9be79b;
}
