﻿.blog-card {
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}

    .blog-card:hover {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-5px);
    }


.blog-image-container {
    position: relative;
    overflow: hidden;
    height: 210px;
    padding: 12px;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}


.blog-title-overlay {
    position: absolute;
    bottom: 8%;
    right: 4%;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px 15px;
    max-width: 80%;
    border-top-left-radius: 10px;
}


    .blog-content {
    padding: 5px 20px;
    background: white;
    font-size: 13px;
}
    .blog-content .title {
        font-size: 18px;
    }
    .blog-meta {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-size: 14px;
        color: #777;
    }

.blog-category {
    display: inline-block;
    background: #f2f2f2;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
}

.blog-sidebar {
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
}

.sidebar-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #df1e2f;
    padding: 11px 15px;
}

.blog-category-list {
    list-style: none;
    padding: 0 12px;
}

    .blog-category-list li {
        padding: 8px 0;
        border-bottom: 1px solid #f2f2f2;
    }

        .blog-category-list li:last-child {
            border-bottom: none;
        }

.tagslist {
    padding-inline: 12px;
    padding-block: 0 10px;
}
.recent-post {
    display: flex;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f2f2f2;
    padding: 0 12px;
}

    .recent-post:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

.recent-post-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 5px;
    margin-left: 15px;
}

.recent-post-content {
    margin-block: auto;
}
.recent-post-content h4 {
    font-size: 14px;
    margin: 0 0 5px 0;
}

.recent-post-date {
    font-size: 12px;
    color: #777;
}

.blog-slider {
    margin-bottom: 30px;
}

.blog-slider-image {
    height: 400px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px;
}

.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

    .pagination .page-item {
        margin: 0 5px;
    }

    .pagination .page-link {
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: none;
        color: #333;
        background-color: #f2f2f2;
    }

    .pagination .page-item.active .page-link {
        background-color: #007bff;
        color: white;
    }



    .search-form input {
        border-radius: 20px;
        padding-right: 40px;
    }

.search-form button {
    position: absolute;
    left: 25px;
    top: 30%;
    background: none;
    border: none;
    color: #777;
}
.blog-card {
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.08); /* Light border added here */
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* Very subtle shadow */
}

    .blog-card:hover {
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        transform: translateY(-5px);
        border-color: rgba(0,0,0,0.12); /* Slightly darker border on hover */
    }
.blog-sidebar.recent, .blog-sidebar.tag, .blog-sidebar.cat {
    border: 1px solid #ddd;
}