/* 동네별(/local/) 정적 쪽 + 홈·지역 쪽 동네 입구 카드 공용. 2026-11-04. 색·크기는 theme tokens 기준, 글자 대비 4.5:1 이상. */
.lc{max-width:1100px;margin:0 auto;padding:20px 16px 56px;color:var(--text-primary,#111827);font-size:15px;line-height:1.7;word-break:keep-all;overflow-wrap:break-word}
.lc .bc{margin:0 0 14px;font-size:13px;line-height:1.5;color:#4b5563}
.lc .bc a{color:#1d4ed8;text-decoration:none}
.lc .bc a:hover{text-decoration:underline}
.lc h1{margin:0 0 10px;font-size:28px;line-height:1.35;font-weight:800;color:#111827}
.lc h2{margin:34px 0 14px;font-size:20px;line-height:1.4;font-weight:800;color:#111827;padding-left:12px;border-left:4px solid #fbbf24}
.lc .lead{margin:0 0 6px;font-size:16px;line-height:1.75;color:#374151}
.lc .note{margin:28px 0 0;padding:12px 14px;border-radius:10px;background:#f3f4f6;font-size:13px;line-height:1.6;color:#4b5563}
.lc a{color:#1d4ed8}

/* 허브 머리 카드 */
.lc-head{margin:0 0 8px;padding:22px 22px 20px;background:#fff;border:1px solid #e5e7eb;border-left:6px solid #fbbf24;border-radius:14px;box-shadow:0 1px 2px rgba(17,24,39,.05)}
.lc-stats{display:flex;flex-wrap:wrap;gap:10px;margin:16px 0 0;padding:0;list-style:none}
.lc-stats li{flex:1 1 130px;min-width:120px;padding:10px 14px;background:#eff6ff;border-radius:10px}
.lc-stats b{display:block;font-size:22px;line-height:1.2;font-weight:800;color:#1e3a8a}
.lc-stats span{font-size:13px;color:#374151}

/* 카드 격자 */
.lc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:14px;margin:0;padding:0;list-style:none}
.lc-card{display:flex;flex-direction:column;height:100%;box-sizing:border-box;padding:16px 16px 14px;background:#fff;border:1px solid #e5e7eb;border-top:4px solid #fbbf24;border-radius:14px;box-shadow:0 1px 2px rgba(17,24,39,.05);text-decoration:none;color:#111827;transition:box-shadow .15s,border-color .15s,transform .1s}
.lc-card:hover{box-shadow:0 8px 20px rgba(30,58,138,.12);border-color:#fbbf24;transform:translateY(-1px)}
.lc-card:focus-visible{outline:3px solid #2563eb;outline-offset:2px}
.lc-card__name{font-size:18px;line-height:1.35;font-weight:800;color:#111827}
.lc-card__big{margin:6px 0 0;font-size:14px;color:#374151}
.lc-card__big b{font-size:24px;line-height:1.2;font-weight:800;color:#1e3a8a;margin-right:2px}
.lc-card__meta{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 0;padding:0;list-style:none}
.lc-card__meta li{padding:2px 9px;background:#eff6ff;border-radius:999px;font-size:12.5px;line-height:1.6;font-weight:600;color:#1e3a8a}
.lc-card__sub{margin:10px 0 0;font-size:13.5px;line-height:1.55;color:#374151}
.lc-card__go{margin-top:auto;padding-top:12px;font-size:13.5px;font-weight:700;color:#1d4ed8}
.lc-card__go::after{content:" ›"}

/* 조건별 이동 타일(기존 ul.kw 마크업 그대로) */
.lc ul.kw{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:0;padding:0;list-style:none}
.lc ul.kw li{margin:0}
.lc ul.kw a{display:flex;align-items:center;justify-content:space-between;gap:8px;box-sizing:border-box;height:100%;min-height:46px;padding:10px 14px;background:#fff;border:1px solid #d1d5db;border-radius:12px;color:#111827;font-size:14.5px;font-weight:700;line-height:1.4;text-decoration:none}
.lc ul.kw a::after{content:"›";color:#1d4ed8;font-size:18px;line-height:1}
.lc ul.kw a:hover{background:#fffbeb;border-color:#fbbf24}
.lc ul.kw a:focus-visible{outline:3px solid #2563eb;outline-offset:2px}

/* 표 */
.lc .tw{overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e5e7eb;border-radius:12px;background:#fff}
.lc table{width:100%;min-width:640px;border-collapse:collapse;font-size:14px;line-height:1.5}
.lc th{padding:10px 12px;background:#eff6ff;color:#1e3a8a;font-weight:800;text-align:left;border-bottom:1px solid #dbeafe;white-space:nowrap}
.lc td{padding:10px 12px;border-bottom:1px solid #eef0f3;text-align:left;vertical-align:top;color:#111827}
.lc tbody tr:last-child td{border-bottom:0}
.lc tbody tr:nth-child(even) td{background:#fafbfc}
.lc ul:not(.kw):not(.lc-grid):not(.lc-stats):not(.lc-card__meta){margin:0 0 6px;padding-left:20px}
.lc ul:not(.kw):not(.lc-grid):not(.lc-stats):not(.lc-card__meta) li{margin:4px 0}

/* 홈·지역 쪽에 들어가는 동네 입구 블록 */
.lc-entry{margin-top:28px;margin-bottom:28px}
.lc-entry .lc-entry__title{margin:0 0 6px;font-size:22px;line-height:1.4;font-weight:800;color:#111827}
.lc-entry .lc-entry__desc{margin:0 0 16px;font-size:14.5px;line-height:1.6;color:#374151}
.lc-entry .lc-entry__all{display:inline-flex;align-items:center;margin-top:16px;padding:10px 18px;border-radius:999px;background:#1f3a5f;color:#fff;font-weight:700;font-size:14.5px;text-decoration:none}
.lc-entry .lc-entry__all:hover{background:#172a4a;color:#fff}

@media (max-width:640px){
  .lc{padding:14px 14px 44px;font-size:14.5px}
  .lc h1{font-size:23px}
  .lc h2{font-size:18px;margin-top:28px}
  .lc-head{padding:16px 16px 14px}
  .lc-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}
  .lc-card{padding:13px 12px 12px}
  .lc-card__name{font-size:16px}
  .lc ul.kw{grid-template-columns:repeat(auto-fill,minmax(140px,1fr))}
}

/* 공통 푸터 저작권 줄 12px 이상 */
html body .site-footer__bottom small{font-size:12.5px}

/* 목록 쪽(소방서·노선) 보조 */
.lc-entry .lc-lead{margin:0 0 14px;font-size:15px;line-height:1.75;color:#374151}
.lc-entry h2{margin:30px 0 14px;font-size:20px;line-height:1.4;font-weight:800;color:#111827;padding-left:12px;border-left:4px solid #fbbf24}
.lc-entry h2 small{margin-left:6px;font-size:13px;font-weight:600;color:#4b5563}
.lc-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px;padding:0;list-style:none}
.lc-chips a{display:inline-block;padding:7px 14px;border:1px solid #d1d5db;border-radius:999px;background:#fff;color:#111827;font-size:14px;font-weight:700;text-decoration:none}
.lc-chips a:hover{background:#fffbeb;border-color:#fbbf24}

/* 쪽 본문(.page__body)의 목록 점(•)·들여쓰기가 카드·칩에 새지 않게 */
html body .lc-entry ul.lc-grid,html body .lc-entry ul.lc-chips{margin-left:0;padding-left:0}
html body .lc-entry ul.lc-grid>li,html body .lc-entry ul.lc-chips>li{margin:0;padding:0;list-style:none}
html body .lc-entry ul.lc-grid>li::before,html body .lc-entry ul.lc-chips>li::before,html body .lc-entry ul.lc-card__meta>li::before{content:none;display:none}
