@charset "utf-8";

/* ============================================
   내용관리(약관/개인정보 등) — FAQ · 1:1문의 톤앤매너
   Montserrat · Pretendard / #191919
   ============================================ */

body.page-content{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
}
body.page-content #wrapper{
    flex: 1 0 auto;
}
body.page-content #footer{
    flex-shrink: 0;
}

/* 그누보드 #container / shop-content 폭·여백 리셋 */
body.page-content #wrapper,
body.page-content #container,
body.page-content .shop-content{
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    float: none;
}

.ctt__section{
    background: #fff;
    padding: 120px 20px 160px;
    box-sizing: border-box;
}

.ctt__inner{
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
}

/* ── 헤더 (FAQ .faq__head 와 동일 스펙) ── */
.ctt__head{
    width: 100%;
    margin: 0;
    text-align: center;
}

.ctt__title{
    margin: 0;
    width: 100%;
    font-family: "Montserrat", "Pretendard", sans-serif;
    font-size: 48px;
    font-weight: 600;
    line-height: 60px;
    letter-spacing: -1.2px;
    text-align: center;
    color: #191919;
    word-break: keep-all;
}

.ctt__rule{
    width: 100%;
    height: 60px;
    border-bottom: 2px solid #191919;
    box-sizing: border-box;
}

/* ── 약관 / 개인정보 탭 ── */
.ctt__tabs{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 32px 0 48px;
}

.ctt__tab{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 20px;
    border: 1px solid #ddd;
    background: #fff;
    color: #666;
    font-family: "Pretendard", sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -0.35px;
    text-decoration: none;
    box-sizing: border-box;
    transition: background .18s ease, color .18s ease, border-color .18s ease;
}

.ctt__tab:hover{
    border-color: #191919;
    color: #191919;
}

.ctt__tab.is-active{
    border-color: #191919;
    background: #191919;
    color: #fff;
    font-weight: 600;
}

/* ── 본문 ── */
#ctt{
    margin: 0;
    padding: 0;
    background: transparent;
}

.ctt_admin{
    text-align: right;
    margin: 0 0 16px;
}

.ctt__body,
#ctt_con{
    padding: 0;
    margin: 0;
    font-family: "Pretendard", sans-serif !important;
    font-size: 15px !important;
    font-weight: 400 !important;
    line-height: 1.75 !important;
    letter-spacing: -0.3px;
    color: #505050 !important;
    word-break: keep-all;
}

/* 관리자 HTML 인라인 스타일 덮어쓰기 */
#ctt_con *,
#ctt_con div,
#ctt_con p,
#ctt_con span,
#ctt_con li,
#ctt_con ul,
#ctt_con ol{
    font-family: "Pretendard", sans-serif !important;
    box-sizing: border-box;
}

#ctt_con > div{
    margin: 0 0 40px !important;
    padding: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    list-style: none !important;
}

#ctt_con > div:last-child{
    margin-bottom: 0 !important;
}

/* 조항 제목 */
#ctt_con h1,
#ctt_con h2,
#ctt_con h3,
#ctt_con h4{
    margin: 0 0 16px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid #eee !important;
    font-family: "Pretendard", sans-serif !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    letter-spacing: -0.4px !important;
    color: #191919 !important;
    vertical-align: baseline !important;
}

#ctt_con h1 + ul,
#ctt_con h1 + ol,
#ctt_con h2 + ul,
#ctt_con h2 + ol{
    margin-top: 0 !important;
}

#ctt_con ul,
#ctt_con ol{
    margin: 0 0 8px !important;
    padding: 0 !important;
    list-style: none !important;
    color: #505050 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

#ctt_con li,
#ctt_con p{
    margin: 0 0 10px !important;
    padding: 0 !important;
    color: #505050 !important;
    font-size: 15px !important;
    line-height: 1.75 !important;
}

#ctt_con br{
    display: block;
    content: "";
    margin: 0;
}

#ctt_con a{
    color: #191919;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#ctt_con img{
    max-width: 100%;
    height: auto;
}

.ctt_img{
    text-align: center;
    margin: 24px 0;
}

/* 개인정보 표 */
#ctt_con table{
    width: 100% !important;
    margin: 0 0 32px !important;
    border-collapse: collapse !important;
    border-top: 2px solid #191919 !important;
    border-bottom: 1px solid #191919 !important;
    font-family: "Pretendard", sans-serif !important;
    font-size: 14px !important;
    color: #191919 !important;
}

#ctt_con table th,
#ctt_con table td{
    padding: 14px 16px !important;
    border: 1px solid #eee !important;
    border-left: 0 !important;
    border-right: 0 !important;
    text-align: left !important;
    vertical-align: top !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    letter-spacing: -0.3px !important;
    word-break: keep-all;
}

#ctt_con table th{
    background: #f7f7f7 !important;
    font-weight: 600 !important;
    color: #191919 !important;
    white-space: nowrap;
}

#ctt_con table tr:first-child th,
#ctt_con table thead th{
    background: #f7f7f7 !important;
}

/* ── 반응형 ── */
@media screen and (max-width: 768px){
    .ctt__section{ padding: 80px 16px 100px; }
    .ctt__title{
        font-size: 28px;
        line-height: 1.3;
        letter-spacing: -0.8px;
    }
    .ctt__rule{ height: 40px; }
    .ctt__tabs{ margin: 24px 0 36px; gap: 6px; }
    .ctt__tab{
        min-height: 38px;
        padding: 0 14px;
        font-size: 13px;
    }
    #ctt_con,
    .ctt__body{
        font-size: 14px !important;
    }
    #ctt_con h1,
    #ctt_con h2,
    #ctt_con h3,
    #ctt_con h4{
        font-size: 16px !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
    }
    #ctt_con > div{ margin-bottom: 32px !important; }
    #ctt_con table th,
    #ctt_con table td{
        padding: 12px 10px !important;
        font-size: 13px !important;
    }
    #ctt_con table th{ white-space: normal; }
}

@media screen and (max-width: 480px){
    .ctt__title{ font-size: 24px; }
    .ctt__tabs{ flex-direction: column; }
    .ctt__tab{ width: 100%; }
}
