/* drain24 v4 — 세라믹 타일 테마 (2026-10-25). 토큰·배치는 redesign/DESIGN.md. 글꼴은 기존 Pretendard. */
@font-face {
  font-family: "D24Pretendard";
  src: url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2-variations"),
       url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");
  font-weight: 45 930; font-style: normal; font-display: swap;
}
html:root {
  --font-family: "D24Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --font-numeric: "D24Pretendard", ui-monospace, Consolas, monospace;
}
html body { font-family: var(--font-family); }
:root {
  --t-white: #ffffff;
  --t-tile: #f4f7fa;
  --t-grout: #e2e8ef;
  --t-cobalt: #2243c8;
  --t-cobalt-ink: #1f3db8;
  --t-cobalt-deep: #1a33a3;
  --t-ink: #111b2b;
  --t-slate: #4b586a;
  --t-drop: #0fa3b1;
  --t-warn: #c2410c;
  --t-r-lg: 22px;
  --t-r: 14px;
}

/* ---------- 한국어 조판 (새 구조 전체) ---------- */
.d24h, .d24b { word-break: keep-all; overflow-wrap: anywhere; }
.d24h h1, .d24b h2, .d24b h3, .d24-side-card__title, .d24h__lead { text-wrap: balance; }
.d24b p, .d24b li { text-wrap: pretty; }
.d24b td, .d24b th, .d24h__slip dd, .d24-toc a { text-wrap: balance; }

/* ---------- 공통 버튼 ---------- */
.d24-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 54px; padding: 0 24px; border-radius: 14px;
  font-size: 16.5px; font-weight: 750; letter-spacing: -0.01em; line-height: 1.2;
  text-decoration: none !important; white-space: nowrap; transition: background-color .15s ease, box-shadow .15s ease;
}
.d24-btn--primary { background: var(--t-cobalt); color: #fff !important; }
.d24-btn--primary:hover { background: var(--t-cobalt-deep); }
.d24-btn--line { background: #fff; color: var(--t-cobalt-ink) !important; box-shadow: inset 0 0 0 1.5px #c9d3e0; }
.d24-btn--line:hover { box-shadow: inset 0 0 0 2px var(--t-cobalt); }
.d24-btn:focus-visible, .d24h a:focus-visible, .d24b a:focus-visible { outline: 3px solid var(--t-drop); outline-offset: 3px; }

/* ---------- 헤더 토큰 맞춤(구조는 그대로) ---------- */
.drain-header__photo-cta { background: var(--t-cobalt) !important; box-shadow: none !important; }
.drain-header__photo-cta:hover { background: var(--t-cobalt-deep) !important; }
main.site-content:has(> .d24h) { padding-top: 0 !important; }

/* ---------- 히어로: 타일 격자 바탕 ---------- */
.d24h {
  margin: 0; color: var(--t-ink);
  background-color: var(--t-tile);
  background-image:
    linear-gradient(var(--t-grout) 1px, transparent 1px),
    linear-gradient(90deg, var(--t-grout) 1px, transparent 1px);
  background-size: 56px 56px;
  background-position: -1px -1px;
  border-bottom: 1px solid var(--t-grout);
}
.d24h .d24h__band { padding: 0; background: none; }
.d24h .container.d24h__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 56px; align-items: center;
  max-width: 1200px; padding-top: 56px; padding-bottom: 64px;
}
.d24h__copy { background: rgba(244, 247, 250, .86); border-radius: var(--t-r-lg); padding: 8px 8px 8px 0; }
.d24h__crumb ol { display: flex; flex-wrap: wrap; gap: 4px 0; list-style: none; margin: 0 0 18px; padding: 0; font-size: 14px; }
.d24h__crumb li { color: var(--t-slate); }
.d24h__crumb li + li::before { content: "›"; margin: 0 9px; color: #9aa6b5; }
.d24h__crumb a { color: var(--t-slate); text-decoration: none; }
.d24h__crumb a:hover { color: var(--t-cobalt-ink); text-decoration: underline; }
.d24h__crumb [aria-current] { color: var(--t-ink); font-weight: 650; }
.d24h__cat {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 4px 14px 4px 4px;
  border-radius: 999px; background: #fff; border: 1px solid var(--t-grout);
  font-size: 15px; font-weight: 700; color: var(--t-ink);
}
.d24h__cat img { width: 34px; height: 34px; border-radius: 10px; display: block; }
.d24h .d24h__copy h1, .theme-drain .site-content .d24h h1 {
  margin: 0; color: var(--t-ink) !important; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.2;
  font-weight: 800; letter-spacing: -0.04em; max-width: 16em;
}
.d24h .d24h__copy .d24h__lead { margin: 18px 0 0; max-width: 32em; color: var(--t-slate) !important; font-size: 17.5px; line-height: 1.7; }
.d24h__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.d24h__visual { position: relative; padding-bottom: 72px; }
.d24h__banner { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--t-r-lg); overflow: hidden; background: #fff; border: 1px solid var(--t-grout); }
.d24h__banner img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 점검 접수증: 배너 모서리에 겹친 흰 카드 */
.d24h__slip {
  position: absolute; left: -28px; bottom: 0; width: min(330px, 76%);
  background: #fff; border: 1px solid var(--t-grout); border-radius: 16px; padding: 14px 18px 6px;
  box-shadow: 0 18px 40px -22px rgba(17, 27, 43, .35);
}
.d24h__slip::before { content: ""; position: absolute; left: 18px; top: -1px; width: 56px; height: 4px; background: var(--t-drop); border-radius: 0 0 4px 4px; }
.d24h__slip-title { margin: 4px 0 4px; font-size: 13px; font-weight: 750; color: var(--t-slate); }
.d24h__slip dl { margin: 0; }
.d24h__slip dl > div { display: grid; grid-template-columns: 72px 1fr; gap: 10px; padding: 9px 0; border-top: 1px dashed var(--t-grout); }
.d24h__slip dt { color: var(--t-slate); font-size: 13.5px; }
.d24h__slip dd { margin: 0; font-size: 14.5px; font-weight: 650; color: var(--t-ink); }

/* ---------- 본문 + 옆 칸 ---------- */
.d24b { padding: 60px 0 80px; background: #fff; }
.d24b .container.d24b__grid {
  display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 64px; justify-content: space-between; max-width: 1200px;
}
.d24b .d24b__main.page-content { width: auto !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; }
.d24b__main { min-width: 0; font-size: 17px; line-height: 1.8; color: #243245; }
.d24b__main > :first-child { margin-top: 0; }
.d24b__main p { margin: 0 0 1.05em; max-width: 42em; }
.d24b__main h2 {
  position: relative; margin: 2.6em 0 .7em; padding-top: 20px; max-width: 24em;
  font-size: clamp(22px, 2.1vw, 27px); line-height: 1.35; font-weight: 780; letter-spacing: -0.035em; color: var(--t-ink);
  border-top: 1px solid var(--t-grout); scroll-margin-top: 96px;
}
.d24b__main h2::before { content: ""; position: absolute; left: 0; top: -2px; width: 40px; height: 3px; background: var(--t-drop); }
.d24b__main h3 { margin: 1.8em 0 .45em; font-size: 19px; line-height: 1.45; font-weight: 720; color: var(--t-ink); }
.d24b__main a { color: var(--t-cobalt-ink); text-underline-offset: 3px; }
.d24b__main ul, .d24b__main ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.d24b__main li + li { margin-top: .35em; }
.d24b__main .body-heading { margin: 0 0 18px; font-size: 15px; font-weight: 650; color: var(--t-slate); }

/* 안내 상자 한 가지 모양 */
.d24b__main .callout, .d24b__main .drain-ops-answer, .d24b__main section.d24-basis, .d24b__main .warning-box, .d24b__main .summary-box {
  display: block; margin: 22px 0; padding: 18px 22px; background: #fff; border: 1px solid var(--t-grout);
  border-left: 4px solid var(--t-cobalt); border-radius: 0 var(--t-r) var(--t-r) 0; box-shadow: none;
  font-size: 16px; line-height: 1.75; color: #243245; grid-template-columns: none !important; columns: auto !important;
}
.d24b__main .callout > *, .d24b__main .drain-ops-answer > * { margin: 0 0 .5em; }
.d24b__main .callout > :last-child, .d24b__main .drain-ops-answer > :last-child { margin-bottom: 0; }
.d24b__main .callout--tip { border-left-color: var(--t-drop); }
.d24b__main .callout--warn, .d24b__main .warning-box { border-left-color: var(--t-warn); }

/* 표 */
.d24b .d24b__main table {
  display: table !important; width: 100%; max-width: 100%; margin: 18px 0 26px; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--t-grout); border-radius: var(--t-r); overflow: hidden; font-size: 15px; line-height: 1.6;
}
.d24b__main th { background: var(--t-tile); color: var(--t-ink); font-weight: 750; text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--t-grout); }
.d24b__main td { padding: 12px 14px; border-bottom: 1px solid var(--t-grout); vertical-align: top; }
.d24b__main tr:last-child td { border-bottom: 0; }
.d24b__main .mag-body-table, .d24b__main .table-wrap { overflow-x: auto; max-width: 100%; }

/* FAQ */
.d24b__main details { margin: 10px 0; border: 1px solid var(--t-grout); border-radius: var(--t-r); background: #fff; }
.d24b__main details > summary { cursor: pointer; padding: 15px 18px; font-weight: 700; color: var(--t-ink); list-style: none; }
.d24b__main details > summary::-webkit-details-marker { display: none; }
.d24b__main details > summary::after { content: "+"; float: right; color: var(--t-slate); }
.d24b__main details[open] > summary::after { content: "–"; }
.d24b__main details > :not(summary) { padding: 0 18px 14px; margin: 0; }

/* 칩 링크 */
.d24b__main ul.d24-dong-links, .d24b__main ul.drain-ops-links { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 12px 0 20px; }
.d24b__main ul.d24-dong-links > li, .d24b__main ul.drain-ops-links > li { margin: 0; }
.d24b__main ul.d24-dong-links a, .d24b__main ul.drain-ops-links a {
  display: inline-flex; align-items: center; min-height: 42px; padding: 0 15px; border-radius: 12px;
  background: var(--t-tile); border: 1px solid var(--t-grout); color: var(--t-ink); text-decoration: none; font-size: 15px; white-space: nowrap;
}
.d24b__main ul.d24-dong-links a:hover, .d24b__main ul.drain-ops-links a:hover { border-color: var(--t-cobalt); color: var(--t-cobalt-ink); background: #fff; }
.d24b__main section.d24-thin-plus, .d24b__main section.d24-axis-plus { margin: 0; }

/* 페이지 끝 상담 띠: 코발트 면 */
.d24b__main .cta-band, .d24b__main .mag-cta {
  margin: 36px 0 0; padding: 22px 24px; border-radius: var(--t-r-lg); background: var(--t-cobalt); color: #e9eeff;
  border: 0; font-size: 16px; line-height: 1.7; max-width: none;
}
.d24b__main .cta-band strong, .d24b__main .mag-cta strong, .d24b__main .cta-band a, .d24b__main .mag-cta a { color: #fff; }
.d24b__main .cta-band a, .d24b__main .mag-cta a { font-weight: 750; }

/* 옆 칸 */
.d24b__side { position: sticky; top: 96px; align-self: start; display: grid; gap: 22px; }
.d24-side-card { padding: 22px; border-radius: var(--t-r-lg); background: var(--t-tile); border: 1px solid var(--t-grout); }
.d24-side-card__title { margin: 0 0 6px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; color: var(--t-ink); }
.d24-side-card p { margin: 0 0 16px; font-size: 15px; line-height: 1.65; color: var(--t-slate); }
.d24-side-card .d24-btn { width: 100%; }
.d24-side-card .d24-btn + .d24-btn { margin-top: 10px; }
.d24-toc { padding: 2px 0 0 18px; border-left: 2px solid var(--t-grout); }
.d24-toc__title { margin: 0 0 8px; font-size: 14px; font-weight: 750; color: var(--t-slate); }
.d24-toc ul { list-style: none; margin: 0; padding: 0; }
.d24-toc li { margin: 0; }
.d24-toc a { display: block; padding: 6px 0; font-size: 14.5px; line-height: 1.45; color: var(--t-slate); text-decoration: none; }
.d24-toc a:hover { color: var(--t-cobalt-ink); }

/* ---------- 웹 큰 화면 1600+ ---------- */
@media (min-width: 1600px) {
  .d24h .container.d24h__grid, .d24b .container.d24b__grid { max-width: 1280px; }
}
/* ---------- 태블릿 768~1199 ---------- */
@media (max-width: 1199px) {
  .d24h .container.d24h__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 36px; }
  .d24b .container.d24b__grid { grid-template-columns: minmax(0, 1fr) 260px; gap: 40px; }
}
@media (max-width: 1023px) {
  .d24h .container.d24h__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .d24h__copy { padding: 0; background: none; }
  .d24h__visual { padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
  .d24h__slip { position: relative; left: auto; bottom: auto; width: auto; box-shadow: none; }
  .d24b .container.d24b__grid { grid-template-columns: minmax(0, 1fr); }
  .d24b__side { display: none; }
}
/* ---------- 모바일 360~767 ---------- */
@media (max-width: 767px) {
  .d24h { background-size: 40px 40px; }
  .d24h .container.d24h__grid { padding-top: 24px; padding-bottom: 28px; gap: 22px; }
  .d24h__crumb ol { margin-bottom: 12px; font-size: 13px; }
  .d24h__cat { font-size: 14px; margin-bottom: 12px; }
  .d24h__cat img { width: 30px; height: 30px; }
  .d24h .d24h__copy h1 { font-size: clamp(25px, 7vw, 31px); line-height: 1.28; }
  .d24h .d24h__copy .d24h__lead { font-size: 16px; margin-top: 12px; }
  .d24h__cta { margin-top: 20px; }
  .d24h__cta .d24-btn { flex: 1 1 100%; }
  .d24h__visual { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .d24h__slip { padding: 12px 16px 4px; }
  .d24h__slip dl > div { grid-template-columns: 66px 1fr; padding: 8px 0; }
  .d24b { padding: 32px 0 60px; }
  .d24b__main { font-size: 16.5px; }
  .d24b .d24b__main table { font-size: 14px; table-layout: auto; }
  .d24b__main th, .d24b__main td { padding: 10px; }
  .d24b__main ul.d24-dong-links a { min-height: 40px; padding: 0 12px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .d24-btn { transition: none; } }
@media (max-width: 400px) {
  .d24b .d24b__main table { font-size: 13.5px; }
  .d24b__main th, .d24b__main td { padding: 9px 8px; }
}

/* ===== 공통 조각 v4: 헤더·상단 전화 띠·서랍·푸터·하단 고정 2버튼 ===== */
.d24-header .drain-header__main { background: #fff; border-bottom: 1px solid var(--t-grout); }
.d24-header .drain-nav__list a { font-size: 16px; font-weight: 650; color: var(--t-ink); padding: 8px 4px; }
.d24-header .drain-nav__list a:hover { color: var(--t-cobalt-ink); }
.d24-header .drain-nav__list { gap: 28px; }
.d24-header .d24-header__kakao {
  display: inline-flex !important; align-items: center; gap: 8px; min-height: 46px; padding: 0 18px !important;
  border-radius: 12px; background: #fee500 !important; color: #191600 !important; font-weight: 750; font-size: 15.5px;
  box-shadow: none !important; text-decoration: none;
}
.d24-header .d24-header__kakao:hover { background: #f5dc00 !important; }

.d24-callband { background: linear-gradient(100deg, #1a35b0 0%, #2243c8 52%, #08707b 100%); color: #fff; }
.d24-callband__in { display: flex; align-items: center; justify-content: center; gap: 14px; min-height: 58px; padding-top: 8px; padding-bottom: 8px; max-width: 1200px; }
.d24-callband__icon { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.16); align-items: center; justify-content: center; flex: 0 0 auto; }
.d24-callband__msg { margin: 0; font-size: 16px; font-weight: 650; color: #fff; word-break: keep-all; text-wrap: balance; }
.d24-callband__tel {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #fff; color: var(--t-cobalt-ink) !important; font-size: 20px; font-weight: 850; letter-spacing: -0.01em;
  text-decoration: none !important; white-space: nowrap; flex: 0 0 auto;
}
.d24-callband__tel:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

.site-header__drawer-list a { font-size: 18px; font-weight: 700; }
.d24-drawer-note { margin: 10px 0 0; font-size: 14px; color: var(--t-slate); }

/* 푸터 */
.d24f { background: #0f1a2c; color: #c9d3e0; padding: 56px 0 96px; }
.d24f a { color: #e7edf5; text-decoration: none; }
.d24f a:hover { color: #fff; text-decoration: underline; }
.d24f__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 2fr); gap: 56px; }
.d24f__brand img { height: 44px; width: auto; filter: brightness(0) invert(1); }
.d24f__about { margin: 14px 0 18px; font-size: 15px; line-height: 1.7; color: #c9d3e0; word-break: keep-all; max-width: 30em; }
.d24f__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
.d24f__tel, .d24f__kakao { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 12px; font-weight: 750; }
.d24f__tel { background: var(--t-cobalt); color: #fff !important; font-size: 17px; }
.d24f__kakao { background: #fee500; color: #191600 !important; }
.d24f__biz { margin: 0; display: grid; gap: 6px; font-size: 14px; line-height: 1.6; }
.d24f__biz > div { display: grid; grid-template-columns: 104px 1fr; gap: 8px; }
.d24f__biz dt { color: #93a3b8; }
.d24f__biz dd { margin: 0; color: #dfe6ee; word-break: keep-all; overflow-wrap: anywhere; }
.d24f__nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.d24f__col > summary { list-style: none; cursor: default; font-size: 15px; font-weight: 800; color: #fff; margin-bottom: 12px; }
.d24f__col > summary::-webkit-details-marker { display: none; }
.d24f__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.d24f__col li { font-size: 14.5px; }
.d24f__more a { color: #9fb6ff; font-weight: 650; }
.d24f__related { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.d24f__related span { color: #93a3b8; }
.d24f__copy { margin: 14px 0 0; font-size: 13px; color: #8494a8; }

/* 하단 고정 2버튼: 같은 너비·54px·안전 영역 */
.cta-float { left: 0; right: 0; bottom: 0; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.96); border-top: 1px solid var(--t-grout); box-shadow: 0 -6px 20px -12px rgba(17,27,43,.35); }
.cta-float .cta-float__inner { display: grid !important; grid-template-columns: 1fr 1fr; gap: 8px; max-width: 560px; margin: 0 auto; }
.cta-float .cta-float__btn { display: inline-flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 54px; border-radius: 14px; font-size: 16.5px; font-weight: 800; width: 100%; box-shadow: none; }
.cta-float .cta-float__btn--phone { background: var(--t-cobalt) !important; color: #fff !important; }
.cta-float .cta-float__btn--kakao { background: #fee500 !important; color: #191600 !important; }
.cta-float .cta-float__icon { width: 20px; height: 20px; }

@media (max-width: 1023px) {
  .d24f__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .d24f__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .d24-callband__in { justify-content: space-between; gap: 10px; min-height: 64px; }
  .d24-callband__msg { font-size: 14px; line-height: 1.45; }
  .d24-callband__icon { display: none; }
  .d24-callband__tel { font-size: 18px; padding: 0 14px; }
  .d24f { padding: 40px 0 110px; }
  .d24f__nav { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .d24f__col { border-top: 1px solid rgba(255,255,255,.12); }
  .d24f__col > summary { cursor: pointer; margin: 0; padding: 16px 0; display: flex; justify-content: space-between; }
  .d24f__col > summary::after { content: "+"; color: #93a3b8; }
  .d24f__col[open] > summary::after { content: "–"; }
  .d24f__col ul { padding-bottom: 16px; }
  .d24f__biz > div { grid-template-columns: 96px 1fr; }
  main.site-content { padding-bottom: 0; }
}
@media (min-width: 768px) { .cta-float { display: none !important; } }

/* 보정: 헤더 카톡 버튼 한 줄, 전화 띠 짧은 문구, 헤더 아래 빈 띠 제거 */
.d24-header .d24-header__kakao { white-space: nowrap; }
.d24-callband__short { display: none; }
main.site-content { padding-top: 0 !important; }
@media (max-width: 767px) {
  .d24-callband__long { display: none; }
  .d24-callband__short { display: inline; font-size: 15px; }
  .d24-header .d24-header__kakao { min-height: 40px; padding: 0 12px !important; font-size: 14.5px; gap: 6px; }
  .d24-header .d24-header__kakao svg { width: 18px; height: 18px; }
}

/* ===== 홈 v4 ===== */
.d24-home-hero {
  background-color: var(--t-tile);
  background-image: linear-gradient(var(--t-grout) 1px, transparent 1px), linear-gradient(90deg, var(--t-grout) 1px, transparent 1px);
  background-size: 56px 56px; border-bottom: 1px solid var(--t-grout);
}
.d24-home-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: center; max-width: 1200px; padding-top: 56px; padding-bottom: 64px; }
.d24-home-hero__copy { word-break: keep-all; }
.d24-home-hero h1 { margin: 0; font-size: clamp(32px, 4vw, 54px); line-height: 1.18; font-weight: 850; letter-spacing: -0.045em; color: var(--t-ink); text-wrap: balance; max-width: 13em; }
.d24-home-hero__lead { margin: 20px 0 0; max-width: 30em; font-size: 18px; line-height: 1.7; color: var(--t-slate); text-wrap: pretty; }
.d24-home-hero__note { margin: 14px 0 0; font-size: 14.5px; color: var(--t-slate); }
.d24-home-hero__visual { position: relative; padding-bottom: 80px; }
.d24-home-hero__visual picture, .d24-home-hero__visual img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--t-r-lg); border: 1px solid var(--t-grout); background: #fff; }
.d24-home-hero__visual .d24h__slip { left: -24px; }
.d24-home-hubs { padding: 56px 0 36px; background: #fff; }
.d24-home-hubs__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.d24-home-hubs__head h2 { margin: 0; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; letter-spacing: -0.035em; color: var(--t-ink); }
.d24-home-hubs__head--area { margin-top: 44px; }
.d24-home-hubs__all { font-size: 15.5px; font-weight: 700; color: var(--t-cobalt-ink); white-space: nowrap; }
.d24-catgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.d24-catgrid li { margin: 0; }
.d24-catcard {
  display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center;
  height: 100%; padding: 16px; border-radius: var(--t-r-lg); border: 1px solid var(--t-grout); background: var(--t-tile);
  text-decoration: none !important; color: var(--t-ink); word-break: keep-all;
}
.d24-catcard img { grid-row: span 2; width: 56px; height: 56px; border-radius: 14px; }
.d24-catcard strong { font-size: 17px; font-weight: 800; letter-spacing: -0.02em; }
.d24-catcard span { font-size: 14px; color: var(--t-slate); line-height: 1.5; text-wrap: balance; }
.d24-catcard:hover { border-color: var(--t-cobalt); background: #fff; }
.d24-sidochips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.d24-sidochips li { margin: 0; }
.d24-sidochips a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--t-grout); background: #fff; color: var(--t-ink); font-weight: 650; text-decoration: none; }
.d24-sidochips a:hover { border-color: var(--t-cobalt); color: var(--t-cobalt-ink); }
@media (max-width: 1023px) {
  .d24-home-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 36px; padding-bottom: 40px; }
  .d24-home-hero__visual { padding-bottom: 0; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; }
  .d24-home-hero__visual .d24h__slip { position: relative; left: auto; bottom: auto; width: auto; box-shadow: none; }
  .d24-catgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .d24-home-hero__grid { padding-top: 24px; padding-bottom: 28px; gap: 22px; }
  .d24-home-hero h1 { font-size: clamp(27px, 7.6vw, 34px); line-height: 1.25; }
  .d24-home-hero__lead { font-size: 16px; }
  .d24-home-hero .d24h__cta .d24-btn { flex: 1 1 100%; }
  .d24-home-hero__visual { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .d24-home-hero__visual img { aspect-ratio: 4 / 5; }
  .d24-home-hubs { padding: 36px 0 24px; }
  .d24-catgrid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .d24-catcard { padding: 12px 14px; grid-template-columns: 48px minmax(0, 1fr); }
  .d24-catcard img { width: 48px; height: 48px; }
  .d24-sidochips a { min-height: 42px; padding: 0 14px; }
}
@media (max-width: 767px) {
  .cta-float { display: block !important; position: fixed; z-index: 60; }
  .d24-mobile-actions { display: none !important; }
  .d24-home-hero__visual img { aspect-ratio: 16 / 9; object-position: 70% 50%; }
  .d24-home-hero__grid { padding-top: 32px; }
}
/* 긴 칩(단지명 등)은 줄바꿈 허용 */
.d24b__main ul.d24-dong-links a, .d24b__main ul.drain-ops-links a { white-space: normal; max-width: 100%; text-wrap: balance; padding-top: 6px; padding-bottom: 6px; line-height: 1.4; }
.d24-nw { white-space: nowrap; }

/* ===== 본문 표시 보정(bodyfix C1·C2) ===== */
.callout { flex-direction: column; gap: 6px; }
.callout > p { margin: 0; }
.site-content h3 + ul.d24-prose-list a { display: inline; padding: 0; background: none; border: 0; border-radius: 0;
  font-size: inherit; text-decoration: underline; }
.site-content h3 + ul.d24-prose-list { list-style: disc !important; padding-left: 1.2em; }
.site-content h3 + ul.d24-prose-list > li { display: list-item; }

/* CDN 정적 Pretendard 대신 사이트 가변 서브셋 1개를 쓰게 한다(굵기별 같은 설명자로 덮어씀) */
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:100;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:200;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:300;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:500;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:800;font-style:normal;font-display:swap;}
@font-face{font-family:"Pretendard";src:url("/wp-content/themes/developer-developer-drain/assets/fonts/PretendardVariable.subset.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap;}
