.case-main-title {
    margin-bottom: 15px;
}
.casestudy-hero-section:before {
    background: #FDF7F7 url(/wp-content/uploads/2023/08/Lines.png);
    content: "";
    width: 100%;
    height: 80%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
}
.case-main-title .main-head:before {
    width: 30px;
    height: 30px;
    position: absolute;
    content: "";
    background: url(/wp-content/uploads/2023/08/title-lt.svg) no-repeat;
    background-size: contain;
    left: -23px;
    top: -18px;
}
.case-main-title .main-head:after {
    content: "";
    width: 30px;
    height: 30px;
    background: url(/wp-content/uploads/2023/08/title-rt.svg) no-repeat center;
    background-size: contain;
    position: absolute;
    right: -23px;
    bottom: -8px;
}
.case-main-title .main-head span:before {
    width: 350px;
    content: "";
    background: url(/wp-content/uploads/2023/09/business-circle.svg) no-repeat center;
    background-size: contain;
    height: 100px;
    position: absolute;
    top: -28px;
    left: -20px;
}
.casestudy-hero-section {
    position: relative;
}
.all-type-job-title .main-title {
    display: inline-block;
}
.all-type-job-title .main-title:before {
    content: "";
    background: url(/wp-content/uploads/2023/08/Highlight-4.svg) no-repeat center;
    background-size: contain;
    width: 40px;
    height: 50px;
    position: absolute;
    left: -30px;
    top: -22px;
}
.all-type-job-title .main-title:after {
    content: "";
    background: url(/wp-content/uploads/2023/08/Highlight-5.svg) no-repeat center center;
    width: 30px;
    height: 40px;
    position: absolute;
    bottom: 0;
}
.all-type-job-title .main-title span:before {
    background: url(/wp-content/uploads/2023/08/all-type.svg) no-repeat center center;
    background-size: contain;
    width: 222px;
    height: 76px;
    position: absolute;
    left: -3px;
    content: "";
    top: -18px;
}
.case_first_post .casestudy-card {
    border-radius: 16px;
    border: 1.345px solid var(--button-shadow-stroke-color, #21152B);
    background: var(--Secondary, #795789);
    box-shadow: 2px 2px 0px 0px #21152B;
}


.rtl_card_wrap {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 30px;
    align-items: end;
}
.rtl-case-cont {
    background: #fff;
    border-radius: 8px;
    padding: 40px;
}
.rtl_card_right_wrap {
    padding: 8px;
}

.rtl-case-cont .rtl-logo-cate {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    align-items: center;
}
.rtal-logo {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ECEAFC;
    border-radius: 100%;
    padding: 5px;
}
.rtl-catagory a {
    background: #ECEAFC;
    font-size: 11px;
    color: #795789;
    padding: 10px 15px;
    border-radius: 4px;
    line-height: 1;
    text-transform: uppercase;
}
.rtl_card_content .sub-title a {
    color: #603D73;
}
.rtl_left_div {
    display: flex;
    gap: 10px;
}

.rtl-usp {
    display: inline-grid;
    gap: 50px;
    margin-bottom: 30px;
    grid-template-columns: 1fr 1fr;
}
.rtl_text_div p { color: #424242;  font-size: 14px;}
.case_first_post .rtl-case-cont {
    background: #fff url(/wp-content/uploads/2023/09/case.svg) no-repeat right bottom;
}
.rtl_read_more .button-link .vc_general.vc_btn3 {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

ul.category-dropdown li.active {
    background: #795789;
    color: #fff;
}

ul.category-dropdown li {
    color: #795789;
    background: #ECEAFC;
    font-weight: 600;
    padding: 15px 25px;
    line-height: 1;
    border-radius: 6px;
    cursor: pointer;
}
ul.category-dropdown {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    gap: 10px;
}

.rtl_card_wrap .rtl_thumbnail img {
    display: block;
}



/*listing section*/
.casestudy-card {
    border-radius: 8px;
    border: 1px solid #473E4C;
    background: #FFF;
    box-shadow: 4px 4px 0px 0px #473E4C;
}
.az_case_cat_div {
    margin-bottom: 100px;
}
div#results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    row-gap: 60px;
}
.casestudy-list-inner {
    padding: 25px;
}
.casestudy-card .casestudy-list-inner .rtl_thumbnail {
    border-radius: 8px;
    border: 1.1px solid #1C0742;
    margin-bottom: 30px;
    background: linear-gradient(1deg, rgba(203, 203, 230, 0.30) -4.83%, rgba(254, 225, 228, 0.30) 99.44%);
    display: flex;
    align-items: center;
    height: 260px;
    position: relative;
}
.casestudy-list-inner .rtl_cat_btn_div {
    border-top: 1px solid #ECEAFC;
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
}
.rtl_card_content .font-20 a {
    color: #603D73;
}
.rtl_cat_btn_div .rtl_read_more a {
    display: flex;
    color: #EA596A;
    align-items: center;
    gap: 3px;
}
.rtl_card_content .font-20 {
    margin-bottom: 20px;
    line-height: 1.4;
}

.rtl_thumbnail img {
    display: block;
}
.casestudy-thumb img {
    max-height: 310px;
    max-width: inherit;
    width: auto;
}
.casestudy-thumb {
    position: relative;
    margin-top: -50px;
}
.rtl_thumbnail .casestudy-logo {
    margin-left: auto;
    position: absolute;
    right: 40px;
}

.casestudy-list-inner .rtl_card_content {
    padding: 0 20px;
}
.case-slider .slider_first {
    margin-bottom: 30px;
}
.above-footer-lt {
    position: relative;
}
.contact-form-img img {
    display: block;
}
.rtl-usp-icon {
    display: flex;
    gap: 8px;
    padding-right: 20px;
}



/*pagination design*/
.pagination a.page-link {
    border-radius: 8px;
    border: 1.5px solid var(--button-shadow-stroke-color, #21152B);
    background: var(--surface-s-2-purple, #F4F1F9);
    box-shadow: 1px 1px 0px 0px #21152B;
    width: 32px;
    display: flex;
    height: 32px;
    align-items: center;
    font-size: 14px;
    justify-content: center;
    color: #424242;
}
.pagination {
    display: flex;
    gap: 8px;
}
.az_case_main_div {
    position: relative;
    padding-bottom: 70px;
}
.pagination {
    display: flex;
    gap: 8px;
    position: absolute;
    bottom: 0;
    width: 100%;
    justify-content: center;
}
.pagination a.page-link.disabled {
    pointer-events: none;
    position: relative;
    opacity: 0.5;
}
.pagination a.page-link.prev-class {
    margin-right: 15px;
}
.pagination a.page-link.next-class {
    margin-left: 15px;
}



@media only screen and (max-width: 1200px) {
    .case-main-title .main-head span:before {width: 290px; top: -33px; left: -17px; }
    .rtl_thumbnail .casestudy-logo img {max-width: 150px; }
    .casestudy-card .casestudy-list-inner .rtl_thumbnail{height: 200px;}
    .casestudy-thumb img { max-height: 250px;}
    div#results-container { gap: 30px; row-gap: 40px;}
    .all-type-job-title .main-title span:before { width: 185px; height: 66px; left: -3px;  top: -15px;}
    .az_case_cat_div {margin-bottom: 60px; }
    .post-slider-logos .slick-track .slick-slide img { max-width: 110px;}
.rtl-case-cont {  padding: 30px;}
.all-type-job-title .main-title:before { width: 25px; height: 40px; left: -20px; top: -18px;}



}

@media only screen and (max-width: 960px) {
.case-main-title .main-head span:before {width: 230px; top: -37px; left: -15px; }
.rtl_card_right_wrap .rtl-usp { gap: 20px;}
ul.category-dropdown li{padding: 15px 15px;font-size: 12px;flex-shrink: 0;  text-align: center;}
.all-type-job-title .main-title span:before {width: 145px; height: 56px;}
.casestudy-list-inner .rtl_card_content {padding: 0 0; }
.rtl-usp { gap: 0px;    margin-bottom: 20px;}
.casestudy-list-inner {padding: 20px; }
.casestudy-thumb img {max-height: 200px; }
.casestudy-card .casestudy-list-inner .rtl_thumbnail {height: 150px; }
.rtl_thumbnail .casestudy-logo img {max-width: 100px; }
.rtl_text_div p { font-size: 12px;}


}

@media only screen and (max-width: 767px) {
.case-main-title .main-head span:before {width: 180px; top: -11px; left: -10px; height: 50px; }
.rtl_card_wrap {gap: 0; grid-template-columns: 1fr; }
ul.category-dropdown {display: inline-flex;}
div#results-container {  grid-template-columns: 1fr;}
.all-type-job-title .main-title span:before {width: 105px; height: 36px; left: -4px; top: -9px; }
.rtl_text_div span { font-size: 16px;}
.rtl_card_right_wrap { padding-top: 0;}
.case_first_post .rtl-case-cont { background-size: 65px;}
.all-type-job-title .main-title:before {width: 15px; height: 30px; left: -12px; top: -13px; }
.all-type-job-title .main-title:after { width: 10px; height: 30px; bottom: -8px; background-size: contain;}
ul.category-dropdown li {padding: 12px 10px; font-size: 10px; flex-shrink: 0; text-align: center; width: 110px; text-transform: uppercase; }
.rtl_thumbnail .casestudy-logo {  right: 20px;}
.rtl_cat_btn_div .rtl_read_more a { font-size: 12px;}
.casestudy-card .casestudy-list-inner .rtl_thumbnail {height: 142px; margin-bottom: 15px; }
.casestudy-thumb img {max-height: 190px; }
.cat-filter-div {overflow: scroll; }
div#results-container {display: block; }
#results-container .casestudy-card {margin-bottom: 40px; }

.above-footer-lt { display: flex; align-items: center;}
.mobile-content p {font-size: 12px; padding-right: 20px; margin-bottom: 0; }


}


@media only screen and (max-width: 480px) {
.case-main-title .main-head span:before {width: 175px; top: -10px; left: -3px; height: 50px; }
.case-main-title .main-head:before {width: 20px; height: 20px; left: -15px; top: -12px;}
.case-main-title .main-head:after {width: 20px; height: 20px; right: -17px; bottom: -5px;}
.punch-line br {display: none; }
.rtl-case-cont {padding: 20px; }

.rtl_card_content p {font-size: 12px; }
.rtl_card_right_wrap .rtl-usp {gap: 0px; }
.post-type-archive-casestudies .container { padding: 0 20px;}


}





.main-head span {
    display: inline-block;
}