@charset "utf-8";

/* ////////////// */
/* NEWS ARCHIVE */
/* ////////////// */

.news_list {
    width: 61.9%;
}

@media screen and (max-width: 412px) {
        .news_list {
        width: 100%;
        margin-bottom: 3.13rem;
    }
}

#news_archive h3 {
    font-size: 1.25rem;
    font-weight: normal;
}

.pager-box {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 15%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.13rem;
}

@media screen and (max-width: 412px) {
    .pager-box {
        width: 40%;
    }
}

.pager-box .page-numbers {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
}

.pager-box li:last-of-type a::after {
    position: absolute;
    content: "";
    display: inline-block;
    height: 0.5rem;
    width: 1.2rem;
    margin-left: 78px;
    margin-bottom: 1px;
    border-right: 2px solid #333;
    border-bottom: 1.5px solid #333;
    transform: skewX(45deg);
    transition: .5s all;
}

@media screen and (max-width: 412px) {
    .pager-box li:last-of-type a::after {
        height: 0.3rem;
        width: 1rem;
        margin-left: 40px;
    }
}

.pager-box li:last-of-type a:hover::after {
    margin-left: 88px;
    border-right: 2px solid #7B2109;
    border-bottom: 1.5px solid #7B2109;
    transition: .5s;
}

.pager-box li {
    width: 2.38rem;
    height: 2.38rem;
    border-radius: 0.62rem;
    border: 1px solid #7B2109;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

@media screen and (max-width: 800px) {
    .pager-box li {
        width: 1.88rem;
        height: 1.88rem;
    }
}

.pager-box li:hover {
    background-color: #7B2109;
    transition: .5s;
}

.pager-box li:last-of-type a {
    color: #333;
    font-size: 0.75rem;
}

.pager-box li:last-of-type a:hover {
    color: #fff;
    transition: .5s;
}

.pager-box li:first-of-type a {
    color: #333;
    font-size: 0.75rem;
}

.pager-box li:first-of-type a:hover {
    color: #fff;
    transition: .5s;
}

.pager-box li:first-of-type a::before {
    position: absolute;
    content: "";
    display: inline-block;
    height: 0.5rem;
    width: 1.2rem;
    margin-right: 78px;
    margin-bottom: 1px;
    border-left: 2px solid #333;
    border-bottom: 1.5px solid #333;
    transform: skewX(-45deg);
    transition: .5s all;
}

@media screen and (max-width: 412px) {
        .pager-box li:first-of-type a::before {
        height: 0.3rem;
        width: 1rem;
        margin-right: 40px;
    }
}

.pager-box li:first-of-type a:hover::before {
    margin-right: 88px;
    border-left: 2px solid #7B2109;
    border-bottom: 1.5px solid #7B2109;
    transition: .5s;
}

.pager-box .current {
    background-color: #7B2109;
    text-align: center;
    color: #fff;
    font-size: 0.88rem;
    height: 100%;
}

.pager-box li a {
    color: #7B2109;
     font-size: 0.88rem;
}

.pager-box li:hover a {
    color: #fff;
    transition: .5s;
}


/* ////////////// */
/* NEWS SINGLE */
/* ////////////// */

.news_single_content {
    width: 61.9%;
}

@media screen and (max-width: 412px) {
    .news_single_content {
        width: 100%;
        margin-bottom: 3.13rem;
    }
}

#news_single h3 {
    font-size: 1.5rem;
    line-height: 1.8em;
    margin-bottom: 3.13rem;
}

.news_single_img-box {
    aspect-ratio: 3 / 2; 
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1.88rem;
    box-sizing: border-box;
    margin-bottom: 3.13rem;
}

.news_single_img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.news_single_link-box {
    width: 40%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6.25rem;
}

@media screen and (max-width: 800px) {
    .news_single_link-box {
        width: 70%;
    }
}

@media screen and (max-width: 412px) {
    .news_single_link-box {
        width: 90%;
    }
}

.news_single_link-box .btn_link {
    padding-left: 0;
    justify-content: center;
}

.news_single_link-box .btn_link::after {
    display: none;
}

.news_single_link-box .prev-btn,
.news_single_link-box .next-btn {
    position: relative;
    display: flex;
    align-items: center;
    font-size: 1rem;
}

.news_single_link-box .prev-btn:hover,
.news_single_link-box .next-btn:hover {
    color: #A6381B;
    transition: .5s;
} 

.news_single_link-box .prev-btn::before {
    position: absolute;
    content: "";
    display: inline-block;
    height: 0.7rem;
    width: 1.5rem;
    border-left: 2.5px solid #333;
    border-bottom: 2px solid #333;
    right: 6rem;
    transform: skewX(-45deg);
    transition: .5s all;
}

@media screen and (max-width: 412px) {
    .news_single_link-box .prev-btn::before {
        display: none;
    }
}

.news_single_link-box .next-btn::after {
    position: absolute;
    content: "";
    display: inline-block;
    height: 0.7rem;
    width: 1.5rem;
    border-right: 2.5px solid #333;
    border-bottom: 2px solid #333;
    left: 6rem;
    transform: skewX(45deg);
    transition: .5s all;
}

@media screen and (max-width: 412px) {
    .news_single_link-box .next-btn::after {
        display: none;
    }
}

.news_single_link-box .prev-btn:hover::before {
    border-left: 2.5px solid #A6381B;
    border-bottom: 2px solid #A6381B;
    right: 5.5rem;
    transition: .5s;
}

.news_single_link-box .next-btn:hover::after {
    border-right: 2.5px solid #A6381B;
    border-bottom: 2px solid #A6381B;
    left: 5.5rem;
    transition: .5s;
}

@media screen and (max-width: 412px) {
    .news_single_link-box .btn_link.to_archive {
        width: 14.75rem;
    }
}


/* COMMON */

#news_archive,
#news_single {
    align-items: flex-start;
}


.news_detail {
    display: flex;
    align-items: center;
    margin-bottom: 1.25rem;
}

.news_detail time {
    margin-right: 0.94rem;
}

.news_detail span {
    font-size: 0.88rem;
    line-height: 1em;
    color: #fff;
    padding: 0.18rem 0.5rem;
    background-color: #333;
    border-radius: 0.5rem;
    text-align: center;
    vertical-align: middle;
}

.news_list li:hover {
    opacity: .7;
    transition: .5s;
}

/* SIDE BAR */

aside {
    position: sticky;
    width: 31.5%;
    top: 18rem;
    align-self: flex-start; 
}

@media screen and (max-width: 412px) {
        aside {
        position: relative;
        width: 100%;
        top: 0;
    }
}

aside h4 {
    background: #7B2109;
    color: #fff;
    border-radius: 1.25rem 1.25rem 0 0;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 3.75rem;
    font-size: 1.16rem;
}

aside ul {
    width: 100%;
    border: 1px solid #7B2109;
    border-radius: 1.25rem;
    height: fit-content;
    padding: 5rem 1.88rem 1.88rem 1.88rem;
    box-sizing: border-box;
}

aside .border-bottom_dashed {
    margin-bottom: 1.25rem;
    padding-bottom: 1.25rem;
}

aside .border-bottom_dashed:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

aside ul li:hover a {
    color: #A6381B;
    transition: .5s;
}
