/* Blog Grid Card Layout */

.blog-grid-wrapper {
    margin-top: 20px;
}

.blog_left_sidebar .row > [class*="col-"] {
    margin-bottom: 20px;
}

.blog_item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 60px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 10px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.blog_item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.blog_item_img {
    position: relative;
    overflow: hidden;
}

.blog_item_img img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog_item:hover .blog_item_img img {
    transform: scale(1.05);
}

.blog_item_date {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #FE9404;
    color: #fff;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(254, 148, 4, 0.3);
    z-index: 2;
    transition: background 0.3s ease;
}

.blog_item_date h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.blog_item_date p {
    margin: 0;
    font-size: 12px;
    text-transform: uppercase;
    color: #fff;
}

.blog_details {
    padding: 25px 25px 30px 25px !important;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: none !important; /* Overriding old style */
}

.blog_details h2 {
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    color: #242b5e !important;
    transition: color 0.3s ease;
}

.blog_details a:hover h2 {
    color: #FE9404 !important;
}

.blog_details p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 0px !important;
    flex-grow: 1;
}

.blog-info-link {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-bottom: 0 !important;
}

.blog-info-link li {
    list-style: none;
    display: inline-block;
    margin-right: 15px;
}

.blog-info-link li a {
    color: #888;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-info-link li a i {
    margin-right: 5px;
    color: #FE9404;
}

.blog-info-link li a:hover {
    color: #FE9404;
}

/* Pagination Adjustments */
.blog-pagination {
    margin-top: 40px;
    width: 100%;
}

.pagination .page-item .page-link {
    border-radius: 50%;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #242b5e;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}

.pagination .page-item.active .page-link {
    background-color: #FE9404;
    border-color: #FE9404;
    color: #fff;
}

.pagination .page-item .page-link:hover {
    background-color: #242b5e;
    color: #fff;
    border-color: #242b5e;
}

@media (max-width: 767px) {
    .blog_item_img img {
        height: 200px;
    }
    .blog_details {
        padding: 20px !important;
    }
}

/* Read More Button */
.read-more-btn {
    color: #FE9404 !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px !important;
    transition: all 0.3s ease;
    display: inline-flex !important;
    align-items: center;
    text-decoration: none !important;
}

.read-more-btn i {
    margin-left: 8px;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.read-more-btn:hover {
    color: #242b5e !important;
}

.read-more-btn:hover i {
    transform: translateX(5px);
}
