@charset "UTF-8";

.archive {
text-align: center;
padding-bottom: 100px;
.inner{
    width: 100%;
    max-width:860px;
    margin: 0 auto;
    text-align: left;
    .anchor{
        margin-bottom: 1.5rem;
        ul{
            display: flex;
            justify-content: flex-start;
            align-items: center;
            gap: 10px;
            flex-wrap: wrap;
            li{
                a{
                     font-size: 13px;
    color: #dcdcde;
    border: 1px solid #dcdcde;
    border-radius: 50px;
    display: inline-block;
    padding: .5rem 1.5rem;
    &.current{
        background-color: #333;
        color: #fff;
    }
    &:hover{
        background-color: #b7b7b7;
        color: #fff;
    }
                }
            }
        }
    }
    .list{
     margin: 10px 0;
        .list-item{
              &:first-child{
                border-top: 1px solid #d8dee0;
              }
             a{
            display: block;
            width: 100%;
            padding: 15px;
            border-bottom: 1px solid #d8dee0;
            cursor: pointer;
            &:hover{
                background-color: #f0f0f0;
                color: #333;
            }
            .date{
                display: flex;
                justify-content: space-between;
                align-items: center;
                gap: 10px;
                p{
                    font-size: 12px;
                    color: #5A7976;
                }
            }
            .body{
                font-size: 20px;
                font-weight: bold;
            }
    }
        }
        }

    .pagination{
        .pager{
            display: flex;
            justify-content:flex-end;
            align-items: center;
            gap: 10px;
            .pager__buttons{
                display: flex;
                justify-content: center;
                align-items: center;
                gap: 1px;
                .pager__btn{
                    font-size: 20px;
                    height: 30px;
                    aspect-ratio: 1/1;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border: 1px solid #d8dee0;
                    padding: 10px;
                    &:hover{
                        color: #333;
                    }
                }
            }
           }
    }
    }
}
@media screen and (max-width: 767px) {
    .archive {  
        .inner{
            width: 90vw;
        }
    }
}