.reviews-page {
    width: min(1160px, calc(100% - 40px));
    margin: 0 auto;
    padding: 45px 0 90px;
}

.reviews-header {
    max-width: 780px;
    margin-bottom: 46px;
}

.reviews-header > span {
    color: #737984;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.reviews-header h1 {
    margin: 12px 0 16px;
    font-size: clamp(38px, 7vw, 64px);
    letter-spacing: -.055em;
    line-height: 1.05;
}

.reviews-header p {
    margin: 0;
    color: #667085;
    font-size: 17px;
    line-height: 1.7;
}

.reviews-filters {
    display: grid;
    grid-template-columns: minmax(240px, 1.6fr) repeat(3, minmax(145px, .7fr)) auto;
    gap: 12px;
    margin-bottom: 24px;
    padding: 18px;
    align-items: end;
    border: 1px solid #e2e6eb;
    border-radius: 16px;
    background: #fff;
}

.reviews-filters label {
    display: block;
    margin-bottom: 7px;
    color: #475467;
    font-size: 11px;
    font-weight: 650;
}

.reviews-filters input,
.reviews-filters select {
    width: 100%;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid #d8dee8;
    border-radius: 10px;
    background: #fff;
    font: inherit;
    font-size: 13px;
}

.reviews-filters button {
    min-height: 44px;
    padding: 0 17px;
    border: 0;
    border-radius: 10px;
    background: #1f2937;
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 650;
}

.reviews-result-heading {
    display: flex;
    margin-bottom: 20px;
    align-items: center;
    justify-content: space-between;
    color: #667085;
    font-size: 12px;
}

.reviews-result-heading a {
    color: #344054;
    font-weight: 650;
}

.reviews-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 32px;
}

.reviews-pagination a {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border: 1px solid #d8dee8;
    border-radius: 9px;
    background: #fff;
    font-size: 12px;
    text-decoration: none;
}

.reviews-pagination a.is-active {
    background: #1f2937;
    color: #fff;
}

@media (max-width: 980px) {
    .reviews-filters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .reviews-page {
        width: 95%;
        padding-top: 30px;
    }

    .reviews-filters {
        grid-template-columns: 1fr;
    }
}
