@charset "utf-8";

/* 아크스미스 REFERENCE 게시판 — /page/solution/cases.php의 레이아웃 계승 */
/* 기존 홈페이지의 #sub_contents > .site-container 내부에 표시됩니다. */
#bo_gall.ark-reference-board {
    --reference-blue: #2962ff;
    width: 100%;
    min-width: 0;
    padding: 0 0 100px;
    margin: 0;
    color: #111;
    box-sizing: border-box;
}
#bo_gall.ark-reference-board *,
#bo_gall.ark-reference-board *::before,
#bo_gall.ark-reference-board *::after { box-sizing: border-box; }
/* 공지사항 게시판 (.ark-notice-heading)과 정확히 같은 글자 크기 */
#bo_gall.ark-reference-board .ark-reference-heading {
    width: 100%;
    margin: 0 0 40px;
    text-align: left;
}
#bo_gall.ark-reference-board .ark-reference-heading__label {
    margin: 0 0 8px;
    padding: 0;
    color: #2766F8;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}
#bo_gall.ark-reference-board .ark-reference-heading__title {
    position: static;
    display: block;
    width: auto;
    height: auto;
    overflow: visible;
    margin: 0;
    padding: 0;
    color: #111;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.04em;
    text-align: left;
}
@media (max-width: 767px) {
    #bo_gall.ark-reference-board .ark-reference-heading { margin-bottom: 28px; }
    #bo_gall.ark-reference-board .ark-reference-heading__label { font-size: 12px; }
    #bo_gall.ark-reference-board .ark-reference-heading__title { font-size: 24px; }
}

/* TOTAL / 구분선 */
#bo_gall .case-list-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    border-bottom: 1px solid #d0d0d0;
    padding: 0 0 18px;
    margin: 0 0 50px;
}
#bo_gall .case-total {
    margin: 0;
    color: #777;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
    font-family: 'Outfit','Pretendard',sans-serif;
}
#bo_gall .case-total b { color: #111; font-weight: 700; }
/* 기존 정적 페이지 공통 CSS가 만드는 TOTAL 아래 짧은 선만 제거.
   전체 너비의 긴 선은 .case-list-toolbar의 border-bottom으로 유지합니다. */
#bo_gall.ark-reference-board .case-total {
    border: 0;
    border-bottom: 0;
    background: none;
    box-shadow: none;
}
#bo_gall.ark-reference-board .case-total::before,
#bo_gall.ark-reference-board .case-total::after {
    content: none !important;
    display: none !important;
}


/* 기존 고정형 PHP와 동일한 3열 / 이미지 비율 452:460 */
#bo_gall .case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 65px;
    margin: 0;
    padding: 0;
    list-style: none;
}
#bo_gall .case-card {
    position: relative;
    min-width: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
#bo_gall .case-card__link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}
#bo_gall .case-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 452 / 460;
    overflow: hidden;
    border-radius: 12px;
    background: #eff3fa;
}
#bo_gall .case-card__media img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    max-width: none;
    object-fit: cover;
    transition: transform .35s ease;
}
#bo_gall .case-card__link:hover .case-card__media img { transform: scale(1.045); }
#bo_gall .case-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: repeating-linear-gradient(45deg, #edf2fa 0, #edf2fa 10px, #f7f9fd 10px, #f7f9fd 20px);
    color: #4b6dc2;
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
}
#bo_gall .case-card__placeholder > span {
    max-width: 92%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#bo_gall .case-card__tag {
    display: table;
    max-width: 100%;
    margin: 20px 0 12px;
    padding: 5px 10px;
    border-radius: 5px;
    background: #edf2ff;
    color: #2962ff;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: anywhere;
}
#bo_gall .case-card__title {
    margin: 0;
    padding: 0 0 20px;
    border-bottom: 1px solid #ebebeb;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: -.025em;
    font-weight: 700;
    color: #111;
    word-break: keep-all;
}
/* 제목 밑 가로선은 한 개만 유지합니다. */
#bo_gall.ark-reference-board .case-card__title {
    border-top: 0 !important;
    border-bottom: 1px solid #ebebeb !important;
    box-shadow: none;
    background-image: none;
}
#bo_gall.ark-reference-board .case-card__title::before,
#bo_gall.ark-reference-board .case-card__title::after,
#bo_gall.ark-reference-board .case-card__desc::before,
#bo_gall.ark-reference-board .case-card__desc::after {
    content: none !important;
    display: none !important;
}
#bo_gall.ark-reference-board .case-card__desc {
    border: 0 !important;
    box-shadow: none;
    background-image: none;
}
#bo_gall .case-card__link:hover .case-card__title { color: #2962ff; }
#bo_gall .case-card__desc {
    margin: 0 0 10px;
    color: #888;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#bo_gall .case-card__date {
    display: block;
    color: #aaa;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
}
#bo_gall .case-list-empty {
    grid-column: 1 / -1;
    margin: 0;
    padding: 110px 10px;
    color: #888;
    text-align: center;
    font-size: 16px;
}

/* 페이지네이션 */
#bo_gall .case-list-pagination { margin: 64px auto 0; text-align: center; }
#bo_gall .case-list-pagination .pg_wrap { display: flex; justify-content: center; float: none; margin: 0; }
#bo_gall .case-list-pagination .pg { display: flex; align-items: center; gap: 6px; }
#bo_gall .case-list-pagination .pg_page,
#bo_gall .case-list-pagination .pg_current {
    display: inline-flex;
    min-width: 36px;
    height: 36px;
    padding: 0 9px;
    justify-content: center;
    align-items: center;
    color: #777;
    font-size: 14px;
    border: 0;
    border-radius: 50%;
    background: transparent;
    text-decoration: none;
}
#bo_gall .case-list-pagination .pg_current { color: #fff; background: #2962ff; font-weight: 600; }
#bo_gall .case-list-pagination a:hover { color: #2962ff; background: #edf2ff; }

/* 관리자 전용 글쓰기/일괄관리: 일반 방문자에게 노출되지 않음 */
#bo_gall .case-list-toolbar__actions { display: flex; align-items: center; gap: 8px; }
#bo_gall .case-admin-button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 13px;
    border-radius: 5px;
    font-size: 13px;
    color: #fff;
    background: #2962ff;
    text-decoration: none;
}
#bo_gall .case-admin-button--muted { background: #555; }
/* 카드별 수정 링크: 관리자/작성자에게만 PHP에서 출력 */
#bo_gall .case-card__edit {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 8;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    min-height: 36px;
    padding: 7px 13px;
    border: 1px solid #2962ff;
    border-radius: 7px;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .09);
    color: #2962ff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
}
#bo_gall .case-card__edit:hover,
#bo_gall .case-card__edit:focus-visible {
    background: #2962ff;
    color: #fff;
    text-decoration: none;
}
#bo_gall .case-card__edit:focus-visible { outline: 2px solid #111; outline-offset: 3px; }
#bo_gall .case-admin-checkbox {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    display: block;
    padding: 8px;
    background: rgba(255,255,255,.94);
    border-radius: 6px;
}
#bo_gall .case-admin-checkbox input { width: 17px; height: 17px; margin: 0; accent-color: #2962ff; }
#bo_gall .case-list-admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 35px;
    font-size: 14px;
    align-items: center;
}
#bo_gall .case-list-admin-actions label { display: flex; align-items: center; gap: 5px; margin-right: 8px; }
#bo_gall .case-list-admin-actions button { border: 1px solid #ddd; background: #fff; color: #444; padding: 8px 12px; border-radius: 5px; cursor: pointer; }

@media (max-width: 1199px) {
    #bo_gall .case-grid { column-gap: 22px; row-gap: 48px; }
    #bo_gall .case-card__title { font-size: 18px; }
}
@media (max-width: 900px) {
    #bo_gall .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    #bo_gall.ark-reference-board { padding-bottom: 60px; }
    #bo_gall .case-list-toolbar { margin-bottom: 28px; }
    #bo_gall .case-grid { grid-template-columns: 1fr; row-gap: 35px; }
    #bo_gall .case-card__media { aspect-ratio: 452 / 460; }
    #bo_gall .case-card__title { font-size: 18px; padding-bottom: 18px; }
    #bo_gall .case-card__desc { margin-top: 14px; }
    #bo_gall .case-list-pagination { margin-top: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    #bo_gall .case-card__media img { transition: none; }
}

/* 기존 view.skin.php / write.skin.php 화면의 기본 CSS를 유지합니다. */
/* 게시판 쓰기 */
#char_count_desc {display:block;margin:0 0 5px;padding:0}
#char_count_wrap {margin:5px 0 0;text-align:right}
#char_count {font-weight:bold}

#autosave_wrapper {position:relative}
#autosave_pop {display:none;z-index:10;position:absolute !important;top:34px;right:0;width:350px;height:auto !important;height:180px;max-height:180px;border:1px solid #565656;background:#fff;
-webkit-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
-moz-box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2);
box-shadow:2px 2px 3px 0px rgba(0,0,0,0.2)}
#autosave_pop:before {content:"";position:absolute;top:-8px;right:45px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #000 transparent}
#autosave_pop:after {content:"";position:absolute;top:-7px;right:45px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #fff transparent}
html.no-overflowscrolling #autosave_pop {height:auto;max-height:10000px !important} /* overflow 미지원 기기 대응 */
#autosave_pop strong {position:absolute;font-size:0;line-height:0;overflow:hidden}
#autosave_pop div {text-align:center;margin:0 !important}
#autosave_pop button {margin:0;padding:0;border:0}
#autosave_pop ul {padding:15px;border-top:1px solid #e9e9e9;list-style:none;overflow-y:scroll;height:130px;border-bottom:1px solid #e8e8e8}
#autosave_pop li {padding:8px 5px;border-bottom:1px solid #fff;background:#eee;zoom:1}
#autosave_pop li:after {display:block;visibility:hidden;clear:both;content:""}
#autosave_pop a {display:block;float:left}
#autosave_pop span {display:block;float:right;font-size:0.92em;font-style:italic;color:#999}
.autosave_close {cursor:pointer;width:100%;height:30px;background:none;color:#888;font-weight:bold;font-size:0.92em}
.autosave_close:hover {background:#f3f3f3;color:#3597d9}
.autosave_content {display:none}
.autosave_del {background:url(./img/close_btn.png) no-repeat 50% 50%;text-indent:-999px;overflow:hidden;height:20px;width:20px}

/* 게시판 읽기 */
#bo_v {margin-bottom:20px;background:#fff;box-sizing:border-box}

#bo_v_table {position:absolute;top:0;right:16px;margin:0;padding:0 5px;height:25px;background:#ff3061;color:#fff;font-weight:bold;line-height:2.2em}

#bo_v_title {margin-top: 80px;}
#bo_v_title .bo_v_cate {display:inline-block;line-height:20px;background:#e2eaf6;color:#3a8afd;padding:0 10px;border-radius:3px;}
#bo_v_title .bo_v_tit {display:block;font-size:2em;margin:5px 0 0;word-break:break-all}

#bo_v_info {margin:0;border-bottom:1px solid #f1f1f1;color:#666}
#bo_v_info:after {display:block;visibility:hidden;clear:both;content:""} 
#bo_v_info h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_info .profile_info {margin:20px 0 10px;display:inline-block;float:left}
#bo_v_info .profile_info .pf_img {float:left;margin-right:10px}
#bo_v_info .profile_info .pf_img img {border-radius:50%;width:50px;height:50px}
#bo_v_info .profile_info .profile_info_ct {float:left;padding:5px 0;line-height:18px}

#bo_v_info strong {display:inline-block;margin:0 10px 0 0;font-weight:normal}
#bo_v_info .sv_member,
#bo_v_info .sv_guest,
#bo_v_info .member,
#bo_v_info .guest {font-weight:bold}
#bo_v_info .profile_img {display:none}
#bo_v_info .sv_member {color:#000}
#bo_v_info .if_date {margin:0;color:#888}

#bo_v_file h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;list-style:none}
#bo_v_file li {padding:15px;position:relative;margin:10px 0;border:1px solid #dfdfdf;border-radius:5px;
-webkit-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
-moz-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%)}
#bo_v_file li i {float:left;color:#b2b2b2;font-size:2.35em;margin-right:20px}
#bo_v_file a {float:left;display:block;text-decoration:none;word-wrap:break-word;color:#000}
#bo_v_file a:focus, #bo_v_file li:hover a, #bo_v_file a:active {text-decoration:underline;color:#3a8afd}
#bo_v_file img {float:left;margin:0 10px 0 0}
#bo_v_file .bo_v_file_cnt {color:#b2b2b2;font-size:0.92em}
#bo_v_file li:hover {border-color:#bed4f4;color:#bed4f4}
#bo_v_file li:hover i {color:#3a8afd}
#bo_v_file li:hover .bo_v_file_cnt {color:#99c2fc}


#bo_v_link h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_file ul {margin:0;list-style:none}
#bo_v_link li {padding:15px;position:relative;margin:10px 0;border:1px solid #dfdfdf;border-radius:5px;
-webkit-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
-moz-box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%);
box-shadow:1px 1px 5px 0px hsl(232, 36%, 96%)}
#bo_v_link li i {float:left;color:#b2b2b2;font-size:2.35em;margin-right:20px}
#bo_v_link a {float:left;display:block;text-decoration:none;word-wrap:break-word;color:#000}
#bo_v_link a:focus, #bo_v_link li:hover a, #bo_v_link a:active {text-decoration:underline;color:#3a8afd}
#bo_v_link .bo_v_link_cnt {color:#b2b2b2;font-size:0.92em}
#bo_v_link li:hover {border-color:#bed4f4;color:#bed4f4}
#bo_v_link li:hover i {color:#3a8afd}
#bo_v_link li:hover .bo_v_link_cnt {color:#99c2fc}


#bo_v_top {zoom:1}
#bo_v_top:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_top h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_top ul {padding:0;list-style:none;word-break:break-all}

#bo_v_bot {zoom:1}
#bo_v_bot:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_bot h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_v_bot ul {padding:0;list-style:none}

.bo_v_com {margin:20px 0;float:right}
.bo_v_com > li {position:relative;float:left;margin-left:5px}

.bo_v_nb {margin:20px 0;position:relative;clear:both;text-align:left}
.bo_v_nb:after {display:block;visibility:hidden;clear:both;content:""}
.bo_v_nb li {border-top:1px solid #f1f1f1;padding:13px}
.bo_v_nb li:last-child {border-bottom:1px solid #f1f1f1}
.bo_v_nb li:hover {background:#f6f6f6}
.bo_v_nb li i {font-size:13px;color:#b3b3b3}
.bo_v_nb li .nb_tit {display:inline-block;padding-right:20px;color:#b3b3b3}
.bo_v_nb li .nb_date {float:right;color:#b3b3b3}

#bo_v_atc {min-height:200px;height:auto !important;height:200px}
#bo_v_atc_title {position:absolute;font-size:0;line-height:0;overflow:hidden}

#bo_v_img {width:100%;overflow:hidden;zoom:1}
#bo_v_img:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_img a.view_image {display:block}
#bo_v_img img {margin-bottom:20px;max-width:100%;height:auto}

#bo_v_con {margin:10px 0 30px;width:100%;line-height:1.7em;min-height:200px;word-break:break-all;overflow:hidden}
#bo_v_con a {color:#000;text-decoration:underline}
#bo_v_con img {max-width:100%;height:auto}

#bo_v_act {margin-bottom:30px;text-align:center}
#bo_v_act .bo_v_act_gng {position:relative}
#bo_v_act a {margin-right:5px;vertical-align:middle;color:#4a5158}
#bo_v_act a:hover {background-color:#fff;color:#ff484f;border-color:#ff484f}
#bo_v_act i {font-size:1.4em;margin-right:5px}
#bo_v_act_good, #bo_v_act_nogood {display:none;position:absolute;top:30px;left:0;z-index:9999;padding:10px 0;width:165px;background:#ff3061;color:#fff;text-align:center}
#bo_v_act .bo_v_good {display:inline-block;border:1px solid #dedede;width:70px;line-height:46px;border-radius:30px}
#bo_v_act .bo_v_nogood {display:inline-block;border:1px solid #dedede;width:70px;line-height:46px;border-radius:30px}

#bo_v_sns {padding:0;list-style:none;zoom:1;float:left;display:inline-block}
#bo_v_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_sns li {float:left;width:135px;margin-right:5px;text-align:left}
#bo_v_sns li a {height:35px;line-height:35px;text-align:center;border-radius:5px;color:#fff;font-size:0.95em}
#bo_v_sns li img {vertical-align:middle;margin-right:5px}
#bo_v_sns li .sns_f {display:block;background:#3b5997}
#bo_v_sns li .sns_t {display:block;background:#09aeee}
#bo_v_sns li .sns_g {display:block;background:#ea4026}
#bo_v_sns li .sns_k {display:block;background:#fbe300}

#bo_v_share {position:relative;padding:20px 0}
#bo_v_share:after {display:block;visibility:hidden;clear:both;content:""}
#bo_v_share .btn {padding:0 10px;color:#555;font-weight:normal;font-size:1em;width:80px;line-height:35px;height:35px;border-color:#d5d5d5;border-radius:5px}
#bo_v_share .btn:hover {background:#fff}
#bo_v_share .btn i {margin-right:5px;color:#4b5259;vertical-align:middle}


/* 게시판 댓글 */
.cmt_btn {width:100%;text-align:left;border:0;border-bottom:1px solid #f0f0f0;background:#fff;font-weight:bold;margin:30px 0 0px;padding:0 0 15px}
.cmt_btn span.total {position:relative;display:inline-block;margin-right:5px;font-size:1em;color:#3a8afd}
.cmt_btn span.cmt_more {float:right;display:inline-block;width:15px;height:10px;background:url(./img/btn_cmt.png) no-repeat right 2px;margin-top:5px}
.cmt_btn_op span.cmt_more {background-position:right -8px}
.cmt_btn b {font-size:1.2em;color:#000}
.cmt_btn span.total:after {position:absolute;bottom:-17px;left:0;display:inline-block;background:#3a8afd;content:"";width:100%;height:2px}
#bo_vc {}
#bo_vc h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc article {margin:20px 0;position:relative;border-bottom:1px solid #f0f0f0}
#bo_vc article:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc article .profile_img img {border-radius:50%}
#bo_vc article .pf_img {float:left;margin-right:10px}
#bo_vc article .pf_img img {border-radius:50%;width:50px;height:50px}
#bo_vc article .cm_wrap {float:left;max-width:870px;width:90%}
#bo_vc header {position:relative;width:100%}
#bo_vc header:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc header .profile_img {display:none}
#bo_vc header .icon_reply {position:absolute;top:15px;left:-20px}
#bo_vc .member, #bo_vc .guest, #bo_vc .sv_member, #bo_vc .sv_guest {font-weight:bold}
.bo_vc_hdinfo {color:#777}
#bo_vc h1 {position:absolute;font-size:0;line-height:0;overflow:hidden}
#bo_vc .cmt_contents {line-height:1.8em;padding:0 0 20px}
#bo_vc p a {text-decoration:underline}
#bo_vc p a.s_cmt {text-decoration:underline;color:#ed6479}
#bo_vc_empty {margin:0;padding:80px 0 !important;color:#777;text-align:center}
#bo_vc #bo_vc_winfo {float:left}
#bo_vc .bo_vl_opt {position:absolute;top:0;right:0}

.bo_vc_act {display:none;position:absolute;right:0;top:40px;width:58px;text-align:right;border:1px solid #b8bfc4;margin:0;list-style:none;background:#fff;zoom:1;z-index:9999}
.bo_vc_act:before {content:"";position:absolute;top:-8px;right:5px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #b8bfc4 transparent}
.bo_vc_act:after {content:"";position:absolute;top:-6px;right:5px;width:0;height:0;border-style:solid;border-width:0 6px 8px 6px;border-color:transparent transparent #fff transparent}
.bo_vc_act li {border-bottom:1px solid #f0f0f0}
.bo_vc_act li:last-child {border-bottom:0}
.bo_vc_act li a {display:inline-block;padding:10px 15px}
.bo_vc_act li a:hover {color:#3a8afd}

.bo_vc_w {position:relative;margin:10px 0;display:block}
.bo_vc_w:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_w h2 {position:absolute;font-size:0;line-height:0;overflow:hidden}
.bo_vc_w #char_cnt {display:block;margin:0 0 5px}
.bo_vc_w textarea {border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;width:100%;height:120px;
-webkit-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);
-moz-box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1);
box-shadow:inset 0 1px 2px rgba(0, 0, 0, 0.1)}
#wr_secret {}
.bo_vc_w_info {margin:10px 0;float:left}
.bo_vc_w_info:after {display:block;visibility:hidden;clear:both;content:""}
.bo_vc_w_info .frm_input {float:left;margin-right:5px}
.bo_vc_w_info #captcha {padding-top:10px;display:block;clear:both}
.bo_vc_w .btn_confirm {clear:both;margin-top:10px}
.bo_vc_w .btn_confirm label {display:inline-block;margin-right:10px;border-radius:3px;font-size:1.5em;text-align:center}
.bo_vc_w .btn_submit {height:45px;padding:0 20px;border-radius:3px;font-weight:bold;font-size:1.083em}
.bo_vc_w .btn_confirm .secret_cm label {font-size:1em !important}
.bo_vc_w_wr:after {display:block;visibility:hidden;clear:both;content:""}
.secret_cm {display:inline-block;float:left}

#bo_vc_send_sns {display:inline-block;float:left}
#bo_vc_sns {display:inline-block;margin:0;padding:0;list-style:none;zoom:1}
#bo_vc_sns:after {display:block;visibility:hidden;clear:both;content:""}
#bo_vc_sns li {float:left;margin:0 5px 0 0}
#bo_vc_sns .sns_li_f {border-radius:3px;background:#3a589b;height:40px;line-height:40px;padding:0 0 0 10px}
#bo_vc_sns .sns_li_t {border-radius:3px;background:#00aced;height:40px;line-height:40px;padding:0 0 0 10px}
#bo_vc_sns .sns_li_off {background:#bbb}
#bo_vc_sns a {display:inline-block;padding:0 15px 0 5px}
#bo_vc_sns input {margin:0 5px 0 0}

/*글쓰기*/
#bo_w .bo_v_option li {display:inline-block;float:left;text-align:left;margin:0 5px 0 0}
#bo_w .bo_v_option li label {vertical-align:baseline}
#bo_w .bo_v_option .chk_box input[type="checkbox"] + label span {margin-left:0;margin-right:5px}
#bo_w .write_div {margin:10px 0;position:relative}
#bo_w .write_div:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info:after {display:block;visibility:hidden;clear:both;content:""}
#bo_w .bo_w_info .frm_input {float:left;margin-bottom:1%}
#bo_w #wr_password, #bo_w #wr_homepage {margin-left:1%}
#bo_w .wr_content.smarteditor2 iframe {background:#fff}
#bo_w .bo_w_tit {position:relative}
#bo_w .bo_w_tit .frm_input {padding-right:120px}
#bo_w .bo_w_tit #btn_autosave {position:absolute;top:5px;right:5px;line-height:30px;height:30px}
#bo_w .bo_w_link label {position:absolute;top:1px;left:1px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;font-size:1.2em;text-align:center;color:#b2b2b2}
#bo_w .bo_w_link .frm_input {padding-left:50px}
#bo_w .bo_w_flie .lb_icon {position:absolute;top:0px;left:0px;border-radius:3px 0 0 3px;height:38px;line-height:38px;width:40px;font-size:1.2em;text-align:center;color:#b2b2b2}
#bo_w .bo_w_flie .frm_file {padding-left:50px;margin-top:3px}
#bo_w .bo_w_flie .file_wr {position:relative;border:1px solid #ccc;background:#fff;color:#000;vertical-align:middle;border-radius:3px;padding:5px;height:40px;margin:0}
#bo_w .bo_w_flie .frm_input {margin:10px 0 0}
#bo_w .bo_w_flie .file_del {position:absolute;top:10px;right:10px;font-size:0.92em;color:#7d7d7d}
#bo_w .bo_w_select select {border:1px solid #d0d3db;width:100%;height:40px;border-radius:3px}
#bo_w .btn_submit {padding:0 20px;font-size:1.167em}
#bo_w .btn_cancel {border-radius:3px;font-size:1.167em}



/* ==========================================================
   아크스미스 REFERENCE 글쓰기/수정 전용 (기존 병원 스킨 대체)
   ========================================================== */
#bo_w.ark-reference-write {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0 0 110px;
    margin: 0;
    color: #151515;
    font-family: inherit;
}
#bo_w.ark-reference-write *,
#bo_w.ark-reference-write *::before,
#bo_w.ark-reference-write *::after { box-sizing: border-box; }
#bo_w.ark-reference-write .ref-write-heading { margin: 0 0 42px; padding-bottom: 30px; border-bottom: 1px solid #ddd; }
#bo_w.ark-reference-write .ref-write-eyebrow { margin: 0 0 9px; color: #2962ff; font-family: 'Outfit','Pretendard',sans-serif; font-size: 16px; font-weight: 700; }
#bo_w.ark-reference-write .ref-write-title { margin: 0; padding: 0; width: auto; height: auto; overflow: visible; font-size: clamp(30px, 3vw, 44px); line-height: 1.25; letter-spacing: -.035em; color: #111; font-weight: 700; }
#bo_w.ark-reference-write .ref-write-description { margin: 12px 0 0; color: #777; font-size: 15px; }
#bo_w.ark-reference-write .ref-write-field { margin: 0 0 29px; }
#bo_w.ark-reference-write .ref-write-field > label,
#bo_w.ark-reference-write .ref-write-group-title { display: block; width: auto; margin: 0 0 12px; color: #111; font-size: 18px; line-height: 1.45; font-weight: 700; }
#bo_w.ark-reference-write .ref-write-field em { color: #2962ff; font-style: normal; }
#bo_w.ark-reference-write .ref-write-control {
    display: block; width: 100%; height: 62px; max-width: none;
    border: 1px solid #e8e8ed; border-radius: 10px; margin: 0;
    background: #f7f7f8; color: #111; padding: 0 19px;
    outline: 0; box-shadow: none; font: inherit; font-size: 17px;
}
#bo_w.ark-reference-write .ref-write-control:focus,
#bo_w.ark-reference-write .ref-write-file:focus-visible { border-color: #2962ff; outline: 2px solid rgba(41,98,255,.18); outline-offset: 2px; }
#bo_w.ark-reference-write .ref-write-control::placeholder { color: #999; }
#bo_w.ark-reference-write .ref-write-hint { display: block; margin: 8px 0 0; color: #888; font-size: 13px; line-height: 1.6; }
#bo_w.ark-reference-write .ref-write-minor-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 20px; }
#bo_w.ark-reference-write .ref-write-options { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 14px 0 24px; }
#bo_w.ark-reference-write .ref-option { display: inline-flex; align-items: center; width: auto; gap: 7px; margin: 0; font-size: 14px; font-weight: 500; cursor: pointer; }
#bo_w.ark-reference-write .ref-option input { width: 17px; height: 17px; margin: 0; accent-color: #2962ff; }
#bo_w.ark-reference-write .ref-write-content { min-width: 0; }
#bo_w.ark-reference-write .ref-write-content textarea,
#bo_w.ark-reference-write .ref-write-content #wr_content {
    display: block; width: 100%; min-height: 300px; padding: 22px;
    border: 1px solid #e8e8ed; border-radius: 10px;
    background: #f7f7f8; font-size: 17px; line-height: 1.65;
    resize: vertical; color: #111;
}
#bo_w.ark-reference-write .ref-write-content iframe { max-width: 100%; }
#bo_w.ark-reference-write .ref-write-before-files { margin: 0 0 15px; }
#bo_w.ark-reference-write .ref-write-file-row { border: 1px solid #ececf0; background: #fff; border-radius: 10px; padding: 18px 20px; margin-bottom: 12px; }
#bo_w.ark-reference-write .ref-write-file-row > label { display: block; width: auto; margin: 0 0 10px; color: #333; font-size: 15px; font-weight: 600; }
#bo_w.ark-reference-write .ref-write-file { display: block; width: 100%; font-size: 14px; color: #444; cursor: pointer; }
#bo_w.ark-reference-write .ref-write-existing { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 12px; color: #777; font-size: 13px; }
#bo_w.ark-reference-write .ref-write-existing span { min-width: 0; overflow-wrap: anywhere; }
#bo_w.ark-reference-write .ref-write-existing label { display: flex; gap: 6px; align-items: center; white-space: nowrap; cursor: pointer; }
#bo_w.ark-reference-write .ref-write-existing input { accent-color: #2962ff; }
#bo_w.ark-reference-write .ref-write-file-desc { margin-top: 13px; height: 48px; font-size: 14px; }
#bo_w.ark-reference-write .ref-write-actions { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 60px; }
#bo_w.ark-reference-write .ref-write-cancel,
#bo_w.ark-reference-write .ref-write-submit { display: inline-flex; align-items: center; justify-content: center; min-width: 160px; height: 58px; margin: 0; padding: 0 20px; border-radius: 10px; border: 1px solid #ddd; background: #fff; color: #333; font: inherit; font-size: 17px; font-weight: 600; text-decoration: none; cursor: pointer; }
#bo_w.ark-reference-write .ref-write-submit { border-color: #2962ff; background: #2962ff; color: #fff; }
#bo_w.ark-reference-write .ref-write-submit:hover { background: #174ad5; color: #fff; }
#bo_w.ark-reference-write .ref-write-submit:disabled { opacity: .6; cursor: wait; }
@media (max-width: 767px) {
    #bo_w.ark-reference-write { padding-bottom: 60px; }
    #bo_w.ark-reference-write .ref-write-heading { margin-bottom: 30px; }
    #bo_w.ark-reference-write .ref-write-minor-fields { grid-template-columns: 1fr; }
    #bo_w.ark-reference-write .ref-write-field > label,
    #bo_w.ark-reference-write .ref-write-group-title { font-size: 16px; }
    #bo_w.ark-reference-write .ref-write-control { height: 54px; padding: 0 15px; font-size: 15px; }
    #bo_w.ark-reference-write .ref-write-content textarea,
    #bo_w.ark-reference-write .ref-write-content #wr_content { min-height: 250px; padding: 15px; font-size: 15px; }
    #bo_w.ark-reference-write .ref-write-actions { margin-top: 35px; }
    #bo_w.ark-reference-write .ref-write-cancel,
    #bo_w.ark-reference-write .ref-write-submit { min-width: 0; flex: 1; height: 54px; font-size: 15px; }
}



/* REFERENCE 제목 - 기술문의 페이지와 동일한 크기 */

/* 영문 라벨 */
#bo_gall.ark-reference-board .ark-reference-heading__label {
    margin-bottom: 10px;
    color: #2962ff;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
}

/* 적용사례 제목 */
#bo_gall.ark-reference-board .ark-reference-heading__title {
    font-size: 52px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -2px;
    color: #000;
}

/* 모바일 */
@media (max-width: 767px) {
    #bo_gall.ark-reference-board .ark-reference-heading__label {
        font-size: 16px;
        margin-bottom: 6px;
    }

    #bo_gall.ark-reference-board .ark-reference-heading__title {
        font-size: 36px;
        letter-spacing: -1px;
    }
}
