@charset "utf-8";
/* 공통 ***********************************************/

:root {
    --primary: #072BB8;
    --nafont: 'Nanum Myeongjo', serif;
    --common-padding: 150px 0;
    --common-margin-bt: 40px;
    --common-sec-title-h1-size: 42px;
    --common-sec-title-h1-weight: 400;
}

@media (max-width:768px) {
    :root {
        --common-padding: 150px 16px;
        --common-margin-bt: 40px;
        --common-sec-title-h1-size: 32px;
        --common-sec-title-h1-weight: 400;
        ;
    }
}

em {
    font-style: normal;
}

html,
body {
    overflow-x: hidden;
}

.cm_sub_tit {
    max-width: 1440px;
    margin: 0 auto 48px;
    padding-top: 12px;
    border-top: 2px solid var(--primary);
}

.cm_sub_tit h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

@media (max-width:768px) {
    .cm_sub_tit h1 {
        font-size: 24px;
    }
}

section .title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-top: 12px;
    border-top: 2px solid var(--primary);
}

section .title-row h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}

.sub-container {
    padding-top: 120px;
}

.sub-container .sub-sec-title {
    text-align: center;
    margin-bottom: 60px;
}

.sub-container .sub-sec-title p {
    font-size: 20px;
}

.sub-container .sub-sec-title h1 {
    font-size: 40px;
    font-weight: 600;
    margin-top: 12px;
}

.top-grad {
    position: absolute;
    top: -200px;
    left: 0;
    width: 100vw;
    height: 300px;
    z-index: -1;
    pointer-events: none;
    filter: blur(70px);
    opacity: 0.85;
    background: linear-gradient(90deg,
            rgba(251, 194, 235, 0.6) 0%,
            #fde2b9 15%,
            #fad0c4 30%,
            #e4d6f1 45%,
            #c9e4f6 60%,
            #d2f4ea 75%);
}

/*  개인정보  */
.agree_wrap {
    margin-bottom: 60px;
    margin-top: 80px;
}

.agree_wrap .tit {
    margin-bottom: 20px;
}

.agree_wrap .tit h2 {
    font-size: 20px;
    font-weight: 600;
    line-height: 1;
    color: #111
}

.agree_wrap .desc_wrap {
    padding: 0 0 30px;
    border-top: 2px solid var(--primary);
    border-left: 1px solid #eee;
    border-right: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.agree_wrap .desc_wrap .info {
    background: #f7f7f7;
    padding: 32px;
}

.agree_wrap .desc_wrap .list h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    margin-bottom: 8px;
}

.agree_wrap .desc_wrap .list p {
    line-height: 1.4;
    color: #555;
    font-size: 15px;
}

.agree_wrap .desc_wrap .list p span {
    border-bottom: 1px solid #676767;
    padding-bottom: 2px;
    display: inline-block;
}

.agree_wrap .desc_wrap .list:not(:last-child) {
    margin-bottom: 24px;
}

.agree_wrap .agree_chk {
    max-width: 100%;
    margin-top: 30px;
    display: flex;
    justify-content: center;
}

.agree_wrap .agree_chk .agree_chk_box {
    font-size: 14px;
    color: #333;
    text-align: left;
    letter-spacing: -0.5px;
}

.agree_wrap .agree_chk .info {
    position: absolute;
    top: 50px;
    right: 24px;
    font-size: 16px;
    color: #333;
    display: inline-block;
    text-decoration: underline;
}

.agree_wrap .agree_chk .agree_chk_box input[type=checkbox] {
    display: none
}

.agree_wrap .agree_chk .agree_chk_box input[type=checkbox] + label::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
    margin-top: -3px;
    vertical-align: middle;
    background: url('../images/chkbox_icon_off.svg');
}

.agree_wrap .agree_chk .agree_chk_box input[type=checkbox]:checked + label::before {
    background: #072BB8 url('../images/chkbox_icon_on.svg');
}

.agree_wrap .agree_chk .agree_chk_box label {
    vertical-align: baseline
}

.agree_wrap .agree_chk .agree_chk_box > label > a.privacy_info {
    color: #333;
    text-decoration: underline;
    padding-right: 4px;
}

.agree_wrap .agree_chk_box span {
    color: #e54225;
}

@media (max-width:768px) {
    .agree_wrap .tit h2 {
        font-size: 16px;
    }

    .agree_wrap .desc_wrap .info {
        padding: 20px;
    }

    .agree_wrap .desc_wrap .list p {
        font-size: 13px;
    }

    .agree_wrap .desc_wrap .list p br {
        display: none;
    }

    .agree_wrap .desc_wrap .list h3 {
        font-size: 14px;
    }
}


/* board reset *****************************************/

#bo_w,
#bo_v,
#bo_list {
    max-width: 1440px;
    margin: 0 auto;
    padding: var(--common-padding);
    position: relative;
}

.bbs-sectitle {
    text-align: center;
    margin-bottom: var(--common-margin-bt);
}

.bbs-sectitle h1 {
    font-size: var(--common-sec-title-h1-size);
    font-weight: var(--common-sec-title-h1-weight) line-height: 1;
}



/* 메인 ************************************/
.cmsec:not(:last-child) {
    margin-bottom: 120px;
}

@media (max-width:768px) {
    .cmsec:not(:last-child) {
    margin-bottom: 60px;
}
}

.main-blog-ranking {
    background: #fff;
    padding: 0 20px;
    margin-top: 100px;
}

.main-blog-ranking .container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

.main-blog-ranking .main-feature {
    width: 1050px;
    background: #0c2b2e;
    color: #fff;
    border-radius: 16px;
    height: 100%;
    overflow: hidden;
}

.main-blog-ranking .feature-thumbnail {
    position: relative;
    height: 460px;
    overflow: hidden;
}

.main-blog-ranking .feature-thumbnail::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0));
    z-index: 1;
    /* 필요에 따라 조정 */
}

.main-blog-ranking .feature-thumbnail img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
}

.main-blog-ranking .feature-content {
    flex: 1;
    position: absolute;
    bottom: 60px;
    left: 60px;
    color: #fff;
    z-index: 2;
}

.main-blog-ranking .label {
    font-size: 14px;
    color: #64d8cb;
    font-weight: 500;
    display: block;
    margin-bottom: 12px;
}

.main-blog-ranking .title {
    font-size: 24px;
    line-height: 1.4;
    font-weight: 700;
}

.main-blog-ranking .blog-ranking-list {
    flex: 1 1 35%;
}



.main-blog-ranking .blog-ranking-list h2.cm-h2 {
    padding-top: 16px;
    margin-bottom: 16px;
    font-weight: bold;
    color: var(--primary);
    border-top: 2px solid var(--primary);
}


.main-blog-ranking .ranking-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-blog-ranking .ranking-items li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
    cursor: pointer;
}

.main-blog-ranking .ranking-items li .df {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.main-blog-ranking .ranking-items li .df .cont {
    display: flex;
    flex-direction: column;
}

.main-blog-ranking .ranking-items li .df .cate {
    margin-bottom: 8px;
    color: #9D9D9D;
}

.main-blog-ranking .ranking-items li .df .thumb {
    width: 72px;
    height: 72px;
}

.main-blog-ranking .ranking-items li .df .thumb img {
    width: 100%;
}

.main-blog-ranking .ranking-items .num {
    font-weight: 700;
    color: #0d7ea0;
    width: 24px;
}

.main-blog-ranking .ranking-items .txt {
    font-size: 15px;
    line-height: 1.4;
    color: #333;
    max-width: 280px;
    word-break: keep-all;
}

/* 반응형 */
@media (max-width: 768px) {
    .main-blog-ranking .container {
        flex-direction: column;
    }
}

.main-video-clip {
    padding: 0 20px;
    background: #fff;
}

.main-video-clip .container {
    max-width: 1440px;
    margin: 0 auto;
}



.main-video-clip .arrow-icon {
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.main-video-clip .video-list {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-video-clip .video-list li {
    width: calc(25% - 18px);
    /* 4개 정렬 시 */
}

.main-video-clip .video-list a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.main-video-clip .video-list .thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 8px;
}

.main-video-clip .video-list .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-video-clip .video-list .txt {
    margin-top: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
}

/* 반응형 */
@media (max-width: 768px) {
    .main-video-clip .video-list {
        flex-wrap: wrap;
    }

    .main-video-clip .video-list li {
        width: calc(50% - 12px);
    }
}

.main-blog-popular {
    padding: 0 20px;
    background: #fff;
}

.main-blog-popular .container {
    max-width: 1440px;
    margin: 0 auto;
}

.main-blog-popular .popular-wrap {
    display: flex;
    gap: 40px;
    flex-wrap: nowrap;
    /* ✅ 좌우 고정 */
    align-items: flex-start;
}

.main-blog-popular .popular-main {
    flex: 1 1 60%;
    min-width: 0;
}

.main-blog-popular .popular-main a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.main-blog-popular .popular-main .thumb {
    margin-right: 40px;
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
    border-radius: 8px;

}

.main-blog-popular .popular-main .thumb img {
    width: 100%;
    height: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-height: 100%;
}

.main-blog-popular .popular-main .info {
    margin-top: 12px;
}

.main-blog-popular .popular-main .cate {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.main-blog-popular .popular-main .tit {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.main-blog-popular .popular-main .date {
    font-size: 14px;
    color: #999;
}

.main-blog-popular .popular-list {
    flex: 1 1 40%;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-blog-popular .popular-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.main-blog-popular .popular-list a {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: inherit;
    gap: 16px;
    width: 100%;
}

.main-blog-popular .popular-list .text {
    flex: 1;
}

.main-blog-popular .popular-list .cate {
    font-size: 14px;
    color: #888;
    margin-bottom: 4px;
}

.main-blog-popular .popular-list .tit {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.main-blog-popular .popular-list .date {
    font-size: 13px;
    color: #aaa;
}

.main-blog-popular .popular-list .thumb {
    width: 90px;
    height: 90px;
    border-radius: 4px;
    flex-shrink: 0;
}

.main-blog-popular .popular-list .thumb img {
    width: 100%;
}

/* ✅ 반응형 */
@media (max-width: 768px) {
    .main-blog-popular .popular-wrap {
        flex-direction: column;
    }
}

.main-category-posts {
    padding: 0 20px;
    background: #fff;
}

.main-category-posts .container {
    max-width: 1440px;
    margin: 0 auto;
}

.main-category-posts .title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.main-category-posts .title-row h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
}



.main-category-posts .arrow-icon {
    width: 24px;
    height: 24px;
}

.main-category-posts .arrow-icon img {
    width: 100%;
    display: block;
}

.main-category-posts .category-list {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-category-posts .category-list li {
    width: calc(25% - 18px);
}

.main-category-posts .category-list a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.main-category-posts .thumb {
    aspect-ratio: 16 / 9;
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
}

.main-category-posts .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.main-category-posts .txt {
    font-size: 15px;
    font-weight: 500;
    color: #222;
    line-height: 1.4;
    margin-bottom: 4px;
}

.main-category-posts .date {
    font-size: 13px;
    color: #888;
}
/* 반응형 */
@media (max-width: 768px) {
    .main-blog-ranking .feature-thumbnail {
        position: relative;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .main-blog-ranking .feature-thumbnail img {
        width: 100%;
        position: static;
        display: block;
        transform: translate(0, 0);
    }
/*

    .main-blog-ranking .feature-thumbnail::after {
        display: none;
    }
*/

    .main-blog-ranking .feature-thumbnail {
        height: inherit;
    }

    .main-blog-ranking .feature-content {
        left: 30px;
        bottom: 20px;
    }

    .main-blog-ranking .label {
        margin-bottom: 6px;
    }

    .main-blog-ranking .title {
        font-size: 16px;
    }

    .main-blog-ranking .main-feature {
        width: 100%;
    }
    
    .main-blog-popular .popular-main .thumb {
        
    }
    
    .main-blog-popular .popular-main,
    .main-blog-popular .popular-list {
        width: 100%;
    }

    .main-category-posts .category-list {
        flex-wrap: wrap;
    }

    .main-category-posts .category-list li {
        width: calc(50% - 12px);
    }
    
        section .title-row h2,
    .main-category-posts .title-row h2 {
    font-size: 18px;
    }
    
    .main-category-posts .arrow-icon img {
        width: 20px;
    }
}
