/* Стили первого блока блога */
.firstBlokBlog {
    width: 1280px;
    margin: 0 auto;
    border-radius: 0px 0px 8px 8px;
    margin-top: 80px;
}

.firstBlokBlogInner {
    padding-top: 50px;
    width: 100%;
}

.firstBlokBlogTextMain {
    font-size: 40px;
    color: #111111;
    line-height: 1.1;
}

/* Стили блога */
.blog {
}

.blogTitle {
    font-size: 30px;
    margin-bottom: 50px;
}

.blogInnerContentContainer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.blogInnerContent {
    width: 560px;
    margin-bottom: 40px;
}

.blogInnerContentImg {
    width: 560px;
    height: 275px;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.blogInnerContentText {
    font-size: 20px;
    width: 95%;
}

.blogInnerContentText a {
    color: inherit;
    text-decoration: none;
}

.blogInnerContentText a:hover {
    color: #0056B5;
}

/* Стили пагинации */
.pagination {
    width: 100%;
    text-align: center;
    margin-top: 0px;
    padding: 0px;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background-color: #F0F0F0;
    border-radius: 8px;
    text-decoration: none;
    color: #111111;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 1px solid #E0E0E0;
}

.page-numbers:hover {
    background-color: #0056B5;
    color: white;
    border-color: #0056B5;
    transform: translateY(-2px);
}

.page-numbers.current {
    background-color: #0056B5;
    color: white;
    border-color: #0056B5;
}

.page-numbers.dots {
    background-color: transparent;
    border: none;
    min-width: auto;
}

.page-numbers.prev,
.page-numbers.next {
    font-weight: 600;
    background-color: #F8F8F8;
}

.page-numbers.prev:hover,
.page-numbers.next:hover {
    background-color: #0056B5;
    color: white;
}

/* Скрываем текст "Назад"/"Вперед" и оставляем только стрелки */
.page-numbers.prev::before {
    content: "←";
    margin-right: 0;
}

.page-numbers.next::after {
    content: "→";
    margin-left: 0;
}

.page-numbers.prev .screen-reader-text,
.page-numbers.next .screen-reader-text {
    display: none;
}

/* Стили блока с формой */
.formBlok {
    padding: 40px 0px;
}

.formInner {
    width: 100%;
    height: 560px;
    display: flex;
    justify-content: space-between;
    background-color: #ECECEC;
    border-radius: 8px;
    overflow: hidden;
}

.formInnerContent {
    width: 80%;
    height: 100%;
    display: flex;
    align-items: start;
    flex-direction: column;
    justify-content: center;
    margin: 0px 0px 0px 60px;
}

.formInnerContentTextMain {
    font-size: 30px;
    color: #0056B5;
}

.formInnerContentText {
    font-size: 16px;
    width: 70%;
    margin: 20px 0px;
}

#name {
    background-color: #ffffff;
    width: 645px;
    height: 60px;
    border: none;
    border-radius: 8px;
    padding-left: 20px;
    font-size: 16px;
    color: #111111;
    margin-bottom: 20px;
}

#name::placeholder {
    font-size: 16px;
    color: #939598;
}

#phone {
    background-color: #ffffff;
    width: 645px;
    height: 60px;
    border: none;
    border-radius: 8px;
    padding-left: 20px;
    font-size: 16px;
    color: #111111;
    margin-bottom: 20px;
}

#phone::placeholder {
    font-size: 16px;
    color: #939598;
}

#message {
    background-color: #ffffff;
    width: 645px;
    height: 120px;
    border: none;
    border-radius: 8px;
    padding-left: 20px;
    padding-top: 20px;
    font-size: 16px;
    color: #111111;
    margin-bottom: 20px;
}

#message::placeholder {
    font-size: 16px;
    color: #939598;
}

#formBtn {
    background-color: #0056B5;
    width: 245px;
    height: 55px;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

#formBtn:hover{
background-color: #006EE8;
}

.formInnerImg {
    width: 35%;
    height: 100%;
}

/* Медиа-запросы */
@media (max-width: 1199px) {
    .firstBlokBlog {
        width: 680px;
        margin-top: 0px;
        padding-top: 0px;
    }

    .firstBlokBlogInner {
        padding-top: 50px;
        width: 95%;
    }

    .firstBlokBlogTextMain {
        font-size: 30px;
    }

    .blogTitle {
        font-size: 25px;
        margin-bottom: 30px;
    }

    .formInnerImg {
        display: none;
    }

    .formInner {
        height: 560px;
        display: flex;
        justify-content: center;
    }

    .formInnerContent {
        width: 90%;
        margin: 0px;
    }

    .formInnerContentTextMain {
        font-size: 25px;
    }

    .formInnerContentText {
        font-size: 14px;
        width: 90%;
    }

    #name {
        width: 545px;
    }

    #phone {
        width: 545px;
    }

    #message {
        width: 545px;
    }
    
}

@media (max-width: 619px) {
    .firstBlokBlog {
        width: 360px;
        margin-top: 40px;
    }

    .firstBlokBlogInner {
        padding-top: 20px;
    }

    .firstBlokBlogTextMain {
        font-size: 25px;
        width: 90%;
    }

    .blog {
    }

    .blogInnerContent {
        width: 300px;
        margin-bottom: 30px;
    }

    .blogInnerContentImg {
        width: 320px;
        height: 150px;
        margin-bottom: 15px;
    }

    .blogInnerContentText {
        font-size: 16px;
    }

    /* Адаптивность пагинации для мобильных */
    .pagination {
        margin-top: 0px;
        padding: 0px;
    }
    
    .nav-links {
        gap: 6px;
    }
    
    .page-numbers {
        min-width: 40px;
        height: 40px;
        padding: 0 12px;
        font-size: 14px;
    }
    
    .page-numbers.prev,
    .page-numbers.next {
        min-width: 40px;
    }

    .formBlok {
        padding: 25px 0px 50px 0px;
    }

    .formInner {
        height: 480px;
    }

    .formInnerContentTextMain {
        font-size: 20px;
    }

    .formInnerContentText {
        font-size: 14px;
        width: 100%;
    }

    #name {
        width: 290px;
        height: 50px;
        margin-bottom: 10px;
        font-size: 12px;
        padding-left: 10px;
    }

    #name::placeholder {
        font-size: 12px;
    }

    #phone {
        width: 290px;
        height: 50px;
        margin-bottom: 10px;
        font-size: 12px;
        padding-left: 10px;
    }

    #phone::placeholder {
        font-size: 12px;
    }

    #message {
        width: 290px;
        height: 100px;
        margin-bottom: 10px;
        font-size: 12px;
        padding-left: 10px;
        padding-top: 10px;
    }

    #message::placeholder {
        font-size: 12px;
    }

    #formBtn {
        width: 245px;
        height: 55px;
        font-size: 16px;
    }
}


    li{
    margin-bottom: 10px !important;
    }
    
    @media (max-width: 1199px) {
    li{
    margin-bottom: 5px !important;
    }
    }
    ul{padding-inline-start: 0px !important;}