/* Стили элементов пагинации */

.blog-page__pagination .pagination {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
}

.blog-page__pagination .current {
    background-color: #0562D0;
    color: white;
}

.blog-page__pagination .dots {
    padding: 0 10px;
    user-select: none;
}

.blog-page__pagination .page-numbers {
    display: inline-block;
    padding: 6px 17px 6px;
    text-align: center;
    border-radius: 1.5rem;
}

.blog-page__pagination .page-numbers:hover {
    color: white;
    background-color: #0562D0;
}

@media screen and (max-width: 767px) {
    .blog-page__pagination .pagination {
        font-size: 17px;
    }

    .blog-page__pagination .page-numbers {
        padding: 4px 14px 4px;
    }
}

@media screen and (max-width: 530px) {
    .blog-page__pagination .pagination {
        font-size: 16px;
    }

    .blog-page__pagination .page-numbers {
        padding: 0 10px 0;
        margin: 6px 0;
    }
}

/* Стили футера */
.footer {
    margin-top: 50px;
    background-color: #333;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    padding-top: 54px;
    padding-bottom: 28px;
}

.footer__logo {
    max-width: 172px;
}

.footer-menu-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-menu {
    list-style-type: none;
    float: right;
    margin: 0;
    padding: 0;
}

.footer-menu > li {
    display: inline-block;
}

.footer-menu > li > a {
    color: #fff;
    font-family: Raleway, serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 18px;
    letter-spacing: 0;
}

.footer-menu_top {
    text-transform: uppercase;
}

.footer-menu_top > li:not(:last-child) {
    margin-right: 26px;
}

.footer-menu_bottom > li:not(:last-child) {
    margin-right: 46px;
}

@media screen and (max-width: 991px) {
    .footer-container {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .footer__logo {
        display: none;
    }

    .footer-menu_top > li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .footer-menu_bottom > li:not(:last-child) {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .footer-menu-group {
        flex-direction: row;
        gap: unset;
        width: 100%;
        justify-content: space-between;
    }

    .footer-menu {
        display: flex;
        flex-direction: column;
    }
}

@media screen and (max-width: 767px) {
    .footer-container {
        padding-top: 48px;
        padding-bottom: 16px;
    }

    .footer__logo {
        display: block;
        margin-bottom: 44px;
    }

    .footer-container {
        flex-direction: column;
    }

    .footer-menu-group {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-menu_top {
        flex-direction: row;
        gap: 18px;
        margin-bottom: 70px;
    }

    .footer-menu_bottom > li:not(:last-child) {
        margin-bottom: 18px;
    }
}

@media screen and (max-width: 576px) {
    .hide-on-mobile {
        display: none;
    }

    .footer__logo {
        margin-bottom: 28px;
    }

    .footer-container {
        padding-bottom: 48px;
    }

    .footer-menu_top {
        flex-direction: column;
        gap: 19px;
        margin-bottom: 32px;
    }

    .footer-menu_top > li:not(:last-child) {
        margin: 0;
    }

    .footer-menu_bottom > li:not(:last-child) {
        margin-bottom: 16px;
    }
}
