.wrapper {
    position: relative;
    background: var(--primary);
}

.container {
    padding: 3rem 1rem 3rem 1rem;
    margin-left: 110px;
}

.case-heading {
    color: var(--text);
}

.case-heading h1 {
    font-size: 10vw;
    line-height: 8vw;
    text-transform: uppercase;
    font-family: 'Deutschlander 2.0';
}

.case-heading h3 {
    font-size: 3vw;
    line-height: 3vw;
    margin-top: 2vw;
    margin-bottom: 4vw;
    max-width: 900px;
}

.case-types-row {
    max-width: 900px;
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;
    display: flex;
    color: var(--text);
}

.case-types-col {
    font-family: 'Manrope';
    max-width: 300px;
}

.case-types-col:nth-child(3) {
    max-width: 450px;
}

.case-types-col .types-title {
    font-size: 20px;
    font-weight: bold;
}

.case-types-col .type-content {
    font-size: 20px;
}

.hero-image-wrapper {
    height: 900px;
    z-index: 1;
    width: 100%;
    min-height: auto;
    position: relative;
    top: auto;
    overflow: hidden;
}

.hero-image-wrapper::before {
    content: "";
    background-color: rgba(0, 0, 0, 0.1);
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 2;
    transform: translate3d(0px, -85.66px, 0px) scale3d(1.08566, 1.08566, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
}
.inner-hero-image.retail {
    background-image: url(../images/case-study/full/case-img-4.webp);
}
.inner-hero-image.mfg {
    background-image: url(../images/case-study/full/case-img-3.webp);
}
.inner-hero-image.it {
    background-image: url(../images/case-study/full/case-img-5.webp);
}

.inner-hero-image {
    will-change: transform;
    transform: translate3d(0px, -85.66px, 0px) scale3d(1.08566, 1.08566, 1) rotateX(0deg) rotateY(0deg) rotateZ(0deg) skew(0deg, 0deg);
    transform-style: preserve-3d;
    width: 100%;
    height: 100%;
    min-height: auto;
    object-fit: fill;
    background-position: 50%;
    background-size: cover;
    display: block;
    position: relative;
}

.work-wrapper {
    overflow: hidden;
    color: var(--text);
}

.work-wrapper {
    max-width: 2500px;
    margin-left: 110px;
    margin-right: auto;
    padding-bottom: 4em;
    padding-left: 5vw;
    padding-right: 5vw;
}

.work-contents {
    max-width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 60px;
}

.work-contents h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.work-inner-content h4 {
    font-size: 20px;
    /* text-transform: uppercase; */
    margin-bottom: 10px;
    font-family: 'Manrope';
    font-weight: bold;
}

.work-inner-content p {
    font-size: 18px;
    font-family: 'Manrope';
    line-height: 26px;
}

.work-inner-content {
    margin-bottom: 30px;
}

.work-box {
    background: #a9d8d8;
    padding: 30px;
    border-radius: 20px;
}

.work-box p {
    font-size: 24px;
    letter-spacing: .2px;
    color: var(--dark);
}

.case-study-section {
    background-color: white;
    padding: 2rem 3rem;
}

.case-study-breadcrumbs {
    border-bottom: 1px solid var(--text);
    color: var(--text);
    padding-bottom: .6rem;
}

.case-study-breadcrumbs p {
    font-size: .6rem;
    font-family: 'Manrope';
}

.case-study-layout {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-rows: auto;
    grid-template-columns: .5fr 1fr;
    grid-auto-columns: 1fr;
    padding-top: 8em;
    display: grid;
    align-items: flex-start;
    color: var(--text);
}

.case-study-info {
    grid-row-gap: 16px;
    flex-direction: column;
    flex: 0 auto;
    margin-top: 0;
    display: flex;
}

.case-study-person-info {
    /* grid-row-gap: 16px; */
    flex-direction: column;
    align-self: flex-start;
    align-items: flex-start;
    display: flex;
}

.case-study-heading {
    font-size: 4em;
}

.case-study-paragraph {
    font-size: .8em;
    font-family: 'Manrope';
}

.collection-list-wrapper {
    overflow: hidden;
}

.case-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.case-study-text {
    min-height: auto;
    grid-column-gap: 0px;
    flex-direction: column;
    padding-top: 1em;
    display: flex;
}

.case-study-title {
    color: var(--text);
    font-size: 26px;
    line-height: 24px;
}

.case-study-type-of-work {
    color: var(--text);
    font-family: 'Manrope';
    /* font-style: italic; */
    font-size: 16px;
    line-height: 24px;
    margin-top: 4px;
}

.case-study-btn {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.btn-wrap .prev-btn {
    margin-right: 20px;
}

.btn-wrap button {
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: ease-in-out;
}

.btn-wrap svg {
    width: 2em;
    color: var(--text);
}

.btn-wrap .next-btn {
    margin-left: 20px;
}

.btn-wrap button {
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: ease-in-out;
}

.case-study-breadcrumbs p {
    font-size: 2rem;
}

.owl-stage {
    margin: 0 auto;
}

.case-study-layout {
    padding-top: 4em;
    display: block;
}

.case-study-section .owl-carousel .owl-item img {
    height: 400px;
}

.case-study-paragraph {
    font-size: 1.8em;
    font-family: 'Manrope';
    line-height: 1.2em;
    margin-bottom: 30px;
}

.case-study-heading {
    font-size: 6em;
}
.case-study-section .owl-carousel .owl-item img {
    height: auto;
}
/*.owl-carousel.owl-drag .owl-item:last-child{*/
/*	margin-right:0!important;*/
/*}*/
@media screen and (max-width: 767px) {
    .container {
        padding: 120px 30px 60px;
        margin-left: 0;
    }
    .case-heading h1 {
        font-size: 24vw;
        line-height: 20vw;
    }
    .case-heading h3 {
        font-size: 10vw;
        line-height: 12vw;
    }
    .case-study-title,
    .case-study-type-of-work {
        text-align: center;
    }
    .case-study-title {
        font-size: 30px;
        line-height: 36px;
    }
    .case-study-type-of-work {
        font-size: 14px;
        line-height: 18px;
    }
    
    .work-wrapper {
        margin-left: 0;
    }
    .work-contents {
        margin: 0;
        max-width: 100%;
    }
    .case-study-section .owl-carousel .owl-item img {
        height: unset;
    }
    .case-study-title,
    .case-study-type-of-work {
        text-align: center;
    }
    .case-study-title {
        font-size: 30px;
        line-height: 36px;
    }
    .case-study-type-of-work {
        font-size: 14px;
        line-height: 18px;
    }
    .hero-image-wrapper {
    height: 300px;
    }
}