        /* Global Reset and Basic Styling */
@import url("headerfooter.css");        


a {
    text-decoration: none;
    color: #007bff; /* Blue links for example */
}

ul {
    list-style: none;
}
h2{margin: 10px 0px;}
h1{margin: 10px 0px;}
p{margin: 10px 0px;}
figure {display: none;}
.flex{display: flex; gap:20px; flex-wrap: wrap;}
.blogdesc{width:55%;}
.post-image-large{width:40%;}
/* --- Header / Navigation Bar --- */
.main-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.site-name {
    font-size: 24px;
    font-weight: bold;
    color: #008cba; /* A turquoise/blue color like in the screenshot */
    margin-left: 10px;
}

.tagline {
    font-size: 12px;
    color: #6c757d;
    margin-left: 5px;
    align-self: flex-end; /* Align to the bottom of the logo group */
}

.main-nav ul {
    display: flex;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav a {
    color: #333;
    font-weight: 500;
    padding: 5px 0;
    transition: color 0.3s;
}

.main-nav a:hover,
.main-nav .current a {
    color: #008cba; /* Highlight color */
}
ul.bread{margin-bottom: 10px;}
ul.bread li{display: inline-block; box-shadow: 0px 0px 0px; border:none; padding: 0px;}
.blog-posts img{width:90%}
.blog-posts ol, .blog-posts ul{list-style-position: inside;}
.book-btn {
    background-color: #008cba;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.book-btn:hover {
    background-color: #00567a;
}


/* --- Main Content Layout --- */
.main-content-wrapper {
    display: flex;
    padding-top: 40px;
    gap: 30px; /* Space between posts and sidebar */
}

.blog-posts {
    flex: 3; /* Blog posts take up about 65-70% of the width */
}

.sidebar {
    flex: 2.2; /* Sidebar takes up about 30-35% of the width */
    max-width: 390px;
}

/* --- Blog Post Styling --- */
.featured-post {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.post-image-large {
    margin-bottom: 20px;text-align: center;
}

.post-image-large img {
    max-width: 100%;
    height: auto;
    border-radius: 8px; /* Rounded corners */
}

.blog-post-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

/* Adjust image size for smaller posts (as seen in screenshot 2, 3, 4) */
.post-image-small {
    flex-shrink: 0;
    width: 30%; /* Smaller image on the left */
}

.post-image-small img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.post-title {
    font-size: 24px;
    margin: 10px 0;
    color: #212529;
}

.post-meta-info {
    font-size: 14px;
    color: #6c757d;
    margin-top: 10px;
}

.post-excerpt {
    color: #555;
    margin-bottom: 15px;
    font-size: 15px;
}

.read-more-btn {
    display: inline-block;
    color: #008cba;
    border: 1px solid #008cba;
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s;
}

.read-more-btn:hover {
    background-color: #008cba;
    color: white;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: flex-start;
    margin-top: 0px;
    padding-bottom: 10px;
}

.pagination a {
    color: #008cba;
    padding: 10px 15px;
    border: 1px solid #eee;
    margin: 0 5px;
    border-radius: 5px;
    transition: all 0.3s;
}

.pagination a.active {
    background-color: #008cba;
    color: white;
    border-color: #008cba;
}

/* --- Sidebar Widgets --- */
.widget {
    background-color: white;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); /* Subtle shadow */
}
.modify-btn {background-color: #f90; ;color: #fff;border: none;border-radius: 5px;padding: 5px 5px;font-size: 1rem;font-weight: 700;cursor: pointer;transition: background-color .3s;white-space: nowrap;}

.widget-title {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #008cba; /* Highlight border */
    display: inline-block;
    padding-bottom: 5px;
    color: #212529;
    margin-top: 20px;
}

/* Search Widget */
.search-widget form {
    display: flex;
    border: 1px solid #ced4da;
    border-radius: 50px;
    overflow: hidden;
}

.search-widget input {
    border: none;
    padding: 10px 15px;
    flex-grow: 1;
    outline: none;
}

.search-widget button {
    border: none;
    background-color: #008cba;
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-widget button:hover {
    background-color: #00567a;
}


/* Categories Widget */
.categories-widget ul li {
    padding: 8px 0;
    border-bottom: 1px dotted #eee;
    display: flex;
    justify-content: space-between;
}

.categories-widget ul li:last-child {
    border-bottom: none;
}

.categories-widget a {
    color: #555;
    transition: color 0.3s;
}

.categories-widget a:hover {
    color: #008cba;
}

.categories-widget span {
    color: #008cba;
    font-weight: bold;
}

/* Recent Posts Widget */
.recent-post-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.recent-post-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

.recent-post-item a {
    color: #555;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.recent-post-item p {
    font-size: 12px;
    color: #999;
}

/* Popular Tags Widget */
.tags-list a {
    display: inline-block;
    background-color: #f1f1f1;
    color: #555;
    padding: 5px 12px;
    margin: 5px 5px 5px 0;
    border-radius: 5px;
    font-size: 13px;
    transition: background-color 0.3s;
}

.tags-list a:hover {
    background-color: #008cba;
    color: white;
}


/* --- Responsive Adjustments (Optional but Recommended) --- */
@media (max-width: 992px) {
    .main-content-wrapper {
        flex-direction: column; /* On smaller screens, stack the blog posts and sidebar */
    }
    

    .blog-posts, .sidebar {
        max-width: 100%;
        flex: 1;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px 0;
    }
    
    .blog-post-item {
        flex-direction: column; /* Stack image and text in smaller posts */
    }

    .post-image-small {
        width: 100%;
    }
}



@media (max-width: 767px) {
   .flex{display: inline-block; gap:20px; flex-wrap: wrap;} 
   .blogdesc{width:100%;}
.post-image-large{width:100%;}
}

article ul li{padding: 8px 10px;
    box-shadow: 0px 0px 8px #ccc;
    border-radius: 8px;
    margin-bottom: 10px; font-weight: 600;border-left: 3px solid transparent;
    border-left-color: #2596be;}
.popular-tags-widget ul li{    padding: 8px 10px;
    box-shadow: 0px 0px 8px #ccc;
    border-radius: 8px;
    margin-bottom: 10px; font-weight: 600;border-left: 5px solid transparent;
    border-left-color: #2596be;}

.popular-tags-widget ul li:hover{border-left-color: transparent; box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15); padding-left: 15px;}

.popular-tags-widget ul.city li{ width: 48%; margin-left: 1%; display: inline-block;}



