@import "./../../components/common/posts/entry-five-section.css";
@import "./../../components/categories/all-categories.css";
@import "./../../components/common/pagination.css";


@media (max-width: 767px) {
    .common-archive-page {
        .pagination {
            border: none !important;
            background: transparent;
            margin-bottom: 20px;
            margin-top: 20px;
            padding: 1rem 0rem;
            gap: 0.5rem;

            .page-numbers {
                font-size: 14px !important;
                display: flex;
                justify-content: center;
                align-items: center;
                width: fit-content;

                svg {
                    margin-right: 10px;
                    margin-left: 10px;
                }
            }
        }

        #common-archive-box {
            min-height: 1015px;
        }

        .author-container {
            margin-bottom: 2rem;

            .author-box {
                background-color: #fff;
                border-radius: 10px;
                padding: 1rem 2rem;
                gap: 2rem;
                justify-content: flex-start;
                align-items: self-start;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

                .author-avatar {
                    min-width: 80px;
                    min-height: 80px;
                    max-width: 80px;
                    max-height: 80px;

                    img {
                        object-fit: cover;
                        width: 100%;
                        height: 100%;
                        border-radius: 100px;
                    }
                }

                .author-info-container {
                    p {
                        line-height: normal;
                        font-size: 14px;
                    }

                    h1 {
                        font-size: 16px;
                    }
                }
            }
        }
    }
}

@media (min-width: 768px) {
    .common-archive-page {
        .pagination {
            -webkit-margin-start: auto;
            margin-inline-start: auto;
            border: 1px solid #e4e7f2;
            border-radius: 100px;
            padding: 1rem 3rem;
            flex-direction: row-reverse;

            .page-numbers {
                border-radius: 50%;
                border-color: rgba(0, 0, 0, 0);
                -webkit-transition: all 0.15s linear;
                transition: all 0.15s linear;
                color: #232539;
                font-size: 14px !important;
            }

            .page-numbers.next:hover {
                color: #185adb;
            }

            .page-numbers.current,
            .page-numbers:not(.next):hover {
                background-color: #185adb;
                color: #fff;
                padding-right: 0.5rem;
                padding-left: 0.5rem;
            }
        }

        #common-archive-box {
            min-height: 1900px;
        }

        .author-container {
            margin-bottom: 2rem;

            .author-box {
                background-color: #fff;
                border-radius: 10px;
                padding: 1rem 2rem;
                gap: 2rem;
                justify-content: flex-start;
                align-items: center;
                box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

                .author-avatar {
                    min-width: 120px;
                    min-height: 120px;
                    max-width: 100px;
                    max-height: 100px;

                    img {
                        object-fit: cover;
                        width: 100%;
                        height: 100%;
                        border-radius: 100px;
                    }
                }

                .author-info-container {
                    p {
                        line-height: normal;
                    }

                    h1 {
                        font-size: 23px;
                    }
                }
            }
        }
    }
}

.common-archive-page {
    .post-categories {
        color: #185adb;
        margin-right: 1rem;
    }

    #common-archive-box {
        padding-right: 0px !important;
    }
}
