/* =========================================================
   서브 페이지 · CMS 추가 요소 (style.css 다음에 로드)
   ========================================================= */
.logo__img { height: 40px; width: auto; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav a[aria-current="page"]::after { transform: scaleX(1); }
.center { text-align: center; margin-top: 28px; }
.empty { padding: 48px 0; text-align: center; color: var(--text-3); }
.section--first { padding-top: 56px; }

.flash { padding-top: 16px; }
.flash__item { margin: 0; padding: 14px 18px; border-radius: 10px; background: #ecf8ef; color: #1e7a3a; font-weight: 700; }
.flash__item--error { background: #fff0f0; color: #c62828; }

.page-hero { position: relative; padding: 64px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line); }
.page-hero--compact { padding: 48px 0 40px; }
.page-hero h1 { font-size: clamp(28px, 4.2vw, 46px); font-weight: 800; margin-bottom: 16px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero__lead { color: var(--text-2); font-size: 16px; max-width: 720px; margin-bottom: 8px; }
.page-hero__meta { color: var(--text-3); font-size: 14px; margin-top: 12px; }
.page-hero .hero__actions { margin: 24px 0 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-3); margin-bottom: 18px; }
.crumbs a:hover { color: var(--accent); }
.crumbs b { color: var(--text-2); font-weight: 600; }

/* 설치가이드 페이지 */
.guide-page { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.toc b { margin-bottom: 8px; }
.toc a { display: flex; gap: 10px; padding: 8px 6px; border-radius: 8px; font-size: 14px; color: var(--text-2); }
.toc a:hover { background: var(--accent-soft); color: var(--accent); }
.toc a span { color: var(--accent); font-weight: 800; min-width: 14px; }
.guide-article { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.guide-article:last-child { border-bottom: 0; margin-bottom: 0; }
.guide-article h2 { font-size: 28px; margin-bottom: 12px; }
.guide-article .guide-article__lead { font-size: 17px; font-weight: 600; color: var(--text); }
.guide-article p { color: var(--text-2); margin-bottom: 14px; font-size: 16px; }
.guide-article img { border-radius: 14px; margin: 20px 0; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
a.guide__item { display: block; }

/* 본문형 페이지 (칼럼·사례·지역) */
.article { max-width: 760px; }
.article p, .article li { color: #2b3550; font-size: 17px; line-height: 1.9; margin-bottom: 20px; }
.article h2 { font-size: 25px; margin: 48px 0 16px; padding-top: 4px; }
.article ul { padding-left: 22px; margin-bottom: 18px; }
.article li { margin-bottom: 6px; }
.article__img { width: 100%; border-radius: 16px; margin-bottom: 32px; aspect-ratio: 16/10; object-fit: cover; }
.article .note { text-align: left; }

.gallery-set { margin-bottom: 28px; }
.gallery-set button { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; border-radius: 14px; overflow: hidden; width: 100%; }
.gallery-set__main img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.gallery-set__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px; }
.gallery-set__thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.case-info { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 0 0 28px; padding: 18px 22px; background: var(--bg-alt); border-radius: 12px; }
.case-info dt { font-size: 12px; font-weight: 800; color: var(--accent); }
.case-info dd { margin: 0; font-weight: 700; }
.case figcaption .case__area { display: block; font-size: 12px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.case figcaption b a:hover { color: var(--accent); }
.case__tag--gold { background: var(--gold); color: #3a2600; }
.filters { display: flex; flex-wrap: wrap; gap: 0 24px; }

/* 칼럼 카드 */
.columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.col-card a { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.col-card a:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.col-card__media { aspect-ratio: 16/9; background: var(--accent-soft); display: grid; place-items: center; overflow: hidden; }
.col-card__media img { width: 100%; height: 100%; object-fit: cover; }
.col-card__ph svg { width: 56px; height: 56px; fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: .5; }
.col-card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.col-card__cat { font-size: 12px; font-weight: 800; color: var(--accent); }
.col-card h3 { font-size: 18px; }
.col-card p { font-size: 14px; color: var(--text-2); flex: 1; }
.col-card time { font-size: 13px; color: var(--text-3); }

/* 검색 */
.region-search { display: flex; gap: 10px; max-width: 640px; margin-bottom: 40px; }
.page-hero .region-search { margin: 20px 0 0; }
.region-search input { flex: 1; height: 52px; padding: 0 18px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; background: #fff; }
.region-search input:focus { outline: 0; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.search-results h2 { font-size: 22px; margin: 40px 0 18px; }
.search-results h2:first-child { margin-top: 0; }
.mnav__search input { width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; margin-bottom: 8px; background: var(--bg-alt); }

/* 상담 폼 보강 */
.field__label { font-size: 14px; font-weight: 700; }
.field__hint { font-size: 12.5px; color: var(--text-3); }
.field__err { font-size: 13px; color: #c62828; font-weight: 600; }
.field--choice > div, .field--choice > div > div { display: contents; }
.form__note { margin: 0; font-size: 12.5px; color: var(--text-3); text-align: center; }
.file { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px; border: 1px dashed #b9c6e4; border-radius: 10px; background: #fff; cursor: pointer; }
.file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file__btn { flex: none; padding: 9px 14px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; }
.file__name { font-size: 14px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-card { padding: 28px; border-radius: 20px; background: linear-gradient(120deg, #2d5bff, #6c8fff); color: #fff; margin-bottom: 28px; }
.contact-card .eyebrow { color: #cfe0ff; }
.contact-card__tel { display: block; font-size: 32px; font-weight: 800; margin-bottom: 6px; }
.contact-card p { color: rgba(255,255,255,.85); margin-bottom: 18px; }
.contact-card__btns { display: grid; gap: 8px; }
.contact-card .btn--primary { background: #fff; color: var(--accent); box-shadow: none; }
.contact-card .btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.callbar__kakao { background: #fee500; color: #191600; }

/* 홈: 설치 방식 아래 더 알아보기 · 동네 찾기 */
.guide-links { margin-top: 24px; padding: 22px 24px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); }
.guide-links > b { display: block; font-size: 15px; color: var(--text-3); margin-bottom: 12px; }
.guide-links__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.guide-links__list a { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 12px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15.5px; transition: border-color .2s, color .2s; }
.guide-links__list a:hover { border-color: var(--accent); color: var(--accent); }
.guide-links__list span { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); font-size: 13px; }
.guide-links__list i { margin-left: auto; font-style: normal; color: var(--text-3); }
.area-find { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.area-find h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 800; margin-bottom: 8px; }
.area-find p { color: var(--text-2); }
.area-find .region-search { margin: 0; max-width: none; }
.inquiry__intro .contact-card { margin: 24px 0; }
@media (max-width: 1080px) {
  .guide-links__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .area-find { grid-template-columns: minmax(0, 1fr); gap: 18px; }
}
@media (max-width: 720px) {
  .guide-links { padding: 18px 16px; }
  .guide-links__list { grid-template-columns: minmax(0, 1fr); }
}

/* 목록 개수 · 페이지 번호 */
.list-count { margin: 0 0 18px; font-size: 15px; color: var(--text-3); }
.list-count b { color: var(--text); }
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pager__nums { display: flex; align-items: center; gap: 6px; }
.pager__num, .pager__step { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: 16px; color: var(--text-2); transition: all .2s; }
.pager__step { padding: 0 16px; }
.pager a:hover { border-color: var(--accent); color: var(--accent); }
.pager__num.is-current { background: var(--accent); border-color: var(--accent); color: #fff; }
.pager__step.is-disabled { opacity: .4; }
.pager__gap { min-width: 20px; text-align: center; color: var(--text-3); }
.pager__info { text-align: center; margin-top: 12px; font-size: 14px; color: var(--text-3); }
@media (max-width: 720px) {
  .pager { gap: 6px; }
  .pager__num { min-width: 42px; height: 42px; padding: 0 8px; }
  .pager__step { height: 42px; padding: 0 12px; }
}

/* 지역 아코디언 · 동 */
.region-title { font-size: 24px; margin: 40px 0 14px; }
.region-title:first-of-type { margin-top: 8px; }
.region-hint { margin: -24px 0 24px; color: var(--text-3); font-size: 15px; }
.region-acc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; align-items: start; }
.region-acc__item { background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.region-acc__item[open] { grid-column: 1 / -1; border-color: #b9c8f7; box-shadow: var(--shadow); }
.region-acc__item.is-hidden { display: none; }
.region-acc__item summary { list-style: none; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 52px 0 20px; cursor: pointer; position: relative; }
.region-acc__item summary::-webkit-details-marker { display: none; }
.region-acc__item summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--text-3); border-bottom: 2px solid var(--text-3); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.region-acc__item[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.region-acc__name { font-weight: 800; font-size: 17.5px; }
.region-acc__count { font-size: 14px; color: var(--text-3); }
.region-acc__body { padding: 4px 20px 22px; display: grid; gap: 10px; }
.region-acc__main { font-weight: 700; color: var(--accent); }
.hood-group { font-size: 15px; color: var(--text-2); margin: 12px 0 2px; }
.chips--dong a { min-height: 38px; padding: 0 13px; font-size: 14.5px; }
mark.hit { background: var(--gold-soft); color: inherit; border-radius: 3px; }

/* 글 목차 · 글쓴이 · 미리보기 */
.toc-inline { margin: 0 0 28px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-alt); }
.toc-inline b { font-size: 14px; color: var(--text-3); }
.toc-inline ol { margin: 6px 0 0 !important; padding-left: 20px !important; }
.toc-inline li { margin-bottom: 2px !important; font-size: 16px !important; }
.toc-inline a { color: var(--text); }
.toc-inline a:hover { color: var(--accent); }
.author-box { margin-top: 36px; padding: 20px 22px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line); }
.author-box b { font-size: 14px; color: var(--accent); }
.author-box p { margin: 6px 0 0 !important; font-size: 15.5px !important; }
.preview-bar { position: sticky; top: var(--header-h); z-index: 90; padding: 10px 18px; background: var(--gold); color: #2b1d00; font-weight: 700; text-align: center; font-size: 15px; }
.article h2 { scroll-margin-top: calc(var(--header-h) + 16px); }

@media (max-width: 720px) {
  .region-acc { grid-template-columns: minmax(0, 1fr); }
}

/* 블로그형 글 */
.post { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: start; }
.post .article { max-width: none; }
.post-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.post-tags .eyebrow-tag { margin-bottom: 0; }
.eyebrow-tag--plain { background: #fff; color: var(--text-2); border: 1px solid var(--line); }
.lead { font-size: 18px !important; color: var(--text) !important; font-weight: 600; }
.answer-box { margin-bottom: 28px; padding: 20px 22px; border-radius: 14px; background: var(--accent-soft); border: 1px solid #cdd9ff; }
.answer-box b { display: block; font-size: 13px; letter-spacing: .06em; color: var(--accent); margin-bottom: 8px; }
.answer-box ul { margin: 0 !important; padding-left: 20px !important; }
.answer-box li, .answer-box p { color: var(--text) !important; font-weight: 500; margin-bottom: 4px !important; font-size: 16.5px; }
.facts-table { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.facts-table th, .facts-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; }
.facts-table th { width: 120px; background: var(--bg-alt); color: var(--text-2); font-weight: 700; }
.facts-table tr:last-child th, .facts-table tr:last-child td { border-bottom: 0; }
.facts-table a { color: var(--accent); }
.photo-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.photo-steps figure { margin: 0; }
.photo-steps img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; }
.photo-steps figcaption { font-size: 14px; color: var(--text-2); margin-top: 6px; }
.article .faq { margin-bottom: 24px; }
.post-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.side-card { display: grid; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.side-card b { font-size: 16px; }
.side-card p { font-size: 14px; color: var(--text-2); }
.side-card--cta { background: var(--bg-alt); }
.side-link { font-size: 14px; color: var(--text-2); padding: 6px 0; border-top: 1px dashed var(--line); }
.side-link:hover { color: var(--accent); }
.inline-cta { margin-top: 36px; }
.inline-cta__btns { display: flex; flex-wrap: wrap; gap: 8px; }
.spaced { margin-top: 56px; }

@media (max-width: 1024px) {
  .post { grid-template-columns: minmax(0, 1fr); }
  .post-side { position: static; }
}
@media (max-width: 720px) {
  .photo-steps { grid-template-columns: minmax(0, 1fr); }
  .facts-table th { width: 92px; }
}

@media (max-width: 1024px) {
  .guide-page { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .columns { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .page-hero { padding: 40px 0 36px; }
  .columns { grid-template-columns: 1fr; }
  .region-search { flex-direction: column; }
  .region-search input { flex: none; width: 100%; }
  .gallery-set__thumbs { grid-template-columns: repeat(3, 1fr); }
  .guide-article h2 { font-size: 23px; }
  .contact-card { padding: 22px; }
}

/* 지역·동 '한눈에' 상자 */
.facts-box { max-width: 900px; background: #fff; border: 1px solid #b9c8f7; border-radius: 16px; padding: 24px 26px; box-shadow: var(--shadow); }
.facts-box__title { font-size: 21px; font-weight: 800; margin: 0 0 10px; }
.facts-box__lead { font-size: 16.5px; line-height: 1.75; color: #2b3550; margin: 0 0 16px; }
.facts-box__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 6px; }
.facts-box__grid div { background: var(--accent-soft); border-radius: 10px; padding: 10px 14px; }
.facts-box__grid dt { font-size: 13px; font-weight: 800; color: var(--accent); }
.facts-box__grid dd { margin: 2px 0 0; font-size: 15px; color: var(--text-2); }
.facts-box__sub { font-size: 16px; font-weight: 800; margin: 18px 0 8px; }
.facts-box__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.facts-box__list li { font-size: 15.5px; color: var(--text-2); }
.facts-box__list time { font-variant-numeric: tabular-nums; color: #6b7690; margin-right: 4px; }
.facts-box__tag { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 1px 8px; border-radius: 6px; background: var(--accent-soft); color: var(--accent); }
.facts-box__note { margin: 16px 0 0; font-size: 13px; color: #6b7690; }
.facts-box__faq { margin-top: 14px; }
@media (max-width: 640px) {
  .facts-box { padding: 18px 16px; }
  .facts-box__grid { grid-template-columns: 1fr; }
}

/* 지역 대표 이미지 */
.area-img { margin: 0 0 32px; }
.area-img .article__img { margin-bottom: 8px; }
.area-img figcaption { font-size: 13px; color: #6b7690; }
