@charset "utf-8";

/* ==========================================================================
   Content - 서브페이지 전체 스타일
   ========================================================================== */


/* ==========================================================================
   ========== 홈페이지 제작 (service) ==========
   ========================================================================== */

/* --- #process : sticky sidebar + scroll-driven 활성화 --- */
.service-process-con {
  padding: var(--cm-section-py) 0;
}

.service-process-mobile-header {
  display: none;
}

.service-process-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 120px;
}

.service-process-side {
  flex: 0 0 360px;
  align-self: stretch;
}

.service-process-sticky {
  position: sticky;
  top: calc(var(--cm-header-height) + 40px);
  padding-top: 40px;
}

.service-process-sticky .cm-tit-sub {
  display: block;
  text-align: left;
}

.service-process-sticky .cm-tit {
  text-align: left;
  margin: 10px 0 50px;
}

.service-process-step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

/* 전체 세로 트랙 (바탕) */
.service-process-step-list::before {
  content: '';
  position: absolute;
  left: 21px; /* step-num(44px)의 중앙 */
  top: 54px;      /* 첫 step padding(32) + circle 반지름(22) */
  bottom: 54px;   /* 마지막 step padding(32) + circle 반지름(22) */
  width: 2px;
  background: var(--cm-border);
  z-index: 0;
}

.service-process-step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 32px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--cm-sub);
  transition: color 0.4s ease;
  z-index: 1;
}

/* step 사이 연결선 (진행도) — 각 step의 아래쪽만 담당 */
.service-process-step::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 50%;
  width: 2px;
  height: 100%;
  background: transparent;
  z-index: 0;
  transition: background 0.5s ease;
}

.service-process-step:last-child::after {
  display: none;
}

.service-process-step-num {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--cm-border);
  color: var(--cm-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 1;
  transition: background 0.5s ease, transform 0.4s ease, box-shadow 0.4s ease;
}

/* 진행 완료된 step */
.service-process-step.is-done,
.service-process-step.is-active {
  color: var(--cm-text);
}

.service-process-step.is-done .service-process-step-num,
.service-process-step.is-active .service-process-step-num {
  background: var(--cm-primary);
}

.service-process-step.is-done::after,
.service-process-step.is-active::after {
  background: var(--cm-primary);
}

.service-process-step-num::before,
.service-process-step-num::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--cm-primary);
  opacity: 0;
  pointer-events: none;
}

.service-process-step.is-active .service-process-step-num::before {
  animation: cmStepPulse 2s cubic-bezier(0.25, 0.8, 0.25, 1) infinite;
}

.service-process-step.is-active .service-process-step-num::after {
  animation: cmStepPulse 2s cubic-bezier(0.25, 0.8, 0.25, 1) 1s infinite;
}

@keyframes cmStepPulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  70% {
    opacity: 0;
    transform: scale(1.9);
  }
  100% {
    opacity: 0;
    transform: scale(2);
  }
}

.service-process-blocks {
  flex: 1;
  min-width: 0;
  max-width: 800px;
}

.service-process-block {
  margin-bottom: 150px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform-origin: top center;
  will-change: opacity, transform;
}

.service-process-block:last-child {
  margin-bottom: 0;
}

/* 이미지 영역 (각 단계별 1개) */
.service-process-img {
  width: 100%;
  aspect-ratio: 16 / 6;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}
.service-process-img picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-process-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-process-img-placeholder {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--cm-border);
  font-family: 'Nohemi', var(--cm-font-sans, inherit);
}

/* 단계명 — 대형 제목 */
.service-process-block-label {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cm-text);
  margin: 0 0 14px;
  word-break: keep-all;
}

.service-process-block-txt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cm-sub);
  margin: 0 0 28px;
  word-break: keep-all;
}

.service-process-block-txt b,
.service-process-block-txt strong {
  color: var(--cm-text);
  font-weight: 700;
}

/* 역할 분담 — 2열 grid, 박스 형식 (라벨은 텍스트) */
.service-process-roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  padding-top: 15px;
}

.service-process-role {
  padding: 22px 25px 18px;
  border-radius: 12px;
  background: var(--cm-bg);
}

.service-process-role-owner {
  background: rgba(60, 88, 238, 0.06);
}

/* 역할 제목 — 고객 / 언웹스 */
.service-process-role-tag {
  display: block;
  padding: 0;
  background: transparent;
  border: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.service-process-role-client .service-process-role-tag {
  color: var(--cm-text);
}

.service-process-role-owner .service-process-role-tag {
  color: var(--cm-primary);
}

.service-process-role-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-process-role-list li {
  position: relative;
  padding: 6px 0 6px 16px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--cm-text);
  word-break: keep-all;
}

.service-process-role-list li::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 2px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--cm-sub);
}

.service-process-role-owner .service-process-role-list li::before {
  background: var(--cm-primary);
}



/* ==========================================================================
   ========== 블로그 / 전문 칼럼 공통 ==========
   ========================================================================== */

/* --- breadcrumb (Rank Math 래퍼) --- */
.cm-breadcrumb {
  font-size: 13px;
  color: var(--cm-sub);
  margin-bottom: 24px;
}
/* 빈 breadcrumb(Rank Math가 인덱스 페이지에서 빈값 반환)은 공간 차지 X */
.cm-breadcrumb:empty {
  display: none;
}

.cm-breadcrumb a {
  color: var(--cm-sub);
  transition: color 0.2s ease;
}

.cm-breadcrumb a:hover {
  color: var(--cm-primary);
}

/* --- 페이지네이션 --- */
.cm-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 60px;
}

.cm-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cm-sub);
  background: transparent;
  transition: background 0.2s ease, color 0.2s ease;
}

.cm-pagination .page-numbers.current {
  background: var(--cm-text);
  color: var(--cm-white);
}

.cm-pagination .page-numbers:hover:not(.current) {
  background: var(--cm-bg);
  color: var(--cm-text);
}


/* ==========================================================================
   ========== 블로그 인덱스 · 아카이브 (home.php / archive.php) ==========
   사이드바(카테고리) + 카드 그리드
   ========================================================================== */
.blog-list-con,
.blog-archive-con {
  padding: var(--cm-section-py) 0;
}

/* 2컬럼 레이아웃: 좌 사이드바 + 우 본문 */
.blog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
  margin-top: 48px;
}

/* ◆ 사이드바 */
.blog-sidebar {
  position: sticky;
  top: calc(var(--cm-header-height, 80px) + 32px);
  align-self: start;
}

/* 검색바 (사이드바 상단) */
.blog-search {
  position: relative;
  margin-bottom: 36px;
}
.blog-search-input {
  width: 100%;
  height: 46px;
  padding: 0 48px 0 18px;
  border: 1px solid var(--cm-border);
  border-radius: 999px;
  background: var(--cm-white);
  font-size: 14px;
  color: var(--cm-text);
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease;
}
.blog-search-input:focus {
  outline: none;
  border-color: var(--cm-primary);
}
.blog-search-input::placeholder { color: #b5b9c1; }
.blog-search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--cm-sub);
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}
.blog-search-btn:hover {
  color: var(--cm-primary);
  background: rgba(var(--cm-primary-rgb), 0.08);
}
.blog-search-btn i { font-size: 18px; }

.blog-sidebar-tit {
  font-size: 22px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0 0 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--cm-border);
  letter-spacing: -0.02em;
}
.blog-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.blog-cat-item {
  margin: 0;
}
.blog-cat-item + .blog-cat-item {
  border-top: 1px solid #f0f1f3;
}
.blog-cat-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--cm-sub);
  transition: color 0.2s ease;
  position: relative;
}
.blog-cat-link::before {
  content: '';
  position: absolute;
  left: -14px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cm-primary);
  transform: translateY(-50%) scale(0);
  transition: transform 0.2s ease;
}
.blog-cat-link:hover {
  color: var(--cm-text);
}
.blog-cat-item.is-active .blog-cat-link {
  color: var(--cm-text);
  font-weight: 700;
}
.blog-cat-item.is-active .blog-cat-link::before {
  transform: translateY(-50%) scale(1);
}
.blog-cat-name {
  flex: 1;
  letter-spacing: -0.01em;
}
.blog-cat-count {
  font-size: 13px;
  color: var(--cm-sub);
  font-weight: 500;
}

/* ◆ 본문 카드 그리드 */
.blog-main {
  min-width: 0;
}
.blog-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
}

.blog-item-link {
  display: flex;
  flex-direction: column;
  color: var(--cm-text);
  background: #f7f8fa;
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.35s ease, background-color 0.25s ease;
}
.blog-item-link:hover {
  transform: translateY(-2px);
  background: #f1f3f6;
}
.blog-item-link:hover .blog-item-tit {
  color: var(--cm-primary);
}
.blog-item-tit {
  transition: color 0.2s ease;
}

/* 카드 상단 정보 (이미지 위에) */
.blog-item-info {
  padding: 28px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-item-cat {
  font-size: 14px;
  color: var(--cm-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.blog-item-tit {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--cm-text);
  margin: 0;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.blog-item-excerpt {
  font-size: 14px;
  line-height: 1.55;
  color: var(--cm-sub);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: keep-all;
}
.blog-item-meta {
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--cm-sub);
}
.blog-item-meta::before { content: none; }
.blog-item-date {
  letter-spacing: 0;
}
.blog-item-readtime {
  position: relative;
  padding-left: 11px;
}
.blog-item-readtime::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 10px;
  background: currentColor;
  opacity: 0.35;
  transform: translateY(-50%);
}

/* 카드 하단 이미지 */
.blog-item-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--cm-bg);
  transform: translateZ(0);
  isolation: isolate;
}
.blog-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.blog-item-link:hover .blog-item-img img {
  transform: scale(1.05);
}
.blog-item-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c8ccd2;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 22px;
}

.blog-archive-desc {
  text-align: center;
  color: var(--cm-sub);
  margin-bottom: 40px;
}
.blog-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--cm-sub);
}


/* ==========================================================================
   ========== 블로그 상세 (single.php) ==========
   ========================================================================== */
.blog-single-con {
  padding-top: 80px;
  padding-bottom: 40px;
}
/* 본문 자체는 .area(1440)를 그대로 따르고, 본문 가독폭은 layout에서 처리 */

/* 브레드크럼 */
.blog-single-breadcrumb {
  margin-bottom: 36px;
  font-size: 14px;
  color: var(--cm-sub);
}
.blog-single-breadcrumb a {
  color: var(--cm-sub);
  transition: color 0.2s ease;
}
.blog-single-breadcrumb a:hover { color: var(--cm-text); }
.blog-single-breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* Hero */
.blog-single-header {
  text-align: center;
  padding: 16px 0 56px;
  border-bottom: 1px solid var(--cm-border);
  margin-bottom: 56px;
}
.blog-single-cat {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cm-primary);
  background: rgba(var(--cm-primary-rgb), 0.08);
  border-radius: 999px;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
  transition: background 0.2s ease;
}
.blog-single-cat:hover {
  background: rgba(var(--cm-primary-rgb), 0.15);
}
.blog-single-tit {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.03em;
  color: var(--cm-text);
  margin: 0 0 28px;
  word-break: keep-all;
}
.blog-single-meta {
  list-style: none;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
}
.blog-single-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--cm-sub);
  letter-spacing: -0.01em;
}
.blog-single-meta-item i {
  font-size: 15px;
  color: var(--cm-sub);
  opacity: 0.7;
}

/* 썸네일 */
.blog-single-thumb {
  margin-bottom: 56px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cm-bg);
  aspect-ratio: 16 / 9;
}
.blog-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 본문 — 가독성 typography */
.blog-single-body {
  font-size: 17px;
  line-height: 1.85;
  color: var(--cm-text-body);
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.blog-single-body > * + * { margin-top: 1.2em; }
.blog-single-body h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--cm-text);
  margin: 64px 0 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cm-border);
  letter-spacing: -0.025em;
}
.blog-single-body h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cm-text);
  margin: 48px 0 14px;
  letter-spacing: -0.02em;
  position: relative;
  padding-left: 14px;
}
.blog-single-body h3::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 4px;
  border-radius: 2px;
  background: var(--cm-primary);
}
.blog-single-body h4 {
  font-size: 18px;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--cm-text);
}
.blog-single-body p { margin: 0 0 1.2em; }
.blog-single-body a {
  color: var(--cm-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.blog-single-body strong { color: var(--cm-text); font-weight: 700; }
.blog-single-body ul,
.blog-single-body ol {
  padding-left: 1.5em;
  margin: 0 0 1.2em;
}
.blog-single-body li { margin-bottom: 0.5em; }
.blog-single-body ul li { list-style: disc; }
.blog-single-body ol li { list-style: decimal; }
.blog-single-body blockquote {
  margin: 28px 0;
  padding: 20px 28px;
  border-left: 4px solid var(--cm-primary);
  background: rgba(var(--cm-primary-rgb), 0.05);
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: var(--cm-text);
}
.blog-single-body blockquote p:last-child { margin-bottom: 0; }
.blog-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 28px auto;
}
.blog-single-body figure { margin: 28px 0; }
.blog-single-body figure figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--cm-sub);
  text-align: center;
}
.blog-single-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
  padding: 2px 8px;
  background: var(--cm-bg);
  border-radius: 5px;
  color: var(--cm-primary);
}
.blog-single-body pre {
  margin: 28px 0;
  padding: 20px 24px;
  background: #1f2430;
  color: #e6e8ec;
  border-radius: 12px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 14px;
  line-height: 1.6;
}
.blog-single-body pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.blog-single-body hr {
  margin: 56px 0;
  border: 0;
  height: 1px;
  background: var(--cm-border);
}
.blog-single-body table {
  width: 100%;
  margin: 28px 0;
  border-collapse: collapse;
  font-size: 15px;
}
.blog-single-body th,
.blog-single-body td {
  padding: 14px 16px;
  border: 1px solid var(--cm-border);
  text-align: left;
}
.blog-single-body th {
  background: var(--cm-bg);
  font-weight: 700;
}

/* 태그 */
.blog-single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
  padding-top: 28px;
  border-top: 1px solid var(--cm-border);
}
.blog-single-tags-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cm-sub);
  margin-right: 4px;
  letter-spacing: 0.02em;
}
.blog-single-tag {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-text);
  background: #f3f4f6;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}
.blog-single-tag:hover {
  background: var(--cm-primary);
  color: var(--cm-white);
}

/* 이전·다음 */
.blog-single-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 64px;
}
.blog-single-nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 28px;
  background: #f7f8fa;
  border-radius: 12px;
  color: var(--cm-text);
  transition: background 0.2s ease;
  min-height: 96px;
}
.blog-single-nav-item:hover { background: #eef0f4; }
.blog-single-nav-item.is-empty { background: transparent; pointer-events: none; }
.blog-single-nav-prev .blog-single-nav-label { color: var(--cm-sub); }
.blog-single-nav-next { text-align: right; }
.blog-single-nav-label {
  font-size: 13px;
  color: var(--cm-sub);
  letter-spacing: 0.02em;
}
.blog-single-nav-tit {
  font-size: 15px;
  font-weight: 600;
  color: var(--cm-text);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   ========== 읽기 진행 바 (single 상단 fixed) ==========
   ========================================================================== */
.blog-reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: transparent;
  z-index: 999;
  pointer-events: none;
}
.blog-reading-progress-bar {
  display: block;
  height: 100%;
  width: 0;
  background: var(--cm-primary);
  transition: width 0.1s linear;
}


/* ==========================================================================
   ========== Blog Single Layout — 단일 컬럼 780px 가독폭 ==========
   본문(.blog-single-body) 및 hero/thumb/cta/nav 모두 같은 폭으로 정렬.
   목차는 단일 컬럼 흐름 밖(fixed) 또는 모바일 인라인 details로 노출.
   ========================================================================== */
.blog-single-con .area > .cm-breadcrumb,
.blog-single-con .area > .blog-single-header,
.blog-single-con .area > .blog-single-thumb,
.blog-single-con .area > .blog-single-layout,
.blog-single-con .area > .blog-single-cta,
.blog-single-con .area > .blog-single-nav,
.blog-single-con .area > .guide-cluster-con,
.blog-single-con .area > .cm-faq-con,
.blog-single-con .area > .blog-single-tags {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}
/* FAQ 파트(faq-section.php)는 자체 .area를 한 번 더 감싸므로, 본문 780px와 정확히 정렬되도록 중첩 .area의 폭·좌우 패딩 무력화 */
.blog-single-con .area > .cm-faq-con > .area {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}
.blog-single-layout { position: relative; }
.blog-single-body { min-width: 0; }

/* 모바일 인라인 TOC (1280 미만 노출) */
.blog-single-toc-mobile {
  display: none;
  margin: 0 0 36px;
  padding: 18px 22px;
  background: var(--cm-bg);
  border-radius: 12px;
}
.blog-single-toc-mobile summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-text);
  cursor: pointer;
  letter-spacing: 0.02em;
  list-style: none;
}
.blog-single-toc-mobile summary::-webkit-details-marker { display: none; }
.blog-single-toc-mobile summary i { transition: transform 0.2s ease; }
.blog-single-toc-mobile[open] summary i { transform: rotate(180deg); }
.blog-single-toc-mobile ol {
  list-style: none;
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--cm-border);
  counter-reset: toc-m;
}
.blog-single-toc-mobile li { margin: 4px 0; }
.blog-single-toc-mobile li.blog-toc-level-3 { padding-left: 14px; }
.blog-single-toc-mobile a {
  display: block;
  padding: 6px 0;
  font-size: 14px;
  color: var(--cm-sub);
  line-height: 1.5;
  transition: color 0.2s ease;
}
.blog-single-toc-mobile a:hover { color: var(--cm-primary); }

/* PC 우측 fixed 미니 TOC — 본문 780 영역 바깥, 가시성 방해 최소화 */
.blog-single-toc { display: none; }

/*
  PC 우측 fixed 미니 TOC 위치:
  - 본문 중앙 = 50vw, 본문(920px) right edge = 50vw + 460px
  - TOC 시작 = right edge + 64px, 폭 180px (1440 뷰포트에서 여유 16px)
  - 1440 미만은 fixed 레일 없이 본문 집중 (모바일 인라인 TOC가 1439까지 담당)
*/
@media (min-width: 1440px) {
  .blog-single-toc {
    display: block;
    position: fixed;
    top: calc(var(--cm-header-height, 80px) + 48px);
    left: calc(50% + 460px + 64px);
    width: 180px;
    max-height: calc(100vh - var(--cm-header-height, 80px) - 96px);
    overflow-y: auto;
    padding: 4px 0 4px 16px;
    border-left: 2px solid var(--cm-border);
    opacity: 0.55;
    transition: opacity 0.25s ease;
    z-index: 50;
    scrollbar-width: thin;
  }
  .blog-single-toc:hover,
  .blog-single-toc:focus-within { opacity: 1; }
  .blog-single-toc::-webkit-scrollbar { width: 4px; }
  .blog-single-toc::-webkit-scrollbar-thumb { background: var(--cm-border); border-radius: 2px; }

  .blog-single-toc-tit {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--cm-sub);
    margin: 0 0 12px;
    text-transform: uppercase;
  }
  .blog-single-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .blog-single-toc-list .blog-toc-item { margin: 4px 0; }
  .blog-single-toc-list .blog-toc-level-3 { padding-left: 12px; }
  .blog-single-toc-list a {
    display: block;
    padding: 3px 0;
    font-size: 12px;
    line-height: 1.5;
    color: var(--cm-sub);
    transition: color 0.2s ease;
    word-break: keep-all;
  }
  .blog-single-toc-list a:hover { color: var(--cm-text); }
  .blog-single-toc-list a.is-active {
    color: var(--cm-primary);
    font-weight: 700;
  }
}
/* 1360 미만: PC fixed TOC 숨김, 모바일 인라인 details 노출 */
@media (max-width: 1439px) {
  .blog-single-toc-mobile { display: block; }
}


/* ==========================================================================
   ========== 하단 CTA ==========
   ========================================================================== */
.blog-single-cta {
  margin-top: 64px;
  padding: 48px 40px;
  background: linear-gradient(135deg, rgba(var(--cm-primary-rgb), 0.06) 0%, rgba(var(--cm-primary-rgb), 0.02) 100%);
  border: 1px solid rgba(var(--cm-primary-rgb), 0.15);
  border-radius: 16px;
  text-align: center;
}
.blog-single-cta-sub {
  font-size: 13px;
  font-weight: 700;
  color: var(--cm-primary);
  margin: 0 0 8px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.blog-single-cta-tit {
  font-size: 24px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.blog-single-cta-txt {
  font-size: 15px;
  color: var(--cm-sub);
  margin: 0 0 28px;
}
.blog-single-cta-actions {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.blog-single-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.blog-single-cta-btn-primary { background: var(--cm-primary); color: var(--cm-white); }
.blog-single-cta-btn-primary:hover {
  background: var(--cm-text);
  color: var(--cm-white);
  transform: translateY(-2px);
}
.blog-single-cta-btn-ghost {
  background: var(--cm-white);
  color: var(--cm-text);
  border: 1px solid var(--cm-border);
}
.blog-single-cta-btn-ghost:hover { border-color: var(--cm-text); }


/* ==========================================================================
   ========== Archive 카테고리 헤더 ==========
   ========================================================================== */
.blog-archive-cat-desc {
  margin: 14px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cm-sub);
  max-width: 720px;
  word-break: keep-all;
}


/* ==========================================================================
   ========== 빈 검색 결과 ==========
   ========================================================================== */
.blog-search-empty {
  margin-top: 56px;
  padding: 72px 40px;
  text-align: center;
  background: #f7f8fa;
  border-radius: 20px;
}
.blog-search-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cm-white);
  color: var(--cm-sub);
  font-size: 32px;
  margin: 0 auto 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.blog-search-empty-tit {
  font-size: 24px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.blog-search-empty-txt {
  font-size: 15px;
  line-height: 1.7;
  color: var(--cm-sub);
  margin: 0 0 32px;
}
.blog-search-empty-txt strong { color: var(--cm-text); font-weight: 700; }
.blog-search-empty-form {
  max-width: 460px;
  margin: 0 auto 36px;
}
.blog-search-empty-cats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.blog-search-empty-cats-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--cm-sub);
  letter-spacing: 0.02em;
  margin-right: 6px;
}
.blog-search-empty-cat {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  padding: 0 16px;
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--cm-text);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.blog-search-empty-cat span { color: var(--cm-sub); font-weight: 500; }
.blog-search-empty-cat:hover {
  background: var(--cm-primary);
  color: var(--cm-white);
  border-color: var(--cm-primary);
}
.blog-search-empty-cat:hover span { color: var(--cm-white); opacity: 0.8; }
.blog-search-empty-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-primary);
  transition: gap 0.2s ease;
}
.blog-search-empty-back:hover { gap: 8px; }


/* ==========================================================================
   ========== 블로그 페이지 내 전문 칼럼 섹션 ==========
   ========================================================================== */
.blog-column-con {
  padding: var(--cm-section-py) 0;
  background: var(--cm-bg);
}

.blog-column-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  gap: 20px;
  flex-wrap: wrap;
}

.blog-column-head .cm-tit-sub {
  display: block;
  margin-bottom: 8px;
}

.blog-column-head .cm-tit {
  font-size: 32px;
  margin: 0;
}

.blog-column-more {
  color: var(--cm-text);
  font-size: 14px;
  font-weight: 600;
  transition: color 0.2s ease;
}

.blog-column-more:hover {
  color: var(--cm-primary);
}

.blog-column-more i {
  font-size: 12px;
  margin-left: 4px;
}

.blog-column-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.blog-column-item {
  display: flex;
  flex-direction: column;
  color: var(--cm-text);
}

.blog-column-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  background: var(--cm-white);
  transform: translateZ(0);
  isolation: isolate;
}

.blog-column-img img,
.blog-column-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.blog-column-item:hover .blog-column-thumb,
.blog-column-item:hover .blog-column-img img {
  transform: scale(1.05);
}

.blog-column-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cm-border);
  font-family: 'Nohemi', var(--cm-font-sans, inherit);
}

.blog-column-tit {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cm-text);
  margin: 10px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-column-date {
  font-size: 13px;
  color: var(--cm-sub);
  margin-top: 6px;
}


/* ==========================================================================
   ========== 전문 칼럼 아카이브 (archive-column.php) ==========
   ========================================================================== */
.column-archive-con {
  padding: var(--cm-section-py) 0;
}

.column-archive-desc {
  text-align: center;
  color: var(--cm-sub);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* 카테고리 필터 */
.column-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.column-filter-item {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--cm-sub);
  background: transparent;
  border: 1px solid var(--cm-border);
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.column-filter-item:hover {
  border-color: var(--cm-text);
  color: var(--cm-text);
}

.column-filter-item.is-active {
  background: var(--cm-text);
  border-color: var(--cm-text);
  color: var(--cm-white);
}

.column-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 30px;
}

.column-item-link {
  display: flex;
  flex-direction: column;
  color: var(--cm-text);
}

.column-item-img {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cm-bg);
  transform: translateZ(0);
  isolation: isolate;
}

.column-item-img img,
.column-item-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.column-item-link:hover .column-item-thumb,
.column-item-link:hover .column-item-img img {
  transform: scale(1.05);
}

.column-item-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cm-border);
  font-family: 'Nohemi', var(--cm-font-sans, inherit);
}

.column-item-info {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.column-item-cat {
  font-size: 13px;
  color: var(--cm-primary);
  font-weight: 600;
}

.column-item-tit {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cm-text);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.column-item-link:hover .column-item-tit {
  color: var(--cm-primary);
}

.column-item-txt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cm-sub);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-item-meta {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--cm-sub);
}

.column-item-reading::before {
  content: '·';
  margin-right: 10px;
  color: var(--cm-border);
}

.column-empty {
  text-align: center;
  padding: 80px 0;
  color: var(--cm-sub);
}


/* ==========================================================================
   ========== 전문 칼럼 single (single-column.php) ==========
   ========================================================================== */
.column-single-con {
  padding: var(--cm-section-py) 0;
}

.column-single-con .area {
  max-width: 820px;
}

.column-single-header {
  text-align: center;
  margin-bottom: 30px;
}

.column-single-cat {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-primary);
  margin-bottom: 16px;
}

.column-single-tit {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cm-text);
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  word-break: keep-all;
}

.column-single-meta {
  display: flex;
  justify-content: center;
  gap: 14px;
  font-size: 14px;
  color: var(--cm-sub);
}

.column-single-meta > *:not(:first-child)::before {
  content: '·';
  margin-right: 14px;
  color: var(--cm-border);
}

.column-single-thumb {
  margin: 40px 0;
  border-radius: 10px;
  overflow: hidden;
}

.column-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.column-single-body {
  font-size: 17px;
  line-height: 1.8;
  color: var(--cm-text);
  word-break: keep-all;
}

.column-single-body p,
.column-single-body ul,
.column-single-body ol,
.column-single-body blockquote,
.column-single-body h2,
.column-single-body h3 {
  margin: 0 0 24px;
}

.column-single-body h2 {
  font-size: 26px;
  font-weight: 700;
  margin-top: 48px;
  line-height: 1.4;
}

.column-single-body h3 {
  font-size: 20px;
  font-weight: 700;
  margin-top: 36px;
  line-height: 1.4;
}

.column-single-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 24px 0;
}

.column-single-body blockquote {
  padding: 16px 24px;
  border-left: 3px solid var(--cm-primary);
  background: var(--cm-bg);
  color: var(--cm-sub);
}

.column-single-body a {
  color: var(--cm-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.column-single-tags {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--cm-border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.column-single-tags-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cm-sub);
  margin-right: 4px;
}

.column-single-tag {
  font-size: 13px;
  color: var(--cm-sub);
  padding: 4px 12px;
  background: var(--cm-bg);
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
}

.column-single-tag:hover {
  background: var(--cm-text);
  color: var(--cm-white);
}

/* 관련 칼럼 */
.column-related {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--cm-border);
}

.column-related-tit {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
}

.column-related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.column-related-link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--cm-text);
}

.column-related-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--cm-bg);
  display: block;
}

.column-related-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-related-tit-txt {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 이전·다음 네비 */
.column-single-nav {
  margin-top: 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.column-single-nav-prev,
.column-single-nav-next {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--cm-border);
  border-radius: 12px;
  color: var(--cm-text);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.column-single-nav-next {
  text-align: right;
  grid-column: 2;
}

.column-single-nav-prev:hover,
.column-single-nav-next:hover {
  border-color: var(--cm-text);
  background: var(--cm-bg);
}

.column-single-nav-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--cm-sub);
  letter-spacing: 0.04em;
}

.column-single-nav-tit {
  font-size: 14px;
  font-weight: 600;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 라이트 배경 + 다크 텍스트 */
.service-responsive-con.sub-content-con {
  background: var(--cm-bg);
  color: var(--cm-text);
}

/* 디바이스 토글 (카드형) */
.service-responsive-toggle {
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.service-responsive-toggle-item {
  width: 110px;
  height: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--cm-white);
  color: var(--cm-sub);
  border: 1px solid var(--cm-border);
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.25s ease;
  user-select: none;
}
.service-responsive-toggle-item i {
  font-size: 34px;
}
.service-responsive-toggle-item span {
  font-size: 14px;
  font-weight: 400;
}
.service-responsive-toggle-item:hover {
  color: var(--cm-text);
  border-color: var(--cm-text);
}
.service-responsive-toggle-item.is-active {
  background: var(--cm-primary);
  border-color: var(--cm-primary);
  color: var(--cm-white);
  box-shadow: 0 8px 20px rgba(var(--cm-primary-rgb), 0.35);
}

/* 프리뷰 프레임 */
.service-responsive-frame {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: safe center;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.service-responsive-frame::-webkit-scrollbar {
  height: 8px;
}
.service-responsive-frame::-webkit-scrollbar-thumb {
  background: var(--cm-border);
  border-radius: 4px;
}

.service-responsive-device {
  container-name: srd;
  container-type: inline-size;
  width: 100%;
  height: 780px;
  background: var(--cm-white);
  border: 14px solid #2a2a2a;
  border-radius: 18px;
  overflow: hidden;
  pointer-events: none;
  transition: width 0.55s cubic-bezier(0.22, 0.61, 0.36, 1), border-radius 0.55s ease;
}

.service-responsive-device {
  flex: 0 0 auto;
}
.service-responsive-device.is-pc     { width: 1200px; }
.service-responsive-device.is-laptop { width: 1024px; }
.service-responsive-device.is-tablet { width: 768px; }
.service-responsive-device.is-mobile { width: 380px; border-radius: 36px; }

/* ─────────── 샘플 사이트 (Container Query 기반) ─────────── */
.srd-site {
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  overflow-x: hidden;
  color: #111;
  font-family: var(--cm-font-main);
  background: #fff;
}

/* Header — 메인비주얼 위에 오버레이 */
.srd-site { position: relative; }
.srd-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  padding: 0 40px;
  background: transparent;
}
.srd-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
}
.srd-nav {
  display: flex;
  gap: 36px;
}
.srd-nav a {
  font-size: 14px;
  color: #fff;
  font-weight: 500;
  letter-spacing: -0.01em;
  opacity: 0.9;
}
.srd-burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.srd-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
}

/* ─── Section 1: Main Visual (한글) ─── */
.srd-visual {
  position: relative;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}
.srd-visual-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/content/service/srd-visual-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
}
.srd-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 20, 35, 0.7) 0%, rgba(20, 40, 80, 0.55) 100%);
}
.srd-visual-inner {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
}
.srd-visual-sub {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 16px;
}
.srd-visual-tit {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  word-break: keep-all; /* 한글 단어 단위 줄바꿈 */
}
.srd-visual-txt {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
  word-break: keep-all;
}
.srd-visual-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: #fff;
  border-radius: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
}

/* ─── Section 2: Values (한글) ─── */
.srd-values {
  padding: 80px 36px;
  background: #fafafa;
}
.srd-values-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 30px;
}
.srd-values-sub {
  display: inline-block;
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--cm-primary);
  margin-bottom: 12px;
}
.srd-values-tit {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: #111;
}
.srd-values-desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0;
}
.srd-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.srd-value-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}
.srd-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  background: rgba(var(--cm-primary-rgb), 0.1);
  color: var(--cm-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.srd-value-tit {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.srd-value-txt {
  font-size: 13px;
  color: #666;
  line-height: 1.65;
  margin: 0;
  letter-spacing: -0.01em;
  word-break: keep-all;
}

/* ─── Section 3: Notice / News ─── */
.srd-notice {
  padding: 80px 36px;
  background: #fff;
}
.srd-notice-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 18px;
  border-bottom: 2px solid #111;
}
.srd-notice-headline {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.srd-notice-sub {
  font-size: 13px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: var(--cm-primary);
}
.srd-notice-tit {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
  color: #111;
  margin: 0;
}
.srd-notice-more {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.srd-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.srd-notice-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid #eee;
}
.srd-notice-item:last-child {
  border-bottom: 0;
}
.srd-notice-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 56px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #555;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.srd-notice-badge.is-new {
  background: rgba(var(--cm-primary-rgb), 0.1);
  color: var(--cm-primary);
}
.srd-notice-link {
  flex: 1 1 auto;
  font-size: 14px;
  font-weight: 500;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.srd-notice-date {
  flex: 0 0 auto;
  font-size: 12px;
  color: #999;
  font-variant-numeric: tabular-nums;
}

/* ─────────── Container Query — 자체 반응형 (.service-responsive-device 폭 기준) ─────────── */

/* 노트북 폭 이하 — 메인비주얼 좀 더 좁게 wrap */
@container srd (max-width: 1100px) {
  .srd-visual-tit { font-size: 36px; }
  .srd-visual-inner { max-width: 640px; }
  .srd-values-grid { gap: 16px; }
  .srd-value-card { padding: 28px 20px; }
}

/* 태블릿 폭 이하 */
@container srd (max-width: 900px) {
  .srd-header { padding: 0 32px; height: 64px; }
  .srd-nav { gap: 22px; }
  .srd-nav a { font-size: 13px; }
  .srd-visual { height: 420px; }
  .srd-visual-inner { padding: 48px 32px; max-width: 520px; }
  .srd-visual-tit { font-size: 30px; }
  .srd-visual-txt { font-size: 14px; }
  .srd-values { padding: 64px 32px; }
  .srd-values-head { margin-bottom: 40px; }
  .srd-values-tit { font-size: 28px; }
  .srd-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .srd-notice { padding: 64px 32px; }
  .srd-notice-tit { font-size: 24px; }
  .srd-notice-item { padding: 16px 4px; gap: 14px; }
  .srd-notice-link { font-size: 13px; }
}

/* 모바일 폭 이하 */
@container srd (max-width: 520px) {
  .srd-header { padding: 0 20px; height: 56px; }
  .srd-logo { font-size: 18px; }
  .srd-nav { display: none; }
  .srd-burger { display: flex; }
  .srd-visual { height: 320px; }
  .srd-visual-inner { padding: 36px 18px; max-width: 100%; }
  .srd-visual-sub { font-size: 11px; letter-spacing: 0.16em; margin-bottom: 10px; }
  .srd-visual-tit { font-size: 22px; }
  .srd-visual-txt { font-size: 12px; margin-bottom: 18px; }
  .srd-visual-btn { padding: 10px 18px; font-size: 11px; }
  .srd-values { padding: 40px 18px; }
  .srd-values-head { margin-bottom: 24px; }
  .srd-values-tit { font-size: 20px; }
  .srd-values-desc { font-size: 12px; }
  .srd-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .srd-value-card { padding: 18px 14px; border-radius: 12px; }
  .srd-value-icon { width: 40px; height: 40px; font-size: 18px; margin-bottom: 10px; }
  .srd-value-tit { font-size: 13px; margin-bottom: 6px; }
  .srd-value-txt { font-size: 11px; line-height: 1.55; }
  .srd-notice { padding: 40px 18px; }
  .srd-notice-head { margin-bottom: 18px; padding-bottom: 12px; }
  .srd-notice-sub { font-size: 10px; letter-spacing: 0.14em; }
  .srd-notice-tit { font-size: 18px; }
  .srd-notice-more { font-size: 11px; }
  .srd-notice-item { padding: 12px 2px; gap: 10px; }
  .srd-notice-badge { min-width: 42px; padding: 4px 8px; font-size: 9px; }
  .srd-notice-link { font-size: 12px; }
  .srd-notice-date { font-size: 10px; }
}

/* 작은 모바일 폭 — 토글로 모바일 선택 시 device 폭이 더 좁아질 때 */
@container srd (max-width: 380px) {
  .srd-header { padding: 0 14px; height: 46px; }
  .srd-logo { font-size: 14px; }
  .srd-burger span { width: 18px; height: 1.5px; }
  .srd-visual { height: 230px; }
  .srd-visual-inner { padding: 26px 14px; }
  .srd-visual-sub { font-size: 9px; letter-spacing: 0.14em; margin-bottom: 8px; }
  .srd-visual-tit { font-size: 16px; line-height: 1.35; }
  .srd-visual-txt { font-size: 10px; margin-bottom: 14px; }
  .srd-visual-btn { padding: 7px 12px; font-size: 9px; }
  .srd-values { padding: 28px 14px; }
  .srd-values-head { margin-bottom: 18px; }
  .srd-values-tit { font-size: 16px; }
  .srd-values-desc { font-size: 10px; line-height: 1.55; }
  .srd-values-grid { gap: 8px; }
  .srd-value-card { padding: 14px 10px; border-radius: 10px; }
  .srd-value-icon { width: 32px; height: 32px; font-size: 14px; margin-bottom: 8px; }
  .srd-value-tit { font-size: 11px; margin-bottom: 4px; }
  .srd-value-txt { font-size: 9px; line-height: 1.5; }
  .srd-notice { padding: 28px 14px; }
  .srd-notice-head { margin-bottom: 14px; padding-bottom: 10px; border-bottom-width: 1.5px; }
  .srd-notice-sub { font-size: 9px; letter-spacing: 0.12em; }
  .srd-notice-tit { font-size: 14px; }
  .srd-notice-more { font-size: 9px; }
  .srd-notice-item { padding: 10px 0; gap: 8px; }
  .srd-notice-badge { min-width: 34px; padding: 3px 6px; font-size: 8px; }
  .srd-notice-link { font-size: 10px; }
  .srd-notice-date { font-size: 9px; }
}

/* ─────────── 실제 뷰포트 반응형 (섹션 자체) ─────────── */
@media (max-width: 1180px) {
  .service-responsive-toggle { gap: 12px; margin-bottom: 40px; }
  .service-responsive-toggle-item { width: 96px; height: 96px; }
  .service-responsive-toggle-item i { font-size: 28px; }
  .service-responsive-device { height: 560px; }
  /* 좁은 viewport 에서 노트북/태블릿 선택 시 max-width 로 제한 */
  /* 노트북/태블릿/PC 는 frame 보다 넓을 수 있음 → frame 의 overflow-x: auto 로 가로 스크롤 발생 */
}

@media (max-width: 768px) {
  .service-responsive-toggle { flex-wrap: wrap; gap: 10px; }
  .service-responsive-toggle-item { width: 78px; height: 78px; gap: 6px; }
  .service-responsive-toggle-item i { font-size: 22px; }
  .service-responsive-toggle-item span { font-size: 12px; }
  /* device.width 는 그대로 유지 (실제 디바이스 폭으로 보여줌). 화면 좁으면 frame 안에서 가로 스크롤 */
  .service-responsive-device.is-mobile { border-radius: 28px; max-width: 100%; }
}


/* ==========================================================================
   ========== 홈페이지 준비자료 (#materials) ==========
   PC: 다크 배경(#1f232b) + 흰 카드(area폭) + 회색 스텝박스
   모바일: 박스 없이 흰 배경 평면 (별도 .css에서 처리)
   ========================================================================== */
.service-materials-con {
  background: #1f232b;
  color: #fff;
  padding: var(--cm-section-py) 0;
}
.service-materials-con .cm-tit { color: #fff; }
.service-materials-con .cm-tit-sub { color: #86909c; }

.materials-card {
  background: #fff;
  border-radius: 20px;
  padding: 80px 60px;
  margin-top: 50px;
  color: var(--cm-text);
}

.materials-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  counter-reset: materials;
}

.materials-step {
  border-radius: 20px;
  padding: 40px 50px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.materials-step-num {
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--cm-primary, #3182f6);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 500;
  margin-top: 4px;
}

.materials-step-body {
  flex: 1 1 0;
  min-width: 0;
}

.materials-step-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.materials-step-tit {
  font-size: 26px;
  font-weight: 700;
  color: #191c23;
  margin: 0;
  line-height: 1.35;
}

.materials-step-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 22px;
  border-radius: 999px;
  background: var(--cm-primary, #3182f6);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: filter 0.2s ease;
}
.materials-step-cta:hover { filter: brightness(1.08); }
.materials-step-cta i { font-size: 17px; }

.materials-step-desc {
  font-size: 16px;
  line-height: 1.6;
  color: #86909c;
  margin: 0;
  word-break: keep-all;
}
.materials-step-desc strong {
  color: #191c23;
  font-weight: 600;
}

.materials-step-media {
  position: relative;
  margin-top: 28px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.materials-step-media picture,
.materials-step-media video {
  display: block;
  width: 100%;
  height: auto;
}
.materials-step-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.materials-step-media.has-video {
  background: #000;
  border-color: #2a2f37;
}
.materials-step-media.has-video video {
  width: 100%;
  height: auto;
}

/* 영상 재생/정지 토글 — 우하단 작은 floating 버튼 */
.materials-step-video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: background 0.2s ease, transform 0.2s ease;
  backdrop-filter: blur(4px);
}
.materials-step-video-toggle:hover {
  background: rgba(0, 0, 0, 0.78);
  transform: scale(1.05);
}
.materials-step-video-icon {
  width: 18px;
  height: 18px;
  display: none;
}
.materials-step-video-toggle[data-state="playing"] .materials-step-video-icon-pause {
  display: block;
}
.materials-step-video-toggle[data-state="paused"] .materials-step-video-icon-play {
  display: block;
}


/* ==========================================================================
   ========== 서비스 페이지 — 앵커 점프 보정 ==========
   ========================================================================== */
.service-anchor {
  /* 헤더 + 플로팅 탭 합산 높이 */
  scroll-margin-top: calc(var(--cm-header-height, 80px) + 64px);
}


/* ==========================================================================
   ========== 플로팅 섹션 탭 (service-tabs) ==========
   PC 전용. 반응형 체험 섹션 통과 후 .is-visible 추가되어 등장
   ========================================================================== */
.service-tabs-wrap {
  position: fixed;
  top: var(--cm-header-height, 80px);
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 14px 20px;
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.service-tabs-wrap.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.service-tabs {
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 6px;
}

.service-tabs-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-tabs-item {
  display: flex;
}

.service-tabs-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: #8a8f99;
  white-space: nowrap;
  transition: background 0.25s ease, color 0.25s ease, font-weight 0.25s ease;
}
.service-tabs-link:hover {
  color: var(--cm-text, #111);
}
.service-tabs-item.is-active .service-tabs-link {
  background: #f3f4f6;
  color: var(--cm-text, #111);
  font-weight: 700;
}


/* ==========================================================================
   ========== 서비스 안내 (service-info) — 2×2 카드 (이미지 위/텍스트 아래) ==========
   ========================================================================== */
.service-info-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 48px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.service-info-item {
  display: flex;
  flex-direction: column;
}
.service-info-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--cm-border);
}
.service-info-media img,
.service-info-media video,
.service-info-video,
.service-info-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-info-media.has-video {
  background: #000;
}
.service-info-media.has-image {
  background: #f3f4f6;
}
.service-info-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-info-text {
  display: flex;
  flex-direction: column;
}
.service-info-tit {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--cm-text, #111);
  margin: 0 0 10px;
}
.service-info-desc {
  font-size: 17px;
  line-height: 1.6;
  color: var(--cm-text-sub, #888);
  margin: 0 0 28px;
  word-break: keep-all;
}
.service-info-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-info-feature {
  display: flex;
  align-items: center;
  gap: 16px;
}
.service-info-check {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cm-primary, #2b5cff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  line-height: 1;
}
.service-info-feature-txt {
  font-size: 16px;
  color: var(--cm-text, #111);
}


/* ==========================================================================
   ========== 무료 제공 항목 (service - features) ==========
   ========================================================================== */
.service-features-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 50px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service-features-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 8px;
}
.service-features-icon {
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  overflow: hidden;
  background: #f6f7fa;
  border-radius: 12px;
  padding: 20px;
}
.service-features-icon picture {
  display: block;
  width: 100%;
  height: 100%;
}
.service-features-icon img,
.service-features-icon svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.service-features-icon i {
  font-size: 48px;
  color: var(--cm-primary);
}
.service-features-tit {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cm-text);
  margin: 0 0 10px;
}
.service-features-txt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--cm-text-sub, #666);
  margin: 0;
  word-break: keep-all;
}


/* ==========================================================================
   ========== 유지보수 신청 (maintenance-request) ==========
   ========================================================================== */

/* Hero — 공통 .cm-sub-hero 클래스 사용. cm-tit-sub 기본(파란) 색 사용. 별도 override 없음 */

/* ----- 3-step 프로세스 카드 ----- */
.maintenance-request-process-con {
  padding: 0 0 40px;
}
.maintenance-request-process-card {
  padding: 55px 72px;
  background: var(--cm-white);
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 20px;
}
.maintenance-request-process-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.maintenance-request-process-item {
  flex: 1 1 0;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}
.maintenance-request-process-step {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cm-primary);
}
.maintenance-request-process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  background: rgba(var(--cm-primary-rgb), 0.08);
  color: var(--cm-primary);
  border-radius: 50%;
}
.maintenance-request-process-icon i {
  font-size: 44px;
  line-height: 1;
}
.maintenance-request-process-tit {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cm-text);
  margin: 0;
}
.maintenance-request-process-txt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cm-sub);
  margin: 0;
}
.maintenance-request-process-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #bcc3cc;
  font-size: 28px;
}

/* ----- CTA ----- */
.maintenance-request-cta-wrap {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.maintenance-request-cta {
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* ----- 유지보수 항목/비용 안내 박스 ----- */
.maintenance-request-notice-con {
  padding: 30px 0;
}
.maintenance-request-notice-box {
  display: flex;
  gap: 16px;
  padding: 45px;
  background: var(--cm-bg);
  border-radius: 10px;
}
.maintenance-request-notice-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: var(--cm-white);
  background: var(--cm-primary);
  border-radius: 50%;
}
.maintenance-request-notice-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.maintenance-request-notice-tit {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--cm-text);
  margin: 0;
}
.maintenance-request-notice-txt {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cm-sub);
  margin: 0;
}
.maintenance-request-notice-txt strong {
  color: var(--cm-text);
  font-weight: 700;
}

/* ----- 비용 안내 테이블 ----- */
.maintenance-request-fee-con {
  padding: 40px 0 160px;
}
.maintenance-request-fee-wrap {
  overflow: hidden;
  border: 1px solid #e6e6e6;
  border-radius: 10px;
}
.maintenance-request-fee-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 16px;
}
.maintenance-request-fee-table th,
.maintenance-request-fee-table td {
  padding: 20px 24px;
  text-align: center;
  vertical-align: middle;
  border-top: 1px solid #ececec;
  border-right: 1px solid #ececec;
}
.maintenance-request-fee-table th:last-child,
.maintenance-request-fee-table td:last-child {
  border-right: 0;
}
.maintenance-request-fee-grouphead th {
  padding: 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cm-white);
  background: #1f232b;
  border-top: 0;
  border-right: 1px solid #3a3e46;
}
.maintenance-request-fee-grouphead th:last-child {
  border-right: 0;
}
.maintenance-request-fee-subhead th {
  font-size: 16px;
  font-weight: 700;
  color: var(--cm-white);
  background: #5b5f67;
  border-top: 0;
  border-right: 1px solid #7a7e85;
}
.maintenance-request-fee-subhead th:last-child {
  border-right: 0;
}
.maintenance-request-fee-cat {
  font-weight: 700;
  color: var(--cm-text);
  background: #f6f7fa;
}
.maintenance-request-fee-cost {
  font-weight: 500;
  color: var(--cm-sub);
  background: var(--cm-white);
}
.maintenance-request-fee-cat strong {
  display: block;
  font-weight: 700;
  color: var(--cm-text);
}
.maintenance-request-fee-cat span {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 400;
  color: var(--cm-sub);
}

/* ----- 신청 폼 섹션 ----- */
.maintenance-request-form-con {
  background: var(--cm-bg);
}
.maintenance-request-form-wrap {
  max-width: 880px;
  margin: 0 auto;
}


/* ==========================================================================
   ========== 인증 (auth — login / register / lostpw / resetpw) ==========
   ========================================================================== */

/* --- 공통 input ----------------------------------------------------------- */
.cm-input {
  width: 100%;
  height: 50px;
  padding: 13px 20px;
  font-family: var(--cm-font-main);
  font-size: 15px;
  color: var(--cm-text);
  background: var(--cm-white);
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 8px;
  letter-spacing: -0.01em;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cm-input::placeholder {
  color: #a7abb4;
}
.cm-input:focus {
  outline: none;
  border-color: var(--cm-primary);
  box-shadow: 0 0 0 3px rgba(var(--cm-primary-rgb), 0.12);
}
.cm-input:disabled {
  background: #f6f7fa;
  color: var(--cm-sub);
}

/* --- auth 페이지 공통 ----------------------------------------------------- */
.auth-main {
  background: var(--cm-white);
}
.auth-con {
  padding: 120px 0 160px;
}
.auth-card {
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.auth-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.auth-tit {
  font-size: 40px;
  font-weight: 800;
  color: var(--cm-text);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.2;
}
.auth-txt {
  font-size: 18px;
  color: var(--cm-sub);
  margin: 0;
  line-height: 1.5;
}
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.auth-field {
  display: flex;
  flex-direction: column;
}
.auth-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.auth-remember {
  margin-top: 4px;
  margin-bottom: 6px;
}
.auth-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--cm-sub);
  cursor: pointer;
  user-select: none;
}
.auth-check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--cm-primary);
}
.auth-submit {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  padding: 0;
  font-size: 16px;
  font-weight: 700;
  border-radius: 7px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

/* --- 부가 링크 (아이디찾기 | 비번찾기 | 회원가입) ---------------------- */
.auth-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: -10px;
}
.auth-links a {
  font-size: 15px;
  font-weight: 600;
  color: #6b7684;
  transition: color 0.15s ease;
}
.auth-links a:hover {
  color: var(--cm-primary);
}
.auth-links-sep {
  width: 1px;
  height: 14px;
  background: #e0e3e8;
}

/* --- 알림 (에러/성공) ----------------------------------------------------- */
.auth-alert {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 18px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 8px;
  margin-top: -20px;
}
.auth-alert i {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1.4;
}
.auth-alert-error {
  color: #b91c1c;
  background: rgba(246, 49, 49, 0.08);
  border: 1px solid rgba(246, 49, 49, 0.2);
}
.auth-alert-success {
  color: #166534;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

/* --- 라벨 + 필드 에러 -------------------------------------------------- */
.auth-label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-text);
  letter-spacing: -0.01em;
}
.auth-field + .auth-field {
  margin-top: 16px;
}
.cm-input.has-error {
  border-color: #f63131;
}
.auth-field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: #b91c1c;
}

/* --- 동의 체크 / 폼 푸터 ----------------------------------------------- */
.auth-agree {
  margin-top: 24px;
}
.auth-agree .auth-check {
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--cm-sub);
}
.auth-agree .auth-check input[type="checkbox"] {
  margin-top: 2px;
  flex: 0 0 auto;
}
.auth-form-foot {
  margin-top: 30px;
}
.auth-links-txt {
  font-size: 14px;
  color: var(--cm-sub);
}


/* ==========================================================================
   ========== 헤더 — 로그인/로그아웃 토글 ==========
   ========================================================================== */
.cm-header-user {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-text);
  margin-right: 4px;
}
.cm-header-user i {
  font-size: 16px;
  color: var(--cm-sub);
}
.cm-header-btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-text);
  background: transparent;
  border: 1px solid var(--cm-border);
  border-radius: 6px;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.cm-header-btn-ghost:hover {
  background: var(--cm-bg);
  border-color: var(--cm-text);
}


/* ==========================================================================
   ========== 유지보수 신청 - 유의사항 (maintenance-request-notice / mrn-) ==========
   ========================================================================== */

/* Hero — 공통 .cm-sub-hero 클래스 사용. cm-tit-box 기본 스타일 사용. 별도 override 없음 */

.mrn-notice-box {
  display: flex;
  gap: 14px;
  padding: 45px;
  background: var(--cm-bg);
  border-radius: 10px;
}
.mrn-notice-mark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: 800;
  color: var(--cm-white);
  background: var(--cm-primary);
  border-radius: 50%;
}
.mrn-notice-body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.mrn-notice-tit {
  font-size: 22px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0;
  line-height: 1.3;
}
.mrn-notice-txt {
  font-size: 18px;
  color: var(--cm-sub);
  margin: 0;
}
.mrn-notice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mrn-notice-list li strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--cm-text);
}

/* --- 수정요청서 양식 다운로드 버튼 -------------------------------------- */
.mrn-download-btn {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cm-white);
  background: var(--cm-primary);
  border: 1px solid var(--cm-primary);
  border-radius: 8px;
  transition: background 0.15s ease, border-color 0.15s ease;
  margin-top: 6px;
}
.mrn-download-btn i {
  font-size: 18px;
}
.mrn-download-btn:hover {
  background: var(--cm-text);
  border-color: var(--cm-text);
  color: var(--cm-white);
}

/* --- 섹션 헤더 (번호 + 타이틀) ----------------------------------------- */
.mrn-section-con {
  padding: 50px 0 150Px;
}
.mrn-section-head {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}
.mrn-section-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: 800;
  color: var(--cm-white);
  background: var(--cm-primary);
  border-radius: 50%;
}
.mrn-section-tit {
  font-size: 24px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0 0 10px;
  line-height: 1.3;
}
.mrn-section-sub {
  font-size: 16px;
  line-height: 1.7;
  color: var(--cm-sub);
  margin: 0;
}
.mrn-section-sub strong {
  color: var(--cm-text);
  font-weight: 700;
}
.mrn-inline-link {
  color: var(--cm-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- STEP 3 카드 -------------------------------------------------------- */
.mrn-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px;
  background: var(--cm-bg);
  border-radius: 20px;
  margin-top: 24px;
}
.mrn-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 36px 26px;
  background: var(--cm-white);
  border-radius: 14px;
}
.mrn-step-label {
  font-size: 22px;
  font-weight: 700;
  color: var(--cm-text);
}
.mrn-step-illust {
  width: 100%;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 20px 10px;
  background: var(--cm-white);
  border-radius: 10px;
}
.mrn-step-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mrn-step-tit {
  font-size: 18px;
  font-weight: 700;
  color: var(--cm-text);
  margin: 0;
  line-height: 1.4;
}
.mrn-step-txt {
  font-size: 15px;
  line-height: 1.6;
  color: var(--cm-sub);
  margin: 0;
}

/* --- 폴더/카드 일러스트 (CSS만으로 그리기) ----------------------------- */
.mrn-folder-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
}
.mrn-folder {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-text);
  background: var(--cm-white);
  border: 1px solid #b8d5fc;
  border-radius: 6px;
}
.mrn-folder i {
  color: var(--cm-primary);
  font-size: 14px;
}
.mrn-folder.is-dim {
  opacity: 0.5;
}
.mrn-folder-lg {
  padding: 14px 22px;
  font-size: 14px;
}
.mrn-folder-lg i {
  font-size: 22px;
}
.mrn-tag-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 6px;
}
.mrn-tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cm-text);
  background: rgba(var(--cm-primary-rgb), 0.08);
  border-radius: 4px;
}
.mrn-file-card {
  width: 100%;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  background: var(--cm-white);
  border: 1px solid #b8d5fc;
  border-radius: 8px;
  overflow: hidden;
}
.mrn-file-card-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--cm-text);
  background: #f6f7fa;
}
.mrn-file-card-sep {
  width: 1px;
  height: 10px;
  background: #d0d4dc;
}
.mrn-file-card-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 14px;
}
.mrn-file-card-body i {
  font-size: 28px;
  color: var(--cm-primary);
}
.mrn-arrow-down {
  font-size: 22px;
  color: var(--cm-sub);
}

/* --- 수정 표시 방법 — 예시 + 4개 마커 ----------------------------------- */
.mrn-edit-download {
  margin: 24px 0 30px;
}
.mrn-example {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  padding: 50px;
  background: var(--cm-bg);
  border-radius: 20px;
}
.mrn-example-preview {
  position: relative;
  background: var(--cm-white);
  border-radius: 12px;
  overflow: hidden;
}
.mrn-example:not(.has-image) .mrn-example-preview {
  min-height: 600px;
}
.mrn-example-img {
  width: 100%;
  height: auto;
  display: block;
}
.mrn-example-img-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--cm-sub);
  background: #f0f2f5;
  text-align: center;
  padding: 20px;
}
.mrn-example-img-placeholder i {
  font-size: 48px;
}
.mrn-example-img-placeholder p {
  font-size: 14px;
  font-weight: 600;
  margin: 0;
}
.mrn-example-img-placeholder small {
  font-size: 12px;
  color: var(--cm-sub);
  opacity: 0.7;
}
.mrn-marker {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-white);
  background: #f63131;
  border-radius: 50%;
  z-index: 2;
}
.mrn-marker-1 { top: 8%;  left: 4%; }
.mrn-marker-2 { top: 28%; left: 4%; }
.mrn-marker-3 { top: 55%; left: 4%; }
.mrn-marker-4 { top: 78%; left: 4%; }

.mrn-example-notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.mrn-example-note {
  display: flex;
  gap: 12px;
  padding: 18px 18px 16px;
  background: var(--cm-white);
  border-radius: 10px;
}
.mrn-example-num {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-white);
  background: #f63131;
  border-radius: 50%;
}
.mrn-example-note > div {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mrn-example-note strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--cm-text);
}
.mrn-example-note p {
  font-size: 13px;
  line-height: 1.65;
  color: var(--cm-sub);
  margin: 0;
}
.mrn-example-note p em {
  display: inline-block;
  margin-right: 6px;
  font-style: normal;
  font-weight: 700;
  color: var(--cm-text);
}
.mrn-example-bad {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.mrn-example-bad-tag {
  flex: 0 0 auto;
  color: #f63131;
  font-weight: 700;
}

/* --- 신청 폼 섹션 -------------------------------------------------------- */
.mrn-form-con {
  background: var(--cm-bg);
}
.mrn-form-wrap {
  max-width: 880px;
  margin: 0 auto;
}
.mrn-form-fallback {
  padding: 40px;
  text-align: center;
  background: var(--cm-white);
  border-radius: 12px;
  color: var(--cm-sub);
  line-height: 1.7;
}
.mrn-form-fallback code {
  padding: 2px 6px;
  font-size: 13px;
  background: #f0f2f5;
  border-radius: 4px;
}

/* --- inquiry 자체 토큰을 cm- 디자인 시스템으로 override ---------------- */
.mrn-form-wrap {
  --inquiry-primary:      var(--cm-primary);
  --inquiry-primary-dark: #1f6dd6;
  --inquiry-text:         var(--cm-text);
  --inquiry-text-muted:   var(--cm-sub);
  --inquiry-border:       rgba(36, 36, 36, 0.1);
  --inquiry-bg:           var(--cm-bg);
  --inquiry-white:        var(--cm-white);
  --inquiry-error:        #f63131;
  --inquiry-success:      #2dbe7c;
  --inquiry-radius:       8px;
}
.mrn-form-wrap .uw-inquiry-form * {
  font-family: var(--cm-font-main);
}

/* --- 폼 그리드 — 단답형 2열, 긴 필드는 풀폭 -------------------------- */
.mrn-form-wrap .uw-inquiry-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.mrn-form-wrap .uw-inquiry-field--textarea,
.mrn-form-wrap .uw-inquiry-field--file,
.mrn-form-wrap .uw-inquiry-field--captcha,
.mrn-form-wrap .uw-inquiry-field--field_subject,
.mrn-form-wrap .uw-inquiry-field--field_message,
.mrn-form-wrap .uw-inquiry-field--field_attachment {
  grid-column: 1 / -1;
}
.mrn-form-wrap .uw-inquiry-field {
  min-width: 0;
}
.mrn-form-wrap .uw-inquiry-field-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* --- file 박스 폭 초과 방지 + 안내 텍스트 줄바꿈 ---------------------- */
.mrn-form-wrap .uw-file-wrapper,
.mrn-form-wrap .uw-inquiry-field-file {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.mrn-form-wrap .uw-inquiry-file-box {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-width: 0;
  flex-wrap: wrap;
}
.mrn-form-wrap .uw-inquiry-file-status {
  flex: 1 1 200px;
  min-width: 0;
}
.mrn-form-wrap .uw-inquiry-file-placeholder {
  display: block;
  font-size: 13px;
  color: var(--cm-sub);
  word-break: keep-all;
  overflow-wrap: anywhere;
  white-space: normal;
}
.mrn-form-wrap .uw-inquiry-file-size {
  flex: 0 0 auto;
  font-size: 13px;
  color: var(--cm-sub);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .mrn-form-wrap .uw-inquiry-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- 개인정보 처리방침: 기본 본문 박스 숨김 + 자세히보기 링크 ---------- */
.mrn-form-wrap .uw-inquiry-privacy-content {
  display: none;
}
.mrn-form-wrap .uw-inquiry-privacy {
  margin-top: 8px;
  padding: 0;
  background: transparent;
  border: 0;
}
.mrn-form-wrap .uw-inquiry-privacy-agree-wrap {
  padding: 0;
  margin: 0;
  background: transparent;
}
.mrn-form-wrap .uw-privacy-agree,
.mrn-form-wrap .uw-inquiry-privacy-agree {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.mrn-form-wrap .uw-inquiry-privacy-label {
  font-size: 14px;
  color: var(--cm-text);
}
.mrn-form-wrap .mrn-privacy-more {
  margin-left: 6px;
  padding-left: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cm-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-left: 1px solid var(--cm-border);
}
.mrn-form-wrap .mrn-privacy-more:hover {
  color: var(--cm-text);
}

/* --- 처리방침 모달 (body 직속 이동 + 헤더 위 z-index) ---------------- */
.mrn-privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 100000;             /* 헤더(9999) 위 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.mrn-privacy-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease, visibility 0s;
}
.mrn-privacy-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 18, 28, 0.55);
}
.mrn-privacy-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: calc(100vh - 40px);   /* 패딩 위아래 보존 */
  display: flex;
  flex-direction: column;
  background: var(--cm-white);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.mrn-privacy-modal.is-open .mrn-privacy-modal-box {
  transform: translateY(0);
}

/* body scroll lock 시 폭 점프 방지 (브라우저 스크롤바 폭만큼 보전) */
html.mrn-modal-lock {
  overflow: hidden;
}
body.mrn-modal-lock {
  overflow: hidden;
  /* JS가 padding-right로 스크롤바 폭 보전 */
}
.mrn-privacy-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 26px;
  border-bottom: 1px solid var(--cm-border);
}
.mrn-privacy-modal-tit {
  font-size: 20px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.mrn-privacy-modal-close {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--cm-sub);
  font-size: 22px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.mrn-privacy-modal-close:hover {
  background: var(--cm-bg);
  color: var(--cm-text);
}
.mrn-privacy-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 24px 26px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--cm-sub);
}
.mrn-privacy-modal-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--cm-text);
  margin: 18px 0 6px;
}
.mrn-privacy-modal-body h4:first-child {
  margin-top: 0;
}
.mrn-privacy-modal-body p {
  margin: 0 0 8px;
}
.mrn-privacy-modal-body strong {
  color: var(--cm-text);
  font-weight: 700;
}
.mrn-privacy-modal-foot {
  padding: 16px 26px 22px;
  border-top: 1px solid var(--cm-border);
  display: flex;
  justify-content: flex-end;
}
.mrn-privacy-modal-foot .cm-btn {
  min-width: 100px;
}

@media (max-width: 768px) {
  .mrn-privacy-modal { padding: 12px; }
  .mrn-privacy-modal-box { max-height: 90vh; }
  .mrn-privacy-modal-head { padding: 18px 20px; }
  .mrn-privacy-modal-tit { font-size: 18px; }
  .mrn-privacy-modal-body { padding: 18px 20px; font-size: 13px; }
  .mrn-privacy-modal-foot { padding: 14px 20px 18px; }
}


/* ==========================================================================
   ========== 공지사항 (notice) — archive / single ==========
   ========================================================================== */

/* ----- archive: 테이블 리스트 ----- */
.notice-list {
  width: 100%;
  border-collapse: collapse;
  border-top: 2px solid var(--cm-text);
  table-layout: fixed;
}

.notice-list col.notice-col-num  { width: 100px; }
.notice-list col.notice-col-date { width: 160px; }
.notice-list col.notice-col-tit  { width: auto; }

.notice-list thead th {
  padding: 20px 30px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cm-text);
  text-align: center;
  border-bottom: 1px solid var(--cm-border);
  background: var(--cm-bg);
}

.notice-list .notice-th-num  { text-align: left; }
.notice-list .notice-th-date { text-align: center; }

.notice-row > td {
  padding: 26px 24px;
  font-size: 16px;
  border-bottom: 1px solid var(--cm-border);
  vertical-align: middle;
}

.notice-cell-num {
  color: var(--cm-text);
  font-weight: 500;
}

.notice-cell-tit .notice-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--cm-text);
  font-weight: 600;
  transition: color 0.2s ease;
}
.notice-cell-tit .notice-link:hover {
  color: var(--cm-primary);
}

.notice-tit-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
  max-width: 100%;
}

.notice-cell-date {
  color: var(--cm-sub);
  font-size: 15px;
  text-align: right;
  white-space: nowrap;
}

/* 고정글(공지) */
.notice-row.is-pinned {
  background: rgba(var(--cm-primary-rgb), 0.03);
}
.notice-row.is-pinned .notice-cell-tit .notice-link {
  font-weight: 700;
}

.notice-badge-pin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  background: var(--cm-text);
  color: var(--cm-white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

/* 첨부파일 아이콘 (xeicon paperclip) */
.notice-icon-file {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M21.44 11.05l-9.19 9.19a6 6 0 0 1-8.49-8.49l9.19-9.19a4 4 0 0 1 5.66 5.66l-9.2 9.19a2 2 0 0 1-2.83-2.83l8.49-8.48'/></svg>") center / contain no-repeat;
  color: var(--cm-sub);
  flex-shrink: 0;
}

.board-empty {
  margin-top: 60px;
  padding: 80px 20px;
  text-align: center;
  color: var(--cm-sub);
  font-size: 16px;
  border-top: 2px solid var(--cm-text);
  border-bottom: 1px solid var(--cm-border);
}

/* ----- single: 공지 상세 ----- */
.notice-single-header {
  padding: 0 0 24px;
  border-bottom: 1px solid var(--cm-border);
}
.notice-single-tit {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cm-text);
  margin: 0 0 14px;
}
.notice-single-date {
  display: inline-block;
  color: var(--cm-sub);
  font-size: 15px;
}

.notice-single-body {
  padding: 40px 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--cm-text);
  border-bottom: 1px solid var(--cm-border);
  min-height: 200px;
}
.notice-single-body p { margin: 0 0 14px; }
.notice-single-body p:last-child { margin-bottom: 0; }
.notice-single-body img { max-width: 100%; height: auto; }

.notice-single-files {
  padding: 28px 0;
  border-bottom: 1px solid var(--cm-border);
}
.notice-files-tit {
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-text);
  margin: 0 0 14px;
}
.notice-files-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.notice-files-item + .notice-files-item { margin-top: 8px; }
.notice-files-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cm-text);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.notice-files-link:hover { color: var(--cm-primary); }
.notice-files-num {
  display: inline-block;
  min-width: 32px;
  color: var(--cm-sub);
  font-weight: 500;
}

.notice-single-nav {
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--cm-border);
}
.notice-nav-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  padding: 20px 0;
  font-size: 15px;
}
.notice-nav-item + .notice-nav-item {
  border-top: 1px solid var(--cm-border);
}
.notice-nav-label {
  color: var(--cm-sub);
  font-weight: 600;
}
.notice-nav-link {
  color: var(--cm-text);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.notice-nav-link:hover { color: var(--cm-primary); }
.notice-nav-empty {
  color: var(--cm-sub);
}

.notice-single-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}
.notice-single-actions .cm-btn {
  min-width: 160px;
}

/* ==========================================================================
   ========== 유지보수 비용 안내 (maintenance-pricing / mp-) ==========
   ========================================================================== */

/* Hero — 공통 .cm-sub-hero 클래스 사용. cm-tit-sub 기본(파란) 색 사용. 별도 override 없음 */

/* ----- 정기 유지보수 3카드 ----- */
.mp-plans-con {
  padding: 20px 0 80px;
}
.mp-plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: stretch;
  padding-top: 24px; /* 뱃지가 카드 위로 올라와도 클립되지 않게 */
}
.mp-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 30px;
  background: var(--cm-white);
  border: 1px solid rgba(36, 36, 36, 0.1);
  border-radius: 10px;
}
.mp-plan.is-highlight {
  border: 1px solid var(--cm-primary);
  box-shadow: 0 8px 24px rgba(var(--cm-primary-rgb), 0.1);
}

/* "85%가 사용하고 있어요!" 배지 — 카드 위 완전 분리 (화살표 끝이 카드 보더에 닿음) */
.mp-plan-badge {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;     /* 카드와 화살표 사이 약간의 호흡 */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 24px;
  background: #2d353d;
  color: var(--cm-white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  border-radius: 50px;
  white-space: nowrap;
}
.mp-plan-badge::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #2d353d;
}

.mp-plan-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mp-plan-tit {
  font-size: 28px;
  font-weight: 800;
  color: var(--cm-text);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.4;
}
.mp-plan.is-highlight .mp-plan-tit {
  color: var(--cm-primary);
}
.mp-plan-desc {
  font-size: 14px;
  line-height: 1.5;
  color: var(--cm-sub);
  margin: 0;
}

.mp-plan-price {
  padding: 20px 0;
  border-top: 1px solid rgba(36, 36, 36, 0.1);
  border-bottom: 1px solid rgba(36, 36, 36, 0.1);
}
.mp-plan-price strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--cm-text);
  letter-spacing: -0.02em;
}
.mp-plan-period {
  font-size: 16px;
  font-weight: 400;
  color: var(--cm-sub);
  margin-left: 4px;
}

.mp-plan-items {
  list-style: none;
  margin: 0;
  padding: 20px;
  background: var(--cm-bg);
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mp-plan-items li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.mp-plan-item-key {
  flex: 0 0 150px;
  font-weight: 700;
  color: var(--cm-sub);
}
.mp-plan-item-val {
  flex: 1 1 auto;
  color: var(--cm-text);
}
.mp-plan-cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 43px;
  padding: 0 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mp-plan-cta i { font-size: 16px; }

/* ----- 도입 혜택 ----- */
.mp-benefits-con {
  padding: 90px 0;
  background: var(--cm-bg);
}
.mp-benefits-con .cm-tit-box { margin-bottom: 0; }
.mp-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}
.mp-benefit {
  position: relative;
  padding: 50px 35px;
  background: var(--cm-white);
  border-radius: 10px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  overflow: hidden;
}
.mp-benefit-tit {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--cm-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.mp-benefit-tit-high {
  color: var(--cm-primary);
  font-weight: 700;
}
.mp-benefit-desc {
  font-size: 15px;
  line-height: 1.5;
  color: var(--cm-sub);
  margin: 0;
}
.mp-benefit-icon {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 80px;
  height: 80px;
  object-fit: contain;
  pointer-events: none;
}

/* ----- 표 공통 (건별 / 부가) ----- */
.mp-onetime-con,
.mp-addon-con {
  padding: 80px 0;
}
.mp-section-head {
  margin-bottom: 30px;
}
.mp-section-tit {
  font-size: 24px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}
.mp-section-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cm-sub);
  margin: 0;
}
/* ==========================================================================
   비용표 — 미니멀 라인 스타일 (둥근 모서리 X / 다크 헤더 X / 줄무늬 X)
   ========================================================================== */
.mp-table-wrap {
  border: 0;
  border-radius: 0;
  overflow: visible;
}
.mp-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  table-layout: fixed;
  font-size: 15px;
  border-top: 1px solid var(--cm-text);
  border-bottom: 1px solid var(--cm-border);
  /* 표 hover 컬러 (이 페이지 한정 신규 색) */
  --mp-row-hover: rgba(49, 130, 246, 0.05);
}
.mp-table thead th {
  padding: 18px 24px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-text);
  background: var(--cm-bg);
  text-align: center;
  letter-spacing: 0;
  border-bottom: 1px solid var(--cm-border);
}
.mp-table thead th + th { border-left: 0; }

.mp-table tbody th,
.mp-table tbody td {
  padding: 22px 24px;
  vertical-align: middle;
  border-top: 1px solid var(--cm-border);
  text-align: center;
  background: transparent;
}
.mp-table-item {
  text-align: center;
}
.mp-table-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--cm-text);
  letter-spacing: -0.01em;
}
.mp-table-item span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--cm-sub);
  letter-spacing: 0;
  line-height: 1.55;
}
.mp-table-price {
  font-size: 15px;
  font-weight: 500;
  color: var(--cm-sub);
  letter-spacing: 0;
}

/* 카테고리 블록 — 표를 카테고리별로 분리 */
.mp-cat {
  margin-top: 40px;
}
.mp-cat:first-child {
  margin-top: 0;
}
.mp-cat-tit {
  font-size: 16px;
  font-weight: 700;
  color: var(--cm-text);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

/* 행 hover — 옅은 파란 배경 */
.mp-table tbody tr:hover .mp-table-item,
.mp-table tbody tr:hover .mp-table-price {
  background: var(--mp-row-hover);
}

/* 표 아래 참고사항 — 박스 제거, 간결한 텍스트 리스트 */
.mp-table-notes {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--cm-sub);
}
.mp-table-notes li {
  position: relative;
  padding-left: 12px;
}
.mp-table-notes li::before {
  content: '·';
  position: absolute;
  left: 2px;
  top: 0;
  color: var(--cm-sub);
  font-weight: 700;
}
.mp-table-notes strong {
  color: var(--cm-text);
  font-weight: 600;
}


/* ==========================================================================
   ========== 견적서 신청 모달 (maintenance-quote / mq-) ==========
   ========================================================================== */
.mq-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0s linear 0.2s;
}
.mq-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.2s ease, visibility 0s;
}
.mq-modal-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 18, 28, 0.55);
}
.mq-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  background: var(--cm-white);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(10px);
  transition: transform 0.2s ease;
}
.mq-modal.is-open .mq-modal-box {
  transform: translateY(0);
}
.mq-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--cm-border);
}
.mq-modal-tit {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 800;
  color: var(--cm-text);
  margin: 0;
  letter-spacing: -0.01em;
}
.mq-modal-plan-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--cm-primary);
  background: rgba(var(--cm-primary-rgb), 0.1);
  border-radius: 50px;
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.mq-modal-close {
  width: 36px; height: 36px;
  display: inline-flex;
  align-items: center; justify-content: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--cm-sub);
  font-size: 22px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.mq-modal-close:hover {
  background: var(--cm-bg);
  color: var(--cm-text);
}

.mq-form { display: flex; flex-direction: column; min-height: 0; flex: 1 1 auto; }
.mq-honeypot {
  position: absolute;
  left: -9999px; width: 1px; height: 1px;
  opacity: 0;
}
.mq-modal-body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mq-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.mq-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mq-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--cm-text);
}
.mq-field label em {
  font-style: normal;
  color: var(--cm-primary);
  margin-left: 2px;
}
.mq-optional {
  font-weight: 400;
  color: var(--cm-sub);
  font-size: 12px;
  margin-left: 4px;
}
.mq-modal .cm-input { height: 44px; padding: 11px 14px; font-size: 14px; }
.mq-modal .mq-textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 90px; line-height: 1.5; }

.mq-agree {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0 2px;
  font-size: 13px;
  color: var(--cm-sub);
  cursor: pointer;
}
.mq-agree input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px; height: 16px;
  margin-top: 2px;
  accent-color: var(--cm-primary);
}
.mq-agree em {
  font-style: normal;
  color: var(--cm-primary);
}

.mq-alert {
  margin-top: 4px;
  padding: 10px 14px;
  font-size: 13px;
  color: #b91c1c;
  background: rgba(246, 49, 49, 0.08);
  border: 1px solid rgba(246, 49, 49, 0.2);
  border-radius: 8px;
  line-height: 1.5;
}

.mq-modal-foot {
  display: flex;
  gap: 10px;
  padding: 16px 26px 22px;
  border-top: 1px solid var(--cm-border);
}
.mq-btn-cancel {
  flex: 0 0 auto;
  padding: 0 22px;
  height: 44px;
  background: var(--cm-white);
  color: var(--cm-text);
  border: 1px solid var(--cm-border);
}
.mq-btn-submit {
  flex: 1 1 auto;
  height: 44px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
}
.mq-btn-submit[disabled] {
  opacity: 0.7;
  cursor: not-allowed;
}
.mq-btn-spinner i { font-size: 16px; }

html.mq-modal-lock,
body.mq-modal-lock {
  overflow: hidden;
}

/* --- 토스트 ----------------------------------------------------------- */
.mq-toast {
  position: fixed;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%) translateY(20px);
  z-index: 100001;
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-white);
  background: #2d353d;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  opacity: 0;
  pointer-events: none;
  white-space: pre-line;
  max-width: calc(100% - 40px);
  line-height: 1.5;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.mq-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.mq-toast i {
  flex: 0 0 auto;
  font-size: 18px;
  color: #4ade80;
  margin-top: 1px;
}

@media (max-width: 480px) {
  .mq-modal { padding: 12px; }
  .mq-modal-head { padding: 18px 20px; }
  .mq-modal-tit { font-size: 17px; }
  .mq-modal-plan-tag { font-size: 12px; padding: 4px 10px; }
  .mq-modal-body { padding: 18px 20px; gap: 12px; }
  .mq-field-row { grid-template-columns: 1fr; gap: 12px; }
  .mq-modal-foot { padding: 14px 20px 18px; }
  .mq-btn-cancel { padding: 0 16px; }
  .mq-toast { bottom: 24px; font-size: 13px; padding: 14px 18px; }
}


/* ==========================================================================
   ========== 자주 묻는 질문 (page-faq) ==========
   메인페이지 main-faq-* 동일 디자인 + 카테고리 탭
   ========================================================================== */

/* 카테고리 탭 — 가운데 정렬 + 크게 (시인성) */
.sub-faq-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 56px auto 64px;
  max-width: 1280px;
}
.sub-faq-tab {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 54px;
  min-width: 110px;
  padding: 0 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--cm-text);
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 10px;
  cursor: pointer;
  white-space: nowrap;
  letter-spacing: -0.01em;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.sub-faq-tab:hover {
  border-color: var(--cm-primary);
  color: var(--cm-primary);
}
.sub-faq-tab.is-active {
  border-color: var(--cm-primary);
  background: var(--cm-primary);
  color: var(--cm-white);
}

/* FAQ wrap — 가로폭 메인페이지와 동일 */
.sub-faq-wrap {
  max-width: 1280px;
  margin: 0 auto;
}

/* 카테고리 그룹 */
.sub-faq-group {
  margin-top: 64px;
}
.sub-faq-group:first-of-type {
  margin-top: 0;
}
.sub-faq-cate {
  font-size: 22px;
  font-weight: 700;
  color: var(--cm-text);
  letter-spacing: -0.02em;
  margin: 0 0 4px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--cm-text);
}

/* 리스트 / 아이템 (main-faq 미러) */
.sub-faq-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sub-faq-item {
  border-top: 1px solid var(--cm-border);
}
.sub-faq-item:first-child {
  border-top: 0;
}
.sub-faq-item:last-child {
  border-bottom: 1px solid var(--cm-border);
}

/* 질문 트리거 */
.sub-faq-q {
  margin: 0;
  font-weight: 600;
}
.sub-faq-trigger {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 26px 8px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--cm-text);
  transition: color 0.2s ease;
}
.sub-faq-trigger:hover {
  color: var(--cm-primary);
}
.sub-faq-q-mark {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cm-primary);
  color: var(--cm-white);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
}
.sub-faq-q-text {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  word-break: keep-all;
}
.sub-faq-arrow {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  font-size: 20px;
  color: var(--cm-sub);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease;
}
.sub-faq-item.is-open .sub-faq-arrow {
  transform: rotate(180deg);
  color: var(--cm-primary);
}
.sub-faq-item.is-open .sub-faq-trigger {
  color: var(--cm-text);
}

/* 패널 — CSS-only 부드러운 펼침 (grid 0fr → 1fr) */
.sub-faq-panel-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.sub-faq-item.is-open .sub-faq-panel-wrap {
  grid-template-rows: 1fr;
}
.sub-faq-panel {
  overflow: hidden;
  min-height: 0;
}
.sub-faq-a {
  padding: 32px 36px;
  margin: 0 0 16px;
  background: var(--cm-bg);
  border-radius: 10px;
}
.sub-faq-a-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--cm-sub);
  word-break: keep-all;
}
.sub-faq-a-text a {
  color: var(--cm-primary);
  text-decoration: underline;
}

/* 필터 적용 시 — 활성 카테고리 외 숨김 */
.sub-faq-con[data-filter="production"] .sub-faq-group:not([data-category="production"]),
.sub-faq-con[data-filter="contract"]   .sub-faq-group:not([data-category="contract"]),
.sub-faq-con[data-filter="general"]    .sub-faq-group:not([data-category="general"]),
.sub-faq-con[data-filter="maintenance"] .sub-faq-group:not([data-category="maintenance"]) {
  display: none;
}


/* ==========================================================================
   ========== 문의하기 (contact) ==========
   ========================================================================== */


/* ==========================================================================
   ========== 문의 접수 완료 (inquiry-complete) ==========
   메인 하단·/contact 제작문의 폼 접수 후 redirect 도착 페이지.
   ========================================================================== */
.inquiry-complete-sec {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - var(--cm-header-height));
  padding: 80px 20px;
  background: var(--cm-bg);
}
.inquiry-complete-card {
  width: 100%;
  max-width: 560px;
  padding: 56px 48px;
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 24px;
  box-shadow: 0 10px 40px rgba(17, 17, 17, 0.06);
  text-align: center;
}
.inquiry-complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(var(--cm-primary-rgb), 0.1);
  color: var(--cm-primary);
}
.inquiry-complete-icon svg {
  width: 44px;
  height: 44px;
}
.inquiry-complete-tit {
  margin-bottom: 14px;
  font-size: 26px;
  font-weight: 700;
  color: var(--cm-text);
}
.inquiry-complete-sub {
  font-size: 16px;
  line-height: 1.6;
  color: var(--cm-sub);
}
.inquiry-complete-sub strong {
  font-weight: 700;
  color: var(--cm-primary);
}
.inquiry-complete-divider {
  margin: 36px 0;
  border: 0;
  border-top: 1px solid var(--cm-border);
}
.inquiry-complete-desc {
  margin-bottom: 28px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--cm-text-body);
}
.inquiry-complete-desc strong {
  font-weight: 700;
  color: var(--cm-text);
}
/* 카카오톡 버튼 — KakaoTalk 브랜드 색상은 고정값(브랜드 가이드라인) */
.inquiry-complete-kakao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 220px;
  padding: 15px 28px;
  border-radius: 12px;
  background: #FEE500;
  color: #3C1E1E;
  font-size: 16px;
  font-weight: 700;
  transition: var(--cm-transition);
}
.inquiry-complete-kakao svg {
  width: 22px;
  height: 22px;
}
.inquiry-complete-kakao:hover {
  background: #F4DC00;
  transform: translateY(-1px);
}
.inquiry-complete-home {
  display: block;
  width: fit-content;
  margin: 22px auto 0;
  font-size: 14px;
  color: var(--cm-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.inquiry-complete-home:hover {
  color: var(--cm-text);
}

/* ─────────────────────────────────────────────
   공지사항 페이지 — 본문폭 1280 축소 + 목록 텍스트 확대
   (목록은 notice 전용: .notice-list-wrap 보유 .area 만, faq 제외)
   ───────────────────────────────────────────── */
.notice-single-con .area,
.area:has(.notice-list-wrap) {
  max-width: 1280px;
}
.notice-row > td {
  font-size: 19px;
}
.notice-cell-date {
  font-size: 17px;
}

/* ─────────────────────────────────────────────
   제작 비용 (Service Pricing) — figma 1409:1211
   ───────────────────────────────────────────── */
/* pricing 섹션 상단 여백은 base .sub-content-con(= var(--cm-section-py))을 그대로 사용
   → 전 페이지(메인·/service) 다른 섹션과 동일하게 통일 (구 80px 축소 제거) */
.service-pricing-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.service-pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--cm-border);
  border-radius: 10px;
  padding: 40px 30px 30px;
}
.service-pricing-card.is-featured {
  border: 2px solid var(--cm-primary);
  box-shadow: 0 14px 36px rgba(var(--cm-primary-rgb), 0.14);
}

/* 추천 서비스 말풍선 뱃지 */
.service-pricing-badge {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cm-primary);
  color: white;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 999px;
  white-space: nowrap;
  z-index: 1;
}
.service-pricing-badge::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--cm-primary);
  border-radius: 2px;
}

/* 태그 칩 */
.service-pricing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.service-pricing-tag {
  font-size: 13px;
  font-weight: 600;
  color: var(--cm-primary);
  background: rgba(var(--cm-primary-rgb), 0.08);
  padding: 5px 12px;
  border-radius: 999px;
}

.service-pricing-tit {
  font-size: 26px;
  font-weight: 800;
  color: var(--cm-text);
  margin-bottom: 12px;
}
.service-pricing-desc {
  font-size: 14px;
  color: var(--cm-sub);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* 스펙 박스 */
.service-pricing-specs {
  background: var(--cm-bg);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
}
.service-pricing-spec {
  display: flex;
  gap: 12px;
  padding: 7px 0;
}
.service-pricing-spec-label {
  flex: 0 0 72px;
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-text);
}
.service-pricing-spec-value {
  font-size: 14px;
  color: var(--cm-sub);
}

/* 가격 구성 — 카드 하단 정렬 */
.service-pricing-prices {
  margin-top: auto;
}
.service-pricing-price {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 2px 0;
}
.service-pricing-price-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--cm-text);
}
.service-pricing-price-value {
  color: var(--cm-text);
  white-space: nowrap;
}
.service-pricing-price-value strong {
  font-size: 26px;
  font-weight: 800;
}
.service-pricing-price-value small {
  font-size: 14px;
  font-weight: 600;
  margin-left: 2px;
}
.service-pricing-price-value.is-discount {
  color: var(--cm-primary);
}
.service-pricing-price-value em {
  font-style: normal;
  font-size: 16px;
  font-weight: 700;
  color: var(--cm-sub);
}

/* 합계 (VAT별도) */
.service-pricing-total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--cm-border);
}
.service-pricing-total-prefix {
  font-size: 14px;
  color: var(--cm-sub);
}
.service-pricing-total-value {
  white-space: nowrap;
}
.service-pricing-total-value strong {
  font-size: 30px;
  font-weight: 800;
  color: var(--cm-text);
}
.service-pricing-total-value small {
  font-size: 15px;
  font-weight: 700;
  color: var(--cm-text);
  margin-left: 2px;
}
.service-pricing-total-value em {
  font-style: normal;
  font-size: 18px;
  font-weight: 700;
  color: var(--cm-text);
}

/* 버튼 */
.service-pricing-btns {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.service-pricing-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  transition: filter 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.service-pricing-btn.is-primary {
  background: var(--cm-primary);
  color: white;
}
.service-pricing-btn.is-primary:hover {
  filter: brightness(0.93);
}
.service-pricing-btn.is-outline {
  background: white;
  border: 1px solid var(--cm-border);
  color: var(--cm-text);
}
.service-pricing-btn.is-outline:hover {
  border-color: var(--cm-text);
}
.service-pricing-btn.is-dark {
  background: var(--cm-text);
  color: white;
}
.service-pricing-btn.is-dark:hover {
  filter: brightness(1.6);
}

/* 하단 FAQ */
.service-pricing-faq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  margin-top: 48px;
  background: var(--cm-bg);
  border-radius: 20px;
  padding: 40px 48px;
}
.service-pricing-faq-item {
  display: flex;
  gap: 16px;
}
.service-pricing-faq-icon {
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cm-primary);
  color: white;
  border-radius: 50%;
  font-size: 15px;
  font-weight: 700;
}
.service-pricing-faq-q {
  font-size: 20px;
  font-weight: 700;
  color: var(--cm-text);
  margin-bottom: 15px;
}
.service-pricing-faq-a {
  font-size: 16px;
  color: var(--cm-sub);
  line-height: 1.7;
}


/* ==========================================================================
   ========== AEO 콘텐츠 블록 (콜아웃 / 비교표 / 핵심정리) ==========
   재사용 컴포넌트 (cm-). 본문 어느 prose 컨테이너에서도 동작.
   렌더러: inc/uw-content-blocks/class-uw-content-blocks.php
   ========================================================================== */

/* 시맨틱 컬러 토큰 — hex는 여기(정의)에만, 속성은 전부 var() 참조 */
:root {
  --cm-callout-term-accent: var(--cm-primary);
  --cm-callout-term-bg: rgba(var(--cm-primary-rgb), 0.06);
  --cm-callout-tip-accent: #12b886;
  --cm-callout-tip-bg: rgba(18, 184, 134, 0.07);
  --cm-callout-warn-accent: #f08c00;
  --cm-callout-warn-bg: rgba(240, 140, 0, 0.08);
  --cm-callout-summary-accent: var(--cm-primary);
  --cm-callout-summary-bg: rgba(var(--cm-primary-rgb), 0.05);
}

.cm-callout {
  display: flex;
  gap: 14px;
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 4px solid var(--cm-border);
  border-radius: 0 12px 12px 0;
  background: var(--cm-bg);
}
.cm-callout-mark {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1.5;
}
.cm-callout-body { flex: 1 1 auto; min-width: 0; }
.cm-callout-tit {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 700;
  color: var(--cm-text);
  letter-spacing: -0.01em;
}
.cm-callout-txt { color: var(--cm-text-body); }
.cm-callout-txt > *:last-child { margin-bottom: 0; }
.cm-callout-txt p { margin: 0 0 0.8em; }
.cm-callout-txt ul,
.cm-callout-txt ol { padding-left: 1.4em; margin: 0.4em 0; }
.cm-callout-txt li { margin-bottom: 0.4em; }
.cm-callout-txt ul li { list-style: disc; }
.cm-callout-txt ol li { list-style: decimal; }

/* 타입별 강조색 */
.cm-callout--term {
  border-left-color: var(--cm-callout-term-accent);
  background: var(--cm-callout-term-bg);
}
.cm-callout--tip {
  border-left-color: var(--cm-callout-tip-accent);
  background: var(--cm-callout-tip-bg);
}
.cm-callout--warn {
  border-left-color: var(--cm-callout-warn-accent);
  background: var(--cm-callout-warn-bg);
}
.cm-callout--summary {
  border-left-color: var(--cm-callout-summary-accent);
  background: var(--cm-callout-summary-bg);
  border-radius: 12px;
  border-left-width: 4px;
  padding: 24px 28px;
}
.cm-callout--summary .cm-callout-tit {
  font-size: 17px;
  margin-bottom: 10px;
}

/* 비교표 — 실제 <table>, AI/스니펫 인용 최적 */
.cm-compare-wrap {
  margin: 28px 0;
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--cm-border);
}
.cm-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 480px;
}
/* 본문 일반 table 마진(.blog-single-body table {margin:28px 0})이 새어들어
   래퍼 안쪽 상하에 불필요한 여백을 만들지 않도록 0으로 (외부 간격은 wrap이 담당) */
.cm-compare-wrap .cm-compare-table { margin: 0; }
.cm-compare-cap {
  caption-side: top;
  padding: 14px 16px;
  text-align: left;
  font-size: 14px;
  font-weight: 700;
  color: var(--cm-sub);
  background: var(--cm-bg);
  border-bottom: 1px solid var(--cm-border);
}
.cm-compare-table th,
.cm-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--cm-border);
  border-right: 1px solid var(--cm-border);
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}
.cm-compare-table tr th:last-child,
.cm-compare-table tr td:last-child { border-right: 0; }
.cm-compare-table thead th {
  background: var(--cm-bg);
  font-weight: 700;
  color: var(--cm-text);
}
/* 첫 열(구분 라벨) 강조 */
.cm-compare-table tbody th,
.cm-compare-table tbody td:first-child {
  font-weight: 700;
  color: var(--cm-text);
  background: rgba(var(--cm-primary-rgb), 0.02);
}
.cm-compare-table tbody tr:last-child th,
.cm-compare-table tbody tr:last-child td { border-bottom: 0; }


/* ==========================================================================
   ========== 개발 백서(guide) — 허브 / 클러스터 상호링크 ==========
   blog-layout / blog-sidebar / blog-cat-list 스타일 상속 + guide 전용 추가
   ========================================================================== */

/* 허브: 클러스터 그룹 */
.guide-hub-group { margin-bottom: 48px; }
.guide-hub-group:last-child { margin-bottom: 0; }
.guide-hub-group-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--cm-text);
}
.guide-hub-group-info { min-width: 0; }
.guide-hub-group-tit {
  font-size: 20px;
  font-weight: 800;
  color: var(--cm-text);
  letter-spacing: -0.02em;
}
.guide-hub-group-desc {
  margin: 6px 0 0;
  font-size: 13.5px;
  color: var(--cm-sub);
  word-break: keep-all;
}
.guide-hub-group-more {
  flex: 0 0 auto;
  font-size: 14px;
  font-weight: 600;
  color: var(--cm-sub);
  white-space: nowrap;
}
.guide-hub-group-more:hover { color: var(--cm-primary); }

.guide-hub-list { display: flex; flex-direction: column; gap: 10px; }
.guide-hub-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 20px;
  border: 1px solid var(--cm-border);
  border-radius: 12px;
  background: var(--cm-white);
  color: var(--cm-text-body);
  transition: var(--cm-transition);
}
.guide-hub-link:hover {
  border-color: rgba(var(--cm-primary-rgb), 0.45);
  background: rgba(var(--cm-primary-rgb), 0.03);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.guide-hub-link:hover .guide-hub-item-tit { color: var(--cm-primary); }
.guide-hub-link:hover i {
  opacity: 1;
  color: var(--cm-primary);
  transform: translateX(2px);
}
.guide-hub-item-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.guide-hub-item-tit {
  font-size: 16px;
  font-weight: 700;
  color: var(--cm-text);
  letter-spacing: -0.01em;
  word-break: keep-all;
  transition: color 0.2s ease;
}
.guide-hub-item-sub {
  font-size: 13.5px;
  color: var(--cm-sub);
  word-break: keep-all;
}
.guide-hub-link i {
  flex: 0 0 auto;
  font-size: 16px;
  opacity: 0.4;
  transition: var(--cm-transition);
}

/* single: 같은 클러스터 상호링크 (pillar-cluster) */
.guide-cluster-con {
  margin: 56px 0 0;
  padding: 28px 32px;
  background: var(--cm-bg);
  border-radius: 16px;
  border: 1px solid var(--cm-border);
}
.guide-cluster-head {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--cm-border);
}
.guide-cluster-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--cm-primary);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.guide-cluster-tit {
  font-size: 20px;
  font-weight: 800;
  color: var(--cm-text);
  letter-spacing: -0.02em;
}
.guide-cluster-list {
  list-style: none;
  counter-reset: guide-cluster;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.guide-cluster-item { counter-increment: guide-cluster; }
.guide-cluster-link {
  display: block;
  padding: 12px 14px 12px 40px;
  position: relative;
  border-radius: 8px;
  color: var(--cm-text-body);
  font-size: 15px;
  line-height: 1.5;
  transition: var(--cm-transition);
}
.guide-cluster-link::before {
  content: counter(guide-cluster);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--cm-sub);
  background: var(--cm-white);
  border: 1px solid var(--cm-border);
  border-radius: 50%;
}
a.guide-cluster-link:hover {
  background: var(--cm-white);
  color: var(--cm-primary);
}
.guide-cluster-item.is-current .guide-cluster-link {
  background: var(--cm-white);
  color: var(--cm-text);
  font-weight: 700;
  box-shadow: var(--cm-shadow);
}
.guide-cluster-item.is-current .guide-cluster-link::before {
  color: var(--cm-white);
  background: var(--cm-primary);
  border-color: var(--cm-primary);
}

/* ==========================================================================
   가이드센터(uw_guide) — 문서(docs) 레이아웃
   - 아카이브: 좌측 문서 트리(검색+클러스터별 글 목록, sticky) + 우측 목록
   - 싱글: 좌측 fixed 문서 트리 레일(≥1360px) — 우측 blog-single-toc와 대칭 미러
   - 트리 마크업: template-parts/common/guide-nav.php
   ========================================================================== */
.guide-archive-desc {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--cm-sub);
  word-break: keep-all;
}

.guide-sidebar {
  position: sticky;
  top: calc(var(--cm-header-height, 80px) + 28px);
  align-self: start;
}

/* 문서 트리 */
.guide-nav-search { position: relative; margin-bottom: 18px; }
.guide-nav-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--cm-sub);
  pointer-events: none;
}
.guide-nav-search input[type="search"] {
  width: 100%;
  height: 40px;
  padding: 0 12px 0 34px;
  border: 1px solid var(--cm-border);
  border-radius: 10px;
  background: var(--cm-white);
  font-size: 13px;
  color: var(--cm-text);
}
.guide-nav-search input[type="search"]:focus {
  outline: none;
  border-color: var(--cm-primary);
}

.guide-nav-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cm-text);
}
.guide-nav-all:hover { background: var(--cm-bg); }
.guide-nav-all.is-active {
  background: rgba(var(--cm-primary-rgb), 0.06);
  color: var(--cm-primary);
}
.guide-nav-count { font-size: 11px; font-weight: 600; color: var(--cm-sub); }

.guide-nav-group { margin-top: 18px; }
.guide-nav-group-tit {
  display: block;
  padding: 0 10px;
  margin-bottom: 6px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cm-sub);
}
.guide-nav-group-tit:hover,
.guide-nav-group-tit.is-active { color: var(--cm-primary); }

.guide-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-left: 10px;
  border-left: 1px solid var(--cm-border);
}
.guide-nav-item { min-width: 0; }
.guide-nav-link {
  display: block;
  padding: 6px 10px 6px 14px;
  margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 13px;
  line-height: 1.5;
  color: var(--cm-text);
  word-break: keep-all;
}
a.guide-nav-link:hover {
  color: var(--cm-primary);
  border-left-color: rgba(var(--cm-primary-rgb), 0.4);
}
.guide-nav-item.is-current > .guide-nav-link {
  color: var(--cm-primary);
  font-weight: 700;
  border-left-color: var(--cm-primary);
}

/* 모바일 아코디언 — PC 기본 숨김 (≤768 responsive에서 노출) */
.guide-nav-mobile { display: none; }

/* 싱글 좌측 문서 트리 레일 — blog-single-toc(우측 fixed)와 대칭 */
.guide-doc-nav { display: none; }
@media (min-width: 1440px) {
  .guide-doc-nav {
    display: block;
    position: fixed;
    top: calc(var(--cm-header-height, 80px) + 48px);
    right: calc(50% + 460px + 64px);
    width: 180px;
    max-height: calc(100vh - var(--cm-header-height, 80px) - 96px);
    overflow-y: auto;
    padding: 4px 0;
    opacity: 0.7;
    transition: opacity 0.25s ease;
    z-index: 50;
    scrollbar-width: thin;
  }
  .guide-doc-nav:hover,
  .guide-doc-nav:focus-within { opacity: 1; }
  .guide-doc-nav::-webkit-scrollbar { width: 4px; }
  .guide-doc-nav::-webkit-scrollbar-thumb { background: var(--cm-border); border-radius: 2px; }

  .guide-doc-nav .guide-nav-all { padding: 4px 6px; font-size: 12px; }
  .guide-doc-nav .guide-nav-count { display: none; }
  .guide-doc-nav .guide-nav-group { margin-top: 14px; }
  .guide-doc-nav .guide-nav-group-tit { padding: 0 6px; font-size: 10.5px; }
  .guide-doc-nav .guide-nav-list { margin-left: 6px; }
  .guide-doc-nav .guide-nav-link { padding: 4px 6px 4px 10px; font-size: 12px; }
}

/* 가이드 맥락 안내 카드 (nudge) — 우측 하단, guide-nudge.js가 .is-on 토글 */
.guide-nudge {
  position: fixed;
  right: 24px;
  bottom: 100px; /* 채널톡 버튼(우하단)과 겹침 방지 */
  z-index: 120;
  width: 320px;
  padding: 20px 20px 18px;
  border: 1px solid var(--cm-border);
  border-radius: 16px;
  background: var(--cm-white);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.guide-nudge.is-on {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.guide-nudge-close {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--cm-sub);
  font-size: 15px;
  cursor: pointer;
  transition: var(--cm-transition);
}
.guide-nudge-close:hover { background: var(--cm-bg); color: var(--cm-text); }
.guide-nudge-tit {
  margin: 0 26px 6px 0;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--cm-text);
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.guide-nudge-txt {
  margin: 0 0 14px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--cm-text-body);
  word-break: keep-all;
}
.guide-nudge-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-nudge-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 42px;
  border-radius: 10px;
  background: var(--cm-primary);
  color: var(--cm-white);
  font-size: 14px;
  font-weight: 700;
  transition: var(--cm-transition);
}
.guide-nudge-cta:hover { opacity: 0.9; color: var(--cm-white); }
.guide-nudge-link {
  align-self: center;
  font-size: 12.5px;
  color: var(--cm-sub);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.guide-nudge-link:hover { color: var(--cm-primary); }

/* 문서 수 증가 대응 — 사이드바 트리 자체 스크롤, compact 레일 축약 그룹 */
.guide-sidebar .guide-nav {
  max-height: calc(100vh - var(--cm-header-height, 80px) - 72px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-width: thin;
}
.guide-sidebar .guide-nav::-webkit-scrollbar { width: 4px; }
.guide-sidebar .guide-nav::-webkit-scrollbar-thumb { background: var(--cm-border); border-radius: 2px; }
.guide-doc-nav .guide-nav-group-collapsed { margin-top: 8px; }

/* fixed 레일 — 푸터 진입 시 숨김 (main.js IntersectionObserver가 body.rails-hidden 토글) */
body.rails-hidden .blog-single-toc,
body.rails-hidden .guide-doc-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* 문서 트리 — 소분류 접기 (guide-nav-sub) */
.guide-nav-sub { margin-top: 2px; }
.guide-nav-sub > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cm-text);
  cursor: pointer;
  list-style: none;
  transition: var(--cm-transition);
}
.guide-nav-sub > summary::-webkit-details-marker { display: none; }
.guide-nav-sub > summary:hover { background: var(--cm-bg); }
.guide-nav-sub-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cm-sub);
}
.guide-nav-sub-meta i { font-size: 13px; transition: transform 0.2s ease; }
.guide-nav-sub[open] > summary { color: var(--cm-primary); }
.guide-nav-sub[open] > summary .guide-nav-sub-meta i { transform: rotate(180deg); }
.guide-nav-sub > .guide-nav-list { margin: 2px 0 8px 14px; }

/* compact 레일에서의 소분류 축소 */
.guide-doc-nav .guide-nav-sub > summary { padding: 4px 6px; font-size: 11.5px; }
.guide-doc-nav .guide-nav-sub > .guide-nav-list { margin-left: 8px; }

/* --------------------------------------------------------------------------
   블로그 single — 함께 보면 좋은 글 (심플 링크 박스, 26-07-29 v3)
   -------------------------------------------------------------------------- */
.blog-single-related {
  margin-top: 56px;
  padding: 30px 34px;
  background: #f7f8fa;
  border: 1px solid var(--cm-border);
  border-radius: 16px;
}
.blog-single-related-tit {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 800;
  color: var(--cm-text);
  padding-bottom: 14px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--cm-border);
}
.blog-single-related-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.blog-single-related-list li { list-style: none; }
.blog-single-related-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--cm-text-body);
  word-break: keep-all;
  transition: background 0.15s ease, color 0.15s ease;
}
.blog-single-related-list a i {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--cm-primary);
}
.blog-single-related-list a:hover {
  background: #fff;
  color: var(--cm-primary);
}

/* 가이드센터 사이드 TOC — 대목차(H2)만 노출, 하위 레벨 숨김 (세로 길이 절감) */
.single-uw_guide .blog-single-toc-list .blog-toc-level-3,
.single-uw_guide .blog-single-toc-list .blog-toc-level-4,
.single-uw_guide .blog-single-toc-mobile .blog-toc-level-3,
.single-uw_guide .blog-single-toc-mobile .blog-toc-level-4 { display: none; }

/* nudge 인라인 문의 폼 (가이드 브릿지) */
.guide-nudge-form { position: relative; display: flex; flex-direction: column; gap: 8px; }
.guide-nudge-input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--cm-border);
  border-radius: 10px;
  background: var(--cm-white);
  font-size: 13.5px;
  color: var(--cm-text);
}
.guide-nudge-input:focus { outline: none; border-color: var(--cm-primary); }
.guide-nudge-input::placeholder { color: var(--cm-sub); }
.guide-nudge-agree {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 12.5px;
  color: var(--cm-text-body);
}
.guide-nudge-check { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.guide-nudge-privacy summary { cursor: pointer; color: var(--cm-sub); text-decoration: underline; text-underline-offset: 2px; list-style: none; }
.guide-nudge-privacy summary::-webkit-details-marker { display: none; }
.guide-nudge-privacy[open] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 60px;
  padding: 12px;
  border: 1px solid var(--cm-border);
  border-radius: 10px;
  background: var(--cm-white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 2;
}
.guide-nudge-privacy[open] summary { position: absolute; top: 8px; right: 10px; }
.guide-nudge-privacy[open] p { margin: 0 40px 0 0; font-size: 12px; line-height: 1.55; color: var(--cm-text-body); word-break: keep-all; }
.guide-nudge-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.guide-nudge-submit { width: 100%; border: 0; cursor: pointer; }
.guide-nudge-submit:disabled { opacity: 0.6; cursor: default; }
.guide-nudge-msg { margin: 2px 0 0; font-size: 12.5px; display: none; }
.guide-nudge-msg.is-ok { display: block; color: #1a7f37; }
.guide-nudge-msg.is-err { display: block; color: #c0392b; }

/* 포트폴리오 케이스 — 보강 콘텐츠 (인트로·본문·하이라이트·관련 가이드) */
.port-single-hero-intro {
  margin: 10px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cm-text-body);
  word-break: keep-all;
}
.port-single-vhero .port-single-hero-intro { margin: 12px auto 0; max-width: 640px; }
.port-single-overview-body {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.75;
  color: var(--cm-text-body);
  word-break: keep-all;
}
.port-single-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.port-single-highlights li {
  padding: 7px 12px;
  border: 1px solid var(--cm-border);
  border-radius: 999px;
  background: var(--cm-bg);
  font-size: 13px;
  color: var(--cm-text);
}
.port-single-related {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  font-size: 13.5px;
}
.port-single-related-label { color: var(--cm-sub); }
.port-single-related-link {
  color: var(--cm-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.port-single-related-link:hover { color: var(--cm-primary); }
