
#container_title{display:none!important}

:root{
    --wict-primary:#5c46e8;
    --wict-primary-dark:#4732c7;
    --wict-title:#171936;
    --wict-text:#44495e;
    --wict-muted:#777c90;
    --wict-line:#e4e6ef;
    --wict-soft:#f7f7fc;
    --wict-white:#fff;
    --wict-danger:#c84252;
}

/* 기존 목록 */
.wict-board-shell{
    width:calc(100% - 40px);
    max-width:1170px;
    margin:70px auto;
    padding:0;
    color:var(--wict-title);
}
.wict-board-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:24px;
    padding-bottom:26px;
    border-bottom:2px solid var(--wict-title);
}
.wict-board-head span{
    display:block;
    margin-bottom:7px;
    color:var(--wict-primary);
    font-size:12px;
    font-weight:800;
    letter-spacing:1.8px;
}
.wict-board-head h2{
    margin:0;
    color:var(--wict-title);
    font-size:34px;
}
.wict-board-head p{
    margin:8px 0 0;
    color:#73718a;
}
.wict-primary-btn,
.wict-search button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:0;
    border-radius:11px;
    background:var(--wict-primary);
    color:#fff!important;
    font-weight:800;
    text-decoration:none;
    cursor:pointer;
}
.wict-primary-btn{min-height:46px;padding:0 20px}
.wict-board-list{border-bottom:1px solid #e8e9f3}
.wict-board-row{
    display:flex;
    align-items:center;
    gap:22px;
    min-height:86px;
    padding:18px 12px;
    border-bottom:1px solid #ececf3;
    background:#fff;
}
.wict-board-row:hover{background:#fafaff}
.wict-status{
    flex:0 0 86px;
    padding:8px 5px;
    border-radius:999px;
    text-align:center;
    font-size:13px;
    font-weight:800;
}
.wict-status.wait{background:#f0edff;color:var(--wict-primary)}
.wict-status.done{background:#e8faf5;color:#087f6d}
.wict-number{flex:0 0 64px;text-align:center;color:#8a899a;font-weight:700}
.is-notice .wict-number{color:var(--wict-primary)}
.wict-row-main{min-width:0;flex:1}
.wict-subject{
    display:block;
    overflow:hidden;
    color:#24223e!important;
    font-size:17px;
    font-weight:700;
    text-overflow:ellipsis;
    white-space:nowrap;
    text-decoration:none;
}
.wict-meta{display:flex;gap:16px;margin-top:9px;color:#9290a1;font-size:13px}
.wict-empty{padding:80px 20px;text-align:center;color:#88869b}
.wict-board-bottom{display:flex;flex-direction:column;align-items:center;gap:28px;padding-top:32px}
.wict-search{display:flex;max-width:520px;width:100%;gap:8px}
.wict-search select,.wict-search input{
    min-height:44px;
    border:1px solid #dadbe6;
    border-radius:10px;
    background:#fff;
    padding:0 13px;
}
.wict-search input{min-width:0;flex:1}
.wict-search button{padding:0 20px}
.pg_wrap{margin:0!important}
.pg_page,.pg_current{
    display:inline-grid!important;
    place-items:center;
    min-width:38px;
    height:38px;
    margin:0 3px!important;
    border:1px solid #e3e3ed!important;
    border-radius:9px!important;
    background:#fff!important;
    color:#66647b!important;
}
.pg_current{border-color:var(--wict-primary)!important;background:var(--wict-primary)!important;color:#fff!important}

/* 공개 페이지 상단 비주얼 */
.wict-board-visual{
    width:100vw;
    margin:0 0 52px calc(50% - 50vw);
    padding:72px 20px 68px;
    overflow:hidden;
    border-bottom:1px solid rgba(92,70,232,.08);
    background:
        radial-gradient(circle at 18% 10%,rgba(92,70,232,.18),transparent 32%),
        radial-gradient(circle at 82% 15%,rgba(34,194,173,.14),transparent 30%),
        linear-gradient(125deg,#f3f0ff 0%,#f2fbfa 100%);
    text-align:center;
}
.wict-board-visual__inner{
    width:calc(100% - 40px);
    max-width:1170px;
    margin:0 auto;
}
.wict-board-visual__badge{
    display:inline-flex;
    min-height:32px;
    align-items:center;
    justify-content:center;
    padding:7px 14px;
    border-radius:999px;
    background:rgba(92,70,232,.11);
    color:var(--wict-primary);
    font-size:12px;
    font-weight:800;
    letter-spacing:.1em;
}
.wict-board-visual h1{
    margin:17px 0 10px;
    color:var(--wict-title);
    font-size:40px;
    line-height:1.25;
    font-weight:850;
    letter-spacing:-.045em;
}
.wict-board-visual p{
    margin:0;
    color:#70758a;
    font-size:16px;
    line-height:1.7;
}

/* 공통 버튼 */
.wict-btn{
    display:inline-flex;
    min-height:44px;
    align-items:center;
    justify-content:center;
    padding:0 17px;
    border:1px solid var(--wict-line);
    border-radius:10px;
    background:#fff;
    color:#555a70!important;
    font-size:14px;
    font-weight:800;
    line-height:1;
    text-decoration:none!important;
    cursor:pointer;
}
.wict-btn--primary{border-color:var(--wict-primary);background:var(--wict-primary);color:#fff!important}
.wict-btn--primary:hover{background:var(--wict-primary-dark)}
.wict-btn--answer{border-color:#d9d2ff;background:#f1efff;color:var(--wict-primary)!important}
.wict-btn--danger{border-color:#f0d3d8;color:var(--wict-danger)!important}
.wict-btn--secondary:hover{border-color:#9c8ff4;color:var(--wict-primary)!important}

/* 글쓰기 */
.wict-write-card{
    width:calc(100% - 40px)!important;
    max-width:1170px!important;
    margin:0 auto 76px!important;
    padding:34px!important;
    border:1px solid var(--wict-line)!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 14px 38px rgba(27,30,61,.06)!important;
}
.wict-write-heading{
    margin-bottom:28px;
    padding-bottom:22px;
    border-bottom:1px solid var(--wict-line);
}
.wict-write-heading span,.wict-comment-form__heading span,.wict-answer-form__heading span{
    color:var(--wict-primary);
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
}
.wict-write-heading h2,.wict-comment-form__heading h2,.wict-answer-form__heading h2{
    margin:7px 0 6px;
    color:var(--wict-title);
    font-size:24px;
}
.wict-write-heading p,.wict-comment-form__heading p,.wict-answer-form__heading p{
    margin:0;
    color:var(--wict-muted);
    font-size:14px;
}
.wict-field{margin-bottom:20px}
.wict-field-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.wict-field label,.wict-upload-item>label{
    display:block;
    margin-bottom:8px;
    color:#2c304a;
    font-size:14px;
    font-weight:800;
}
.wict-field label em{color:var(--wict-primary);font-style:normal;font-size:12px}
.wict-field input[type=text],
.wict-field input[type=password],
.wict-field input[type=email],
.wict-field input[type=url],
.wict-field select,
.wict-field textarea,
.wict-upload-item input[type=text]{
    width:100%!important;
    max-width:none!important;
    min-height:50px!important;
    padding:13px 15px!important;
    border:1px solid #dfe2eb!important;
    border-radius:11px!important;
    background:#fff!important;
    color:var(--wict-title)!important;
    font-size:15px!important;
    box-shadow:none!important;
    outline:none!important;
}
.wict-field input:focus,.wict-field select:focus,.wict-field textarea:focus,.wict-upload-item input:focus{
    border-color:var(--wict-primary)!important;
    box-shadow:0 0 0 3px rgba(92,70,232,.1)!important;
}
.wict-field-help{margin:0 0 8px;color:var(--wict-muted);font-size:13px}
.wict-option-box{
    display:flex;
    flex-wrap:wrap;
    gap:13px;
    margin-bottom:20px;
    padding:14px 16px;
    border-radius:11px;
    background:var(--wict-soft);
}
.wict-check{display:inline-flex!important;align-items:center;gap:7px!important;margin:0!important;cursor:pointer}
.wict-check input{width:17px!important;height:17px!important;margin:0!important}
.wict-check span{font-size:14px;font-weight:700;color:#555a70}
.wict-editor-box{
    overflow:hidden;
    border:1px solid #dfe2eb;
    border-radius:12px;
    background:#fff;
}
.wict-editor-box textarea{
    width:100%!important;
    min-height:280px!important;
    margin:0!important;
    border:0!important;
    border-radius:0!important;
}
.wict-editor-box iframe{max-width:100%!important}
.wict-editor-box .cke,.wict-editor-box .smarteditor2{width:100%!important;border:0!important}
#char_count_wrap{text-align:right;margin-top:6px;color:var(--wict-muted);font-size:12px}
.wict-upload-group{
    margin:22px 0;
    padding:20px;
    border:1px solid var(--wict-line);
    border-radius:14px;
    background:var(--wict-soft);
}
.wict-upload-heading{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:14px;
}
.wict-upload-heading strong{color:var(--wict-title)}
.wict-upload-heading span{color:var(--wict-muted);font-size:12px}
.wict-upload-item{
    display:grid;
    grid-template-columns:90px minmax(0,1fr);
    gap:10px 14px;
    align-items:center;
    padding:13px 0;
    border-top:1px solid var(--wict-line);
}
.wict-upload-item:first-of-type{border-top:0}
.wict-upload-item>label{margin:0}
.wict-upload-item input[type=file]{
    width:100%;
    min-height:46px;
    padding:8px;
    border:1px solid #dfe2eb;
    border-radius:10px;
    background:#fff;
}
.wict-upload-item input[type=text],.wict-file-delete{grid-column:2}
.wict-file-delete{display:flex!important;align-items:center;gap:7px!important;margin:0!important;color:var(--wict-danger)!important;font-size:13px!important}
.wict-captcha-box{
    display:flex;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin-top:22px;
    padding:18px;
    border:1px solid var(--wict-line);
    border-radius:13px;
    background:#fff;
}
.wict-form-actions{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:30px;
}
.wict-form-actions .wict-btn{min-width:136px;min-height:50px}

/* 보기 */
.wict-view-toolbar{
    width:calc(100% - 40px);
    max-width:1170px;
    margin:0 auto 12px;
    display:flex;
    justify-content:space-between;
    gap:14px;
}
.wict-view-toolbar__primary,.wict-view-toolbar__manage{display:flex;gap:8px;flex-wrap:wrap}
.wict-view-card{
    width:calc(100% - 40px)!important;
    max-width:1170px!important;
    margin:0 auto 24px!important;
    padding:36px!important;
    overflow:visible!important;
    border:1px solid var(--wict-line)!important;
    border-radius:20px!important;
    background:#fff!important;
    box-shadow:0 14px 38px rgba(27,30,61,.06)!important;
}
.wict-view-header{
    margin-bottom:30px;
    padding-bottom:25px;
    border-bottom:1px solid var(--wict-line);
}
.wict-view-labels{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:11px}
.wict-category,.wict-answer-status{
    display:inline-flex;
    min-height:27px;
    align-items:center;
    padding:4px 10px;
    border-radius:999px;
    font-size:12px;
    font-weight:800;
}
.wict-category{background:#f0edff;color:var(--wict-primary)}
.wict-answer-status.is-wait{background:#f0edff;color:var(--wict-primary)}
.wict-answer-status.is-done{background:#e8faf5;color:#087f6d}
#bo_v_title{
    margin:0!important;
    color:var(--wict-title)!important;
    font-size:30px!important;
    line-height:1.45!important;
    font-weight:850!important;
    letter-spacing:-.04em!important;
}
.wict-view-meta{
    display:flex!important;
    gap:13px 20px!important;
    flex-wrap:wrap!important;
    margin-top:15px!important;
    color:var(--wict-muted)!important;
    font-size:13px!important;
}
.wict-view-meta span{display:inline-flex;gap:5px}
.wict-view-meta strong{color:#4e5369}
.wict-view-content{min-height:260px}
#bo_v_con{
    min-height:230px!important;
    padding:5px 2px 30px!important;
    color:#363b50!important;
    font-size:16px!important;
    line-height:1.9!important;
    word-break:break-word!important;
}
#bo_v_con img,.wict-view-images img{max-width:100%!important;height:auto!important;border-radius:10px}
.wict-view-images{margin-bottom:20px}
.wict-signature{margin-top:25px;padding-top:20px;border-top:1px solid var(--wict-line)}
.wict-resource-box{
    margin-top:22px;
    padding:20px;
    border:1px solid var(--wict-line);
    border-radius:14px;
    background:var(--wict-soft);
}
.wict-resource-box h3{margin:0 0 12px;color:var(--wict-title);font-size:16px}
.wict-resource-box ul{margin:0;padding:0;list-style:none}
.wict-resource-box li{
    display:flex;
    justify-content:space-between;
    gap:18px;
    padding:11px 0;
    border-top:1px solid var(--wict-line);
}
.wict-resource-box li:first-child{border-top:0}
.wict-resource-box a{color:var(--wict-primary)!important;font-weight:700}
.wict-resource-box p{margin:4px 0 0;color:var(--wict-muted);font-size:12px}
.wict-resource-box li>span{white-space:nowrap;color:var(--wict-muted);font-size:12px}
.wict-neighbor-posts{
    width:calc(100% - 40px);
    max-width:1170px;
    margin:0 auto 25px;
    overflow:hidden;
    border:1px solid var(--wict-line);
    border-radius:14px;
    background:#fff;
}
.wict-neighbor-posts a{
    display:grid;
    grid-template-columns:72px minmax(0,1fr);
    gap:14px;
    align-items:center;
    min-height:56px;
    padding:0 19px;
    border-top:1px solid var(--wict-line);
    text-decoration:none;
}
.wict-neighbor-posts a:first-child{border-top:0}
.wict-neighbor-posts span{color:var(--wict-primary);font-size:13px;font-weight:800}
.wict-neighbor-posts strong{overflow:hidden;color:#555a70;text-overflow:ellipsis;white-space:nowrap}
.wict-view-bottom{
    width:calc(100% - 40px);
    max-width:1170px;
    margin:0 auto 75px;
    text-align:center;
}

/* 일반 댓글 */
.wict-comment-panel,.wict-comment-form,.wict-answer-panel,.wict-answer-form{
    width:calc(100% - 40px)!important;
    max-width:1170px!important;
    margin:0 auto 22px!important;
    padding:28px!important;
    border:1px solid var(--wict-line)!important;
    border-radius:18px!important;
    background:#fff!important;
}
.wict-comment-panel__heading,.wict-answer-panel__heading{
    display:flex;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}
.wict-comment-panel__heading span,.wict-answer-panel__heading span{
    display:block;
    margin-bottom:6px;
    color:var(--wict-primary);
    font-size:11px;
    font-weight:800;
    letter-spacing:.12em;
}
.wict-comment-panel__heading h2,.wict-answer-panel__heading h2{
    margin:0;
    color:var(--wict-title);
    font-size:22px;
}
.wict-comment-panel__heading h2 em{color:var(--wict-primary);font-style:normal}
.wict-answer-panel__heading p{margin:6px 0 0;color:var(--wict-muted);font-size:13px}
.wict-comment-item{padding:19px 0;border-top:1px solid var(--wict-line)}
.wict-comment-item:first-child{border-top:0}
.wict-comment-item.is-reply{margin-left:28px}
.wict-comment-item header,.wict-answer-item header{
    display:flex;
    justify-content:space-between;
    gap:15px;
    margin-bottom:11px;
}
.wict-comment-author strong{color:#222641}
.wict-comment-author time,.wict-answer-item time{margin-left:9px;color:#8a8ea0;font-size:12px}
.wict-comment-actions,.wict-answer-actions{display:flex;gap:10px}
.wict-comment-actions a,.wict-answer-actions a{color:var(--wict-muted)!important;font-size:12px}
.wict-comment-body{
    padding:15px 17px;
    border-radius:11px;
    background:var(--wict-soft);
    color:#42475d;
    line-height:1.75;
}
.wict-secret-badge{
    display:inline-flex;
    margin-right:7px;
    padding:3px 7px;
    border-radius:999px;
    background:#ece9ff;
    color:var(--wict-primary);
    font-size:11px;
    font-weight:800;
}
#bo_vc_empty{margin:0;padding:28px;border-radius:12px;background:var(--wict-soft);color:var(--wict-muted);text-align:center}
.wict-comment-form textarea,.wict-answer-form textarea{
    width:100%!important;
    min-height:170px!important;
    padding:15px!important;
    border:1px solid #dfe2eb!important;
    border-radius:11px!important;
    resize:vertical!important;
    line-height:1.7!important;
}
.wict-comment-limit{text-align:right;color:var(--wict-muted);font-size:12px}
.wict-comment-guest{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin-top:11px;
}
.wict-comment-guest input{
    width:100%;
    min-height:48px;
    padding:0 14px;
    border:1px solid #dfe2eb;
    border-radius:10px;
}
.wict-comment-captcha{margin-top:12px}
.wict-comment-options{margin-top:12px}
.wict-comment-submit{display:flex;justify-content:flex-end;margin-top:14px}

/* Q&A 공식 답변 */
.wict-answer-count{
    display:inline-flex;
    min-height:32px;
    align-items:center;
    padding:0 12px;
    border-radius:999px;
    background:#eeeaff;
    color:var(--wict-primary);
    font-size:12px;
}
.wict-answer-item{
    margin-top:14px;
    padding:22px;
    border:1px solid #ddd7ff;
    border-radius:14px;
    background:#faf9ff;
}
.wict-answer-item header>div{display:flex;align-items:center;gap:8px}
.wict-answer-item header strong{color:var(--wict-title)}
.wict-answer-badge{
    display:inline-flex;
    min-height:25px;
    align-items:center;
    padding:3px 8px;
    border-radius:999px;
    background:var(--wict-primary);
    color:#fff;
    font-size:11px;
    font-weight:800;
}
.wict-answer-body{
    padding:17px 18px;
    border:1px solid #e8e4ff;
    border-radius:11px;
    background:#fff;
    color:#3f4459;
    line-height:1.8;
}
.wict-answer-actions{justify-content:flex-end;margin-top:11px}
.wict-answer-empty{
    padding:34px;
    border-radius:13px;
    background:var(--wict-soft);
    text-align:center;
}
.wict-answer-empty strong{color:var(--wict-title);font-size:17px}
.wict-answer-empty p{margin:7px 0 0;color:var(--wict-muted);font-size:13px}
.wict-answer-form{margin-bottom:30px!important}

/* 캡차 및 외부 에디터 안전 처리 */
#captcha{max-width:100%}
#captcha audio{max-width:100%}
.cke,.cke_inner,.se2_input_area,.smarteditor2{max-width:100%!important}
textarea#wr_content{box-sizing:border-box!important}

@media(max-width:767px){
    .wict-board-shell{
        width:calc(100% - 28px);
        margin:45px auto;
    }
    .wict-board-head{align-items:flex-start}
    .wict-board-head h2{font-size:27px}
    .wict-board-head p{font-size:13px}
    .wict-board-row{gap:12px;padding:16px 4px}
    .wict-status{flex-basis:72px;font-size:12px}
    .wict-number{flex-basis:42px}
    .wict-subject{font-size:15px}
    .wict-meta{gap:10px;flex-wrap:wrap}
    .wict-search{flex-wrap:wrap}
    .wict-search select{width:100%}

    .wict-board-visual{margin-bottom:30px;padding:50px 14px 46px}
    .wict-board-visual__inner{width:100%}
    .wict-board-visual h1{font-size:31px}
    .wict-board-visual p{font-size:14px}

    .wict-write-card,.wict-view-card,.wict-comment-panel,.wict-comment-form,.wict-answer-panel,.wict-answer-form,
    .wict-view-toolbar,.wict-neighbor-posts,.wict-view-bottom{
        width:calc(100% - 28px)!important;
    }
    .wict-write-card,.wict-view-card{padding:21px!important;border-radius:15px!important}
    .wict-field-grid,.wict-comment-guest{grid-template-columns:1fr}
    .wict-upload-heading{flex-direction:column}
    .wict-upload-item{grid-template-columns:1fr}
    .wict-upload-item input[type=text],.wict-file-delete{grid-column:1}
    .wict-form-actions{flex-direction:column-reverse}
    .wict-form-actions .wict-btn{width:100%}

    .wict-view-toolbar{align-items:stretch;flex-direction:column}
    .wict-view-toolbar__primary,.wict-view-toolbar__manage{width:100%}
    .wict-view-toolbar .wict-btn{flex:1}
    #bo_v_title{font-size:23px!important}
    .wict-view-meta{gap:8px 12px!important}
    .wict-resource-box li{flex-direction:column}
    .wict-neighbor-posts a{grid-template-columns:58px minmax(0,1fr)}

    .wict-comment-panel,.wict-comment-form,.wict-answer-panel,.wict-answer-form{padding:19px!important;border-radius:15px!important}
    .wict-comment-item header,.wict-answer-item header{align-items:flex-start;flex-direction:column}
    .wict-comment-author time,.wict-answer-item time{display:block;margin:5px 0 0}
    .wict-comment-item.is-reply{margin-left:14px}
    .wict-answer-item{padding:16px}
}
