
/* KSMS Multi Board 1.0.0
   KSMS 서브 레이아웃의 본문 폭을 침범하지 않고 100% 안에서만 동작 */
.ksms-multi{--ksms-red:#c9362c;--ksms-red-dark:#9f241d;--ksms-soft:#fff4f2;--ksms-line:#e9e9e9;--ksms-text:#262626;--ksms-muted:#777;width:100%;max-width:100%;margin:0;padding:0;color:var(--ksms-text);font-family:Pretendard,"Noto Sans KR","Malgun Gothic",sans-serif;box-sizing:border-box}
.ksms-multi *{box-sizing:border-box}
.ksms-multi a{text-decoration:none}
.ksms-multi .ksms-board-intro{margin:0 0 30px;padding:0 0 24px;border-bottom:1px solid #111}
.ksms-multi .ksms-board-intro h2{margin:0 0 9px;font-size:30px;line-height:1.35;font-weight:800;letter-spacing:-1.5px;color:#222}
.ksms-multi .ksms-board-intro p{margin:0;color:#707070;font-size:14px;line-height:1.8}

/* category */
.ksms-category-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:0;list-style:none}
.ksms-category-tabs>li{position:relative;margin:0;padding:0}
.ksms-category-tabs>li>a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:0 16px;border:1px solid #ddd;border-radius:20px;background:#fff;color:#555;font-size:13px;font-weight:700;transition:.18s}
.ksms-category-tabs>li.on>a,.ksms-category-tabs>li>a:hover{background:var(--ksms-red);border-color:var(--ksms-red);color:#fff}
.ksms-category-tabs ul{display:none}

/* common card */
.ksms-card-grid{display:grid;gap:20px;width:100%}
.ksms-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.ksms-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.ksms-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.ksms-card{overflow:hidden;min-width:0;border:1px solid var(--ksms-line);border-radius:14px;background:#fff;transition:transform .18s,box-shadow .18s,border-color .18s}
.ksms-card:hover{transform:translateY(-3px);border-color:#e2b1ad;box-shadow:0 12px 30px rgba(100,30,20,.08)}
.ksms-thumb{position:relative;display:block;overflow:hidden;width:100%;background:#f5f5f5}
.ksms-ratio-square{aspect-ratio:1/1}.ksms-ratio-landscape{aspect-ratio:4/3}.ksms-ratio-wide{aspect-ratio:16/9}.ksms-ratio-portrait{aspect-ratio:3/4}
.ksms-thumb img,.ksms-webzine-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.ksms-card:hover .ksms-thumb img{transform:scale(1.025)}
.ksms-no-thumb{display:flex;width:100%;height:100%;min-height:160px;align-items:center;justify-content:center;color:#bbb;font-size:42px;background:linear-gradient(135deg,#fafafa,#f1f1f1)}
.ksms-card-body{padding:20px}
.ksms-card-category{display:inline-block;margin:0 0 9px;color:var(--ksms-red);font-size:12px;font-weight:800}
.ksms-card h3,.ksms-webzine-item h3,.ksms-qna-row h3{margin:0;font-size:18px;line-height:1.45;font-weight:800;letter-spacing:-.7px}
.ksms-card h3 a,.ksms-webzine-item h3 a,.ksms-qna-row h3 a{color:#242424}
.ksms-summary{margin:10px 0 0;color:#777;font-size:13px;line-height:1.7}
.ksms-card-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:15px;color:#999;font-size:11px}

/* extra vars */
.ksms-extra-list{display:grid;gap:7px;margin-top:16px;padding-top:14px;border-top:1px solid #eee}
.ksms-extra-item{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start;font-size:12px;line-height:1.55}
.ksms-extra-label{color:#888;font-weight:700}
.ksms-extra-value{min-width:0;color:#3f3f3f;overflow-wrap:anywhere}
.ksms-extra-value a{color:var(--ksms-red);text-decoration:underline;text-underline-offset:2px}

/* normal */
.ksms-normal-list{width:100%;border-top:2px solid #333;border-bottom:1px solid #bbb}
.ksms-normal-head,.ksms-normal-row{display:grid;grid-template-columns:72px minmax(0,1fr) 110px 100px 65px;align-items:center}
.ksms-normal-head{min-height:46px;background:#fafafa;border-bottom:1px solid #ddd;color:#555;font-size:12px;font-weight:800;text-align:center}
.ksms-normal-row{min-height:52px;border-bottom:1px solid #eee;color:#666;font-size:13px;text-align:center}
.ksms-normal-row:last-child{border-bottom:0}
.ksms-normal-row .subject{text-align:left;min-width:0;padding:0 12px}
.ksms-normal-row .subject>a{color:#2d2d2d;font-weight:650}
.ksms-normal-row .subject em{margin-left:5px;color:var(--ksms-red);font-style:normal;font-size:11px}
.ksms-normal-row .category{margin-right:8px;color:var(--ksms-red);font-size:11px}
.ksms-normal-row.notice{background:#fffafa}
.ksms-normal-row.notice .no b{display:inline-block;padding:3px 7px;border-radius:10px;background:var(--ksms-red);color:#fff;font-size:10px}

/* QNA */
.ksms-qna-list{border-top:2px solid #333}
.ksms-qna-row{display:grid;grid-template-columns:88px minmax(0,1fr) 30px;gap:18px;align-items:center;padding:20px 8px;border-bottom:1px solid #eee}
.ksms-qna-status{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;height:58px;border-radius:10px;font-size:11px;font-weight:800}
.ksms-qna-status i{font-size:17px}.ksms-qna-status.waiting{background:#f4f4f4;color:#888}.ksms-qna-status.answered{background:var(--ksms-soft);color:var(--ksms-red)}
.ksms-row-arrow{color:#aaa;font-size:20px}

/* FAQ */
.ksms-faq-list{border-top:2px solid #333}
.ksms-faq-item{border-bottom:1px solid #e7e7e7}
.ksms-faq-question{width:100%;min-height:66px;padding:16px 16px 16px 8px;display:grid;grid-template-columns:44px minmax(0,1fr) 28px;align-items:center;border:0;background:#fff;text-align:left;cursor:pointer}
.ksms-faq-q,.ksms-faq-a{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--ksms-soft);color:var(--ksms-red);font-size:15px;font-weight:900}
.ksms-faq-title{color:#292929;font-size:15px;font-weight:750;line-height:1.5}.ksms-faq-title small{display:block;margin-bottom:3px;color:var(--ksms-red);font-size:11px}
.ksms-faq-question i{justify-self:end;color:#999;transition:transform .2s}
.ksms-faq-item.open .ksms-faq-question i{transform:rotate(45deg);color:var(--ksms-red)}
.ksms-faq-answer{display:none;grid-template-columns:44px minmax(0,1fr);gap:0;padding:20px 18px 24px 8px;background:#fafafa;border-top:1px solid #eee}
.ksms-faq-item.open .ksms-faq-answer{display:grid}
.ksms-faq-a{background:var(--ksms-red);color:#fff}
.ksms-faq-body{padding:4px 0 0 0;color:#555;font-size:14px;line-height:1.8}
.ksms-faq-body img{max-width:100%;height:auto}
.ksms-faq-answer-main{min-width:0}
.ksms-faq-body{min-height:24px;overflow-wrap:anywhere}
.ksms-faq-body:empty:before{content:"등록된 답변 내용이 없습니다.";color:#aaa}
.ksms-faq-admin{display:flex;justify-content:flex-end;gap:7px;margin-top:18px;padding-top:14px;border-top:1px solid #e8e8e8}
.ksms-faq-admin-btn{display:inline-flex;align-items:center;gap:5px;min-height:34px;padding:0 12px;border:1px solid #d9d9d9;border-radius:7px;background:#fff;color:#555!important;font-size:12px;font-weight:750;text-decoration:none!important}
.ksms-faq-admin-btn:hover{border-color:var(--ksms-red);color:var(--ksms-red)!important}
.ksms-faq-admin-delete:hover{border-color:#c62828;color:#c62828!important}

/* branch */
.ksms-branch-card{border-top:3px solid var(--ksms-red)}
.ksms-branch-top{display:flex;justify-content:space-between;align-items:center;padding:18px 20px 0}
.ksms-branch-mark{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:var(--ksms-soft);color:var(--ksms-red);font-size:21px}
.ksms-status-badge{padding:6px 9px;border-radius:12px;background:#f5f5f5;color:#888;font-size:9px;font-weight:900;letter-spacing:.5px}
.ksms-detail-link{display:flex;justify-content:space-between;align-items:center;margin-top:18px;padding-top:14px;border-top:1px solid #eee;color:var(--ksms-red);font-size:12px;font-weight:800}

/* webzine */
.ksms-webzine-list{display:grid;gap:22px}
.ksms-webzine-item{display:grid;grid-template-columns:260px minmax(0,1fr);gap:24px;padding-bottom:22px;border-bottom:1px solid #e9e9e9}
.ksms-webzine-thumb{display:block;overflow:hidden;border-radius:12px;background:#f5f5f5}
.ksms-webzine-body{min-width:0;padding:4px 0}

/* catalog */
.ksms-catalog-label{display:flex;align-items:center;gap:8px;margin:0 0 20px;padding:14px 16px;border-radius:10px;background:#fafafa;color:#333;font-size:13px;font-weight:800}
.ksms-catalog-label i{color:var(--ksms-red);font-size:19px}.ksms-catalog-label small{margin-left:auto;color:#888;font-size:11px;font-weight:500}
.ksms-product-card .ksms-card-body{padding:18px}.ksms-product-card h3{font-size:16px}
.ksms-product-card .ksms-extra-list{margin-top:12px}

/* empty */
.ksms-empty{padding:70px 20px;text-align:center;color:#aaa;border-top:1px solid #ddd;border-bottom:1px solid #ddd}
.ksms-empty i{font-size:38px}.ksms-empty p{margin:9px 0 0}

/* controls */
.ksms-list-footer{margin-top:30px}
.ksms-btn-area{display:flex;justify-content:flex-end;gap:7px;margin-bottom:18px}
.ksms-btn{height:36px;padding:0 13px;display:inline-flex;align-items:center;justify-content:center;gap:5px;border:1px solid #ddd;border-radius:5px;background:#fff;color:#555;font-size:12px;font-weight:700;cursor:pointer}
.ksms-btn-primary{background:var(--ksms-red);border-color:var(--ksms-red);color:#fff}
.ksms-search{display:flex;justify-content:center;gap:6px;margin:20px 0}
.ksms-search select{height:36px;border:1px solid #ddd;border-radius:5px;background:#fff}
.ksms-search-input{position:relative}.ksms-search-input i{position:absolute;left:10px;top:11px;color:#999}.ksms-search-input input{width:220px;height:36px;padding:0 10px 0 30px;border:1px solid #ddd;border-radius:5px}
.ksms-pagination{display:flex;justify-content:center;align-items:center;gap:4px;margin-top:22px}
.ksms-pagination a,.ksms-pagination strong{min-width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#666;font-size:12px}
.ksms-pagination strong{background:var(--ksms-red);color:#fff}
.ksms-pagination a:hover{background:#f2f2f2}

/* existing read/write forms fit KSMS layout */
.ksms-multi .read_header,.ksms-multi .read_body,.ksms-multi .write_form{max-width:100%}
.ksms-multi .xe_content img{max-width:100%;height:auto}

@media(max-width:1000px){
  .ksms-cols-4{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:820px){
  .ksms-cols-3,.ksms-cols-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ksms-webzine-item{grid-template-columns:190px minmax(0,1fr)}
  .ksms-normal-head,.ksms-normal-row{grid-template-columns:54px minmax(0,1fr) 84px}
  .ksms-normal-head .date,.ksms-normal-head .views,.ksms-normal-row .date,.ksms-normal-row .views{display:none}
}
@media(max-width:560px){
  .ksms-multi .ksms-board-intro h2{font-size:24px}
  .ksms-card-grid,.ksms-cols-2,.ksms-cols-3,.ksms-cols-4{grid-template-columns:1fr}
  .ksms-webzine-item{grid-template-columns:1fr;gap:14px}
  .ksms-webzine-thumb{aspect-ratio:16/9}
  .ksms-normal-head,.ksms-normal-row{grid-template-columns:minmax(0,1fr) 74px}
  .ksms-normal-head .no,.ksms-normal-head .writer,.ksms-normal-row .no,.ksms-normal-row .writer{display:none}
  .ksms-normal-head .subject{text-align:left;padding-left:12px}
  .ksms-qna-row{grid-template-columns:72px minmax(0,1fr) 20px;gap:10px;padding:16px 0}
  .ksms-search{flex-wrap:wrap}.ksms-search-input{flex:1;min-width:160px}.ksms-search-input input{width:100%}
  .ksms-catalog-label{align-items:flex-start;flex-wrap:wrap}.ksms-catalog-label small{width:100%;margin-left:27px}
}


/* KSMS v1.0.5 visual polish */
.ksms-multi{
  --ksms-red:#c83a32;
  --ksms-red-dark:#9f2923;
  --ksms-soft:#fff5f3;
  --ksms-surface:#ffffff;
  --ksms-line:#e8e8e8;
}
.ksms-multi .ksms-board-intro{
  padding:24px 26px;
  margin:0 0 26px;
  border:1px solid #ececec;
  border-left:5px solid var(--ksms-red);
  border-radius:14px;
  background:linear-gradient(135deg,#fff 0%,#fff8f7 100%);
}
.ksms-multi .ksms-board-intro h2{
  margin:0 0 8px;
  font-size:30px;
  font-weight:850;
  letter-spacing:-1.4px;
}
.ksms-multi .ksms-board-intro p{
  color:#707070;
}
.ksms-category-tabs{
  padding:2px 0 3px;
}
.ksms-category-tabs>li>a{
  min-height:40px;
  padding:0 17px;
  box-shadow:0 1px 0 rgba(0,0,0,.02);
}
.ksms-card{
  border-radius:16px;
  box-shadow:0 2px 10px rgba(0,0,0,.025);
}
.ksms-card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 34px rgba(88,29,24,.10);
}
.ksms-card-body{
  padding:21px 21px 20px;
}
.ksms-normal-list{
  overflow:hidden;
  border:1px solid #e5e5e5;
  border-top:3px solid var(--ksms-red);
  border-radius:12px;
  background:#fff;
}
.ksms-normal-head{
  background:#fafafa;
}
.ksms-normal-row{
  min-height:56px;
}
.ksms-normal-row:hover{
  background:#fff9f8;
}
.ksms-qna-list,.ksms-faq-list{
  overflow:hidden;
  border:1px solid #e5e5e5;
  border-top:3px solid var(--ksms-red);
  border-radius:12px;
  background:#fff;
}
.ksms-qna-row:last-child,.ksms-faq-item:last-child{
  border-bottom:0;
}
.ksms-webzine-item{
  padding:18px;
  border:1px solid #ededed;
  border-radius:15px;
  background:#fff;
  transition:.18s;
}
.ksms-webzine-item:hover{
  border-color:#e3b2ad;
  box-shadow:0 12px 30px rgba(88,29,24,.07);
}
.ksms-catalog-label{
  border:1px solid #eee;
  background:linear-gradient(135deg,#fff,#fff6f4);
}
.ksms-product-card{
  border-top:3px solid var(--ksms-red);
}
.ksms-btn{
  border-radius:8px;
}
.ksms-btn-primary{
  box-shadow:0 5px 14px rgba(200,58,50,.16);
}
@media(max-width:560px){
  .ksms-multi .ksms-board-intro{padding:20px 18px}
}


/* =========================================================
   KSMS WRITE FORM v1.0.6
   ========================================================= */
.ksms-write-page{
  width:100%;
  color:#292929;
}
.ksms-write-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  margin:0 0 22px;
  padding:0 0 18px;
  border-bottom:2px solid var(--ksms-red);
}
.ksms-write-kicker{
  display:block;
  margin:0 0 7px;
  color:var(--ksms-red);
  font-size:10px;
  font-weight:900;
  letter-spacing:1.8px;
}
.ksms-write-heading h2{
  margin:0;
  color:#222;
  font-size:28px;
  line-height:1.25;
  font-weight:850;
  letter-spacing:-1.2px;
}
.ksms-write-heading p{
  margin:7px 0 0;
  color:#888;
  font-size:13px;
  line-height:1.6;
}
.ksms-write-form{
  margin:0;
}
.ksms-write-panel{
  overflow:hidden;
  border:1px solid #e4e4e4;
  border-radius:14px;
  background:#fff;
  box-shadow:0 8px 28px rgba(0,0,0,.025);
}
.ksms-write-row{
  display:grid;
  grid-template-columns:120px minmax(0,1fr);
  border-bottom:1px solid #ededed;
}
.ksms-write-row:last-child{
  border-bottom:0;
}
.ksms-write-label{
  display:flex;
  align-items:flex-start;
  padding:21px 18px;
  background:#fafafa;
  color:#444;
  font-size:13px;
  font-weight:800;
}
.ksms-write-field{
  min-width:0;
  padding:15px 18px;
}
.ksms-write-title-line{
  display:flex;
  gap:8px;
  width:100%;
}
.ksms-write-select,
.ksms-write-title,
.ksms-write-field .iText{
  height:42px;
  box-sizing:border-box;
  border:1px solid #dcdcdc;
  border-radius:8px;
  background:#fff;
  color:#333;
  font-size:13px;
  outline:none;
  transition:border-color .15s,box-shadow .15s;
}
.ksms-write-select{
  flex:0 0 155px;
  padding:0 34px 0 12px;
}
.ksms-write-title{
  flex:1 1 auto;
  min-width:0;
  padding:0 14px;
}
.ksms-write-notice{
  flex-basis:120px;
}
.ksms-write-select:focus,
.ksms-write-title:focus,
.ksms-write-field .iText:focus{
  border-color:#d8857f;
  box-shadow:0 0 0 3px rgba(200,58,50,.08);
}
.ksms-write-editor-row .ksms-write-field{
  padding:16px 18px 18px;
}
.ksms-write-editor{
  overflow:hidden;
  min-height:350px;
  border:1px solid #dedede;
  border-radius:9px;
  background:#fff;
}
.ksms-write-editor .xefu-container{
  border-top:1px solid #ececec;
}
.ksms-extra-form{
  margin:0;
  padding:0;
  border:0;
}
.ksms-extra-form table{
  width:100%;
  margin:0;
  border-collapse:collapse;
  border:0;
}
.ksms-extra-form caption{
  position:absolute;
  overflow:hidden;
  width:1px;
  height:1px;
  clip:rect(0,0,0,0);
}
.ksms-extra-form th,
.ksms-extra-form td{
  border:0;
  border-bottom:1px solid #f0f0f0;
  padding:10px 8px;
  text-align:left;
  vertical-align:middle;
}
.ksms-extra-form tr:last-child th,
.ksms-extra-form tr:last-child td{
  border-bottom:0;
}
.ksms-extra-form th{
  width:135px;
  color:#555;
  font-size:12px;
  font-weight:750;
}
.ksms-extra-form th em{
  color:var(--ksms-red);
  font-style:normal;
}
.ksms-extra-form input[type="text"],
.ksms-extra-form input[type="password"],
.ksms-extra-form input[type="email"],
.ksms-extra-form input[type="url"],
.ksms-extra-form input[type="number"],
.ksms-extra-form select,
.ksms-extra-form textarea{
  max-width:100%;
  box-sizing:border-box;
  border:1px solid #d7d7d7;
  border-radius:7px;
  background:#fff;
  color:#333;
  font-size:14px;
}
.ksms-extra-form input[type="text"],
.ksms-extra-form input[type="password"],
.ksms-extra-form input[type="email"],
.ksms-extra-form input[type="url"],
.ksms-extra-form input[type="number"]{
  width:min(100%,520px);
  min-height:40px;
  padding:0 12px;
}
.ksms-extra-form select{
  min-width:190px;
  min-height:40px;
  padding:0 34px 0 11px;
}
.ksms-extra-form textarea{
  width:100%;
  min-height:110px;
  padding:10px 12px;
  line-height:1.6;
  resize:vertical;
}
/* 전화번호처럼 한 셀에 텍스트 입력칸이 여러 개 있는 확장변수 */
.ksms-extra-form td:has(input[type="text"]:nth-of-type(2)) input[type="text"]{
  width:110px;
  min-width:90px;
  max-width:30%;
}
.ksms-extra-form input[type="radio"],
.ksms-extra-form input[type="checkbox"]{
  width:16px;
  height:16px;
  margin:0 4px 0 0;
  vertical-align:-3px;
  accent-color:var(--ksms-red);
}
.ksms-extra-form label{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin:4px 16px 4px 0;
  color:#555;
  font-size:13px;
}
.ksms-extra-form input:focus,
.ksms-extra-form select:focus,
.ksms-extra-form textarea:focus{
  outline:0;
  border-color:#d8857f;
  box-shadow:0 0 0 3px rgba(200,58,50,.08);
}
.ksms-write-options{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px 14px;
  min-height:36px;
}
.ksms-check,
.ksms-radio{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin:0;
  color:#555;
  font-size:12px;
  cursor:pointer;
}
.ksms-check input,
.ksms-radio input{
  accent-color:var(--ksms-red);
}
.ksms-status-options{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:10px;
  margin-left:auto;
  padding-left:14px;
  border-left:1px solid #e8e8e8;
}
.ksms-write-author{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}
.ksms-input-group{
  display:flex;
  align-items:center;
  gap:10px;
}
.ksms-input-group label{
  flex:0 0 62px;
  color:#666;
  font-size:12px;
  font-weight:700;
}
.ksms-input-group .iText{
  width:100% !important;
  padding:0 12px;
}
.ksms-input-wide,
.ksms-input-full{
  grid-column:1 / -1;
}
.ksms-input-full .iText{
  width:100% !important;
}
.ksms-update-reason{
  margin-top:10px;
}
.ksms-write-captcha{
  max-width:100%;
}
.ksms-write-actions{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:20px;
}
.ksms-write-actions-left,
.ksms-write-actions-right{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.ksms-write-btn{
  min-width:96px;
  height:42px;
  box-sizing:border-box;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:0 17px;
  border:1px solid #dcdcdc;
  border-radius:8px;
  background:#fff;
  color:#555;
  font-size:12px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  cursor:pointer;
  transition:background .15s,border-color .15s,transform .15s,box-shadow .15s;
}
.ksms-write-btn:hover{
  border-color:#cfcfcf;
  background:#fafafa;
  color:#333;
}
.ksms-write-btn-primary{
  min-width:120px;
  border-color:var(--ksms-red);
  background:var(--ksms-red);
  color:#fff;
  box-shadow:0 6px 15px rgba(200,58,50,.16);
}
.ksms-write-btn-primary:hover{
  border-color:var(--ksms-red-dark);
  background:var(--ksms-red-dark);
  color:#fff;
  transform:translateY(-1px);
}
.ksms-write-btn i{
  font-size:15px;
}
@media(max-width:820px){
  .ksms-write-row{
    grid-template-columns:1fr;
  }
  .ksms-write-label{
    padding:13px 15px 5px;
    background:#fff;
    color:#555;
  }
  .ksms-write-field{
    padding:8px 15px 15px;
  }
  .ksms-write-title-line{
    flex-wrap:wrap;
  }
  .ksms-write-select{
    flex:1 1 150px;
  }
  .ksms-write-title{
    flex:1 1 100%;
    order:-1;
  }
  .ksms-status-options{
    width:100%;
    margin-left:0;
    padding:10px 0 0;
    border-left:0;
    border-top:1px solid #eee;
  }
}
@media(max-width:560px){
  .ksms-write-heading h2{
    font-size:24px;
  }
  .ksms-write-heading p{
    font-size:12px;
  }
  .ksms-write-panel{
    border-radius:10px;
  }
  .ksms-write-author{
    grid-template-columns:1fr;
  }
  .ksms-input-wide{
    grid-column:auto;
  }
  .ksms-write-actions{
    flex-direction:column-reverse;
  }
  .ksms-write-actions-left,
  .ksms-write-actions-right{
    width:100%;
  }
  .ksms-write-actions-right{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ksms-write-actions-right .ksms-write-btn-primary{
    grid-column:1 / -1;
  }
  .ksms-write-btn{
    flex:1;
  }
}


/* =========================================================
   KSMS READ / COMMENT v1.0.7
   ========================================================= */

/* 본문 */
.ksms-multi .board_read{
  margin:0;
}
.ksms-multi .board_read .read_header{
  padding:5px 0 18px;
  border-bottom:2px solid var(--ksms-red);
}
.ksms-multi .board_read .read_header h1{
  margin:0 0 12px;
  font-size:27px;
  line-height:1.35;
  font-weight:850;
  letter-spacing:-1.2px;
  color:#222;
}
.ksms-multi .board_read .read_header h1 a{
  color:inherit;
  text-decoration:none;
}
.ksms-multi .board_read .read_header .meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px 16px;
  margin:0;
  color:#888;
  font-size:12px;
}
.ksms-multi .board_read .read_header .meta span{
  display:inline-flex;
  align-items:center;
  gap:5px;
}
.ksms-multi .board_read .read_body{
  min-height:170px;
  padding:28px 8px 34px;
  color:#333;
  font-size:14px;
  line-height:1.8;
}
.ksms-multi .board_read .read_footer{
  padding:18px 0 0;
  border-top:1px solid #ececec;
}
.ksms-multi .board_read .read_footer .btnArea{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:7px;
  margin:8px 0 0;
}
.ksms-multi .board_read .read_footer .btnArea .btn{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:36px;
  box-sizing:border-box;
  padding:0 12px;
  border:1px solid #dedede;
  border-radius:7px;
  background:#fff;
  color:#555;
  text-decoration:none;
}
.ksms-multi .board_read .read_footer .btnArea .btn:hover{
  border-color:#d0d0d0;
  background:#fafafa;
}
.ksms-multi .board_read .read_footer .fileList{
  margin:0 0 10px;
}

/* 댓글 전체 */
.ksms-comments{
  margin-top:34px;
}
.ksms-comment-head{
  margin:0 0 13px;
  padding:0 0 12px;
  border-bottom:2px solid var(--ksms-red);
}
.ksms-comment-head h2{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0;
  color:#2d2d2d;
  font-size:18px;
  font-weight:850;
  letter-spacing:-.5px;
}
.ksms-comment-head h2 i{
  color:var(--ksms-red);
}
.ksms-comment-head h2 em{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:22px;
  height:22px;
  padding:0 6px;
  border-radius:999px;
  background:var(--ksms-soft);
  color:var(--ksms-red);
  font-size:11px;
  font-style:normal;
}

/* 댓글 목록 */
.ksms-comment-list{
  list-style:none;
  margin:0;
  padding:0;
}
.ksms-comment-card{
  position:relative;
  margin:0 0 12px !important;
  padding:18px 20px !important;
  border:1px solid #e7e7e7 !important;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 14px rgba(0,0,0,.025);
}
.ksms-comment-card.indent{
  margin-left:34px !important;
  border-left:3px solid #ead0cd !important;
  background:#fffdfc;
}
.ksms-comment-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}
.ksms-comment-meta{
  display:flex !important;
  align-items:center;
  min-width:0;
  gap:11px;
}
.ksms-comment-meta .profile{
  flex:0 0 38px;
  width:38px !important;
  height:38px !important;
  margin:0 !important;
  border-radius:50%;
  object-fit:cover;
}
.ksms-profile-placeholder{
  display:flex !important;
  align-items:center;
  justify-content:center;
  border:1px solid #e5e5e5;
  background:#f6f6f6;
  color:#aaa;
  font-size:18px;
}
.ksms-comment-writer{
  min-width:0;
}
.ksms-comment-writer .author{
  margin:0 0 3px !important;
  padding:0 !important;
  font-size:13px !important;
  line-height:1.35;
  font-weight:800 !important;
}
.ksms-comment-writer .author a,
.ksms-comment-writer .author strong{
  color:#333 !important;
  text-decoration:none;
}
.ksms-comment-writer .time{
  margin:0 !important;
  color:#aaa !important;
  font-size:11px !important;
}
.ksms-comment-content{
  padding:15px 2px 2px 49px;
  color:#3d3d3d;
  font-size:13px;
  line-height:1.75;
}
.ksms-comment-content .xe_content,
.ksms-comment-content .rhymix_content{
  margin:0 !important;
}
.ksms-comment-actions{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:4px;
  margin:0 !important;
  padding:0 !important;
}
.ksms-comment-actions a{
  display:inline-flex !important;
  align-items:center;
  gap:4px;
  min-height:28px;
  padding:0 8px !important;
  border:1px solid transparent;
  border-radius:6px;
  color:#888 !important;
  font-size:11px !important;
  text-decoration:none !important;
}
.ksms-comment-actions a:hover{
  border-color:#e6e6e6;
  background:#fafafa;
  color:#444 !important;
}
.ksms-comment-actions a.delete:hover{
  border-color:#f0d3d0;
  background:#fff7f6;
  color:#b33a32 !important;
}
.ksms-comment-files{
  margin-top:12px;
}
.ksms-comment-files .toggleFile{
  border:0;
  background:none;
  color:#777;
  font-size:11px;
  cursor:pointer;
}

/* 댓글 페이지네이션 */
.ksms-comment-pagination{
  margin:20px 0 !important;
  text-align:center;
}
.ksms-comment-pagination a,
.ksms-comment-pagination strong{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:30px;
  height:30px;
  margin:0 2px;
  box-sizing:border-box;
  border:1px solid #e3e3e3;
  border-radius:6px;
  background:#fff;
  color:#666;
  text-decoration:none;
  font-size:11px;
}
.ksms-comment-pagination strong{
  border-color:var(--ksms-red);
  background:var(--ksms-red);
  color:#fff;
}

/* 댓글 작성 */
.ksms-comment-write{
  clear:both;
  overflow:hidden;
  margin-top:22px !important;
  padding:0 !important;
  border:1px solid #e5e5e5;
  border-radius:12px;
  background:#fff;
  box-shadow:0 4px 18px rgba(0,0,0,.025);
}
.ksms-comment-write-title{
  padding:15px 18px;
  border-bottom:1px solid #ededed;
  background:#fafafa;
}
.ksms-comment-write-title h3{
  margin:0;
  color:#333;
  font-size:14px;
  font-weight:850;
}
.ksms-comment-write-title h3 i{
  margin-right:5px;
  color:var(--ksms-red);
}
.ksms-comment-editor{
  padding:15px 16px 8px;
}
.ksms-comment-editor .write_editor,
.ksms-comment-editor .xefu-container{
  border-radius:7px;
}
.ksms-comment-author{
  display:flex !important;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  padding:10px 16px 12px !important;
  border-top:1px solid #f0f0f0;
}
.ksms-comment-author .item{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.ksms-comment-author .iText{
  height:34px;
  box-sizing:border-box;
  border:1px solid #ddd;
  border-radius:6px;
}
.ksms-comment-option{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:#666;
  font-size:11px;
}
.ksms-comment-option input{
  accent-color:var(--ksms-red);
}
.ksms-comment-submit{
  display:flex;
  justify-content:flex-end;
  padding:12px 16px 16px;
}
.ksms-comment-submit-btn{
  min-width:96px;
  height:38px;
  border:0 !important;
  border-radius:7px !important;
  background:var(--ksms-red) !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:800;
  cursor:pointer;
}
.ksms-comment-submit-btn:hover{
  background:var(--ksms-red-dark) !important;
}
.ksms-comment-edit-page{
  margin-top:0;
}

@media(max-width:700px){
  .ksms-comment-top{
    display:block;
  }
  .ksms-comment-actions{
    justify-content:flex-start;
    margin:10px 0 0 49px !important;
  }
  .ksms-comment-content{
    padding-left:49px;
  }
  .ksms-comment-card.indent{
    margin-left:16px !important;
  }
}
@media(max-width:480px){
  .ksms-comment-card{
    padding:15px !important;
  }
  .ksms-comment-content{
    padding:13px 0 0;
  }
  .ksms-comment-actions{
    margin-left:0 !important;
  }
}


/* =========================================================
   KSMS BOARD 1.0.8 - KSMS SUB 공통 8가지 분위기
   ========================================================= */
.ksms-board-mood-green{
  --ksms-red:#55a630;
  --ksms-red-dark:#2f6f22;
  --ksms-soft:#f1f8f3;
  --ksms-theme-line:#d7eadc;
}
.ksms-board-mood-navy{
  --ksms-red:#273c75;
  --ksms-red-dark:#17264f;
  --ksms-soft:#f2f4f8;
  --ksms-theme-line:#d8deea;
}
.ksms-board-mood-blue{
  --ksms-red:#1976d2;
  --ksms-red-dark:#0d47a1;
  --ksms-soft:#f1f6fc;
  --ksms-theme-line:#d6e4f6;
}
.ksms-board-mood-red{
  --ksms-red:#c43d32;
  --ksms-red-dark:#8e241c;
  --ksms-soft:#fcf3f2;
  --ksms-theme-line:#efd8d5;
}
.ksms-board-mood-gray{
  --ksms-red:#66727d;
  --ksms-red-dark:#3c4650;
  --ksms-soft:#f4f6f7;
  --ksms-theme-line:#dde2e6;
}
.ksms-board-mood-orange{
  --ksms-red:#e67e22;
  --ksms-red-dark:#a84f0f;
  --ksms-soft:#fff7ef;
  --ksms-theme-line:#f2ddc8;
}
.ksms-board-mood-purple{
  --ksms-red:#7e57c2;
  --ksms-red-dark:#512da8;
  --ksms-soft:#f7f3fc;
  --ksms-theme-line:#e3d9f2;
}
.ksms-board-mood-teal{
  --ksms-red:#159a92;
  --ksms-red-dark:#0b625e;
  --ksms-soft:#eff9f8;
  --ksms-theme-line:#d0e9e7;
}

/* 테마 색상과 함께 움직이는 보조선 */
.ksms-multi .ksms-card:hover,
.ksms-multi .ksms-webzine-item:hover{
  border-color:var(--ksms-theme-line);
}
.ksms-multi .ksms-normal-row.notice{
  background:var(--ksms-soft);
}
.ksms-multi .ksms-write-title:focus,
.ksms-multi .ksms-write-select:focus,
.ksms-multi .ksms-write-field .iText:focus{
  border-color:var(--ksms-red);
}


/* =========================================================
   KSMS BRANCH STATUS MAP HEADER v1.0.9
   전국 지사현황 유형에만 적용
   ========================================================= */
.ksms-branch-overview{
  position:relative;
  display:grid;
  grid-template-columns:minmax(280px, .92fr) minmax(360px, 1.08fr);
  gap:42px;
  align-items:center;
  margin:0 0 38px;
  padding:34px 38px;
  overflow:hidden;
  border:1px solid #e6eceb;
  border-top:3px solid var(--ksms-red);
  border-radius:18px;
  background:
    radial-gradient(circle at 18% 30%, var(--ksms-soft) 0, transparent 34%),
    linear-gradient(135deg,#fff 0%,#fbfdfd 100%);
  box-shadow:0 12px 34px rgba(0,0,0,.035);
}
.ksms-branch-overview:after{
  content:"";
  position:absolute;
  right:-70px;
  top:-85px;
  width:260px;
  height:260px;
  border:44px solid var(--ksms-soft);
  border-radius:50%;
  opacity:.6;
  pointer-events:none;
}
.ksms-branch-overview-map,
.ksms-branch-overview-info{
  position:relative;
  z-index:1;
}
.ksms-branch-overview-map{
  min-height:390px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.ksms-branch-map-label{
  margin:0 0 4px;
  color:var(--ksms-red);
  font-size:10px;
  font-weight:900;
  letter-spacing:1.8px;
}
.ksms-korea-map{
  display:block;
  width:100%;
  max-width:330px;
  height:auto;
  overflow:visible;
}
.ksms-map-point circle{
  fill:var(--ksms-red);
  stroke:#fff;
  stroke-width:3;
}
.ksms-map-point text{
  fill:#586260;
  font-size:12px;
  font-weight:800;
  font-family:"Pretendard","Noto Sans KR",sans-serif;
}
.ksms-branch-overview-eyebrow{
  display:block;
  margin:0 0 10px;
  color:var(--ksms-red);
  font-size:12px;
  font-weight:900;
  letter-spacing:1.2px;
}
.ksms-branch-overview-info h2{
  margin:0;
  color:#222;
  font-size:30px;
  line-height:1.4;
  font-weight:850;
  letter-spacing:-1.5px;
}
.ksms-branch-overview-info h2 strong{
  color:var(--ksms-red);
}
.ksms-branch-overview-info>p{
  max-width:570px;
  margin:17px 0 21px;
  color:#676f6d;
  font-size:14px;
  line-height:1.8;
}
.ksms-branch-region-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:7px;
  margin:0 0 20px;
}
.ksms-branch-region-grid span{
  min-height:35px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 7px;
  border:1px solid var(--ksms-theme-line);
  border-radius:7px;
  background:#fff;
  color:#66706e;
  font-size:11px;
  font-weight:750;
  text-align:center;
}
.ksms-branch-region-grid span:last-child{
  color:var(--ksms-red);
  background:var(--ksms-soft);
  font-weight:850;
}
.ksms-branch-summary-box{
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:190px;
  padding:13px 16px;
  border-radius:10px;
  background:var(--ksms-soft);
}
.ksms-branch-summary-icon{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:var(--ksms-red);
  color:#fff;
  font-size:18px;
}
.ksms-branch-summary-box>div:last-child{
  display:grid;
  grid-template-columns:auto auto;
  align-items:end;
  column-gap:7px;
}
.ksms-branch-summary-box small{
  grid-column:1/-1;
  margin-bottom:1px;
  color:#8a9492;
  font-size:8px;
  font-weight:850;
  letter-spacing:1px;
}
.ksms-branch-summary-box b{
  color:var(--ksms-red-dark);
  font-size:24px;
  line-height:1;
}
.ksms-branch-summary-box span{
  padding-bottom:2px;
  color:#67706e;
  font-size:11px;
  font-weight:750;
}
.ksms-branch-list-heading{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin:0 0 15px;
  padding:0 2px 12px;
  border-bottom:1px solid #e8eceb;
}
.ksms-branch-list-heading span{
  display:block;
  margin-bottom:3px;
  color:var(--ksms-red);
  font-size:9px;
  font-weight:900;
  letter-spacing:1.5px;
}
.ksms-branch-list-heading h3{
  margin:0;
  color:#2d3332;
  font-size:19px;
  letter-spacing:-.7px;
}
.ksms-branch-list-heading p{
  margin:0;
  color:#909796;
  font-size:11px;
}
.ksms-branch-grid{
  margin-top:0;
}

@media(max-width:900px){
  .ksms-branch-overview{
    grid-template-columns:1fr;
    gap:10px;
    padding:28px 28px 32px;
  }
  .ksms-branch-overview-map{
    min-height:auto;
  }
  .ksms-korea-map{
    max-width:280px;
  }
  .ksms-branch-overview-info{
    text-align:center;
  }
  .ksms-branch-overview-info>p{
    margin-left:auto;
    margin-right:auto;
  }
  .ksms-branch-summary-box{
    margin:0 auto;
  }
}
@media(max-width:600px){
  .ksms-branch-overview{
    margin-bottom:28px;
    padding:23px 18px 25px;
    border-radius:14px;
  }
  .ksms-korea-map{
    max-width:240px;
  }
  .ksms-branch-overview-info h2{
    font-size:24px;
  }
  .ksms-branch-region-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .ksms-branch-list-heading{
    display:block;
  }
  .ksms-branch-list-heading p{
    margin-top:5px;
  }
}


/* =========================================================
   KSMS BOARD TOP ALIGN + BRANCH LIVE MAP v1.0.10
   ========================================================= */

/* 서브 레이아웃 사이드바 상단과 게시판 상단 맞춤 */
@media(min-width:901px){
  .ksms-multi{
    margin-top:-36px;
  }
}

/* 개선된 대한민국 지도 */
.ksms-korea-map{
  max-width:350px;
}
.ksms-map-zone-label text{
  fill:#9aa4a2;
  font-size:11px;
  font-weight:700;
  font-family:"Pretendard","Noto Sans KR",sans-serif;
}
.ksms-live-marker .pulse{
  fill:var(--ksms-red);
  opacity:.13;
}
.ksms-live-marker .dot{
  fill:var(--ksms-red);
  stroke:#fff;
  stroke-width:2.5;
}
.ksms-live-marker text{
  fill:#313a38;
  font-size:12px;
  font-weight:850;
  font-family:"Pretendard","Noto Sans KR",sans-serif;
}
.ksms-live-marker text.count{
  fill:var(--ksms-red);
  font-size:9px;
  font-weight:800;
}
.ksms-map-live-note{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  margin:2px 0 0;
  color:#87918f;
  font-size:10px;
}
.ksms-map-live-note i{
  color:var(--ksms-red);
}

.ksms-branch-region-grid span{
  gap:5px;
  transition:.15s;
}
.ksms-branch-region-grid span b{
  min-width:19px;
  height:19px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#f1f3f3;
  color:#9aa2a0;
  font-size:9px;
}
.ksms-branch-region-grid span.is-active{
  border-color:var(--ksms-red);
  background:var(--ksms-soft);
  color:var(--ksms-red-dark);
  font-weight:850;
  box-shadow:0 3px 10px rgba(0,0,0,.025);
}
.ksms-branch-region-grid span.is-active b{
  background:var(--ksms-red);
  color:#fff;
}

@media(max-width:900px){
  .ksms-multi{
    margin-top:0;
  }
  .ksms-korea-map{
    max-width:300px;
  }
}


/* =========================================================
   KSMS v1.0.11 - exact sidebar alignment + user SVG map
   ========================================================= */

/* v1.0.10의 내부 음수 margin 방식 취소 */
.ksms-multi{margin-top:0!important}

/* ksms_sub 레이아웃은 오른쪽 content에 padding-top:40px가 있음.
   게시판이 들어간 content에만 그 여백을 제거하여 사이드바 상단과 정확히 맞춘다. */
@media(min-width:901px){
  .body.fixed-width.left .content.ksms-board-content,
  .body.fixed-width.right .content.ksms-board-content{
    padding-top:0!important;
  }
}

/* 사용자가 제공한 실제 대한민국 SVG */
.ksms-real-korea-map{
  position:relative;
  width:min(100%,350px);
  aspect-ratio:460/520;
  margin:8px auto 0;
  background:url('images/korea_map.svg') center/contain no-repeat;
}
.ksms-map-marker{
  position:absolute;
  z-index:3;
  display:flex;
  align-items:center;
  gap:4px;
  padding:5px 8px 5px 6px;
  border:1px solid var(--ksms-red);
  border-radius:999px;
  background:#fff;
  color:var(--ksms-red-dark);
  font-size:10px;
  line-height:1;
  font-weight:850;
  box-shadow:0 5px 15px rgba(0,0,0,.10);
  white-space:nowrap;
  transform:translate(-50%,-50%);
}
.ksms-map-marker i{
  display:block;
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--ksms-red);
  box-shadow:0 0 0 4px var(--ksms-soft);
}
.ksms-map-marker b{font-weight:850}
.ksms-map-marker em{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:17px;
  height:17px;
  padding:0 4px;
  border-radius:999px;
  background:var(--ksms-red);
  color:#fff;
  font-size:9px;
  font-style:normal;
}
.marker-seoul{left:29%;top:25%}
.marker-incheon{left:20%;top:28%}
.marker-gyeonggi{left:34%;top:31%}
.marker-gangwon{left:61%;top:25%}
.marker-chungcheong{left:45%;top:45%}
.marker-jeolla{left:28%;top:66%}
.marker-gyeongsang{left:65%;top:62%}
.marker-jeju{left:43%;top:92%}

.ksms-branch-overview-map{min-height:0}
.ksms-map-live-note{margin-top:8px}

@media(max-width:600px){
  .ksms-real-korea-map{width:min(100%,280px)}
  .ksms-map-marker{padding:4px 6px;font-size:9px}
}

@media(max-width:640px){
  .ksms-extra-form th{width:105px}
  .ksms-extra-form th,.ksms-extra-form td{padding:9px 5px}
  .ksms-extra-form input[type="text"],
  .ksms-extra-form input[type="password"],
  .ksms-extra-form input[type="email"],
  .ksms-extra-form input[type="url"],
  .ksms-extra-form input[type="number"]{width:100%;min-width:0}
  .ksms-extra-form td:has(input[type="text"]:nth-of-type(2)) input[type="text"]{width:30%;min-width:0}
  .ksms-faq-answer{grid-template-columns:38px minmax(0,1fr);padding-right:10px}
  .ksms-faq-admin{justify-content:flex-start}
}


/* =========================================================
   KSMS FIX - 연락처(전화번호) 확장변수 입력칸
   Rhymix 기본 board.default.css 의 .exForm .tel { width:40px; height:14px; }
   규칙을 확실하게 덮어쓴다.
   ========================================================= */
.ksms-extra-form input.tel,
.ksms-extra-form .tel{
  width:105px !important;
  min-width:105px !important;
  max-width:105px !important;
  height:40px !important;
  min-height:40px !important;
  padding:0 12px !important;
  margin:0 6px 0 0 !important;
  line-height:38px !important;
  border:1px solid #d7d7d7 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:#333 !important;
  font-size:14px !important;
  vertical-align:middle !important;
}

/* 모바일에서는 3칸이 한 줄에 유지되도록 비율 축소 */
@media(max-width:640px){
  .ksms-extra-form input.tel,
  .ksms-extra-form .tel{
    width:29% !important;
    min-width:0 !important;
    max-width:105px !important;
    padding:0 8px !important;
    margin-right:3px !important;
  }
}


/* =========================================================
   KSMS FAQ FIX v3
   - FAQ 본문 펼침
   - 관리자 수정/삭제/선택을 질문 행에서 바로 노출
   ========================================================= */
.ksms-faq-head{
  display:flex;
  align-items:stretch;
  width:100%;
  background:#fff;
}

.ksms-faq-head .ksms-faq-question{
  flex:1 1 auto;
  min-width:0;
}

.ksms-faq-row-admin{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:6px;
  padding:10px 12px 10px 6px;
  border-left:1px solid #eee;
  background:#fff;
}

.ksms-faq-check{
  display:inline-flex;
  align-items:center;
  gap:5px;
  min-height:34px;
  padding:0 9px;
  border:1px solid #ddd;
  border-radius:7px;
  color:#666;
  font-size:12px;
  font-weight:700;
  cursor:pointer;
  white-space:nowrap;
}

.ksms-faq-check input{
  width:16px !important;
  height:16px !important;
  margin:0 !important;
  padding:0 !important;
}

.ksms-faq-body{
  display:block !important;
  width:100%;
  min-height:26px;
  color:#4d4d4d;
  font-size:14px;
  line-height:1.9;
  word-break:keep-all;
  overflow-wrap:anywhere;
}

.ksms-faq-body > *:first-child{margin-top:0}
.ksms-faq-body > *:last-child{margin-bottom:0}

.ksms-faq-empty-answer{
  margin:0;
  color:#999;
}

.ksms-faq-admin-bottom{
  margin-top:20px;
}

@media(max-width:760px){
  .ksms-faq-head{
    display:block;
  }
  .ksms-faq-row-admin{
    justify-content:flex-end;
    padding:8px 10px 10px;
    border-left:0;
    border-top:1px dashed #eee;
  }
  .ksms-faq-check span{
    display:none;
  }
}


/* =========================================================
   KSMS PRODUCT CATALOG DETAIL
   제품카탈로그 상세보기:
   좌측 대표이미지 / 우측 확장변수 / 하단 본문
   ========================================================= */
.ksms-product-detail{
  width:100%;
  margin-top:24px;
}

.ksms-product-hero{
  display:grid;
  grid-template-columns:minmax(0,46%) minmax(0,54%);
  gap:34px;
  align-items:stretch;
  padding:28px;
  border:1px solid #e2e6ea;
  border-radius:16px;
  background:#fff;
  box-shadow:0 8px 28px rgba(15,23,42,.035);
}

.ksms-product-image{
  width:100%;
  min-height:430px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  border:1px solid #eceff2;
  border-radius:12px;
  background:#f7f8fa;
}

.ksms-product-image img{
  display:block;
  width:100%;
  height:100%;
  min-height:430px;
  object-fit:contain;
  background:#fff;
}

.ksms-product-no-image{
  min-height:430px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  color:#a1a8b0;
  font-size:14px;
}

.ksms-product-no-image i{
  font-size:54px;
  color:#c4c9cf;
}

.ksms-product-info{
  min-width:0;
  display:flex;
  flex-direction:column;
}

.ksms-product-info-title{
  padding:5px 0 20px;
  border-bottom:2px solid #26384d;
}

.ksms-product-info-title span{
  display:block;
  margin-bottom:8px;
  color:#7a8795;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
}

.ksms-product-info-title strong{
  display:block;
  color:#1d2732;
  font-size:25px;
  line-height:1.35;
  letter-spacing:-.035em;
  word-break:keep-all;
}

.ksms-product-extra{
  width:100%;
}

.ksms-product-extra-row{
  display:grid;
  grid-template-columns:125px minmax(0,1fr);
  min-height:54px;
  border-bottom:1px solid #eceff2;
}

.ksms-product-extra-label{
  display:flex;
  align-items:center;
  padding:13px 16px;
  background:#f8f9fa;
  color:#4f5965;
  font-size:13px;
  font-weight:800;
}

.ksms-product-extra-value{
  display:flex;
  align-items:center;
  min-width:0;
  padding:13px 18px;
  color:#333d47;
  font-size:14px;
  line-height:1.7;
  word-break:break-word;
}

.ksms-product-extra-value img{
  max-width:100%;
  height:auto;
}

.ksms-product-extra-empty{
  padding:24px 0;
  color:#9199a2;
  font-size:13px;
}

.ksms-product-description{
  margin-top:42px;
}

.ksms-product-description-head{
  padding-bottom:16px;
  border-bottom:2px solid #26384d;
}

.ksms-product-description-head span{
  display:block;
  margin-bottom:5px;
  color:#7a8795;
  font-size:11px;
  font-weight:800;
  letter-spacing:.14em;
}

.ksms-product-description-head h2{
  margin:0;
  color:#202b36;
  font-size:23px;
  line-height:1.35;
  letter-spacing:-.035em;
}

.ksms-product-body{
  padding:32px 8px 10px !important;
  color:#3e4852;
  font-size:15px;
  line-height:1.9;
}

.ksms-product-body img{
  max-width:100% !important;
  height:auto !important;
}

@media(max-width:900px){
  .ksms-product-hero{
    grid-template-columns:1fr;
    gap:24px;
    padding:22px;
  }

  .ksms-product-image,
  .ksms-product-image img,
  .ksms-product-no-image{
    min-height:0;
  }

  .ksms-product-image img{
    aspect-ratio:1/1;
    object-fit:contain;
  }
}

@media(max-width:600px){
  .ksms-product-hero{
    padding:14px;
    border-radius:12px;
  }

  .ksms-product-extra-row{
    grid-template-columns:95px minmax(0,1fr);
    min-height:48px;
  }

  .ksms-product-extra-label{
    padding:11px 10px;
    font-size:12px;
  }

  .ksms-product-extra-value{
    padding:11px 12px;
    font-size:13px;
  }

  .ksms-product-info-title strong{
    font-size:21px;
  }

  .ksms-product-description{
    margin-top:30px;
  }

  .ksms-product-body{
    padding:24px 0 8px !important;
  }
}
