/* 부산어디? 잡지형 목록 공용 틀 — 맛집 /food_list · 관광지 /spot_list · 숙소 /accommodation · 생활 서비스 /service_list (2026-11-17 wl)
   부품 includes/_wz_list.php. 표지·칩·단추는 bw-wz.css, 카드(.fl-c)·필터 막대·더 보기는 bw-food.css(네 목록 공용) — 이 파일은 그 위에 얹는 것만:
   · 낮은 표지(목록이 첫 화면에 보이게) · 찾기·칩 간격 · 숙소 가격·알림 단추 · 결과 제목 오른쪽(지도·필터 초기화) · 링크가 든 카드(<article>) · 숙소 휴대폰 1칸.
   · main#bw-main.wl 아래에서만. 사이트 CSS 가 h1~h3·button 크기를 !important 로 강제 → 더 구체적인 선택자 + !important.
   · 글자 14px 이상, 누르는 곳 44px 이상. */

/* ── 표지: 낮게 ── */
#bw-main.wl .wz-cover { min-height: clamp(270px, 40vh, 380px); min-height: clamp(270px, 40svh, 380px); }
@media (min-width: 900px) { #bw-main.wl .wz-cover { min-height: clamp(340px, 48vh, 470px); min-height: clamp(340px, 48svh, 470px); } }
#bw-main.wl .wz-cover__top { padding-top: 14px; }
#bw-main.wl .wz-cover__body { padding-top: 18px; padding-bottom: 14px; }
html body #bw-main.wl h1.wz-cover__title { font-size: clamp(32px, 8.2vw, 62px) !important; margin: 12px 0 16px !important; max-width: 16em; }
html body #bw-main.wl:not([lang="ko"]) h1.wz-cover__title { font-size: clamp(28px, 7vw, 54px) !important; }
#bw-main.wl .wz-cover__cap { padding-bottom: 12px; }
html body #bw-main.wl .wz-credit a { display: inline-flex; align-items: center; min-height: 44px; vertical-align: middle; }   /* 표지 사진 출처·이용 허락 링크도 누르기 쉽게 */
#bw-main.wl .wz-cover__art { top: 8%; font-size: min(52vw, 420px); }
#bw-main.wl .wz-cue { display: none !important; }

/* ── 찾기 · 분류 칩 ── */
#bw-main.wl .fl-find { padding-top: 16px; gap: 10px; }
#bw-main.wl .fl-cats { padding-top: 12px; }
#bw-main.wl .fl-cats .wz-chips__row { padding-bottom: 6px; }

/* ── 조건 줄: 숙소 가격·알림 단추 ── */
html body #bw-main.wl .wl-tools { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; min-width: 0; }
html body #bw-main.wl button.wl-tool { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--wz-line);
  background: #fff; color: var(--wz-ink); font-size: 15px !important; font-weight: 800; line-height: 1.2; cursor: pointer; white-space: nowrap; max-width: 100%; }
html body #bw-main.wl button.wl-tool span { overflow: hidden; text-overflow: ellipsis; }
html body #bw-main.wl button.wl-tool .bw-icon { font-size: 18px; color: var(--wz-acc-t); }
html body #bw-main.wl button.wl-tool.is-on { background: var(--wz-ink); border-color: var(--wz-ink); color: #fff; }
html body #bw-main.wl button.wl-tool.is-on .bw-icon { color: #FFB08A; }
@media (hover: hover) { html body #bw-main.wl button.wl-tool:hover { border-color: var(--wz-ink); } }
/* 생활 서비스: 정렬만 있는 줄 */
html body #bw-main.wl .fl-filter__inner > .list-filter__sort:only-child { margin-right: auto; }

/* ── 결과 제목 줄 ── */
#bw-main.wl .fl-res-h { margin-top: 22px; }
#bw-main.wl .wl-res-side { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 16px; }
#bw-main.wl .wl-side-a, #bw-main.wl .wl-reset { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-size: 15px; font-weight: 800; color: var(--wz-acc-t);
  text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
#bw-main.wl .wl-side-a .bw-icon { font-size: 18px; }
#bw-main.wl .wl-reset { color: var(--wz-ink2); }
#bw-main.wl .wl-note { display: flex; flex-wrap: wrap; align-items: center; gap: 0 10px; margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--wz-ink2); }
#bw-main.wl .wl-note a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; color: var(--wz-acc-t); text-decoration: underline; text-underline-offset: 3px; }

/* ── 미쉐린·인증 띠(맛집 — 목록 12번째 뒤) ── */
#bw-main.wl .fl-aws--mid { grid-column: 1 / -1; min-width: 0; margin: 14px 0 8px; padding-bottom: 6px; }
#bw-main.wl .fl-aws--mid .wz-h2 { margin-top: 0; border-top: 3px solid var(--wz-ink); }
html body #bw-main.wl .fl-aws--mid h2.wz-h2__t { font-size: clamp(22px, 3.4vw, 30px) !important; }

/* ── 링크가 든 카드(숙소 검색 단추 · 생활 서비스 전화 단추): <article> + 이름 링크를 카드 전체로 ── */
#bw-main.fl .fl-c--x { cursor: pointer; }
html body #bw-main.fl .fl-c__title a.fl-c__link { color: inherit !important; text-decoration: none !important; font: inherit !important; }
#bw-main.fl .fl-c__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
#bw-main.fl .fl-c__link:focus-visible { outline: none; }
#bw-main.fl .fl-c--x:has(.fl-c__link:focus-visible) { outline: 3px solid var(--wz-acc); outline-offset: 3px; }
#bw-main.fl .fl-c__addr { font-size: 14px; line-height: 1.45; color: var(--wz-mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#bw-main.fl .fl-c__of { font-weight: 700; color: var(--wz-mute); margin-left: 1px; }
#bw-main.fl .fl-c__price { font-size: 15px; font-weight: 800; line-height: 1.4; color: var(--wz-ink); }
#bw-main.fl .fl-c__acts { position: relative; z-index: 2; display: flex; flex-wrap: wrap; gap: 8px; padding-top: 8px; }
html body #bw-main.fl a.fl-c__act { flex: 1 1 auto; min-width: 0; max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; padding: 0 12px;
  border-radius: 12px; border: 1.5px solid var(--wz-line); background: #fff; color: var(--wz-ink); font-size: 15px !important; font-weight: 800; line-height: 1.2; text-decoration: none; white-space: nowrap; }
html body #bw-main.fl a.fl-c__act > span:last-child { overflow: hidden; text-overflow: ellipsis; }
html body #bw-main.fl a.fl-c__act .bw-icon { font-size: 18px; }
html body #bw-main.fl a.fl-c__act--call { background: #0E7A55; border-color: #0E7A55; color: #fff; }
#bw-main.fl .fl-c__ab { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 6px; color: #fff; font-size: 14px; font-weight: 900; line-height: 1; }
#bw-main.fl .fl-c__ab--n { background: #03A94D; }
#bw-main.fl .fl-c__ab--y { background: #D6006F; }
@media (hover: hover) {
  html body #bw-main.fl a.fl-c__act:hover { border-color: var(--wz-ink); }
  html body #bw-main.fl a.fl-c__act--call:hover { background: #0A5E42; border-color: #0A5E42; }
}

/* ── 숙소: 휴대폰은 한 줄에 한 곳(가격·검색 단추까지 크게) ── */
@media (max-width: 599px) {
  html body #bw-main.wl--stay .list-grid.fl-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 16px !important; }
  #bw-main.wl--stay .fl-c__media { aspect-ratio: 16 / 10; }
  html body #bw-main.wl--stay h3.fl-c__title { font-size: 18px !important; }
  #bw-main.wl--stay .fl-c__body { padding: 12px 14px 14px; }
  #bw-main.wl--stay .fl-c__art { font-size: 120px; }
}
