.filter-buttons {
    display: flex;
    justify-content: center;
    padding: 30px 0;
}
.filter-buttons .btn-filter {
    background-color: var(--brown);
    border-radius: 30px;
    color: #efab17;
    border: none;
    width: 175px;
    font-size: 20px;
    line-height: 25px;
    font-family: 'iCiel Pony';
    cursor: pointer;
    margin: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 0;
}
.filter-buttons .btn-filter a {
    color: #efab17;
}
.filter-buttons .btn-filter.active {
    background-color: var(--orange);
    color: var(--brown);
}

.filter-buttons .btn-filter:hover {
    background-color: var(--orange);
    color: var(--brown);
    transition: all 0.3s;
}
.filter-buttons .btn-filter:hover a {
    color: var(--brown);
}
.filter-posts {
}
.filter-posts .post {
    padding-top: 15px;
    word-wrap: break-word;
    word-break: break-word;
}
.filter-posts .post .post__info {
    text-align: left;
    padding-left: 30px;
    flex-direction: column;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.filter-posts .post .post__info > * {
    margin: 0;
    width: 100%;
}
.filter-posts .post .post__info .title {
    font-size: 36px;
    line-height: 40px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: pre-wrap;
}
.title-desktop {
    flex-direction: column;
}
.title-mobile {
    display: none;
}

.filter-posts .subs--mobile {
    display: none;
}

.filter-posts .subs--desktop {
    display: flex;
}

.filter-posts .box {
    margin: 30px 0;
}
.filter-posts .box:not(:last-child) {
    border-bottom: 1px solid var(--orange);
}
.page {
    text-align: center;
    margin-top: 20px;
}
.page span {
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid var(--orange);
    padding: 5px 12px;
    width: 38px;
}
.page span.active-page {
    background: var(--orange);
    color: #fff;
}

/* pagination */
.pagination {
    display: flex;
    justify-content: center;
    font-size: 19px;
    font-weight: bold;
    align-items: center;
    margin: 50px 0;
}
.pagination input[type='number'] {
    width: 100px;
    border: solid 3px var(--orange);
    border-radius: 50px;
    padding: 5px 10px;
    text-align: center;
    font-size: 19px;
    color: var(--brown);
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type='number'] {
    -moz-appearance: textfield;
}
.pagination .pag-ctrl {
    background: url('../images/ic-next.png') no-repeat;
    height: 30px;
    width: 30px;
    background-size: contain;
    margin: 0 5px;
    cursor: pointer;
    opacity: 0.7;
}
.pagination .pag-ctrl.enabled:hover {
    background: url('../images/ic-next-filled.png') no-repeat;
    background-size: contain;
    transition: all 0.3s;
    opacity: 1;
}
.pagination .pag-prev {
    transform: rotate(180deg);
}
.pagination .pag-ctrl.enabled {
    opacity: 1;
}
.pagination p {
    margin: 0;
}
.justify-space-between {
    display: flex;
    justify-content: space-between;
}

@media screen and (max-width: 1023px) {
    .post--main {
        flex-direction: column;
    }
    .post--main > div {
        width: 100%;
    }
    .post--main .post__info .author {
        font-size: 25px;
        line-height: 54px;
        font-weight: bold;
    }
    .post--main .post__info .title a {
        font-size: 50px;
        line-height: 54px;
        font-weight: bold;
    }
    .post--main .content {
        font-size: 24px;
        line-height: 33px;
    }
    .top-info .medium-number {
        font-size: 63px;
    }
    .top-info-child .line {
        font-size: 16px;
    }
    .category .category__title {
        font-size: 21px;
        line-height: 21px;
        height: 40px;
    }
    .filter-buttons .btn-filter {
        font-size: 17px;
        line-height: 21px;
    }
    .filter-posts .post .post__info .title {
        font-size: 27px;
        line-height: 31px;
    }
    .filter-posts .post .content {
        font-size: 14px;
        line-height: 17px;
    }
    .filter-post__image {
        width: 40%;
    }
    .filter-post__content {
        width: 60%;
    }
}
@media screen and (max-width: 767px) {
    .post--main .post__info .author {
        font-size: 16px;
        line-height: 26px;
    }
    .top-info .medium-number {
        font-size: 36px;
    }
    .filter-post__image {
        width: 40% !important;
    }
    .filter-post__content {
        width: 60% !important;
    }
}
