/* #content */
section .main_title {letter-spacing: -0.02em; line-height: 56px; margin-bottom: 20px;}
section .main_title.on {display: none;}
section .sub_text {letter-spacing: -0.02em;}

#content > h3 {font-size: 46px; line-height: 56px; letter-spacing: -0.02em; padding: 0 16.66%; color: #29203B;}

.list_box {padding: 64px 16.66% 100px;}
.list_box > ul {display: grid; grid-template-columns: repeat(2, 2fr); column-gap: 30px; row-gap: 40px;}
.list_box > ul > li {border-radius: 32px; position: relative;}
.list_box > ul > li a {display: block; position: relative;}
.list_box > ul > li a .img_box img {width: 100%; border-radius: 32px;}
.list_box > ul > li a .hashtag {width: 90%; position: absolute; bottom: 15%; left: 8%; z-index: 50;}
.list_box > ul > li a .hashtag p {font-weight: 700; font-size: 1.75rem; line-height: 2.375rem; letter-spacing: -0.04em; margin-bottom: 8px;}
.list_box > ul > li a .hashtag span {display: inline-block; font-weight: 500; font-size: 0.875rem; line-height: 1.125rem; color: rgba(46, 21, 102, 0.75);
    background: rgba(255, 255, 255, 0.4); border: 1px solid rgba(116, 53, 255, 0.4); border-radius: 4px; padding: 6px 2%; margin-right: 4px; white-space: nowrap;}
.list_box > ul > li .more_btn {display: inline-block; font-weight: 500; font-size: 13px; line-height: 18px; color: #2E1566; padding: 8px 20px; text-align: center;
    border: 2px solid #2E1566; border-radius: 100px; position: absolute; bottom: 18%; right: 10%;}

.list_box .pagination_box {text-align: center; margin-top: 100px; position: relative;}
.list_box .pagination_box span {display: inline-block; width: 44px; height: 44px; line-height: 44px; 
    font-family: 'Inter'; font-weight: 300; font-size: 28px; vertical-align: middle;}
.list_box .pagination_box span a {display: block;}
.list_box .pagination_box .pagination a {display: block; width: 100%; height: 100%;}
.list_box .pagination_box .pagination.on a {color: #8556E3; font-weight: 400; font-size: 32px; background: rgba(220, 204, 255, 0.42); border-radius: 50%;}
.list_box .pagination_box .front, .list_box .pagination_box .prev, .list_box .pagination_box .next, .list_box .pagination_box .end {
    font-size: 0; color: #fff; text-indent: -9999px; background-size: contain; background-repeat: no-repeat; background-position: center;}
.list_box .pagination_box .front {background-image: url(../images/sub04_01_btn_double_arrow_left.png);}
.list_box .pagination_box .prev {background-image: url(../images/sub04_01_btn_arrow_left.png);}
.list_box .pagination_box .next {background-image: url(../images/sub04_01_btn_arrow_right.png);}
.list_box .pagination_box .end {background-image: url(../images/sub04_01_btn_double_arrow_right.png);}
.list_box .pagination_box button {background: #8556E3; color: #FFFFFF; border: none; border-radius: 8px; padding: 11px 32px; cursor: pointer; white-space: nowrap;
    font-family: 'Spoqa Han Sans Neo'; font-weight: 700; font-size: 18px; line-height: 26px; letter-spacing: -0.02em; position: absolute; top: -80px; right: 0;}

/* PC (해상도 1440px ~ 1540px) */
@media screen and (max-width:1540px) {
    #content > h3 {padding: 0 12%;}
    .list_box {padding: 64px 12% 100px;}
}
/* PC (해상도 1058px ~ 1440px) */
@media screen and (max-width:1440px) {
    #content > h3 {padding: 0 8%;}
    .list_box {padding: 64px 8% 100px;}
}
/* PC (해상도 1024px ~ 1058px) */
@media screen and (max-width:1058px) {
    #content > h3 {padding: 0 6%;}
    .list_box {padding: 64px 6% 100px;}
}


/* 태블릿 (해상도 769px ~ 1024px) */
@media screen and (max-width:1024px) {
    /* content */
    section .main_title {font-size: 28px; margin-bottom: 12px; line-height: 36px;}
    section .main_title i {display: block;}

    #content > h3 {font-size: 28px; line-height: 36px; padding: 0 5%;}

    .list_box {padding: 52px 5% 80px;}
    .list_box > ul {grid-template-columns: repeat(2, 3fr); column-gap: 20px; row-gap: 24px;}
    .list_box > ul > li {border-radius: 24px;}
    .list_box > ul > li a .img_box img {border-radius: 24px;}
    .list_box > ul > li a .hashtag p {font-size: 1rem; line-height: 1.375rem; letter-spacing: -0.02em; margin-bottom: 6px;}
    .list_box > ul > li a .hashtag span {font-size: 0.563rem; line-height: 0.688rem; padding: 4px 2%;}
    .list_box > ul > li .more_btn {font-size: 11px; line-height: 15px; padding: 4.5px 16px;}

    .list_box .pagination_box {margin-top: 40px;}
    .list_box .pagination_box span {font-size: 20px; height: 37px;}
    .list_box .pagination_box .pagination {width: 37px;}
    .list_box .pagination_box .pagination a {display: block; width: 100%; height: 100%; line-height: 37px;}
    .list_box .pagination_box .pagination.on a {font-size: 18px;}
    .list_box .pagination_box button {display: none;}
}

/* 모바일 가로, 모바일 세로 (해상도 375px ~ 768px)*/
@media screen and (max-width:768px) {
    #wrap { min-width: 375px; }
    #content {position: relative;}
    /* content */
    #content > h3 {display: none;}

    .list_box {padding: 24px 5% 60px;}
    .list_box > ul {grid-template-columns: repeat(1, 4fr); gap: 20px;}
    .list_box > ul > li {border-radius: 8px;}
    .list_box > ul > li a .img_box img {border-radius: 8px;}
    .list_box > ul > li a .hashtag {bottom: 12%; left: 6%;}
    .list_box > ul > li a .hashtag p {font-size: 1.125rem; line-height: 1.375rem;}
    .list_box > ul > li a .hashtag span {font-size: 0.75rem; line-height: 0.938rem; margin-right: 1%; box-sizing: border-box;}
    .list_box > ul > li .more_btn {font-size: 10px; line-height: 15px; border: 1px solid #2E1566;}

    .list_box .pagination_box {margin-top: 28px;}
    .list_box .pagination_box span {font-size: 20px; width: 30px; height: 30px;}
    .list_box .pagination_box .pagination {width: 30px;}
    .list_box .pagination_box .pagination:nth-child(n+6) {display: none;}
    .list_box .pagination_box .pagination a {display: block; width: 100%; height: 100%; line-height: 30px;}
    .list_box .pagination_box .pagination.on a {font-size: 18px;}
}