/* dongnemap.kr — 동네맵 v2. v0 "DONGNEMAP website redesign" 디자인 시스템을 워드프레스로 옮김.
   밝은 바닥(#F7F9FC), 흰 카드, 얇은 테두리 + 부드러운 그림자, 둥근 모서리 14~28px, Pretendard 단일 글꼴.
   카테고리 색: 화장실 teal / 주차장 blue / 충전소 lime. 색은 :root 만 바꾸면 전체 반영. */
:root {
  --bg: #f7f9fc; --card: #ffffff; --line: #e2e8f0; --ink: #0f172a; --ink-2: #64748b; --soft: #eef2f8;
  --primary: #2563eb; --primary-2: #1d4ed8; --primary-soft: #e8f0fe;
  --toilet: #14b8a6; --toilet-fg: #ffffff; --toilet-soft: #e6faf7;
  --parking: #3b82f6; --parking-fg: #ffffff; --parking-soft: #e8f0fe;
  --ev: #84cc16; --ev-fg: #1a2e05; --ev-soft: #f1f9e2;
  --ok-bg: #ecfdf5; --ok-fg: #047857;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --r: 16px; --r-lg: 24px; --r-xl: 28px;
  --sh-sm: 0 1px 2px rgb(15 23 42 / .05); --sh-md: 0 8px 24px rgb(15 23 42 / .08); --sh-lg: 0 20px 50px rgb(15 23 42 / .12);
  --wrap: 1152px; --read: 960px;
}

/* ---------- 기본 ---------- */
html { background: var(--bg); scroll-behavior: smooth; }
body { background: var(--bg) !important; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.6; font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased; word-break: keep-all; padding-bottom: 68px; }
::selection { background: #dbeafe; color: var(--ink); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
p { margin: 0 0 12px; }
h1, h2, h3 { margin: 0; line-height: 1.25; letter-spacing: -.02em; }
button { font: inherit; }
.ic { width: 1em; height: 1em; flex: none; }
.toilet { color: var(--toilet); } .parking { color: var(--parking); } .ev { color: var(--ev); }

/* GeneratePress 껍데기 제거: 컨테이너는 전부 투명·전폭 */
.site-header, .main-navigation, .site-footer .footer-widgets, #right-sidebar, #left-sidebar, .widget-area, .sidebar, .entry-meta, .post-navigation, .comments-area, .page-header .archive-description { display: none !important; }
#page, .site, .site-content, .content-area, .site-main { display: block !important; width: 100% !important; max-width: none !important; margin: 0 !important; padding: 0 !important; float: none !important; background: transparent !important; }
.site-main > article .inside-article { background: transparent !important; padding: 0 !important; }
.home .entry-header { display: none; }
.home .site-main > article { max-width: none !important; padding: 0 !important; margin: 0 !important; }

/* ---------- 헤더 (떠 있는 스타일, 스크롤 시 블러) ---------- */
.gd-header { position: sticky; top: 0; z-index: 50; padding: 12px 16px 0; }
.gd-header .bar { max-width: var(--wrap); margin: 0 auto; height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 12px 0 14px; border-radius: 18px; border: 1px solid transparent; background: rgb(255 255 255 / .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: all .3s; }
.gd-header.scrolled .bar { border-color: rgb(226 232 240 / .7); background: rgb(255 255 255 / .82); box-shadow: 0 8px 30px rgb(15 23 42 / .08); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.gd-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); }
.gd-brand .mark { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; }
.gd-header .nav { display: none; gap: 2px; }
.gd-header .nav a, .gd-header .menu a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 500; color: var(--ink-2); transition: .15s; }
.gd-header .nav a:hover, .gd-header .nav a[aria-current] { background: var(--soft); color: var(--ink); }
.gd-header .right { display: flex; align-items: center; gap: 8px; }
.gd-header .region { display: none; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--ink); }
.gd-header .region .ic { color: var(--primary); }
.gd-header .region:hover { background: var(--soft); }
.gd-header .search { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--primary); color: #fff; transition: transform .15s; }
.gd-header .search:hover { transform: scale(1.06); }
.gd-header .burger { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer; }
.gd-header .burger .close, .gd-header .burger[aria-expanded="true"] .open { display: none; }
.gd-header .burger[aria-expanded="true"] .close { display: block; }
.gd-header .menu { max-width: var(--wrap); margin: 8px auto 0; padding: 8px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh-md); }
.gd-header .menu a { display: flex; padding: 12px 16px; color: var(--ink); }
.gd-header .menu a:hover { background: var(--soft); }
@media (min-width: 900px) { .gd-header .nav, .gd-header .region { display: flex; } .gd-header .burger, .gd-header .menu { display: none !important; } body { padding-bottom: 0; } }

/* ---------- 공용 레이아웃 ---------- */
.in { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.gd-sec { padding: 56px 0; }
.gd-sec h2, .gd-hub h1, .gd-detail h1 { font-size: 26px; font-weight: 800; }
.gd-sec .sub { color: var(--ink-2); margin: 10px 0 0; max-width: 560px; }
@media (min-width: 768px) { .gd-sec { padding: 88px 0; } .gd-sec h2 { font-size: 32px; } }

/* 스크롤 등장 애니메이션 */
.reveal { opacity: 0; }
.reveal.in-view { animation: dm-reveal .7s cubic-bezier(.22, 1, .36, 1) forwards; }
@keyframes dm-reveal { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes dm-pulse { 0% { transform: scale(.6); opacity: .55; } 80%, 100% { transform: scale(2.4); opacity: 0; } }
@keyframes dm-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes dm-ping { 75%, 100% { transform: scale(2); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; } .reveal.in-view, .gd-pin .ring, .gd-hero .fcard, .gd-hero .live .dot::before { animation: none !important; } }

/* 지도 그래픽 언어: 격자 + 도로선 + 핀 */
.grid, .gd-mappanel .grid, .gd-hero .map .grid { position: absolute; inset: 0; background-image: linear-gradient(to right, rgb(37 99 235 / .06) 1px, transparent 1px), linear-gradient(to bottom, rgb(37 99 235 / .06) 1px, transparent 1px); background-size: 32px 32px; }
.gd-mapbg { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--primary); pointer-events: none; }
.gd-mapbg.white { color: #fff; opacity: .4; }
.gd-pin { position: absolute; display: inline-grid; place-items: center; transform: translate(-50%, -50%); }
.gd-pin .ring { position: absolute; inset: 0; border-radius: 999px; background: currentColor; animation: dm-pulse 2.6s ease-out infinite; }
.gd-pin .dot { position: relative; display: inline-grid; place-items: center; border-radius: 999px; background: currentColor; box-shadow: 0 10px 20px rgb(15 23 42 / .18), 0 0 0 4px #fff; transition: transform .3s; }
.gd-pin .dot .ic { color: #fff; }
.gd-pin.ev .dot .ic { color: var(--ev-fg); }
.gd-pin.sm .dot { width: 28px; height: 28px; font-size: 14px; } .gd-pin.md .dot { width: 36px; height: 36px; font-size: 16px; } .gd-pin.lg .dot { width: 44px; height: 44px; font-size: 20px; }

/* ---------- 홈 히어로 ---------- */
.gd-hero { position: relative; overflow: hidden; padding: 36px 0 56px; }
.gd-hero .in { display: grid; gap: 40px; align-items: center; }
.gd-hero .copy { max-width: 560px; }
.gd-hero .live { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh-sm); font-size: 12px; font-weight: 500; color: var(--ink-2); }
.gd-hero .live .dot { position: relative; width: 8px; height: 8px; border-radius: 999px; background: var(--primary); }
.gd-hero .live .dot::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: rgb(37 99 235 / .6); animation: dm-ping 1.6s cubic-bezier(0, 0, .2, 1) infinite; }
.gd-hero h1 { margin-top: 20px; font-size: 38px; font-weight: 800; line-height: 1.15; letter-spacing: -.03em; text-wrap: balance; }
.gd-hero .copy > p { margin: 20px 0 0; font-size: 17px; color: var(--ink-2); }
.gd-hero .copy > p .sm { display: none; }
.gd-hero .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.gd-hero .chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh-sm); font-size: 14px; font-weight: 600; transition: .2s; }
.gd-hero .chip:hover { transform: translateY(-2px); box-shadow: var(--sh-md); }
.gd-hero .chip .ic { font-size: 16px; }
.gd-hero .map { position: relative; aspect-ratio: 1; width: 100%; overflow: hidden; border-radius: var(--r-xl); border: 1px solid var(--line); background: var(--card); box-shadow: 0 24px 80px rgb(15 23 42 / .14); will-change: transform; }
.gd-hero .map .route { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--primary); }
.gd-hero .fcard { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; border: 1px solid var(--line); background: rgb(255 255 255 / .95); box-shadow: 0 10px 30px rgb(15 23 42 / .12); backdrop-filter: blur(6px); animation: dm-float 5s ease-in-out infinite; }
.gd-hero .fcard.a { left: 16px; top: 24px; } .gd-hero .fcard.b { right: 16px; top: 38%; animation-duration: 7s; } .gd-hero .fcard.c { left: 24px; bottom: 24px; }
.gd-hero .fcard .bar { width: 6px; height: 32px; border-radius: 999px; background: currentColor; }
.gd-hero .fcard p { margin: 0; line-height: 1.25; }
.gd-hero .fcard .t { font-size: 14px; font-weight: 600; color: var(--ink); }
.gd-hero .fcard .d { font-size: 12px; font-weight: 600; }
@media (min-width: 900px) {
  .gd-hero { padding: 64px 0 96px; }
  .gd-hero .in { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gd-hero h1 { font-size: 56px; }
  .gd-hero .copy > p { font-size: 18px; } .gd-hero .copy > p .sm { display: block; }
  .gd-hero .map { aspect-ratio: 4 / 5; }
}

/* 검색창 */
.gd-searchbar { display: flex; align-items: center; gap: 8px; margin-top: 32px; padding: 8px; border-radius: 18px; border: 1px solid var(--line); background: var(--card); box-shadow: 0 10px 40px rgb(15 23 42 / .08); transition: .2s; }
.gd-searchbar:focus-within { border-color: rgb(37 99 235 / .5); box-shadow: 0 10px 40px rgb(37 99 235 / .18); }
.gd-searchbar > .ic { margin-left: 8px; font-size: 20px; color: var(--ink-2); }
.gd-searchbar input[type=search] { flex: 1; min-width: 0; padding: 8px 4px; border: 0; background: transparent; font: inherit; font-size: 16px; color: var(--ink); outline: none; }
.gd-searchbar input[type=search]::placeholder { color: var(--ink-2); }
.gd-searchbar input[type=search]::-webkit-search-cancel-button { -webkit-appearance: none; }
.gd-searchbar select { flex: 0 1 140px; min-width: 0; padding: 0 28px 0 12px; border: 0; border-left: 1px solid var(--line); border-radius: 0; background: transparent url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%2364748B' stroke-width='1.5'/></svg>") no-repeat right 10px center; font: inherit; font-size: 14px; color: var(--ink-2); appearance: none; -webkit-appearance: none; }
.gd-searchbar button { flex: none; padding: 10px 20px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; font-weight: 700; font-size: 14px; cursor: pointer; transition: transform .15s; }
.gd-searchbar button:hover { transform: scale(1.03); } .gd-searchbar button:active { transform: scale(.96); }
.gd-searchbar.compact { margin: 0 0 20px; box-shadow: var(--sh-sm); }
@media (max-width: 640px) { .gd-searchbar { flex-wrap: wrap; } .gd-searchbar input[type=search] { flex: 1 1 100%; } .gd-searchbar select { flex: 1 1 auto; border-left: 0; border-top: 1px solid var(--line); padding: 10px 28px 6px 12px; } .gd-searchbar button { flex: 1 1 auto; } }

/* ---------- 카테고리 카드 ---------- */
.gd-catgrid { display: grid; gap: 20px; margin-top: 40px; }
.gd-catcard { position: relative; display: flex; flex-direction: column; overflow: hidden; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh-sm); transition: .3s; }
.gd-catcard:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.gd-catcard .deco { position: absolute; right: -24px; top: -24px; width: 160px; height: 160px; opacity: .08; pointer-events: none; transition: opacity .3s; }
.gd-catcard:hover .deco { opacity: .16; }
.gd-catcard .head { display: flex; align-items: center; justify-content: space-between; }
.gd-catcard .icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; font-size: 24px; }
.gd-catcard.toilet .icon { background: var(--toilet-soft); } .gd-catcard.parking .icon { background: var(--parking-soft); } .gd-catcard.ev .icon { background: var(--ev-soft); }
.gd-catcard .count { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.gd-catcard h3 { margin-top: 20px; font-size: 20px; font-weight: 700; color: var(--ink); }
.gd-catcard ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.gd-catcard li { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.gd-catcard .cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; font-size: 14px; font-weight: 700; }
.gd-catcard .cta .ic { transition: transform .2s; }
.gd-catcard:hover .cta .ic { transform: translateX(4px); }
.gd-catcard.ev .count, .gd-catcard.ev .cta, .gd-catcard.ev li .ic, .gd-catcard.ev .icon, .gd-catcard.ev .deco { color: #65a30d; }
@media (min-width: 768px) { .gd-catgrid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 통계 ---------- */
.gd-stats { position: relative; overflow: hidden; padding: 56px 24px; border-radius: 32px; background: var(--primary); color: #fff; }
.gd-stats .rel { position: relative; }
.gd-stats h2 { text-align: center; color: #fff; }
.gd-stats .grid { position: static; display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; background: none; }
.gd-stats .grid > div { text-align: center; }
.gd-stats .v { margin: 0; font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.gd-stats .v span + * , .gd-stats .v::after { color: rgb(255 255 255 / .8); }
.gd-stats .k { margin: 8px 0 0; font-size: 14px; font-weight: 500; color: rgb(255 255 255 / .8); }
@media (min-width: 768px) { .gd-stats { padding: 80px 48px; } .gd-stats .grid { grid-template-columns: repeat(4, 1fr); } .gd-stats .v { font-size: 48px; } .gd-stats .k { font-size: 16px; } }

/* ---------- 지역별 찾기 (탭 + 링크 카드 / 모바일 아코디언) ---------- */
.gd-regions .tabs { display: none; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.gd-regions .tabs button { padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .2s; }
.gd-regions .tabs button:hover { color: var(--ink); }
.gd-regions .tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--sh-md); }
.gd-regions .panels { margin-top: 24px; display: grid; gap: 12px; }
.gd-regions .panel { overflow: hidden; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.gd-regions .acc { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 16px; border: 0; background: none; font-size: 16px; font-weight: 700; color: var(--ink); text-align: left; cursor: pointer; }
.gd-regions .acc .n { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 500; color: var(--ink-2); }
.gd-regions .acc .ic { transition: transform .2s; }
.gd-regions .acc[aria-expanded="true"] .ic { transform: rotate(90deg); }
.gd-regions .acc[aria-expanded="false"] + .links { display: none; }
.gd-regions .links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; padding: 0 16px 16px; }
.gd-regions .links a { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--soft); font-size: 14px; font-weight: 500; }
.gd-regions .links .n { display: inline-flex; align-items: center; gap: 2px; color: var(--ink-2); font-size: 13px; }
.gd-regions .links .n .ic { color: var(--primary); transition: transform .2s; }
.gd-regions .links a:hover .n .ic { transform: translateX(2px); }
@media (min-width: 768px) {
  .gd-regions .tabs { display: flex; }
  .gd-regions .panel { border: 0; background: none; border-radius: 0; overflow: visible; }
  .gd-regions .panel[hidden] { display: none; }
  .gd-regions .acc { display: none; }
  .gd-regions .acc[aria-expanded="false"] + .links { display: grid; }
  .gd-regions .links { grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 0; }
  .gd-regions .links a { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: .2s; }
  .gd-regions .links a:hover { transform: translateY(-2px); border-color: rgb(37 99 235 / .4); box-shadow: var(--sh-md); }
}

/* ---------- 버튼 · 뱃지 · 태그 ---------- */
.gd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 0; border-radius: 12px; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: .15s; }
.gd-btn:hover { background: var(--primary-2); color: #fff; transform: scale(1.02); }
.gd-btn.ghost { background: var(--card); color: var(--ink); border: 1px solid var(--line); }
.gd-btn.ghost:hover { background: var(--soft); color: var(--ink); }
.gd-btn.copied { background: var(--ok-bg); color: var(--ok-fg); border-color: #a7f3d0; }
.gd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.gd-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.gd-badge.toilet { background: var(--toilet-soft); color: #0f766e; } .gd-badge.parking { background: var(--parking-soft); color: var(--primary); } .gd-badge.ev { background: var(--ev-soft); color: #4d7c0f; }
.gd-badge.lg { font-size: 13px; padding: 7px 14px; }
.gd-tag { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; background: var(--soft); font-size: 12px; font-weight: 600; color: var(--ink); }
.gd-tag.ok { background: var(--ok-bg); color: var(--ok-fg); }

/* ---------- 시설 카드 목록 ---------- */
.gd-flist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.gd-fcard { display: block; position: relative; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); transition: .2s; }
.gd-fcard:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: rgb(37 99 235 / .3); }
.gd-fcard .top { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.gd-fcard .name { font-size: 17px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.gd-fcard .addr { display: flex; align-items: flex-start; gap: 6px; margin: 6px 0 0; font-size: 14px; color: var(--ink-2); }
.gd-fcard .addr .ic { margin-top: 3px; }
.gd-fcard .meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 10px; font-size: 13.5px; color: var(--ink-2); }
.gd-fcard .meta span { display: inline-flex; align-items: center; gap: 6px; }
.gd-fcard .more { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; color: var(--primary); }
.gd-fcard .more .ic { transition: transform .2s; }
.gd-fcard:hover .more .ic { transform: translateX(3px); }
.gd-count { color: var(--ink-2); font-size: 14px; margin: 0 0 12px; }
.gd-count b { color: var(--ink); }
.gd-empty { padding: 40px 16px; text-align: center; color: var(--ink-2); background: var(--card); border: 1px dashed var(--line); border-radius: 16px; font-size: 14px; }
@media (min-width: 640px) { .gd-flist.cols { grid-template-columns: repeat(2, 1fr); } .gd-fcard .more { position: static; margin-top: 12px; } }
@media (max-width: 639px) { .gd-fcard .more { display: none; } }

/* 필터 칩 */
.gd-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.gd-tabs a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; color: var(--ink-2); transition: .2s; }
.gd-tabs a:hover { color: var(--ink); }
.gd-tabs a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: var(--sh-md); }

/* 페이지 넘김 */
.gd-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 24px 0 0; font-size: 14px; }
.gd-pager a, .gd-pager span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; }
.gd-pager a:hover { border-color: var(--primary); }
.gd-pager .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.gd-pager .dots { border: 0; background: transparent; color: var(--ink-2); }

/* ---------- 허브(목록) 페이지 ---------- */
.gd-hub, .gd-detail { max-width: var(--read); margin: 0 auto; padding: 28px 16px 56px; }
.gd-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-2); margin: 0 0 16px; }
.gd-crumb a:hover { color: var(--ink); }
.gd-crumb .sep { color: #cbd5e1; }
.gd-hub .title { display: flex; align-items: center; gap: 16px; }
.gd-hub .title .icon { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 16px; font-size: 28px; flex: none; }
.gd-hub .title .icon.toilet { background: var(--toilet-soft); } .gd-hub .title .icon.parking { background: var(--parking-soft); } .gd-hub .title .icon.ev { background: var(--ev-soft); color: #65a30d; }
.gd-hub .title p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }
.gd-intro { margin: 20px 0 0; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); color: var(--ink-2); font-size: 15px; line-height: 1.7; }
.gd-intro p { margin: 0 0 8px; } .gd-intro p:last-child { margin: 0; }
.gd-hub .gd-searchbar { margin-top: 20px; }
.gd-stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0; }
.gd-stat { padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.gd-stat .k { display: block; font-size: 13px; color: var(--ink-2); }
.gd-stat .v { display: block; margin-top: 2px; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.gd-stat.ok .v { color: var(--ok-fg); }
@media (min-width: 640px) { .gd-stats-row { grid-template-columns: repeat(var(--n, 3), 1fr); } }
.gd-links { margin-top: 40px; }
.gd-links h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.gd-links .wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-links .wrap a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-size: 14px; font-weight: 600; transition: .2s; }
.gd-links .wrap a:hover { transform: translateY(-2px); box-shadow: var(--sh-md); border-color: rgb(37 99 235 / .4); }
.gd-links .wrap a span { color: var(--ink-2); font-size: 12px; font-weight: 500; }
.gd-notice { margin-top: 24px; padding: 12px 14px; border-radius: 12px; background: var(--soft); color: var(--ink-2); font-size: 13px; line-height: 1.6; }
.gd-ad { margin: 24px 0; min-height: 90px; display: grid; place-items: center; background: var(--card); border: 1px dashed var(--line); border-radius: 16px; color: var(--ink-2); font-size: 12px; }
.gd-ad:empty { display: none; }

/* ---------- 상세 페이지 ---------- */
.gd-detail .back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 20px; }
.gd-detail .back:hover { color: var(--ink); }
.gd-detail .hero { display: grid; gap: 24px; }
.gd-detail .badges { display: flex; flex-wrap: wrap; gap: 8px; }
.gd-detail h1 { margin-top: 16px; font-size: 28px; }
.gd-detail .summary { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); }
.gd-detail address { display: flex; align-items: flex-start; gap: 8px; margin-top: 14px; font-style: normal; font-size: 15px; color: var(--ink); }
.gd-detail address .ic { margin-top: 4px; color: var(--primary); }
.gd-detail address .sub { display: block; font-size: 13px; color: var(--ink-2); }
.gd-mappanel { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); box-shadow: var(--sh-sm); }
.gd-mappanel iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.gd-mappanel .note { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 10px 12px; border-radius: 12px; background: rgb(255 255 255 / .92); font-size: 13px; color: var(--ink-2); text-align: center; }
@media (min-width: 768px) { .gd-detail .hero { grid-template-columns: 1fr 1fr; align-items: start; } .gd-detail h1 { font-size: 32px; } .gd-mappanel { aspect-ratio: 4 / 4.2; } }
.gd-quickgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 32px 0 0; }
.gd-quick { display: grid; grid-template-columns: 36px 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.gd-quick .ic-wrap { grid-row: 1 / 3; display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 12px; background: var(--soft); color: var(--primary); font-size: 16px; }
.gd-quick dt { font-size: 12px; font-weight: 500; color: var(--ink-2); }
.gd-quick dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; color: var(--ink); line-height: 1.35; }
@media (min-width: 768px) { .gd-quickgrid { grid-template-columns: repeat(4, 1fr); } }
.gd-card { margin-top: 24px; padding: 24px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card); }
.gd-card h2 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.gd-dl { display: grid; grid-template-columns: 120px 1fr; margin: 0; }
.gd-dl dt { padding: 11px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-2); }
.gd-dl dd { margin: 0; padding: 11px 0; border-top: 1px solid var(--line); font-size: 15px; font-weight: 500; }
.gd-dl dt:first-of-type, .gd-dl dd:first-of-type { border-top: 0; }
.gd-dl dd .empty { color: #cbd5e1; }
@media (max-width: 640px) { .gd-dl { grid-template-columns: 96px 1fr; } }
.gd-related { margin-top: 40px; }
.gd-related h2 { font-size: 18px; font-weight: 700; margin-bottom: 14px; }

/* ---------- 가이드 글 / 고정 페이지 ---------- */
.single-post .site-main > article, .page:not(.home) .site-main > article { max-width: var(--read) !important; margin: 28px auto 56px !important; padding: 28px 24px !important; background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: var(--r-lg) !important; box-shadow: var(--sh-sm); }
h1.entry-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.gd-post-meta { font-size: 13px; color: var(--ink-2); margin: 0 0 20px; }
.entry-content { font-size: 17px; line-height: 1.8; }
.entry-content p { margin: 0 0 1.2em; }
.entry-content h2 { font-size: 21px; font-weight: 800; margin: 2em 0 .7em; padding-top: 1em; border-top: 1px solid var(--line); }
.entry-content h3 { font-size: 17px; font-weight: 700; margin: 1.5em 0 .5em; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin: .3em 0; }
.entry-content a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #bfdbfe; }
.entry-content blockquote { margin: 1.2em 0; padding: 0 0 0 1em; border-left: 2px solid var(--line); color: var(--ink-2); }
.entry-content > :first-child { margin-top: 0; }
.archive .site-main > .page-header { max-width: var(--read); margin: 28px auto 0 !important; padding: 0 16px !important; }
.archive .page-header h1 { font-size: 26px; font-weight: 800; }
.archive .site-main > article { max-width: var(--read) !important; margin: 12px auto !important; padding: 20px !important; background: var(--card) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; }
.archive .site-main > article h2.entry-title { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.archive .site-main > article .entry-summary { font-size: 15px; color: var(--ink-2); }
.archive .site-main > article .read-more { font-size: 14px; color: var(--primary); }
.no-results { max-width: var(--read); margin: 28px auto; padding: 0 16px; }
.no-results h1 { font-size: 24px; font-weight: 800; }
.no-results .search-form { display: flex; gap: 8px; }
.no-results .search-field { flex: 1; min-width: 0; font: inherit; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; }
.no-results .search-submit { font: inherit; font-weight: 700; color: #fff; background: var(--primary); border: 0; border-radius: 12px; padding: 10px 16px; }

/* ---------- 푸터 ---------- */
.site-footer, .site-footer .site-info, .site-footer .inside-site-info { background: var(--card) !important; color: var(--ink-2) !important; }
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; }
.site-footer .site-info, .site-footer .inside-site-info { width: 100%; box-sizing: border-box; padding: 0 !important; }
.gd-footer { max-width: var(--wrap); margin: 0 auto; padding: 56px 16px 40px; font-size: 14px; }
.gd-footer .cols { display: grid; gap: 32px; }
.gd-footer .desc { margin: 16px 0 0; line-height: 1.7; color: var(--ink-2); }
.gd-footer h3 { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.gd-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gd-footer ul.two { grid-template-columns: 1fr 1fr; }
.gd-footer a { color: var(--ink-2); } .gd-footer a:hover { color: var(--ink); }
.gd-footer .bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.gd-footer .bottom p { margin: 2px 0; }
@media (min-width: 768px) { .gd-footer .cols { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }

/* ---------- 모바일 하단 내비 ---------- */
.gd-bottomnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; justify-content: space-around; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgb(255 255 255 / .92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.gd-bottomnav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; border-radius: 12px; font-size: 11px; font-weight: 600; color: var(--ink-2); }
.gd-bottomnav a .ic { font-size: 20px; }
.gd-bottomnav a[aria-current] { color: var(--primary); }
@media (min-width: 900px) { .gd-bottomnav { display: none; } }
/* 내 주변 */
.gd-fcard .meta .dist { font-weight: 800; color: var(--primary); }
[data-near].busy { opacity: .5; pointer-events: none; }
