/* KH SUCCESS CASES / GNUBoard 5.6.42 / scoped premium skin */
.khsc-wrap{--khsc-navy:#101c2a;--khsc-gold:#aa8655;--khsc-ink:#252b33;--khsc-line:#e7e8eb;color:var(--khsc-ink);background:#fff;font-family:inherit}.khsc-wrap *{box-sizing:border-box}.khsc-shell{max-width:1240px;margin:0 auto;padding:0 20px}.khsc-wrap a{text-decoration:none}.khsc-wrap button,.khsc-wrap input,.khsc-wrap select,.khsc-wrap textarea{font:inherit}.khsc-wrap button{cursor:pointer}.khsc-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
.khsc-fallback-hero{min-height:350px;display:flex;align-items:center;background:linear-gradient(90deg,rgba(8,17,29,.70) 0%,rgba(8,17,29,.42) 23%,rgba(8,17,29,.10) 44%,transparent 58%),url(assets/success-title.jpg) center/cover;color:#fff}.khsc-fallback-hero .khsc-shell{width:100%}.khsc-fallback-hero h1{font-size:clamp(32px,4vw,48px);margin:12px 0;color:#fff;font-weight:700}.khsc-fallback-hero p{font-size:16px;color:#e2e5e9}.khsc-eyebrow{display:block;color:var(--khsc-gold);font-size:12px;font-weight:800;letter-spacing:.18em}.khsc-crumb{font-size:13px;margin-top:35px;color:#eee}.khsc-crumb a{color:#fff}.khsc-crumb span{padding:0 12px}.ob-page-head.khsc-header-hero{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
.khsc-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;padding:65px 0 30px}.khsc-section-heading h2{font-size:34px;font-weight:800;letter-spacing:-.045em;margin:8px 0 12px}.khsc-section-heading h2 em{font-size:12px;font-weight:700;color:#9a9da3;letter-spacing:.08em;font-style:normal;margin-left:9px}.khsc-section-heading p{color:#6b717b;font-size:15px;line-height:1.8;margin:0}.khsc-count{color:#7b8089;font-size:12px;white-space:nowrap}.khsc-count b{font-size:20px;color:var(--khsc-navy);margin-left:8px}
.khsc-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:15px 0 22px}.khsc-toolbar-links,.khsc-toolbar-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.khsc-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:42px;padding:10px 16px;border:1px solid transparent;border-radius:7px;font-size:13px;font-weight:700;white-space:nowrap;transition:background .2s,transform .2s,color .2s}.khsc-btn:hover{transform:translateY(-2px)}.khsc-btn-outline{border-color:#dce0e5;color:#27323f;background:#fff}.khsc-btn-outline:hover{background:#f5f6f8;color:#111}.khsc-btn-gold{background:var(--khsc-gold);color:#fff!important;border-color:var(--khsc-gold)}.khsc-btn-gold:hover{background:#907043}.khsc-btn-dark{background:var(--khsc-navy);color:#fff!important}
.khsc-filter{display:flex;justify-content:space-between;align-items:center;gap:18px;border-bottom:1px solid var(--khsc-line);padding:16px 0 18px;margin-bottom:26px}.khsc-filter nav{display:flex;flex-wrap:wrap;gap:8px 20px;align-items:center}.khsc-filter nav a{font-size:13px;color:#737985;padding:8px 0;position:relative}.khsc-filter nav a.active,.khsc-filter nav a:hover{color:#151f2c;font-weight:800}.khsc-filter nav a.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--khsc-gold)}.khsc-search{display:flex;align-items:center;border:1px solid #e0e3e7;border-radius:7px;overflow:hidden;min-width:280px;height:41px}.khsc-search select{width:84px;border:0;border-right:1px solid #eee;padding:0 7px;font-size:12px;background:white;color:#626872}.khsc-search input{width:165px;min-width:0;border:0;outline:0;padding:8px;font-size:13px}.khsc-search button{height:100%;width:39px;background:#fff;border:0;color:#1c2838;font-size:24px}
.khsc-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 19px;padding-bottom:18px}.khsc-card{border:1px solid #e7e9ed;border-radius:11px;overflow:hidden;background:#fff;box-shadow:0 6px 23px rgba(21,32,48,.035);transition:transform .28s,box-shadow .28s}.khsc-card:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(21,32,48,.13)}.khsc-card-link{display:block;color:inherit!important}.khsc-card-image{position:relative;aspect-ratio:4/2.75;overflow:hidden;background:#e8e9ed}.khsc-card-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.1,1)}.khsc-card:hover .khsc-card-image img{transform:scale(1.075)}.khsc-card-overlay{position:absolute;inset:auto 0 0;display:block;text-align:right;color:#fff;font-size:11px;letter-spacing:.09em;padding:23px 13px 12px;background:linear-gradient(transparent,rgba(0,0,0,.6));opacity:0;transition:opacity .25s}.khsc-card:hover .khsc-card-overlay{opacity:1}.khsc-card-body{padding:19px 18px 16px}.khsc-card-category{display:inline-block;padding:5px 9px;border-radius:4px;background:#f0e7da;color:#8a693e;font-size:11px;font-weight:800;line-height:1.2}.khsc-card h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:52px;margin:12px 0 9px;font-size:17px;font-weight:800;line-height:1.55;letter-spacing:-.04em}.khsc-card p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:63px;color:#777f89;font-size:13px;line-height:1.65;margin:0 0 18px}.khsc-card-meta{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eef0f2;padding-top:13px;color:#8c9198;font-size:11px}.khsc-card-check{display:block;border-top:1px solid #eee;padding:8px 15px;font-size:12px}.khsc-empty{grid-column:1/-1;text-align:center;padding:100px 15px;color:#7d848c;background:#f7f8fa;border-radius:9px}.khsc-pagination{text-align:center;padding:28px 0}.khsc-pagination .pg_wrap{display:inline-block}.khsc-pagination .pg_page,.khsc-pagination .pg_current{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border:1px solid #e2e4e8;border-radius:5px;margin:2px;padding:0 7px;color:#414751;background:white}.khsc-pagination .pg_current{background:var(--khsc-gold);color:white;border-color:var(--khsc-gold)}.khsc-bottom-actions{display:flex;justify-content:flex-end;margin-bottom:60px}.khsc-admin{padding:12px;background:#f8f8f8;display:flex;gap:15px;align-items:center;font-size:13px;margin-bottom:16px}.khsc-admin button{border:1px solid #ddd;background:white;padding:6px 12px}
.khsc-view .khsc-toolbar,.khsc-write .khsc-toolbar{padding-top:40px}.khsc-article{border:1px solid #e9eaee;border-radius:11px;padding:36px 42px 30px;margin:10px 0 25px;background:white;box-shadow:0 8px 40px rgba(20,32,47,.035)}.khsc-article-head{padding-bottom:25px;border-bottom:1px solid #e8e9ed}.khsc-article-head h2{font-size:clamp(24px,3vw,35px);line-height:1.42;letter-spacing:-.045em;margin:16px 0}.khsc-article-meta{display:flex;flex-wrap:wrap;gap:20px;color:#8a9099;font-size:13px}.khsc-article-cover{margin:30px 0 34px}.khsc-article-cover img{display:block;width:100%;max-height:650px;object-fit:cover;border-radius:8px}.khsc-article-content{font-size:16px;line-height:1.95;color:#404954;min-height:230px;overflow-wrap:anywhere}.khsc-article-content img{max-width:100%!important;height:auto!important}.khsc-article-content iframe{max-width:100%}.khsc-article-content h2,.khsc-article-content h3{margin:30px 0 15px;border-left:3px solid var(--khsc-gold);padding-left:14px}.khsc-video{margin-top:40px}.khsc-video h3,.khsc-files h3{font-size:18px;margin-bottom:16px}.khsc-video-frame{position:relative;aspect-ratio:16/9;background:#101820;border-radius:8px;overflow:hidden}.khsc-video-frame iframe{width:100%;height:100%;border:0}.khsc-files{margin-top:30px;padding:22px;background:#f7f8fa;border-radius:8px}.khsc-files a{display:block;padding:9px 0;color:#2a425c}.khsc-files small{color:#8a9098}.khsc-outlink{margin-top:18px}.khsc-disclaimer{margin-top:40px;padding:18px 20px;background:#f6f7f9;color:#7a818a;font-size:12px;line-height:1.8;border-left:2px solid #bca47e}.khsc-view-actions{display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:65px}.khsc-view-actions>div{display:flex;flex-wrap:wrap;gap:8px}
.khsc-form-panel{border:1px solid #e8eaee;border-radius:12px;padding:36px 42px 42px;margin:10px 0 65px;box-shadow:0 8px 40px rgba(20,32,47,.04)}.khsc-form-head{padding-bottom:28px;border-bottom:2px solid #182638;margin-bottom:10px}.khsc-form-head h2{font-size:30px;margin:10px 0}.khsc-form-head p{font-size:14px;color:#7c838c}.khsc-field{display:grid;grid-template-columns:170px minmax(0,1fr);border-bottom:1px solid #eceef0}.khsc-field>label{padding:25px 16px;background:#f8f9fa;font-size:14px;font-weight:800}.khsc-field>label b{color:#bd7049}.khsc-control{padding:16px 20px;min-width:0}.khsc-control>input:not([type=checkbox]),.khsc-control>select,.khsc-control>textarea{display:block;width:100%;max-width:100%;border:1px solid #dfe3e7;border-radius:6px;background:white;padding:12px 13px;min-height:43px;color:#303943;font-size:14px;outline-color:var(--khsc-gold)}.khsc-control>textarea{resize:vertical;min-height:350px;line-height:1.8}.khsc-control>input[type=file]{padding:10px}.khsc-control small{display:block;margin-top:9px;color:#91969d;font-size:12px;line-height:1.65}.khsc-file-remove{display:block;font-size:12px;margin-top:10px}.khsc-options{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.khsc-form-actions{display:flex;justify-content:center;gap:10px;padding-top:28px}.khsc-form-actions .khsc-btn{min-width:145px}.khsc-control .cke,.khsc-control .toastui-editor-defaultUI{max-width:100%}
.khsc-contact{margin-top:0!important}.khsc-contact .ob-inner{max-width:1240px}.khsc-contact-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}.khsc-contact-inner h2{font-size:22px}.khsc-contact-inner a{white-space:nowrap}.khsc-wrap .ob-about-contact{margin-top:0}
@media(max-width:1050px){.khsc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.khsc-filter{align-items:flex-start;flex-direction:column}.khsc-search{align-self:flex-end}}@media(max-width:760px){.khsc-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.khsc-section-heading{padding-top:40px}.khsc-section-heading h2{font-size:27px}.khsc-card-body{padding:14px}.khsc-card h3{font-size:15px;min-height:47px}.khsc-card p{font-size:12px}.khsc-article,.khsc-form-panel{padding:23px 20px}.khsc-field{display:block}.khsc-field>label{display:block;padding:13px 15px}.khsc-control{padding:14px 0}.khsc-toolbar{align-items:flex-start}.khsc-contact-inner{flex-direction:column;align-items:flex-start}.khsc-filter nav{gap:8px 13px}}@media(max-width:460px){.khsc-shell{padding:0 14px}.khsc-grid{gap:10px}.khsc-card-image{aspect-ratio:4/3}.khsc-card-body{padding:12px}.khsc-card h3{font-size:14px;min-height:44px}.khsc-card p{min-height:59px}.khsc-card-meta{font-size:10px}.khsc-search{width:100%;min-width:0}.khsc-search input{flex:1}.khsc-section-heading h2 em{display:block;margin:5px 0}.khsc-article-meta{gap:10px}.khsc-toolbar-links,.khsc-toolbar-actions{width:100%}.khsc-toolbar-links .khsc-btn{flex:1}.khsc-form-actions .khsc-btn{min-width:0;flex:1}}

/* 2026-10-26: match site subpage hero dimensions and readable title */
.ob-page-head.khsc-header-hero{min-height:350px!important;height:350px!important;display:flex!important;align-items:center!important;background-position:center center!important;background-size:cover!important;position:relative!important;}
.ob-page-head.khsc-header-hero .ob-inner{width:100%;position:relative;z-index:2;}
.ob-page-head.khsc-header-hero .ob-page-title{color:#fff!important;opacity:1!important;visibility:visible!important;filter:none!important;text-shadow:0 2px 15px rgba(0,0,0,.55)!important;transform:none!important;}
.ob-page-head.khsc-header-hero .ob-breadcrumb,.ob-page-head.khsc-header-hero .ob-breadcrumb *{color:#f5f5f5!important;opacity:1!important;visibility:visible!important;filter:none!important;text-shadow:0 1px 5px rgba(0,0,0,.6)!important;}
.khsc-field-editor .khsc-control .cke,.khsc-field-editor .khsc-control .toastui-editor-defaultUI,.khsc-field-editor .khsc-control .se2_container{width:100%!important;max-width:100%;}
@media(max-width:767px){.ob-page-head.khsc-header-hero{min-height:290px!important;height:290px!important;}}

/* Hero content alignment: independent of global .ob-inner rules */
.ob-page-head.khsc-header-hero > .ob-inner,
.khsc-fallback-hero > .khsc-shell {
  box-sizing:border-box!important;
  display:block!important;
  width:100%!important;
  max-width:1240px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:20px!important;
  padding-right:20px!important;
  flex:0 1 1240px!important;
  min-width:0;
}
.ob-page-head.khsc-header-hero{justify-content:center!important;}
.khsc-fallback-hero{justify-content:center;}
@media(max-width:767px){
 .ob-page-head.khsc-header-hero > .ob-inner,
 .khsc-fallback-hero > .khsc-shell{padding-left:18px!important;padding-right:18px!important;}
}

/* Hero: keep over half of the photograph unobscured. */
.ob-page-head.khsc-header-hero .ob-page-title{text-shadow:0 2px 9px rgba(0,0,0,.7)!important;}
@media(max-width:767px){.khsc-fallback-hero{background-image:linear-gradient(90deg,rgba(8,17,29,.66) 0%,rgba(8,17,29,.35) 48%,rgba(8,17,29,.05) 80%),url(assets/success-title.jpg);}}

/* 관리자 글 선택: 카드 이미지 오른쪽 상단에 겹쳐 표시 */
.khsc-card{position:relative}
.khsc-card .khsc-card-check{position:absolute;z-index:5;top:12px;right:12px;display:flex;align-items:center;justify-content:center;width:34px;height:34px;margin:0;padding:0;border:1px solid rgba(255,255,255,.82);border-radius:7px;background:rgba(255,255,255,.94);box-shadow:0 2px 9px rgba(0,0,0,.15);cursor:pointer}
.khsc-card .khsc-card-check input{display:block;appearance:auto;-webkit-appearance:checkbox;width:18px;height:18px;margin:0;accent-color:#203d60;cursor:pointer}
.khsc-card .khsc-card-check:has(input:checked){background:#fff;border-color:#203d60}
.khsc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:460px){.khsc-card .khsc-card-check{top:8px;right:8px;width:30px;height:30px}}

/* 모바일 성공사례 목록: 카드 1열 표시 (PC/태블릿 기존 설정 유지) */
@media screen and (max-width: 760px) {
  .khsc-wrap .khsc-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 18px;
  }
}

/* Mobile success-case card typography: title 20px, summary 16px, date/views 14px */
@media screen and (max-width: 760px) {
  .khsc-wrap .khsc-card h3 { font-size: 20px !important; line-height: 1.45; min-height: 0; }
  .khsc-wrap .khsc-card p { font-size: 16px !important; line-height: 1.65; min-height: 0; }
  .khsc-wrap .khsc-card-meta,
  .khsc-wrap .khsc-card-meta * { font-size: 14px !important; }
}
