@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;
}

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

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

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

.single-post .ctm-faq-content h3 {
    font-size: 32px;
    line-height: 48px;
    font-weight: bold;
}

.single-post .ctm-faq-content h4 {
    font-size: 20px;
    line-height: 32px;
    font-weight: 600;
}

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

.single-post .ctm-faq-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 .ctm-faq-content 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;
}

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

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

.single-post .ctm-faq-content article {
    font-size: 14px;
    line-height: 24px;
    font-weight: 600;
}
.single-post .single-blog-content h1 {
    color: #333333;
}
.rtl.single-post .ctm-faq-content h2 {
    font-size: 34px;
    line-height: 56px;
    font-weight: bold;
}

.rtl.single-post .ctm-faq-content h3 {
    font-size: 26px;
    line-height: 48px;
    font-weight: bold;
}

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

.rtl.single-post .ctm-faq-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 .ctm-faq-content h2 {
        font-size: 24px;
        line-height: 44px;
    }

    .rtl.single-post .ctm-faq-content h3 {
        font-size: 22px;
        line-height: 40px;
    }

    .rtl.single-post .ctm-faq-content h4 {
        font-size: 20px;
        line-height: 36px
    }

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

    .rtl .hero-banner-wrapper .container-fluid .hero-content {
        margin-bottom: 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: 565px;
    position: relative;
}

.hero-banner-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9) 30%, rgba(255, 255, 255, 0) 70%);
    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: 50%;
    transform: translate(-50%, -50%);
    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: 31%;
}

.hero-banner-wrapper .hero-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 563px;
    object-fit: cover;
}
.hero-button {
    padding-top: 32px;
}
.hero-button a {
    position: relative;
    padding: 10px 36px 10px 12px;
    border: 1px solid #8C84CC;
    border-radius: 8px;
    display: inline-flex;
    background-color: #ffffff;
    font-size: 16px;
    line-height: 28px;
    font-weight: 600;
    color: #3A307F;
}
.hero-button a:hover{
    background: #E7E5F4;
}
.hero-button a:before{
  content: '';
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 12px;
  background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.64645 11.8536C9.45118 11.6583 9.45118 11.3417 9.64645 11.1464L14.2929 6.5L0.5 6.5C0.223858 6.5 0 6.27614 0 6C0 5.72386 0.223858 5.5 0.5 5.5L14.2929 5.5L9.64645 0.853554C9.45118 0.658291 9.45118 0.341709 9.64645 0.146446C9.84171 -0.0488157 10.1583 -0.0488157 10.3536 0.146446L15.8536 5.64645C16.0488 5.84171 16.0488 6.15829 15.8536 6.35355L10.3536 11.8536C10.1583 12.0488 9.84171 12.0488 9.64645 11.8536Z' fill='%233A307F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;    
}

/* 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;
    padding-bottom: 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-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);
}

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

/* Footer end */

/* faq css start */

.dynamic-posts {
    padding-block: 96px;
}

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

.faq-posts_inner, .single-blog-main{
    display: grid;
    grid-template-columns: 23% 1fr;
    gap: 106px;
    align-items: start;
    position: relative;
    padding-top: 32px;
}

.single-blog-main{
    padding-top: 0;
}
.dynamic-posts .faq-filter, .single-blog-main .article-sidebar{
    width: 100%;
    border-right: 1px solid #848789;
    padding-bottom: 20px;
    padding-right: 20px;
    height: 100%;
}

.dynamic-posts .faq-filter .faq-filter-main, .single-blog-main .article-sidebar-main {
    position: sticky;
    top: 70px;
}

.dynamic-posts .faq-posts, .single-blog-main .single-blog-content {
    width: 100%;
}

#dynamic-posts-content #posts-container {
    display: flex;
    flex-direction: column;
}

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

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

.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::before {
    left: unset;
    right: 0;
}

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


/* filter css start */
.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked,
.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked),
.ctm_filter .filter__inner .filter [type="checkbox"]:checked,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked) {
    position: absolute;
    left: -9999px;
}

.rtl .filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked,
.rtl .filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked),
.rtl .ctm_filter .filter__inner .filter [type="checkbox"]:checked,
.rtl .ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked) {
    position: absolute;
    left: unset;
    right: -9999px;
}

.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked+label,
.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label,
.ctm_filter .filter__inner .filter [type="checkbox"]:checked+label,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label {
    position: relative;
    padding-left: 28px;
    cursor: pointer;
    line-height: 20px;
    display: inline-block;
    color: #333333;
}

.rtl .filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked+label,
.rtl .filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label,
.rtl .ctm_filter .filter__inner .filter [type="checkbox"]:checked+label,
.rtl .ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label {
    padding-left: 0;
    padding-right: 28px;
}

.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked+label:before,
.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label:before,
.ctm_filter .filter__inner .filter [type="checkbox"]:checked+label:before,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;   
    border-radius: 4px;
    background: #fff;
}

.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label:before,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label:before {
    border: 2px solid #CCCCCC;
}

.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked+label:after,
.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label:after,
.ctm_filter .filter__inner .filter [type="checkbox"]:checked+label:after,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label:after {
    content: '';
    width: 16px;
    height: 16px;
    background: #3A307F;
    position: absolute;
    top: 2px;
    left: 2px;
    border-radius: 100%;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.rtl .filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked+label:after,
.rtl .filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label:after,
.rtl .ctm_filter .filter__inner .filter [type="checkbox"]:checked+label:after,
.rtl .ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label:after {
    left: unset;
    right: 2px;
}

.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:not(:checked)+label:after,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label:after {
    opacity: 0;
    -webkit-transform: scale(0);
    transform: scale(0);
}

.filter-sidebar__list .filter-sidebar__item [type="checkbox"]:checked+label:after,
.ctm_filter .filter__inner .filter [type="checkbox"]:checked+label:after {
    left: 0px;
    top: 0px;
    width: 20px;
    height: 20px;
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
    background-color: #3A307F;
    border-radius: 0px;
    background-image: url(https://www.mortgagefinder.ae/blog/wp-content/themes/mf-blog/img/pf-filter-icon.svg);
    background-repeat: no-repeat;
    background-size: inherit;
    background-position: center center;
    border-radius: 4px;
}

.filter__inner .filter [type="checkbox"]:checked+label:after,
.ctm_filter .filter__inner .filter [type="checkbox"]:not(:checked)+label:after {
    top: -1px !important;
}
/* filter css end */

.dynamic-posts .article-heading {
    position: relative;
    margin: 0;
    padding: 12px 45px 12px 12px;
    height: 100%;
    color: var(--dark-color);
    display: flex;
    width: 100%;
    text-decoration: none;
    border-bottom: 1px solid #E3E3E3;
}
.dynamic-posts .article-box h3{
    position: relative;
}
.dynamic-posts .article-box h3::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg width="8" height="16" viewBox="0 0 8 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.146447 0.646447C0.320013 0.47288 0.589437 0.453595 0.784306 0.588591L0.853553 0.646447L7.85355 7.64645C8.02712 7.82001 8.0464 8.08944 7.91141 8.28431L7.85355 8.35355L0.853553 15.3536C0.658291 15.5488 0.341709 15.5488 0.146447 15.3536C-0.0271197 15.18 -0.0464049 14.9106 0.0885912 14.7157L0.146447 14.6464L6.79296 8L0.146447 1.35355C-0.0271197 1.17999 -0.0464049 0.910563 0.0885912 0.715695L0.146447 0.646447Z" fill="%23333333"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0;
    vertical-align: middle;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.rtl .dynamic-posts .article-heading{
    padding: 12px 12px 12px 45px;
}
.rtl .dynamic-posts .article-heading::before {
    content: unset;
}
.rtl .dynamic-posts .article-box h3::before {
    content: "";
    position: absolute;
    width: 8px;
    height: 15px;
    background-image: url('data:image/svg+xml;utf8,<svg width="8" height="16" viewBox="0 0 8 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.146447 0.646447C0.320013 0.47288 0.589437 0.453595 0.784306 0.588591L0.853553 0.646447L7.85355 7.64645C8.02712 7.82001 8.0464 8.08944 7.91141 8.28431L7.85355 8.35355L0.853553 15.3536C0.658291 15.5488 0.341709 15.5488 0.146447 15.3536C-0.0271197 15.18 -0.0464049 14.9106 0.0885912 14.7157L0.146447 14.6464L6.79296 8L0.146447 1.35355C-0.0271197 1.17999 -0.0464049 0.910563 0.0885912 0.715695L0.146447 0.646447Z" fill="%23333333"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 0;
    vertical-align: middle;
    top: 50%;
    transform: translateY(-50%) scaleX(-1);;
    left: 20px;
    right: unset;
}
.dynamic-posts .no-posts-found .article-heading{
    padding: 0;
    border: unset;
}
.dynamic-posts .no-posts-found .article-heading::before{
    content: unset;
}

.faq-posts_inner h4 {
    margin: 0;
}

.faq-posts_inner h3 {
    margin: 0;
    position: relative;
}

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

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

.single-faq-main .ctm-faq-content h2,
.single-faq-main .ctm-faq-content h3,
.single-faq-main .ctm-faq-content h4,
.single-faq-main .ctm-faq-content h5,
.single-faq-main .ctm-faq-content h6 {
    margin-top: 0;
}

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

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

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

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

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

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

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

.ctm-faq-content img {
    height: 100%;
    object-fit: cover;
}

.ctm-faq-content .featured-image img {
    height: 488px;
    display: block;
}

.single-post .popular-posts-back-btn{
    display: inline-flex;
    width: 100%;
    margin-top: 32px;
    gap: 4px;
    justify-content: end;
}
.single-post .popular-posts-back-btn a{
    color: #3A307F;
    font-size: 14px;
    font-weight: 600;
    line-height: 24px;
}
.popular-posts-back-btn.mobile{
    display: none;
}
/* faq 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-faq-main .ctm-faq-content {
    padding-left: 20px;
    padding-right: 0;
    border-right: 0;
}

body.rtl .dynamic-posts .faq-filter, body.rtl .single-blog-main .article-sidebar{
    border-right: 0;
    padding-right: 0;
    border-left: 1px solid #E3E3E3;
    padding-left: 20px;
}

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

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

/* 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;
}

.ctm-faq-content{
    padding: 10px 0px 32px 0px;
    border-bottom: 1px solid #E3E3E3;
    margin-bottom: 32px;
}
.related-posts .title-big{
    color: #333333;
    padding-bottom: 24px;
}
/* All Hover Effect end */

@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 15px;
    }
}

@media (max-width:1024px) {
    .single-post .ctm-faq-content h1 {
        font-size: 32px;
        line-height: 48px;
    }

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

    .single-post .ctm-faq-content h3 {
        font-size: 26px;
        line-height: 34px;
    }

    .single-post .ctm-faq-content h4 {
        font-size: 22px;
        line-height: 32px;
    }

    .single-post .ctm-faq-content h5 {
        font-size: 19px;
        line-height: 32px;
    }

    .faq-posts_inner, .single-blog-main {
        grid-template-columns: 1fr;
    }

    .home .hero-banner-wrapper{
        display: none;
    }
    .hero-banner-wrapper .hero-img{
        padding-top: 56%;
    }

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

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

    .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 .faq-posts {
        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-faq-main {
        flex-direction: column;
    }

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

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

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

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

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

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

    .dynamic-posts .faq-filter, .single-blog-main .article-sidebar{
        display: none;
    }

    .chat-section {
        display: none;
    }
    .rtl .filter__inner .filter [type="checkbox"]:checked + label:after {
        margin: 0;
        top: 8px !important;
    }

    .rtl .filter label::before {
        margin: 0px;
        right: 0 !important;
        top: 4px !important;
    }

    /* 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("/faq/wp-content/themes/mf-faq/img/pf-filter-icon.svg");
        background-size: contain;
        background-repeat: no-repeat;
        width: 14px;
        height: 14px;
        position: absolute;
        margin-top: 3px;
        left: 23px;
    }
    
    .dynamic-posts {
        padding: 48px 0;
    }

}

@media (max-width:768px) {
    .newsletter-wrapper .newsletter-inner h2,
    .newsletter-wrapper .newsletter-inner p {
        text-align: left;
    }

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

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

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

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

    #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);
    }

    .ctm-faq-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 .ctm-faq-content h4 {
        font-size: 22px;
        line-height: 26px;
    }

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

    body.single-post .ctm-faq-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;
    }

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

    .email-subscription-form input#subscription_email {
        height: 46px !important;
    }
    .popular-posts-back-btn.desktop{
        display: none;
    }
    .popular-posts-back-btn.mobile{
        display: flex;
    }
}

@media (max-width:575px) {
    body{
        background-color: #fff;
    }

    .container-fluid {
        padding: 0 8px;
    }
    
    .hero-banner-wrapper{
        max-height: 100%;
    }

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

    .hero-banner-wrapper .hero-button{
        display: none;
    }

    .hero-banner-wrapper .container-fluid{
        top: unset;
        bottom: 0;
        transform: translate(-50%, 0%);
    }

    .hero-banner-wrapper::before{
        background: linear-gradient(0deg, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 0) 70%);
    }
    
    .newsletter-wrapper .section-pattern {
        right: 20px;
    }

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

    .mobile-menu {
        width: 100%;
    }

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

}