/* EMENC site main styles
   Fonts: Pretendard + Poppins for KR/EN, Noto Sans JP for JP, Noto Sans SC for CN
   Loaded via header.php (Google Fonts + CDN Pretendard)                       */

:root {
  --c-bg: #ffffff;
  --c-fg: #1a1f2e;
  --c-muted: #6c7383;
  --c-line: #e6e8ee;
  --c-line-2: #f2f4f8;
  --c-primary: #0b3d91;
  --c-primary-2: #1054c4;
  --c-accent: #f5a623;
  --c-danger: #d9333f;
  --c-ok: #2faa6c;
  --c-card: #ffffff;
  --c-tag: #eef3fd;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 3px rgba(10,20,40,.06), 0 1px 2px rgba(10,20,40,.04);
  --shadow-md: 0 10px 30px rgba(10,20,40,.08), 0 2px 6px rgba(10,20,40,.04);
  --header-h: 80px;
  --max-w: 1200px;
}
/* 헤더: 컨테이너 1600px */
.site-header .container { max-width: 1600px; }

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  color: var(--c-fg);
  background: #fbfcfe;
  font-family: "Poppins", "Pretendard", system-ui, -apple-system, "Segoe UI", Roboto, "Apple SD Gothic Neo", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Language-specific fonts — most-used safe family per region */
body.lang-jp {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  font-weight: 400;
}
body.lang-cn {
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Heiti SC", system-ui, sans-serif;
  font-weight: 400;
}
body.lang-kr {
  font-family: "Pretendard", "Poppins", system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  word-break: keep-all;      /* 한글: 단어 단위로 자연스럽게 줄바꿈 (단어 중간 끊김 방지) */
  overflow-wrap: break-word; /* 긴 단어는 필요 시 줄바꿈 */
}
body.lang-th {
  font-family: "Noto Sans Thai", "Sarabun", "Tahoma", system-ui, sans-serif;
  font-weight: 400;
}
body.lang-ru {
  font-family: "Pretendard", "Roboto", "Inter", "PT Sans", "Segoe UI", system-ui, sans-serif;
}
body.lang-vi {
  /* Vietnamese needs full Latin-Extended-Additional + tone marks support */
  font-family: "Pretendard", "Be Vietnam Pro", "Roboto", "Inter", system-ui, sans-serif;
}
body.lang-fr, body.lang-de, body.lang-es {
  /* Latin-script European languages — Pretendard handles diacritics well */
  font-family: "Pretendard", "Poppins", "Inter", "Roboto", system-ui, -apple-system, "Segoe UI", sans-serif;
}

a { color: var(--c-primary); text-decoration: none; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.25; letter-spacing: -.01em; }
.muted { color: var(--c-muted); }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 720px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--c-line);
}
.site-header .container {
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-weight: 700; font-size: 20px; letter-spacing: -.02em;
  color: var(--c-fg) !important;
}
.primary-nav { display: flex; gap: 22px; }
.primary-nav a {
  color: var(--c-fg);
  font-weight: 500;
  font-size: 15px;
}
.primary-nav a:hover { color: var(--c-primary); text-decoration: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switcher { position: relative; }
/* 버튼↔드롭다운 틈을 메우는 hover 브리지 (선택 전 닫힘 방지) */
.lang-switcher::after { content: ""; position: absolute; top: 100%; right: 0; width: 180px; height: 13px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; line-height: 1;
  background: #fff; border: 1px solid var(--c-line);
  border-radius: 999px; padding: 7px 13px 7px 11px; font-weight: 600;
  font-family: inherit; font-size: 13.5px; cursor: pointer; color: var(--c-fg);
  letter-spacing: .03em;
  transition: border-color .18s, box-shadow .18s, color .18s, background .18s;
}
.lang-btn:hover { border-color: #17b6d6; color: var(--c-primary); box-shadow: 0 6px 16px -8px rgba(11,61,145,.35); }
.lang-switcher.open .lang-btn, .lang-switcher:focus-within .lang-btn { border-color: #17b6d6; color: var(--c-primary); }
.lang-globe { width: 16px; height: 16px; color: #17b6d6; flex: none; }
.lang-cur { font-weight: 700; }
.lang-chev { width: 12px; height: 12px; opacity: .45; flex: none; transition: transform .22s, opacity .2s; }
.lang-switcher:hover .lang-chev, .lang-switcher.open .lang-chev, .lang-switcher:focus-within .lang-chev { transform: rotate(180deg); opacity: .8; }
.lang-switcher ul {
  position: absolute; right: 0; top: 100%; margin-top: 9px;
  list-style: none; padding: 7px; min-width: 170px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 13px;
  box-shadow: 0 20px 44px -18px rgba(11,45,90,.34); display: none;
  animation: langFade .18s ease;
}
@keyframes langFade { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: none; } }
.lang-switcher:hover ul, .lang-switcher:focus-within ul, .lang-switcher.open ul { display: block; }
.lang-switcher li a { display: flex; align-items: center; gap: 11px; padding: 9px 11px; border-radius: 9px; color: var(--c-fg); font-size: 14px; font-weight: 500; transition: background .15s, color .15s; }
.lang-switcher li a .lc {
  flex: none; width: 32px; text-align: center; padding: 3px 0; border-radius: 6px;
  font-family: ui-monospace, "SF Mono", Consolas, monospace; font-size: 10.5px; font-weight: 700;
  letter-spacing: .06em; color: #8398b0; background: var(--c-line-2);
  transition: background .15s, color .15s;
}
.lang-switcher li a:hover { background: var(--c-line-2); color: var(--c-primary); text-decoration: none; }
.lang-switcher li a.on { color: var(--c-primary); font-weight: 700; background: #eef3fb; }
.lang-switcher li a.on .lc { background: var(--c-primary); color: #fff; }

.nav-toggle {
  display: none; background: transparent; border: 0;
  width: 36px; height: 36px; padding: 8px; flex-direction: column; gap: 4px; cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--c-fg); border-radius: 2px; }

/* Hero */
.hero {
  padding: 80px 0 64px;
  background: linear-gradient(160deg, #f1f5fd 0%, #fafbfe 60%);
  border-bottom: 1px solid var(--c-line);
}
.hero-title {
  font-size: clamp(34px, 5.5vw, 56px);
  font-weight: 700;
  letter-spacing: -.02em;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle { font-size: 18px; color: var(--c-muted); max-width: 640px; }
.hero-cta { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }

/* Buttons */
.btn, .btn-primary, .btn-ghost, .btn-danger {
  box-sizing: border-box;
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; min-width: 88px; margin: 0;
  padding: 10px 18px; font-size: 14px; font-weight: 500; line-height: 1.2;
  border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .08s ease, box-shadow .15s, background .15s;
  font-family: inherit; vertical-align: middle;
}
.btn { background: #fff; border-color: var(--c-line); color: var(--c-fg); }
.btn:hover { background: var(--c-line-2); text-decoration: none; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-2); color: #fff; text-decoration: none; }
.btn-ghost { background: transparent; border-color: var(--c-primary); color: var(--c-primary); }
.btn-ghost:hover { background: var(--c-primary); color: #fff; text-decoration: none; }
.btn-danger { background: var(--c-danger); color: #fff; }
.btn-danger:hover { background: #b8262f; }
.btn.small { padding: 5px 10px; font-size: 12px; min-height: 32px; min-width: 0; }

/* Cards / sections */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
  padding: 56px 20px;
}
.card {
  background: var(--c-card); border: 1px solid var(--c-line);
  border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-head h2 { font-size: 20px; margin: 0; }
.link { color: var(--c-primary); font-size: 14px; font-weight: 500; }

.post-list { list-style: none; padding: 0; margin: 0; }
.post-list li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 10px 0; border-bottom: 1px solid var(--c-line-2);
}
.post-list li:last-child { border-bottom: 0; }
.post-list a { color: var(--c-fg); flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-list time { color: var(--c-muted); font-size: 13px; flex-shrink: 0; }

.feature-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px;
  padding: 56px 20px 80px;
}
.feature-tile {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 28px 12px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  color: var(--c-fg); transition: all .2s;
}
.feature-tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.ft-icon { font-size: 28px; }
.ft-title { font-size: 13px; font-weight: 500; }

/* Footer — 성심메디칼 스타일 (다크 네이비) */
.site-footer{ background:#0b1a30; color:#c5ccdb; margin-top:0; border-top:0; padding:0; text-align:left; font-size:14px; word-break:keep-all; }
.site-footer .container{ max-width:1600px; margin:0 auto; }
.site-footer .footer-top{ display:grid; grid-template-columns:1.5fr 1.3fr 1fr 1fr; gap:40px; padding:60px 40px 46px; }
.f-brand .f-logo{ display:inline-block; margin-bottom:20px; line-height:0; }
.f-brand .f-logo img{ height:44px; width:auto; max-width:240px; display:block; }
.f-brand .f-tag{ font-size:14px; line-height:1.75; color:#9fb0c6; margin:0; }
.site-footer .f-col h4{ position:relative; font-size:17px; font-weight:700; color:#fff; margin:0 0 20px; padding-bottom:14px; }
.site-footer .f-col h4::after{ content:""; position:absolute; left:0; bottom:0; width:30px; height:3px; border-radius:2px; background:linear-gradient(90deg,var(--ht-cyan),#5fd4ec); }
.f-info{ list-style:none; margin:0; padding:0; }
.f-info li{ display:flex; align-items:flex-start; gap:11px; font-size:14.5px; line-height:1.6; color:#9fb0c6; margin-bottom:13px; }
.f-info .fi-ic{ width:19px; height:19px; flex:none; margin-top:2px; color:var(--ht-cyan); }
.f-info a{ color:#9fb0c6; text-decoration:none; }
.f-info a:hover{ color:#fff; }
.f-links{ list-style:none; margin:0; padding:0; }
.f-links li{ margin-bottom:13px; }
.f-links a{ position:relative; display:inline-block; font-size:14.5px; color:#9fb0c6; text-decoration:none; transition:color .2s, padding-left .2s; }
.f-links a::before{ content:"›"; position:absolute; left:-12px; opacity:0; color:var(--ht-cyan); transition:opacity .2s, left .2s; }
.f-links a:hover{ color:#fff; padding-left:5px; }
.f-links a:hover::before{ opacity:1; left:-7px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.09); }
.site-footer .footer-bottom-in{ display:flex; justify-content:space-between; align-items:center; gap:14px; padding:20px 40px; flex-wrap:wrap; }
.footer-bottom p{ margin:0; font-size:13px; color:#7e8aa6; line-height:1.6; }
.site-footer .footer-links{ display:flex; gap:16px; }
.site-footer .footer-links a{ color:#9aa3ba; text-decoration:none; margin:0; font-size:13px; }
.site-footer .footer-links a:hover{ color:#fff; }
@media (max-width:900px){
  .site-footer .footer-top{ grid-template-columns:1fr 1fr; gap:32px 24px; padding:56px 24px 44px; }
  .footer-top .f-brand{ grid-column:1 / -1; }
}
@media (max-width:560px){
  .site-footer .footer-top{ grid-template-columns:1fr 1fr; gap:28px 20px; }
  .footer-top > .f-brand{ grid-column:1 / -1; }
  .footer-top > div:nth-child(2){ grid-column:1 / -1; }  /* 회사정보: 주소가 길어 전체폭 → 바로가기·제품안내가 2열 */
  .site-footer .footer-bottom-in{ flex-direction:column; align-items:flex-start; gap:8px; padding:20px 24px 30px; }
}

/* 간편 메일 퀵 문의 */
.quick-mail{ position:fixed; right:24px; bottom:26px; z-index:950; display:flex; align-items:center; justify-content:center; height:58px; width:58px; border-radius:50px; background:linear-gradient(135deg,#0b3d91,#17b6d6); color:#fff; text-decoration:none; border:0; cursor:pointer; font-family:inherit; box-shadow:0 12px 30px rgba(11,61,145,.42); transition:width .32s cubic-bezier(.22,1,.36,1),padding .32s,box-shadow .2s; overflow:hidden; }
.quick-mail:hover{ width:196px; padding-left:4px; box-shadow:0 16px 38px rgba(11,61,145,.5); }
.quick-mail svg{ width:25px; height:25px; flex:none; }
.quick-mail-label{ white-space:nowrap; font-weight:700; font-size:15px; max-width:0; opacity:0; transition:max-width .32s,opacity .25s,margin .32s; }
.quick-mail:hover .quick-mail-label{ max-width:150px; opacity:1; margin-left:11px; }
.inq-overlay{ position:fixed; inset:0; z-index:1000; display:none; align-items:center; justify-content:center; padding:18px; background:rgba(8,16,38,.6); }
.inq-overlay.on{ display:flex; }
.inq-modal{ background:#fff; border-radius:18px; width:100%; max-width:460px; max-height:92vh; overflow:auto; box-shadow:0 30px 70px rgba(0,0,0,.4); animation:inqIn .22s ease; }
@keyframes inqIn{ from{ opacity:0; transform:translateY(14px) scale(.98); } to{ opacity:1; transform:none; } }
.inq-head{ display:flex; align-items:center; justify-content:space-between; padding:20px 24px; background:linear-gradient(135deg,#0b3d91,#1666c0); color:#fff; }
.inq-head h3{ margin:0; font-size:19px; font-weight:800; color:#fff; }
.inq-close{ background:rgba(255,255,255,.2); border:0; color:#fff; width:32px; height:32px; border-radius:50%; font-size:22px; line-height:1; cursor:pointer; flex:none; }
.inq-close:hover{ background:rgba(255,255,255,.35); }
.inq-form{ padding:22px 24px 26px; }
.inq-field{ display:block; font-size:13.5px; font-weight:700; color:#37415a; margin-bottom:14px; }
.inq-field em{ color:#e31f66; font-style:normal; }
.inq-field input,.inq-field textarea{ display:block; width:100%; margin-top:7px; padding:11px 13px; border:1px solid #d8dde8; border-radius:10px; font-size:14.5px; font-family:inherit; color:#16203a; box-sizing:border-box; transition:border-color .15s,box-shadow .15s; }
.inq-field input:focus,.inq-field textarea:focus{ outline:none; border-color:#17b6d6; box-shadow:0 0 0 3px rgba(23,182,214,.16); }
.inq-field textarea{ resize:vertical; }
.inq-row{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.inq-hp{ position:absolute; left:-9999px; width:1px; height:1px; opacity:0; }
.inq-note{ font-size:12.5px; color:#8a93a8; margin:2px 0 14px; }
.inq-result{ font-size:14px; font-weight:600; margin-bottom:12px; display:none; padding:11px 13px; border-radius:9px; }
.inq-result.ok{ display:block; background:#e8f6ee; color:#117a3d; }
.inq-result.err{ display:block; background:#fdecec; color:#c0392b; }
.inq-submit{ width:100%; background:linear-gradient(135deg,#0b3d91,#1666c0); color:#fff; border:0; border-radius:11px; padding:14px; font-size:16px; font-weight:800; cursor:pointer; transition:filter .15s; }
.inq-submit:hover{ filter:brightness(1.1); }
.inq-submit:disabled{ opacity:.6; cursor:default; }
@media (max-width:560px){
  .quick-mail{ right:16px; bottom:18px; height:52px; width:52px; }
  .quick-mail:hover{ width:52px; padding:0; }
  .quick-mail:hover .quick-mail-label{ max-width:0; opacity:0; margin:0; }
  .inq-row{ grid-template-columns:1fr; }
}

/* Board */
.board-page { padding: 40px 20px 80px; }
/* 게시판 목록 상단 인트로 (hs-hero 스타일) */
.board-intro { position: relative; padding: 2px 0 2px 42px; margin: 0 0 34px; }
.board-intro::before { content: ""; position: absolute; left: 0; top: 5px; bottom: 5px; width: 14px; background: linear-gradient(#0b3d91, #17b6d6); }
.board-intro .bi-ey { display: inline-flex; align-items: center; gap: 10px; font-family: ui-monospace,'SF Mono',Consolas,monospace; font-size: 12px; letter-spacing: .16em; color: #17b6d6; font-weight: 700; margin-bottom: 12px; }
.board-intro .bi-ey::before { content: ""; width: 24px; height: 1px; background: #17b6d6; }
.board-intro .bi-lead { margin: 0; font-size: 21px; line-height: 1.55; font-weight: 300; color: #1a2740; letter-spacing: -.02em; }
.board-intro .bi-lead b { font-weight: 800; color: #0b3d91; }
.lang-kr .board-intro .bi-lead { word-break: keep-all; }
@media (max-width: 768px) { .board-intro { padding-left: 26px; margin-bottom: 24px; } .board-intro .bi-lead { font-size: 17px; } }
/* 게시판이 공통 서브프레임(subcontent) 안에 들어갈 때 이중 여백 제거 */
.subcontent > .board-page,
.subcontent > .webzine-page,
.subcontent > .post-view,
.subcontent > .post-write { padding: 0; }
/* 게시글 보기/글쓰기 폼 넓이 100% (기본 900px 제한 해제) */
.subcontent > .post-write,
.subcontent > .post-view { max-width: none; }
/* 인트로와 제목 사이 여백 */
.subcontent > .post-view { padding-top: 22px; }
/* subhero 가 이미 제목을 주므로 목록형 게시판의 중복 타이틀/설명은 숨기고 검색툴만 우측 정렬 */
.subcontent > .board-page > .board-head .board-title,
.subcontent > .board-page > .board-head .board-desc { display: none; }
.subcontent > .board-page > .board-head { justify-content: flex-end; border-bottom: none; padding-bottom: 0; margin-bottom: 18px; }
.board-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
  padding-bottom: 18px; margin-bottom: 24px;
  border-bottom: 2px solid var(--c-fg);
}
.board-title { font-size: 28px; margin: 0; font-weight: 700; }
.board-desc { margin: 0; color: var(--c-muted); }
.board-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.search { display: flex; gap: 8px; }
.search input {
  padding: 10px 15px; border: 1px solid #d9e2ee; border-radius: 10px; font-size: 14px;
  min-width: 210px; color: #1a2740; transition: border-color .16s, box-shadow .16s;
}
.search input::placeholder { color: #a7b3c4; }
.search input:focus { outline: none; border-color: #17b6d6; box-shadow: 0 0 0 3px rgba(23,182,214,.15); }
.search button {
  padding: 10px 22px; background: linear-gradient(120deg,#0b3d91,#17b6d6); color: #fff; border: 0;
  border-radius: 10px; cursor: pointer; font-family: inherit; font-weight: 700; font-size: 14px;
  transition: transform .15s, box-shadow .15s;
}
.search button:hover { transform: translateY(-1px); box-shadow: 0 9px 20px -9px rgba(11,61,145,.65); }

.board-table { width: 100%; border-collapse: collapse; }
.board-table thead th {
  padding: 14px 14px; text-align: left; font-size: 14px; font-weight: 700;
  color: #45566e; letter-spacing: .01em;
  background: #eef4fb; border-top: 2px solid #0b3d91; border-bottom: 1px solid #dbe4ee; white-space: nowrap;
}
.board-table thead th.num-col, .board-table thead th.meta-col { text-align: center; }
.board-table tbody td {
  padding: 15px 14px; font-size: 15px; color: #47566e;
  border-bottom: 1px solid #eef2f7; vertical-align: middle;
}
.board-table tbody td.num-col, .board-table tbody td.meta-col { text-align: center; }
.board-table .num-col, .board-table .meta-col, .board-table .adm-col { width: 1%; white-space: nowrap; }
.board-table tbody td.num-col { color: #9aa8bd; font-family: ui-monospace,'SF Mono',Consolas,monospace; font-size: 13px; }
.board-table tbody td.meta-col { color: #8a98ab; font-size: 13.5px; }
.board-table tbody tr { transition: background .15s; }
.board-table tbody tr:hover { background: #f6f9fd; }
.board-table .subj a { color: #1a2740; font-weight: 600; font-size: 15.5px; letter-spacing: -.01em; transition: color .15s; }
.board-table .subj a:hover { color: #0b3d91; }
.board-table tr.notice-row { background: #f3f8fd; }
.board-table tr.notice-row:hover { background: #eaf2fb; }
.board-table tr.notice-row .subj a { color: #0b3d91; font-weight: 700; }
.notice-pill {
  display: inline-block; padding: 3px 12px; border-radius: 6px; font-size: 11px; font-weight: 800;
  letter-spacing: .03em; color: #fff; background: linear-gradient(120deg,#0b3d91,#17b6d6);
}
.board-table .empty { text-align: center; color: #9aa8bd; padding: 66px 0; font-size: 15px; }
.badge {
  display: inline-flex; align-items: center; gap: 2px; padding: 2px 9px; border-radius: 999px;
  background: #eaf1fb; font-size: 11.5px; font-weight: 700; color: #2f6fd6; margin-left: 6px;
  vertical-align: middle;
}

.admin-bulk { margin-top: 16px; padding: 12px 16px; background: #f4f8fc; border: 1px solid #e4edf6; border-radius: 10px; display: flex; gap: 10px; align-items: center; }
/* 선택 삭제 버튼: 호버 시 빨간색 */
.admin-bulk button[value="delete"]:hover { background: var(--c-danger); border-color: var(--c-danger); color: #fff; }
.pager { display: flex; gap: 6px; justify-content: center; margin-top: 34px; flex-wrap: wrap; }
.pager a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid #e1e9f2; border-radius: 10px;
  color: #5f7286; font-size: 14px; font-weight: 600; transition: all .15s;
}
.pager a.on { background: linear-gradient(120deg,#0b3d91,#17b6d6); color: #fff; border-color: transparent; }
.pager a:hover:not(.on) { background: #f2f7fc; border-color: #c6d6e6; text-decoration: none; }

@media (max-width: 640px) {
  .board-table thead th, .board-table tbody td { padding-left: 8px; padding-right: 8px; }
  .board-table .col-author, .board-table .col-hits { display: none; }
  .board-table .subj a { font-size: 15px; }
  .search input { min-width: 0; flex: 1; }
}

/* Photo grid */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.photo-card { position: relative; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: all .2s; }
.photo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--c-primary); }
.photo-check { position: absolute; top: 8px; left: 8px; z-index: 2; background: rgba(255,255,255,.9); border-radius: 4px; padding: 2px 4px; }
.photo-thumb {
  width: 100%; aspect-ratio: 4/3; background-size: cover; background-position: center;
  background-color: var(--c-line-2);
}
.photo-meta { padding: 12px; }
.photo-title { font-weight: 500; font-size: 14px; color: var(--c-fg); margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.photo-sub { color: var(--c-muted); font-size: 12px; }

/* Calendar */
.calendar { width: 100%; border-collapse: separate; border-spacing: 2px; }
.calendar th { background: var(--c-line-2); padding: 8px; font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.calendar th.sun { color: var(--c-danger); }
.calendar th.sat { color: var(--c-primary); }
.calendar td { background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius-sm); vertical-align: top; padding: 6px; min-height: 90px; height: 90px; position: relative; }
.calendar td.empty { background: var(--c-line-2); border: 0; }
.calendar td.today { background: #f0f6ff; border-color: var(--c-primary); }
.calendar td .d { display: inline-block; font-size: 13px; color: var(--c-muted); font-weight: 600; margin-bottom: 4px; }
.calendar td.sun .d { color: var(--c-danger); }
.calendar td.sat .d { color: var(--c-primary); }
.cal-event { display: block; background: var(--c-primary); color: #fff !important; padding: 2px 6px; border-radius: 3px; font-size: 11px; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cal-event:hover { background: var(--c-primary-2); text-decoration: none; }
.cal-nav { display: flex; align-items: center; gap: 8px; font-weight: 600; }

/* Post view (게시글 상세) */
.post-view { padding: 40px 20px 80px; max-width: 900px; }
.crumbs { font-size: 13px; color: #9aa8bd; margin-bottom: 18px; }
.crumbs a { color: #9aa8bd; }
.post-head { position: relative; padding: 2px 0 22px; margin-bottom: 30px; border-bottom: 1px solid #e6edf5; }
.post-head::after { content: ""; position: absolute; left: 0; bottom: -1px; width: 60px; height: 3px; border-radius: 3px; background: linear-gradient(90deg,#0b3d91,#17b6d6); }
.post-notice-badge { display: inline-block; margin: 0 0 12px; padding: 4px 13px; border-radius: 6px; font-size: 12px; font-weight: 800; letter-spacing: .04em; color: #fff; background: linear-gradient(120deg,#0b3d91,#17b6d6); }
.post-head h1 { font-size: 26px; font-weight: 800; color: #12233b; letter-spacing: -.02em; line-height: 1.4; margin: 0 0 15px; word-break: keep-all; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 7px 18px; color: #8a98ab; font-size: 13.5px; }
.post-meta .pm-item { display: inline-flex; align-items: center; gap: 6px; }
.post-meta .pm-item svg { width: 15px; height: 15px; opacity: .75; }
.event-bar { display: inline-flex; align-items: center; gap: 8px; background: #eef6ff; color: #0b3d91; padding: 11px 16px; border-radius: 10px; margin: 0 0 18px; font-weight: 600; font-size: 14px; }
.post-body { font-size: 16px; line-height: 1.85; color: #33405e; padding: 10px 0 30px; min-height: 180px; }
.post-body p { margin: 0 0 14px; }
.post-body img { border-radius: 8px; margin: 14px 0; max-width: 100%; height: auto; }
.post-body h2, .post-body h3, .post-body h4 { color: #16233b; font-weight: 800; letter-spacing: -.01em; margin: 26px 0 12px; }
.post-body a { color: #0b3d91; text-decoration: underline; }
.post-body ul, .post-body ol { padding-left: 22px; margin: 0 0 14px; }
.post-body li { margin: 4px 0; }
.post-body blockquote { margin: 16px 0; padding: 10px 18px; border-left: 3px solid #17b6d6; background: #f5fafc; color: #4a5a72; border-radius: 0 8px 8px 0; }
.post-body table { border-collapse: collapse; width: 100%; margin: 16px 0; font-size: 14.5px; }
.post-body table th, .post-body table td { border: 1px solid #e1e9f2; padding: 9px 12px; text-align: left; }
.post-body table th { background: #f2f7fc; font-weight: 700; color: #16233b; }
.post-body hr { border: 0; border-top: 1px solid #e6edf5; margin: 22px 0; }
.attachments-block { background: #f4f8fc; border: 1px solid #e4edf6; padding: 18px; border-radius: 12px; margin: 24px 0; }
.attachments-block h3 { font-size: 12px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .1em; color: #8a98ab; font-weight: 800; }
.att-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.att-list li { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.att-thumb { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }

/* Image gallery at top of post body */
.post-images {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0 0 24px;
}
.post-image {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--c-line-2);
  border: 1px solid var(--c-line);
}
.post-image a {
  display: block;
  text-decoration: none;
}
.post-image a:hover { text-decoration: none; }
.post-image img {
  width: 100%;
  height: auto;
  display: block;
  background: #fff;
  transition: transform .25s;
}
.post-image a:hover img { transform: scale(1.005); }
.post-image figcaption {
  font-size: 13px;
  color: var(--c-muted);
  padding: 8px 14px;
  background: #fff;
  border-top: 1px solid var(--c-line);
  text-align: center;
}

/* Download cards for non-image attachments */
.download-block { background: var(--c-line-2); padding: 18px; border-radius: var(--radius); margin: 24px 0; }
.download-block h3 { font-size: 14px; margin: 0 0 14px; text-transform: uppercase; letter-spacing: .04em; color: var(--c-muted); }
.download-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.download-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  color: var(--c-fg) !important;
  text-decoration: none !important;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.download-card:hover {
  border-color: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.download-card .dl-icon {
  font-size: 30px;
  line-height: 1;
  flex-shrink: 0;
  width: 44px;
  text-align: center;
}
.download-card .dl-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.download-card .dl-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--c-fg);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.download-card .dl-meta {
  font-size: 12px;
  color: var(--c-muted);
}
.download-card .dl-ext {
  display: inline-block;
  padding: 1px 7px;
  border-radius: 3px;
  background: var(--c-tag);
  color: var(--c-primary);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: .02em;
}
.download-card .dl-action {
  font-size: 18px;
  color: var(--c-muted);
  flex-shrink: 0;
  transition: color .15s, transform .15s;
}
.download-card:hover .dl-action {
  color: var(--c-primary);
  transform: translateY(2px);
}

@media (max-width: 520px) {
  .download-cards { grid-template-columns: 1fr; }
  .post-images { gap: 10px; }
}
.post-actions { display: flex; gap: 10px; margin: 30px 0 0; flex-wrap: wrap; justify-content: center; }
.prev-next { display: flex; flex-direction: column; margin: 34px 0 0; border-top: 1px solid #e6edf5; }
.prev-next a { display: block; padding: 15px 6px; color: #47566e; font-size: 14.5px; text-decoration: none; border-bottom: 1px solid #eef2f7; transition: color .15s, background .15s; }
.prev-next a:hover { color: #0b3d91; background: #f8fbfe; text-decoration: none; }
.comments { margin-top: 46px; }
.comments h3 { font-size: 17px; font-weight: 800; color: #16233b; margin: 0 0 16px; }
.comments ul { list-style: none; padding: 0; margin: 0; }
.comments li { padding: 16px 0; border-bottom: 1px solid #eef2f7; }
.comments li strong { margin-right: 8px; color: #16233b; font-weight: 700; }
.comments li time { color: #9aa8bd; font-size: 12.5px; }
.comments p { margin: 8px 0 0; color: #4a5a72; line-height: 1.7; }
.comment-form { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; }
.comment-form input, .comment-form textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #d9e2ee; border-radius: 10px;
  font-family: inherit; font-size: 14px; transition: border-color .16s, box-shadow .16s;
}
.comment-form input:focus, .comment-form textarea:focus {
  outline: none; border-color: #17b6d6; box-shadow: 0 0 0 3px rgba(23,182,214,.15);
}

/* Write form */
.post-write { padding: 40px 20px 80px; max-width: 900px; }
.write-form { display: flex; flex-direction: column; gap: 16px; }
.write-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 500; font-size: 14px; }
.write-form input[type=text],
.write-form input[type=datetime-local],
.write-form textarea {
  padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 15px;
  transition: border-color .16s, box-shadow .16s;
}
.write-form input[type=text]:focus,
.write-form input[type=datetime-local]:focus,
.write-form input[type=password]:focus,
.write-form textarea:focus {
  outline: none; border-color: #17b6d6; box-shadow: 0 0 0 3px rgba(23,182,214,.15);
}
.write-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.write-form fieldset.attachments { border: 1px dashed var(--c-line); padding: 16px; border-radius: var(--radius-sm); }
.write-form .file-row { margin: 6px 0; }
.write-form .form-actions { display: flex; gap: 10px; }

.alert { padding: 10px 14px; border-radius: var(--radius-sm); margin: 12px 0; font-size: 14px; }
.alert.ok  { background: #e6f7ee; color: #145a36; }
.alert.err { background: #fde6e8; color: #921c25; }

/* ====================================================================
   Webzine (웹진) — magazine-style skin
   ==================================================================== */
.webzine-page { padding: 32px 20px 80px; }

/* Masthead */
.wz-masthead {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
  padding-bottom: 20px; margin-bottom: 28px;
  border-bottom: 3px double var(--c-fg);
}
.wz-masthead-text { flex: 1 1 300px; }
.wz-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-accent); margin-bottom: 8px;
}
.wz-title {
  font-size: clamp(28px, 4.2vw, 44px); font-weight: 800;
  letter-spacing: -.025em; margin: 0 0 8px;
  font-family: "Pretendard", "Playfair Display", Georgia, serif;
}
.wz-tagline { color: var(--c-muted); margin: 0; font-size: 15px; max-width: 640px; }
.wz-masthead-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.wz-search input { min-width: 220px; }

/* Hero cover story */
.wz-hero {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; margin-bottom: 48px; color: var(--c-fg);
  box-shadow: var(--shadow-sm); transition: box-shadow .2s, transform .15s;
}
.wz-hero:hover { box-shadow: var(--shadow-md); text-decoration: none; transform: translateY(-2px); }
.wz-hero-image {
  position: relative;
  aspect-ratio: 4 / 3;
  background-size: cover; background-position: center;
  background-color: var(--c-line-2);
}
.wz-hero-badge {
  position: absolute; top: 18px; left: 18px;
  background: var(--c-fg); color: #fff;
  padding: 6px 12px; font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  border-radius: var(--radius-sm);
}
.wz-hero-body { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.wz-hero-title {
  font-size: clamp(22px, 2.6vw, 32px); font-weight: 700;
  margin: 0; line-height: 1.25; letter-spacing: -.02em;
  font-family: "Pretendard", "Playfair Display", Georgia, serif;
}
.wz-hero-excerpt { color: var(--c-muted); font-size: 15px; line-height: 1.7; margin: 0; }
.wz-meta { display: flex; gap: 6px; align-items: center; color: var(--c-muted); font-size: 13px; flex-wrap: wrap; }
.wz-meta strong { color: var(--c-fg); font-weight: 600; }
.wz-meta-small { display: flex; gap: 6px; align-items: center; color: var(--c-muted); font-size: 12px; flex-wrap: wrap; }
.wz-dot { opacity: .5; }

/* Section heading */
.wz-section { margin: 0 0 56px; }
.wz-section-head { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.wz-section-title {
  font-size: 13px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--c-fg); margin: 0;
  white-space: nowrap;
}
.wz-section-rule { flex: 1; height: 1px; background: var(--c-line); }

/* Tags */
.wz-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 4px; }
.wz-tag {
  display: inline-block; padding: 2px 10px; border-radius: 999px;
  background: var(--c-tag); color: var(--c-primary);
  font-size: 11px; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase;
}

/* Editor's picks — horizontal scroller on mobile, grid on desktop */
.wz-picks {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.wz-pick {
  display: flex; flex-direction: column; color: var(--c-fg);
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: all .15s;
}
.wz-pick:hover {
  text-decoration: none; transform: translateY(-2px);
  border-color: var(--c-primary); box-shadow: var(--shadow-md);
}
.wz-pick-thumb {
  width: 100%; aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  background-color: var(--c-line-2);
}
.wz-pick-body { padding: 14px 14px 16px; }
.wz-pick-title {
  font-size: 15px; font-weight: 600; line-height: 1.35;
  margin: 0 0 8px; letter-spacing: -.01em;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Article grid */
.wz-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}
.wz-card {
  position: relative;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius);
  overflow: hidden; transition: all .18s;
}
.wz-card:hover {
  transform: translateY(-3px); box-shadow: var(--shadow-md);
  border-color: var(--c-primary);
}
.wz-card--notice { border-color: var(--c-accent); }
.wz-card-link { display: block; color: var(--c-fg); }
.wz-card-link:hover { text-decoration: none; }
.wz-card-thumb {
  position: relative;
  width: 100%; aspect-ratio: 16 / 10;
  background-size: cover; background-position: center;
  background-color: var(--c-line-2);
}
.wz-card-flag {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 10px; font-size: 11px; font-weight: 700;
  border-radius: 4px; background: rgba(255,255,255,.95); color: var(--c-fg);
  letter-spacing: .04em;
}
.wz-card-flag--notice { background: var(--c-accent); color: #fff; }
.wz-card-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; }
.wz-card-title {
  font-size: 17px; font-weight: 700; line-height: 1.3;
  letter-spacing: -.015em; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: "Pretendard", "Playfair Display", Georgia, serif;
}
.wz-card-excerpt {
  font-size: 13.5px; color: var(--c-muted); line-height: 1.6; margin: 0;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden;
}
.wz-check {
  position: absolute; top: 10px; right: 10px; z-index: 3;
  background: rgba(255,255,255,.95); border-radius: 4px; padding: 2px 6px;
}

.wz-empty {
  text-align: center; color: var(--c-muted);
  padding: 80px 20px; border: 1px dashed var(--c-line); border-radius: var(--radius);
  background: var(--c-line-2);
}

/* Stack hero on tablet & below */
@media (max-width: 860px) {
  .wz-hero { grid-template-columns: 1fr; }
  .wz-hero-image { aspect-ratio: 16 / 9; }
  .wz-hero-body { padding: 24px 22px 26px; }
  .wz-grid { gap: 22px; }
}
@media (max-width: 520px) {
  .wz-masthead { gap: 14px; padding-bottom: 16px; margin-bottom: 22px; }
  .wz-search input { min-width: 0; flex: 1; }
  .wz-section { margin-bottom: 40px; }
  .wz-picks { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
  .wz-grid { grid-template-columns: 1fr; }
}

/* 헤더 로고 이미지 */
.logo img{ height:52px; width:auto; display:block; }
@media (max-width:768px){ :root{ --header-h:64px; } .logo img{ height:34px; } }


/* ============================================================
   성심메디케어 홈 — 정밀공학/테크니컬 (ht- 프리픽스)
   ============================================================ */
:root{
  --ht-navy:#07152a; --ht-navy2:#0c2340; --ht-cyan:#17b6d6; --ht-cyan2:#22c9e6;
  --ht-blue:#0b57a4; --ht-paper:#eef3f9; --ht-ink:#0b1b2e; --ht-mut:#5f7286;
  --ht-line:#d7e2ee; --ht-gridline:rgba(125,180,230,.12);
  --ht-mono:ui-monospace,"SF Mono","Cascadia Code",Consolas,monospace;
}
.ht-wrap{ max-width:1180px; margin:0 auto; padding:0 26px; position:relative; }
.ht-grid{ position:absolute; inset:0; pointer-events:none; background-image:linear-gradient(var(--ht-gridline) 1px,transparent 1px),linear-gradient(90deg,var(--ht-gridline) 1px,transparent 1px); background-size:38px 38px; }
.ht-corner{ position:absolute; width:15px; height:15px; border:1.5px solid rgba(34,201,230,.5); z-index:2; }
.ht-corner.c1{ top:16px; left:16px; border-right:0; border-bottom:0; }
.ht-corner.c2{ top:16px; right:16px; border-left:0; border-bottom:0; }
.ht-corner.c3{ bottom:16px; left:16px; border-right:0; border-top:0; }
.ht-corner.c4{ bottom:16px; right:16px; border-left:0; border-top:0; }
.ht-ey{ font-family:var(--ht-mono); font-size:11.5px; letter-spacing:.22em; color:var(--ht-cyan2); display:inline-flex; align-items:center; gap:9px; }
.ht-ey::before{ content:""; width:26px; height:1px; background:currentColor; }
.ht-ey.d{ color:var(--ht-blue); }
.ht-h2{ font-size:clamp(24px,3.4vw,38px); font-weight:800; letter-spacing:-.03em; line-height:1.2; color:var(--ht-ink); margin:14px 0 0; }
.ht-h2.light{ color:#fff; }
.ht-sub{ color:var(--ht-mut); font-size:14.5px; margin-top:11px; max-width:560px; }
.ht-b1{ display:inline-flex; align-items:center; font-family:inherit; font-size:14.5px; font-weight:700; color:var(--ht-navy); background:var(--ht-cyan2); padding:13px 24px; border-radius:6px; letter-spacing:-.01em; transition:.2s; }
.ht-b1:hover{ background:#fff; color:var(--ht-navy); }
.ht-b2{ display:inline-flex; align-items:center; font-family:inherit; font-size:14.5px; font-weight:700; color:#bfe9f4; border:1px solid #205a72; padding:13px 22px; border-radius:6px; transition:.2s; }
.ht-b2:hover{ border-color:var(--ht-cyan2); color:#fff; }
.ht-outline{ display:inline-flex; align-items:center; font-family:var(--ht-mono); font-size:13px; font-weight:600; color:var(--ht-blue); border:1px solid var(--ht-line); background:#fff; padding:11px 18px; border-radius:6px; transition:.2s; white-space:nowrap; }
.ht-outline:hover{ border-color:var(--ht-blue); }
.ht-hero{ position:relative; overflow:hidden; color:#e8f1fb; background:radial-gradient(circle at 80% 12%,rgba(34,201,230,.14),transparent 46%),linear-gradient(160deg,var(--ht-navy),var(--ht-navy2)); }
.ht-hero .ht-grid{ mask-image:radial-gradient(circle at 72% 38%,#000,transparent 82%); -webkit-mask-image:radial-gradient(circle at 72% 38%,#000,transparent 82%); }
.ht-hero-inner{ display:grid; grid-template-columns:1.02fr .98fr; gap:32px; align-items:center; padding:78px 0 84px; }
.ht-hero-title{ font-size:clamp(30px,4.6vw,50px); font-weight:800; letter-spacing:-.035em; line-height:1.12; margin:16px 0 0; }
.ht-hero-title .lt{ color:var(--ht-cyan2); }
.ht-hero-lead{ color:#9fb4cc; font-size:14.5px; max-width:440px; margin:18px 0 26px; line-height:1.75; }
.ht-specs{ display:flex; gap:14px 26px; flex-wrap:wrap; border-top:1px solid #1c3a56; padding-top:20px; }
.ht-spec .v{ font-family:var(--ht-mono); font-size:25px; font-weight:700; color:#fff; letter-spacing:-.02em; }
.ht-spec .v em{ font-style:normal; font-size:12.5px; color:var(--ht-cyan2); margin-left:1px; }
.ht-spec .k{ font-size:11.5px; color:#6f849c; margin-top:3px; }
.ht-btns{ display:flex; gap:10px; margin-top:26px; flex-wrap:wrap; }
.ht-schem svg{ width:100%; height:auto; overflow:visible; }
.ht-blip{ fill:var(--ht-cyan2); }
.ht-dim{ font-family:var(--ht-mono); font-size:10px; fill:#7fe3f4; letter-spacing:.04em; }
.ht-lbl{ font-family:var(--ht-mono); font-size:9.5px; fill:#5f92ad; letter-spacing:.08em; }
.ht-sec{ padding:82px 0; position:relative; }
.ht-products{ background:var(--ht-paper); }
.ht-head{ display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:38px; flex-wrap:wrap; }
.ht-head.col{ flex-direction:column; align-items:center; text-align:center; }
.ht-prod-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.ht-prod{ background:#fff; border:1px solid var(--ht-line); border-radius:4px; overflow:hidden; transition:.22s; }
.ht-prod:hover{ border-color:var(--ht-cyan); box-shadow:0 10px 26px rgba(11,87,164,.12); transform:translateY(-4px); }
.ht-prod-head{ display:flex; justify-content:space-between; align-items:center; padding:11px 14px; border-bottom:1px dashed var(--ht-line); font-family:var(--ht-mono); font-size:11px; }
.ht-prod-head .pc{ color:var(--ht-blue); font-weight:700; letter-spacing:.04em; }
.ht-prod-head .pn{ color:#9aabbd; }
.ht-prod-thumb{ position:relative; aspect-ratio:1/1; display:grid; place-items:center; padding:22px; background:#fff; }
.ht-prod-thumb img{ width:100%; height:100%; object-fit:contain; transition:.35s; }
.ht-prod:hover .ht-prod-thumb img{ transform:scale(1.05); }
.ht-prod-thumb .tk{ position:absolute; width:9px; height:9px; border:1.5px solid var(--ht-cyan); opacity:.55; }
.ht-prod-thumb .tk1{ top:10px; left:10px; border-right:0; border-bottom:0; }
.ht-prod-thumb .tk2{ top:10px; right:10px; border-left:0; border-bottom:0; }
.ht-prod-thumb .tk3{ bottom:10px; left:10px; border-right:0; border-top:0; }
.ht-prod-thumb .tk4{ bottom:10px; right:10px; border-left:0; border-top:0; }
.ht-prod-foot{ display:flex; justify-content:space-between; align-items:center; gap:8px; padding:14px; border-top:1px solid var(--ht-line); }
.ht-prod-foot h3{ font-size:15.5px; font-weight:700; color:var(--ht-ink); margin:0; }
.ht-prod-spec{ font-family:var(--ht-mono); font-size:11.5px; color:var(--ht-cyan); background:#eafaff; border:1px solid #c9edf6; padding:3px 8px; border-radius:4px; white-space:nowrap; }
.ht-why-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; border:1px solid var(--ht-line); border-radius:6px; overflow:hidden; }
.ht-why-card{ padding:34px 30px; border-right:1px solid var(--ht-line); background:#fff; }
.ht-why-card:last-child{ border-right:0; }
.ht-why-card .wn{ font-family:var(--ht-mono); font-size:13px; font-weight:700; color:var(--ht-cyan); border:1px solid var(--ht-cyan); width:38px; height:38px; display:grid; place-items:center; border-radius:50%; margin-bottom:18px; }
.ht-why-card h3{ font-size:18px; font-weight:800; color:var(--ht-ink); margin:0; }
.ht-why-card p{ color:var(--ht-mut); font-size:14px; margin-top:10px; line-height:1.7; }
.ht-cert{ position:relative; overflow:hidden; text-align:center; padding:74px 0; background:linear-gradient(135deg,var(--ht-navy),#0b3d77); color:#fff; }
.ht-cert .ht-ey{ justify-content:center; }
.ht-cert-row{ display:flex; justify-content:center; gap:18px; flex-wrap:wrap; margin-top:34px; }
.ht-c{ border:1px solid #1f4a66; border-radius:6px; padding:20px 26px; min-width:180px; background:rgba(255,255,255,.02); }
.ht-c .cn{ font-size:26px; font-weight:900; letter-spacing:.02em; color:#fff; }
.ht-c .cd{ font-family:var(--ht-mono); font-size:10.5px; color:#7fb3d0; margin-top:8px; letter-spacing:.06em; }

/* 통합 QUALITY 섹션 — 원칙(공정) → 인증(증명) 좌우 에디토리얼 (라이트 + 도면 그리드) */
.ht-quality{ position:relative; overflow:hidden; padding:90px 0 92px; color:var(--ht-ink);
  border-top:1px solid #e3ecf5; border-bottom:1px solid #e3ecf5;
  background:
    radial-gradient(66% 58% at 88% 4%, rgba(23,182,214,.14), transparent 55%),
    radial-gradient(56% 50% at 4% 98%, rgba(11,61,145,.09), transparent 55%),
    linear-gradient(180deg, #dde9f6 0%, #e7f0fa 52%, #dfeaf7 100%); }
.ht-quality .ht-grid{ display:none; }
.ht-quality .ht-h2{ color:var(--ht-ink); }
.htq2{ display:grid; grid-template-columns:1.08fr .92fr; gap:66px; align-items:start; }
.htq2-left .ht-ey{ color:var(--ht-cyan); }
.htq2-left .ht-h2{ text-align:left; margin:14px 0 40px; }
/* 좌: 3원칙 세로 공정 스파인 */
.htq2-steps{ position:relative; }
.htq2-step{ position:relative; display:flex; gap:22px; padding-bottom:30px; }
.htq2-step:last-child{ padding-bottom:0; }
.htq2-step::before{ display:none; }
.htq2-step .n{ flex:0 0 46px; height:46px; display:grid; place-items:center; border-radius:50%; border:1px solid var(--ht-cyan); color:var(--ht-blue); font-family:var(--ht-mono); font-size:15px; font-weight:700; background:#fff; position:relative; z-index:1; box-shadow:0 4px 12px rgba(11,45,90,.08); }
.htq2-step .n::after{ content:""; position:absolute; inset:-1px; border-radius:50%; border:1.5px solid var(--ht-cyan); opacity:0; pointer-events:none; animation:qpulse 2.2s ease-out infinite; }
.htq2-step:nth-of-type(2) .n::after{ animation-delay:.6s; }
.htq2-step:nth-of-type(3) .n::after{ animation-delay:1.2s; }
@keyframes qpulse{ 0%{ transform:scale(1); opacity:.6; } 75%{ opacity:0; } 100%{ transform:scale(2.1); opacity:0; } }
@media (prefers-reduced-motion:reduce){ .htq2-step .n::after{ animation:none; } }
.htq2-step .ic{ flex:0 0 56px; height:56px; align-self:flex-start; margin-top:9px; background:linear-gradient(135deg,#0b3d91,#17b6d6); -webkit-mask:var(--i) center/contain no-repeat; mask:var(--i) center/contain no-repeat; }
.htq2-step .b h3{ font-size:20px; font-weight:800; color:var(--ht-ink); margin:9px 0 0; }
.htq2-step .b p{ font-size:14px; color:var(--ht-mut); margin-top:8px; line-height:1.7; }
@media (max-width:480px){ .htq2-step{ gap:14px; } .htq2-step .ic{ flex-basis:46px; height:46px; margin-top:0; } }
/* 우: 인증 씰 (2×2) */
.htq2-right{ border-left:1px solid rgba(11,61,145,.14); padding-left:60px; align-self:stretch; }
.htq2-rhead{ margin-bottom:26px; }
.htq2-rhead .ht-ey{ color:var(--ht-cyan); }
.htq2-rhead h3{ font-size:clamp(24px,3.4vw,38px); font-weight:800; color:var(--ht-ink); margin-top:14px; line-height:1.2; letter-spacing:-.03em; }
.htq2-seals{ display:grid; grid-template-columns:1fr; gap:14px; }
.htq2-seal{ position:relative; border:1px solid #dbe6f1; border-radius:12px; padding:26px 22px; background:#fff; overflow:hidden; transition:.25s; box-shadow:0 6px 18px rgba(11,45,90,.05); }
.htq2-seal:hover{ border-color:var(--ht-cyan); box-shadow:0 14px 32px rgba(11,45,90,.12); transform:translateY(-3px); }
.htq2-seal .tick{ position:absolute; top:14px; right:14px; width:22px; height:22px; display:grid; place-items:center; border-radius:50%; background:var(--ht-cyan); color:#fff; font-size:12px; font-weight:900; }
.htq2-seal .nm{ font-size:23px; font-weight:900; color:var(--ht-ink); letter-spacing:.01em; }
.htq2-seal .ds{ font-size:13.5px; color:#5f7286; margin-top:7px; line-height:1.5; word-break:keep-all; }
@media (max-width:900px){
  .htq2{ grid-template-columns:1fr; gap:44px; }
  .htq2-right{ border-left:0; padding-left:0; border-top:1px solid rgba(11,61,145,.14); padding-top:40px; }
}
@media (max-width:480px){ .htq2-seals{ grid-template-columns:1fr; gap:11px; } .htq2-seal{ padding:18px 16px; } .htq2-seal .nm{ font-size:20px; } .htq2-seal .ds{ font-size:12.5px; } .htq2-seal .tick{ width:20px; height:20px; top:12px; right:12px; } }
/* NEWS — 업데이트 로그 (테크니컬 피드) : QUALITY(블루)와 대비되는 밝은 톤 */
.ht-news2{ position:relative; overflow:hidden; border-top:1px solid #dde7f1;
  background:
    radial-gradient(58% 52% at 88% 6%, rgba(23,182,214,.06), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f2f7fc 100%); }
.nw2-top{ margin-bottom:28px; }
.nw2-top .ht-h2{ margin-top:12px; }
.nw2-panel{ position:relative; display:grid; grid-template-columns:1fr 1fr; background:#fff; border:1px solid #e5edf6; border-radius:3px; box-shadow:0 22px 55px rgba(11,45,90,.09); }
.nw2-panel .ht-corner{ border-color:rgba(23,182,214,.55); }
.nw2-col{ padding:32px 36px; min-width:0; }
.nw2-col:first-child{ border-right:1px solid var(--ht-line); }
.nw2-head{ display:flex; align-items:baseline; gap:12px; padding-bottom:15px; border-bottom:2px solid var(--ht-ink); margin-bottom:4px; }
.nw2-head .ix{ font-family:var(--ht-mono); font-size:12px; font-weight:700; color:var(--ht-cyan); }
.nw2-head h3{ font-size:18px; font-weight:800; color:var(--ht-ink); margin:0; flex:1; letter-spacing:-.01em; }
.nw2-head a{ font-size:12.5px; font-weight:600; color:var(--ht-blue); white-space:nowrap; transition:.2s; }
.nw2-head a:hover{ color:var(--ht-cyan); }
.nw2-list{ list-style:none; margin:0; padding:0; }
.nw2-list li{ display:flex; align-items:center; gap:16px; padding:14px 6px; border-bottom:1px dashed var(--ht-line); transition:.18s; }
.nw2-list li:last-child{ border-bottom:0; }
.nw2-list li .d{ font-family:var(--ht-mono); font-size:11px; color:var(--ht-cyan); background:#eafaff; border:1px solid #cdeef7; padding:3px 8px; border-radius:4px; flex-shrink:0; }
.nw2-list li .t{ color:#33465b; font-size:14.5px; flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.nw2-list li .go{ font-family:var(--ht-mono); color:var(--ht-blue); opacity:0; transform:translateX(-6px); transition:.2s; }
.nw2-list li:hover{ background:#f5fbfe; padding-left:12px; }
.nw2-list li:hover .t{ color:var(--ht-blue); }
.nw2-list li:hover .go{ opacity:1; transform:none; }
.nw2-list li.empty{ color:#9aabbd; font-size:13.5px; padding:30px 6px; border-bottom:0; }
.nw2-list li.empty .cur{ width:8px; height:15px; background:var(--ht-cyan); flex-shrink:0; }
.ht-cta-sec{ padding:76px 0; }
.ht-cta{ position:relative; overflow:hidden; border-radius:12px; text-align:center; padding:64px 40px; color:#fff; background:radial-gradient(circle at 82% 20%,rgba(34,201,230,.16),transparent 46%),linear-gradient(160deg,var(--ht-navy),var(--ht-navy2)); border:1px solid #16324d; }
.pexp-cta{ margin-top:64px; }
@media (max-width:1024px){ .pexp-cta{ margin-top:44px; } }
@media (max-width:560px){ .ht-cta{ padding:46px 22px; } .ht-cta h2{ font-size:21px; } .ht-cta p{ font-size:14px; } }
.ht-cta-in{ position:relative; z-index:2; }
.ht-cta h2{ font-size:clamp(22px,3vw,32px); font-weight:800; letter-spacing:-.02em; margin:0; }
.ht-cta p{ color:#9fb4cc; margin:14px 0 26px; font-size:15px; }
@media (max-width:960px){
  .ht-hero-inner{ grid-template-columns:1fr; gap:26px; padding:56px 0 60px; }
  .ht-schem{ order:-1; }
  .ht-prod-grid{ grid-template-columns:repeat(2,1fr); }
  .ht-why-grid{ grid-template-columns:1fr; }
  .ht-why-card{ border-right:0; border-bottom:1px solid var(--ht-line); }
  .ht-why-card:last-child{ border-bottom:0; }
  .nw2-panel{ grid-template-columns:1fr; }
  .nw2-col{ padding:24px 22px; }
  .nw2-col:first-child{ border-right:0; border-bottom:1px solid var(--ht-line); }
  .ht-sec,.ht-cert,.ht-cta-sec,.ht-quality{ padding:52px 0; }
}
@media (max-width:520px){
  .ht-prod-grid{ grid-template-columns:1fr 1fr; gap:10px; }
  .ht-prod-foot{ flex-direction:column; align-items:flex-start; gap:6px; }
  .ht-c{ min-width:140px; padding:16px 18px; }
}



/* ============================================================
   성심메디케어 헤더 메뉴 — 세련된 드롭다운 (건축성능원 스타일)
   ============================================================ */
:root{ --kcs-navy:#0b3d91; --kcs-ink:#16203a; --kcs-soft:#eef3fb; --kcs-line:#e6e9f0; }
.gnb{ flex:1 1 auto; }
.gnb-list{ display:flex; justify-content:center; gap:6px; list-style:none; margin:0; padding:0; }
.gnb-item{ position:relative; }
.gnb-link{ display:block; padding:20px 22px; font-weight:700; font-size:18px; color:var(--kcs-ink); text-decoration:none; position:relative; transition:color .2s; white-space:nowrap; }
.gnb-link:hover{ text-decoration:none; }
.gnb-link::after{ content:""; position:absolute; left:22px; right:22px; bottom:15px; height:3px; border-radius:2px; background:var(--kcs-navy); transform:scaleX(0); transition:transform .25s; }
.gnb-item:hover .gnb-link, .gnb-item.on .gnb-link{ color:var(--kcs-navy); }
.gnb-item:hover .gnb-link::after, .gnb-item.on .gnb-link::after{ transform:scaleX(1); }
.gnb-panel{ position:absolute; left:50%; top:100%; transform:translateX(-50%) translateY(8px); min-width:200px; background:#fff; border:1px solid var(--kcs-line); border-radius:12px; box-shadow:0 18px 38px rgba(8,24,66,.14); padding:10px; opacity:0; visibility:hidden; transition:opacity .2s,transform .2s,visibility .2s; z-index:50; }
.gnb-item:hover .gnb-panel{ opacity:1; visibility:visible; transform:translateX(-50%) translateY(0); }
.gnb-panel::before{ content:""; position:absolute; top:-7px; left:50%; transform:translateX(-50%) rotate(45deg); width:13px; height:13px; background:#fff; border-left:1px solid var(--kcs-line); border-top:1px solid var(--kcs-line); }
.gnb-panel ul{ list-style:none; margin:0; padding:0; }
.gnb-panel li a{ display:block; padding:11px 16px; border-radius:8px; color:#48506a; font-size:15px; font-weight:600; white-space:nowrap; text-decoration:none; transition:background .15s,color .15s; }
.gnb-panel li a:hover{ background:var(--kcs-soft); color:var(--kcs-navy); text-decoration:none; }
.gnb-acc{ display:none; }

@media (max-width:1024px){
  .gnb-list{ gap:0; }
  .gnb-link{ padding:20px 14px; font-size:17px; }
}
@media (max-width:768px){
  .gnb{ position:fixed; inset:var(--header-h,80px) 0 auto 0; background:#fff; border-bottom:1px solid var(--kcs-line); max-height:0; overflow:hidden; transition:max-height .3s; box-shadow:0 16px 30px rgba(8,24,66,.12); z-index:190; }
  .gnb.open{ max-height:82vh; overflow:auto; }
  .gnb-list{ flex-direction:column; }
  .gnb-item{ position:relative; border-bottom:1px solid var(--kcs-soft); }
  .gnb-link{ padding:16px 60px 16px 20px; font-size:16px; }
  .gnb-link::after{ display:none; }
  .gnb-acc{ display:flex; position:absolute; top:0; right:0; width:58px; height:54px; align-items:center; justify-content:center; background:none; border:0; color:#6c7488; font-size:26px; line-height:1; cursor:pointer; }
  .gnb-acc::before{ content:"+"; }
  .gnb-item.open>.gnb-acc{ color:var(--kcs-navy); }
  .gnb-item.open>.gnb-acc::before{ content:"\2212"; }
  .gnb-panel{ position:static; transform:none; box-shadow:none; border:0; border-radius:0; min-width:0; padding:0; background:#f7f9fc; display:none; opacity:1; visibility:visible; }
  .gnb-item:hover .gnb-panel{ transform:none; opacity:1; visibility:visible; }
  .gnb-item.open>.gnb-panel{ display:block; padding:6px 20px 12px; }
  .gnb-panel::before{ display:none; }
  .gnb-panel li a{ padding:10px 12px; color:#5a6480; font-size:14.5px; }
}

/* 다국어: 데스크탑=헤더 스위처, 모바일=햄버거 드로어 안 */
.gnb-extra{ display:none; }
@media (max-width:768px){
  .header-actions .lang-switcher{ display:none; }
  .gnb-extra{ display:block; border-top:1px solid var(--kcs-line); padding:12px 20px 20px; }
  .gnb-extra-langs{ display:flex; flex-wrap:wrap; gap:8px; }
  .gnb-extra-langs a{ flex:1; min-width:calc(50% - 4px); text-align:center; padding:12px 8px; border:1px solid var(--kcs-line); border-radius:9px; font-size:14.5px; font-weight:600; color:#4a5366; background:#fff; text-decoration:none; }
  .gnb-extra-langs a.on{ background:var(--kcs-navy); color:#fff; border-color:var(--kcs-navy); }
}

/* ============================================================
   메인 슬라이더 (기존 비주얼 이미지 + 카피)
   ============================================================ */
.mslider{ position:relative; height:auto; aspect-ratio:2.6; min-height:420px; max-height:760px; overflow:hidden; background:#eef4fb; }
.mslide{ position:absolute; inset:0; background-size:cover; background-position:center; opacity:0; transition:opacity .8s ease; z-index:1; }
.mslide.is-active{ opacity:1; z-index:2; }
.mslide::after{ display:none; }
.mslide:nth-child(2)::after,.mslide:nth-child(3)::after{ content:""; display:block; position:absolute; inset:0; background:linear-gradient(90deg,rgba(255,255,255,.62) 0%,rgba(255,255,255,.5) 32%,rgba(255,255,255,.18) 52%,rgba(255,255,255,0) 66%); }
.mslide-inner{ position:relative; z-index:3; max-width:1600px; margin:0 auto; padding:0 96px; height:100%; display:flex; align-items:center; }
.mslide-copy{ color:#3b4660; font-size:clamp(16px,1.25vw,23px); font-weight:400; line-height:1.55; letter-spacing:-.01em; max-width:min(640px,48%); word-break:keep-all; text-shadow:0 0 10px rgba(255,255,255,.9),0 0 22px rgba(255,255,255,.7); }
.mslide-copy strong{ display:block; font-size:clamp(34px,3.1vw,58px); font-weight:800; color:#0f1f3d; margin-bottom:22px; letter-spacing:-.03em; line-height:1.18; }
.mslide-copy strong .hl{ font-style:normal; color:#1a6fe0; }
.mslide-copy .mk{ font-weight:700; font-size:.72em; letter-spacing:.06em; color:#0b3d91; }
.mslide-txt{ display:block; }
.mslide-prev,.mslide-next{ position:absolute; top:50%; transform:translateY(-50%); z-index:6; width:50px; height:50px; border-radius:50%; background:rgba(255,255,255,.55); border:1px solid rgba(11,61,145,.25); color:#0b3d91; font-size:26px; line-height:1; cursor:pointer; transition:.2s; display:flex; align-items:center; justify-content:center; }
.mslide-prev{ left:26px; } .mslide-next{ right:26px; }
.mslide-prev:hover,.mslide-next:hover{ background:#fff; }
.mslide-dots{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); z-index:6; display:flex; gap:9px; }
.mslide-dots button{ width:10px; height:10px; border-radius:50%; border:0; background:rgba(11,61,145,.3); cursor:pointer; padding:0; transition:.2s; }
.mslide-dots button.on{ background:#0b3d91; width:28px; border-radius:5px; }
@media (max-width:768px){
  .mslider{ aspect-ratio:3/4; height:auto; min-height:0; max-height:none; }
  .mslide{ background-image:var(--mimg) !important; background-size:cover; background-position:center; }
  .mslide::after,.mslide:nth-child(2)::after,.mslide:nth-child(3)::after{ content:""; display:block; position:absolute; inset:0; background:linear-gradient(180deg,rgba(6,16,34,0) 42%,rgba(6,16,34,.3) 62%,rgba(6,16,34,.72) 100%); }
  .mslide-inner{ padding:0 22px 92px; align-items:flex-end; }
  .mslide-copy{ font-size:15px; line-height:1.55; max-width:none; color:#e6eefb; text-shadow:0 1px 10px rgba(0,0,0,.35); }
  .mslide-copy br.dbr{ display:none; }
  .mslide-copy strong{ font-size:27px; margin-bottom:10px; color:#fff; }
  .mslide-copy strong .hl{ color:#8fd3ff; }
  .mslide-copy .mk{ color:#cfe3ff; }
  .mslide-dots button{ background:rgba(255,255,255,.5); }
  .mslide-dots button.on{ background:#fff; }
  .mslide-prev,.mslide-next{ background:rgba(255,255,255,.22); border-color:rgba(255,255,255,.55); color:#fff; }
  .mslide-prev,.mslide-next{ width:38px; height:38px; font-size:20px; top:auto; bottom:14px; transform:none; }
  .mslide-prev{ left:12px; } .mslide-next{ right:12px; }
}

/* ============================================================
   메인 제품소개 (기존 페이지 스타일: 좌 타이틀 + 우 카드 슬라이더)
   ============================================================ */
.phome{ padding:90px 0; background:#fff; }
.phome-wrap{ max-width:1600px; margin:0 auto; padding:0 40px; display:flex; gap:48px; align-items:center; }
.phome-left{ flex:0 0 260px; }
.phome-title .eng{ display:block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:13px; letter-spacing:.16em; color:#00a6ce; font-weight:700; }
.phome-title .kor{ display:block; font-size:44px; font-weight:800; color:#12233b; margin-top:10px; letter-spacing:-.03em; }
.phome-title .desc{ color:#6b7c90; font-size:15px; margin-top:16px; line-height:1.6; }
.phome-navi{ display:flex; align-items:center; gap:14px; margin-top:34px; }
.pnav-prev,.pnav-next{ width:46px; height:46px; border-radius:50%; border:1px solid #d7e2ee; background:#fff; color:#0b3d91; font-size:22px; line-height:1; cursor:pointer; transition:.2s; display:flex; align-items:center; justify-content:center; }
.pnav-prev:hover,.pnav-next:hover{ background:#0b3d91; color:#fff; border-color:#0b3d91; }
.phome-dots{ display:flex; gap:7px; }
.phome-dots button{ width:8px; height:8px; border-radius:50%; border:0; background:#d3dce6; cursor:pointer; padding:0; transition:.2s; }
.phome-dots button.on{ background:#0b3d91; width:22px; border-radius:4px; }
.phome-right{ flex:1 1 auto; min-width:0; }
.phome-track{ display:flex; gap:22px; overflow-x:auto; overflow-y:hidden; scroll-snap-type:x mandatory; scrollbar-width:none; padding:16px 4px 26px; margin:-16px -4px -26px; }
.phome-track::-webkit-scrollbar{ display:none; }
.pcard{ flex:0 0 calc((100% - 66px)/4); scroll-snap-align:start; text-decoration:none; color:inherit; }
.pcard:hover{ text-decoration:none; }
/* 공학적 카드 (블루프린트·파트코드·크로스헤어·스펙) */
.pcard-eng{ border:1px solid #d6e2ee; border-radius:6px; background:#fff; overflow:hidden; transition:transform .3s cubic-bezier(.2,.7,.3,1),box-shadow .3s,border-color .3s; }
.pcard:hover .pcard-eng{ transform:translateY(-6px); border-color:#17b6d6; box-shadow:0 18px 36px rgba(11,45,90,.16); }
.pcard-top{ display:flex; justify-content:space-between; align-items:center; padding:10px 13px; border-bottom:1px dashed #d6e2ee; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:11px; }
.pcard-top .pcode{ color:#0b3d91; font-weight:700; letter-spacing:.05em; }
.pcard-top .pno{ color:#9aabbd; }
.pcard-media{ position:relative; aspect-ratio:1/1; background-color:#fbfdff; background-image:linear-gradient(rgba(23,182,214,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(23,182,214,.07) 1px,transparent 1px); background-size:24px 24px; display:grid; place-items:center; padding:24px; overflow:hidden; }
.pcard-media img{ position:relative; z-index:1; width:100%; height:100%; object-fit:contain; transition:transform .4s cubic-bezier(.2,.7,.3,1); filter:drop-shadow(0 6px 14px rgba(20,50,90,.10)); }
.pcard:hover .pcard-media img{ transform:scale(1.06); }
.pcard-media .tk{ position:absolute; width:11px; height:11px; border:1.5px solid #17b6d6; opacity:.5; transition:.28s; z-index:2; }
.pcard-media .tk1{ top:11px; left:11px; border-right:0; border-bottom:0; }
.pcard-media .tk2{ top:11px; right:11px; border-left:0; border-bottom:0; }
.pcard-media .tk3{ bottom:11px; left:11px; border-right:0; border-top:0; }
.pcard-media .tk4{ bottom:11px; right:11px; border-left:0; border-top:0; }
.pcard:hover .pcard-media .tk{ opacity:1; }
.pcard-body{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px; border-top:1px solid #eef3f8; }
.pcard-en{ display:block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:#17b6d6; font-weight:700; }
.pcard-ko{ display:block; font-size:16.5px; font-weight:700; color:#12233b; margin-top:4px; letter-spacing:-.01em; line-height:1.2; }
.pcard-spec{ flex:none; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:11px; color:#0b3d91; background:#eaf7fb; border:1px solid #c9edf6; padding:4px 8px; border-radius:4px; white-space:nowrap; }
.pcard:hover .pcard-spec{ background:#0b3d91; color:#fff; border-color:#0b3d91; }
@media (max-width:1024px){
  .phome-wrap{ flex-direction:column; align-items:stretch; gap:26px; padding:0 24px; }
  .phome-left{ flex:none; display:flex; justify-content:space-between; align-items:flex-end; }
  .phome-navi{ margin-top:0; }
  .pcard{ flex-basis:calc((100% - 22px)/2); }
}
@media (max-width:640px){
  .phome{ padding:56px 0; }
  .pcard{ flex-basis:78%; }
  .phome-title .kor{ font-size:32px; }
  .phome-title .desc br{ display:none; }
}

/* ============================================================
   제품 탭 — 전체보기 (기존 페이지 스타일)
   ============================================================ */
.ptab{ padding:8px 0 90px; background:#fff; }
/* 세그먼트 컨트롤(알약형) 탭 */
.ptab-wrap{ max-width:1600px; margin:0 auto; padding:0 40px; }
.ptab-scroll{ position:relative; margin:0 auto 44px; max-width:100%; }
.ptab-btns{ display:flex; gap:8px; width:fit-content; max-width:100%; margin:0 auto; padding:7px; background:#e8edf4; border-radius:999px; overflow-x:auto; scrollbar-width:none; }
.ptab-btns::-webkit-scrollbar{ display:none; }
.ptab-cue{ display:none; }
@media (max-width:768px){
  .ptab-scroll::after{ content:""; position:absolute; top:0; bottom:0; right:0; width:58px; pointer-events:none; z-index:2;
    background:linear-gradient(90deg, rgba(255,255,255,0), #fff 72%); border-radius:0 999px 999px 0; opacity:1; transition:opacity .25s; }
  .ptab-scroll::before{ content:""; position:absolute; top:0; bottom:0; left:0; width:44px; pointer-events:none; z-index:2;
    background:linear-gradient(-90deg, rgba(255,255,255,0), #fff 72%); border-radius:999px 0 0 999px; opacity:0; transition:opacity .25s; }
  .ptab-scroll.scrolled::before{ opacity:1; }
  .ptab-scroll.at-end::after{ opacity:0; }
  .ptab-cue{ display:grid; place-items:center; position:absolute; right:5px; top:50%; z-index:3;
    width:26px; height:26px; border-radius:50%; background:#0b3d91; color:#fff; font-size:18px; line-height:1; font-weight:700;
    box-shadow:0 3px 10px rgba(11,61,145,.4); pointer-events:none; transition:opacity .25s; animation:cueNudge 1.5s ease-in-out infinite; }
  .ptab-scroll.at-end .ptab-cue{ opacity:0; }
}
@keyframes cueNudge{ 0%,100%{ transform:translateY(-50%) translateX(0); } 50%{ transform:translateY(-50%) translateX(3px); } }
@media (prefers-reduced-motion:reduce){ .ptab-cue{ animation:none; transform:translateY(-50%); } }
.ptab-btn{ flex:0 0 auto; border:0; background:none; padding:12px 30px; border-radius:999px; font-family:inherit; font-size:14.5px; font-weight:600; color:#5f7286; cursor:pointer; white-space:nowrap; letter-spacing:-.01em; transition:.22s; }
.ptab-btn:hover{ color:#0b3d91; }
.ptab-btn.active{ background:#0b3d91; color:#fff; box-shadow:0 4px 12px rgba(11,61,145,.3); }
.ptab-panels{ min-width:0; }
.ptab-panel{ display:none; }
.ptab-panel.active{ display:block; animation:ptabfade .35s ease; }
@keyframes ptabfade{ from{ opacity:0; transform:translateY(8px); } to{ opacity:1; transform:none; } }
.ptab-grid{ display:grid; grid-template-columns:repeat(5,1fr); gap:20px; }
.ptab-item{ text-decoration:none; color:inherit; display:block; }
.ptab-item:hover{ text-decoration:none; }
.ptab-img{ aspect-ratio:1/1; background:#f6f9fc; border:1px solid #e9eef4; border-radius:14px; overflow:hidden; display:grid; place-items:center; padding:26px; transition:.25s; }
.ptab-img img{ width:100%; height:100%; object-fit:contain; transition:.35s; }
.ptab-item:hover .ptab-img{ border-color:#0b3d91; box-shadow:0 14px 30px rgba(11,61,145,.12); }
.ptab-item:hover .ptab-img img{ transform:scale(1.05); }
.ptab-name{ display:block; text-align:center; font-size:16px; font-weight:700; color:#12233b; margin-top:14px; }
@media (max-width:1024px){
  .ptab-wrap{ padding:0 24px; }
  .ptab-btns{ margin-bottom:30px; justify-content:flex-start; }
  .ptab-grid{ grid-template-columns:repeat(3,1fr); gap:16px; }
}
@media (max-width:640px){
  .ptab-grid{ grid-template-columns:repeat(2,1fr); gap:12px; }
  .ptab-btn{ padding:9px 13px; font-size:13.5px; }
  .ptab{ padding-bottom:56px; }
}

/* ============================================================
   통합 제품 탐색기 (제목 + 세그먼트 탭 + 전체그리드/상세)
   ============================================================ */
.pexp{ padding:92px 0; background:#fff; }
.pexp-wrap{ max-width:1280px; margin:0 auto; padding:0 40px; }
.pexp-head{ text-align:center; }
.pexp-title .eng{ display:block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:13px; letter-spacing:.18em; color:#00a6ce; font-weight:700; }
.pexp-title h2{ font-size:38px; font-weight:800; color:#12233b; margin:9px 0 26px; letter-spacing:-.02em; }
/* 세그먼트 탭(.ptab-btns/.ptab-btn)은 위에서 이미 스타일 지정 */

/* --- 전체보기: 엔지니어링 카드 그리드 --- */
.pexp-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.pexp-card{ display:block; text-decoration:none; color:inherit; border:1px solid #d6e2ee; border-radius:10px; overflow:hidden; background:#fff; transition:.28s; }
.pexp-card:hover{ text-decoration:none; transform:translateY(-6px); border-color:#17b6d6; box-shadow:0 20px 40px rgba(11,45,90,.14); }
.pexp-card-top{ display:flex; justify-content:space-between; align-items:center; padding:12px 16px; border-bottom:1px dashed #d6e2ee; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:11.5px; letter-spacing:.04em; }
.pexp-card-top .code{ color:#0b3d91; font-weight:700; }
.pexp-card-top .spec{ color:#17b6d6; }
.pexp-card-img{ position:relative; aspect-ratio:16/10; background:#fbfdff; background-image:linear-gradient(#e5eef7 1px,transparent 1px),linear-gradient(90deg,#e5eef7 1px,transparent 1px); background-size:24px 24px; display:grid; place-items:center; padding:14px; overflow:hidden; }
.pexp-card-img img{ position:relative; z-index:1; max-width:100%; max-height:100%; object-fit:contain; transition:.4s; }
.pexp-card:hover .pexp-card-img img{ transform:scale(1.06); }
.pexp-card-foot{ padding:16px 18px; border-top:1px solid #eef3f8; }
.pexp-card-foot .en{ display:block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:10.5px; letter-spacing:.09em; text-transform:uppercase; color:#17b6d6; font-weight:700; }
.pexp-card-foot strong{ display:block; font-size:18px; font-weight:700; color:#12233b; margin-top:5px; }

/* --- 개별 제품: 상세(이미지 크게 + 정보) --- */
.pexp-detail{ display:grid; grid-template-columns:1fr .62fr; gap:40px; align-items:center; }
.pexp-detail-imgs{ display:grid; grid-template-columns:1fr; gap:20px; }
.pexp-detail.two .pexp-detail-imgs{ grid-template-columns:1fr 1fr; }
.pexp-detail-img{ position:relative; display:grid; place-items:center; min-height:400px; max-height:460px; background:#fbfdff; background-image:linear-gradient(#e5eef7 1px,transparent 1px),linear-gradient(90deg,#e5eef7 1px,transparent 1px); background-size:26px 26px; border:1px solid #e0eaf4; border-radius:14px; padding:36px; overflow:hidden; transition:.28s; }
.pexp-detail.two .pexp-detail-img{ aspect-ratio:1/1; min-height:0; max-height:none; }
.pexp-detail-img img{ position:relative; z-index:1; max-width:100%; max-height:100%; object-fit:contain; transition:.4s; }
.pexp-detail-img:hover{ border-color:#17b6d6; box-shadow:0 18px 38px rgba(11,45,90,.12); }
.pexp-detail-img:hover img{ transform:scale(1.05); }
.pexp-detail-info .code{ font-family:ui-monospace,"SF Mono",Consolas,monospace; color:#17b6d6; font-size:12.5px; font-weight:700; letter-spacing:.06em; }
.pexp-detail-info h3{ font-size:32px; font-weight:800; color:#12233b; margin:9px 0 3px; letter-spacing:-.02em; }
.pexp-detail-info .ensub{ display:block; color:#93a1b2; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:13.5px; }
.pexp-detail-info .specrow{ display:flex; align-items:center; gap:16px; margin:26px 0; padding:16px 0; border-top:1px solid #e6edf4; border-bottom:1px solid #e6edf4; }
.pexp-detail-info .specrow .lbl{ font-size:13px; color:#6b7c90; font-weight:600; }
.pexp-detail-info .specrow .val{ font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:18px; font-weight:700; color:#0b3d91; }
.pexp-more{ display:inline-flex; align-items:center; gap:10px; padding:14px 24px; background:#0b3d91; color:#fff; border-radius:9px; font-weight:600; font-size:14.5px; text-decoration:none; transition:.2s; }
.pexp-more:hover{ background:#0a327a; color:#fff; text-decoration:none; transform:translateY(-2px); }
.pexp-more .ico{ font-size:20px; font-weight:300; line-height:1; transition:.25s; }
.pexp-more:hover .ico{ transform:rotate(90deg); }

/* 코너 크로스헤어 */
.pexp-card-img .tk,.pexp-detail-img .tk{ position:absolute; z-index:2; width:12px; height:12px; border:1.5px solid #a9c6e2; }
.pexp-card-img .tk1,.pexp-detail-img .tk1{ top:10px; left:10px; border-right:0; border-bottom:0; }
.pexp-card-img .tk2,.pexp-detail-img .tk2{ top:10px; right:10px; border-left:0; border-bottom:0; }
.pexp-card-img .tk3,.pexp-detail-img .tk3{ bottom:10px; left:10px; border-right:0; border-top:0; }
.pexp-card-img .tk4,.pexp-detail-img .tk4{ bottom:10px; right:10px; border-left:0; border-top:0; }

@media (max-width:1024px){
  .pexp{ padding:64px 0; }
  .pexp-wrap{ padding:0 24px; }
  .pexp-title h2{ font-size:30px; }
  .pexp-grid{ grid-template-columns:repeat(2,1fr); gap:16px; }
  .pexp-detail{ grid-template-columns:1fr; gap:26px; }
  .pexp-detail-info{ text-align:center; }
  .pexp-detail-info .specrow{ justify-content:center; }
}
@media (max-width:560px){
  .pexp-grid{ grid-template-columns:1fr 1fr; gap:12px; }
  .pexp-card-foot strong{ font-size:15px; }
  .pexp-detail.two .pexp-detail-imgs{ grid-template-columns:1fr; }
  .pexp-detail-info h3{ font-size:26px; }
}

/* ============================================================
   회사소개 + 실적 (기존 section03 이식)
   ============================================================ */
.about-sec{ padding:104px 0 112px; position:relative; overflow:hidden;
  background:
    radial-gradient(120% 90% at 92% 8%, rgba(23,182,214,.10) 0%, transparent 42%),
    linear-gradient(158deg,#f1f6fc 0%,#e7eff8 60%,#dfe9f5 100%); }
/* 블루프린트 도면 그리드 (사선으로 페이드) */
.about-sec::before{ content:""; position:absolute; inset:0; z-index:0; pointer-events:none;
  background-image:
    linear-gradient(rgba(11,61,145,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,61,145,.05) 1px, transparent 1px);
  background-size:46px 46px;
  -webkit-mask-image:linear-gradient(150deg,#000 0%, rgba(0,0,0,.4) 62%, transparent 100%);
  mask-image:linear-gradient(150deg,#000 0%, rgba(0,0,0,.4) 62%, transparent 100%); }
/* 대형 테크 링 — 사진 속 원형 UI 모티프와 호응 */
.about-sec::after{ content:""; position:absolute; right:-190px; bottom:-190px; width:600px; height:600px; border-radius:50%; z-index:0; pointer-events:none;
  border:1.5px dashed rgba(23,182,214,.32);
  box-shadow:inset 0 0 0 34px rgba(255,255,255,.4), 0 0 0 52px rgba(23,182,214,.06); }
.about-wrap{ max-width:1440px; margin:0 auto; padding:0 40px; position:relative; z-index:1; }
/* 2×2 핀휠: 두 이미지가 중앙 십자선에서 정확히 만남 */
.about-grid{ display:grid; grid-template-columns:1fr 1fr; gap:0; align-items:stretch; position:relative; z-index:1; }
.about-copy{ align-self:start; padding:50px 0 0 64px; }
.rec-copy{ align-self:start; padding:50px 64px 0 0; text-align:right; }
/* 이미지 */
.about-figure,.rec-figure{ position:relative; }
.about-figure img,.rec-figure img{ display:block; width:100%; height:540px; object-fit:cover; object-position:center; border-radius:16px; box-shadow:0 24px 50px rgba(11,45,90,.16); }
.about-figure img{ object-position:center bottom; }
.about-figure .bar,.rec-figure .bar{ position:absolute; width:100px; height:8px; background:#17b6d6; }
.about-figure .bar{ right:-50px; top:56px; }
.rec-figure .bar{ left:-50px; top:56px; }
/* 카피 */
.about-copy .eng,.rec-copy .eng{ display:block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:13px; letter-spacing:.16em; color:#17b6d6; font-weight:700; text-transform:uppercase; }
.about-copy h2{ font-size:29px; font-weight:800; color:#12233b; line-height:1.4; letter-spacing:-.02em; margin:16px 0 20px; }
.about-copy p{ font-size:16px; line-height:1.85; color:#5a6b7e; }
.about-more{ display:inline-flex; align-items:center; gap:10px; margin-top:30px; padding:14px 24px; background:#0b3d91; color:#fff; border-radius:9px; font-weight:600; font-size:14.5px; text-decoration:none; transition:.2s; }
.about-more:hover{ background:#0a327a; color:#fff; text-decoration:none; transform:translateY(-2px); }
.about-more .ico{ font-size:20px; font-weight:300; line-height:1; transition:.25s; }
.about-more:hover .ico{ transform:rotate(90deg); }
/* 실적 */
.rec-copy h3{ font-size:29px; font-weight:800; color:#12233b; line-height:1.4; letter-spacing:-.02em; margin:14px 0 16px; }
.rec-copy p{ font-size:15.5px; line-height:1.8; color:#5a6b7e; }
.rec-years{ display:flex; justify-content:flex-end; gap:4px; margin:30px 0 20px; border-bottom:2px solid #d6e1ec; }
.rec-year{ border:0; background:none; padding:12px 18px; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:20px; font-weight:700; color:#8a9bb0; cursor:pointer; position:relative; transition:.2s; }
.rec-year::after{ content:""; position:absolute; left:12px; right:12px; bottom:-2px; height:3px; background:#0b3d91; transform:scaleX(0); transition:.25s; }
.rec-year:hover{ color:#0b3d91; }
.rec-year.active{ color:#0b3d91; }
.rec-year.active::after{ transform:scaleX(1); }
.rec-panels{ position:relative; min-height:196px; }
.rec-list{ display:none; list-style:none; margin:0; padding:0; }
.rec-list.active{ display:block; animation:ptabfade .35s ease; }
.rec-list li{ display:flex; justify-content:flex-end; gap:18px; align-items:baseline; padding:8px 0; border-bottom:1px solid #dde6f0; }
.rec-list li:last-child{ border-bottom:0; }
.rec-list li strong{ flex:0 0 104px; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:16px; font-weight:700; color:#0b3d91; letter-spacing:.02em; }
.rec-list li span{ font-size:17.5px; color:#33465c; font-weight:400; }
@media (max-width:1024px){
  .about-sec{ padding:64px 0; }
  .about-wrap{ padding:0 24px; }
  .about-grid{ grid-template-columns:1fr; gap:30px; }
  .about-figure .bar,.rec-figure .bar{ display:none; }
  .about-copy,.rec-copy{ padding:0; }
  .rec-copy{ text-align:left; }
  .rec-years{ justify-content:flex-start; }
  .rec-list li{ justify-content:flex-start; }
  .rec-copy{ order:1; }
  .rec-figure{ order:2; }
  .about-figure img,.rec-figure img{ height:300px; }
  .about-copy h2{ font-size:24px; }
}
@media (max-width:560px){
  .about-copy h2{ font-size:21px; line-height:1.45; }
  .rec-copy h3{ font-size:22px; }
  .rec-list li{ flex-direction:column; gap:2px; }
  .rec-list li strong{ flex:none; font-size:13px; }
  .rec-list li span{ font-size:13.5px; }
  .rec-years{ gap:2px; }
  .rec-year{ font-size:15px; padding:10px 12px; }
  .rec-year::after{ left:8px; right:8px; }
}

/* ============================================================
   서브페이지 — 서브히어로 + 브레드크럼 + LNB + 본문
   ============================================================ */
/* 서브페이지 헤더 — 네이비 블루프린트 밴드 + 대형 워터마크 */
.subhero{ position:relative; overflow:hidden; background:linear-gradient(135deg,#07152a 0%,#0b2f63 58%,#0e4487 100%); }
.subhero-overlay{ position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:42px 42px; -webkit-mask-image:radial-gradient(130% 120% at 6% 0%,#000,transparent 78%); mask-image:radial-gradient(130% 120% at 6% 0%,#000,transparent 78%); }
.subhero-mark{ position:absolute; right:34px; bottom:-38px; z-index:1; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-weight:800; font-size:clamp(80px,15vw,188px); letter-spacing:-.04em; line-height:1; color:rgba(127,227,244,.07); pointer-events:none; user-select:none; transform-origin:right bottom; will-change:transform,opacity; animation:subheroDrift 16s ease-in-out infinite alternate; }
@keyframes subheroDrift{ 0%{ transform:scale(1) translate(0,0); opacity:1; } 50%{ transform:scale(1.06) translate(-12px,-8px); opacity:.72; } 100%{ transform:scale(.955) translate(8px,5px); opacity:1; } }
@media (prefers-reduced-motion: reduce){ .subhero-mark{ animation:none; } }
.subhero-inner{ position:relative; z-index:2; color:#fff; max-width:1440px; margin:0 auto; width:100%; padding:66px 40px 56px; }
.subhero-eyebrow{ font-family:inherit; font-size:13.5px; font-weight:700; letter-spacing:.04em; color:#7fe3f4; margin:0 0 15px; display:inline-flex; align-items:center; gap:11px; }
.subhero-eyebrow::before{ content:""; width:28px; height:1px; background:#7fe3f4; }
.subhero-title{ font-size:clamp(28px,3.6vw,42px); font-weight:800; letter-spacing:-.02em; margin:0; color:#fff; }
.breadcrumb{ margin-top:18px; font-size:13px; font-weight:500; letter-spacing:.01em; color:#9db8d6; display:flex; align-items:center; gap:9px; flex-wrap:wrap; }
.breadcrumb a{ color:#9db8d6; text-decoration:none; }
.breadcrumb a:hover{ color:#fff; }
.breadcrumb .sep{ color:#4d6a92; }
.breadcrumb .cur{ color:#7fe3f4; }

.subwrap{ display:grid; grid-template-columns:250px 1fr; gap:80px; max-width:1450px; margin:0 auto; padding:62px 0px 100px; align-items:start; }
.subwrap.no-lnb{ grid-template-columns:minmax(0,900px); justify-content:center; }

/* 인페이지 내비 — 번호(01·02) + 세로 스파인 */
.lnb{ position:sticky; top:100px; border-right:1px solid #e1e9f2; padding-right:28px; }
.lnb-eng{ display:block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:12px; font-weight:700; letter-spacing:.18em; color:#17b6d6; }
.lnb-title{ display:block; font-size:22px; font-weight:800; color:#12233b; letter-spacing:-.02em; margin:6px 0 24px; }
.lnb-list{ list-style:none; margin:0; padding:0; }
.lnb-list li{ position:relative; }
.lnb-list li + li{ margin-top:2px; }
.lnb-list li a{ position:relative; display:block; padding:9px 0 9px 16px; color:#5f7286; font-size:17px; font-weight:300; text-decoration:none; transition:color .18s; }
.lnb-list li a .ix{ display:none; }
.lnb-list li a::before{ content:""; position:absolute; left:0; top:50%; width:1px; height:0; background:#17b6d6; transform:translateY(-50%); transition:height .18s; }
.lnb-list li a:hover{ color:#0b3d91; }
.lnb-list li a:hover::before{ height:14px; background:#c6d6e6; }
.lnb-list li a.active{ color:#0b3d91; font-weight:300; }
.lnb-list li a.active::before{ height:21px; }

/* 모바일 서브내비 (아코디언) */
.subnav-m{ display:none; }

/* 본문 */
.subcontent{ min-width:0; }
.subcontent-head{ margin-bottom:32px; }
.subcontent-title{ font-size:clamp(22px,3vw,30px); font-weight:800; letter-spacing:-.02em; margin:0; color:#12233b; }
.subcontent-rule{ width:56px; height:5px; border-radius:3px; margin-top:16px; background:linear-gradient(90deg,#0b3d91,#17b6d6); }
.subcontent-body{ font-size:16px; line-height:1.8; color:#33405e; }
.subcontent-body img{ max-width:100%; height:auto; }

@media (max-width:900px){
  .subhero-inner{ padding:46px 24px 42px; }
  .subhero-mark{ font-size:96px; right:16px; bottom:-24px; }
  .subwrap.container{ grid-template-columns:1fr; gap:0; padding:0px 20px 72px; }
  .lnb{ display:none; }
  .subnav-m{ display:block; margin-bottom:26px; position:relative; }
  .snm-acc{ width:100%; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:13px 18px; border:1px solid #dde7f1; background:#fff; color:#000000; font-size:14px; font-weight:400; cursor:pointer; text-align:left; }
  .snm-acc-label em{ font-style:normal; color:#9aa1b2; margin:0 8px; }
  .snm-acc-arrow{ color:#6c7383; font-size:12px; transition:transform .2s; }
  .subnav-m.open .snm-acc{ border-color:#0b3d91; }
  .subnav-m.open .snm-acc-arrow{ transform:rotate(180deg); }
  .snm-list{ list-style:none; margin:0; padding:0; display:none; position:absolute; left:0; right:0; z-index:30; background:#fff; border:1px solid #0b3d91; border-top:0; border-radius:0 0 10px 10px; box-shadow:0 12px 26px rgba(8,24,66,.14); overflow:hidden; }
  .subnav-m.open .snm-list{ display:block; }
  .snm-list li a{ display:block; padding:14px 18px; color:#48506a; font-size:15px; text-decoration:none; border-top:1px solid #eef0f5; }
  .snm-list li:first-child a{ border-top:0; }
  .snm-list li a.on{ background:#0b3d91; color:#fff; font-weight:700; }
}

/* 인사말(greeting) — 테크니컬 에디토리얼 */
.cg-ey{ display:inline-flex; align-items:center; gap:10px; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:12.5px; font-weight:700; letter-spacing:.2em; color:#17b6d6; margin:0 0 16px; }
.cg-ey::before{ content:""; width:26px; height:1px; background:#17b6d6; }
.cg-lead{ font-size:clamp(21px,2.7vw,29px); line-height:1.5; font-weight:800; color:#12233b; letter-spacing:-.02em; margin:0 0 42px; }
.cg-lead .hl{ color:#0b3d91; }
.cg-photo{ position:relative; margin:0; }
.cg-body{ margin-top:40px; max-width:1000px; }
.cg-photo img{ width:100%; display:block; border-radius:4px; }
.cg-photo::after{ content:""; position:absolute; left:0; right:0; top:0; height:100%; border:1px solid rgba(11,61,145,.16); border-radius:4px; pointer-events:none; }
.cg-photo .tk{ position:absolute; z-index:2; width:16px; height:16px; border:1.5px solid #17b6d6; }
.cg-photo .tk1{ top:-1px; left:-1px; border-right:0; border-bottom:0; }
.cg-photo .tk2{ top:-1px; right:-1px; border-left:0; border-bottom:0; }
.cg-photo .tk3{ bottom:-1px; left:-1px; border-right:0; border-top:0; }
.cg-photo .tk4{ bottom:-1px; right:-1px; border-left:0; border-top:0; }
.cg-photo figcaption{ display:flex; align-items:center; gap:10px; margin-top:15px; font-size:13px; letter-spacing:.01em; color:#7a8798; }
.cg-photo figcaption .code{ font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:11px; color:#0b3d91; font-weight:700; letter-spacing:.03em; background:#eef4fb; border:1px solid #d6e2ee; border-radius:4px; padding:3px 8px; white-space:nowrap; }
.cg-body p{ font-size:16.5px; line-height:1.95; color:#3f4a60; margin:0 0 18px; }
.cg-body p:first-child{ margin-top:0; }
.cg-body b{ color:#0b3d91; font-weight:700; }
.cg-sign{ display:flex; align-items:baseline; justify-content:flex-end; gap:14px; flex-wrap:wrap; margin-top:34px; padding-top:24px; border-top:1px solid #e4e9f1; }
.cg-sign .role{ font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:12px; font-weight:700; letter-spacing:.1em; color:#17b6d6; }
.cg-sign .nm{ font-size:27px; font-weight:800; color:#12233b; letter-spacing:5px; }
.cg-sign .co{ font-size:14px; color:#8a93a6; }
.cg-facts{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:46px; }
.cg-fact{ position:relative; border:1px solid #dbe6f1; border-radius:10px; padding:22px 20px; background:#fff; overflow:hidden; }
.cg-fact::before{ content:""; position:absolute; left:0; top:0; bottom:0; width:3px; background:linear-gradient(#0b3d91,#17b6d6); }
.cg-fact .n{ display:block; font-size:22px; font-weight:900; color:#12233b; letter-spacing:-.01em; }
.cg-fact .l{ display:block; margin-top:6px; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:10.5px; letter-spacing:.05em; color:#8a93a6; text-transform:uppercase; }
@media (max-width:820px){
  .cg-grid{ grid-template-columns:1fr; gap:26px; }
  .cg-facts{ grid-template-columns:1fr 1fr; }
}

/* ── 회사소개 · 공통 인트로 헤더 ── */
.pg-intro{ margin:2px 0 52px; }
.pg-intro .ey{ display:inline-block; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:12px; font-weight:700; letter-spacing:.14em; color:#17b6d6; }
.pg-intro .ey::before{ content:""; display:inline-block; width:22px; height:1px; background:#17b6d6; vertical-align:middle; margin:0 12px 3px 0; }
.pg-intro .lead{ margin:18px 0 0; font-size:24px; font-weight:300; line-height:1.65; color:#12233b; letter-spacing:-.01em; }
.pg-intro .lead b{ font-weight:600; color:#0b3d91; }

/* ── 회사소개 콘텐츠 래퍼 : 코너 글로우 + 카운트업 고스트 연도 ── */
.bp-sheet{ position:relative; overflow:hidden; padding:52px 48px; border-radius:6px;
  background:
    linear-gradient(#fbfcff, #f4f8fd),
    radial-gradient(1200px 520px at 50% -160px, rgba(11,61,145,.06), transparent 72%);
  border:1px solid #e5edf6;
  box-shadow:0 30px 70px -50px rgba(11,61,145,.5); }
.bp-sheet > *{ position:relative; z-index:2; }
.bp-sheet .bp-tag{ display:none; }
/* 블루프린트 크로스헤어 모서리 (좌상·우하) */
.bp-sheet::before, .bp-sheet::after{ content:""; display:block; position:absolute; width:28px; height:28px; z-index:1; pointer-events:none; border:1.5px solid rgba(23,182,214,.55); }
.bp-sheet::before{ left:13px; top:13px; border-right:0; border-bottom:0; }
.bp-sheet::after{ right:13px; bottom:13px; border-left:0; border-top:0; }
.bp-glow{ position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(680px 480px at 116% -12%, rgba(23,182,214,.22), transparent 58%),
    radial-gradient(720px 520px at -16% 118%, rgba(11,61,145,.17), transparent 60%),
    radial-gradient(1000px 520px at 50% 128%, rgba(23,182,214,.08), transparent 70%); }
/* 우상·좌하 크로스헤어 (glow 요소 재활용) */
.bp-glow::before, .bp-glow::after{ content:""; position:absolute; width:28px; height:28px; border:1.5px solid rgba(11,61,145,.3); }
.bp-glow::before{ right:13px; top:13px; border-left:0; border-bottom:0; }
.bp-glow::after{ left:13px; bottom:13px; border-right:0; border-top:0; }
.bp-ghost{ position:absolute; z-index:1; right:6px; bottom:-38px; pointer-events:none; user-select:none;
  font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:178px; font-weight:800; line-height:.8;
  letter-spacing:-7px; color:#0b3d91; opacity:.06; font-variant-numeric:tabular-nums; }
@media (max-width:640px){
  .bp-sheet{ padding:30px 14px; }
  .bp-sheet::before, .bp-sheet::after, .bp-glow::before, .bp-glow::after{ width:18px; height:18px; }
  .bp-ghost{ font-size:96px; right:2px; bottom:-16px; letter-spacing:-4px; }
}

/* ── 연혁 타임라인 ── */
.tl{ list-style:none; margin:0; padding:0; position:relative; }
.tl::before{ content:""; position:absolute; left:118px; top:10px; bottom:12px; width:1px; background:#dbe6f1; }
.tl-item{ position:relative; display:grid; grid-template-columns:118px 1fr; padding:0 0 38px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-year{ font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:38px; font-weight:800; color:#0b3d91; line-height:1; letter-spacing:.01em; padding-top:1px; }
.tl-events{ position:relative; padding-left:42px; }
.tl-events::before{ content:""; position:absolute; left:-5px; top:6px; width:9px; height:9px; border-radius:50%; background:#17b6d6; box-shadow:0 0 0 4px #fff, 0 0 0 5px #cfe6f3; }
.tl-ev{ display:flex; gap:20px; align-items:baseline; padding:8px 0; }
.tl-mo{ flex:0 0 58px; font-family:ui-monospace,"SF Mono",Consolas,monospace; font-size:14.5px; font-weight:700; letter-spacing:.05em; color:#17b6d6; padding-top:2px; }
.tl-ev p{ margin:0; font-size:19px; font-weight:400; color:#2a3d55; line-height:1.55; }
@media (max-width:640px){
  .pg-intro{ margin-bottom:40px; }
  .pg-intro .lead{ font-size:20px; }
  .tl::before{ left:0; }
  .tl-item{ grid-template-columns:1fr; padding-bottom:30px; }
  .tl-year{ font-size:28px; padding:0 0 14px 22px; }
  .tl-events{ padding-left:22px; }
  .tl-events::before{ top:-30px; left:-4.5px; }
  .tl-ev{ gap:14px; }
  .tl-ev p{ font-size:16.5px; }
  .tl-mo{ font-size:13px; flex-basis:48px; }
}

/* ===== 261014 수정 ⑱ : 제품 사용방법 — 가·나·다 마크 축소 + 사용목적 아이콘 제거 (전 제품 공통, 인라인 스타일보다 높은 특이성) ===== */
.page-prod .doc .ustep{ grid-template-columns:36px 1fr; gap:20px; }
.page-prod .doc .ustep-mark{ width:36px; height:36px; font-size:15px; }
.page-prod .doc .ustep::before{ left:17px; top:42px; }
.page-prod .doc .upurpose{ gap:0; padding-left:28px; }
.page-prod .doc .upurpose-ico{ display:none; }
@media(max-width:820px){
  .page-prod .doc .ustep{ grid-template-columns:30px 1fr; gap:14px; }
  .page-prod .doc .ustep-mark{ width:30px; height:30px; font-size:13px; }
  .page-prod .doc .ustep::before{ left:14px; top:36px; }
  .page-prod .doc .upurpose{ padding-left:22px; }
}

/* ===== 261014 ㉓㉖㉒㉘ : 규격표 — 니들 길이 좌측 정렬·들여쓰기, 수량 셀 병합, 안내문 좌측 정렬 ===== */
.page-prod .pd-table td.len{ text-align:left; padding-left:20px; white-space:normal; line-height:1.65; }
.page-prod .pd-table td.mrg{ vertical-align:middle; background:#f7fafd; }
.page-prod .pd-tnote.lft{ text-align:left; }
.page-prod .doc .pd-tnote{ text-align:left; }
.page-prod .doc .upurpose-main p{ font-size:16px; }
.page-prod .ucaut-list .sub{ list-style:none; margin:6px 0 0; padding:0; }
.page-prod .ucaut-list .sub li{ counter-increment:none; padding:5px 0 5px 34px; }
.page-prod .ucaut-list .sub li+li{ border-top:0; }
.page-prod .ucaut-note .ucaut-list .sub li::before,.page-prod .ucaut-warn .ucaut-list .sub li::before{ content:attr(data-k); background:none; width:auto; height:auto; top:5px; font-family:inherit; font-size:14px; font-weight:800; color:#0b3d91; }
.pexp-card-top .plogo{ display:block; height:15px; width:auto; }
@media (max-width:768px){ .pexp-card-top{ gap:8px; padding:10px 12px; } .pexp-card-top .plogo{ height:11px; } .pexp-card-top .spec{ font-size:10.5px; white-space:nowrap; } }
.page-prod .pd-table.pd-table-dense td{ padding:6px 15px; line-height:1.5; }
.page-prod .pd-table td.mrg.len{ text-align:left; padding-left:20px; }
.page-prod .pd-feat-hero.doc .feat.feat-1col{ grid-template-columns:1fr; }
.page-prod .pd-feat-hero.doc .feat.feat-1col li:nth-last-child(2):nth-child(odd){ border-bottom:1px solid #eef2f7; }

/* ===== 261014 요청: 제품 상단 특징(6개) 2열 레이아웃 (데스크톱) ===== */
@media (min-width:1360px){
  .page-prod .pd-feat-hero.doc .feat{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:26px; }
  .page-prod .pd-feat-hero.doc .feat li{ gap:13px; }
  .page-prod .pd-feat-hero.doc .feat .ft{ font-size:15.5px; letter-spacing:-.02em; white-space:nowrap; }
  .page-prod .pd-hero{ grid-template-columns:0.72fr 1fr; gap:50px; }
  .page-prod .pd-feat-hero.doc .feat li:nth-last-child(2):nth-child(odd){ border-bottom:0; }
}
