/* NEWS */
/* category */
.news__category {
    width: 100%;
    background: #FAFAFA;
    padding: 50px 0;
}
.news__category__inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}
.news__category h3 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}
.news__category__list {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.news__category__list li {
    display: inline-block;
    font-size: 14px;
    letter-spacing: 0.05em;
    border: 1px solid #707070;
    border-radius: 30px;
    padding: 10px 30px;
    cursor: pointer;
    transition: all .3s ease;
}
.news__category__list li:hover {
    opacity: .5;
    transition: all .3s ease;
}
.news__category__list li.active {
    color: #FFF;
    background: linear-gradient(#46CB52, #ABF77B);
    border: none;
    cursor: auto;
}
.news__category__list li.active:hover {
    opacity: 1;
}
/* cnt */
.news__cnt {
    width: 90%;
    max-width: 1200px;
    margin: 100px auto 0;
}
.news__cnt h3 {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
}
.news__cnt__list {
    font-size: 18px;
    border-top: 1px solid #CBCBCB;
    margin-top: 50px;
}
.news__cnt__list li {
    padding: 30px;
    border-bottom: 1px solid #CBCBCB;
    position: relative;
    cursor: pointer;
}
.news__cnt__list li a {
    display: block;
    transition: all .3s ease;
}
.news__cnt__list li a:hover {
    opacity: .5;
    transition: all .3s ease;
}
.news__cnt__list__detail {
    display: flex;
    align-items: center;
    gap: 30px;
}
.news__cnt__list__detail__date {
    font-size: 18px;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 0.05em;
}
.news__cnt__list__detail__category__wrap {
    display: flex;
    gap: 15px;
}
.news__cnt__list__detail__category {
    color: #FFF;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.05em;
    background: linear-gradient(#46CB52, #ABF77B);
    padding: 5px 10px;
}
.news__cnt__list li p {
    font-size: 18px;
    letter-spacing: 0.05em;
    margin-top: 15px;
}
.news__cnt__list li span {
    font-size: 30px;
    font-weight: 100;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
/* navigation */
.news__nav {
    margin: 70px 0 150px;
}
.news__nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 30px;
}
.news__nav ul li {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all .3s ease;
    position: relative;
}
.news__nav ul li:hover {
    opacity: .5;
    transition: all .3s ease;
}
.news__nav ul li.active {
    background: #8CC261;
    opacity: 1;
    cursor: auto;
}
.news__nav ul li span {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.news__nav ul li.active span {
    color: #FFF;
}
@media screen and (max-width: 768px) {
    /* category */
    .news__category {
        padding: 30px 0;
    }
    .news__category h3 {
        font-size: 18px;
    }
    .news__category__list {
        margin-top: 20px;
        justify-content: flex-start;
        gap: 10px;
    }
    .news__category__list li {
        font-size: 12px;
        border: 1px solid #707070;
        border-radius: 30px;
        padding: 5px 15px;
    }
    .news__category__list li:hover {
        opacity: 1;
    }
    /* cnt */
    .news__cnt {
        margin: 30px auto 0;
    }
    .news__cnt h3 {
        font-size: 18px;
    }
    .news__cnt__list {
        font-size: 14px;
        border-top: 1px solid #CBCBCB;
        margin-top: 20px;
    }
    .news__cnt__list li {
        padding: 20px 0;
        border-bottom: 1px solid #CBCBCB;
    }
    .news__cnt__list li a:hover {
        opacity: 1;
    }
    .news__cnt__list__detail {
        gap: 0 20px;
    }
    .news__cnt__list__detail__date {
        font-size: 16px;
    }
    .news__cnt__list__detail__category__wrap {
        gap: 0 10px;
    }
    .news__cnt__list__detail__category {
        font-size: 10px;
        padding: 5px 10px;
    }
    .news__cnt__list li p {
        font-size: 14px;
        margin-top: 10px;
    }
    .news__cnt__list li span {
        font-size: 20px;
    }
    /* navigation */
    .news__nav {
        margin: 50px 0 70px;
    }
    .news__nav ul {
        gap: 0 20px;
    }
    .news__nav ul li {
        width: 35px;
        height: 35px;
    }
    .news__nav ul li:hover {
        opacity: 1;
    }
    .news__nav ul li span {
        font-size: 20px;
    }
}
@media screen and (max-width: 393px) {
    /* category */
    .news__category {
        padding: 3rem 0;
    }
    .news__category h3 {
        font-size: 1.8rem;
    }
    .news__category__list {
        margin-top: 2rem;
        gap: 1rem;
    }
    .news__category__list li {
        font-size: 1.2rem;
        border: .1rem solid #707070;
        border-radius: 3rem;
        padding: .5rem 1.5rem;
    }
    /* cnt */
    .news__cnt {
        margin: 3rem auto 0;
    }
    .news__cnt h3 {
        font-size: 1.8rem;
    }
    .news__cnt__list {
        font-size: 1.4rem;
        border-top: .1rem solid #CBCBCB;
        margin-top: 2rem;
    }
    .news__cnt__list li {
        padding: 2rem 0;
        border-bottom: .1rem solid #CBCBCB;
    }
    .news__cnt__list__detail {
        gap: 0 2rem;
    }
    .news__cnt__list__detail__date {
        font-size: 1.6rem;
    }
    .news__cnt__list__detail__category__wrap {
        gap: 0 1rem;
    }
    .news__cnt__list__detail__category {
        font-size: 1rem;
        padding: .5rem 1rem;
    }
    .news__cnt__list li p {
        font-size: 1.4rem;
        margin-top: 1rem;
    }
    .news__cnt__list li span {
        font-size: 2rem;
    }
    /* navigation */
    .news__nav {
        margin: 5rem 0 7rem;
    }
    .news__nav ul {
        gap: 0 2rem;
    }
    .news__nav ul li {
        width: 3.5rem;
        height: 3.5rem;
    }
    .news__nav ul li span {
        font-size: 2rem;
    }
}



/* NEWS DETAIL */
.news__detail {
    width: 90%;
    max-width: 1200px;
    margin: 5rem auto 15rem;
}
.news__detail__ttl__sub {
    display: flex;
    align-items: center;
    gap: 0 3rem;
}
.news__detail__date {
    font-size: 2.4rem;
    font-weight: 100;
    font-style: italic;
    letter-spacing: 0.05em;
}
.news__detail__category__wrap {
    display: flex;
    gap: 0 1.5rem;
}
.news__detail__category {
    color: #FFF;
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    background: linear-gradient(#46CB52, #ABF77B);
    padding: .5rem 1.5rem;
}
.news__detail__ttl h3 {
    font-size: 3.2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-bottom: .1rem solid #CBCBCB;
    padding-bottom: 2rem;
    margin-top: 1rem;
}
.news__detail__cnt p {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-top: 2rem;
}
.news__detail__cnt h1 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-left: 8px solid #CBCBCB;
    border-block: .1rem solid #CBCBCB;
    padding-block:1rem;
    padding-left: 1rem;
    margin-top: 1rem;
}
.news__detail__cnt h2 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-left: 8px solid #CBCBCB;
    border-bottom: .1rem solid #CBCBCB;
    padding-left: 1rem;
    margin-top: 1rem;
}
.news__detail__cnt h3 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    border-left: 8px solid #CBCBCB;
    padding-left: 1rem;
    margin-top: 1rem;
}
.news__detail__cnt h4 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}
.news__detail__cnt h5 {
    font-size: 2.5rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-top: 1rem;
}

@media screen and (min-width: 1920px) {
    .news__detail {
        margin: 50px auto 150px;
    }
    .news__detail__ttl__sub {
        gap: 0 30px;
    }
    .news__detail__date {
        font-size: 24px;
    }
    .news__detail__category__wrap {
        gap: 0 15px;
    }
    .news__detail__category {
        font-size: 16px;
        padding: 5px 15px;
    }
    .news__detail__ttl h3 {
        font-size: 32px;
        border-bottom: 1px solid #CBCBCB;
        padding-bottom: 20px;
        margin-top: 10px;
    }
}
@media screen and (max-width: 768px) {
    .news__detail {
        margin: 30px auto 70px;
    }
    .news__detail__ttl__sub {
        gap: 0 15px;
    }
    .news__detail__date {
        font-size: 18px;
    }
    .news__detail__category__wrap {
        gap: 0 10px;
    }
    .news__detail__category {
        font-size: 12px;
        padding: 5px 15px;
    }
    .news__detail__ttl h3 {
        font-size: 20px;
        border-bottom: 1px solid #CBCBCB;
        padding-bottom: 15px;
        margin-top: 10px;
    }
    .news__detail__cnt p {
        margin-top: 15px;
    }
    .news__detail__cnt h1 {
        font-size: 20px;
        padding-block: 8px;
        padding-left: 12px;
    }
    .news__detail__cnt h2 {
        font-size: 18px;
        padding-left: 8px;
    }
    .news__detail__cnt h3 {
        font-size: 18px;
        padding-left: 8px;
    }
    .news__detail__cnt h4 {
        font-size: 18px;
    }
    .news__detail__cnt h5 {
        font-size: 15px;
    }
}
@media screen and (max-width: 393px) {
    .news__detail {
        margin: 3rem auto 7rem;
    }
    .news__detail__ttl__sub {
        gap: 0 1.5rem;
    }
    .news__detail__date {
        font-size: 1.8rem;
    }
    .news__detail__category__wrap {
        gap: 0 1rem;
    }
    .news__detail__category {
        font-size: 1.2rem;
        padding: .5rem 1.5rem;
    }
    .news__detail__ttl h3 {
        font-size: 2rem;
        border-bottom: .1rem solid #CBCBCB;
        padding-bottom: 1.5rem;
        margin-top: 1rem;
    }
    .news__detail__cnt p {
        font-size: 1.2rem;
        margin-top: 1.5rem;
    }
    .news__detail__cnt h1 {
        font-size: 2rem;
    }
    .news__detail__cnt h2 {
        font-size: 1.8rem;
    }
    .news__detail__cnt h3 {
        font-size: 1.8rem;
    }
    .news__detail__cnt h4 {
        font-size: 1.8rem;
    }
    .news__detail__cnt h5 {
        font-size: 1.5rem;
    }
}
