* Reset and Body Styles */
•⁠  ⁠{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.main {
    width: 100%;
    height: auto; /* Adjusted to fit content */
    background: url("blog cover.jpg") center/cover no-repeat;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 10px 20px;
}

.logo {
    color: #ff7200;
    font-size: 35px;
}

.menu ul {
    list-style: none;
    display: flex;
}

.menu ul li {
    margin-left: 20px;
}

.menu ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
}

.menu ul li a:hover {
    color: #ff7200;
}

.search {
    display: flex;
}

.srch {
    width: 200px;
    height: 40px;
    padding: 5px;
    border: none;
    border-radius: 4px 0 0 4px;
}

.btn {
    height: 40px;
    background-color: #ff7200;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    padding: 0 15px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e56a00;
}

/* Main Content Styles */
main {
    display: flex;
    justify-content: space-between;
    margin: 20px;
}

.blog-container {
    flex: 50%; /* Changed from 70% to 50% */
}

.blog-post {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%; /* Ensures image takes full width of the container */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    max-height: 300px; /* Sets a max height for uniformity */
    object-fit: cover; /* Ensures images cover the area without distortion */
}

.read-more {
    display: inline-block;
    background: #ff7200;
    color: white;
    padding: 10px 15px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background: #e56a00;
}

/* Sidebar Styles */
.sidebar {
    flex: 30%;
    padding: 20px;
    background: #fff;
    border-radius: 8px;
    margin-left: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.sidebar h3 {
    margin-bottom: 10px;
}

.recent-posts,
.categories {
    list-style: none;
    padding: 0;
}

.recent-posts li,
.categories li {
    margin-bottom: 10px;
}

.recent-posts li a,
.categories li a {
    color: #ff7200;
    text-decoration: none;
    transition: color 0.3s ease;
}

.recent-posts li a:hover,
.categories li a:hover {
    color: #e56a00;
}

.category-image,
.recent-post-image {
    width: 50px; /* Set a fixed width for recent post images */
    height: 50px; /* Set height to make images square */
    border-radius: 50%; /* Make images round */
    margin-right: 10px; /* Space between the image and text */
    vertical-align: middle; /* Aligns the image with the text */
}

.video-container {
    margin-top: 20px;
}

.video-container video {
    max-width: 100%; /* Responsive video */
    border-radius: 8px;
}