/* 문의 게시판 기본 모양 (HM-QNA 문의 게시판 키트 v1) — 사이트 디자인(색·글꼴·간격)에 맞게 AI 가 색·글꼴·간격만 고친다. 클래스 이름(hm-qna…)·data 속성은 유지한다. */
/* 산방온천 풀빌라에 맞춤: 짙은 색 #0A0B0B · 글자 #3F372F · 보조 글자 #6B635A · 선 rgba(62,54,46,.14~.28) · 금색 #A37D59(눌렀을 때·초점) · 글꼴 IBM Plex Sans KR(페이지에서 물려받음).
   모바일 우선 — 글자 14px 이상(입력 칸 16px: 휴대폰 확대 방지) · 누르는 대상 44px 이상. 640px 아래는 목록을 두 줄 카드처럼. */
.hm-qna { --qna-dark: #0A0B0B; --qna-ink: #3F372F; --qna-ink-2: #6B635A; --qna-line: rgba(62,54,46,.14); --qna-line-2: rgba(62,54,46,.28); --qna-gold: #A37D59; --qna-soft: rgba(163,125,89,.1);
  max-width: 860px; margin: 0 auto; font: inherit; color: var(--qna-ink); }
.hm-qna [hidden] { display: none !important; }
/* 화면 읽기 프로그램에만 읽히는 이름표 — 정의가 없어 "제목 검색" 이 검색 칸 위에 보이고 [찾기] 만 길쭉해졌다(11-04 돌담 휴대폰) */
.hm-qna__sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hm-qna__heading { margin: 8px 0 6px; font-size: 20px; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; color: var(--qna-dark); }
.hm-qna__lead { margin: 0 0 20px; font-size: 15px; line-height: 1.6; color: var(--qna-ink-2); }
.hm-qna__bar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.hm-qna__search { display: flex; gap: 8px; flex: 1 1 260px; min-width: 0; }
.hm-qna__search label { flex: 1; min-width: 0; }
.hm-qna__search input { width: 100%; min-height: 44px; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--qna-line-2); border-radius: 8px; background: #fff; color: var(--qna-dark); }
.hm-qna button, .hm-qna__write-link { font: inherit; font-size: 15px; padding: 10px 18px; min-height: 44px; border: 1px solid var(--qna-line-2); border-radius: 8px; background: #fff; color: var(--qna-dark); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; transition: background-color .25s ease, border-color .25s ease, color .25s ease; }
.hm-qna button:hover:not([disabled]) { border-color: var(--qna-ink); }
.hm-qna__write-link, .hm-qna button[type=submit] { background: var(--qna-dark); color: #F2F3ED; border-color: var(--qna-dark); }
.hm-qna__write-link:hover, .hm-qna button[type=submit]:hover:not([disabled]) { background: var(--qna-gold); border-color: var(--qna-gold); color: #fff; }
.hm-qna button[disabled] { opacity: .5; cursor: default; }
.hm-qna a:focus-visible, .hm-qna button:focus-visible, .hm-qna input:focus-visible, .hm-qna textarea:focus-visible { outline: 2px solid var(--qna-gold); outline-offset: 2px; }
.hm-qna__rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--qna-dark); }
.hm-qna__row { border-bottom: 1px solid var(--qna-line); }
.hm-qna__link { display: grid; grid-template-columns: 56px 1fr 80px 96px 88px; gap: 8px; align-items: center; min-height: 52px; padding: 12px 6px; box-sizing: border-box; color: inherit; text-decoration: none; }
.hm-qna__link:hover { background: var(--qna-soft); }
.hm-qna__link:hover .hm-qna__title { text-decoration: underline; text-underline-offset: 3px; }
.hm-qna__no, .hm-qna__date, .hm-qna__author { color: var(--qna-ink-2); font-size: 14px; }
.hm-qna__no { text-align: center; }
.hm-qna__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--qna-dark); }
.hm-qna__status { font-size: 14px; text-align: center; white-space: nowrap; border: 1px solid var(--qna-line-2); border-radius: 12px; padding: 2px 8px; color: var(--qna-ink-2); }
.hm-qna__status.is-answered { font-weight: 600; border-color: var(--qna-gold); color: #7A5B3E; background: var(--qna-soft); }
.hm-qna__empty { padding: 32px 8px; text-align: center; color: var(--qna-ink-2); }
.hm-qna__pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.hm-qna__page { min-width: 44px; }
.hm-qna__page.is-current { font-weight: 700; border-color: var(--qna-dark); }
.hm-qna__view { border-top: 2px solid var(--qna-dark); padding-top: 14px; }
.hm-qna__vtitle { font-size: 20px; font-weight: 600; line-height: 1.4; margin: 4px 0; color: var(--qna-dark); word-break: break-word; overflow-wrap: anywhere; }
.hm-qna__meta, .hm-qna__note, .hm-qna__noreply { color: var(--qna-ink-2); font-size: 14px; margin: 4px 0 12px; }
.hm-qna__content, .hm-qna__rcontent { white-space: pre-wrap; word-break: break-word; overflow-wrap: anywhere; line-height: 1.75; }
.hm-qna__content { min-height: 80px; padding: 10px 0 22px; border-bottom: 1px solid var(--qna-line); }
.hm-qna__reply { background: #fff; border: 1px solid var(--qna-line); border-left: 3px solid var(--qna-gold); border-radius: 8px; padding: 14px 16px; margin: 14px 0; }
.hm-qna__rlabel { margin-right: 8px; font-weight: 600; color: #7A5B3E; }
.hm-qna__rdate { color: var(--qna-ink-2); font-size: 14px; }
.hm-qna__unlock { display: grid; gap: 8px; max-width: 420px; margin: 14px 0; font-size: 15px; }
.hm-qna__unlock .hm-qna__unlock-row { display: flex; gap: 8px; }
.hm-qna__unlock input { flex: 1; min-width: 0; min-height: 44px; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--qna-line-2); border-radius: 8px; background: #fff; color: var(--qna-dark); }
.hm-qna__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hm-qna__actions a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; color: #7A5B3E; text-underline-offset: 3px; }
.hm-qna__write { display: grid; gap: 16px; max-width: 640px; }
.hm-qna__write label { display: grid; gap: 6px; font-size: 15px; color: var(--qna-ink); }
.hm-qna__write input[type=text], .hm-qna__write input[type=password], .hm-qna__write input[type=tel], .hm-qna__write textarea {
  font: inherit; font-size: 16px; min-height: 48px; padding: 10px 12px; border: 1px solid var(--qna-line-2); border-radius: 8px; background: #fff; color: var(--qna-dark); width: 100%; box-sizing: border-box; }
.hm-qna__write textarea { min-height: 180px; line-height: 1.6; resize: vertical; }
.hm-qna__write .hm-qna__check { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding-top: 10px; box-sizing: border-box; cursor: pointer; }
.hm-qna input[type=checkbox] { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--qna-dark); cursor: pointer; }
.hm-qna__write small { color: var(--qna-ink-2); font-size: 14px; }
.hm-qna__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hm-qna__consent { border: 1px solid var(--qna-line); border-radius: 8px; padding: 14px; background: #fff; font-size: 14px; line-height: 1.65; color: var(--qna-ink); }
.hm-qna__consent label { display: flex; gap: 10px; align-items: flex-start; min-height: 44px; padding-top: 10px; box-sizing: border-box; font-size: 15px; margin-top: 8px; border-top: 1px solid var(--qna-line); cursor: pointer; }
.hm-qna__consent a { color: #7A5B3E; text-underline-offset: 3px; }
.hm-qna__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-qna [data-hm-ok] { color: #1a6b3a; margin: 10px 0; }
.hm-qna [data-hm-msg] { color: #b42318; margin: 10px 0; }
@media (max-width: 640px) {
  .hm-qna__link { grid-template-columns: 1fr auto; grid-template-areas: 'title status' 'meta meta'; row-gap: 4px; padding: 12px 4px; }
  .hm-qna__title { grid-area: title; white-space: normal; overflow-wrap: anywhere; }
  .hm-qna__status { grid-area: status; }
  .hm-qna__no { display: none; }
  .hm-qna__author, .hm-qna__date { grid-area: meta; font-size: 14px; }
  .hm-qna__author { justify-self: start; }
  .hm-qna__date { justify-self: end; }
  .hm-qna__buttons button { flex: 1 1 140px; }
}
