.schools .boxed .items {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.schools .boxed .items .item {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 20px;
    padding: 34px 34px 70px 34px;
}

.schools .boxed .items .item.blue {
    border: 2px solid var(--blue-sky);
}

.schools .boxed .items .item.pink {
    border: 2px solid var(--pink-bright);
}

.schools .boxed .items .item.green {
    border: 2px solid var(--lime-green);
}

.schools .boxed .items .item h3 {
    font-family: Montserrat-500, Arial, sans-serif;
    font-size: 30px;
    line-height: normal;
}

.schools .boxed .items .item .excerpt {
    margin-bottom: 25px;
}

.schools .boxed .items .item .excerpt * {
    font-size: 16px;
    line-height: normal;
}

.schools .boxed .items .item .btn-group {
    position: absolute;
    bottom: 34px;
}

.schools .boxed .items .item img {
    height: 238px;
    width: 100%;
    object-fit: cover;
    margin-bottom: 34px;
}

.schools .boxed form {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 60px;
}

.schools .boxed form .reset-filters {
    font-size: 16px;
}

.schools .boxed form .search {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.schools .boxed form .search .search-field input {
    padding-left: 60px;
    border-radius: 6px;
    border: 1px solid var(--blue-medium);
    background-color: var(--white);
    height: 54px;
    width: 378px;
}

.schools .boxed form .search .search-field {
    position: relative;
    max-height: 55px;
}

.schools .boxed form .search select {
    border-radius: 6px;
    border: 1px solid var(--blue-medium);
    background: var(--white);
    font-size: 16px;
    line-height: 24px;
    max-height: 50px;
}

.schools .boxed form .search .search-field > button {
    position: absolute;
    top: 5px;
    left: 8px;
    background-image: url("images/search-icon.svg");
    height: 45px;
    background-color: var(--white);
    background-repeat: no-repeat;
    background-position: center center;
    border: 0;
    border-radius: 18px;
}

.schools .boxed .pagination {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.schools .boxed .pagination * {
    font-size: 14px;
}

.schools .boxed .pagination .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    text-decoration: none;
}

.schools .boxed .pagination .current {
    background: var(--sky-blue-light);
    border-radius: 8px;
}

.schools .boxed .pagination .prev, .schools .boxed .pagination .next {
    display: flex;
    align-items: center;
    gap: 8px;
}

.schools .boxed .pagination .prev::before {
    content: "";
    background-image: url("images/before-pagination.svg");
    background-repeat: no-repeat;
    display: block;
    height: 9px;
    width: 8px;
}

.schools .boxed .pagination .next::after {
    content: "";
    background-image: url("images/after-pagination.svg");
    background-repeat: no-repeat;
    display: block;
    height: 9px;
    width: 8px;
}


@media screen and (max-width: 900px) {
    .schools .boxed form .search {
        gap: 20px;
    }

    .schools .boxed form .search .search-field input {
        width: 200px;
        height: 42px;
    }

    .schools .boxed form .search .search-field > button {
        height: 42px;
    }

    .schools .boxed .items {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 630px) {
    .schools .boxed form {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }
}

@media screen and (max-width: 460px) {
    .schools .boxed form .search {
        flex-direction: column;
        align-items: start;
        gap: 20px;
    }

    .schools .boxed form {
        flex-direction: row;
        align-items: end;
        gap: 20px;
    }

    .schools .boxed form .search select {
        width: 100%;
    }
}