@charset "utf-8";

/* 내용관리 */
#ctt {
    width: 100%;
    margin: 0;
    padding: 264px 0 120px;
    background: #FFFBEF;
}

#ctt > * {
    width: 95%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* 관리자 수정 버튼 */
.ctt_admin {
    margin-bottom: 20px;
    text-align: right;
}

.ctt_admin a {
    display: inline-flex;
    align-items: center;
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    color: #222;
    border: 1px solid #222;
    border-radius: 100000rem;
    background: transparent;
    transition: all 0.2s ease-in-out;
}

.ctt_admin a:hover {
    color: #fff;
    background: #E00BA7;
    border-color: #E00BA7;
}

/* 타이틀 */
#ctt header {
    margin-bottom: 50px;
    padding-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #222;
}

#ctt header h1 {
    position: static;
    font-size: 40px;
    font-weight: 700;
    line-height: 1.3;
    color: #111;
    word-break: keep-all;
    overflow: visible;
}

/* 본문 */
#ctt_con {
    padding: 50px;
    font-size: 15px;
    line-height: 1.8;
    color: #333;
    word-break: keep-all;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

#ctt_con p {
    margin: 0 0 10px;
}

#ctt_con h2,
#ctt_con h3,
#ctt_con h4 {
    margin: 40px 0 14px;
    font-weight: 700;
    line-height: 1.4;
    color: #111;
}

#ctt_con h2 { font-size: 22px; }
#ctt_con h3 { font-size: 19px; }
#ctt_con h4 { font-size: 17px; }

#ctt_con > *:first-child {
    margin-top: 0;
}

#ctt_con strong,
#ctt_con b {
    font-weight: 700;
    color: #111;
}

#ctt_con ul,
#ctt_con ol {
    margin: 0 0 14px;
    padding-left: 20px;
}

#ctt_con ul li { list-style: disc; }
#ctt_con ol li { list-style: decimal; }

#ctt_con li {
    margin-bottom: 4px;
}

#ctt_con a {
    color: #E00BA7;
    text-decoration: underline;
}

#ctt_con table {
    width: 100%;
    margin: 14px 0 20px;
    border-collapse: collapse;
    border-top: 2px solid #222;
}

#ctt_con th,
#ctt_con td {
    padding: 12px 14px;
    font-size: 14px;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

#ctt_con th {
    font-weight: 700;
    color: #111;
    background: #faf7ec;
}

#ctt_con img {
    max-width: 100%;
    height: auto;
}

.ctt_img {
    text-align: center;
}

/* 반응형 */
@media (max-width: 1280px) {
    #ctt { padding: 216px 0 100px; }
    #ctt header h1 { font-size: 34px; }
    #ctt_con { padding: 40px; }
}

@media (max-width: 768px) {
    #ctt { padding: 104px 0 70px; }
    #ctt header { margin-bottom: 30px; padding-bottom: 20px; }
    #ctt header h1 { font-size: 28px; }
    #ctt_con { padding: 28px 22px; font-size: 14px; border-radius: 12px; }
    #ctt_con h2 { font-size: 19px; }
    #ctt_con h3 { font-size: 17px; }
    #ctt_con h4 { font-size: 16px; }
    #ctt_con table { display: block; overflow-x: auto; }
}

@media (max-width: 480px) {
    #ctt { padding: 94px 0 50px; }
    #ctt header h1 { font-size: 24px; }
    #ctt_con { padding: 22px 16px; font-size: 13px; }
}