/* General Blog Styling */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
}

/* Blog Hero Section */
.blog-hero {
    position: relative;
    background: url('events.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 120px 20px;
}

.blog-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    z-index: 1;
}

.blog-hero h1, 
.blog-hero p {
    position: relative;
    z-index: 2;
}


/* Blog Content */
.blog-content {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.blog-main {
    flex: 2;
}

/* Blog Post Styling */
.blog-post {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.blog-post img {
    width: 100%;
    border-radius: 5px;
}

.blog-post h2 {
    font-size: 1.6rem;
    margin: 15px 0;
}

.blog-post p {
    color: #555;
}

.read-more {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.read-more:hover {
    text-decoration: underline;
}

/* Sidebar */
.blog-sidebar {
    flex: 1;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.blog-sidebar h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.blog-sidebar ul {
    list-style: none;
    padding: 0;
}

.blog-sidebar ul li {
    margin-bottom: 10px;
}

.blog-sidebar ul li a {
    color: #007bff;
    text-decoration: none;
}

.blog-sidebar ul li a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    margin-top: 40px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-content {
        flex-direction: column;
    }
}


.blog-post-full {
    padding: 60px 20px;
    max-width: 900px;
    margin: auto;
}

.blog-post-full h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.blog-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 20px;
}

.blog-post-full img.blog-image {
    width: 100%;
    margin: 20px 0;
    border-radius: 8px;
}

.blog-post-full h2 {
    margin-top: 30px;
    font-size: 1.5rem;
    color: #007bff;
}
