.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

/* Blog Card */
.blog-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 100%;
    width: 100%;
    text-align: center;
}

/* Hover Effect */
.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

/* Blog Card Image */
.blog-card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #ddd;
}

/* Blog Card Content */
.blog-card-content {
    padding: 15px;
    background-color: #fafafa;
}

/* Title */
.blog-card-title {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
    font-weight: bold;
}

/* Excerpt */
.blog-card-excerpt {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
}

/* Read More Link */
.read-more {
    font-size: 14px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 10px;
}

/* Read More Link Hover */
.read-more:hover {
    color: #0056b3;
    text-decoration: underline;
}
.blog_container {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
            margin: 0 auto;
            padding: 40px;
        }

        .blog_content {
            width: 70%; /* Adjust this percentage for your content width */
            background-color: white;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            margin-right: 20px;
        }

        .blog_content img {
            width: 100%; /* Full width of the container */
            max-height: 300px; /* Set a max height for the image */
            object-fit: cover; /* Ensure the image covers the container while maintaining aspect ratio */
            border-radius: 8px;
        }

        .blog_content h1 {
            font-size: 2.5em;
            margin-top: 20px;
            color: #1fa2c1;
        }

        .blog_content p {
            font-size: 1.2em;
            line-height: 1.8;
            color: #555;
        }
		.blog_sidebar {
            width: 25%; /* This is where your ads will go */
            background-color: #f9f9f9;
            padding: 20px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            border-radius: 8px;
        }

        .blog_sidebar h3 {
            font-size: 1.5em;
            margin-bottom: 20px;
        }

        .blog_sidebar p {
            font-size: 1em;
            margin-bottom: 20px;
        }

        .blog_sidebar a {
            color: #1fa2c1;
            text-decoration: none;
        }

        .ad-card {
            margin-bottom: 20px;
            padding: 20px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .ad-card h4 {
            font-size: 1.3em;
            color: #1fa2c1;
        }

        .ad-card p {
            font-size: 1em;
            color: #666;
        }

        @media (max-width: 768px) {
            .blog_container {
                flex-direction: column;
            }

            .blog_content {
                width: 100%;
                margin-right: 0;
                margin-bottom: 20px;
            }

            .blog_sidebar {
                width: 100%;
            }
        }