@charset "utf-8";

:root {
  /* 미스터하수구 브랜드 색(로고에서 뽑음: 남색 #102244, 노랑 #fdd000).
     변수 이름은 main 과 머지하기 쉽게 그대로 두고 값만 바꿨다 — --blue 계열은 남색, --orange 는 노랑이다.
     노랑은 흰 바탕 위 글씨로 쓰면 읽히지 않는다. 채움·선·어두운 바탕 위 글씨에만 쓰고,
     노랑 바탕 위 글씨는 --on-orange(남색), 흰 바탕 위 포인트 글씨·아이콘은 --blue 로 쓴다. */
  --blue: #1d3f86;
  --blue-dark: #102244;
  --orange: #fdd000;
  --orange-dark: #e6bc00;
  --on-orange: #102244;
  --kakao: #fee500;
  --kakao-ink: #191919;

  --ink: #111;
  --ink-2: #333;
  --ink-3: #555;
  --ink-4: #666;
  --muted: #8e8d8d;
  --muted-2: #a8a8a8;

  --line: #e2e2e2;
  --line-2: #eee;
  --line-3: #f0f0f0;
  --line-dark: #2b3c60;

  --bg: #fff;
  --bg-2: #f9f9f9;
  --bg-3: #f5f4f4;
  --bg-4: #fbfbfb;
  --dark: #102244;
  --darker: #0a1630;

  --font: 'Noto Sans KR', 'Raleway', -apple-system, BlinkMacSystemFont, sans-serif;

  --mbar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  color: var(--ink-2);
  background: var(--bg);
  word-break: keep-all;
  overflow-wrap: anywhere;
}

[hidden] { display: none !important; }

img { max-width: 100%; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.35; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
input, textarea, select { font: inherit; }
svg { flex: none; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

.container {
  width: 100%;
  max-width: 1234px;
  margin: 0 auto;
  padding-inline: 32px;
}

span.m-only, span.pc-only { --m-display: inline; }

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed; z-index: 100;
  top: 8px; left: 8px;
  padding: 10px 16px;
  background: var(--orange); color: var(--on-orange);
  font-weight: 700; text-decoration: none;
}

.m-only { display: none !important; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border: none;
  border-radius: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary { background: var(--orange); color: var(--on-orange); }
.btn--primary:hover { background: var(--orange-dark); color: var(--on-orange); }
.btn--kakao { background: var(--kakao); color: var(--kakao-ink); border-radius: 4px; }
.btn--kakao:hover { background: #ecd500; color: var(--kakao-ink); }
.btn--outline { background: #fff; color: #222; border: 1px solid #333; height: 40px; padding: 0 20px; font-size: 14px; }
.btn--outline:hover { background: #222; color: #fff; }
.btn--ghost { background: transparent; color: var(--ink-2); border: 1px solid #cfcfcf; height: 42px; padding: 0 30px; font-size: 14px; }
.btn--ghost:hover { background: #f4f4f4; color: var(--ink-2); }
.btn--sm { height: 38px; padding: 0 20px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[aria-disabled="true"] { opacity: .65; cursor: not-allowed; }

.topbar { background: var(--dark); color: #c9d3d8; }
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 49px;
}
.topbar__note { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.topbar__links { display: flex; align-items: center; }
.topbar__links > a {
  display: flex; align-items: center; gap: 8px;
  height: 48px; padding: 0 22px;
  border-left: 1px solid var(--line-dark);
  font-size: 14px; font-weight: 700;
  text-decoration: none;
}
.topbar__links > a:last-child { border-right: 1px solid var(--line-dark); }
.topbar__phone { color: #fff; font-size: 16px; }
.topbar__phone:hover { color: var(--orange); }
.topbar__kakao { color: var(--kakao); }
.topbar__kakao:hover { color: #fff; }

.header { background: #fff; border-bottom: 1px solid transparent; }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 105px;
}
.header__logo { display: flex; align-items: center; flex: none; }
.header__logo img { width: 78px; height: 78px; object-fit: contain; }

.gnb { display: flex; align-items: center; }
.gnb__list { display: flex; align-items: center; }
.gnb__item { position: relative; }
.gnb__link {
  position: relative;
  display: flex; align-items: center;
  height: 105px;
  padding: 0 9px;
  font-size: 18px; font-weight: 700;
  color: var(--ink-2); text-decoration: none;
  white-space: nowrap;
}
.gnb__link:hover { color: var(--blue); }
.gnb__link.is-active { color: var(--blue); }
.gnb__link.is-active::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0;
  height: 4px; background: var(--blue);
}
.gnb__cta { margin-left: 10px; }
.gnb__sub {
  position: absolute; left: 50%; top: 100%; z-index: 50;
  min-width: 191px;
  /* 자유 페이지 제목은 100자까지라, 줄을 바꾸지 않으면 숨은 드롭다운이 문서 폭을 밀어 가로 스크롤이 생긴다. */
  width: max-content; max-width: 315px;
  padding: 8px 0;
  background: #fff;
  border-top: 3px solid var(--blue);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .12);
  transform: translate(-50%, 8px);
  opacity: 0; visibility: hidden;
  transition: opacity .15s, transform .15s, visibility .15s;
}
.gnb__item:hover .gnb__sub,
.gnb__item:focus-within .gnb__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb__item:hover .gnb__link { color: var(--blue); }
.gnb__sub a {
  display: block;
  padding: 9px 20px;
  font-size: 18px; line-height: 25px; font-weight: 500;
  color: var(--ink-3); text-decoration: none;
}
.gnb__sub a:hover,
.gnb__sub a:focus-visible { color: var(--blue); background: var(--bg-2); }

.header__actions { --m-display: flex; display: flex; align-items: center; gap: 8px; }
.btn-round {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--orange); color: var(--on-orange);
  text-decoration: none;
}
.btn-burger {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid #ddd; border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.btn-burger span { width: 18px; height: 2px; background: #222; }

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .45); }
.drawer__panel {
  position: absolute; inset: 0 0 0 auto;
  width: min(390px, 100%);
  padding: 8px 16px 28px;
  background: #fff;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 18px;
}
.drawer__panel > * { flex-shrink: 0; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; height: 44px; }
.drawer__label { font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: 1px; }
.drawer__close {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; padding: 0;
  border: none; background: none; cursor: pointer;
}
.drawer__nav > li > a,
.drawer__row {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 52px; padding: 0 4px;
  border-bottom: 1px solid var(--line-2);
}
.drawer__nav > li > a,
.drawer__row > a {
  font-size: 22px; font-weight: 500;
  color: #222; text-decoration: none;
}
.drawer__row { padding-right: 0; }
.drawer__row > a { flex: 1; display: flex; align-items: center; align-self: stretch; }
.drawer__nav a.is-active { color: var(--blue); font-weight: 700; }
.drawer__nav svg { color: #bbb; }
.drawer__toggle {
  display: flex; align-items: center; justify-content: flex-end;
  width: 44px; height: 44px; margin: 0; padding: 0 8px 0 0;
  border: none; background: none; cursor: pointer;
}
.drawer__toggle svg { transition: transform .15s; }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--blue); }
.drawer__sub { padding: 6px 0; background: var(--bg-2); border-bottom: 1px solid var(--line-2); }
.drawer__sub a {
  display: block;
  padding: 9px 16px;
  font-size: 22px; line-height: 30px;
  color: var(--ink-3); text-decoration: none;
}
.drawer__call {
  display: flex; flex-direction: column; gap: 10px;
  padding: 16px;
  background: var(--bg-2); border: 1px solid var(--line-2);
}
.drawer__call h2 { font-size: 15px; font-weight: 700; color: var(--ink); }
.drawer__call b { font-size: 22px; color: var(--ink); }
.drawer__call .btn { height: 48px; border-radius: 4px; }
body.is-locked { overflow: hidden; }

.page-banner {
  position: relative;
  overflow: hidden;
  background: linear-gradient(110deg, #0a1630 0%, var(--blue-dark) 55%, var(--blue) 100%);
}
.page-banner::before,
.page-banner::after {
  content: ""; position: absolute; pointer-events: none;
}
.page-banner::before {
  left: -40px; top: -60px; width: 420px; height: 320px;
  background: rgba(255, 255, 255, .06); transform: skewX(-18deg);
}
.page-banner::after {
  right: 120px; top: 0; width: 380px; height: 100%;
  background: rgba(0, 0, 0, .12); transform: skewX(-22deg);
}
.page-banner__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  min-height: 182px;
}
.page-banner__title { font-size: 28px; line-height: 50px; font-weight: 700; color: #fff; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500; color: #fff;
}
.breadcrumb a { color: #fff; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* 미리보기 띠 — post.php·service.php 가 어드민 세션으로 ?preview=1 을 열었고, 그 글·
   서비스가 아직 비공개일 때만 header.php 바로 다음(<main> 맨 위)에 낸다. */
.preview-bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; gap: 4px 10px;
  padding: 14px 20px;
  background: var(--orange); color: var(--on-orange);
  font-size: 14px; font-weight: 700; text-align: center;
}
.preview-bar a { color: var(--on-orange); text-decoration: underline; text-underline-offset: 3px; }
.preview-bar a:hover { color: var(--darker); }

.admin-tools { background: #fffbe5; border-bottom: 1px solid #f3df8a; }
.admin-tools__inner { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; min-height: 52px; padding-block: 8px; }
.admin-tools__label { margin-right: 4px; font-size: 13px; font-weight: 700; color: var(--blue-dark); }
.admin-tools__home { margin-left: auto; font-size: 13px; color: var(--ink-4); text-decoration: none; }
.admin-tools__home:hover { color: var(--blue); }
.admin-tool {
  display: inline-flex; align-items: center;
  height: 32px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: 4px;
  background: #fff;
  font: inherit; font-size: 13px; font-weight: 700; color: var(--ink-2);
  text-decoration: none; cursor: pointer;
}
.admin-tool:hover { border-color: var(--blue); color: var(--blue); }
.admin-tool--danger { color: #c0392b; }
.admin-tool--danger:hover { border-color: #c0392b; color: #c0392b; background: #fff5f4; }
.admin-tool-form { display: inline-flex; margin: 0; }
.admin-item-tools { display: flex; gap: 6px; margin-top: 10px; grid-column: 1 / -1; }
.admin-wrap { display: flex; flex-direction: column; }
.admin-wrap > .case-card { flex: 1; }

.section { padding-block: 80px; }
.section--tint { background: var(--bg-2); }
.section--tint-2 { background: var(--bg-3); }
.section--tight { padding-block: 60px; }

.section-head { position: relative; margin-bottom: 50px; }
.section-head__title {
  font-size: 26px; line-height: 30px; font-weight: 700; color: var(--ink);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head__rule {
  position: absolute; left: 0; top: 46px;
  width: 50px; height: 2px; background: var(--blue);
}
.section-head__sub { margin-top: 8px; font-size: 14px; line-height: 22px; color: var(--muted); }

.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(100deg, var(--blue) 0%, var(--blue-dark) 60%, var(--blue) 100%);
}
.cta-band__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  min-height: 197px;
}
.cta-band__text { display: flex; flex-direction: column; gap: 6px; padding-block: 34px; }
.cta-band__text h2 { font-size: 30px; line-height: 38px; font-weight: 700; color: #fff; }
.cta-band__text h2 span { font-weight: 300; }
.cta-band__text p { font-size: 17px; line-height: 26px; color: #fff; }
.cta-band__actions { display: flex; align-items: center; gap: 15px; margin-top: 10px; flex-wrap: wrap; }
.cta-band__phone {
  font-size: 32px; font-weight: 700; letter-spacing: 1px;
  color: #fff; text-decoration: none;
}
.cta-band__phone:hover { color: #fff; text-decoration: underline; }
.cta-band__or { font-size: 16px; color: #fff; }
.cta-band__actions .btn { height: 42px; }
.cta-band__media {
  position: absolute; right: 0; top: 0; bottom: 0;
  width: 460px;
}
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.cta-band__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, #1d3f86 0%, rgba(29, 63, 134, .55) 45%, rgba(29, 63, 134, .15) 100%);
}

.footer {
  position: relative;
  background: linear-gradient(160deg, var(--dark) 0%, #0f2041 55%, #0b1833 100%);
  color: var(--muted-2);
}
.footer__inner { display: flex; flex-direction: column; padding-top: 0; }
.footer__cta {
  display: flex; justify-content: center;
  padding-top: 35px;
  border-top: 4px solid var(--orange);
}
.footer__book { height: 45px; padding: 0 40px; font-size: 18px; font-weight: 900; }

.footer__nav {
  display: flex; justify-content: center; flex-wrap: wrap;
  margin-top: 35px; padding-bottom: 15px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__nav a {
  padding: 0 16px;
  font-size: 14px; line-height: 45px;
  color: var(--orange); text-decoration: none;
}
.footer__nav a:hover { color: #fff; }

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 50px;
  padding-bottom: 50px;
  align-items: start;
}
.footer__logo { --m-display: inline-flex; display: inline-flex; padding: 4px; background: #fff; border-radius: 50%; }
.footer__col--brand .footer__logo { margin-bottom: 14px; }
.footer__title {
  margin-bottom: 10px; padding-bottom: 15px;
  border-bottom: 1px solid var(--line-dark);
  font-size: 16px; line-height: 26px; font-weight: 700; color: #fff;
}
.footer__info li { font-size: 14px; line-height: 26px; }
.footer__links a { font-size: 14px; line-height: 30px; color: var(--muted-2); text-decoration: none; }
.footer__links a:hover { color: var(--orange); }
.footer__recent li { padding-bottom: 9px; margin-bottom: 9px; border-bottom: 1px solid var(--line-dark); }
.footer__recent li:last-child { border-bottom: none; }
.footer__recent a { font-size: 14px; line-height: 20px; color: var(--muted-2); text-decoration: none; }
.footer__recent a:hover { color: var(--orange); }
.footer__recent p { margin-top: 4px; font-size: 13px; color: #8a8a8a; }
.footer__channel li { display: flex; gap: 10px; align-items: center; padding: 5px 0; font-size: 14px; line-height: 24px; }
.footer__channel a { color: var(--muted-2); text-decoration: none; }
.footer__channel a:hover { color: var(--orange); }
.footer__channel .is-kakao svg { color: var(--kakao); }
.footer__kakao { margin-top: 12px; height: 40px; padding: 0 18px; font-size: 14px; }

.copyright { background: var(--darker); }
.copyright__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
  min-height: 80px;
  font-size: 13px; color: #8a8a8a;
}

.floating {
  position: fixed; right: 30px; bottom: 30px; z-index: 40;
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.floating__phone {
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--orange); color: var(--on-orange);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
  text-decoration: none;
}
.floating__kakao {
  display: inline-flex; align-items: center; gap: 10px;
  height: 56px; padding: 0 22px 0 18px;
  border-radius: 28px;
  background: var(--kakao); color: var(--kakao-ink);
  font-size: 16px; font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .2);
}
.floating__kakao span { font-size: 12px; font-weight: 500; opacity: .75; }

.mbar {
  --m-display: flex;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: flex; gap: 8px;
  height: var(--mbar-h);
  padding: 8px 16px;
  padding-bottom: max(8px, env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}
.mbar .btn { flex: 1; height: 48px; border-radius: 6px; font-size: 15px; padding: 0 10px; }

.widget { margin-bottom: 30px; }
.widget__title {
  position: relative;
  margin-bottom: 24px; padding-bottom: 11px;
  border-bottom: 1px solid var(--line);
  font-size: 16px; line-height: 29px; font-weight: 700; color: #000;
}
.widget__title::after {
  content: ""; position: absolute; left: 0; bottom: -1px;
  width: 50px; height: 2px; background: var(--blue);
}
.widget__menu a {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; line-height: 36px; font-weight: 500;
  color: var(--ink-4); text-decoration: none;
}
.widget__menu a svg { color: #999; }
.widget__menu a:hover { color: var(--blue); }
.widget__menu a.is-active { color: var(--blue); font-weight: 700; }
.widget__menu a.is-active svg { color: var(--blue); }

.call-box {
  display: flex; flex-direction: column; gap: 10px;
  padding: 20px;
  background: var(--bg-2); border: 1px solid var(--line-2);
}
.call-box__phone { font-size: 22px; font-weight: 900; color: var(--ink); }
.call-box p { font-size: 13px; line-height: 22px; color: var(--muted); }
.call-box .btn { height: 40px; font-size: 14px; }

.mini-list li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.mini-list li:last-child { margin-bottom: 0; }
.mini-list img { width: 96px; height: 72px; flex: none; object-fit: cover; }
.mini-list h3 { font-size: 13px; line-height: 20px; font-weight: 700; color: #000; }
.mini-list span { font-size: 12px; color: var(--muted); }

.search-form {
  display: flex; align-items: center;
  height: 45px;
  border: 1px solid #e9e9e9;
  background: #fff;
}
.search-form input {
  flex: 1; min-width: 0;
  height: 43px;
  padding-left: 16px;
  border: none; outline: none;
  font-size: 14px; color: var(--ink-3);
  background: transparent;
}
.search-form button {
  display: flex; align-items: center;
  padding: 0 16px 0 10px;
  border: none; background: none; color: #b8b7b7;
  cursor: pointer;
}
.search-form button:hover { color: var(--blue); }

.search-bar { --m-display: flex; display: flex; gap: 0; background: var(--bg-2); padding: 20px; }
.search-bar input {
  flex: 1; min-width: 0; height: 46px;
  padding: 0 20px;
  border: 1px solid #e9e9e9; background: #fff;
  font-size: 15px; outline: none;
}
.search-bar .btn { height: 46px; padding: 0 30px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-block;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--bg-4);
  font-size: 13px; line-height: 34px;
  color: #787878; text-decoration: none;
}
.chip:hover { color: var(--blue); border-color: var(--blue); }

.tabs { border-bottom: 1px solid var(--line); margin-bottom: 34px; }
.tabs__track { display: flex; justify-content: center; flex-wrap: wrap; }
.tabs__item {
  position: relative;
  display: inline-block;
  padding: 0 18px;
  font-size: 14px; line-height: 46px; font-weight: 500;
  color: #777; text-decoration: none;
  white-space: nowrap;
}
.tabs__item:hover { color: var(--blue); }
.tabs__item.is-active { color: var(--blue); font-weight: 700; }
.tabs__item.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 2px; background: var(--blue);
}

.pagination { display: flex; justify-content: center; gap: 10px; margin-top: 50px; }
.pagination__num,
.pagination__next,
.pagination__arrow {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px; color: var(--muted); text-decoration: none;
}
.pagination__num:hover,
.pagination__next:hover,
.pagination__arrow:hover { border-color: var(--blue); color: var(--blue); }
.pagination__num.is-current { background: var(--blue); border-color: var(--blue); color: #fff; }

.post-card {
  display: grid;
  grid-template-columns: 285px minmax(0, 1fr);
  align-items: start;
}
.post-card__media { grid-area: 1 / 1; display: block; }
.post-card__media img { width: 100%; aspect-ratio: 285 / 210; object-fit: cover; }
.post-card__body {
  grid-area: 1 / 2;
  padding: 18px 22px;
  background: var(--bg-3);
  border-top: 4px solid var(--blue);
}
.post-card__cat { display: inline-block; margin-bottom: 8px; font-size: 12px; font-weight: 700; color: var(--blue); }
.post-card__title { font-size: 16px; line-height: 24px; font-weight: 700; color: #000; }
.post-card__title a { color: inherit; text-decoration: none; }
.post-card__title a:hover { color: var(--blue); }
.post-card__sum { margin-top: 10px; font-size: 14px; line-height: 24px; color: var(--muted); }

.post-card__meta { display: contents; }
.post-card__date {
  grid-area: 2 / 1;
  padding: 11px 0;
  font-size: 18px; line-height: 26px; font-weight: 700;
  color: var(--blue); text-align: center;
}
.post-card__more {
  grid-area: 2 / 2;
  padding: 10px 22px;
  background: var(--bg-3);
  border-top: 1px solid #dcdbdb;
  font-size: 13px; color: var(--blue);
  text-align: center; text-decoration: none;
}
.post-card__more:hover { color: var(--blue-dark); }

/* 세부항목 페이지 글 카드 — 모든 폭에서 세로형(사진 위·파란 윗줄·아래 줄에 날짜/자세히 보기).
   767px 이하 블록의 .post-card 세로형 규칙과 선언이 같다. 한쪽을 고치면 다른 쪽도 같이 고칠 것
   (미디어쿼리 때문에 한 블록으로 합칠 수 없다). */
.card-grid--posts-v .post-card { display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--line-2); }
.card-grid--posts-v .post-card__media img { aspect-ratio: 356 / 190; }
.card-grid--posts-v .post-card__body { padding: 14px 16px 0; background: #fff; border-top: 3px solid var(--blue); }
.card-grid--posts-v .post-card__title { font-size: 16px; }
.card-grid--posts-v .post-card__sum { font-size: 13px; line-height: 20px; margin-top: 6px; }
.card-grid--posts-v .post-card__meta {
  display: flex; justify-content: space-between; align-items: center;
  margin: 10px 16px 16px;
  padding-top: 10px;
  border-top: 1px solid #ececec;
}
.card-grid--posts-v .post-card__date { padding: 0; font-size: 12px; font-weight: 400; color: var(--muted); text-align: left; }
.card-grid--posts-v .post-card__more { padding: 0; border: none; background: none; font-size: 12px; font-weight: 700; }
.item-posts__head + .card-grid { margin-top: 24px; }

.case-card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line-2);
  text-decoration: none;
}
.case-card:hover { border-color: var(--blue); }
.case-card img { width: 100%; aspect-ratio: 368 / 260; object-fit: cover; }
.case-card__body { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 20px; }
.case-card__cat { font-size: 12px; font-weight: 700; color: var(--blue); }
.case-card__title { font-size: 16px; line-height: 24px; font-weight: 700; color: #222; }
.case-card__sum { font-size: 13px; line-height: 20px; color: var(--muted); }

.card-grid { display: grid; gap: 30px; }
.card-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card-grid--posts { gap: 40px 30px; }

.inline-cta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg-2); border: 1px solid var(--line-2);
}
.inline-cta h2 { font-size: 18px; line-height: 26px; font-weight: 700; color: var(--ink); }
.inline-cta p { margin-top: 4px; font-size: 13px; line-height: 22px; color: var(--muted); }
.inline-cta__actions { display: flex; gap: 10px; flex: none; }
.inline-cta__actions .btn { height: 42px; }

.hero { position: relative; overflow: hidden; background: #0f0f0f; }
.hero__slides { position: relative; height: 690px; }

.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .4s ease; }
.hero__slide.is-active { opacity: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10, 10, 10, .82) 0%, rgba(10, 10, 10, .55) 55%, rgba(10, 10, 10, .25) 100%);
}
.hero__body {
  position: absolute; inset: 0;
  display: flex; align-items: center;
}
.hero__text { max-width: 560px; display: flex; flex-direction: column; }
.hero__eyebrow { margin-bottom: 14px; font-size: 14px; font-weight: 700; color: #ffe680; letter-spacing: 1px; }
.hero__title { font-size: 46px; line-height: 60px; font-weight: 900; color: #fff; }
.hero__title span { color: var(--orange); }
.hero__rule { width: 190px; height: 2px; background: #fff; margin: 26px 0; }
.hero__desc { margin-bottom: 28px; font-size: 16px; line-height: 27px; color: #fff; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; gap: 10px; }
.hero__dots button {
  width: 10px; height: 10px; padding: 0;
  border: none; border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  cursor: pointer;
}
.hero__dots button.is-active { background: #fff; }
.hero__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 30px; height: 110px;
  padding: 0; border: none;
  background: rgba(0, 0, 0, .45); color: #fff;
  cursor: pointer;
}
.hero__nav--prev { left: 0; }
.hero__nav--next { right: 0; }

.callout {
  background: var(--orange); color: var(--on-orange);
  text-align: center;
}
.callout__inner { min-height: 125px; display: flex; align-items: center; justify-content: center; }
.callout p { font-size: 26px; font-weight: 300; }
.callout b { font-weight: 700; }
.callout a { color: var(--on-orange); text-decoration: none; }
.callout a:hover { text-decoration: underline; }
.callout__area { font-weight: 300; }

.svc-pick { display: flex; gap: 30px; align-items: flex-start; }
.svc-pick__list { width: 270px; flex: none; }
.svc-pick__list li {
  position: relative;
  border: 1px solid #e4e4e4;
  border-top: 0;
  background: #fff;
}
.svc-pick__list li:first-child { border-top: 1px solid #e4e4e4; }
.svc-pick__list a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px;
  font-size: 15px; line-height: 52px; font-weight: 500;
  color: var(--ink-3); text-decoration: none;
}
.svc-pick__list a svg { color: #bbb; }
.svc-pick__list li.is-active { background: var(--bg-2); }
.svc-pick__list li.is-active a { color: var(--blue); font-weight: 700; }
.svc-pick__list li.is-active a svg { color: var(--blue); }
.svc-pick__list li.is-active::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px;
  width: 6px; background: var(--blue);
}
.svc-pick__panel { flex: 1; min-width: 0; display: flex; gap: 30px; align-items: flex-start; }
.svc-pick__media { width: 520px; flex: none; }
.svc-pick__media img { width: 100%; aspect-ratio: 520 / 312; object-fit: cover; }
.svc-pick__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.svc-pick__text h3 { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--ink); }
.svc-pick__text p { font-size: 15px; line-height: 27px; color: var(--ink-4); }
.svc-pick__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.svc-pick__tags span {
  padding: 0 12px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 12px; line-height: 28px; color: var(--ink-3);
}
.svc-pick__actions { display: flex; gap: 10px; margin-top: 8px; }
.svc-pick__actions .btn { height: 40px; font-size: 14px; }

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item {
  flex: none; width: 270px;
  scroll-snap-align: start;
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2);
}
.carousel__item img { width: 100%; aspect-ratio: 268 / 170; object-fit: cover; }
.carousel__item div { padding: 14px 16px 16px; }
.carousel__item b { display: block; margin-bottom: 4px; font-size: 15px; color: #222; }
.carousel__item span { font-size: 13px; line-height: 19px; color: var(--muted); }
.carousel__nav {
  position: absolute; top: 118px;
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid #ddd; border-radius: 50%;
  background: #fff; color: var(--ink-2);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  cursor: pointer;
}
.carousel__nav--prev { left: -22px; }
.carousel__nav--next { right: -22px; }
.carousel__dots { display: flex; justify-content: center; gap: 8px; margin-top: 22px; }
.carousel__dots button {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 4px;
  background: #d5d5d5;
  cursor: pointer;
}
.carousel__dots button.is-active { width: 22px; background: var(--blue); }

.jstabs__panel[hidden] { display: none; }

.svc {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  column-gap: 30px;
  align-items: start;
}
.svc__side { grid-column: 1; min-width: 0; }
.svc__main { grid-column: 2; min-width: 0; }

.svc__intro img { width: 100%; aspect-ratio: 770 / 330; object-fit: cover; }
.svc__intro h2 { margin-top: 24px; font-size: 28px; line-height: 36px; font-weight: 700; color: var(--ink); }
.svc__intro p { margin-top: 12px; font-size: 15px; line-height: 27px; color: var(--ink-4); }

.svc__needs { margin-top: 30px; }
.svc__needs h2 { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.svc__needs ul {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 24px;
  margin-top: 12px;
}
.svc__needs li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 26px; color: var(--ink-3); }
.svc__needs svg { margin-top: 5px; color: var(--blue); }

.svc-block {
  display: grid;
  grid-template-columns: 370px minmax(0, 1fr);
  gap: 30px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line-2);
}

.svc-block:nth-child(even) .svc-block__media { order: 2; }
.svc-block__media { display: flex; flex-direction: column; gap: 10px; }
.svc-block__media img { width: 100%; aspect-ratio: 370 / 230; object-fit: cover; }
.svc-block__media .btn { height: 38px; font-size: 14px; }
.svc-block__text { display: flex; flex-direction: column; gap: 12px; }
.svc-block__text h2 { font-size: 22px; line-height: 30px; font-weight: 700; color: var(--ink); }
.svc-block__text > p { font-size: 15px; line-height: 26px; color: var(--ink-4); }
.svc-block__features li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 26px; color: var(--ink-3); }
.svc-block__features svg { margin-top: 5px; color: var(--blue); }
.svc-block__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 2px; font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none; }
.svc-block__more:hover { color: var(--blue-dark); }
.svc-block__blog { border: 1px solid #d2d9e8; }
.svc-block__blog-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 14px;
  background: #eef1f7;
  font-size: 13px; color: var(--ink-3);
}
.svc-block__blog-head b { font-size: 14px; color: var(--blue); }
.svc-block__blog-head a { color: var(--ink-4); text-decoration: none; }
.svc-block__blog-head a:hover { color: var(--blue); }
.svc-block__link {
  display: block;
  padding: 12px 14px;
  border-top: 1px solid var(--line-2);
  font-size: 14px; color: var(--blue); text-decoration: none;
}
.svc-block__link:hover { color: var(--blue-dark); background: var(--bg-2); }
.svc-post {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px;
  border-top: 1px solid var(--line-2);
  color: inherit; text-decoration: none;
}
.svc-post img { flex: none; width: 140px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.svc-post div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.svc-post h3 { font-size: 16px; line-height: 24px; font-weight: 700; color: var(--ink); }
.svc-post p {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 13px; line-height: 20px; color: var(--ink-4);
}
.svc-post__more { display: inline-flex; align-items: center; gap: 2px; margin-top: 2px; font-size: 13px; font-weight: 700; color: var(--blue); }
.svc-post:hover { background: var(--bg-2); }
.svc-post:hover h3 { color: var(--blue); }

/* 항목 안내는 서비스 페이지 .svc__intro 와 같은 모양 — 아래 블로그 영역과의 간격·특징 목록 간격만 더한다. */
.svc--item .svc__intro { margin-bottom: 40px; }
.svc--item .svc__intro .svc-block__features { margin-top: 16px; }
.item-posts__head { display: flex; align-items: baseline; gap: 10px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.item-posts__head h2 { font-size: 24px; line-height: 32px; font-weight: 700; color: var(--ink); }
.item-posts__head span { font-size: 14px; color: var(--muted); }
.item-posts__empty { padding: 40px 0; font-size: 15px; color: var(--ink-4); }
.item-posts__empty a { margin-left: 6px; color: var(--blue); }
.svc__cta { margin-top: 30px; }

.sublist li {
  position: relative;
  border: 1px solid #e4e4e4;
  border-top: 0;
  background: #fff;
  padding: 0 20px;
  font-size: 16px; line-height: 52px; font-weight: 500;
  color: var(--ink-3);
}
.sublist li:first-child { border-top: 1px solid #e4e4e4; }
.sublist a { display: block; margin: 0 -20px; padding: 0 20px; color: inherit; text-decoration: none; }
.sublist a:hover { color: var(--blue); }
.sublist li.is-active { background: var(--bg-2); color: var(--blue); font-weight: 700; }
.sublist li.is-active::before {
  content: ""; position: absolute; left: -1px; top: -1px; bottom: -1px;
  width: 6px; background: var(--blue);
}

.about-intro { display: flex; gap: 30px; align-items: flex-start; }
.about-intro__text { flex: 1; min-width: 0; }
.about-intro__text > p { font-size: 15px; line-height: 27px; color: var(--ink-4); }
.about-intro__media { width: 470px; flex: none; }
.about-intro__media img { width: 100%; aspect-ratio: 470 / 265; object-fit: cover; }
.about-checks {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 30px;
  margin-top: 24px;
}
.about-checks li { display: flex; gap: 10px; align-items: center; font-size: 14px; line-height: 35px; color: var(--ink-4); }
.about-checks svg { color: var(--blue); }

.about-features { display: flex; gap: 30px; align-items: flex-start; }
.about-features__media { width: 505px; flex: none; }
.about-features__media img { width: 100%; aspect-ratio: 505 / 401; object-fit: cover; }
.about-features__grid {
  flex: 1; min-width: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 30px;
}
.about-features__item { display: flex; gap: 20px; align-items: flex-start; }
.about-features__item svg { color: var(--blue); }
.about-features__item h3 { font-size: 16px; line-height: 26px; font-weight: 700; color: var(--ink); }
.about-features__item p { margin-top: 4px; font-size: 14px; line-height: 24px; color: var(--muted); }

.branches { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
.branch { display: flex; flex-direction: column; border: 1px solid var(--line-2); background: #fff; }
.branch__info { padding: 22px 24px; }
.branch__info h3 { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.branch__info ul { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.branch__info li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 24px; color: var(--ink-3); }
.branch__info li svg { flex: none; margin-top: 4px; color: var(--blue); }
.branch__info a { color: inherit; text-decoration: none; }
.branch__info a:hover { color: var(--blue); }
.branch__map { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; background: var(--bg-3); }
.branch__link {
  display: flex; align-items: center; justify-content: flex-end; gap: 2px;
  padding: 12px 24px;
  border-top: 1px solid var(--line-2);
  font-size: 14px; font-weight: 700; color: var(--blue); text-decoration: none;
}
.branch__link:hover { color: var(--blue-dark); }

.price-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line-3);
  text-align: center;
  padding-bottom: 30px;
  background: #fff;
}
.price-card__head { font-size: 16px; line-height: 50px; font-weight: 700; color: #fff; background: var(--dark); }
.price-card__price { font-size: 16px; line-height: 69px; color: #fff; }
.price-card__price b { font-size: 30px; font-weight: 700; }
.price-card--blue   .price-card__price { background: var(--blue); }
.price-card--orange .price-card__price { background: var(--orange); color: var(--on-orange); }
.price-card--gold   .price-card__price { background: #d9a400; }
.price-card--green  .price-card__price { background: #5fae3f; }
.price-card__items li { font-size: 14px; line-height: 50px; color: var(--ink-4); border-bottom: 1px solid var(--line-3); }
.price-card .btn { margin: 30px auto 0; }

.qa-list li { margin-bottom: 20px; }
.qa-list h3 { font-size: 16px; line-height: 26px; font-weight: 700; color: var(--ink); }
.qa-list p { margin-top: 8px; font-size: 14px; line-height: 26px; color: var(--muted); }

.accordion { margin-top: 40px; }
.acc-item { margin-top: 14px; }
.acc-head {
  display: flex;
  border: 1px solid #e9e9e9;
  background: #fff;
  cursor: pointer;
  list-style: none;
}
.acc-head::-webkit-details-marker { display: none; }
.acc-head span {
  flex: 1;
  padding: 13px 16px;
  font-size: 15px; line-height: 22px; font-weight: 500; color: #444;
}
.acc-head i {
  display: flex; align-items: center; justify-content: center;
  width: 46px; flex: none;
  border-left: 1px solid #e9e9e9;
  background: var(--bg-2); color: #7d7d7d;
}
.acc-item[open] .acc-head span { color: var(--blue); }
.acc-icon-open { display: none; }
.acc-item[open] .acc-icon-open { display: block; }
.acc-item[open] .acc-icon-closed { display: none; }
.acc-body {
  padding: 22px 16px 26px;
  border: 1px solid #e9e9e9;
  border-top: 0;
  font-size: 14px; line-height: 25px; color: var(--ink-3);
}

/* 홈 후기 슬라이드. JS 가 없어도 옆으로 밀어서 볼 수 있고, JS 가 있으면 한 화면씩 자동으로 넘긴다.
   위쪽 여백은 사진 자리(.review-card__avatar)가 카드 위로 15px 튀어나와서다 — 없으면 overflow 에 잘린다. */
.reviews-slider__track {
  display: flex; gap: 30px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-top: 15px;
}
.reviews-slider__track::-webkit-scrollbar { display: none; }
.reviews-slider .review-card {
  flex: none; width: calc((100% - 30px) / 2);
  scroll-snap-align: start;
}
.reviews-slider .review-card__body p { font-size: 17px; line-height: 30px; color: var(--ink-3); }
.reviews-slider__controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 26px; }
.reviews-slider__controls[hidden] { display: none; }
.reviews-slider__nav {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  padding: 0;
  border: 1px solid #ddd; border-radius: 50%;
  background: #fff; color: var(--ink-2);
  cursor: pointer;
}
.reviews-slider__dots { display: flex; gap: 8px; }
.reviews-slider__dots button {
  width: 8px; height: 8px; padding: 0;
  border: none; border-radius: 4px;
  background: #d5d5d5;
  cursor: pointer;
}
.reviews-slider__dots button.is-active { width: 22px; background: var(--blue); }

.review-card {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 0 20px;
  padding: 0 25px 20px 15px;
  background: #f7f7f7;
}
.review-card__avatar {
  grid-area: 1 / 1;
  width: 123px; height: 160px;
  margin-top: -15px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  border-radius: 0;
  background: #dde5ea;
  color: #7f8f99;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
}
.review-card__who {
  grid-area: 2 / 1;
  margin-top: 12px;
  font-size: 14px; line-height: 22px; font-weight: 700; color: #312f3e;
  text-align: center;
}
.review-card__who span { display: block; font-size: 12px; font-weight: 400; color: var(--muted); }
.review-card__body {
  grid-area: 1 / 2 / span 2;
  margin-top: 15px;
  padding: 20px 0 0 20px;
  border-top: 2px solid var(--orange);
}
.review-card__body svg { color: var(--blue); margin-bottom: 8px; }
.review-card__body p { font-size: 14px; line-height: 26px; color: var(--muted); }

.post-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}
.faq-layout,
.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 80px;
  align-items: start;
}
.post-tail { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }

.post-head { display: flex; gap: 24px; align-items: flex-start; }
.post-head__date {
  width: 70px; height: 70px; flex: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  color: var(--blue); font-weight: 700;
}
.post-head__date b { font-size: 20px; line-height: 24px; }
.post-head__date span { font-size: 12px; }
.post-head__cat { font-size: 12px; font-weight: 700; color: var(--blue); }
.post-head__cat a { color: inherit; }
.post-head__cat a:hover { text-decoration: underline; }
.post-head h2 { margin-top: 4px; font-size: 26px; line-height: 34px; font-weight: 700; color: var(--ink); }
.post-head__meta { display: flex; gap: 10px; margin-top: 6px; font-size: 13px; color: #bbb; }
.post-body { display: flex; flex-direction: column; gap: 24px; }
.post-body__hero { width: 100%; aspect-ratio: 770 / 330; object-fit: cover; }

.post-body__html { font-size: 16px; line-height: 1.9; color: var(--ink-2); }
.post-body__html p { margin: 0 0 18px; }
.post-body__html h2 { font-size: 22px; font-weight: 700; color: var(--ink); margin: 34px 0 12px; }
.post-body__html h3 { font-size: 18px; font-weight: 700; color: var(--ink); margin: 28px 0 10px; }
.post-body__html h4 { font-size: 16px; font-weight: 700; color: var(--ink); margin: 22px 0 8px; }
.post-body__html ul, .post-body__html ol { margin: 0 0 18px 20px; }
.post-body__html li { margin-bottom: 6px; }
.post-body__html blockquote { margin: 0 0 18px; padding: 14px 18px; background: var(--bg-2); border-left: 3px solid var(--orange); }
.post-body__html img, .post-body__html video { max-width: 100%; height: auto; display: block; margin: 18px 0; }
.post-body__html iframe.yt { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; margin: 18px 0; display: block; }
/* 에디터에서 고른 동영상·유튜브 폭. 클래스가 없으면(꽉 차게) 위 규칙 그대로다. 허용하는 클래스는
   includes/html.php 의 html_clean_media_classes() 이고, 에디터 편집 영역 미리보기는 admin/includes/editor.php 에 같은 값이 있다. */
.post-body__html video.media-s, .post-body__html iframe.media-s { width: 40%; margin-left: auto; margin-right: auto; }
.post-body__html video.media-m, .post-body__html iframe.media-m { width: 60%; margin-left: auto; margin-right: auto; }
.post-body__html video.media-l, .post-body__html iframe.media-l { width: 80%; margin-left: auto; margin-right: auto; }
.post-body__html table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.post-body__html th, .post-body__html td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.post-body__html th { background: var(--bg-2); font-weight: 700; }

.post-regions { padding: 28px 30px; background: var(--bg-2); border: 1px solid var(--line-2); }
.post-regions h2 { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--ink); }
.post-regions__group { margin-top: 20px; }
.post-regions h3 {
  padding-bottom: 6px; border-bottom: 2px solid var(--orange);
  font-size: 15px; line-height: 22px; font-weight: 700; color: var(--ink);
}
.post-regions ul { margin-top: 10px; columns: 3; column-gap: 20px; }
.post-regions li { break-inside: avoid; font-size: 13px; line-height: 26px; color: var(--ink-3); }

.related-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line-2);
  text-decoration: none;
}
.related-card img { width: 100%; aspect-ratio: 370 / 200; object-fit: cover; }
.related-card > div { padding: 16px 20px 14px; border-top: 4px solid var(--blue); background: var(--bg-3); }
.related-card span { font-size: 12px; font-weight: 700; color: var(--blue); }
.related-card h3 { margin-top: 4px; font-size: 16px; line-height: 24px; font-weight: 700; color: #000; }
.related-card p { margin-top: 6px; font-size: 13px; line-height: 22px; color: var(--muted); }
.related-card__meta {
  display: flex; justify-content: space-between;
  margin-top: 12px; padding-top: 10px;
  border-top: 1px solid #dcdbdb;
  font-size: 12px; color: var(--muted);
}

.result { display: flex; gap: 30px; align-items: flex-start; padding: 36px 0; border-bottom: 1px solid var(--line); }
.result:first-child { padding-top: 0; }
.result__media { width: 173px; height: 130px; flex: none; background: #f1f1f1; }
.result__media img { width: 100%; height: 100%; object-fit: cover; }
.result__kind { font-size: 13px; color: #c0c0c0; }
.result h2 { font-size: 16px; line-height: 26px; font-weight: 700; color: var(--ink); }
.result h2 a { color: inherit; text-decoration: none; }
.result h2 a:hover { color: var(--blue); }
.result p { margin: 6px 0; font-size: 14px; line-height: 24px; color: var(--muted); }
.result__url { font-size: 13px; color: var(--blue); text-decoration: none; }

.notfound {
  display: flex; flex-direction: column; gap: 14px;
  padding: 70px 80px;
  background: linear-gradient(120deg, #e6e6e6 0%, #f2f2f2 50%, #e9e9e9 100%);
}
.notfound__title { max-width: 760px; font-size: 36px; line-height: 46px; font-weight: 900; color: var(--ink); }
.notfound__desc { max-width: 760px; font-size: 15px; line-height: 26px; color: #6c6c6c; }
.notfound__search { display: flex; gap: 0; }
.notfound__search input {
  width: 520px; max-width: 100%; height: 44px;
  padding: 0 15px;
  border: 1px solid var(--line); background: #fff;
  font-size: 14px; outline: none;
}
.notfound__search .btn { height: 44px; padding: 0 28px; }
.notfound__tips { display: flex; flex-direction: column; gap: 2px; }
.notfound__tips li { display: flex; gap: 8px; align-items: center; font-size: 13px; line-height: 22px; color: var(--muted); }
.notfound__actions { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.notfound__actions .btn { height: 42px; }

.contact { display: flex; gap: 30px; align-items: flex-start; }
.contact__form { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; gap: 30px; }
.field > * { flex: 1; min-width: 0; }
.input, .select, .textarea {
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border: 1px solid #e9e9e9;
  background: #f8f8f8;
  font-size: 15px;
  outline: none;
}
.textarea { height: 180px; padding: 15px 20px; resize: vertical; }
.input:focus, .select:focus, .textarea:focus { border-color: var(--blue); background: #fff; }
.input.has-error, .textarea.has-error { border-color: #c62828; background: #fff7f7; }
.field-error { margin-top: 6px; font-size: 13px; color: #c62828; }
.agree { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.contact__side {
  width: 370px; flex: none;
  display: flex; flex-direction: column; gap: 18px;
  padding: 28px;
  border: 1px solid var(--line-2); background: var(--bg-2);
}
.contact__side h2 { font-size: 18px; line-height: 26px; font-weight: 700; color: var(--ink); }
.channel { display: flex; gap: 12px; align-items: center; }
.channel svg { color: var(--blue); }
.channel--blue svg { color: var(--blue); }
.channel--kakao svg { color: #b89f00; }
.channel b { font-size: 16px; color: var(--ink); }
.channel b.is-big { font-size: 20px; }
.channel span { display: block; font-size: 13px; color: var(--muted); }
.contact__side .btn { height: 46px; }
.contact__note { font-size: 13px; line-height: 22px; color: var(--muted); }

.map-box {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  height: 440px;
  background: #e8ecef;
  background-image: linear-gradient(#d9dfe3 1px, transparent 1px), linear-gradient(90deg, #d9dfe3 1px, transparent 1px);
  background-size: 60px 60px;
  color: #7f8f99;
  font-size: 13px; font-weight: 700; letter-spacing: 1px;
  text-align: center;
  padding: 16px;
}
.map-wrap { display: flex; flex-direction: column; gap: 12px; margin-top: 60px; }
.map-wrap .contact__note { order: 2; }
.map-wrap .map-box { order: 1; }

.flash {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 20px;
  border: 1px solid #b7d7b9; background: #f2f9f2;
  color: #22632a; font-size: 15px;
}

@media (max-width: 1199px) {
  .container { padding-inline: 24px; }
  .hero__slides { height: 560px; }
  .hero__title { font-size: 38px; line-height: 50px; }
  .svc-pick__media { width: 380px; }
  .about-intro__media { width: 380px; }
  .about-features__media { width: 380px; }
  .carousel__nav--prev { left: 0; }
  .carousel__nav--next { right: 0; }
}

/* 2026-10-26: 메뉴 글씨를 24px 로 키우면서(메뉴 9칸이 1251px 폭부터 들어감) 1279px 이하에서 햄버거로 접었다.
   2026-11-11: 너무 크다는 피드백에 18px 로 줄여 지금은 1035px 폭부터 들어간다. 기준은 1279px 로 그대로 둬서
   1280px 에서 메뉴 오른쪽에 180px 남짓 여유가 있다. 1199px 로 낮추려면 app.js 의 1280 도 같이 바꾼다. */
@media (max-width: 1279px) {
  .gnb { display: none !important; }
  .header__actions { display: flex !important; }
}

@media (max-width: 1023px) {
  .card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--posts-v { grid-template-columns: 1fr; }

  .svc, .svc-pick, .svc-pick__panel,
  .post-layout, .faq-layout, .search-layout,
  .about-intro, .about-features, .contact { align-items: stretch; }

  .svc { display: flex; flex-direction: column; gap: 0; }
  .svc__side, .svc__main { display: contents; }
  .svc__intro { order: 1; }
  .svc__subs  { order: 2; margin-top: 30px; }
  .svc__body  { order: 3; }
  .svc__call  { order: 4; }
  .svc__cases { order: 5; }
  .svc--item .svc__subs { order: 4; }
  .svc--item .svc__call { order: 5; }
  .svc--page .svc__body { order: 1; }
  .svc--page .svc__subs { order: 2; }
  .svc--page .svc__call { order: 3; }

  .svc-block { grid-template-columns: 1fr; }
  .svc-block:nth-child(even) .svc-block__media { order: 0; }

  .svc-block__media { display: contents; }
  .svc-block__media img { order: 1; }
  .svc-block__text { order: 2; }
  .svc-block__actions { order: 3; display: flex; gap: 8px; }
  .svc-block__actions .btn { flex: 1; }

  .post-layout { display: flex; flex-direction: column; }
  .post-layout__main { order: 1; }
  .post-layout__side { order: 2; margin-top: 40px; }

  .contact { flex-direction: column; }
  .contact__side { width: 100%; }

  .about-intro, .about-features, .svc-pick { flex-direction: column; }
  .svc-pick__list, .svc-pick__media,
  .about-intro__media, .about-features__media { width: 100%; }
  .about-intro__media { order: -1; }
  .about-features__media { order: -1; }
  .svc-pick__panel { flex-direction: column; }

  .search-layout { display: flex; flex-direction: column; }
  .search-layout__main { order: 1; }
  .search-layout__side { order: 2; margin-top: 40px; }

  .faq-layout { display: flex; flex-direction: column; }
  .faq-layout__main { order: 1; }
  .faq-layout__side { order: 2; margin-top: 40px; }

  .cta-band__media { display: none; }
  .footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* 두 장이 나란히 들어가기엔 카드가 좁아져 큰 글씨가 몇 글자씩 끊긴다. */
  .reviews-slider .review-card { width: 100%; }
}

@media (max-width: 767px) {
  body { font-size: 14px; line-height: 22px; }

  .post-body__html video.media-s, .post-body__html iframe.media-s,
  .post-body__html video.media-m, .post-body__html iframe.media-m,
  .post-body__html video.media-l, .post-body__html iframe.media-l { width: 100%; }

  .container { padding-inline: 16px; }
  .pc-only { display: none !important; }
  .m-only { display: var(--m-display, block) !important; }

  body { padding-bottom: var(--mbar-h); }

  .topbar__inner { justify-content: center; min-height: 30px; }
  .topbar__note { font-size: 12px; }

  .header__inner { min-height: 60px; }
  .header { border-bottom-color: var(--line-2); }
  .header__logo img { width: 52px; height: 52px; }

  .page-banner__inner { min-height: 96px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
  .page-banner__title { font-size: 22px; line-height: 30px; }
  .page-banner::before { display: none; }
  .page-banner::after { right: -30px; top: -20px; width: 160px; height: 140px; transform: skewX(-18deg); }
  .breadcrumb { font-size: 12px; color: rgba(255, 255, 255, .85); }

  .section { padding-block: 24px; }
  .section--tight { padding-block: 24px; }
  .section-head { margin-bottom: 18px; }
  .section-head__title { font-size: 22px; line-height: 30px; padding-bottom: 0; border-bottom: none; }
  .section-head__rule { position: static; display: block; width: 36px; height: 3px; margin-top: 10px; }
  .section-head__sub { margin-top: 6px; font-size: 13px; line-height: 20px; }

  .btn { height: 48px; border-radius: 4px; }
  .btn--outline, .btn--ghost, .btn--sm { height: 44px; }

  .hero__slides { height: 560px; }
  .hero__shade { background: linear-gradient(180deg, rgba(10, 10, 10, .15) 0%, rgba(10, 10, 10, .55) 45%, rgba(10, 10, 10, .9) 100%); }
  .hero__body { align-items: flex-end; padding-bottom: 44px; }
  .hero__text { max-width: none; width: 100%; gap: 12px; }
  .hero__eyebrow { margin-bottom: 0; font-size: 12px; }
  .hero__title { font-size: 28px; line-height: 38px; }
  .hero__rule { display: none; }
  .hero__desc { margin-bottom: 0; font-size: 14px; line-height: 22px; }
  .hero__actions { flex-direction: column; gap: 10px; }
  .hero__actions .btn { width: 100%; }
  .hero__nav { display: none; }
  .hero__dots { bottom: 16px; gap: 8px; }
  .hero__dots button { width: 8px; height: 8px; }

  .callout__inner { flex-direction: column; gap: 2px; min-height: 0; padding-block: 16px; text-align: center; }
  .callout p { font-size: 13px; }
  .callout p b { display: block; font-size: 24px; line-height: 32px; letter-spacing: 1px; }
  .callout__area { display: block; font-size: 12px; opacity: .9; }

  .svc-pick { gap: 16px; }
  .svc-pick__list { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .svc-pick__list::-webkit-scrollbar { display: none; }
  .svc-pick__list li,
  .svc-pick__list li:first-child {
    flex: none;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
  }
  .svc-pick__list li.is-active { background: var(--blue); border-color: var(--blue); }
  .svc-pick__list li.is-active::before { display: none; }
  .svc-pick__list li.is-active a { color: #fff; }
  .svc-pick__list a { padding: 0 14px; font-size: 13px; line-height: 34px; white-space: nowrap; }
  .svc-pick__list a svg { display: none; }
  .svc-pick__media img { aspect-ratio: 358 / 180; border-radius: 4px; }
  .svc-pick__text h3 { font-size: 20px; line-height: 28px; }
  .svc-pick__text p { font-size: 14px; line-height: 22px; }
  .svc-pick__actions .btn { flex: 1; height: 42px; }

  .card-grid { gap: 12px; }
  .card-grid--posts { gap: 14px; }
  .card-grid--4, .card-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card-grid--1-m { grid-template-columns: 1fr; }

  .case-card img { aspect-ratio: 169 / 120; }
  .case-card__body { padding: 10px 12px 12px; gap: 2px; }
  .case-card__cat { font-size: 11px; }
  .case-card__title { font-size: 14px; line-height: 20px; }

  /* 아래 세로형 규칙은 모든 폭용 .card-grid--posts-v .post-card… 블록(.post-card__more:hover 뒤)과 같은 선언 — 같이 고칠 것 */
  .post-card { display: flex; flex-direction: column; align-items: stretch; border: 1px solid var(--line-2); }
  .post-card__media img { aspect-ratio: 356 / 190; }
  .post-card__body { padding: 14px 16px 0; background: #fff; border-top: 3px solid var(--blue); }
  .post-card__title { font-size: 16px; }
  .post-card__sum { font-size: 13px; line-height: 20px; margin-top: 6px; }
  .post-card__meta {
    display: flex; justify-content: space-between; align-items: center;
    margin: 10px 16px 16px;
    padding-top: 10px;
    border-top: 1px solid #ececec;
  }
  .post-card__date { padding: 0; font-size: 12px; font-weight: 400; color: var(--muted); text-align: left; }
  .post-card__more { padding: 0; border: none; background: none; font-size: 12px; font-weight: 700; }

  .tabs { border-bottom: none; margin-bottom: 16px; }
  .tabs__track {
    justify-content: flex-start; flex-wrap: nowrap;
    gap: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .tabs__track::-webkit-scrollbar { display: none; }
  .tabs__item {
    flex: none; scroll-snap-align: start;
    display: inline-flex; align-items: center;
    height: 36px; padding: 0 14px;
    border: 1px solid var(--line); border-radius: 18px;
    background: #fff;
    font-size: 13px; line-height: 1; color: var(--ink-3);
  }
  .tabs__item.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
  .tabs__item.is-active::after { display: none; }

  .carousel__track { gap: 12px; margin-inline: -16px; padding: 0 16px 4px; }
  .carousel__item { width: 220px; }
  .carousel__item img { aspect-ratio: 218 / 140; }
  .carousel__nav { display: none; }
  .carousel__dots { margin-top: 16px; gap: 6px; }
  .carousel__dots button { width: 6px; height: 6px; }
  .carousel__dots button.is-active { width: 18px; }

  .pagination { gap: 6px; margin-top: 24px; }
  .pagination__num, .pagination__next, .pagination__arrow {
    min-width: 36px; height: 36px; padding: 0 8px; font-size: 13px;
  }

  .svc__subs { margin-top: 20px; }
  .svc__intro img { aspect-ratio: 358 / 200; border-radius: 4px; }
  .svc__intro h2 { margin-top: 16px; font-size: 24px; line-height: 32px; }
  .svc__intro p { font-size: 14px; line-height: 22px; }
  .svc__needs { margin-top: 20px; padding: 14px 16px; background: var(--bg-2); border: 1px solid var(--line-2); }
  .svc__needs h2 { font-size: 15px; line-height: 22px; margin-bottom: 8px; }
  .svc__needs ul { grid-template-columns: 1fr; gap: 4px; margin-top: 0; }
  .svc__needs li { font-size: 13px; line-height: 21px; gap: 8px; }
  .svc-block { padding: 24px 0; gap: 12px; }
  .svc-block__media img { aspect-ratio: 358 / 180; border-radius: 4px; }
  .svc-block__text h2 { font-size: 18px; line-height: 26px; }
  .svc-block__features li { font-size: 13px; line-height: 22px; }
  .svc-block__actions .btn { height: 42px; font-size: 14px; }

  .sublist { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
  .sublist::-webkit-scrollbar { display: none; }
  .sublist li,
  .sublist li:first-child {
    flex: none;
    padding: 0 14px;
    border: 1px solid var(--line); border-radius: 18px;
    font-size: 15px; line-height: 38px;
    white-space: nowrap;
  }
  .sublist li.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }
  .sublist li.is-active::before { display: none; }

  .about-intro, .about-features { gap: 16px; }
  .branches { grid-template-columns: 1fr; gap: 16px; }
  .branch__info { padding: 16px; }
  .branch__info h3 { font-size: 17px; line-height: 24px; }
  .branch__info li { font-size: 14px; line-height: 22px; }
  .branch__link { padding: 10px 16px; }
  .svc-post { gap: 12px; padding: 12px; }
  .svc-post img { width: 104px; }
  .item-posts__head h2 { font-size: 20px; line-height: 28px; }
  .svc-post h3 { font-size: 15px; line-height: 22px; }
  .about-intro__media img { aspect-ratio: 358 / 200; border-radius: 4px; }
  .about-features__media img { aspect-ratio: 358 / 200; border-radius: 4px; }
  .about-checks { grid-template-columns: 1fr; margin-top: 16px; }
  .about-checks li { font-size: 13px; line-height: 28px; }
  .about-features__grid { gap: 10px; }
  .about-features__item { flex-direction: column; gap: 8px; padding: 14px; border: 1px solid var(--line-2); background: #fff; }
  .about-features__item h3 { font-size: 14px; line-height: 20px; }
  .about-features__item p { font-size: 12px; line-height: 19px; }

  .card-grid--price { grid-template-columns: 1fr; gap: 16px; }
  .price-card .btn { height: 38px; font-size: 14px; }
  .qa-list li { margin-bottom: 16px; }
  .qa-list h3 { font-size: 15px; line-height: 22px; }
  .qa-list p { font-size: 13px; line-height: 21px; }

  .accordion { margin-top: 24px; }
  .search-bar { padding: 0; background: none; gap: 0; }
  .search-bar input { height: 44px; font-size: 14px; padding: 0 14px; }
  .search-bar .btn { height: 44px; padding: 0 18px; }

  .review-card {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "body body" "avatar who";
    gap: 10px;
    padding: 16px;
    border-top: 2px solid var(--orange);
  }
  .review-card__body { grid-area: body; margin: 0; padding: 0; border-top: none; }
  .review-card__body p { font-size: 14px; line-height: 23px; }
  .reviews-slider .review-card__body p { font-size: 16px; line-height: 27px; }
  .review-card__avatar {
    grid-area: avatar;
    width: 40px; height: 40px;
    margin: 0;
    border-radius: 50%;
    background: #dfe6ea;
  }
  .review-card__avatar svg { width: 18px; height: 18px; }
  .review-card__avatar span { display: none; }
  .review-card__who {
    grid-area: who; align-self: center;
    margin: 0; text-align: left; font-size: 14px; color: var(--ink);
  }

  .post-body__hero { aspect-ratio: 358 / 200; border-radius: 4px; }
  .post-head { gap: 12px; }
  .post-head__date { display: none; }
  .post-head h2 { font-size: 22px; line-height: 30px; }
  .post-regions { padding: 18px 16px; }
  .post-regions h2 { font-size: 16px; line-height: 24px; }
  .post-regions ul { columns: 2; column-gap: 12px; }
  .post-regions li { font-size: 12px; line-height: 22px; }

  .related-card img { aspect-ratio: 356 / 190; }

  .post-tail__tags { order: 1; }
  .post-tail__cta { order: 2; }
  .post-tail__related { order: 3; }

  .inline-cta { flex-direction: column; align-items: stretch; gap: 10px; padding: 18px 16px; }
  .inline-cta h2 { font-size: 16px; line-height: 24px; }
  .inline-cta__actions { flex-direction: column; }
  .inline-cta__actions .btn { height: 48px; }

  .result { gap: 12px; padding: 14px 0; }
  .result:first-child { padding-top: 14px; }
  .result__media { width: 110px; height: 82px; }
  .result__kind { font-size: 11px; }
  .result h2 { font-size: 14px; line-height: 21px; }
  .result p { font-size: 12px; line-height: 18px; }

  .notfound { padding: 32px 20px; gap: 12px; }
  .notfound__title { font-size: 22px; line-height: 30px; }
  .notfound__desc { font-size: 13px; line-height: 21px; }
  .notfound__search input { width: 100%; height: 44px; }
  .notfound__tips li { font-size: 12px; line-height: 20px; gap: 6px; }
  .notfound__actions { flex-direction: column; gap: 8px; }
  .notfound__actions .btn { width: 100%; height: 48px; }

  .field { flex-direction: column; gap: 18px; }
  .input, .select { height: 48px; padding: 0 14px; font-size: 14px; }
  .textarea { height: 140px; padding: 12px 14px; font-size: 14px; }
  .contact__side { padding: 18px 16px; gap: 14px; }
  .contact__side .btn { height: 48px; }

  .contact__side .btn--primary { order: 1; }
  .contact__side .btn--kakao { order: 2; }
  .contact__note { order: 3; }
  .map-box { height: 200px; background-size: 40px 40px; }
  .map-wrap { margin-top: 24px; }
  .map-wrap .contact__note { font-size: 12px; line-height: 20px; }

  .footer__inner { gap: 22px; padding-top: 28px; }
  .footer__cta {
    justify-content: flex-start; align-items: flex-start;
    flex-direction: column; gap: 14px;
    padding-top: 22px;
    order: 1;
  }
  .footer__book { height: 44px; padding: 0 24px; font-size: 15px; }
  .footer__cols { order: 2; grid-template-columns: 1fr; gap: 22px; margin-top: 0; padding-bottom: 0; }
  .footer__nav { order: 3; justify-content: flex-start; margin-top: 0; padding: 10px 0; border-top: 1px solid var(--line-dark); border-bottom: none; }
  .footer__nav a { padding: 0 8px; font-size: 12px; line-height: 28px; }
  .footer__title { font-size: 14px; line-height: 22px; margin-bottom: 8px; padding-bottom: 8px; }
  .footer__info li { font-size: 13px; line-height: 24px; }
  .footer__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
  .footer__links a { font-size: 13px; line-height: 26px; }
  .footer__channel li { font-size: 13px; line-height: 22px; gap: 8px; padding: 3px 0; }
  .footer__logo { padding: 3px; }
  .footer__logo img { width: 64px; height: 64px; }

  .copyright { margin-top: 14px; }
  .copyright__inner { flex-direction: column; align-items: flex-start; gap: 2px; min-height: 0; padding-block: 14px; font-size: 11px; line-height: 18px; }
}

@media (max-width: 400px) {
  .carousel__item { width: 200px; }
  .result__media { width: 96px; height: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* 홈 영상 — 서비스 안내와 시공사례 사이. 제목 없이 영상 하나. */
.home-video__player { display: block; width: 100%; height: auto; max-height: 80vh; margin: 0 auto; background: #000; }
