/* =================== [공통 레이아웃] =================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: "Noto Sans KR", sans-serif;
}

/* 메인 */
main {
  width: 100%;
}

/* =================== [카드/지도 리스트] =================== */
.map-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 auto;
  max-width: 1200px;
}

/* 지도 */
.map-container {
  width: 100%;
  height: 400px;  /* ✅ 높이 지정 */
  border-radius: 10px;
  margin-bottom: 20px;
}

/* 지도 안 카드 active */
.map-card.active {
  border: 2px solid #ff5b77;
  background: #fff6f8;
  transition: 0.2s;
}

/* =================== [지역 컨텐츠 영역] =================== */
.district-content {
  max-width: 1200px;
  margin: 40px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 섹션 공통 */
.district-section {
  margin-bottom: 40px;
}
.district-section h2,
.district-section h3 {
  margin-bottom: 15px;
  color: #222;
}
.district-section h2 {
  font-size: 22px;
  font-weight: 700;
  border-left: 6px solid #ff5b77;
  padding-left: 12px;
}
.district-section h3 {
  font-size: 18px;
  font-weight: 600;
}

/* 가격표 */
.district-pricing table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}
.district-pricing th,
.district-pricing td {
  border: 1px solid #eee;
  padding: 10px;
  font-size: 14px;
  text-align: center;
}
.district-pricing th {
  background: #fafafa;
  font-weight: 600;
}

/* CTA */
.cta-box {
  text-align: center;
  padding: 25px;
  background: #ff5b77;
  border-radius: 12px;
  color: #fff;
}
.cta-btn {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #ff5b77;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.2s;
}
.cta-btn:hover {
  background: #ffe6ec;
}

/* =================== [버튼 + 헤더] =================== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.section-title {
  font-size: 22px;
  font-weight: bold;
  border-left: 5px solid #ff5b77;
  padding-left: 10px;
}
.more-btn {
  background: #ff5b77;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s;
  padding: 6px 12px;
  font-size: 14px;
}
.more-btn:hover {
  background: #e44b68;
}

/* =================== [반응형] =================== */
@media (max-width: 768px) {
  .container,
  .district-content,
  .map-list {
    padding: 15px;
  }
  .map-container {
    height: 280px;  /* 모바일에서 높이 줄임 */
  }
  .district-section h2 {
    font-size: 18px;
  }
  .district-section h3 {
    font-size: 16px;
  }
}
