/* UIDC theme — IT 인프라 솔루션 메인 */
:root {
  --kc-primary: #e60a1e;
  --kc-primary-dark: #b80818;
  --uidc-navy: #25243a;
  --bs-primary-rgb: 230, 10, 30;
  --bs-link-hover-color: #e60a1e;
  --bs-link-hover-color-rgb: 230, 10, 30;
  --bs-body-font-family: "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
}
body.kc-front { overflow-x: clip; }
.kc-footer { background: var(--uidc-navy); color: #9a9ab0; padding: 36px 0 44px; }
.kc-footer a { color: #d6d6e2; }

/* 헤더 */
.okc-header { --okc-primary: #e60a1e; --okc-primary-d: #b80818; --okc-accent: #e60a1e; }
.okc-header .okc-logo__mark { background: #e60a1e; border-radius: 4px; }
.okc-header .okc-logo__text { font-weight: 900; }
.okc-header .okc-nav { flex: 1; justify-content: center; gap: 18px; }
.okc-header .okc-nav__link { font-weight: 800; letter-spacing: .01em; text-transform: uppercase; font-size: 14.5px; }
.okc-header .okc-nav__sub a:hover { background: rgba(230, 10, 30, .08); }
.okc-header .okc-callbtn, .okc-header .okc-btn-solid { border-radius: 4px; }

/* 메인: 풀폭 + 투명 헤더 */
.kc-page-main .kc-main.container { max-width: none; padding: 0; }
body.kc-page-main:has(.uidc-hero) .okc-header { position: absolute; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; --okc-text: #fff; --okc-ink: #fff; --okc-line: rgba(255,255,255,.4); }
body.kc-page-main:has(.uidc-hero) .okc-header .okc-burger span { background: #fff; }
body.kc-page-main:has(.uidc-hero) .okc-header .okc-nav__link { color: #fff; }
body.kc-page-main:has(.uidc-hero) .okc-header .okc-nav__link:hover { color: #fff; opacity: .8; }

.uidc-hero { position: relative; display: grid; place-items: center; min-height: 100vh; min-height: 100svh; padding: 120px 20px 100px; text-align: center; color: #fff; background:
  linear-gradient(180deg, rgba(5,10,30,.55), rgba(5,10,30,.35) 50%, rgba(5,10,30,.7)),
  repeating-linear-gradient(90deg, transparent 0 78px, rgba(80,130,255,.18) 78px 80px),
  radial-gradient(ellipse at 50% 40%, #2f5dbd 0%, #14275a 45%, #060c20 100%);
  background-size: cover; background-position: center; }
.uidc-hero[style] { background-size: cover; background-position: center; }
.uidc-hero h1 { margin: 0 0 14px; font-size: clamp(28px, 4.2vw, 48px); font-weight: 900; letter-spacing: -.03em; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.uidc-hero p { margin: 0; font-size: clamp(14px, 1.4vw, 17px); font-weight: 500; text-shadow: 0 1px 10px rgba(0,0,0,.6); }
.uidc-scroll { position: absolute; left: 50%; bottom: 32px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .06em; color: #fff; text-decoration: none; }
.uidc-scroll:hover { color: #fff; }
.uidc-scroll i { width: 20px; height: 32px; border: 2px solid #fff; border-radius: 12px; position: relative; }
.uidc-scroll i::after { content: ""; position: absolute; left: 50%; top: 6px; width: 3px; height: 6px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: uidc-wheel 1.6s infinite; }
@keyframes uidc-wheel { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }

.uidc-more { display: inline-flex; align-items: center; gap: 22px; padding: 12px 22px; border: 1px solid currentColor; border-radius: 999px; font-size: 12.5px; color: inherit; text-decoration: none !important; transition: background .2s, color .2s, border-color .2s; }
.uidc-more:hover { background: var(--kc-primary); border-color: var(--kc-primary); color: #fff; }

/* 브랜드 */
.uidc-brand { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; background: #fff; }
.uidc-brand__txt { position: relative; padding: 90px 8% 170px 15%; }
.uidc-brand__txt::before { content: ""; position: absolute; left: 0; top: 0; width: 78px; height: 70px; background: var(--kc-primary); clip-path: polygon(0 0, 100% 0, 100% 14px, 22px 14px, 22px 100%, 0 100%); }
.uidc-brand__pane { display: none; }
.uidc-brand__pane.is-on { display: block; animation: uidc-fade .5s; }
@keyframes uidc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.uidc-brand__pane h2 { margin: 0 0 20px; font-size: 36px; font-weight: 800; letter-spacing: -.02em; }
.uidc-brand__pane h3 { margin: 0 0 22px; font-size: 18px; font-weight: 800; }
.uidc-brand__pane p { margin: 0 0 44px; max-width: 360px; color: #666; line-height: 1.75; font-size: 14.5px; }
.uidc-brand__tabs { position: absolute; left: 12%; right: 4%; bottom: 52px; display: flex; justify-content: space-between; list-style: none; margin: 0; padding: 0; }
.uidc-brand__tabs::before { content: ""; position: absolute; left: 6%; right: 6%; bottom: 8px; border-top: 1px dashed #ccc; }
.uidc-brand__tabs li { position: relative; flex: 1; text-align: center; }
.uidc-brand__tabs button { display: grid; justify-items: center; gap: 16px; width: 100%; padding: 0; border: 0; background: none; font-size: 11px; font-weight: 700; color: #888; }
.uidc-brand__tabs button::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 3px solid #bbb; box-sizing: content-box; width: 4px; height: 4px; position: relative; z-index: 1; }
.uidc-brand__tabs button.is-on { color: var(--kc-primary); }
.uidc-brand__tabs button.is-on::after { border-color: #f5b5bb; background: var(--kc-primary); }
.uidc-brand__img { position: relative; background: #f4f4f4; overflow: hidden; }
.uidc-brand__img::after { content: ""; position: absolute; right: 0; bottom: 0; width: 78px; height: 70px; background: var(--kc-primary); clip-path: polygon(100% 100%, 0 100%, 0 calc(100% - 14px), calc(100% - 22px) calc(100% - 14px), calc(100% - 22px) 0, 100% 0); }
.uidc-brand__pic { position: absolute; inset: 0; display: none; place-items: center; background: #f4f4f4 center / cover no-repeat; font-size: clamp(28px, 4vw, 56px); font-weight: 900; color: #d4d4d8; }
.uidc-brand__pic.is-on { display: grid; animation: uidc-fade .5s; }

/* 회사소개 */
.uidc-about { display: grid; grid-template-columns: 1fr 1fr; min-height: 450px; }
.uidc-about__txt { display: flex; align-items: center; padding: 60px 8% 60px 15%; color: #fff; background:
  linear-gradient(120deg, rgba(8,20,60,.85), rgba(10,40,100,.55)),
  repeating-linear-gradient(0deg, transparent 0 30px, rgba(90,150,255,.12) 30px 31px),
  repeating-linear-gradient(90deg, transparent 0 30px, rgba(90,150,255,.12) 30px 31px), #0a1a45; background-size: cover; background-position: center; }
.uidc-about__txt h2 { margin: 0 0 24px; font-size: 34px; font-weight: 800; }
.uidc-about__txt p { margin: 0 0 40px; max-width: 400px; line-height: 1.8; font-size: 14.5px; font-weight: 500; }
.uidc-about__quick { display: grid; grid-template-columns: repeat(2, 172px); grid-auto-rows: 172px; gap: 18px; justify-content: center; align-content: center; padding: 40px 20px; background: #fff; }
.uidc-about__quick a { display: grid; align-content: center; justify-items: center; gap: 18px; border: 1px solid #e5e5e5; color: #222; text-decoration: none !important; transition: border-color .2s, box-shadow .2s; }
.uidc-about__quick a:hover { border-color: var(--kc-primary); box-shadow: 0 14px 30px -20px rgba(0,0,0,.4); }
.uidc-ic { position: relative; font-size: 34px; color: #444; }
.uidc-ic::after { content: ""; position: absolute; right: -12px; top: -8px; width: 26px; height: 26px; border-radius: 50%; background: rgba(230,10,30,.12); z-index: -1; }
.uidc-about__quick b { font-size: 15px; font-weight: 800; text-align: center; }

/* 파트너 */
.uidc-partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 56px; padding: 40px 20px; border-top: 1px solid #ddd; background: #fff; }
.uidc-partners span { font-size: 24px; font-weight: 900; letter-spacing: .04em; color: #333; }

/* CONTACT */
.uidc-contact { padding: 84px 20px; color: #fff; background: var(--uidc-navy); }
.uidc-contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.uidc-contact h2 { margin: 0 0 26px; font-size: 22px; font-weight: 800; }
.uidc-contact__tel { display: block; font-size: 34px; font-weight: 800; color: #fff; text-decoration: none; }
.uidc-contact__tel:hover { color: #fff; }
.uidc-contact__time { margin: 8px 0 34px; font-size: 12px; color: #c8c8d8; }
.uidc-contact dl { display: grid; grid-template-columns: 56px 1fr; gap: 10px; margin: 0; font-size: 12.5px; }
.uidc-contact dt { font-weight: 800; }
.uidc-contact dd { margin: 0; color: #d6d6e2; }
.uidc-contact__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-content: start; }
.uidc-contact__form select, .uidc-contact__form input[type=text], .uidc-contact__form input[type=tel], .uidc-contact__form input[type=email], .uidc-contact__form textarea { width: 100%; padding: 12px 14px; border: 0; background: #34334d; color: #fff; font-size: 12.5px; }
.uidc-contact__form ::placeholder { color: #9a9ab5; }
.uidc-contact__form textarea { grid-column: 1 / -1; height: 110px; resize: vertical; }
.uidc-agree { grid-column: 1 / 2; display: flex; align-items: center; gap: 8px; font-size: 11px; }
.uidc-agree a { color: #fff; font-weight: 800; }
.uidc-contact__form button { justify-self: end; min-width: 96px; padding: 11px 24px; border: 0; background: var(--kc-primary); color: #fff; font-size: 12px; font-weight: 700; }
.uidc-contact__form button:hover { background: var(--kc-primary-dark); }

@media (max-width: 991.98px) {
  .uidc-brand, .uidc-about, .uidc-contact__inner { grid-template-columns: 1fr; }
  .uidc-brand__txt { padding: 70px 24px 150px; }
  .uidc-brand__tabs { left: 16px; right: 16px; }
  .uidc-brand__img { min-height: 320px; }
  .uidc-about__txt { padding: 60px 24px; }
}
@media (max-width: 575.98px) {
  .uidc-about__quick { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; gap: 10px; }
  .uidc-contact__form { grid-template-columns: 1fr; }
  .uidc-agree { grid-column: auto; }
  .uidc-partners span { font-size: 18px; }
}
html[data-bs-theme="dark"] .uidc-brand, html[data-bs-theme="dark"] .uidc-about__quick, html[data-bs-theme="dark"] .uidc-partners { background: #151522; }
html[data-bs-theme="dark"] .uidc-brand__pane p { color: #aaa; }
html[data-bs-theme="dark"] .uidc-about__quick a { border-color: #2e2e44; color: #eee; }
html[data-bs-theme="dark"] .uidc-partners span { color: #ccc; }

/* 헤더 하위 메뉴 */
.okc-header .okc-nav__sub { min-width: 170px; padding: 0; margin-top: 0; overflow: hidden; background: var(--uidc-navy); border: 0; border-top: 3px solid var(--kc-primary); border-radius: 0 0 4px 4px; box-shadow: 0 18px 32px -14px rgba(0, 0, 0, .55); }
.okc-header .okc-nav__sub a, body.kc-page-main:has(.uidc-hero) .okc-header .okc-nav__sub a { padding: 12px 20px; border-radius: 0; font-size: 14px; font-weight: 600; color: #d6d6e2; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.okc-header .okc-nav__sub a:last-child { border-bottom: 0; }
.okc-header .okc-nav__sub a:hover, body.kc-page-main:has(.uidc-hero) .okc-header .okc-nav__sub a:hover { background: var(--kc-primary); color: #fff; opacity: 1; }

/* 푸터 글자 크기 */
.kc-footer, .kc-footer a, .kc-footer p, .kc-footer span, .kc-footer .kc-company span, .kc-footer .kc-copy { font-size: 14px; }

/* 히어로 비주얼: 페이드 슬라이드 + 배경 줌 + 텍스트 슬라이드업 */
.uidc-hero { display: block; padding: 0; background: #060c20; overflow: hidden; }
.uidc-visual { position: relative; height: 100vh; height: 100svh; min-height: 560px; }
.uidc-slide { position: absolute; inset: 0; overflow: hidden; opacity: 0; transition: opacity 1.4s; z-index: 0; }
.uidc-slide.is-on { opacity: 1; z-index: 1; }
.uidc-slide__bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,10,30,.55), rgba(5,10,30,.35) 50%, rgba(5,10,30,.7)), radial-gradient(ellipse at 50% 40%, #2f5dbd 0%, #14275a 45%, #060c20 100%); background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; transform: scale(1.1); transition: transform 4.5s ease-in-out; transition-delay: .7s; }
.uidc-slide.is-on .uidc-slide__bg { transform: scale(1); }
.uidc-slide__dt { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; padding: 100px 20px; text-align: center; color: #fff; }
.uidc-slide .t1, .uidc-slide .t2 { overflow: hidden; margin: 0; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.uidc-slide .t1 { font-size: clamp(28px, 4.2vw, 50px); font-weight: 900; letter-spacing: -.03em; line-height: 1.3; }
.uidc-slide .t2 { margin-top: 14px; font-size: clamp(14px, 1.4vw, 20px); font-weight: 500; }
.uidc-slide .t1 > span, .uidc-slide .t2 > span { display: inline-block; color: #fff; transform: translateY(100%); transition: all 1.4s; }
.uidc-slide .t1 > span { transition-delay: .7s; }
.uidc-slide .t2 > span { transition-delay: 1.3s; }
.uidc-slide.is-on .t1 > span, .uidc-slide.is-on .t2 > span { transform: translateY(0); }
.uidc-scroll { z-index: 10; }
@media (max-width: 620px) { .uidc-visual { min-height: 480px; } .uidc-slide .t1 { line-height: 1.2; } .uidc-slide .t2 { margin-top: 20px; } }
.uidc-hero { display: block !important; min-height: 0; }
.uidc-visual { width: 100%; }

/* 헤더 상단 고정 (메인: 투명 → 스크롤 시 배경) */
body.kc-page-main:has(.uidc-hero) .okc-header { position: fixed; left: 0; right: 0; top: 0; z-index: 1030; }
body.kc-page-main:has(.uidc-hero) .okc-header.is-scrolled { background: rgba(37, 36, 58, .7); box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }

.uidc-slide--r .uidc-slide__dt { align-items: flex-end; text-align: right; padding-right: max(20px, 22%); }
@media (max-width: 991.98px) { .uidc-slide--r .uidc-slide__dt { align-items: center; text-align: center; padding-right: 20px; } }

/* 로고: 화면 가장 왼쪽 정렬 */
.okc-header .okc-header__inner { max-width: 1680px; padding-left: 30px; padding-right: 30px; }
@media (max-width: 575.98px) { .okc-header .okc-header__inner { padding-left: 14px; padding-right: 14px; } }

/* 헤더 높이 */
.okc-header { --okc-header-h: 80px; --kc-header-h: 80px; }
@media (max-width: 575.98px) { .okc-header { --okc-header-h: 64px; --kc-header-h: 64px; } }

/* ===== 서브 페이지: 상단 비주얼 + 내비 ===== */
body:has(.uidc-sub) .okc-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; --okc-text: #fff; --okc-ink: #fff; --okc-line: rgba(255,255,255,.4); }
body:has(.uidc-sub) .okc-header.is-scrolled { background: rgba(37, 36, 58, .7); box-shadow: 0 8px 24px -14px rgba(0, 0, 0, .6); backdrop-filter: blur(6px); }
body:has(.uidc-sub) .okc-header .okc-burger span { background: #fff; }
body:has(.uidc-sub) .okc-header .okc-nav__link { color: #fff; }
body:has(.uidc-sub) .okc-header .okc-nav__sub a { color: #d6d6e2; }
body:has(.uidc-sub) .okc-header .okc-nav__sub a:hover { color: #fff; background: var(--kc-primary); }

.uidc-sub { position: relative; height: 500px; padding-top: 80px; text-align: center; color: #fff; background: linear-gradient(rgba(5,10,30,.6), rgba(5,10,30,.75)), url('../img/hero.jpg') center / cover no-repeat, #060c20; }
.uidc-sub__dt { display: flex; flex-direction: column; justify-content: center; height: calc(100% - 70px); padding-bottom: 20px; }
.uidc-sub__dt h2 { margin: 0; font-size: clamp(30px, 3.6vw, 50px); font-weight: 800; line-height: 1.2; }
.uidc-sub__dt p { margin: 30px 0 0; font-size: 16px; }
.uidc-sub__nav { position: absolute; left: 50%; bottom: 0; z-index: 5; width: min(1400px, 90%); transform: translateX(-50%); background: rgba(0, 0, 0, .5); }
.uidc-sub__nav > ul { display: flex; margin: 0; padding: 0; list-style: none; text-align: left; }
.uidc-sub__nav > ul > li { position: relative; width: 272px; height: 70px; border-right: 1px solid rgba(255,255,255,.2); }
.uidc-sub__nav > ul > li.home { width: 70px; background: var(--kc-primary); }
.uidc-sub__nav > ul > li.home a { display: grid; place-items: center; width: 100%; height: 100%; color: #fff; font-size: 18px; }
.uidc-sub__btn { position: relative; width: 100%; height: 70px; padding: 0 20px; border: 0; background: none; color: #fff; text-align: left; font-size: 16px; }
.uidc-sub__btn::after { content: ""; position: absolute; top: 50%; right: 20px; width: 8px; height: 8px; margin-top: -6px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: rotate(45deg); transition: transform .3s; }
.uidc-sub__nav li.act { background: #000; }
.uidc-sub__nav li.act > .uidc-sub__btn::after { transform: rotate(-135deg); margin-top: -2px; }
.uidc-sub__nav li > ul { display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 10; margin: 0; padding: 15px 20px; list-style: none; background: #000; }
.uidc-sub__nav li.act > ul { display: block; }
.uidc-sub__nav li > ul li { padding: 10px 0; }
.uidc-sub__nav li > ul a { color: #fff; font-size: 16px; }
.uidc-sub__nav li > ul a:hover { color: var(--kc-primary); }
@media (max-width: 991.98px) { .uidc-sub { height: 440px; } .uidc-sub__nav { width: 100%; } .uidc-sub__nav > ul > li:not(.home) { width: calc((100% - 70px) / 3); } .uidc-sub__btn { padding: 0 12px; font-size: 14px; } }
@media (max-width: 575.98px) { .uidc-sub { height: 380px; padding-top: 64px; } .uidc-sub__nav { position: static; transform: none; } .uidc-sub__nav > ul > li, .uidc-sub__btn { height: 50px; } .uidc-sub__nav > ul > li.home { width: 50px; } .uidc-sub__dt { height: calc(100% - 50px); } .uidc-sub__dt p { margin-top: 16px; font-size: 14px; } }
.kc-page-board .kc-main.container, .kc-front:has(.uidc-sub) .kc-main.container { max-width: 1400px; }

/* ===== 게시판 목록 (dsngsystem /cs/01 스타일) ===== */
body.kc-front .sol-board { display: flex; flex-direction: column; padding: 0 0 80px; }
body.kc-front .sol-board > * { order: 5; }
body.kc-front .sol-board .sb-breadcrumb, body.kc-front .sol-board .bd-label, body.kc-front .sol-board .bd-sorts, body.kc-front .sol-board .bd-toolbar-l > a.bd-sort { display: none; }
body.kc-front .sol-board .bd-head { order: 1; padding: 100px 0 80px; text-align: center; }
body.kc-front .sol-board .bd-title { margin: 0; font-size: 40px; font-weight: 800; line-height: 1; }
body.kc-front .sol-board .bd-title a { color: #222; }
body.kc-front .sol-board .bd-desc { display: none; }
body.kc-front .sol-board .bd-toolbar, body.kc-front .sol-board .bd-toolbar-l, body.kc-front .sol-board .bd-toolbar-r { display: contents; }
body.kc-front .sol-board .bd-count { order: 2; font-size: 14px; color: #222; }
body.kc-front .sol-board .bd-count strong { color: #ef172f; font-weight: 400; }
body.kc-front .sol-board #kc-list-form { order: 3; margin-top: 30px; }
body.kc-front .sol-board .sb-pager { order: 4; margin-top: 70px; text-align: center; }
body.kc-front .sol-board .bd-search { order: 6; width: 480px; max-width: 100%; height: 50px; margin: 40px auto 0; padding: 0 20px; border: 1px solid #ddd; border-radius: 0; background: #fff; }
body.kc-front .sol-board .bd-write { order: 7; align-self: flex-end; margin-top: 20px; border-radius: 0; background: #222; border-color: #222; }
body.kc-front .sol-board .bd-write:hover { background: var(--kc-primary); border-color: var(--kc-primary); }
body.kc-front .sol-board .sb-card { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
body.kc-front .sol-board table.sb-list { width: 100%; border-top: 2px solid #000; }
body.kc-front .sol-board table.sb-list th { padding: 18px 0; font-weight: 700; text-align: center; color: #222; background: transparent; border-bottom: 1px solid #ddd; }
body.kc-front .sol-board table.sb-list td { padding: 18px 0; text-align: center; color: #222; border-bottom: 1px solid #ddd; font-size: 15px; }
body.kc-front .sol-board table.sb-list td.subject { padding-left: 16px; text-align: left; }
body.kc-front .sol-board table.sb-list td.subject a { color: #222; font-weight: 400; }
body.kc-front .sol-board table.sb-list td.subject a:hover { color: var(--kc-primary); }
body.kc-front .sol-board table.sb-list td.muted { color: #222; }
body.kc-front .sol-board table.sb-list tr.is-notice { background: transparent; }
body.kc-front .sol-board table.sb-list .badge-notice { padding: 0; background: none; color: #ef172f; font-size: 15px; font-weight: 800; letter-spacing: 0; }
body.kc-front .sol-board table.sb-list .badge-notice { font-size: 0; }
body.kc-front .sol-board table.sb-list .badge-notice::after { content: "NOTICE"; font-size: 15px; }
body.kc-front .sol-board table.sb-list th:nth-child(3), body.kc-front .sol-board table.sb-list td:nth-child(3) { display: none; }
body.kc-front .sol-board .bd-empty { padding: 60px 0; text-align: center; color: #666; }
body.kc-front .sol-board .sb-pager a, body.kc-front .sol-board .sb-pager span, body.kc-front .sol-board .sb-pager .page-link { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 6px; border: 0; border-radius: 50%; background: #fff; color: #999; font-size: 12px; text-decoration: none; }
body.kc-front .sol-board .sb-pager .active a, body.kc-front .sol-board .sb-pager .on, body.kc-front .sol-board .sb-pager .active .page-link, body.kc-front .sol-board .sb-pager [aria-current] { background: #ef172f; color: #fff; }
@media (max-width: 575.98px) { body.kc-front .sol-board .bd-head { padding: 50px 0 40px; } body.kc-front .sol-board .bd-title { font-size: 28px; } body.kc-front .sol-board .sb-pager { margin-top: 25px; } body.kc-front .sol-board .bd-search { margin-top: 20px; } }

/* 서브 페이지 본문은 항상 밝게 (시안 동일) */
body.kc-front:has(.uidc-sub) { background: #fff; color: #222; --bs-body-bg: #fff; --bs-body-color: #222; }
body.kc-front:has(.uidc-sub) .kc-main { background: #fff; color: #222; }
body.kc-front:has(.uidc-sub) .sol-board .bd-search input { color: #222; background: transparent; }
html:has(.uidc-sub), html[data-bs-theme="dark"]:has(.uidc-sub) { background: #fff; }
html:has(.uidc-sub) body.kc-front { background: #fff !important; }
body.kc-front .sol-board { padding: 0 15px 80px; }
body.kc-front .sol-board table.sb-list, body.kc-front .sol-board table.sb-list thead, body.kc-front .sol-board table.sb-list tbody, body.kc-front .sol-board table.sb-list tr, body.kc-front .sol-board table.sb-list th, body.kc-front .sol-board table.sb-list td, body.kc-front .sol-board .table-wrap { background: transparent !important; color: #222; }
body.kc-front .sol-board table.sb-list tr:hover td { background: #f8f8fa !important; }
body.kc-front .sol-board table.sb-list td.subject a, body.kc-front .sol-board .bd-title a { color: #222 !important; }
body.kc-front .sol-board table.sb-list th:first-child { width: 100px !important; }
body.kc-front .sol-board table.sb-list th:nth-child(4) { width: 120px !important; }
body.kc-front .sol-board table.sb-list th:nth-child(5) { width: 100px !important; }
body.kc-front .sol-board table.sb-list td:nth-child(4), body.kc-front .sol-board table.sb-list td:nth-child(5) { white-space: nowrap; }

/* 헤더 글자 크기 15px */
.okc-header .okc-header__inner { font-size: 15px; }
.okc-header .okc-nav__link, .okc-header .okc-nav__sub a, .okc-header .okc-btn-ghost, .okc-header .okc-btn-solid { font-size: 15px; }

/* 전체 메뉴: 한 줄에 4개 */
.kc-menu-all .menu-all-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 767.98px) { .kc-menu-all .menu-all-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* 히어로 넘김 버튼 */
.uidc-arrow { position: absolute; top: 50%; z-index: 10; display: grid; place-items: center; width: 52px; height: 52px; margin-top: -26px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; font-size: 16px; transition: background .2s, border-color .2s; }
.uidc-arrow:hover { background: var(--kc-primary); border-color: var(--kc-primary); }
.uidc-arrow--p { left: 30px; }
.uidc-arrow--n { right: 30px; }
@media (max-width: 575.98px) { .uidc-arrow { width: 40px; height: 40px; margin-top: -20px; font-size: 13px; } .uidc-arrow--p { left: 10px; } .uidc-arrow--n { right: 10px; } }

/* 메뉴 버튼 (dsngsystem menu_btn 동일): 빨간 원 + 3줄, 열리면 X */
.okc-header .okc-burger { position: relative; display: block; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #ef172f; transition: .5s all; }
.okc-header .okc-burger:hover { background: #d10f26; }
.okc-header .okc-burger span { position: absolute; left: 50%; display: block; width: 14px; height: 2px; margin-left: -7px; background: #fff !important; transition: .25s ease-in-out; }
.okc-header .okc-burger span:nth-child(1) { top: 14px; }
.okc-header .okc-burger span:nth-child(2) { top: 50%; margin-top: -1px; }
.okc-header .okc-burger span:nth-child(3) { bottom: 14px; }
.okc-header .okc-burger.act span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.okc-header .okc-burger.act span:nth-child(2) { opacity: 0; width: 0; }
.okc-header .okc-burger.act span:nth-child(3) { top: 19px; bottom: auto; transform: rotate(-45deg); }
.okc-header .okc-burger__dot { top: -2px; right: -2px; }

/* 마이페이지 아이콘 + 호버 메뉴 (itket mypage 형태) */
.okc-header .uidc-mypage { position: relative; }
.okc-header .uidc-mypage__btn { display: grid; place-items: center; width: 40px; height: 40px; border: 1.5px solid var(--okc-line); border-radius: 50%; color: var(--okc-text); font-size: 15px; transition: border-color .2s, color .2s; }
.okc-header .uidc-mypage:hover .uidc-mypage__btn { border-color: var(--kc-primary); color: var(--kc-primary); }
.okc-header .uidc-mypage__sub { display: none; position: absolute; top: 100%; right: -20px; z-index: 60; min-width: 140px; padding-top: 12px; }
.okc-header .uidc-mypage:hover .uidc-mypage__sub, .okc-header .uidc-mypage:focus-within .uidc-mypage__sub { display: block; }
.okc-header .uidc-mypage__sub ul { margin: 0; padding: 10px 20px; list-style: none; text-align: left; white-space: nowrap; background: rgba(255, 255, 255, .95); border-radius: 4px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .35); }
.okc-header .uidc-mypage__sub a { display: block; padding: 8px 0; color: #161616 !important; font-size: 15px; font-weight: 500; }
.okc-header .uidc-mypage__sub a:hover { color: var(--kc-primary) !important; opacity: .9; }

/* 로고 이미지 */
.okc-header .okc-logo__img { display: block; width: auto; height: 36px; }
@media (max-width: 575.98px) { .okc-header .okc-logo__img { height: 30px; } }

/* 히어로 제목 글꼴: KIMM_Bold (uidc.eworks.kr sp-hero h1 과 동일, 한국기계연구원 무료 글꼴) */
@font-face { font-family: 'KIMM_Bold'; src: url('../fonts/KIMM_Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
.uidc-slide .t1 { font-family: 'KIMM_Bold', "Pretendard", "Noto Sans KR", sans-serif; font-weight: 700; letter-spacing: -.03em; }
.uidc-slide .t1 em { font-style: normal; background: linear-gradient(100deg, #1FC7B6, #7BE8DB 55%, #FF7A2F); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
