/* Blog Page Header */
.blog-header {
    text-align: center;
    padding: 40px 0;
    background-color: #333;
    color: #fff;
}

.blog-header h1 {
    font-size: 2.5rem;
}

/* Blog Content Layout */
.blog-content {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

/* Blog Entries Styling */
.blog-list {
    flex: 2;
}

.blog-entry {
    display: flex;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.entry-image img {
    width: 150px;
    height: auto;
    border-radius: 5px;
    margin-right: 15px;
}

.entry-details {
    flex: 1;
}

.entry-title {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 5px;
}

.entry-excerpt {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.read-more {
    color: #ff6600;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    color: #e65c00;
}

/* Sidebar Styling */
.sidebar {
    flex: 1;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Popular Posts Styling */
.popular-posts {
    color: #333;
}

.popular-posts h2 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 15px;
}

.popular-post-list {
    list-style-type: none;
    padding: 0;
    margin-top: 15px;
}

.popular-post-item {
    margin-bottom: 10px;
}

.popular-post-link {
    color: #ff6600;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.popular-post-link:hover {
    color: #e65c00;
}
/* Blog Post Content Layout */
.blog-post-content {
    display: flex;
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    gap: 30px;
}

/* Main Blog Post Styling */
.blog-main {
    flex: 2;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Blog Post Styling */
.blog-post h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
}

.post-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.post-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

/* Sidebar Styling */
.sidebar {
    flex: 1;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start; /* Aligns sidebar to the top */
}
.ad-container {
    margin-top: 20px;
    padding: 10px;
    text-align: center;
    background-color: #f9f9f9; /* Optional background color */
    border: 1px solid #e0e0e0; /* Optional border */
}