/* 문의 게시판 모양 (HM-QNA 문의 게시판 키트 v1) — 사이트 디자인(초록 #00664F · IBM Plex Sans KR · 모서리 없음)에 맞춘 것. 색·글꼴·간격만 고쳤고 클래스 이름(hm-qna…)·data 속성은 그대로 둔다. */
.hm-qna { max-width: 860px; margin: 0 auto; font: inherit; color: #333; overflow-wrap: anywhere; }
.hm-qna [hidden] { display: none !important; }
.hm-qna__heading { margin: 0 0 8px; font-size: 22px; font-weight: 600; color: #111; letter-spacing: -.3px; }
.hm-qna__lead { margin: 0 0 20px; font-size: 16px; line-height: 1.7; color: #555; }
.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: 6px; flex: 1 1 260px; }
.hm-qna__search label { flex: 1; min-width: 0; }
.hm-qna__search input { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; font-weight: 300; min-height: 48px; padding: 10px 14px; border: 1px solid #ccc; border-radius: 0; background: #F9F9F9; color: #333; transition: border-color .3s ease; }
.hm-qna__search input:focus, .hm-qna__unlock input:focus, .hm-qna__write input:focus, .hm-qna__write textarea:focus { outline: 0; border-color: #00664F; background: #fff; }
.hm-qna button, .hm-qna__write-link { font: inherit; font-size: 15px; font-weight: 500; padding: 10px 18px; min-height: 48px; min-width: 48px; border: 1px solid #ccc; border-radius: 0; background: #fff; color: #333; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; transition: background .3s ease, border-color .3s ease, color .3s ease; }
.hm-qna button:hover, .hm-qna__actions a:hover { border-color: #00664F; color: #00664F; }
.hm-qna__write-link, .hm-qna button[type=submit] { background: #00664F; color: #fff; border-color: #00664F; font-weight: 600; }
.hm-qna__write-link:hover, .hm-qna button[type=submit]:hover { background: #045738; border-color: #045738; color: #fff; }
.hm-qna button[disabled] { opacity: .5; cursor: default; }
.hm-qna__rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid #00664F; }
.hm-qna__row { border-bottom: 1px solid #e3e3e3; }
.hm-qna__link { display: grid; grid-template-columns: 56px 1fr 80px 96px 88px; gap: 8px; align-items: center; padding: 14px 6px; min-height: 48px; box-sizing: border-box; color: inherit; text-decoration: none; }
.hm-qna__link:hover .hm-qna__title { text-decoration: underline; color: #00664F; }
.hm-qna__no, .hm-qna__date, .hm-qna__author { color: #777; font-size: 14px; }
.hm-qna__no { text-align: center; }
.hm-qna__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 16px; }
.hm-qna__status { font-size: 14px; text-align: center; border: 1px solid #ccc; border-radius: 0; padding: 2px 8px; color: #666; background: #fff; }
.hm-qna__status.is-answered { font-weight: 600; border-color: #00664F; background: #00664F; color: #fff; }
.hm-qna__empty { padding: 32px 8px; text-align: center; color: #777; font-size: 16px; }
.hm-qna__pager { display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.hm-qna__page { min-width: 48px; padding: 10px 12px; }
.hm-qna__page.is-current { font-weight: 700; border-color: #00664F; background: #00664F; color: #fff; }
.hm-qna__view { border-top: 2px solid #00664F; padding-top: 14px; }
.hm-qna__vtitle { font-size: 20px; font-weight: 600; color: #111; margin: 4px 0; word-break: break-word; }
.hm-qna__meta, .hm-qna__note, .hm-qna__noreply { color: #777; font-size: 14px; margin: 4px 0 12px; }
.hm-qna__content, .hm-qna__rcontent { white-space: pre-wrap; word-break: break-word; font-size: 16px; line-height: 1.8; }
.hm-qna__content { min-height: 80px; padding: 8px 0 22px; border-bottom: 1px solid #e3e3e3; }
.hm-qna__reply { background: #F3F3F3; border-left: 3px solid #00664F; border-radius: 0; padding: 16px 18px; margin: 14px 0; }
.hm-qna__rlabel { color: #00664F; font-weight: 600; }
.hm-qna__rdate { color: #777; font-size: 14px; }
.hm-qna__unlock { display: grid; gap: 8px; max-width: 420px; margin: 14px 0; font-size: 15px; line-height: 1.6; }
.hm-qna__unlock .hm-qna__unlock-row { display: flex; gap: 6px; }
.hm-qna__unlock input { flex: 1; min-width: 0; font: inherit; font-size: 16px; min-height: 48px; padding: 10px 14px; border: 1px solid #ccc; border-radius: 0; background: #F9F9F9; transition: border-color .3s ease; }
.hm-qna__actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.hm-qna__actions a { font-size: 15px; font-weight: 500; padding: 10px 18px; min-height: 48px; min-width: 48px; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #ccc; background: #fff; color: #333; text-decoration: none; }
.hm-qna__write { display: grid; gap: 16px; max-width: 640px; }
.hm-qna__write label { display: grid; gap: 8px; font-size: 15px; font-weight: 500; color: #222; }
.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; font-weight: 300; padding: 13px 14px; border: 1px solid #ccc; border-radius: 0; background: #F9F9F9; color: #333; width: 100%; box-sizing: border-box; min-height: 48px; transition: border-color .3s ease; }
.hm-qna__write textarea { min-height: 180px; resize: vertical; }
.hm-qna__write .hm-qna__check { display: flex; gap: 10px; align-items: center; font-weight: 400; min-height: 44px; }
.hm-qna__write input[type=checkbox] { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: #00664F; }
.hm-qna__write small { color: #777; font-size: 14px; font-weight: 300; }
.hm-qna__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.hm-qna__consent { border: 1px solid #ddd; border-radius: 0; padding: 16px; font-size: 14px; line-height: 1.7; color: #555; background: #fff; }
.hm-qna__consent label { display: flex; gap: 10px; align-items: center; font-size: 14px; font-weight: 400; margin-top: 10px; min-height: 44px; }
.hm-qna__consent a { text-decoration: underline; color: #00664F; }
.hm-qna__buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.hm-qna__buttons button[type=submit] { min-height: 56px; font-size: 17px; padding: 0 22px; }
.hm-qna [data-hm-ok] { color: #00664F; margin: 10px 0 0; font-size: 15px; line-height: 24px; }
.hm-qna [data-hm-msg] { color: #b42318; margin: 10px 0 0; font-size: 15px; line-height: 24px; }
@media (max-width: 640px) {
  .hm-qna__heading { font-size: 20px; }
  .hm-qna__link { grid-template-columns: 1fr auto; grid-template-areas: 'title status' 'meta meta'; row-gap: 4px; padding: 14px 4px; }
  .hm-qna__title { grid-area: title; white-space: normal; }
  .hm-qna__status { grid-area: status; }
  .hm-qna__no { display: none; }
  .hm-qna__author, .hm-qna__date { grid-area: meta; }
  .hm-qna__author { justify-self: start; }
  .hm-qna__date { justify-self: end; }
  .hm-qna__write-link { flex: 1 1 100%; }
  .hm-qna__buttons button { flex: 1 1 auto; }
}
