.case-study {
    background-color: #fff;
}
.case-study section.page-section {
    --page-section-padding-tb: 5rem;
}
@media screen and (max-width: 768px) {
    .case-study section.page-section {
        --page-section-padding-tb: 2.5rem;
        --page-section-padding-lr: 1.5rem;
    }
}
.case-study section.page-section .single-case-study {
    display: flex;
    justify-content: space-between;
}
.case-study section.hero.hero-layout__hero img.hero__img {
    opacity: 1;
    -o-object-fit: cover;
       object-fit: cover;
}
.case-study section.hero.hero-layout__hero .hero-txt h1,
.case-study section.hero.hero-layout__hero .hero-txt h1.hero-txt__title {
    margin-top: 0;
    margin-bottom: 0;
}
.case-study section.hero.hero-layout__hero .hero-txt p.hero-txt__location {
    margin-top: 0.5rem;
    margin-bottom: 0;
    font-size: 1.5rem;
}
@media screen and (max-width: 768px) {
    .case-study section.hero.hero-layout__hero {
        --min-height: 40vh;
        width: 100%;
        height: var(--min-height);
    }
    .case-study section.hero.hero-layout__hero img.hero__img {
        min-height: var(--min-height);
        height: 100%;
        width: 100%;
        display: block;
    }
    .case-study section.hero.hero-layout__hero .hero-txt {
        padding: 1rem;
    }
    .case-study section.hero.hero-layout__hero .hero-txt h1,
.case-study section.hero.hero-layout__hero .hero-txt h1.hero-txt__title {
        text-align: left;
        font-size: 1.25rem;
        line-height: 1.2;
        margin: 0;
    }
    .case-study section.hero.hero-layout__hero .hero-txt p.hero-txt__location {
        font-size: 1rem;
        text-align: left;
        padding-left: 0;
        margin-top: 0.5rem;
        margin-bottom: 0;
    }
}

.mdigi-case-study-single .case-study-content__left {
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
}
.mdigi-case-study-single .case-study-content__left .project-meta {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}
.mdigi-case-study-single .case-study-content__left .project-meta.location {
    color: #000;
}
.mdigi-case-study-single .case-study-content__left h2 {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}
@media screen and (max-width: 768px) {
    .mdigi-case-study-single .case-study-content__left h2 {
        margin-top: 1.5rem;
        margin-bottom: 0.25rem;
        display: block;
    }
}
.mdigi-case-study-single .case-study-content__left h2::first-child {
    margin-top: 0;
}
.mdigi-case-study-single .case-study-content__left h2.margin-top-0 {
    margin-top: 0;
}
.mdigi-case-study-single .case-study-content__left h3 {
    margin-bottom: 0.5rem;
}
.mdigi-case-study-single .case-study-content__left a {
    color: inherit;
}
.mdigi-case-study-single .case-study-content__left p {
    margin-bottom: 1rem;
}
.mdigi-case-study-single .case-study-content__left p:last-child {
    margin-bottom: 0;
}
@media screen and (max-width: 768px) {
    .mdigi-case-study-single .case-study-content__left div.wp-block-image:first-child {
        display: none;
    }
}
.mdigi-case-study-single .case-study-content__left ul {
    list-style: square;
    list-style-position: outside;
    margin-left: 0.5rem;
    padding-left: 1rem;
    margin-bottom: 1rem;
}
.mdigi-case-study-single .case-study-content__left ul:last-child {
    margin-bottom: 0;
}
.mdigi-case-study-single .case-study-content__left ul li {
    margin-bottom: 0.75rem;
}
.mdigi-case-study-single .case-study-content__left ul li::marker {
    color: var(--brand-color);
}
.mdigi-case-study-single .case-study-content__left ul li:last-child {
    margin-bottom: 0;
}
.mdigi-case-study-single .case-study-content__right {
    width: calc(50% - 2rem);
}
.mdigi-case-study-single .case-study-content__right img.project-image {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
}
.mdigi-case-study-single .case-study-content__right img.project-image:last-child {
    margin-bottom: 0;
}
.mdigi-case-study-single .review-item {
    margin-top: 2rem;
    background-color: #e9e9f0;
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: flex-end;
    align-content: flex-end;
}
.mdigi-case-study-single .review-item img.review-stars {
    max-width: 8rem;
    margin: 0 0 1rem;
}
.mdigi-case-study-single .review-item p.review-author {
    display: flex;
    align-items: center;
    align-content: center;
    position: relative;
    padding-left: 3.5rem;
    width: 100%;
    margin: 1rem 0 0rem;
    font-weight: bold;
    --icon-size: 2.5rem;
}
.mdigi-case-study-single .review-item p.review-author::before {
    content: attr(data-letter);
    position: absolute;
    left: 0;
    top: 50%;
    width: var(--icon-size);
    height: var(--icon-size);
    line-height: var(--icon-size);
    transform: translate(0, -50%);
    background-color: #454554;
    color: #fff;
    text-align: center;
    border-radius: 50%;
    font-weight: normal;
    font-size: 1.25rem;
}

.mdigi-case-study-archive .mdigi-grid {
    padding: 5rem 0;
    width: 100%;
    max-width: 56rem;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .mdigi-case-study-archive .mdigi-grid {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }
}
.mdigi-case-study-archive .mdigi-card {
    max-width: 100%;
    margin: 0 auto;
}
@media screen and (max-width: 768px) {
    .mdigi-case-study-archive .mdigi-card {
        margin-left: 2rem;
        margin-right: 2rem;
    }
}
.mdigi-case-study-archive .mdigi-card + .mdigi-card {
    margin-top: 4rem;
}
.mdigi-case-study-archive .mdigi-card > a {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
.mdigi-case-study-archive .mdigi-card > a div {
    width: calc(50% - 1rem);
}
.mdigi-case-study-archive .mdigi-card > a:hover .btn {
    background-color: #393946;
    color: #fff;
}
@media screen and (max-width: 768px) {
    .mdigi-case-study-archive .mdigi-card > a {
        flex-direction: column;
    }
    .mdigi-case-study-archive .mdigi-card > a img {
        margin-bottom: 0.5rem;
    }
    .mdigi-case-study-archive .mdigi-card > a div {
        width: 100%;
    }
}

.site-main.case-study.mdigi-case-study-single section.hero.hero-layout__hero .hero__content {
    grid-template-areas: none;
}
.site-main.case-study.mdigi-case-study-single section.hero.hero-layout__hero .hero__content .hero-txt {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}
@media screen and (max-width: 768px) {
    .site-main.case-study.mdigi-case-study-single section.hero.hero-layout__hero .hero__content .hero-txt {
        padding-top: 1rem;
        padding-bottom: 1rem;
    }
}