@charset "utf-8";

/* 내용관리 */
#ctt {margin:10px 0;padding:20px;background:#fff}
.ctt_admin {text-align:right}
#ctt header h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#ctt_con {padding:10px 0;line-height:1.6em}
#ctt_con img{max-width:100%;height:auto}
.ctt_img {text-align:center}
/* =========================================================
   원창학원 이사장 인사말
   ========================================================= */

#ctt_con .wc-chairman {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 35px 10px 70px;
    box-sizing: border-box;
    font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
    color: #5f5f5f;
}

#ctt_con .wc-chairman *,
#ctt_con .wc-chairman *::before,
#ctt_con .wc-chairman *::after {
    box-sizing: border-box;
}


/* =========================================================
   제목
   ========================================================= */

#ctt_con .wc-chairman-title {
    margin: 0 0 52px;
    text-align: center;
    font-size: 28px;
    line-height: 1.45;
    font-weight: 600;
    letter-spacing: -0.045em;
    color: #4d4d4d;
}

#ctt_con .wc-chairman-title-point {
    display: inline;
    color: #e99500;
    font-weight: 700;
}


/* =========================================================
   사진 + 상단 인사말
   ========================================================= */

#ctt_con .wc-chairman-intro {
    display: flex;
    align-items: flex-start;
    gap: 34px;
    margin-bottom: 32px;
}


/* 사진 */
#ctt_con .wc-chairman-photo {
    flex: 0 0 210px;
    width: 210px;
}

#ctt_con .wc-chairman-photo img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0;
    border: 0;
}


/* 사진 오른쪽 영역 */
#ctt_con .wc-chairman-opening {
    flex: 1;
    min-width: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.95;
    letter-spacing: -0.025em;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #595959;
}


/* 상단 문단 */
#ctt_con .wc-chairman-opening .wc-chairman-text {
    margin: 0 0 15px;
}

#ctt_con .wc-chairman-opening .wc-chairman-text:last-child {
    margin-bottom: 0;
}


/* 첫 두 문장 강조 */
#ctt_con .wc-chairman-opening-main {
    font-weight: 600;
    color: #444;
}


/* =========================================================
   일반 본문
   ========================================================= */

#ctt_con .wc-chairman-body {
    width: 100%;
    font-size: 16px;
    line-height: 2;
    letter-spacing: -0.025em;
    word-break: keep-all;
    overflow-wrap: break-word;
    color: #5f5f5f;
}

#ctt_con .wc-chairman-text {
    margin: 0 0 22px;
}


/* =========================================================
   정산종사 법문
   ========================================================= */

#ctt_con .wc-chairman-quote {
    position: relative;
    margin: 0 0 25px;
    padding: 24px 28px;
    background: #faf8f3;
    border-left: 4px solid #e9a332;
    color: #555;
}

#ctt_con .wc-chairman-quote-text {
    margin: 0 0 10px;
    line-height: 1.95;
}

#ctt_con .wc-chairman-quote-text:last-child {
    margin-bottom: 0;
}


/* =========================================================
   강조 문장
   ========================================================= */

#ctt_con .wc-chairman-emphasis {
    margin: 26px 0;
    font-weight: 700;
    color: #454545;
}


/* =========================================================
   시
   ========================================================= */

#ctt_con .wc-chairman-poem {
    margin: 34px 0;
}


/* 시 소개 */
#ctt_con .wc-chairman-poem-title {
    margin-bottom: 16px;
    font-weight: 600;
    color: #4b4b4b;
}


/* 시 본문 */
#ctt_con .wc-chairman-poem-body {
    padding: 26px 30px;
    background: #fafafa;
    border-top: 1px solid #e9e9e9;
    border-bottom: 1px solid #e9e9e9;
    text-align: center;
}

#ctt_con .wc-chairman-poem-line {
    margin: 0 0 9px;
    line-height: 1.9;
    color: #595959;
}

#ctt_con .wc-chairman-poem-line:last-child {
    margin-bottom: 0;
}


/* =========================================================
   날짜 / 서명
   ========================================================= */

#ctt_con .wc-chairman-sign {
    margin-top: 48px;
    text-align: right;
    font-size: 16px;
    line-height: 1.9;
    color: #444;
}

#ctt_con .wc-chairman-sign-date {
    margin-bottom: 4px;
}

#ctt_con .wc-chairman-sign-name {
    font-weight: 600;
}


/* =========================================================
   태블릿
   ========================================================= */

@media screen and (max-width: 900px) {

    #ctt_con .wc-chairman {
        padding: 35px 20px 65px;
    }

    #ctt_con .wc-chairman-title {
        margin-bottom: 45px;
        font-size: 26px;
    }

    #ctt_con .wc-chairman-intro {
        gap: 28px;
    }

    #ctt_con .wc-chairman-photo {
        flex: 0 0 190px;
        width: 190px;
    }

    #ctt_con .wc-chairman-opening,
    #ctt_con .wc-chairman-body {
        font-size: 15.5px;
        line-height: 1.95;
    }

}


/* =========================================================
   모바일
   ========================================================= */

@media screen and (max-width: 680px) {

    #ctt_con .wc-chairman {
        padding: 25px 15px 55px;
    }


    /* 제목 */
    #ctt_con .wc-chairman-title {
        margin-bottom: 35px;
        font-size: 22px;
    }


    /* 사진과 글 세로 배치 */
    #ctt_con .wc-chairman-intro {
        display: block;
        margin-bottom: 26px;
    }


    /* 사진 */
    #ctt_con .wc-chairman-photo {
        width: 180px;
        margin: 0 auto 28px;
    }


    /* 상단 글 */
    #ctt_con .wc-chairman-opening {
        font-size: 15.5px;
        line-height: 1.9;
    }


    #ctt_con .wc-chairman-opening .wc-chairman-text {
        margin-bottom: 16px;
    }


    /* 본문 */
    #ctt_con .wc-chairman-body {
        font-size: 15.5px;
        line-height: 1.9;
        letter-spacing: -0.02em;
    }


    #ctt_con .wc-chairman-text {
        margin-bottom: 19px;
    }


    /* 법문 */
    #ctt_con .wc-chairman-quote {
        margin-bottom: 22px;
        padding: 20px 19px 20px 22px;
    }


    /* 강조 */
    #ctt_con .wc-chairman-emphasis {
        margin: 23px 0;
    }


    /* 시 */
    #ctt_con .wc-chairman-poem {
        margin: 28px 0;
    }

    #ctt_con .wc-chairman-poem-body {
        padding: 22px 18px;
        text-align: left;
    }


    /* 서명 */
    #ctt_con .wc-chairman-sign {
        margin-top: 38px;
        text-align: center;
        font-size: 15.5px;
    }

}

/* 사진 영역 */
#ctt_con .wc-chairman-photo {
    flex: 0 0 220px;
    width: 220px;
    position: relative;
}

/* 프레임 */
#ctt_con .wc-chairman-photo-frame {
    position: relative;
    padding: 12px;
    background: linear-gradient(180deg, #fffdf8 0%, #f5efe2 100%);
    border: 1px solid #e6dccb;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.10);
}

/* 상단 금색 포인트 */
#ctt_con .wc-chairman-photo-frame::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 3px;
    background: linear-gradient(90deg, #d89b2b 0%, #f0c56d 50%, #d89b2b 100%);
}

/* 하단 받침 느낌 */
#ctt_con .wc-chairman-photo-frame::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: -10px;
    height: 14px;
    background: rgba(0, 0, 0, 0.08);
    filter: blur(10px);
    z-index: -1;
}

/* 실제 이미지 */
#ctt_con .wc-chairman-photo img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    border: 1px solid #efe7d9;
    background: #ffffff;
}

/* 태블릿 */
@media screen and (max-width: 900px) {
    #ctt_con .wc-chairman-photo {
        flex: 0 0 200px;
        width: 200px;
    }

    #ctt_con .wc-chairman-photo-frame {
        padding: 10px;
    }
}

/* 모바일 */
@media screen and (max-width: 680px) {
    #ctt_con .wc-chairman-photo {
        width: 180px;
        margin: 0 auto 28px;
    }

    #ctt_con .wc-chairman-photo-frame {
        padding: 9px;
    }
}