@charset "UTF-8";

/* 기본 초기화 */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", Dotum, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
}

a {
    color: #1a73e8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* 레이아웃 컨테이너 */
.container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px;
}

/* 상단 헤더 스타일 */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #eeeeee;
    padding: 15px 20px;
    text-align: center;
}

header .site-logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: #222222;
    letter-spacing: -0.5px;
}

/* 메인 및 서브 상단 인트로 */
.main-intro, .seo-content {
    margin: 30px 0;
    text-align: left;
}

.main-intro h1, .seo-content h1 {
    font-size: 1.8rem;
    color: #111111;
    margin-bottom: 10px;
}

.main-intro p, .seo-content .subtitle {
    font-size: 1.05rem;
    color: #666666;
}

/* 브레드크럼 */
.breadcrumb {
    font-size: 0.9rem;
    color: #888888;
    margin-bottom: 15px;
}
.breadcrumb a { color: #888888; }

/* SEO용 강조 텍스트 박스 */
.keyword-highlights {
    background-color: #f8f9fa;
    border-left: 4px solid #34a853;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-size: 0.95rem;
}
.keyword-highlights ul { list-style: none; }

/* 지도 영역 레이아웃 */
.map-wrapper {
    margin: 25px 0;
}

/* 메인 페이지 시도/시군구 컴포넌트 구조 */
.region-selector {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
}

.sido-box {
    background: #ffffff;
    border: 1px solid #e3e3e3;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.sido-box h2 {
    font-size: 1.2rem;
    color: #222222;
    border-bottom: 2px solid #333333;
    padding-bottom: 8px;
    margin-bottom: 15px;
}

.sigungu-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
}

.sigungu-links a {
    display: block;
    background: #fdfdfd;
    border: 1px solid #eaeaea;
    padding: 10px;
    text-align: center;
    border-radius: 6px;
    font-size: 0.95rem;
    color: #444444;
    transition: all 0.2s ease;
}

.sigungu-links a:hover {
    background: #1a73e8;
    color: #ffffff;
    border-color: #1a73e8;
    text-decoration: none;
    transform: translateY(-2px);
}

/* 상세페이지 리스트 테이블 스타일 */
.location-list h2 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222222;
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.95rem;
}

.data-table th, .data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #eeeeee;
    text-align: left;
}

.data-table th {
    background-color: #fcfcfc;
    color: #555555;
    font-weight: 600;
    border-top: 2px solid #dddddd;
}

.text-center { text-align: center !important; }

/* 위치보기 액션 버튼 */
.btn-move-map {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    color: #495057;
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-move-map:hover {
    background-color: #e9ecef;
    color: #000000;
}

.no-data {
    padding: 40px;
    text-align: center;
    color: #888888;
}

/* 하단 푸터 스타일 커스텀 */
footer {
    padding: 30px 20px;
    font-size: 0.85rem;
    color: #777777;
    background-color: #fafafa;
}
footer a {
    display: block;
    text-align: center;
    margin-bottom: 10px;
    color: #555555;
}

