/* ==========================================================================
   BLOG & NEWS PAGE STYLES (blog.css)
   ========================================================================== */

.m_sms_b_main_wrapper {
    font-family: 'Noto Sans Bengali', sans-serif;
    width: 100%;
}

/* Typography & Helpers */
.fs-7 { font-size: 13.5px !important; }
.fs-8 { font-size: 12px !important; }

/* Filter & Main Card Standard */
.m_sms_b_filter_card,
.m_sms_b_card {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.m_sms_b_card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08) !important;
}

/* Image Thumbnail Standard */
.m_sms_b_img_wrap {
    width: 100%;
    height: 190px;
    overflow: hidden;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.m_sms_b_img_wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.m_sms_b_card:hover .m_sms_b_img_wrap img {
    transform: scale(1.05);
}

/* Title Hover Effect */
.hover-success {
    transition: color 0.2s ease;
}
.hover-success:hover {
    color: #198754 !important;
}



/* Custom Pagination Styling */
.pagination .page-link {
    color: #198754;
    border: 1px solid #dee2e6;
    padding: 0.375rem 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

.pagination .page-link:hover {
    background-color: #198754;
    color: #ffffff;
    border-color: #198754;
}

.pagination .page-item.active .page-link {
    background-color: #198754 !important;
    border-color: #198754 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 4px rgba(25, 135, 84, 0.3);
}







/* ==========================================================================
   RESPONSIVE BREAKPOINTS (Desktop, Tablet, Mobile)
   ========================================================================== */

/* Laptop & Large Desktop (992px and above) */
@media (min-width: 992px) {
    .m_sms_b_img_wrap {
        height: 200px;
    }
}

/* Tablet Screens (768px to 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .m_sms_b_img_wrap {
        height: 180px;
    }
}

/* Mobile Devices (Max 767.98px) */
@media (max-width: 767.98px) {
    .m_sms_b_img_wrap {
        height: 165px;
    }
}
