.first-block {
    position: relative;
    margin-bottom: 70px;
}
.first-block:after {
    position: absolute;
    content: '';
    width: 15px;
    height: 15px;
    border-top: 2px solid #fff;
    border-left: 2px solid #fff;
    bottom: 60px;
    right: calc((100% - 1160px) / 2);
}
.first-block .wrapper-right {
    position: relative;
}
.first-block img {
    width: 100%;
    max-height: 595px;
}
.first-block .wrapper {
    position: absolute;
    top: 0;
    left: 0;
}
.first-block .text {
    margin-top: 105px;
    background: rgba(255, 255, 255, 0.65);
    padding: 65px 0 125px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.first-block .text h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 40px;
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 3px solid #ec8211;
}
.first-block .text p {
    line-height: 23px;
    text-align: center;
    max-width: 555px;
}
.second-block {
    margin-bottom: 100px;
}
.second-block h2 {
    font-size: 24px;
    line-height: 44px;
    letter-spacing: 2px;
    margin: 0 0 30px 60px;
    text-transform: uppercase;
}
.second-block .items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-bottom: 40px;
}
.second-block .items .item {
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 140px 65px 45px;
}
.second-block .items .item .meta {
    display: none;
}
.second-block .items .item:hover:before {
    background: rgba(25, 25, 25, 0.3);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    cursor: pointer;
    position: absolute;
    content: '';
    z-index: 0;
}
.second-block .items .item .text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}
.second-block .items .item .text h3 {
    font-size: 16px;
    color: #fff;
    border-bottom: 3px solid #fff;
    margin-bottom: 20px;
    padding-bottom: 8px;
}
.second-block .items .item .text p {
    color: #fff;
    line-height: 23px;
    text-align: center;
    display: none;
}
.second-block .items .item:hover .text p {
    display: flex;
    max-width: 270px;
}
.second-block .items .item span {
    font-size: 15px;
    color: #fff;
    display: flex;
    align-items: center;
    z-index: 1;
}
.second-block .items .item span:after {
    content: '\e908';
    font-family: 'icons';
    margin-left: 10px;
    font-size: 25px;
}
.second-block .items .item a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
}
.second-block .items .item .up-l {
    width: 15px;
    height: 15px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: 50px;
    left: 50px;
    z-index: 1;
}
.second-block .items .item .up-r {
    width: 15px;
    height: 15px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    position: absolute;
    top: 50px;
    right: 50px;
    z-index: 1;
}
.second-block .items .item .bottom-l {
    width: 15px;
    height: 15px;
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
    position: absolute;
    bottom: 50px;
    left: 50px;
    z-index: 1;
}
.second-block .items .item .bottom-r {
    width: 15px;
    height: 15px;
    border-left: 2px solid #fff;
    border-top: 2px solid #fff;
    position: absolute;
    bottom: 50px;
    right: 50px;
    z-index: 1;
}
.pagination {
    display: flex;
    justify-content: space-between;
    margin-bottom: 130px;
}
.pagination .left {
    width: 67%;
    margin-right: 10px;
}
.pagination .left, .pagination .right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.pagination .left button {
    text-transform: uppercase;
    max-width: 187px;
    min-width: 187px;
}
.pagination .left button:first-child {
    background: #dcdcdc;
    color: #9b9b9b;
    margin-right: 10px;
}
.pagination .left button:first-child:hover {
    background: #ec8211;
    color: #fff;
}
.pagination .left button:first-child::after {
    transform: rotate(180deg);
    color: #9b9b9b;
    order: -1;
    margin-left: unset;
    margin-right: 20px;
}
.pagination .left button:first-child:hover:after {
    color: #fff;
}
.pagination .right input {
    padding: 10px;
    min-width: 29px;
    max-width: 29px;
    height: 29px;
    color: #191919;
    margin-right: 5px;
}
.pagination .right p, .pagination .right span {
    color: #6b6b6b;
}
.pagination .adaptive {
    display: none;
}
.pagination .adaptive button {
    margin-right: 10px;
}
.pagination .adaptive button:first-child {
    background: #dcdcdc;
    color: #9b9b9b;
    margin-right: 10px;
}
.pagination .adaptive button:first-child::after {
    transform: rotate(180deg);
    color: #9b9b9b;
    margin-left: unset;
}
.pagination .adaptive button:last-child::after {
    margin-left: unset;
}
.third-block {
    background: #f3f3f3;
}
.third-block .wrapper-right {
    position: relative;
}
.third-block img {
    width: 100%;
}
.third-block .wrapper {
    position: absolute;
    top: 0;
    left: 0;
}
.third-block .text {
    margin-top: 30px;
    background: rgba(0, 0, 0, 0.54);
    padding: 75px 60px 75px;
}
.third-block .text h2 {
    font-size: 24px;
    line-height: 38px;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 50px;
    text-transform: uppercase;
    max-width: 715px;
}
.four-block {
    background: #f3f3f3;
    padding: 60px 0 100px;
    margin-bottom: 70px;
}
.four-block .content {
    padding-left: 60px;
}
.four-block h2 {
    font-size: 24px;
    line-height: 38px;
    letter-spacing: 2px;
    margin-bottom: 60px;
    text-transform: uppercase;
    max-width: 715px;
}
.four-block form {
    display: flex;
    margin-bottom: 40px;
}
.four-block form input {
    margin-right: 20px;
}
.four-block form .btn {
    margin-left: 25px;
    background: #1e98c0;
}
.four-block form input[type=submit] {
    background: #1e98c0;
}
.four-block form .btn:hover, .four-block form input[type=submit]:hover {
    background: #1e89c0;
}
.four-block form .btn:after {
    margin-left: 0;
}
.four-block form input[type=submit] {
    min-width: unset;
}
.four-block p, .four-block p a {
    color: #191919;
    line-height: 20px;
}
.four-block p a {
    text-decoration: underline;
}
@media screen and (max-width: 1200px) {
    .first-block .wrapper-right {
        display: flex;
        justify-content: flex-start;
        align-items: flex-start;
        overflow: hidden;
    }
    .first-block img {
        width: unset;
    }
    .first-block .text {
        margin-top: 50px;
    }
    .first-block:after {
        right: 60px;
    }
    .second-block .items .item {
        min-height: 330px;
        padding: 130px 65px 40px;
    }
    .third-block .wrapper-right {
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    .third-block img {
        width: unset;
    }
    .four-block {
        padding-bottom: 70px;
    }
    .four-block .content {
        padding-left: 100px;
    }
    .four-block h2 {
        margin-bottom: 30px;
    }
    .four-block form {
        display: flex;
        flex-direction: column;
        margin-bottom: 20px;
    }
    .four-block form input {
        margin-bottom: 15px;
        max-width: 345px;
    }
    .four-block form .btn {
        margin-left: 0;
    }
    .four-block form .btn input {
        margin-bottom: 0;
    }
}
@media screen and (max-width: 750px) {
    .first-block img {
        max-height: 450px;
    }
    .first-block .text {
        margin-top: 0;
        padding: 30px 30px 30px 60px;
    }
    .first-block .text h1 {
        line-height: 30px;
    }
    .second-block .items .item {
        min-height: 250px;
        padding: 80px 65px 30px;
    }
    .second-block .items .item:hover .text p {
        display: none;
    }
    .second-block .items .item .text h3 {
        font-size: 14px;
    }
    .pagination {
        justify-content: flex-end;
        margin-bottom: 70px;
    }
    .pagination .left {
        margin-right: 5px;
    }
    .pagination .left button:first-child {
        margin-right: 5px;
    }
    .third-block .text h2, .four-block h2 {
        font-size: 21px;
        line-height: 30px;
    }
}
@media screen and (max-width: 578px) {
    .first-block img {
        max-height: 100vh;
        min-height: 600px
    }
    .first-block .text {
        padding: 20px;
        margin-top: 30px;
    }
    .first-block:after {
        display: none;
    }
    .second-block .items {
        grid-template-columns: repeat(1, 1fr);
    }
    .pagination {
        justify-content: space-between;
        margin-bottom: 40px;
    }
    .pagination .left {
        display: none;
    }
    .pagination .adaptive {
        display: flex;
    }
    .third-block .text h2, .four-block h2 {
        font-size: 17px;
    }
    .third-block img {
        max-height: 450px;
    }
    .third-block .text {
        padding: 40px 20px;
    }
    .four-block .content {
        padding-left: 70px;
    }
    .four-block form input {
        min-width: 100%;
    }
}