/* ---------------blog_banner_section--------------- */

.blog_banner_section {
    background-color: var(--ma-type-primary);
    color: var(--ma-white);
    padding: 150px 0px 100px;
    background-position: right 20% center;
    background-repeat: no-repeat;
    background-size: auto 500px;
}

    .blog_banner_section h1 {
        color: var(--ma-grey30);
        font-size: var(--ma-greeting-title);
    }

    .blog_banner_section p {
        color: var(--ma-grey30);
        font-size: var(--ma-body-font-size);
    }

.breadcrumb {
    font-size: var(--ma-body-text);
    color: var(--ma-white);
    margin-bottom: 20px;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center !important;
    align-items: center !important;
}

    .breadcrumb > li {
        padding: 0px 5px;
    }

        .breadcrumb > li > a {
            color: var(--ma-white);
        }

            .breadcrumb > li > a:hover,
            .breadcrumb > li > a:focus,
            .breadcrumb > li > a:active {
                color: var(--ma-white);
            }

        .breadcrumb > li > span {
            color: var(--ma-white);
        }

        .breadcrumb > li > strong {
            color: var(--ma-white);
        }

/* ------------------------------- */

.section_title h2 {
    color: var(--ma-type-primary) !important;
    font-size: var(--ma-greeting-title) !important;
}

.section_title p {
    font-size: var(--ma-body-font-size) !important;
    margin-bottom: 5px !important;
}

/*--------------------------------------------------------*/
/*--------------------------------------------------------*/

.blog_container_section {
    padding: 80px 0px;
    background: var(--ma-white);
    overflow: hidden;
    position: relative;
}

.dataTables_wrapper .dataTables_filter {
    float: left;
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
}

    .dataTables_wrapper .dataTables_filter label {
        display: block;
    }

    .dataTables_wrapper .dataTables_filter input {
        margin: 0 !important;
        width: 100% !important;
        display: block !important;
        text-align: center;
        border-radius: 50px;
        max-width: 300px;
        height: 40px;
        line-height: 40px;
    }

.blogs_list {
    background: transparent;
}
.table > :not(caption) > * > * {
    background: transparent;
    border:none;
}
.blogs_list thead {
    display:none;
}
table.dataTable.no-footer {
    border:none;
}
.blogs_list tbody {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr); /* 2 Columns like screenshot */
    gap: 30px;
    width: 100%;
    margin: 0 auto;
}
    .blogs_list tbody tr {
        display: block; /* Overwrites table-row */
        height: 100%; /* Critical: Fills the grid cell */
        border: none;
    }
        .blogs_list tbody tr td {
            display: block; /* Overwrites table-cell */
            height: 100%; /* Critical: Inherits tr height */
            padding: 0px;
        }


a.blog_box {
    display: block;
    height: 100%;
    background-color: white !important;
    padding: 20px;
    border-radius: 10px;
    -webkit-transition: all 300ms ease;
    -moz-transition: all 300ms ease;
    -ms-transition: all 300ms ease;
    -o-transition: all 300ms ease;
    transition: all 300ms ease;
}
    a.blog_box .blog_img {
        margin-bottom:20px;
    }
        a.blog_box .blog_img img {
            border-radius: 10px;
            filter: grayscale(100%);
            -webkit-transition: all 300ms ease;
            -moz-transition: all 300ms ease;
            -ms-transition: all 300ms ease;
            -o-transition: all 300ms ease;
            transition: all 300ms ease;
        }
    a.blog_box h6 {
        margin-bottom: 20px;
        color: var(--ma-tag-black);
        font-size: var(--ma-body-font-size);
    }
        a.blog_box h6 i {
            color: var(--ma-type-primary);
        }
        a.blog_box h6 span {

        }
    a.blog_box p {
        margin-bottom: 0px;
        color: var(--ma-tag-black);
        font-size: var(--ma-body-font-size);
    }


    a.blog_box:hover,
    a.blog_box:focus,
    a.blog_box:active {
        outline: none;
        text-decoration: none;
        -webkit-transition: all 300ms ease;
        -moz-transition: all 300ms ease;
        -ms-transition: all 300ms ease;
        -o-transition: all 300ms ease;
        transition: all 300ms ease;
    }
        a.blog_box:hover .blog_img img,
        a.blog_box:focus .blog_img img,
        a.blog_box:active .blog_img img {
            filter: grayscale(0%);
            -webkit-transition: all 300ms ease;
            -moz-transition: all 300ms ease;
            -ms-transition: all 300ms ease;
            -o-transition: all 300ms ease;
            transition: all 300ms ease;
        }



/* --- DataTables Pagination Styling --- */
.dataTables_wrapper .dataTables_paginate {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-align: center !important;
    align-items: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    float: none;
    text-align: center;
    border-top: 1px dashed var(--ma-type-primary);
    margin-top: 30px;
    padding: 10px;
}




    .dataTables_wrapper .dataTables_paginate .paginate_button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 40px;
        height: 40px;
        margin: 0 5px;
        padding: 0 12px;
        border: 1px solid #dee2e6 !important;
        border-radius: 40px !important;
        background: #fff !important;
        color: #555 !important;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: none;
    }

        .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
            background: #e9ecef !important;
            color: var(--ma-type-primary) !important;
            border-color: var(--ma-type-primary) !important;
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.current,
        .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover {
            background: var(--ma-type-primary) !important;
            color: #fff !important;
            border-color: var(--ma-type-primary) !important;
            font-weight: 700;
            box-shadow: 0 2px 8px rgba(24, 157, 211, 0.3);
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
        .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
            opacity: 0.45;
            cursor: default;
            background: #f8f9fa !important;
            color: var(--ma-type-primary) !important;
            border-color: #dee2e6 !important;
            box-shadow: none;
        }

        /* Previous / Next labels */
        .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
        .dataTables_wrapper .dataTables_paginate .paginate_button.next {
            padding: 0 18px;
            font-weight: 600;
            line-height: 40px;
            color: var(--ma-type-primary) !important;
        }

/* --- Pagination fix for very small screens --- */
@media screen and (max-width: 480px) {
    .dataTables_wrapper .dataTables_paginate {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox: hide scrollbar */
        -ms-overflow-style: none;
        /* IE/Edge: hide scrollbar */
    }

        .dataTables_wrapper .dataTables_paginate::-webkit-scrollbar {
            display: none;
            /* Webkit: hide scrollbar */
        }

        .dataTables_wrapper .dataTables_paginate .paginate_button {
            min-width: 34px;
            height: 34px;
            margin: 0 3px;
            padding: 0 8px;
            font-size: 13px;
            flex-shrink: 0;
        }

            .dataTables_wrapper .dataTables_paginate .paginate_button.previous,
            .dataTables_wrapper .dataTables_paginate .paginate_button.next {
                padding: 0 12px;
                line-height: 34px;
                flex-shrink: 0;
                white-space: nowrap;
            }
}



/*------------------------------------------------------------------------*/
@media only screen and (max-width: 1200px) {
    .blogs_list tbody {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width: 992px) {
    .blogs_list tbody {
        /*-ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;*/
        grid-template-columns: 1fr;
    }
}

