/* ============================================================
   홈 전용 스타일 — v2 (당근·토스식 밝은 분기형)
   핵심 사용자: 40~50대 부양 가족.
   첫 화면에서 검색 + 큰 분기 블록으로 즉시 이동.
   폭: 전역 --maxw=1280px (헤더~본문~푸터 전 페이지 통일)
   ============================================================ */

/* ----- 히어로 ----- */
.home-hero {
  background: var(--white);
  padding: 38px 0 32px;
  border-bottom: 1px solid var(--line);
  position: relative; z-index: 20;
}
.hero-inner { max-width: 100%; }
.home-hero h1.hero-oneline {
  font-family: var(--font-serif);
  font-size: calc(var(--fs-hero) * 1.42); font-weight: 700;
  line-height: 1.25; letter-spacing: -0.02em; color: var(--ink);
  white-space: nowrap;
  margin-bottom: 18px;
}
.home-hero h1.hero-oneline em {
  font-style: normal; color: var(--teal);
}
.home-hero h1.hero-oneline .hw {
  display: inline-block;
}
.home-hero h1.hero-oneline .hsep {
  display: inline-block;
  margin: 0 0.5em;
  color: var(--ink-faint);
  font-weight: 400;
  vertical-align: 0.08em;
}
/* 좁은 화면에서는 한 줄 강제를 풀어 자연스럽게 줄바꿈 */
@media (max-width: 720px) {
  .home-hero h1.hero-oneline {
    white-space: normal;
    font-size: 30px;
    line-height: 1.32;
  }
}

/* ----- 검색창 ----- */
.home-search {
  position: relative;
  display: flex; align-items: center; gap: 8px;
  background: var(--white);
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 6px 6px 6px 20px;
  margin-top: 16px;
  box-shadow: var(--shadow);
}
.home-search:focus-within { border-color: var(--teal); }
.home-search .hs-ic { font-size: 19px; flex-shrink: 0; }
.home-search input {
  flex: 1; border: none; outline: none;
  font-family: var(--font-body); font-size: 16.5px; color: var(--ink);
  background: transparent; padding: 10px 4px;
}
.home-search input::placeholder { color: var(--ink-faint); }
.home-search #searchBtn {
  flex-shrink: 0;
  background: var(--teal); color: var(--white);
  border: none; border-radius: var(--radius-pill);
  font-family: var(--font-body); font-size: 15px; font-weight: 700;
  padding: 0 26px; height: 46px; cursor: pointer;
  transition: background .12s;
}
.home-search #searchBtn:hover { background: var(--teal-deep); }

/* ----- 검색 결과 드롭다운 ----- */
.search-results {
  display: none;
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lift);
  overflow: hidden; z-index: 30;
}
.search-results.show { display: block; }
.sr-item {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.sr-item:last-child { border-bottom: none; }
.sr-item:hover { background: var(--paper); text-decoration: none; }
.sr-item .sr-ic {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--teal-tint); color: var(--teal-deep);
  display: grid; place-items: center; font-size: 18px; flex-shrink: 0;
}
.sr-item .sr-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.sr-item .sr-title {
  font-size: 15px; font-weight: 700; color: var(--ink);
  display: flex; align-items: center; gap: 7px;
}
.sr-item .sr-type {
  font-size: 14px; font-weight: 700; color: var(--teal);
  background: var(--teal-tint); border-radius: var(--radius-pill);
  padding: 2px 8px;
}
.sr-item .sr-desc {
  font-size: 14px; color: var(--ink-soft);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sr-none { padding: 20px 18px; font-size: 14px; color: var(--ink-soft); }

/* ----- 많이 찾는 것 ----- */
.hero-hints {
  margin-top: 12px; font-size: 14px; color: var(--ink-faint);
}
.hero-hints a {
  color: var(--ink-soft); font-weight: 600;
  padding: 4px 10px; margin: 0 2px;
  background: var(--paper-deep); border-radius: var(--radius-pill);
  display: inline-block;
}
.hero-hints a:hover { background: var(--teal-tint); color: var(--teal-deep); text-decoration: none; }

/* ----- 섹션 공통 ----- */
.events-section { padding: var(--gap-major) 0 0; }
.tools-section { padding: var(--gap-section) 0 0; }
.sec-head { margin-bottom: 18px; }
/* 지도+벽돌 섹션 — 위 안내 제목을 없앤 만큼 상단 여백을 둔다 */
.bricks-section { padding: var(--gap-section) 0 0; }

/* ----- 사건 분기 그리드 (당근식) ----- */
.event-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.ev-card {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px 15px;
  transition: transform .13s, box-shadow .13s, border-color .13s;
}
.ev-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}
.ev-ic {
  width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; font-size: 21px; flex-shrink: 0;
}
.ev-ic-teal  { background: var(--teal-tint);  }
.ev-ic-amber { background: var(--amber-tint); }
.ev-ic-alert { background: var(--alert-tint); }
.ev-body { display: flex; flex-direction: column; gap: 3px; }
.ev-body strong {
  font-size: 16px; font-weight: 800; color: var(--ink);
  letter-spacing: -0.02em;
}
.ev-body span { font-size: 14px; color: var(--ink-soft); line-height: 1.5; }

/* ===================== 기능 벽돌 그리드 ===================== */
/* ───── 지도 히어로 — 좌(전국 지도 검색) + 우(섹터 압축) ───── */
.map-hero {
  display: grid;
  grid-template-columns: 1fr 1.32fr;
  gap: 20px;
  align-items: stretch;
}
/* 좌측: 지도 검색 패널 — 우측 벽돌 높이에 맞춰 늘어난다 */
.mh-map-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.mh-map-panel h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 900; color: var(--teal-deep);
  text-align: center;
  margin-bottom: 4px;
}
.mh-map-panel .mh-sub {
  font-size: 14px; color: var(--ink-soft);
  text-align: center;
  margin-bottom: 14px;
}
/* 분류 칩 */
.mh-cats { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.mh-cat {
  display: flex; align-items: center;
  font-size: 15.5px; font-weight: 800;
  padding: 9px 15px; border-radius: 22px;
  border: 2px solid var(--line-strong); background: var(--white);
  color: var(--ink); cursor: pointer;
  transition: border-color .12s, background .12s, color .12s;
}
.mh-cat:hover { border-color: var(--teal); }
.mh-cat.on {
  border-color: var(--teal); background: var(--teal);
  color: #fff;
}
/* 지도 영역 — 패널이 늘어나면 함께 늘어나 우측 높이를 맞춘다 */
.mh-map-box {
  flex: 1;
  min-height: 300px;
  background: var(--paper);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex; align-items: center; justify-content: center;
}
.mh-map-box svg {
  width: 100%; max-width: 420px; height: 100%;
  max-height: 100%; object-fit: contain;
}
/* 지도 아래 선택 줄 */
.mh-pick-row { display: flex; gap: 8px; margin-top: 14px; }
.mh-pick-row select {
  flex: 1; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 15px; color: var(--ink); background: var(--white);
}
.mh-go-btn {
  flex-shrink: 0; padding: 0 22px; height: 44px;
  background: var(--teal); color: var(--white);
  font-size: 15px; font-weight: 800; border: none;
  border-radius: var(--radius-sm); cursor: pointer;
}
.mh-go-btn:hover { background: var(--teal-deep); }
.mh-hint {
  margin-top: 10px; font-size: 14px; color: var(--ink-soft);
}
/* 현재 위치로 찾기 버튼 */
.mh-locate-btn {
  width: 100%; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 11px 14px;
  background: var(--teal-tint); color: var(--teal-deep);
  border: 1px solid var(--teal); border-radius: var(--radius-sm);
  font-size: 14.5px; font-weight: 800; cursor: pointer;
  transition: background .12s;
}
.mh-locate-btn:hover { background: var(--teal); color: var(--white); }
.mh-locate-btn:disabled { opacity: .6; cursor: default; }
.mh-locate-btn .ml-ic { font-size: 16px; }
/* 우측: 섹터 압축 */
.mh-side { display: flex; flex-direction: column; gap: 14px; }
.mh-side h3 {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; color: var(--ink-soft);
  margin-bottom: 10px;
}
.mh-brick-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  flex: 1; grid-auto-rows: 1fr;
}
/* 중간 화면(태블릿·좁은 노트북): 3열이 좁아지므로 2열로 */
@media (max-width: 1100px) {
  .mh-brick-grid { grid-template-columns: repeat(2, 1fr); }
}
.mh-brick {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  min-height: 104px; padding: 0 20px;
  border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid var(--line);
  transition: border-color .12s, box-shadow .12s;
}
.mh-brick:hover {
  text-decoration: none; border-color: var(--teal);
  box-shadow: var(--shadow-lift);
}
/* 배경 일러스트 — 카드를 꽉 채운다 */
.mh-brick .mb-art {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  z-index: 0;
}
/* 글자 쪽(좌측) 흰색 보호막 — 어떤 길이 글자도 또렷하게 */
.mh-brick::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to right,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.95) 58%,
    rgba(255,255,255,.55) 80%,
    rgba(255,255,255,0) 100%);
}
.mh-brick .mb-ic { display: none; }
.mh-brick .mb-label {
  position: relative; z-index: 2;
  font-family: var(--font-display);
  font-size: 21px; font-weight: 800; color: var(--ink);
  line-height: 1.3; letter-spacing: -0.02em;
}
@media (max-width: 560px) {
  .mh-brick-grid { grid-template-columns: 1fr; }
  .mh-brick .mb-label { font-size: 18px; }
}
/* 벽돌 그룹 소제목 */
/* 그룹 소제목 — 벽돌 본문(21px)보다 크게, 진한 주황으로.
   좌측 막대 없이 글자 자체로 구획을 못 박는다. */
.mh-group-label {
  font-family: var(--font-display);
  font-size: 23px; font-weight: 800; color: var(--teal-deep);
  margin: 4px 0 14px;
  line-height: 1.3; letter-spacing: -0.02em;
}
.mh-group-label:not(:first-child) { margin-top: 28px; }
.mh-group-label .mgl-sub {
  font-size: 14px; font-weight: 700; color: var(--ink-faint);
  margin-left: 8px;
}
/* 맨 아래 길잡이 띠 */
.mh-guide-row {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px;
  margin-top: 22px; padding-top: 20px;
  border-top: 1px solid var(--line);
}
.mh-guide {
  display: flex; align-items: center; gap: 13px;
  padding: 17px 20px; border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: border-color .12s, box-shadow .12s;
}
.mh-guide:hover {
  text-decoration: none; box-shadow: var(--shadow-lift);
}
.mh-guide .mg-ic { font-size: 30px; flex-shrink: 0; }
.mh-guide .mg-tx { display: flex; flex-direction: column; line-height: 1.35; }
.mh-guide .mg-tx b {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800; color: var(--ink);
}
.mh-guide .mg-tx span { font-size: 14px; color: var(--ink-soft); }
.mh-guide-situations { background: #eef4fc; border-color: #cfe0f5; }
.mh-guide-situations:hover { border-color: #6da4dd; }
.mh-guide-directory { background: #e9f5ef; border-color: #c5e4d3; }
.mh-guide-directory:hover { border-color: #5dbf8a; }
@media (max-width: 560px) {
  .mh-guide-row { grid-template-columns: 1fr; }
}
.mh-more-link {
  display: block; margin-top: 10px; padding: 12px 14px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; color: var(--teal-deep);
  text-align: center;
}
.mh-more-link:hover { text-decoration: none; border-color: var(--teal); }

@media (max-width: 880px) {
  .map-hero { grid-template-columns: 1fr; }
  /* 1열로 쌓이면 좌우 높이를 맞출 필요가 없다 — 지도를 적정 크기로 */
  .mh-map-box { min-height: 0; }
  .mh-map-box svg { max-height: 380px; }
}

.brick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.brick {
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 10px;
  border-radius: var(--radius);
  padding: 20px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color .13s ease, box-shadow .13s ease;
}
.brick:hover {
  text-decoration: none;
  box-shadow: var(--shadow-lift);
  border-color: var(--teal);
}
.brick-ic {
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  background: var(--teal-tint);
  display: grid; place-items: center;
  font-size: 23px;
}
.brick-label {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--ink); line-height: 1.4;
}

@media (max-width: 900px) {
  .brick-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .brick-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .brick { padding: 16px 14px; }
  .brick-ic { width: 40px; height: 40px; font-size: 20px; }
  .brick-label { font-size: 14.5px; }
}

.companion-strip { padding: var(--gap-section) 0 0; }
.cstrip-card {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap;
  background: #20262c;
  border-radius: var(--radius);
  padding: 22px 26px;
}
.cstrip-card:hover { text-decoration: none; }
.cstrip-card .cs-left { display: flex; align-items: center; gap: 16px; }
.cstrip-card .cs-ic {
  font-size: 22px; width: 50px; height: 50px; flex-shrink: 0;
  background: rgba(255,255,255,.1); border-radius: 13px;
  display: grid; place-items: center; color: var(--teal-bright);
}
.cstrip-card .cs-text { display: flex; flex-direction: column; gap: 4px; }
.cstrip-card .cs-text strong {
  font-size: 17px; font-weight: 800; color: #fff; letter-spacing: -0.02em;
}
.cstrip-card .cs-text span { font-size: 14px; color: #aab0b5; line-height: 1.55; }
.cstrip-card .cs-go {
  flex-shrink: 0;
  background: var(--teal); color: #fff;
  font-size: 14px; font-weight: 800;
  padding: 12px 20px; border-radius: var(--radius-pill);
}

/* ----- 기능 분기 그리드 ----- */
.tool-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
.tool-card {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--white);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  padding: 16px 16px;
  transition: border-color .13s, box-shadow .13s;
}
.tool-card:hover {
  text-decoration: none;
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}
.tool-card .tl-ic {
  font-size: 20px; width: 38px; height: 38px;
  background: var(--paper); border-radius: 10px;
  display: grid; place-items: center; margin-bottom: 2px;
}
.tool-card strong {
  font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -0.015em;
}
.tool-card span { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ----- 신뢰 약속 ----- */
.promise-section { padding: var(--gap-major) 0 8px; }
.promise-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.pm-item { display: flex; flex-direction: column; gap: 5px; padding: 0 8px; }
.pm-item .pm-ic { font-size: 22px; margin-bottom: 3px; }
.pm-item strong { font-size: 15px; font-weight: 800; color: var(--ink); }
.pm-item span { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }

/* ----- 반응형 ----- */
@media (max-width: 920px) {
  .event-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .home-hero { padding: 22px 0 20px; }
  .home-search #searchBtn { padding: 0 16px; }
  .event-grid { grid-template-columns: 1fr; }
  .tool-grid { grid-template-columns: 1fr; }
  .promise-row { grid-template-columns: 1fr; gap: 18px; }
  .cstrip-card { flex-direction: column; align-items: flex-start; }
  .cstrip-card .cs-go { width: 100%; text-align: center; }
}

/* ===================== 오늘의 소식 ===================== */
.news-section { padding: var(--gap-major) 0 0; }
.news-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 18px;
}
.news-head h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-block); font-weight: 600; color: var(--ink);
  letter-spacing: -0.015em;
}
.news-head p {
  font-size: 14px; color: var(--ink-soft); margin-top: 4px;
}
.news-tabs { display: flex; gap: 6px; }
.news-tab {
  font-family: var(--font-body);
  font-size: 14px; font-weight: 700;
  padding: 7px 15px; border-radius: var(--radius-pill);
  background: var(--paper-deep); color: var(--ink-soft);
  border: none; cursor: pointer;
  transition: background .12s, color .12s;
}
.news-tab:hover { background: var(--teal-tint); color: var(--teal-deep); }
.news-tab.on { background: var(--teal); color: #fff; }

.news-grid {
  display: grid; grid-template-columns: 1fr; gap: 10px;
}
@media (min-width: 600px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
}
.news-card {
  display: flex; flex-direction: column; gap: 5px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 18px;
  transition: border-color .12s, box-shadow .12s, transform .12s;
}
.news-card:hover {
  text-decoration: none;
  border-color: var(--teal-tint-2);
  box-shadow: var(--shadow-lift);
  transform: translateY(-2px);
}
.news-card .nc-kind {
  align-self: flex-start;
  font-size: 14px; font-weight: 800;
  padding: 2px 8px; border-radius: var(--radius-pill);
  background: var(--paper-deep); color: var(--ink-soft);
}
.nc-news    { color: var(--ink-soft); }
.nc-policy  { color: var(--teal-deep); }
.nc-benefit { color: var(--ink); }
.news-card .nc-title {
  font-size: 15.5px; font-weight: 700; color: var(--ink);
  line-height: 1.45;
}
.news-card .nc-summary {
  font-size: 14px; color: var(--ink-soft); line-height: 1.55;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .nc-meta {
  font-size: 14px; color: var(--ink-faint); margin-top: 2px;
}
.feed-empty {
  font-size: 14px; color: var(--ink-faint); padding: 20px 0;
}

.hnar-note {
  font-size: 14px; color: var(--ink-soft); line-height: 1.6;
  background: var(--white); border: 1px solid var(--sec-line);
  border-radius: var(--radius-sm);
  padding: 13px 15px;
}

/* ===================== 이럴 땐 어떻게 (상황 띠) ===================== */
.situation-strip { padding: var(--gap-section) 0 4px; }
.sstrip-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; margin-bottom: 16px;
}
.sstrip-head h2 {
  font-family: var(--font-serif);
  font-size: var(--fs-block); font-weight: 600; color: var(--ink);
  letter-spacing: -0.015em;
}
.sstrip-head p { font-size: 14px; color: var(--ink-soft); margin-top: 3px; }
.sstrip-more {
  font-size: 14px; font-weight: 700; color: var(--teal-deep);
  white-space: nowrap;
}
.sstrip-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
}
.sstrip-card {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-align: center;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 16px 10px;
  transition: transform .13s, box-shadow .13s, border-color .13s;
}
.sstrip-card:hover {
  text-decoration: none; transform: translateY(-3px);
  box-shadow: var(--shadow-lift); border-color: var(--teal-tint-2);
}
.sstrip-card .ss-ic {
  width: 42px; height: 42px; border-radius: 11px;
  background: var(--paper-deep);
  display: grid; place-items: center; font-size: 21px;
}
.sstrip-card .ss-q {
  font-size: 14px; font-weight: 700; color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 760px) {
  .sstrip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 420px) {
  .sstrip-grid { grid-template-columns: repeat(2, 1fr); }
}
.nearby-section { padding: 8px 0 20px; }

/* ===== 사이트 소개 (홈 하단) ===== */
.about-strip {
  margin: 32px 0 20px;
}
.about-strip-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 38px 44px;
  background: var(--teal-tint);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: center;
}
.about-strip-text h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  color: var(--teal-deep);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.about-strip-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 18px;
}
.about-strip-text .as-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--teal-deep);
  text-decoration: none;
  border-bottom: 2px solid var(--teal);
  padding-bottom: 2px;
  transition: color 0.15s;
}
.about-strip-text .as-link:hover {
  color: var(--ink);
}
.about-strip-flowers {
  width: 100%;
  height: 140px;
  background-image: url('../img/flowers.svg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
@media (max-width: 860px) {
  .about-strip-inner {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 28px 24px;
  }
  .about-strip-text h3 { font-size: 19px; }
  .about-strip-text p { font-size: 15.5px; }
  .about-strip-flowers { height: 90px; }
}


/* ============================================================
   v125 모바일 최적화 — 홈 화면
   ============================================================ */
@media (max-width: 720px) {
  /* 2. 제목 — 화면 폭에 맞춰 자동 축소, 항상 한 줄 */
  .home-hero h1.hero-oneline {
    white-space: nowrap;
    font-size: clamp(18px, calc((100vw - 56px) / 13), 30px);
    letter-spacing: -0.03em;
    line-height: 1.25;
  }
  /* 검색창 — 입력칸이 줄어들 수 있게 (버튼 잘림 방지) */
  .home-search input { min-width: 0; }
}

@media (max-width: 560px) {
  /* 4. 지도 검색줄 — 시·도/시·군·구 한 줄, [검색]은 아래 전체 폭 */
  .mh-pick-row { flex-wrap: wrap; }
  .mh-pick-row select { flex: 1 1 calc(50% - 4px); min-width: 0; }
  .mh-go-btn { flex: 1 1 100%; height: 48px; font-size: 16px; }

  /* 5. 기능 벽돌 — 한 줄 3개, 글자 최대 크기 + 상하좌우 중앙 (v126) */
  .mh-brick-grid { grid-template-columns: repeat(3, 1fr); gap: 9px; }
  .mh-brick {
    min-height: 96px;
    padding: 8px 5px;
    align-items: center;
    justify-content: center;
  }
  .mh-brick .mb-label {
    font-size: clamp(19px, 5.8vw, 23px);
    font-weight: 800;
    line-height: 1.22;
    text-align: center;
    width: 100%;
    word-break: keep-all;
  }

  /* 6. 길잡이 카드/그리드 — 폭 넘침 방지 가드 */
  .mh-guide-row { gap: 10px; }
  .mh-guide { min-width: 0; padding: 15px 16px; }
  .mh-guide .mg-tx b { font-size: 17px; }
  .mh-guide .mg-tx span { font-size: 14px; }
}
