.case-studies-filter a {
    color: black;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2.38px;
    word-wrap: break-word;
    opacity: 0.5;
}

.case-studies-filter a:hover,
.case-studies-filter .active a {
    font-weight: 700;
    opacity: 1;
}

.case-studies-filter .active a {
    pointer-events: none;
}

.case-studies-filter .count {
    font-size: 12px;
    font-weight: 300;
}

.case-studies-filter a:hover {
    text-decoration: none;
}

.case-studies a:hover {
    text-decoration: none;
}

.case-studies-filter {
    /* margin-top: 70px; */
    position: relative;
    /* white-space: nowrap; */
}

.case-studies-filter li.active {
    position: relative;
}

@media (min-width: 992px) {
    .case-studies-filter {
        margin-top: 70px;
    }

    .case-studies-filter li {
        line-height: 19px;
        padding-left: 20px;
    }

    .case-studies-filter:before {
        content: "";
        display: block;
        width: 2px;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: black;
        opacity: 0.2;
    }

    .case-studies-filter li.active:before {
        content: "";
        display: block;
        width: 2px;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        background: black;
    }

    .case-studies-list {
        margin-top: 54px;
    }

    .case-studies-filter li + li {
        margin-top: 13px;
    }
}

@media (min-width: 1200px) {
    .case-studies .first {
        max-width: calc(100% - 83.643%);
        flex: 0 0 calc(100% - 83.643%);
    }

    .case-studies .last {
        max-width: 83.643%;
        flex: 0 0 83.643%;
    }
}

@media (max-width: 991px) {
    .case-studies-filter {
        height: 59px;
    }

    .case-studies-filter li + li {
        margin-left: 25px;
    }

    .case-studies-list {
        margin-top: 30px;
    }

    .case-studies .filters {
        overflow-x: auto;
    }

    .horizontal-line {
        border-top: 1px solid black;
        left: -150px;
        opacity: 0.2;
        position: relative;
        width: 1000px;
    }
}
