.case-study-listing {
    width: 100%;
}
.case-study-filters {
    display: flex;
    /* display: none; */
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}
.case-study-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 24px;
    border-radius: 30px;
    background: #f3f3f2;
    color: #151515;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none !important;
    transition: all 0.25s ease;
}
.case-study-filter:hover {
    background: #e7e7e5;
    color: #151515;
}
.case-study-filter.active {
    background: #d47b25;
    color: #ffffff;
}
.case-study-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.case-study-card {
    overflow: hidden;
    background: #f8f1e9;
    border-radius: 20px;
}
.case-study-image-wrapper {
    position: relative;
    margin: 20px 20px 0;
}
.case-study-image-link {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}
.case-study-image-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.case-study-image-link:hover img {
    transform: scale(1.03);
}
.case-study-category {
    position: absolute;
    top: -1px;
    left: 10px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 14px;
    border-radius: 20px;
    background: #bd823e;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
}
.case-study-content {
    padding: 16px 20px 22px;
}
.case-study-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.05;
}
.case-study-title a {
    color: #161616;
    text-decoration: none;
}
.case-study-title a:hover {
    color: #bd823e;
}
.case-study-excerpt {
    margin-bottom: 15px;
    color: #5e5e5e;
    font-size: 14px;
    line-height: 1.3;
}
.case-study-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding: 0;
}
.case-study-meta li {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #000;
    font-size: 12px;
    line-height: 1.2;
    list-style: none!important;
    font-weight: 500;
}
.case-study-meta li img {
    max-width: 18px;
}
.case-study-read-more {
    display: inline-block;
    color: #bd823e;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}
.case-study-read-more:hover {
    color: #8f5c28;
}
.case-study-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}
.case-study-pagination ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.case-study-pagination li {
    margin: 0;
    padding: 0;
}
.case-study-pagination a,
.case-study-pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f4f4f3;
    color: #161616;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
}
.case-study-pagination a:hover {
    background: #e8e8e6;
}
.case-study-pagination .current {
    background: #bd823e;
    color: #ffffff;
}
.case-study-pagination .prev,
.case-study-pagination .next {
    font-size: 24px;
    font-weight: 400;
}
.case-study-no-results {
    padding: 50px 20px;
    text-align: center;
}
.case-study-no-results p {
    margin: 0;
    color: #555555;
}
.case-study-listing.is-loading {
    position: relative;
}
.case-study-results {
    transition: opacity 0.2s ease;
}
span.cs-categories {
    background: #ba8348;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    padding: 2px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 10px;
}
.tax-cs-categories .tm-titlebar-wrapper-bg-layer.tm-bg-layer,
.single-case-studies .tm-titlebar-wrapper-bg-layer.tm-bg-layer{
    display: none;
}
.tax-cs-categories .tm-titlebar-wrapper .tm-titlebar-inner-wrapper, 
.single-case-studies .tm-titlebar-wrapper .tm-titlebar-inner-wrapper {
    height: auto;
    margin: 30px 0 0;
}
.tax-cs-categories .tm-titlebar-wrapper .tm-titlebar-inner-wrapper .entry-title, .single-case-studies .tm-titlebar-wrapper .tm-titlebar-inner-wrapper .entry-title {
    font-size: 30px;
    text-transform: none;
    font-family: 'Open Sans',sans-serif;
    text-decoration: none!important;
    letter-spacing: 0!important;
}
.tax-cs-categories .tm-titlebar-wrapper.tm-bg.tm-bgcolor-darkgrey.tm-titlebar-align-left.tm-textcolor-white.tm-bgimage-no, 
.single-case-studies .tm-titlebar-wrapper.tm-bg.tm-bgcolor-darkgrey.tm-titlebar-align-left.tm-textcolor-white.tm-bgimage-no {
    background: none;
}
.tax-cs-categories .tm-titlebar-wrapper .tm-titlebar-inner-wrapper .entry-title,
.single-case-studies .tm-titlebar-wrapper .tm-titlebar-inner-wrapper .entry-title {
    color: #fff !important;
}
.single-case-studies .entry-content p, .single-case-studies .entry-title {
    margin-bottom: 15px;
}
.single-case-studies h4{
    font-weight: 700;
}
.single-case-studies h5{
    font-weight: 600;
}
.single-case-studies .entry-content a {
    color: rgb(112, 139, 58);
    text-decoration: underline;
    transition: 0.3s;
    font-weight: 600;
}
.single-case-studies .entry-content a:hover {
    color: rgb(125, 43, 0);
}
.single-case-studies aside#categories-5 {
    display: none;
}
/* Hide all breadcrumb content by default */
.single-case-studies .breadcrumbs .container {
    font-size: 0;
}
/* Show Home */
.single-case-studies .breadcrumbs .container .home {
    display: inline-block;
    font-size: 16px;
    text-decoration: none;
}
/* Show only the current Case Study title */
.single-case-studies .breadcrumbs .container .current-item {
    display: inline-block;
    font-size: 16px;
}
/* Add separator before the Case Study title */
.single-case-studies .breadcrumbs .container .current-item::before {
    content: " → ";
    display: inline-block;
    margin: 0 8px;
}
/* Make sure all tag breadcrumb items are hidden */
.single-case-studies .breadcrumbs .container .post_tag {
    display: none !important;
}
/* Hide the separator that comes before the current title */
.single-case-studies .breadcrumbs .container .post_tag + .tm-bread-sep {
    display: none !important;
}
.menu-item-type-custom.menu-item-has-children > a:before {
    font-family: "FontAwesome";
    font-style: normal;
    font-weight: normal;
    speak: none;
    display: inline-block;
    text-decoration: inherit;
    text-align: center;
    opacity: .8;
    font-variant: normal;
    text-transform: none;
    font-size: 15px;
    content: "\f107";
    position: absolute;
    background-color: transparent;
    right: -15px;
    top: 1px;
    margin: 0;
}
.menu-item-type-custom.menu-item-has-children:hover > a:before {
    content: "\f106";
}
@media (min-width: 1201px) {
    .tm-main-menu-more-than-six #site-header-menu #site-navigation div.nav-menu > ul > li > a {
        margin: 0px 15px 0px 15px !important;
    }
}
@media(max-width: 1200px){
    .menu-item-type-custom.menu-item-has-children > a:before{
        display: none;
    }
}
@media (max-width: 991px) {
    .case-study-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .case-study-filters {
        gap: 8px;
        margin-bottom: 30px;
    }
    .case-study-filter {
        padding: 0 18px;
        font-size: 13px;
    }
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .case-study-image-wrapper {
        margin: 15px 15px 0;
    }
    .case-study-content {
        padding: 15px 15px 20px;
    }
    .case-study-title {
        font-size: 19px;
    }
    .case-study-meta {
        gap: 8px;
    }
    .tax-cs-categories .tm-titlebar-wrapper .tm-titlebar-main .entry-title-wrapper,
    .single-case-studies .tm-titlebar-wrapper .tm-titlebar-main .entry-title-wrapper {
        visibility: visible;
    }
    .tax-cs-categories .tm-titlebar-wrapper .tm-titlebar-inner-wrapper h1.entry-title,
    .single-case-studies .tm-titlebar-wrapper .tm-titlebar-inner-wrapper h1.entry-title {
        font-size: 24px;
        line-height: 30px;
    }
}