/* ===== 기본 설정 ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --yellow:    #D99A2B;
  --yellow-lt: #E8B558;
  --yellow-dk: #B37D1A;
  --yellow-bg: #FAF3E0;
  --cream:     #F5F1E8;
  --cream-dk:  #EAE3D0;
  --brown:     #4A3427;
  --brown-lt:  #7A5C44;
  --brown-xs:  #C4A882;
  --card:      #FFFFFF;
  --text:      #4A3427;
  --text-muted:#7A5C44;
  --red-bg:    #FFF5F5;
  --red-border:#FED7D7;
  --red-text:  #C53030;
  --shadow:    0 4px 20px rgba(74, 52, 39, 0.13);
  --shadow-sm: 0 2px 8px rgba(74, 52, 39, 0.08);
  --radius:    16px;
  --radius-sm: 10px;
}

body {
  font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { text-decoration: none; color: inherit; }

/* ===== 헤더 ===== */
.header {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dk) 100%);
  padding: 20px 0;
  box-shadow: 0 4px 20px rgba(217, 154, 43, 0.35);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.logo { display: flex; align-items: center; gap: 14px; }

.logo-icon {
  font-size: 3rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.logo-title {
  color: #FFF;
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-sub { color: rgba(255,255,255,0.85); font-size: 0.85rem; }

.badge {
  background: rgba(255,255,255,0.2);
  color: #FFF;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.35);
}

/* ===== 탭 네비게이션 ===== */
.tab-nav {
  background: var(--card);
  border-bottom: 2px solid var(--cream-dk);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(74, 52, 39, 0.06);
}

.tab-nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
}

.tab-btn {
  background: none;
  border: none;
  padding: 16px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  white-space: nowrap;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.tab-btn:hover { color: var(--yellow); background: var(--cream); }
.tab-btn.active { color: var(--yellow-dk); border-bottom-color: var(--yellow); }
.tab-icon { font-size: 1.1rem; }

/* ===== 메인 ===== */
.main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 20px 60px;
}

.tab-content { display: none; }
.tab-content.active { display: block; }

/* ===== 섹션 헤더 ===== */
.section-header { margin-bottom: 28px; }

.section-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.section-header p { color: var(--text-muted); font-size: 0.95rem; }

/* ─────────────────────────────
   뉴스 탭
───────────────────────────── */

/* 필터 행 — 버튼 + 카운터 */
.news-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.news-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.news-count {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brown-xs);
  white-space: nowrap;
}

.filter-btn {
  background: var(--card);
  border: 2px solid var(--cream-dk);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover { border-color: var(--yellow-lt); color: var(--yellow-dk); }
.filter-btn.active { background: var(--yellow); border-color: var(--yellow); color: #FFF; }

/* 카드 그리드 */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}

/* ── 뉴스 카드 (<a> 태그) ── */
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  color: var(--text);
  transition: transform 0.22s, box-shadow 0.22s;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

/* 컬러 상단 액센트 바 + 이모지 */
.news-card-accent {
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: filter 0.2s;
}

.news-card-emoji {
  font-size: 2.4rem;
  filter: drop-shadow(0 1px 3px rgba(0,0,0,0.08));
}

.news-card:hover .news-card-accent { filter: brightness(0.97); }

/* 카드 본문 */
.news-card-body {
  padding: 18px 20px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

/* 태그 + 외부 링크 아이콘 */
.news-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.news-tag {
  display: inline-block;
  padding: 3px 11px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.news-ext-icon {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brown-xs);
  background: var(--cream);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.18s, color 0.18s;
}

.news-card:hover .news-ext-icon {
  background: var(--yellow);
  color: #FFF;
}

/* 제목 — 최대 3줄 */
.news-card-title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 9px;
  color: var(--text);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 요약 — 최대 3줄 */
.news-card-summary {
  font-size: 0.855rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* 메타 + 읽기 CTA */
.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--cream-dk);
  margin-top: auto;
}

.news-card-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.76rem;
  color: var(--brown-xs);
  line-height: 1.4;
}

.news-read-more {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--yellow-dk);
  white-space: nowrap;
  transition: color 0.18s;
  flex-shrink: 0;
}

.news-card:hover .news-read-more { color: var(--yellow); }

/* ─────────────────────────────
   병원 탭 — 카카오 지도 검색
───────────────────────────── */

/* 검색 바 행 */
.hosp-search-row {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  align-items: stretch;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  background: var(--card);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  gap: 10px;
  border: 2px solid var(--cream-dk);
  transition: border-color 0.2s;
}

.search-box:focus-within { border-color: var(--yellow-lt); }
.search-icon { font-size: 1.1rem; flex-shrink: 0; }

.search-input {
  border: none;
  background: none;
  font-size: 1rem;
  padding: 10px 0;
  width: 100%;
  color: var(--text);
  outline: none;
}

.search-input::placeholder { color: var(--brown-xs); }

/* 검색 버튼 */
.hosp-search-btn {
  background: var(--yellow);
  color: #FFF;
  border: none;
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.15s;
}

.hosp-search-btn:hover { background: var(--yellow-dk); transform: translateY(-1px); }

/* 힌트 태그 */
.hosp-hints {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.hosp-hint {
  background: var(--cream-dk);
  color: var(--brown-lt);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  border: 1px solid transparent;
}

.hosp-hint:hover {
  background: var(--yellow-bg);
  border-color: var(--yellow-lt);
  color: var(--yellow-dk);
}

/* 검색 결과 수 */
.hospital-count {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 14px;
}

/* 지도 + 결과 레이아웃 */
.hosp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: start;
}

/* 지도 컨테이너 */
.hosp-map {
  height: 540px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--cream-dk);
  position: sticky;
  top: 70px; /* 탭 nav 높이 */
}

/* 지도 placeholder (SDK 로드 전) */
.hosp-map-placeholder {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brown-xs);
}

.hosp-map-placeholder span { font-size: 3rem; }
.hosp-map-placeholder p { font-size: 0.9rem; text-align: center; }

/* 결과 목록 영역 */
.hosp-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 540px;
  overflow-y: auto;
  padding-right: 4px;
}

/* 스크롤바 스타일 */
.hosp-results::-webkit-scrollbar { width: 6px; }
.hosp-results::-webkit-scrollbar-track { background: var(--cream-dk); border-radius: 6px; }
.hosp-results::-webkit-scrollbar-thumb { background: var(--brown-xs); border-radius: 6px; }

/* 병원 카드 */
.hospital-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  border-left: 5px solid var(--yellow);
  cursor: pointer;
  transition: transform 0.18s, box-shadow 0.18s;
}

.hospital-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

/* 번호 + 이름 행 */
.hospital-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.hosp-num-name {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

/* 결과 번호 뱃지 */
.hosp-num {
  flex-shrink: 0;
  background: var(--yellow);
  color: #FFF;
  font-size: 0.78rem;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.hospital-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  word-break: keep-all;
}

.hospital-region-tag {
  display: inline-block;
  background: var(--yellow-bg);
  color: var(--yellow-dk);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 8px;
}

/* 지도에서 보기 버튼 */
.map-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--yellow);
  color: #FFF;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  transition: background 0.18s;
  white-space: nowrap;
}

.map-btn:hover { background: var(--yellow-dk); }

.hospital-info { display: flex; flex-direction: column; gap: 5px; }

.hospital-info-row {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.info-icon { flex-shrink: 0; }

.phone-link {
  color: var(--yellow-dk);
  font-weight: 700;
}

.phone-link:hover { text-decoration: underline; }

/* 로딩 인디케이터 */
.hosp-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hosp-spinner {
  width: 20px;
  height: 20px;
  border: 3px solid var(--cream-dk);
  border-top-color: var(--yellow);
  border-radius: 50%;
  display: inline-block;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* 결과 없음 */
.no-result {
  text-align: center;
  padding: 40px 16px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.9;
}

.no-result span { display: block; font-size: 2.5rem; margin-bottom: 10px; }

/* API 키 오류 */
.hosp-api-error {
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 24px;
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.hosp-api-error span { display: block; font-size: 2rem; margin-bottom: 10px; text-align: center; }
.hosp-api-error strong { font-size: 1rem; color: var(--text); display: block; margin-bottom: 14px; text-align: center; }

.api-guide-list {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.api-guide-list a { color: var(--yellow-dk); font-weight: 700; }
.api-guide-list code {
  background: var(--cream-dk);
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.82rem;
  color: var(--brown);
}

/* ─────────────────────────────
   나이 계산기 탭
───────────────────────────── */
.age-calculator-card {
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-dk) 100%);
  border-radius: var(--radius);
  padding: 28px;
  color: #FFF;
  margin-bottom: 36px;
  box-shadow: 0 8px 24px rgba(217, 154, 43, 0.3);
}

.age-calculator-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 20px; }

.age-input-row {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.age-input-group { display: flex; flex-direction: column; gap: 6px; }

.age-input-group label { font-size: 0.85rem; font-weight: 600; opacity: 0.9; }

.age-input {
  width: 120px;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.2);
  color: #FFF;
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s;
}

.age-input::placeholder { color: rgba(255,255,255,0.6); }
.age-input:focus { border-color: rgba(255,255,255,0.85); }

.calc-btn {
  background: #FFF;
  color: var(--yellow-dk);
  border: none;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.calc-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }

/* 계산 결과 박스 */
.age-result {
  margin-top: 20px;
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
}

.age-result-main {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.age-result-stage-name {
  font-size: 1rem;
  font-weight: 700;
  opacity: 0.9;
  margin-bottom: 8px;
}

.age-result-desc {
  font-size: 0.88rem;
  opacity: 0.92;
  line-height: 1.55;
  margin-bottom: 16px;
}

/* 주의질환 + 관리포인트 2컬럼 */
.age-result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 560px) {
  .age-result-grid { grid-template-columns: 1fr; }
}

.age-result-box {
  background: rgba(255,255,255,0.18);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.age-result-box-title {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 8px;
  opacity: 0.95;
}

.age-result-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.age-result-list li {
  font-size: 0.82rem;
  opacity: 0.92;
  padding-left: 8px;
  border-left: 2px solid rgba(255,255,255,0.5);
  line-height: 1.4;
}

/* 생애 단계 카드 */
.age-stages h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}

.stages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.stage-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border-top: 5px solid var(--yellow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.stage-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

/* 계산기 결과에서 하이라이트 */
.stage-card.highlighted {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px rgba(217,154,43,0.15), var(--shadow);
}

.stage-emoji { font-size: 2rem; margin-bottom: 10px; }

.stage-name { font-size: 1.05rem; font-weight: 800; color: var(--text); margin-bottom: 4px; }

.stage-age-range { font-size: 0.82rem; color: var(--yellow-dk); font-weight: 700; margin-bottom: 10px; }

.stage-desc { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }

.stage-section {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--cream-dk);
}

.stage-section-title {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--brown-lt);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.stage-tip-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1.4;
}

.stage-tip-item.disease {
  background: #FFF5F5;
  color: #C53030;
  border-left: 3px solid #FEB2B2;
}

/* ─────────────────────────────
   건강 상식 탭
───────────────────────────── */
.health-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.health-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.health-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.health-card-icon { font-size: 2.5rem; margin-bottom: 12px; }

.health-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.health-card-body {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}

.health-tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.health-tips-list li {
  font-size: 0.83rem;
  color: var(--text);
  padding: 6px 12px;
  background: var(--cream);
  border-radius: 8px;
  border-left: 3px solid var(--yellow-lt);
  line-height: 1.45;
}

.health-alert {
  padding: 10px 14px;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--red-text);
  font-weight: 600;
  margin-bottom: 12px;
}

/* 카드 하단 푸터 — 자세히 보기 + 외부 링크 */
.health-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--cream-dk);
  gap: 10px;
}

.detail-toggle {
  background: var(--yellow-bg);
  border: 1px solid #E8C97A;
  color: var(--yellow-dk);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.detail-toggle:hover { background: var(--yellow); color: #FFF; }

.health-ext-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brown-lt);
  white-space: nowrap;
  transition: color 0.2s;
}

.health-ext-link:hover { color: var(--yellow-dk); text-decoration: underline; }

/* 아코디언 확장 영역 */
.health-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.2s ease;
}

.health-detail.open {
  max-height: 300px;
  padding-top: 14px;
}

.health-detail p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.75;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border-left: 4px solid var(--yellow-lt);
}

/* ===== 푸터 ===== */
.footer {
  text-align: center;
  padding: 28px 20px;
  background: var(--card);
  border-top: 2px solid var(--cream-dk);
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.9;
}

.footer-note { font-size: 0.78rem; opacity: 0.65; }

/* ===== 반응형 ===== */
@media (max-width: 860px) {
  /* 태블릿: 지도+결과 세로 배치 */
  .hosp-layout {
    grid-template-columns: 1fr;
  }
  .hosp-map {
    height: 340px;
    position: static;
  }
  .hosp-results {
    max-height: 480px;
  }
}

@media (max-width: 640px) {
  .logo-title { font-size: 1.3rem; }
  .logo-icon { font-size: 2.2rem; }
  .tab-btn { padding: 14px 14px; font-size: 0.85rem; }
  .age-input-row { flex-direction: column; align-items: stretch; }
  .age-input { width: 100%; }
  .calc-btn { width: 100%; text-align: center; }
  .news-grid, .health-grid, .stages-grid { grid-template-columns: 1fr; }
  .hosp-search-row { flex-direction: column; }
  .hosp-search-btn { padding: 12px; }
  .hosp-map { height: 260px; }
  .hosp-results { max-height: none; }
  .hospital-card-header { flex-direction: column; align-items: flex-start; }
}
