main {
    background: #CCCCCC;
}

.archiveNews {
    max-width: 54rem;
    margin-inline: auto;
    padding: 10rem 2rem 10.5rem;
}

.archiveNews__title {
    font-size: 4rem;
    text-align: center;
    letter-spacing: 0.07em;
}

.archiveNews__filter {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 3.5rem;
    justify-content: center;
}

.archiveNews__filterItem {
    line-height: 1;
}

.archiveNews__filterLink {
    background: #fff;
    border: 1px solid #636363;
    border-radius: 6.25rem;
    width: 8.125rem;
    height: 2.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    color: #636363;
    text-decoration: none;
    transition: 0.3s;
}

.archiveNews__filterLink.is-active {
    background: #636363;
    color: #fff;
}

@media (hover : hover) {
    main a:not(.paginationGroup a).archiveNews__filterLink:hover {
        background: #636363;
        color: #fff;
        opacity: 1;
    }
}

.archiveNewsList {
    margin-top: 2.5rem;
}

.archiveNewsList__item {
    border-bottom: 1px solid rgba(0, 0, 0 ,0.1);
}

.archiveNewsList__link {
    display: grid;
    grid-template-columns: 5.5rem 6.25rem auto;
    align-items: center;
    gap: 0.5rem 1.5rem;
    padding-block: 2rem;
}

.archiveNewsList__date {
    font-size: 0.875rem;
    font-weight: 500;
    font-family: var(--familyInter);
}

.archiveNewsList__category {
    border-radius: 6.25rem;
    background: #fff;
    height: 1.375rem;
    width: 6.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.archiveNewsList__category:empty {
    background: transparent!important;
}

.archiveNewsList__title {
    font-size: 1rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 1; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.archiveNewsList__empty {
    list-style: none;
    padding: 40px 0;
    text-align: center;
    color: #888;
    font-size: 0.9rem;
}

.wp-pagenavi {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.wp-pagenavi span ,
.wp-pagenavi a {
    font-size: 1.25rem;
    font-family: var(--familyInter);
    order: 1;
}

.wp-pagenavi .previouspostslink {
    order: 0;
}

.wp-pagenavi .nextpostslink {
    order: 2;
}

.previouspostslink::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 0.5rem;
    height: 0.5rem;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(25%) rotate(-135deg);
}

.nextpostslink::before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    color: #333;
    line-height: 1;
    width: 0.5rem;
    height: 0.5rem;
    border: 0.1em solid currentColor;
    border-left: 0;
    border-bottom: 0;
    box-sizing: border-box;
    transform: translateX(-25%) rotate(45deg);
}

@media screen and (max-width: 767px) {
    .archiveNews {
        padding-block: 6rem 6.5rem;
    }

    .archiveNewsList__link {
        display: flex;
        flex-wrap: wrap;
        padding-block: 1rem;
    }

    .archiveNewsList__title {
        width: 100%;
    }
}