/* 읍면동 SEO 페이지 전용 스타일 (지도 앱과 분리, 가볍게) */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #333;
    background: #f7faf5;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

.pg-header {
    height: 50px;
    background: #d5f7a0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.pg-logo { height: 40px; width: auto; }

.pg-main {
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 16px 24px;
}

.pg-breadcrumb {
    font-size: 0.78rem;
    color: #888;
    margin-bottom: 10px;
    word-break: keep-all;
}
.pg-breadcrumb a { color: #2E7D32; text-decoration: none; }
.pg-breadcrumb a:hover { text-decoration: underline; }
.pg-breadcrumb .sep { color: #ccc; margin: 0 2px; }

.pg-h1 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1b5e20;
    margin-bottom: 10px;
    word-break: keep-all;
}

.pg-h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #2E7D32;
    margin: 22px 0 10px;
}
.pg-h2 a { color: #2E7D32; text-decoration: none; }
.pg-h2-sub { font-size: 0.8rem; font-weight: 400; color: #999; }

.pg-intro {
    font-size: 0.92rem;
    color: #444;
    background: #fff;
    border: 1px solid #e6efdc;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    word-break: keep-all;
}
.pg-intro b { color: #1b5e20; }

.pg-area-cta, .pg-map-cta {
    display: inline-block;
    background: #27AE60;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 11px 18px;
    border-radius: 10px;
    margin-bottom: 8px;
}
.pg-area-cta:active, .pg-map-cta:active { opacity: 0.85; }

/* 장소 목록 */
.pg-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pg-place a {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 12px 14px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pg-place a:hover { border-color: #A5D6A7; box-shadow: 0 2px 10px rgba(39, 174, 96, 0.1); }
.pg-place-icon { font-size: 1.1rem; line-height: 1.4; flex-shrink: 0; }
.pg-place-body { display: flex; flex-direction: column; min-width: 0; }
.pg-place-name { font-weight: 600; font-size: 0.92rem; color: #222; }
.pg-place-addr { font-size: 0.8rem; color: #777; margin-top: 1px; }
.pg-place-info { font-size: 0.76rem; color: #2E7D32; margin-top: 3px; }

/* 동네 그리드 (허브/시 페이지) */
.pg-dong-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 8px;
}
.pg-dong-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 12px 14px;
    text-decoration: none;
    color: #333;
}
.pg-dong-card:hover { border-color: #A5D6A7; }
.pg-dong-name { font-weight: 600; font-size: 0.9rem; }
.pg-dong-count { font-size: 0.78rem; font-weight: 700; color: #27AE60; }

/* 이웃 동네 링크 */
.pg-siblings { margin-top: 26px; }
.pg-sibling-links { display: flex; flex-wrap: wrap; gap: 6px; }
.pg-sibling-links a {
    font-size: 0.8rem;
    color: #555;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    padding: 5px 12px;
    text-decoration: none;
}
.pg-sibling-links a:hover { border-color: #A5D6A7; color: #2E7D32; }

.pg-footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 20px 16px 32px;
    text-align: center;
    border-top: 1px solid #eee;
}
.pg-map-cta { margin-bottom: 12px; }
.pg-foot-note { font-size: 0.76rem; color: #999; margin-bottom: 6px; word-break: keep-all; }
.pg-foot-copy { font-size: 0.72rem; color: #bbb; }

@media (min-width: 768px) {
    .pg-h1 { font-size: 1.5rem; }
}
