/* {도시} {N}월 날씨 — 잎 글 전용. city.css → season.css 뒤에 얹는다.
   season.css 에 이미 있는 것(.sr-table · .lede-box · .book-list · .leaves · .cta ·
   .note · .tag-lo/.tag-hi · .sea)은 여기서 다시 정의하지 않는다. 겹쳐 쓰면
   두 파일 중 어느 쪽이 이겼는지 나중에 아무도 모른다.
   여기 있는 건 이 페이지에만 있는 다섯 덩이다:
     사진 히어로 · KPI 4칸 · 예약 점프 · 날짜별 표 보조(주중/주말·요일) · 판단 카드 */

/* ─────────────────────────────────────────────
   히어로 — 생성 이미지 위에 글자를 얹는다
   ───────────────────────────────────────────── */
/* city.css 의 히어로는 단색 배경이라 글자 대비가 보장돼 있었다. 여기는 사진이
   깔리므로 스크림 없이는 어떤 이미지가 와도 흰 글자를 읽을 수 있다고 장담 못 한다.
   위아래 두 방향 그라데이션인 이유: 위쪽은 네비게이션 잔상, 아래쪽은 h1 이 앉는 자리다. */
.mhero {
  position: relative; width: 100%;
  aspect-ratio: 1200 / 630; max-height: 460px;
  overflow: hidden; background: #12212f;
}
.mhero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.mhero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(8,18,28,0.42) 0%, rgba(8,18,28,0) 34%),
    linear-gradient(rgba(8,18,28,0) 22%, rgba(8,18,28,0.58) 62%, rgba(8,18,28,0.9) 100%);
}
.mhero-label {
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; max-width: min(880px, 100% - 80px);
  margin: 0 auto; padding: 0 0 30px;
  color: #fff;
}
.mcrumb { font-size: 0.74rem; color: rgba(255,255,255,0.72); margin-bottom: 10px; letter-spacing: 0.02em; }
.mcrumb a { color: rgba(255,255,255,0.86); text-decoration: none; }
.mcrumb a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* h1 은 이 페이지의 주 질의 그대로다(세부 10월 날씨). 세리프로 크게 두고,
   부제는 sans 로 한 단계 낮춰 '제목의 일부가 아니라 요약'으로 읽히게 한다. */
.mhero-h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.9rem, 5.2vw, 2.9rem); line-height: 1.18;
  letter-spacing: -0.015em; margin: 0; word-break: keep-all;
  text-shadow: 0 2px 18px rgba(0,0,0,0.35);
}
.mhero-sub {
  display: block; margin-top: 10px;
  font-family: var(--sans); font-size: 0.95rem; font-weight: 400; line-height: 1.6;
  letter-spacing: 0.01em; color: rgba(255,255,255,0.88);
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}
.mhero-date { font-size: 0.74rem; color: rgba(255,255,255,0.62); margin: 10px 0 0; }

/* ─────────────────────────────────────────────
   KPI 4칸 — 첫 화면에서 답이 끝나야 한다
   ───────────────────────────────────────────── */
/* 4칸을 모바일에서 2×2 로 접는다. 가로 스크롤로 밀면 뒤 두 칸(강수)을 못 보는데,
   이 페이지에서 정작 중요한 값이 뒤쪽이다. */
.kpis {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: #e4eaf1; border: 1px solid #e4eaf1; border-radius: 14px;
  overflow: hidden; margin-bottom: 30px;
  box-shadow: 0 1px 1px rgba(26,58,95,0.035), 0 14px 30px -24px rgba(26,58,95,0.5);
}
.kpi { background: #fff; padding: 18px 12px 17px; text-align: center; }
.kpi .k { font-size: 0.7rem; color: #7c8b9b; letter-spacing: 0.04em; margin-bottom: 7px; }
.kpi .v {
  font-family: var(--serif); font-size: 1.62rem; font-weight: 600; color: #1a3a5f;
  line-height: 1.1; font-variant-numeric: tabular-nums;
}
.kpi .v small { font-family: var(--sans); font-size: 0.62em; font-weight: 500; opacity: 0.55; margin-left: 1px; }

/* ─────────────────────────────────────────────
   예약 점프 — 서론 바로 아래 한 줄
   ───────────────────────────────────────────── */
/* 페이지 맨 아래 CTA 까지 내려오는 사람만 상대하면 '얼마'가 급한 독자를 놓친다.
   내부 앵커라 이탈이 아니고, 값(최저가)을 미리 보여 주니 미끼도 아니다.
   초록은 이 사이트에서 가격 쪽에 이미 쓰는 색(--price-*)이다. 새 색을 들이지 않는다. */
.jump {
  display: flex; align-items: center; gap: 12px;
  margin: 0 0 8px; padding: 14px 18px;
  background: linear-gradient(#f7fbf2, #eff7e6);
  border: 1px solid #d5e6bf; border-radius: 12px;
  text-decoration: none; color: var(--tx);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.jump:hover { border-color: var(--price-2); transform: translateY(-1px);
  box-shadow: 0 10px 22px -16px rgba(52,96,16,0.6); }
.jump-k {
  flex-shrink: 0; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
  color: #2c3a16; background: #dcecc6; border: 1px solid #c6dfa8;
  border-radius: 999px; padding: 4px 10px;
}
.jump-t { flex: 1; font-size: 0.92rem; line-height: 1.5; word-break: keep-all; }
.jump-t b { font-weight: 600; color: var(--price-5); font-variant-numeric: tabular-nums; }
.jump-go { flex-shrink: 0; font-size: 0.82rem; font-weight: 600; color: #346010; white-space: nowrap; }

/* ─────────────────────────────────────────────
   본문 삽입 이미지
   ───────────────────────────────────────────── */
.mfig { margin: 44px 0 0; }
.mfig img {
  width: 100%; height: auto; display: block;
  border-radius: 14px; border: 1px solid var(--line);
}
/* 생성 이미지라는 사실을 캡션에 남긴다 — 이 페이지의 나머지가 전부 실측이라,
   사진만 출처가 다르다는 걸 밝히지 않으면 숫자까지 같이 의심받는다. */
.mfig figcaption { font-size: 0.78rem; color: var(--tx2); margin-top: 9px; line-height: 1.6; }

/* ─────────────────────────────────────────────
   주중/주말 요약 3칸
   ───────────────────────────────────────────── */
.wkbox {
  display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 12px; margin-bottom: 18px;
}
.wk { background: #fafcf7; border: 1px solid #e3edd6; border-radius: 12px; padding: 14px 16px; }
.wk-k { font-size: 0.7rem; color: #6f7f5c; letter-spacing: 0.03em; margin-bottom: 6px; }
.wk-v {
  font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--price-5);
  font-variant-numeric: tabular-nums; line-height: 1.2;
}
.wk-v .u { font-family: var(--sans); font-size: 0.62em; font-weight: 500; opacity: 0.55; margin-left: 1px; }
.wk-s { font-size: 0.74rem; color: var(--tx2); margin-top: 6px; }

/* ─────────────────────────────────────────────
   날짜별 표 — 31줄이라 세로로 길다
   ───────────────────────────────────────────── */
/* 줄이 서른 개를 넘으면 눈이 행을 잃는다. 요일 칸을 왼쪽에 못 박고,
   주말(금·토 체크인)만 배경을 옅게 깔아 덩어리로 읽히게 한다. */
.mtable td, .mtable th { padding-top: 10px; padding-bottom: 10px; }
.mtable td.bar-cell { padding-bottom: 15px; }
.mtable .dow { text-align: left; color: var(--tx2); font-size: 0.82rem; }
.mtable tr.wkend td { background: #fbfaf4; }
.mtable tr.wkend .dow { color: #a5762f; font-weight: 600; }
@media (hover: hover) { .mtable tbody tr.wkend:hover td { background: #f8f6ec; } }

/* ─────────────────────────────────────────────
   가장 싼 날짜 — 날짜 하나에 숙소 하나
   ───────────────────────────────────────────── */
/* 이 목록은 아고다로 나가는 링크다. .hotel-item(city.css)과 모양을 맞추되
   왼쪽에 순위 대신 날짜를 세운다 — 여기서 파는 건 숙소가 아니라 '그 날짜'다. */
.cheap-list { display: flex; flex-direction: column; gap: 10px; }
.cheap {
  display: flex; align-items: center; gap: 14px;
  padding: 13px 16px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  text-decoration: none; color: var(--tx);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.cheap:hover { border-color: #cddced; transform: translateY(-1px);
  box-shadow: 0 12px 26px -20px rgba(26,58,95,0.75); }
.cheap-d {
  flex-shrink: 0; width: 54px; text-align: center;
  border-right: 1px solid var(--line); padding-right: 12px;
}
.cheap-dn {
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600; color: #1a3a5f;
  font-variant-numeric: tabular-nums; line-height: 1.15;
}
.cheap-dw { font-size: 0.7rem; color: var(--tx2); margin-top: 3px; }
.cheap-i { flex: 1; min-width: 0; }
.cheap-h {
  font-size: 0.93rem; font-weight: 500; color: var(--fg1); line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cheap-m { font-size: 0.74rem; color: var(--tx2); margin-top: 4px; }
.cheap-p { flex-shrink: 0; text-align: right; }
.cheap-pv {
  font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: var(--price-5);
  font-variant-numeric: tabular-nums;
}
.cheap-pl { font-size: 0.7rem; color: var(--price-3); margin-top: 3px; font-weight: 500; }

/* ─────────────────────────────────────────────
   판단 카드 — 맞는 여행 / 안 맞는 여행
   ───────────────────────────────────────────── */
.dek { font-size: 0.88rem; color: var(--tx2); margin: -8px 0 20px; }
.verdict { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vcard { border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; background: #fff; }
/* 두 카드를 색으로 가른다. 초록/붉은색을 '좋다/나쁘다'로 쓰는 게 아니라
   '해당된다/해당 안 된다'로 쓰는 거라, 채도를 낮춰 경고처럼 보이지 않게 했다. */
.vcard.yes { background: #f9fbf5; border-color: #dfe9cf; }
.vcard.no  { background: #fbf8f6; border-color: #eadfd8; }
.vk {
  display: inline-block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.05em;
  border-radius: 999px; padding: 4px 11px; margin-bottom: 13px;
}
.vcard.yes .vk { background: #e5f0d4; border: 1px solid #cbe0ac; color: #3c5417; }
.vcard.no  .vk { background: #f3e6de; border: 1px solid #e2cec2; color: #7a4a30; }
.vcard ul { margin: 0; padding-left: 17px; }
.vcard li { font-size: 0.9rem; line-height: 1.7; color: var(--tx); margin-bottom: 8px; }
.vcard li:last-child { margin-bottom: 0; }
.vcard li strong { font-weight: 600; color: var(--fg1); }

/* ─────────────────────────────────────────────
   한계 고지
   ───────────────────────────────────────────── */
/* 없는 것을 밝히는 자리라 본문보다 가라앉혀야 하지만, 회색 상자에 넣어 '작은 글씨'로
   만들면 아무도 안 읽는다. 배경만 눕히고 글자 크기는 본문을 유지한다. */
.limits { background: var(--fill-sunken); border: 1px solid var(--line); border-radius: 14px; padding: 26px 28px; }
.limits h2 { font-size: 1.2rem; border-bottom: none; padding-bottom: 0; margin-bottom: 12px; }
.limits ul { margin: 14px 0 0; padding-left: 18px; }
.limits li { font-size: 0.9rem; line-height: 1.75; color: var(--tx); margin-bottom: 10px; }
.limits li:last-child { margin-bottom: 0; }
.limits li b { font-weight: 600; color: var(--fg1); }

/* ─────────────────────────────────────────────
   FAQ — details/summary
   ───────────────────────────────────────────── */
.faq { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: none; }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  cursor: pointer; list-style: none;
  font-size: 0.95rem; font-weight: 500; color: var(--fg1);
  padding: 16px 20px; line-height: 1.5; word-break: keep-all;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; font-size: 1.35rem; font-weight: 300; color: var(--fg3);
  flex-shrink: 0; transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { color: #1a3a5f; }
.faq .a {
  font-size: 0.9rem; line-height: 1.8; color: var(--tx);
  padding: 0 20px 18px; word-break: keep-all; overflow-wrap: break-word;
}

/* ─────────────────────────────────────────────
   좁은 화면
   ───────────────────────────────────────────── */
@media (max-width: 760px) {
  .mhero { aspect-ratio: 4 / 3; max-height: 340px; }
  .mhero-label { max-width: calc(100% - 32px); padding-bottom: 20px; }
  .mhero-sub { font-size: 0.88rem; }

  /* 4칸 → 2×2. 첫 줄이 기온, 둘째 줄이 비다. */
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpi { padding: 14px 8px 13px; }
  .kpi .v { font-size: 1.4rem; }

  /* 점프 배너는 배지를 위로 올려 두 줄로 접는다. 한 줄로 밀면 가격이 잘린다. */
  .jump { flex-wrap: wrap; gap: 8px 10px; padding: 13px 15px; }
  .jump-t { flex: 1 1 100%; order: 3; font-size: 0.88rem; }
  .jump-go { margin-left: auto; }

  .wkbox { grid-template-columns: 1fr 1fr; }
  .wk-wide { grid-column: 1 / -1; }
  .wk { padding: 12px 14px; }

  .cheap { gap: 11px; padding: 12px 13px; }
  .cheap-d { width: 46px; padding-right: 10px; }
  .cheap-h { font-size: 0.88rem; }
  .cheap-pv { font-size: 0.97rem; }

  .verdict { grid-template-columns: 1fr; }
  .vcard { padding: 17px 18px; }
  .limits { padding: 20px 18px; }
  .faq summary { font-size: 0.9rem; padding: 14px 16px; }
  .faq .a { font-size: 0.875rem; padding: 0 16px 16px; }
  .mfig { margin-top: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .jump, .cheap { transition: none; }
  .jump:hover, .cheap:hover { transform: none; }
}

/* BEST 목록 — 통칭을 h3 로 올린 자리. season.css 의 .sr-article h3 는 본문 소제목용이라
   왼쪽 그라데이션 막대와 34px 마진이 붙어 있다. 목록 카드 안에서는 그게 장식으로만
   보이고 줄 간격도 깨지니 여기서만 되돌린다. */
#best h3.hotel-name {
  margin: 0; padding-left: 0; font-size: 0.92rem; font-weight: 600;
  font-family: inherit; color: var(--fg1); line-height: 1.35;
}
#best h3.hotel-name::before { content: none; }
#best .hotel-full { font-size: 0.74rem; color: var(--fg2); margin-top: 2px; line-height: 1.3; }
@media (max-width: 760px) {
  #best h3.hotel-name { font-size: 0.88rem; }
}
