@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

:root {
    --dark-color: #333333;
    --purple-color: #3A307F;
    --danger-color: #EA3934;
    --green-color: #45C325;
    --primary-color: #707070;
    --off-white: #FDFDFD;
    --white: #FFFFFF;
    --black-color: #2D0D30;
    --card-danger-color: #FD6360;
}

*,
::before,
::after {
    box-sizing: border-box;
    font-family: "Open Sans", 'NotoKufiArabic' !important;
    font-optical-sizing: auto;
}

.header-big {
    font-size: 48px;
    line-height: 72px;
}

.single-post .single-blog-content h1 {
    font-size: 48px;
    line-height: 72px;
    font-weight: bold;
}

.header-custom {
    font-size: 28px;
    line-height: 34px;
}

.single-post .single-blog-content h2 {
    font-size: 38px;
    line-height: 56px;
    font-weight: bold;
}

.header-medium {
    font-size: 38px;
    line-height: 56px;
}

.single-post .single-blog-content h3, .single-post .single-blog-content h4 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
}

.header-small {
    font-size: 32px;
    line-height: 48px;
}

.single-post .single-blog-content h5 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
}

.title-big {
    font-size: 24px;
    line-height: 36px;
}

.title-small {
    font-size: 20px;
    line-height: 32px;
}

.single-post span {
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
}

.body-text {
    font-size: 16px;
    line-height: 28px;
}

.label-text {
    font-size: 14px;
    line-height: 24px;
}

.caption-big {
    font-size: 12px;
    line-height: 20px;
}

.caption-small {
    font-size: 10px;
    line-height: 16px;
}

.single-blog-content p {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}

.single-post .single-blog-content h6 {
    font-size: 12px;
    line-height: 20px;
    font-weight: 600;
}

.single-post article {
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}


.rtl.single-post .single-blog-content h1 {
    font-size: 42px;
    line-height: 72px;
    font-weight: bold;
}

.rtl.single-post .single-blog-content h2 {
    font-size: 34px;
    line-height: 56px;
    font-weight: bold;
}

.rtl.single-post .single-blog-content h3, .rtl.single-post .single-blog-content h4 {
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
}

.rtl.single-post .single-blog-content h5 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
}

body.rtl {
    .header-big {
        font-size: 42px;
        line-height: 72px;
    }

    .header-medium {
        font-size: 34px;
        line-height: 56px;
    }


    .header-small {
        font-size: 26px;
        line-height: 48px;
    }

    .title-big {
        font-size: 20px;
        line-height: 36px;
    }

    .title-small {
        font-size: 17px;
        line-height: 32px;
    }

    .caption-big {
        font-size: 11px;
        line-height: 22px;
    }

    .caption-small {
        font-size: 10px;
        line-height: 18px;
    }


}

@media (max-width: 768px) {
    .header-big {
        font-size: 32px;
        line-height: 48px;
    }

    .header-medium {
        font-size: 24px;
        line-height: 44px;
    }

    .header-small {
        font-size: 24px;
        line-height: 36px;
    }

    .title-big {
        font-size: 22px;
        line-height: 32px;
    }

    .title-small {
        font-size: 19px;
        line-height: 32px;
    }

    .header-extra-medium {
        font-size: 26px;
        line-height: 36px;
    }

    .rtl.single-post .single-blog-content h1 {
        font-size: 28px;
        line-height: 52px;
    }

    .rtl.single-post .single-blog-content h2 {
        font-size: 24px;
        line-height: 44px;
    }

    .rtl.single-post .single-blog-content h3, .rtl.single-post .single-blog-content h4 {
        font-size: 20px;
        line-height: 36px
    }

    .rtl.single-post .single-blog-content h5 {
        font-size: 17px;
    }

    .rtl .hero-banner-wrapper .container-fluid .hero-content {
        margin-bottom: 10px;
    }

    .rtl .mobile-filter-checkbox:checked+label::after {
        margin-top: 5px;
        left: 0px;
        right: 33px;
    }

    .rtl .filter label::before {
        margin-left: 10px;
    }

    body.rtl {
        .header-big {
            font-size: 28px;
            line-height: 52px;
        }

        .header-medium {
            font-size: 24px;
            line-height: 44px;
        }

        .header-small {
            font-size: 22px;
            line-height: 40px;
        }

        .title-big {
            font-size: 20px;
            line-height: 36px;
        }

        .title-small {
            font-size: 17px;
            line-height: 32px;
        }

        .caption-big {
            font-size: 11px;
            line-height: 22px;
        }

        .caption-small {
            font-size: 10px;
            line-height: 18px;
        }
    }
}

.thick {
    font-weight: bold;
}

.semibold {
    font-weight: 600;
}

.medium {
    font-weight: 500;
}

.regular {
    font-weight: 400;
}


h1,
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: normal;
    margin: 0;
    line-height: unset;
}

body {
    background-color: #fdfdfd;
    padding: 0;
    margin: 0;
    font-weight: 400;
}

body.rtl {
    font-family: "Open Sans", 'NotoKufiArabic' !important;
}

body.rtl h1,
body.rtl h2,
body.rtl h3,
body.rtl h4,
body.rtl h5,
body.rtl h6,
body.rtl p,
body.rtl span,
body.rtl li,
body.rtl a,
body.rtl table,
body.rtl table tr,
body.rtl table td,
body.rtl table td span {
    font-family: "Open Sans", 'NotoKufiArabic' !important;
}


ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
.h1 {
    margin: 0;
}

.container-fluid {
    padding: 0 15px;
    max-width: 1254px;
    margin-inline: auto;
}

p {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 26px;
    color: #333333;
}

a {
    color: #333333;
    text-decoration: none;
}


.btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3.20px 8px;
    border-radius: 8px;
    font-size: 14px;
}

a.whatsapp-cta.header-wapp-cta {
    background: #4dbd43;
    display: inline-flex;
    border-radius: 8px;
    color: #fff;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
}

.header-wapp-cta svg {
    height: 28px;
    width: 28px;
}

a.whatsapp-cta.header-wapp-cta:hover {
    background: #3e9835;
}
.desktop-btn{
    display: flex;
    gap: 20px;
}

.purple-btn {
    color: #3A307F;
    border: 1px solid #8C84CC;
}

.purple-btn:hover {
    background: #E7E5F4;
    color: #3A307F;
}

.purple-btn:hover svg path {
    fill: #3A307F;
}

.hero-banner-wrapper {
    height: 100%;
    max-height: 563px;
    position: relative;
}

.hero-banner-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #FFFFFF 29.44%, rgba(255, 255, 255, 0) 65%);
    z-index: 1;
}


body.rtl .hero-banner-wrapper::before {
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0) 100%);
}

.hero-banner-wrapper .container-fluid {
    position: absolute;
    top: 35%;
    transform: translate(-50%, 0%);
    left: 50%;
    width: 100%;
    z-index: 2;
}

.hero-banner-wrapper .container-fluid .hero-content {
    max-width: 553px;
}

.hero-banner-wrapper .hero-content h1 {
    color: #333333;
}

.hero-banner-wrapper .hero-content .hero-text {
    padding-top: 08px;
}

.hero-banner-wrapper .hero-content p {
    color: var(--dark-color);
}

.hero-banner-wrapper .hero-img {
    position: relative;
    padding-top: 40%;
}

.hero-banner-wrapper .hero-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 563px;
    object-fit: cover;
}

/* newsletter-wrapper css start */
.newsletter-wrapper {
    background: #3A307F;
    padding: 96px 0;
}

.newsletter-wrapper .newsletter-inner {
    text-align: center;
}

.newsletter-wrapper .newsletter-inner .newsletter-content {
    padding-top: 08px;
    max-width: 770px;
    margin-inline: auto;
}

.newsletter-wrapper .newsletter-inner h2,
.newsletter-wrapper .newsletter-inner p {
    color: #fff;
}

.newsletter-wrapper .container-fluid {
    position: relative;
}

.newsletter-form {
    max-width: 540px !important;
    padding-top: 24px;
    margin: 0 auto;
}

/* footer css start */
.footer {
    padding: 64px 0 0;
    background: #f7f7fc;
}

.footer .footer-inner {
    padding-bottom: 24px;

}

.footer .footer-menu .menu-inner ul {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-top: 24px;
}

.footer .footer-menu .menu-inner ul li:not(:first-child) {
    padding-top: 08px;
}

.footer-menu_block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    border-bottom: 1px solid #D1CFED;
    padding-bottom: 50px;
}

.footer-menu_block .footer-menus {
    grid-column: span 4;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 24px;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer .footer-bottom .footer-left ul {
    display: flex;
    gap: 24px;
}

.footer .footer-bottom .footer-left ul a {
    text-decoration: none;
    color: #101820;
}

.footer .footer-bottom .footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer .footer-bottom .footer-right ul {
    display: flex;
    gap: 16px;
}

.footer .footer-bottom .footer-right ul a {
    display: flex;
}

.footer .footer-bottom .footer-right ul a svg {
    border-radius: 100%;
}

.footer .footer-menu .menu-inner ul li a {
    justify-content: unset !important;
    text-decoration: underline;
    font-size: 16px;
}

.rtl #filterContainer select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url('../img/dropdown.svg') no-repeat left 8px center;
}

.footer .navbar-nav .current_page_item a{
	border-bottom: unset !important;
	color: #333;
	font-weight: 400;
}

.footer-language-selector {
    display: flex;
    gap: 16px;
    align-items: center;
}

.language-toggle {
    font-size: 16px;
    font-weight: 400;
    color: #333333;
    text-decoration: none;
    line-height: 2em;
}

.country-selector {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 3px 12px;
    cursor: pointer;
    min-width: 101px;
    text-align: left;
    margin-bottom: 0;
    position: relative;
}

span.country-flag-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.country-flag-icon img {
    width: 20px;
    height: 20px;
    object-fit: cover;
    margin-top: 5px
}

.dropdown-arrow {
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    margin-left: 12px;
}

.country-dropdown-menu {
    position: absolute;
    bottom: 100%;
    right: 0px;
    margin-top: 4px;
    background: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    left: 0px;
}

.rtl .country-dropdown-menu {
    right: 0;
    left: 17px;
}

.country-dropdown-item {
    padding: 8px 05px;
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

.country-dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-arrow img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.dropdown-arrow.rotated img {
    transform: rotate(180deg);
}

.rtl .wpcf7 form.invalid .wpcf7-response-output {
    text-align: right;
}

.country-selector .hidden {
    display: none;
}

/* Footer end */

/* blog css start */
.dynamic-posts {
    padding-block: 96px;
}

.dynamic-posts.single-blog {
    padding: 0 0 96px;
}

.blog-posts_inner {
    display: flex;
    gap: 24px;
    align-items: start;
    position: relative;
}

.dynamic-posts .blog-filter {
    width: 34%;
    border-right: 1px solid #E3E3E3;
    padding-bottom: 20px;
    padding-right: 19px;
    position: sticky;
    top: 70px;
}

.dynamic-posts .blog-posts {
    width: 68%;
    ;
}

#dynamic-posts-content #posts-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 32px;
}

.dynamic-posts.related-posts #posts-container {
    grid-template-columns: repeat(3, 1fr) !important;
    padding-top: 40px;
}

body.rtl .article-post-meta__read-more a img,
body.rtl .dynamic-posts .left-sidebar-popular-arrow img {
    transform: rotate(180deg);
}

.dynamic-posts .filter-sidebar__list {
    list-style: none;
    padding: 0px;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px dashed #D5D5D2;
}

.dynamic-posts .filter-sidebar__list .filter-sidebar__item {
    color: var(--dark-color);
}

.mobile-filter-checkbox,
.dynamic-posts input[type="checkbox"] {
    display: none;
}

.dynamic-posts input[type="checkbox"]+label {
    position: relative;
    padding-left: 30px;
    cursor: pointer;
    text-transform: capitalize;
    padding-top: 0px;
}

.dynamic-posts input[type="checkbox"]+label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border: 2px solid #CCCCCC;
    background-color: #fff;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s;
}

.rtl span.page-link.ajax-page-link.next-page,
.rtl span.page-link.ajax-page-link.prev-page {
    transform: rotate(180deg)
}

.rtl span.page-link.ajax-page-link.prev-page {
    margin-left: 17px;
}

.rtl span.page-link.ajax-page-link.next-page {
    margin-right: 16px;
}

body.rtl .dynamic-posts input[type="checkbox"]+label {
    padding-right: 30px;
    padding-left: 0;
}

body.rtl .dynamic-posts input[type="checkbox"]+label::before {
    left: unset;
    right: 0;
}

body.rtl .dynamic-posts input[type="checkbox"]:checked+label::after {
    right: 3px;
    left: unset;
}

.dynamic-posts input[type="checkbox"]:checked+label::before {
    border: unset;
    background-color: #3A307F;
}

.dynamic-posts input[type="checkbox"]:checked+label::after {
    content: "";
    background-image: url("/blog/wp-content/themes/mf-blog/img/pf-filter-icon.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 14px;
    height: 14px;
    position: absolute;
    left: 03px;
    top: 04px;
}

.dynamic-posts .radio-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Popular post start */
.dynamic-posts .left-sidebar-popular-post {
    display: flex;
    flex-direction: row;
    border: 1px solid #D5D5D2;
    border-radius: 12px;
    margin-top: 23px;
    gap: 0px;
    background-color: #fff;
}

.dynamic-posts .left-sidebar-popular-arrow img {
    width: 50%;
    object-fit: cover;
    margin-top: 11px;
}

.dynamic-posts .left-sidebar-popular-meta {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0px;
    justify-content: space-between;
    padding-top: 0px;
}

.rtl .dynamic-posts .left-sidebar-popular-meta {
    padding-top: 0px;
}

.dynamic-posts .left-sidebar-popular-arrow {
    padding: 0;
    width: 36px;
    height: 36px;
    text-align: center;
    border-radius: 8px;
}

.dynamic-posts .left-sidebar-popular-img a {
    display: unset;
}

.dynamic-posts .left-sidebar-popular-img img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 10px 0px 0px 10px;
}

body.rtl .dynamic-posts .left-sidebar-popular-img img {
    border-radius: 0 10px 10px 0;
}

.dynamic-posts .left-sidebar-popular-img {
    width: 35%;
}

.dynamic-posts .left-sidebar-popular-content {
    width: 70%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dynamic-posts .left-sidebar-popular-content .left-sidebar-popular-title {
    padding: 0;
    margin: 0;
}

.left-sidebar-popular-content .left-sidebar-popular-category,
.left-sidebar-popular-content .left-sidebar-popular-title,
.left-sidebar-popular-date .left-sidebar-popular-meta-text {
    margin-bottom: 0px;
}

.left-sidebar-popular-content .left-sidebar-popular-category {
    margin-top: 0px;
}

.dynamic-posts .left-sidebar-popular-content .left-sidebar-popular-category {
    color: var(--card-danger-color);
}

.dynamic-posts .left-sidebar-popular-content .left-sidebar-popular-title a {
    color: var(--dark-color);
    padding: 0px 10px;
    text-decoration: none;
    padding: 0px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.dynamic-posts .left-sidebar-popular-date .left-sidebar-popular-meta-text {
    color: var(--primary-color);
    margin: 0px;
}

.blog-filter-main .title-big {
    color: var(--dark-color);
}

/* Popular post end */
.dynamic-posts .article-image img {
    width: 100%;
    object-fit: cover;
    display: block;
    height: 210px;
    border-radius: 10px;
    object-position: top center;
}

.dynamic-posts .article-box-content {
    width: 100%;
    min-height: 186px;
    position: relative;
    top: -20px;
    background-color: var(--off-white);
    border: 1px solid #F7F7F7;
    border-radius: 16px;
    padding: 23px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dynamic-posts .article-box-content a {
    text-decoration: none;
}

.dynamic-posts .article-box-content .article-category {
    color: var(--card-danger-color);
}

.dynamic-posts .article-box-content .article-heading {
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    color: var(--dark-color);
    margin-top: 8px;
}

.dynamic-posts .article-post-meta {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
}

.dynamic-posts .article-post-meta__date {
    color: var(--primary-color);
}

.dynamic-posts .article-post-meta__link {
    display: flex;
    align-items: center;
    color: var(--purple-color);
    gap: 5px;
    align-items: stretch;
    padding: 5px 10px;
}

.dynamic-posts #posts-per-page {
    width: 100%;
    max-width: 68px;
    padding: 6px 22px 6px 8px;
    border: 1px solid #B7B8B8;
    border-radius: 3px;
}

.rtl .dynamic-posts #posts-per-page {
    padding: 6px 8px 6px 8px;
}

.dynamic-posts #posts-per-page:hover,
.dynamic-posts #posts-per-page:focus,
.dynamic-posts #posts-per-page:focus-within,
.dynamic-posts #posts-per-page:focus-visible {
    outline: none;
}

.dynamic-posts span.page-link.ajax-page-link {
    background-color: unset;
    border: none;
}

/* pagination start */
.dynamic-posts .pagination {
    justify-content: center;
    align-items: center;
    gap: 9px;
    flex-wrap: nowrap;
    white-space: nowrap;
    margin: 0px;
    margin-right: -10px;
}

.dynamic-posts .pagination a.page-item {
    background-color: #F7F7FC;
    color: #3A307F;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

span.page-link.ajax-page-link.next-page .page-item {
    transform: rotate(180deg);
    background-color: #ffffff !important;
}

span.page-link.ajax-page-link.next-page {
    border: 1px solid #8C84CC;
    border-radius: 8px;
}

span.page-link.ajax-page-link.prev-page .page-item {
    background-color: white !important;
    border: 1px solid #8C84CC;
}

span.page-link.ajax-page-link.prev-page.disabled .page-item {
    background-color: unset !important;
    border: unset;
}

span.page-link.ajax-page-link svg path {
    fill: #3A307F;
}


span.page-link.ajax-page-link.next-page.disabled .page-item {
    background-color: unset !important;
}

span.page-link.ajax-page-link.prev-page {
    margin-right: 17px;
}

span.page-link.ajax-page-link.next-page {
    margin-left: 16px;
}

span.page-link.ajax-page-link.next-page.disabled,
span.page-link.ajax-page-link.prev-page.disabled {
    background-color: #E3E3E3 !important;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: unset;
}

span.page-link.ajax-page-link.next-page.disabled .page-item svg,
span.page-link.ajax-page-link.prev-page.disabled .page-item svg {
    margin-top: 5px;
}

span.page-link.ajax-page-link.next-page.disabled .page-item svg path,
span.page-link.ajax-page-link.prev-page.disabled .page-item svg path {
    fill: #B0B0B0;
}

span.page-link.ajax-page-link.current {
    background-color: #3A307F;
    color: var(--white);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
}

.dynamic-posts .pagination .next {
    justify-content: end;
}

.dynamic-posts .pagination a.active {
    background-color: var(--purple-color);
    color: white;
}

.dynamic-posts .pagination a.prev,
.dynamic-posts .pagination a.next {
    border-radius: 8px;
    min-width: 0px;
    background-color: unset;
}

.dynamic-posts .pagination span.dots {
    border: none;
    background: none;
    font-weight: bold;
    min-width: 30px;
    color: var(--primary-color);
    align-items: flex-end;
}

.dynamic-posts .pagination-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 156px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.dynamic-posts .pagination-controls .pagination-text {
    width: 100%;
    color: var(--dark-color);
}

.dynamic-posts .page-numbers {
    display: flex;
    gap: 10px;
    align-items: baseline;
}

.dynamic-posts .prev,
.dynamic-posts .next {
    border: none !important;
}

.dynamic-posts .article-box-content .article-category {
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: row;
    flex-wrap: wrap;
}

.dynamic-posts .pagination-controls {
    display: flex;
    flex-direction: row;
    align-items: center;
    max-width: 156px;
    width: 100%;
    position: absolute;
    bottom: 0;
}

.popular-post-mobile-sec {
    display: none;
}

.popular-post-mobile .ctm_post-thumbnail {
    width: 100%;
    position: relative;
    padding-top: 60.37%;
}

.popular-post-mobile .ctm_post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 10px;
}

body.rtl .popular-post-mobile .read-more-link img {
    transform: rotate(180deg);
}

.blog-posts_inner h4 {
    margin: 0;
}

.blog-posts_inner h3 {
    margin: 0;
}

.popular-post-desktop {
    padding-top: 24px;
}

.popular-posts.dynamic-posts {
    padding-block: 0 !important;
}

/* single blog css start */
.single-blog-main {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.single-blog-main .popular-posts {
    width: 33.2%;
    position: sticky;
    top: 0px;
    border-left: 1px solid #E3E3E3;
    padding-left: 22px;
}

.single-blog-main h2 {
    color: #101820;
}

.single-blog-main .single-blog-content h2,
.single-blog-main .single-blog-content h3,
.single-blog-main .single-blog-content h4,
.single-blog-main .single-blog-content h5,
.single-blog-main .single-blog-content h6 {
    margin-top: 0;
    margin-bottom: 20px;
}

.single-blog-main .single-blog-content h2:empty {
    display: none;
}

.single-blog-main .single-blog-content {
    width: 67.8%;
}

.single-blog-main .popular-posts .single-page-title {
    padding-top: 24px;
}

.single-blog-main .single-blog-content p {
    margin-bottom: 15px;
    word-break: break-word;
}

.single-blog-main .single-blog-content p a {
    color: #3A307F;
    font-weight: 500;
}

.single-blog-main .single-blog-content p:last-child {
    margin-bottom: 0;
}

.single-blog-main .blog-details {
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
    align-items: center;
}

.single-blog-main .date-readtime {
    display: flex;
    align-items: center;
}

.single-post .wp-block-heading {
    padding-bottom: 24px;
}

.date-readtime span.post-modified-date {
    margin-right: 8px;
}

.date-readtime span.post-read-time {
    margin-left: 8px;
}

.post-tags span.tag {
    padding: 04px 12px;
    border-radius: 8px;
    border: 1px solid #6459B2;
    background: #F7F7FC;
    text-transform: capitalize;
    color: #3A307F;
}

.post-tags {
    display: flex;
    gap: 10px;
    padding-bottom: 16px;
    flex-wrap: wrap;
}

span.post-modified-date {
    color: #848789;
}

span.post-modified-date span {
    color: #101820;
}

span.post-read-time {
    color: #3A307F;
}

.addtoany_shortcode .a2a_svg svg path {
    fill: #000000 !important;
}

.addtoany_list {
    line-height: 0;
}

.addtoany_list span.a2a_label{
    display: none;
}

.addtoany_list span.a2a_svg{
    display: flex !important;
}
.single-blog-content img {
    width: auto;
    height: 100%;
    object-fit: cover;
}

.single-blog-content .featured-image img {
    height: 488px;
    display: block;
}

.single-blog-content h1 {
    padding: 24px 0px;
    color: #333333;
}

.single-blog-content .a2a_button_facebook::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/blog/wp-content/themes/mf-blog/img/documnt-clip-mf.svg') no-repeat center center;
    background-size: cover;
    display: none;
}

.related-posts {
    background-color: #F7F7FC;
}

.addtoany_list.a2a_kit_size_32 a:not(.addtoany_special_service)>span {
    background-color: transparent !important;
}

.single-blog-content a.a2a_button_mastodon::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/blog/wp-content/themes/mf-blog/img/blog-linkdin-mf.svg') no-repeat center center;
    background-size: cover;
    display: none;
}

.single-blog-content a.a2a_button_email::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/blog/wp-content/themes/mf-blog/img/blg-x-mf.svg') no-repeat center center;
    background-size: cover;
    display: none;
}

.single-blog-content a.a2a_dd.addtoany_share_save.addtoany_share::before {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/blog/wp-content/themes/mf-blog/img/blog-fb-mf.svg') no-repeat center center;
    background-size: cover;
    display: none;
}

a.button.blue:after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('/blog/wp-content/themes/mf-blog/img/download-icon-mf.svg') no-repeat center center;
    background-size: contain;
}

.single-post .popular-posts-back-btn {
    display: inline-flex;
    border-top: 1px dashed #E3E3E3;
    width: 100%;
    margin-top: 24px;
    padding-top: 24px;
    gap: 4px;
}

.single-post .popular-posts-back-btn a {
    color: #3A307F;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}


.single-post .dynamic-posts .article-post-meta {
    margin-top: 18px;
}

.single-post .dynamic-posts.related-posts #posts-container {
    padding-top: 32px;
    padding-bottom: 0px !important;
}


.mfwidget h1,
.mfwidget h2,
.mfwidget h3,
.mfwidget h4,
.mfwidget h5,
.mfwidget h6 {
    font-size: 38px;
    font-weight: bold;
    line-height: 56px;
}

.mfwidget small {
    font-size: 16px;
    font-weight: 400;
    line-height: 28px;
}

.mfwidget a {
    font-size: 16px;
    font-weight: 600;
    line-height: 28px;
}

/* blog pages arabic css start */
body.rtl .iti--allow-dropdown .iti__flag-container,
.iti--separate-dial-code .iti__flag-container {
    right: 0;
    left: unset;
}

body.rtl .footer-form .iti__selected-flag {
    border-right: 0;
    border-left: 1px solid #848789;
}

body.rtl .footer-form #phone {
    padding-left: 0 !important;
    padding-right: 71px;
    text-align: right;
}

body.rtl .mobile-menu {
    left: unset;
    right: -100%;
    transition: right 500ms;
    border-radius: 30px 0 0 30px;
}

body.rtl .mobile-menu.active {
    right: 0%;
}

body.rtl .single-blog-main .single-blog-content {
    padding-left: 20px;
    /* border-left: 1px solid #000; */
    padding-right: 0;
    border-right: 0;
}

.rtl .single-blog-main .popular-posts {
    border-right: 1px solid #E3E3E3;
    padding-right: 22px;
    border-left: none;
}

body.rtl .date-readtime span.post-read-time {
    margin-left: 0;
    margin-right: 8px;
}

body.rtl .date-readtime span.post-modified-date {
    margin-left: 8px;
    margin-right: 0;
}

body.rtl .dynamic-posts .blog-filter {
    border-right: 0;
    padding-right: 0;
    border-left: 1px solid #E3E3E3;
    padding-left: 20px;
}

.wp-block-table,
table {
    border-spacing: 0;
    width: 100%;
}

.wp-block-table tr td,
table tr td {
    background: #F7F7FC;
    color: #3A307F;
    border: 0;
    text-align: center;
    padding: 15px 14px;
}

.wp-block-table tr:first-child td,
table tr:first-child td {
    background: #E7E5F4;
    color: #3A307F;
}
td.has-text-align-center:nth-child(1) {
    border-radius: 10px 0px 0px 0px;
}
td.has-text-align-center:nth-child(3) {
    border-radius: 0px 10px 0px 0px;
}

.wp-block-table tr td:not(:last-child),
table tr td:not(:last-child) {
    border-right: 1px solid #3A307F;
}

.wp-block-table tr:not(:first-child) td,
table tr:not(:first-child) td {
    /* border-bottom: 1px solid #3a307f21; */
    color: #101820;
    border-radius: 0px 0px 10px 10px;
}

body .mfwidget.white {
    box-shadow: unset !important;
    background: #3A307F;
    border-radius: 12px;
    padding: 32px !important;
}

.mfwidget .row {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

body .mfwidget .row {
    gap: 32px !important;
}

.mfwidget .row .col-md-8 {
    width: 100%;
}

.mfwidget .row h3,
.mfwidget .row small {
    color: #FFFFFF;
}

.mfwidget .row h3 {
    margin-bottom: 10px;
}

body .mfwidget .row a {
    color: #3A307F !important;
    background: #FFFFFF !important;
    border: unset;
    border-radius: 12px;
    margin-top: 10px;
    max-width: fit-content;
    padding: 15px 30px;
    display: inline-flex;
    gap: 4px;
}

.share-buttons a span {
    display: flex;
    align-items: center;
}

.share-buttons .addtoany_shortcode .a2a_svg svg {
    height: 22px !important;
    width: 22px !important;
}

/* chat css */
/* .wapp-chat {
    text-align: end;
} */

.wapp-chat {
    max-width: 1124px;
    margin: 0 auto;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 999;
}

.rtl .wapp-chat{
   left: 15px;
    right: unset;
}

.wapp-chat a {
    background-color: #4DBD43;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--white);
    display: inline-flex;
    gap: 4px;
}

.h1 {
    color: #333333;
}

@media (min-width: 767px) {
    #subscribe-form .ff_submit_btn_wrapper {
        position: absolute;
        top: 0;
        right: 0;
        height: 50px;
        background: #ffffff;
        box-shadow: unset !important;
        outline: 0 !important;
        border-top-right-radius: 100px;
        border-bottom-right-radius: 100px;
        display: flex;
    }

    #subscribe-form .ff_submit_btn_wrapper button {
        padding: 17px 40px;
        border: unset;
        box-shadow: unset !important;
        outline: 0 !important;
        line-height: 1;
        background: unset;
        cursor: pointer;
        color: #3A307F;
        width: 100%;
    }

    body.rtl #subscribe-form .ff_submit_btn_wrapper {
        left: 0;
        right: unset;
        border-radius: 100px 0 0 100px;
    }
}

@media (max-width:1440px) {
    .newsletter-wrapper .section-pattern {
        width: 180px;
        height: 180px;
    }

    .newsletter-wrapper {
        padding: 80px 0;
    }
}

@media (max-width:1366px) {
    .footer .footer-bottom .footer-right {
        gap: 20px;
    }

    .footer .footer-bottom .footer-right ul {
        gap: 10px;
    }

    .container-fluid {
        padding: 0 8px;
    }
}

@media (max-width:1024px) {

    .hero-banner-wrapper .hero-content {
        left: 0;
    }

    body.rtl .ctm_filter {
        left: 30px;
        right: unset;
    }

    .hero-banner-wrapper .hero-img {
        padding-top: 100%;
    }

    .container-fluid {
        padding: 0 8px;
    }

    .newsletter-wrapper .section-pattern {
        right: 40px;
        top: 0;
    }

    .newsletter-wrapper {
        padding: 40px 0;
    }

    .footer .footer-block {
        width: 100%;
    }

    .header .cta-btn .desktop-btn {
        display: none;
    }

    .footer .footer-inner {
        flex-wrap: wrap;
    }


    .footer-info {
        padding-bottom: 30px;
        border-bottom: 1px dashed #A3A4A5;
        padding-top: 10px;
    }

    .footer {
        padding: 40px 0;
    }

    .footer .footer-bottom .footer-left ul {
        flex-direction: column;
        gap: 24px;
        justify-content: space-between;
    }

    .footer-left,
    .footer-middle,
    .footer-right {
        width: 100%;
    }

    .footer-left ul li a,
    .footer-middle p,
    .footer-right p {
        font-size: 14px;
        padding: 0px;
    }

    .footer-left ul li a,
    .footer-middle p {
        text-align: center;
    }

    .footer .footer-bottom .footer-right {
        justify-content: center;
    }

    .footer .footer-bottom {
        gap: 48px;
    }

    .footer-menu_block {
        grid-template-columns: repeat(1, 1fr);
    }

    .dynamic-posts .blog-posts {
        width: 100%;
    }

    .blog-posts_inner {
        flex-direction: column;
    }

    .popular-post-card {
        width: 100%;
        min-height: 185px;
        height: 100%;
        position: relative;
        top: -20px;
        background-color: var(--white);
        border: 1px solid #D5D5D2;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        padding: 20px;
        justify-content: space-between;
    }

    .popular-post-card .card-title {
        margin: 0 !important;
    }

    .popular-post-card .card-title a {
        color: var(--dark-color);
    }

    .popular-post-card .category {
        margin: 0px;
        padding: 0px;
        color: var(--card-danger-color);
        text-decoration: none;
    }

    .popular-post-card .meta-info {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .popular-post-card .meta-text {
        color: var(--primary-color);
        margin: 0;
    }

    .popular-post-card .read-more-link {
        display: flex;
        flex-direction: row;
        gap: 5px;
        align-items: center;
        width: 100%;
        justify-content: end;
    }

    a.arrow-icon {
        position: relative;
        display: flex;
    }

    .popular-post-card-read-more-text {
        color: #3A307F;
    }

    .post-date {
        width: 100%;
    }

    .dynamic-posts.related-posts #posts-container {
        grid-template-columns: repeat(1, 1fr) !important;
        padding-top: 20px;
    }

    #dynamic-posts-content #posts-container {
        padding-bottom: 32px;
    }

    .related-posts {
        padding-block: 40px;
    }

    .single-blog-main {
        flex-direction: column;
    }

    .single-blog-main .single-blog-content {
        width: 100%;
        padding-right: 0;
        border: 0;
    }

    .single-blog-main .popular-posts {
        width: 100%;
    }

    .single-post .popular-posts-back-btn,
    .single-blog-main .popular-posts {
        border: none;
        justify-content: flex-end;
        padding: 0px 16px;
    }

    .single-blog-main {
        gap: 0px;
    }

    .dynamic-posts .left-sidebar-popular-post,
    .single-blog-main .popular-posts .single-page-title {
        display: none;
    }

    .dynamic-posts.single-blog {
        padding-bottom: 40px;
    }

    body .mfwidget.white {
        border-radius: 0px;
        padding: 48px 16px !important;
    }

    .single-post figure.wp-block-image.size-large {
        margin-bottom: 32px !important;
    }



    .single-blog-main .blog-details {
        padding-bottom: 20px;
    }

    body.rtl .single-blog-main .single-blog-content {
        padding-left: 0;
        border-left: 0;
    }

    .mobilemenu-btns a.whatsapp-btn {
        padding: 10px;
    }

    .mobilemenu-btns a.call-btn {
        padding: 10px;
    }

    .dynamic-posts .blog-filter {
        display: none;
    }

    .popular-post-mobile-sec {
        display: block;
        padding: 48px 0 28px;
        background-color: #F4F8FD;
    }

    .popular-post-mobile-sec h3 {
        margin: 0;
        margin-bottom: 32px;
        color: #101820;
    }

    .chat-section {
        display: none;
    }

    /* Mobile filter */
    /* Hide the default checkbox */
    .filter label {
        display: flex;
        padding: 4px 0;
        border-radius: 4px;
        cursor: pointer;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .filter label::before {
        content: '';
        display: inline-block;
        width: 20px;
        height: 20px;
        margin-right: 10px;
        border: 2px solid #ccc;
        border-radius: 4px;
        transition: background-color 0.3s ease, border-color 0.3s ease;
    }

    .mobile-filter-checkbox:checked+label::before {
        border: unset;
        background-color: #3A307F;
    }

    .mobile-filter-checkbox:checked+label::after {
        content: "";
        background-image: url("/blog/wp-content/themes/mf-blog/img/pf-filter-icon.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 14px;
        height: 14px;
        position: absolute;
        margin-top: 5px;
        left: 23px;
    }

    .addtoany_list a:not(.addtoany_special_service)>span {
        display: none !important;
    }
    .single-post .single-blog-content h1 {
        font-size: 32px;
        line-height: 48px;
    }

    .single-post .single-blog-content h2 {
        font-size: 28px;
        line-height: 40px;
    }

    .single-post .single-blog-content h3, .single-post .single-blog-content h4 {
        font-size: 22px;
        line-height: 32px;
    }

    .single-post .single-blog-content h5 {
        font-size: 19px;
        line-height: 32px;
    }
    .header .navbar-nav .level-1>a{
		font-weight: 600;
	}
	.mobile-menu-footer{
		padding: 30px 8px;
	}
	select.language-select{
		background: transparent;
	}
	#menu-menu-revamp-en-1 .level-1:nth-child(4), #menu-menu-revamp-ar-1 .level-1:nth-child(4){ 
		position: relative;
		padding-bottom: 5px;
	}
	#menu-menu-revamp-en-1 .level-1:nth-child(5), #menu-menu-revamp-ar-1 .level-1:nth-child(5){
		padding-top: 5px;
	}
    #menu-menu-revamp-en-1 .level-1:nth-child(4)::after, #menu-menu-revamp-ar-1 .level-1:nth-child(4)::after{
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        border-bottom: 1px solid #CCCCCC;
        width: 98%;
		transform: translateX(1%);
    }
	.rtl .ctm_filter{
		left: 15px !important;
		right: unset !important;
	}
    body .addtoany_list a:not(.addtoany_special_service)>span {
        display: block !important;
    }
	.single-post .popular-posts-back-btn, .single-blog-main .popular-posts{
		padding: 0;
	}
}

@media (max-width:768px) {

    .newsletter-wrapper .newsletter-inner h2,
    .newsletter-wrapper .newsletter-inner p {
        text-align: left;
    }

    .newsletter-wrapper {
        padding: 48px 0;
    }

    .footer .footer-bottom .footer-right {
        flex-direction: column;
        gap: 48px;
    }

    #dynamic-posts-content #posts-container {
        grid-template-columns: repeat(1, 1fr);
        gap: 4px;
    }

    .dynamic-posts {
        padding: 48px 0;
    }

    .dynamic-posts.single-blog {
        padding: 0 0 40px;
    }

    .hero-banner-wrapper::before {
        background: linear-gradient(0deg, #FFFFFF 31%, #FFFFFF00 67%);

    }

    .hero-banner-wrapper .container-fluid {
        top: unset;
        bottom: 0;
    }

    #load-more-posts {
        display: flex;
        margin: auto;
        padding: 10px 12px;
        background-color: #FFFFFF;
        color: #3A307F;
        border: 1px solid #8C84CC;
        border-radius: 8px;
        outline: none;
    }

    body.rtl #load-more-posts img {
        transform: rotate(180deg);
    }

    .single-blog-content .featured-image img {
        height: 100%;
        max-height: 400px;
    }

    .wp-block-table,
    table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 10px;
    }

    .wp-block-table::-webkit-scrollbar,
    table::-webkit-scrollbar {
        height: 8px;
    }

    .wp-block-table::-webkit-scrollbar-thumb,
    table::-webkit-scrollbar-thumb {
        background-color: #3a307f70;
        border-radius: 4px;
    }

    .wp-block-table::-webkit-scrollbar-track,
    table::-webkit-scrollbar-track {
        background-color: #F4F8FD;
        border-radius: 4px;
    }

    body.single-post .single-blog-content h4 {
        font-size: 22px;
        line-height: 26px;
    }

    body.single-post .single-blog-content h5 {
        font-size: 20px;
        line-height: 24px;
    }

    body.single-post .single-blog-content h6 {
        font-size: 18px;
        line-height: 22px;
    }

    .footer-menu_block .footer-menus {
        grid-template-columns: unset;
    }

    .footer-bottom .footer-left .navbar-nav .menu-item,
    .footer-menu .menu-inner #menu-quick-links .menu-item,
    .footer-menu .menu-inner #menu-calculators .menu-item {
        text-decoration: underline;
    }

    .single-post .dynamic-posts .article-box-content .article-heading,
    .dynamic-posts .article-box-content .article-heading {
        min-height: 100%;
    }

    .email-subscription-form button {
        padding: 9px 16px !important;
        height: 46px !important;
    }

    .email-subscription-form input#subscription_email {
        height: 46px !important;
    }

    body .mfwidget .row {
        gap: 24px !important;
    }
}

@media (max-width:575px) {
    .container-fluid {
        padding: 0 16px;
    }

    .newsletter-wrapper .section-pattern {
        right: 20px;
    }

    .footer-menu_block {
        grid-template-columns: repeat(1, 1fr);
    }

    .mobile-menu {
        width: 100%;
    }

    .single-blog-main .blog-details {
        flex-direction: column;
        gap: 16px;
        padding-top: 24px;
        padding-bottom: 0px;
    }

    .single-blog-main .date-readtime {
        width: 100%;
    }

    .share-buttons {
        width: 100%;
    }
}

/* All Hover effect strat */
.header-menu .navbar-nav .menu-item:hover {
    background-color: #f7f7fc;
    color: unset;
}

.header-menu .navbar-nav .level-1 .menu-item:hover {
    background-color: #f7f7f7;
}

.article-post-meta__read-more:hover {
    background-color: #E7E5F4;
    transition: 0.2s all ease-in;
    border-radius: 08px;
}

.left-sidebar-popular-arrow:hover,
span.page-link.ajax-page-link.current:hover,
.dynamic-posts .pagination a.page-item:hover {
    background-color: #E7E5F4 !important;
}

/* All Hover Effect end */