/* case-studies-listing */
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 40px;
}

.stats-container h5.stat-number {
    font-size: 44px;
    line-height: 38px;
}

.stats {
    padding: 19px 0 15px 0;
}

.stats p.stat-title {
    margin: 0 0;
    font-size: 14px;
}

.case-studies {
    padding: 58px 0;
    position: relative;
}

.case-studies h2 {
    margin-bottom: 67px;
}

.cs-filter {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin: -10px 0 46px 0;
}

.cs-filter-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
}

.cs-filter-label {
    font-weight: 500;
    min-width: 92px;
    text-align: left;
    flex: 0 0 auto;
}

/* Buttons live in their own horizontally-scrollable track, so the label is
   never overlapped. Edge fades (toggled by JS) hint that there's more. */
.cs-filter-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    flex: 1 1 auto;
    min-width: 0;
    overflow-x: auto;
    cursor: grab;
    user-select: none;
    scrollbar-width: none; /* Firefox */
}

.cs-filter-track::-webkit-scrollbar {
    display: none; /* drag/swipe to scroll instead */
}

.cs-filter-track.is-dragging {
    cursor: grabbing;
}

.cs-filter-track .cs-filter-btn {
    flex: 0 0 auto;
}

.cs-filter-track.fade-right {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent);
}

.cs-filter-track.fade-left {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent);
            mask-image: linear-gradient(to left, #000 calc(100% - 44px), transparent);
}

.cs-filter-track.fade-left.fade-right {
    -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent);
            mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent);
}

.cs-filter .cs-filter-btn {
    border-radius: 30px;
    border: 1px solid var(--black);
    background: var(--white);
    color: var(--black);
    font-size: 16px;
    line-height: 1;
    padding: 11px 22px;
    cursor: pointer;
    transition: all .25s ease-in-out;
}

.cs-filter .cs-filter-btn:hover {
    background: rgba(255, 237, 102, 0.40);
}

.cs-filter .cs-filter-btn.is-active {
    background: var(--yellow);
    border-color: var(--black);
    font-weight: 500;
}

.case-studies-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 26px;
    column-gap: 28px;
}

.single-case-study {
    border-radius: 4px;
    border: 0.5px solid var(--grey2);
    background: var(--white);
    box-shadow: 0 1px 14px 0 rgba(26, 26, 26, 0.06);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all .4s ease-in-out;
}

.single-case-study:hover {
    /* background: var(--yellow); */
    box-shadow: 7px 4px 7px 2px rgba(255, 242, 0, 0.06);
}

.single-case-study img {
    height: 209px;
    object-fit: cover;
    width: 100%;
    transition: all .3s ease-in-out;
}

.single-case-study img:hover {
    transform: scale(1.1);
}

.single-case-study h3 {
    font-size: 36px;
    line-height: 42px;
    margin-bottom: 0;
}

.single-case-study .single-case-wrap {
    padding: 20px 30px 34px 30px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.single-case-study .single-case-wrap p {
    margin: 0;
}

.single-case-study .single-case-wrap p.keywords {
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.single-case-study .single-case-wrap .keywords span {
    border-radius: 6px;
    border: 0.25px solid var(--black);
    background: rgba(255, 237, 102, 0.40);
    font-size: 14px;
    padding: 4px 10px;
}

.single-case-study .stat-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.single-case-study .stat-list .stat-item {
    border-radius: 4px;
    background: rgba(249, 250, 251, 0.90);
    padding: 8px;
    width: 31.33%;
    transition: all .3s ease-in-out;
}

/* .single-case-study:hover .stat-list .stat-item {
    background: var(--yellow2);
} */


.single-case-study .stat-list .stat-item h4 {
    font-size: 30px;
    margin-bottom: 0;
}

.single-case-study .stat-list .stat-item p {
    font-size: 14px;
    line-height: 20px;
}

.single-case-study .single-case-wrap a.btn-yellow {
    border-color: var(--black);
}

.p6 {
    left: -200px;
    top: 500px;
    animation: p6Move 50s linear infinite;
    height: 400px;
    width: 400px;
    position: absolute;
}

@keyframes p6Move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
    }
}

.p7,
.p7-a {
    position: absolute;
    bottom: 75px;
    left: -20px;
    animation: p7Move 50s linear infinite;
}

.p7-a {
    right: -20px;
    top: 50%;
    left: auto;
    animation: p7Move 50s linear infinite;
}

@keyframes p7Move {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-100px);
    }

    100% {
        transform: translateY(0);
    }
}

@media(max-width:1399px) {
    .single-case-study .stat-list .stat-item {
        width: 22%;
    }

    .single-case-study .stat-list .stat-item h4 {
        font-size: 20px;
    }

    .single-case-study .stat-list .stat-item p {
        font-size: 14px;
        line-height: 16px;
    }

    .single-case-study h3 {
        font-size: 30px;
        line-height: 32px;
    }
}

@media(max-width:992px) {

    .p6,
    .p7,
    .p7-a {
        display: none;
    }

    .stats-container {
        gap: 20px;
        flex-wrap: wrap;
        text-align: center;
    }

    .single-case-study .single-case-wrap {
        padding: 20px 10px 25px 10px;
        gap: 15px;
    }

    .stats-container h5.stat-number {
        font-size: 34px;
        line-height: 34px;
    }

    .case-studies h2 {
        margin-bottom: 37px;
    }

    .case-studies-wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .single-case-study .stat-list .stat-item {
        width: auto;
    }
}

@media(max-width:767px) {
    .stats-container {
        gap: 40px;
        row-gap: 30px;
    }

    .cs-filter {
        gap: 14px;
        margin: 0 0 30px 0;
    }

    .cs-filter-row {
        gap: 8px;
    }

    .cs-filter-track {
        gap: 8px;
    }

    .cs-filter-label {
        min-width: 64px;
        width: auto;
        text-align: left;
        margin: 0;
    }

    .cs-filter .cs-filter-btn {
        font-size: 14px;
        padding: 9px 16px;
    }

    .stats-container h5.stat-number {
        font-size: 30px;
        line-height: 26px;
    }
}
/* page-hero */
.page-hero {
    position: relative;
    background: url("https://lmh.agency/wp-content/themes/lmh-custom/library/images/hero-page-bg_.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    padding: 157px 0px 85px 0;
}

.page-hero h2 {
    font-size: 76px;
    line-height: 83px;
}

.page-hero .btn-yellow {
    margin-top: 38px;
}

.page-hero .title-text {
    color: var(--yellow);
    font-size: 24px;
    line-height: 30px;
    margin: 1em 0;
}

.page-hero h2 span {
    color: var(--yellow);
}

@media(max-width:992px) {
    .page-hero h2 {
        font-size: 46px;
        line-height: 53px;
    }
}

@media only screen and (max-width : 370px) {
    .page-hero h2 {
        font-size: 38px;
        line-height: 45px;
    }
}
/* testimonials */
.testimonials {
    padding: 81px 0;
}

.testimonials h2 {
    margin-bottom: 42px;
}


.testimonial-video-wrapper {
    width: 100%;
    height: 465px;
    object-fit: cover;
    position: relative;
}

.testimonial-video-wrapper img.video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-item {
    margin: 0 16px;
}

.testimonial-text {
    background: url("https://lmh.agency/wp-content/themes/lmh-custom/library/images/text-bg.svg") top left / cover no-repeat;
    padding: 80px 21px 30px 17px;
    border-bottom: 1.5px solid #BCBCBF;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: flex-start;
    filter: drop-shadow(0 1px 14px rgba(26, 26, 26, 0.06));
}

.testimonial-text .testimonial-auth {
    margin: 18px 0 0px 0;
    font-size: 23px;
    line-height: 28px;
    font-family: 'Radikal-Black', sans-serif !important;
}

.testimonial-text .testimonial-company {
    font-size: 18px;
    line-height: 23px;
}

.testimonial-text p {
    font-size: 13px;
    line-height: 18.352px;
    margin: 5px 0 12px 0;
}


.testimonial-video-wrapper .video-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.testimonial-video-wrapper .video-overlay .play-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    cursor: pointer;
}

p.testimonial-author {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    line-height: 38px;
    padding: 7px 8px 9px 8px;
    text-align: center;
}

.ctas {
    margin-top: 56px;
}

.ctas a {
    min-width: 336px;
    justify-content: center;
    margin: 16px auto 0 auto;
}

.testimonial-text .d-flex {
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.testimonial-text .d-flex span {
    font-size: 12px;
    font-weight: 600;
    line-height: 15.09px;
}

.industries .testimonials {
    padding-top: 0 !important;
}

@media only screen and (min-width : 992px) {
    .testimonial-text {
        min-height: 350px;
    }

    .testimonial-slider .slick-track {
        display: flex;
        align-items: center;
    }
}

@media only screen and (max-width : 992px) {

    .testimonial-slider .slick-list:before,
    .testimonial-slider .slick-list:after {
        display: none;
    }

    .testimonial-text {
        background: var(--black);
        padding: 15px 21px 30px 25px;
        margin-top: 50px;
        border-radius: 2.624px 2.624px 3.624px 44.613px;
    }

    .testimonial-text:before {
        position: absolute;
        content: '';
        width: 100%;
        height: 52px;
        background: url("https://lmh.agency/wp-content/themes/lmh-custom/library/images/text-bg-mobo.svg") left / contain repeat;
        top: -44px;
        left: 0;
    }

    .testimonial-text h5,
    .testimonial-text h6,
    .testimonial-text p,
    .testimonial-text span {
        color: var(--white);
    }

    .testimonial-text p {
        margin: 15px 0 10px 0;
    }

    .testimonial-text .testimonial-company {
        font-size: 16px;
        margin-top: 0;
    }

    .testimonial-text h5 {
        margin: 25px 0 7px 0;
        font-size: 23.619px;
        line-height: 20.994px;
    }

    .testimonial-text h6 {
        font-size: 14px;
    }

    .testimonial-text a.read-more,
    .testimonial-text a.read-more span {
        color: var(--yellow);
    }

    .testimonial-text a.read-more svg path {
        fill: var(--yellow);
    }

    .testimonial-video-wrapper .video-overlay .play-btn {
        height: 90%;
    }

    .testimonial-video-wrapper .video-overlay .play-btn img {
        width: 80px;
    }

    .testimonial-text .post-on {
        position: absolute;
        right: 10px;
        bottom: 11px;
    }
}

@media only screen and (max-width : 650px) {
    .testimonial-video-wrapper {
        height: 365px;
    }

    p.testimonial-author {
        font-size: 22px;
    }
}
