body {
    background: #1A1A1A;
}

.directions {
    margin: 0 0 100px;
}

.directions__breadcrumbs ol {
    display: flex;
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    list-style: none;
    padding: 0 40px;
    margin-bottom: 53px;
    cursor: default;
}

.directions__breadcrumbs a {
    transition: all .3s ease-in-out;
    text-decoration: none;
    color: inherit;
}

.directions__breadcrumbs a:after {
    content: '/';
    color: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
}

.directions__breadcrumbs a:hover {
    color: rgba(255, 255, 255, 1);
}

.direction__title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: relative;
    text-transform: uppercase;
}

.direction__title h1 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    color: #FFFFFF;
}

.direction__title span {
    position: absolute;
    top: -80px;
    left: 0;
    font-family: 'Jost';
    color: rgba(255, 255, 255, 0.03);
    font-size: 150px;
    pointer-events: none;
}

.directions__filter {
    padding: 0 20px;
    margin-top: 110px;
    overflow-x: auto;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.directions__filter::-webkit-scrollbar {
    display: none;
}

.directions__categories {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
    width: max-content;
}

.directions__category-item {
    width: 260px;
    flex-shrink: 0;
}

.directions__category {
    display: flex;
    width: 100%;
    height: 69px;
    background: #161616;
    border-radius: 20px 20px 0 0;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
    align-items: flex-start;
    padding: 16px 15px;
    position: relative;
    overflow: hidden;
    border: none;
}

.directions__category:hover {
    background: #1a1a1a;
    color: rgba(255, 255, 255, 0.7);
}

.directions__category--active {
    background: #212121;
    color: #FFFFFF;
}

.directions__category-text {
    font-size: 16px;
    font-weight: 400;
    text-transform: uppercase;
    width: 100%;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.directions__category-text br {
    display: none;
}
@media(max-width: 1840px){
    .directions__category-text {
        font-size: 14px;
    }
}

@media screen and (max-width: 1450px) {
    .directions__category-item {
        width: 230px;
    }
    .directions__category {
        height: 60px;
    }
    .direction__title span {
        font-size: 130px;
        top: -75px;
    }
}
@media screen and (max-width: 1200px) {
    .directions__filter {
        margin-top: 80px;
    }
    .direction__title span {
        font-size: 100px;
        top: -55px;
    }
    .direction__title h1 {
        font-size: 18px;
        font-weight: 600;
    }
    .directions__category-item {
        width: 200px;
    }
    .directions__category {
        height: 53px;
    }
}

@media(max-width: 768px){
    .directions__category-text br {
        display: flex;
    }
    .direction__title h1 {
        font-weight: 500;
    }

    .direction__title span {
        top: -30px;
        font-size: 60px;
        left: 10px;
    }
    .directions {
        margin: 0 0 60px;
    }

    .directions__breadcrumbs ol {
        padding: 0 15px;
        margin-bottom: 40px;
    }

    .direction__title {
        padding: 0 15px;
    }

    .directions__filter {
        margin-top: 60px;
        padding-left: 0;
        padding-right: 15px;
    }

    .directions__category-item {
        width: 160px;
    }

    .directions__category {
        height: 60px;
        padding: 15px;
    }

    .directions__category-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 360px) {
    .direction__title h1 {
        font-size: 16px;
    }

    .direction__title span {
        top: -25px;
        font-size: 50px;
    }
}