.casesSection {
    padding: 80px 120px 0;
}

.casesSection__heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 140px;
}

.casesIndustriesList {
    margin: 0;
    padding: 0;
    display: flex;
    list-style-type: none;
    font-size: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: bold;
}

.casesIndustriesList__item {
    margin-right: 24px;
    color: var(--font-gray);
    cursor: pointer;
    transition: all .3s;
}

.casesIndustriesList__item:hover {
    color: var(--color-font-primary-default);
}

.casesIndustriesList__item.current {
    color: var(--color-font-primary-default);
    border-bottom: 2px solid #3C3C46;
    padding-bottom: 2px;
}

.casesIndustriesOptions__wrapper {
    position: relative;
    display: none;
}
.page-template-page-with-pagination .casesIndustriesOptions__wrapper {
    display: block;
}
.casesIndustriesOptions {
    background: none;
    width: 100%;
    padding: 11px 16px;
    appearance: none;
    font-family: 'Space Grotesk', sans-serif;
}

.casesIndustriesOptions__checkmark {
    position: absolute;
    top: 30%;
    right: 18px;
    transform: rotate(-45deg);
    width: 15px;
    height: 15px;
    border-left: 3px solid var(--open-close-arrow-colour);
    border-bottom: 3px solid var(--open-close-arrow-colour);
}

.casesSection__body {
    margin-bottom: 100px;
    padding: 0 80px;
}

.caseBlocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 67px;
    column-gap: 40px;
}
.archive-wrapper.caseBlocks {
    gap: 32px;
}

.caseBlock {
    box-shadow: rgba(2, 0, 20, 0.25) 0px 1px 4px 0px;
    border-radius: 20px;
    overflow: visible;
    font-family: "Inter";
}

.caseBlock__content {
    padding: 16px;
    height: calc(100% - 300px);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 20px;
}

.caseBlock__imgWrapper {
    height: 300px;
    position: relative;
    background: rgba(241, 241, 243, 1);
    border-radius: 20px 20px 0 0;
}

.caseBlock__logoWrapper {
    position: absolute;
    background-color: #fff;
    /* margin: 25px; */
    top: 20px;
    left: 25px;
    width: 110px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
}

.caseBlock_img {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 20px 20px 0 0;
}

.caseBlock__industryLabel {
    display: inline-block;
    width: fit-content;
    margin-bottom: 24px;
    padding: 8px 16px;
    border-radius: 30px;
    background: var(--color-background-danger-lighter);
    font-weight: bold;
    color: var(--label-colour);
}
.caseBlock__industryLabel a {
  color: var(--label-colour);
  text-decoration: none;
}

.caseBlock__title {
    margin-bottom: 16px;
    color: var(--color-font-primary-default);
    font-size: 20px;
    font-weight: bold;
}

.caseBlock__description {
    margin-bottom: 30px;
}

.caseBlock__featuresList {
    list-style-position: inside;
    margin: 0;
    padding-left: 10px;
    color: var(--font-gray);
}

.caseBlock__feature {
    margin-bottom: 5px;
}

.caseBlock__btn {
    width: fit-content;
    margin-top: auto;
}

.casesPagination a,
.casesPagination span {
    text-decoration: none;
    display: inline-block;
    min-width: 32px;
    line-height: 32px;
    color: var(--font-gray);
    text-align: center;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    font-family: 'Space Grotesk', sans-serif;
}

.casesPagination span.current {
    background: #E5ECFF;
    color: var(--color-font-primary-default);
}

.casesSection__footer {
    margin-bottom: 50px;
}

.casesSection__footerPagination {
    text-align: right;
}

@media (max-width: 1400px) {
    .casesSection__body {
        padding: 0 40px;
    }
}

@media (max-width: 1200px) {
    .casesSection {
        padding: 70px 50px 0;
    }

    .casesSection__body {
        padding: 0;
    }
}

@media (max-width: 992px) {
    .casesSection__heading {
        flex-direction: column;
        margin-bottom: 100px;
    }

    .casesPagination {
        text-align: center;
    }

    .casesSection__filters {
        margin-bottom: 60px;
    }

    .casesIndustriesList__item {
        margin-right: 20px;
    }

    .caseBlocks {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .casesIndustriesList__item {
        display: none;
    }

    .casesSection__filters {
        width: 100%;
        padding: 0 10px;
    }

    .casesIndustriesOptions__wrapper {
        display: block;
    }

    .caseBlocks {
        grid-template-columns: repeat(1, 1fr);
    }
}

@media (max-width: 576px) {
    .casesSection {
        padding: 50px 24px 0;
    }

    .casesPagination a,
    .casesPagination span {
        width: 27px;
        height: 27px;
        min-width: 27px;
        line-height: 27px;
        font-size: 13px;
    }
}




/* ARCHIVE CARDS */
.tags-date {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* .tags-date .post-tags {
    display: flex;
    flex-direction: column;
} */
.tags-date .caseBlock__industryLabel {
    display: block;
    margin-bottom: 10px;
}

.tags-date .posted-on {
    display: inline-block;
    text-align: right;
    margin-bottom: 24px;
    font-family: Space Grotesk;
    font-size: 16px;
    line-height: 25px;
}

.archive-wrapper .caseBlock__title {
    font-family: Inter;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    color: #020014;
    margin-bottom: 2rem;
}

.caseBlock .post-author {
    font-family: Inter;
    font-size: 14px;
    font-weight: 700;
    line-height: 28px;
    text-align: left;
    color: #64636E;
    margin-top: -20px;
    margin-bottom: 1rem;
}

.archive-wrapper .caseBlock__description {
    font-family: Space Grotesk;
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    color: rgba(100, 99, 110, 1);
}
.archive-wrapper .card-btns {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.office.caseBlock {
    width: 320px;
    margin: auto;
    background-color: #fff;
}
.office .caseBlock__imgWrapper {
    height: 308px;
}
.office .caseBlock__title {
    font-size: 24px;
    margin-bottom: 16px;
}
.office .caseBlock__title {
    font-family: 'Space Grotesk', sans-serif;
}