/* 고객센터 FAQ (Help Center) v1.0.0 — 촬영GO 테마스토어
   색·글꼴은 아래 변수만 바꾸면 스킨 전체에 반영됩니다. 클래스 접두어 hfq- 는 바꾸지 마세요. */
@import url(fonts/fonts.css);

.hfq {
  --hfq-bg: #ffffff;
  --hfq-surface: #f4f6f9;
  --hfq-line: #e3e7ee;
  --hfq-text: #334155;
  --hfq-strong: #0f172a;
  --hfq-muted: #8391a7;
  --hfq-accent: #2563eb;
  --hfq-on-accent: #ffffff;
  --hfq-accent-text: #1d4ed8;
  --hfq-soft: #e8efff;
  --hfq-radius: 16px;
  --hfq-font: "Pretendard", -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --hfq-font-display: "Pretendard", sans-serif;
  --hfq-display-weight: 800;
  --hfq-display-tracking: -0.03em;
  --hfq-radius-sm: calc(var(--hfq-radius) * .6);
  font-family: var(--hfq-font);
  color: var(--hfq-text);
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
.hfq *, .hfq *::before, .hfq *::after { box-sizing: border-box; }
.hfq a { color: inherit; text-decoration: none; }
.hfq img { max-width: 100%; height: auto; }
.hfq .sound_only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hfq :focus-visible { outline: 3px solid var(--hfq-accent); outline-offset: 2px; }

/* 버튼 */
.hfq-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; padding: 0 16px;
  border: 1px solid transparent; border-radius: var(--hfq-radius-sm); font: inherit; font-size: 14px; font-weight: 600;
  line-height: 1; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.hfq-btn--primary { background: var(--hfq-accent); color: var(--hfq-on-accent) !important; }
.hfq-btn--primary:hover { filter: brightness(1.08); }
.hfq-btn--ghost { background: transparent; border-color: var(--hfq-line); color: var(--hfq-text); }
.hfq-btn--ghost:hover { border-color: var(--hfq-text); }
.hfq-btn[disabled] { opacity: .5; cursor: default; }

/* 목록 머리 */
.hfq-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.hfq-head__name { margin: 0; font-family: var(--hfq-font-display); font-size: clamp(22px, 3vw, 32px); font-weight: var(--hfq-display-weight); letter-spacing: var(--hfq-display-tracking); line-height: 1.2; color: var(--hfq-strong); }
.hfq-head__meta { margin: 6px 0 0; font-size: 13px; color: var(--hfq-muted); }
.hfq-head__meta b { color: var(--hfq-text); }
.hfq-head__tools { display: flex; flex-wrap: wrap; gap: 8px; }

/* 분류 */
.hfq-cate { margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; }
.hfq-cate::-webkit-scrollbar { display: none; }
.hfq-cate ul { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; white-space: nowrap; }
.hfq-cate a { display: inline-block; padding: 8px 14px; border: 1px solid var(--hfq-line); border-radius: 999px; font-size: 14px; color: var(--hfq-muted); }
.hfq-cate a:hover { color: var(--hfq-text); border-color: var(--hfq-text); }
.hfq-cate #bo_cate_on { background: var(--hfq-strong); border-color: var(--hfq-strong); color: var(--hfq-bg); font-weight: 700; }

/* 검색 */
.hfq-search { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 14px; background: var(--hfq-surface); border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); }
.hfq-search[hidden] { display: none; }
.hfq-search select, .hfq-search input[type=search] { min-height: 40px; padding: 0 12px; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius-sm); background: var(--hfq-bg); color: var(--hfq-text); font: inherit; font-size: 14px; }
.hfq-search input[type=search] { flex: 1 1 200px; }

/* 관리자 선택 */
.hfq-admin { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 16px; padding: 10px 12px; border: 1px dashed var(--hfq-line); border-radius: var(--hfq-radius-sm); }
.hfq-chk { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.hfq-chk input { width: 16px; height: 16px; accent-color: var(--hfq-accent); }

.hfq-empty { margin: 0; padding: 56px 16px; text-align: center; color: var(--hfq-muted); border: 1px dashed var(--hfq-line); border-radius: var(--hfq-radius); }
.hfq-badge { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--hfq-soft); color: var(--hfq-accent-text); font-size: 12px; font-weight: 700; line-height: 1.6; vertical-align: middle; }

/* 페이지 번호 (그누보드 기본 마크업) */
.hfq-pages { margin: 28px 0 0; }
.hfq-pages .pg_wrap { display: flex; justify-content: center; }
.hfq-pages .pg { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.hfq-pages .pg_page, .hfq-pages .pg_current { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border-radius: var(--hfq-radius-sm); font-size: 14px; }
.hfq-pages .pg_page { border: 1px solid var(--hfq-line); color: var(--hfq-muted); background: transparent; }
.hfq-pages .pg_page:hover { color: var(--hfq-text); border-color: var(--hfq-text); }
.hfq-pages .pg_current { background: var(--hfq-strong); color: var(--hfq-bg); font-weight: 700; }
.hfq-pages .pg_start, .hfq-pages .pg_prev, .hfq-pages .pg_next, .hfq-pages .pg_end { text-indent: 0; font-size: 0; }
.hfq-pages .pg_start::before { content: "«"; font-size: 14px; } .hfq-pages .pg_prev::before { content: "‹"; font-size: 16px; }
.hfq-pages .pg_next::before { content: "›"; font-size: 16px; } .hfq-pages .pg_end::before { content: "»"; font-size: 14px; }

/* 본문 보기 */
.hfq-view__head { margin: 0 0 16px; padding: 0 0 20px; border-bottom: 1px solid var(--hfq-line); }
.hfq-view__cate { margin: 0 0 10px; font-size: 13px; font-weight: 700; color: var(--hfq-accent-text); letter-spacing: .02em; }
.hfq-view__title { margin: 0; font-family: var(--hfq-font-display); font-size: clamp(24px, 3.4vw, 38px); font-weight: var(--hfq-display-weight); letter-spacing: var(--hfq-display-tracking); line-height: 1.25; color: var(--hfq-strong); }
.hfq-view__sub { margin: 12px 0 0; font-size: 17px; color: var(--hfq-muted); }
.hfq-view__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 16px 0 0; font-size: 13px; color: var(--hfq-muted); }
.hfq-view__author, .hfq-view__author *, .hfq-cmt__name, .hfq-cmt__name * { color: var(--hfq-text) !important; font-weight: 700; }
.hfq-view__tools { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin: 0 0 24px; }
.hfq-view__imgs { margin: 0 0 24px; }
.hfq-view__imgs img { display: block; margin: 0 auto 12px; border-radius: var(--hfq-radius); }
.hfq-view__content { font-size: 17px; line-height: 1.85; color: var(--hfq-text); min-height: 120px; }
.hfq-view__content p { margin: 0 0 1em; }
.hfq-view__content a { color: var(--hfq-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.hfq-view__content img { border-radius: var(--hfq-radius-sm); }
.hfq-view__sign { margin: 32px 0 0; padding: 16px; border-top: 1px dashed var(--hfq-line); color: var(--hfq-muted); }
.hfq-view__react { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 40px 0 0; }
.hfq-react { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border: 1px solid var(--hfq-line); border-radius: 999px; font-weight: 700; }
.hfq-react:hover { border-color: var(--hfq-accent); color: var(--hfq-accent-text); }
.hfq-react__msg { display: none; align-self: center; font-size: 13px; color: var(--hfq-accent-text); }
.hfq-view__share { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 24px 0 0; }
.hfq-view__files, .hfq-view__links { margin: 32px 0 0; padding: 18px 20px; background: var(--hfq-surface); border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); }
.hfq-view__files h2, .hfq-view__links h2 { margin: 0 0 10px; font-size: 14px; color: var(--hfq-muted); }
.hfq-view__files ul, .hfq-view__links ul { margin: 0; padding: 0; list-style: none; }
.hfq-view__files li, .hfq-view__links li { padding: 6px 0; font-size: 15px; }
.hfq-view__files small, .hfq-view__links small { color: var(--hfq-muted); }
.hfq-view__nav { display: grid; gap: 1px; margin: 32px 0 0; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); overflow: hidden; background: var(--hfq-line); }
.hfq-view__nav a { display: flex; gap: 16px; padding: 14px 18px; background: var(--hfq-bg); font-size: 15px; }
.hfq-view__nav a:hover { background: var(--hfq-surface); }
.hfq-view__nav span { flex: 0 0 auto; color: var(--hfq-muted); font-size: 13px; font-weight: 700; padding-top: 2px; }

/* 댓글 */
.hfq-cmt { margin: 48px 0 0; }
.hfq-cmt__title { margin: 0 0 16px; font-size: 18px; color: var(--hfq-strong); }
.hfq-cmt__title b { color: var(--hfq-accent-text); }
.hfq-cmt__item { position: relative; padding: 16px 0 16px calc(var(--depth, 0) * 28px); border-top: 1px solid var(--hfq-line); }
.hfq-cmt__item.is-reply::before { content: "↳"; position: absolute; left: calc(var(--depth, 1) * 28px - 20px); top: 16px; color: var(--hfq-muted); }
.hfq-cmt__head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13px; color: var(--hfq-muted); }
.hfq-cmt__name { color: var(--hfq-text); font-weight: 700; font-size: 14px; }
.hfq-cmt__body { margin: 8px 0 0; font-size: 15px; }
.hfq-cmt__act { display: flex; gap: 12px; margin: 8px 0 0; font-size: 13px; color: var(--hfq-muted); }
.hfq-cmt__act a:hover { color: var(--hfq-accent-text); }
.hfq-cmt__empty { margin: 0; padding: 24px 0; color: var(--hfq-muted); border-top: 1px solid var(--hfq-line); }
.hfq-cmt__write { display: block; margin: 16px 0 0; }
.hfq-cmt__write textarea { width: 100%; min-height: 110px; padding: 14px; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); background: var(--hfq-bg); color: var(--hfq-text); font: inherit; font-size: 15px; resize: vertical; }
.hfq-cmt__count { margin: 6px 0 0; font-size: 12px; color: var(--hfq-muted); }
.hfq-cmt__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 10px 0 0; }
.hfq-cmt__foot .hfq-btn { margin-left: auto; }

/* 글쓰기 */
.hfq-write__title { margin: 0 0 24px; font-family: var(--hfq-font-display); font-size: 26px; font-weight: var(--hfq-display-weight); color: var(--hfq-strong); }
.hfq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 16px; }
.hfq-field { margin: 0 0 18px; }
.hfq-field > label { display: block; margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--hfq-strong); }
.hfq-field em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--hfq-accent-text); }
.hfq-field small { font-weight: 400; color: var(--hfq-muted); }
.hfq-input { width: 100%; min-height: 44px; padding: 10px 14px; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius-sm); background: var(--hfq-bg); color: var(--hfq-text); font: inherit; font-size: 15px; }
.hfq-input:focus { border-color: var(--hfq-accent); outline: none; box-shadow: 0 0 0 3px var(--hfq-soft); }
.hfq-input--lg { font-size: 17px; font-weight: 600; }
.hfq-file .hfq-input { margin: 0 0 6px; }
.hfq-opts { display: flex; flex-wrap: wrap; gap: 16px; margin: 0 0 18px; }
.hfq-autosave { position: relative; display: flex; gap: 8px; }
.hfq-autosave #autosave_pop { display: none; position: absolute; top: 52px; right: 0; z-index: 20; width: 320px; padding: 14px; background: var(--hfq-bg); border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); box-shadow: 0 12px 32px rgba(0,0,0,.14); }
.hfq-autosave #autosave_pop ul { margin: 10px 0; padding: 0; list-style: none; max-height: 200px; overflow: auto; }
.hfq-autosave #autosave_pop li { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-top: 1px solid var(--hfq-line); font-size: 14px; }
.hfq-editor textarea { width: 100%; min-height: 320px; padding: 14px; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius-sm); background: var(--hfq-bg); color: var(--hfq-text); font: inherit; font-size: 15px; }
.hfq-help { margin: 0 0 8px; font-size: 13px; color: var(--hfq-muted); }
.hfq-captcha { margin: 0 0 18px; }
.hfq-captcha #captcha { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.hfq-captcha #captcha_key { min-height: 40px; padding: 0 10px; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius-sm); }
.hfq-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--hfq-line); }

/* 최신글 위젯 공통 */
.hfq-latest { padding: 20px; background: var(--hfq-bg); border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); }
.hfq-latest__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.hfq-latest__head h2 { margin: 0; font-family: var(--hfq-font-display); font-size: 19px; font-weight: var(--hfq-display-weight); color: var(--hfq-strong); }
.hfq-latest__more { font-size: 13px; color: var(--hfq-muted); }
.hfq-latest__more:hover { color: var(--hfq-accent-text); }
.hfq-latest .hfq-empty { padding: 28px 12px; }

@media (max-width: 640px) {
  .hfq-head { align-items: flex-start; }
  .hfq-view__tools { justify-content: flex-start; }
  .hfq-view__content { font-size: 16px; }
  .hfq-actions .hfq-btn { flex: 1; }
  .hfq-cmt__foot .hfq-btn { margin-left: 0; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hfq * { transition: none !important; animation: none !important; } }

/* ===== 고객센터 FAQ (Help Center) 전용 ===== */

.hfq { font-size: 15px; }
.hfq-top { margin: 0 0 6px; }
.hfq-hero { margin: 0 0 22px; padding: 36px 30px; border-radius: 22px; background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 55%, #3b82f6 100%); color: #fff; text-align: center; }
.hfq-hero__t { margin: 0 0 16px; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.03em; }
.hfq-hero__form { display: flex; gap: 8px; max-width: 620px; margin: 0 auto; padding: 6px; border-radius: 16px; background: #fff; box-shadow: 0 20px 40px -20px rgba(15,23,42,.5); }
.hfq-hero__form input { flex: 1; min-width: 0; height: 48px; padding: 0 14px; border: 0; font: inherit; font-size: 16px; color: var(--hfq-strong); outline: 0; background: transparent; }
.hfq-hero__form .hfq-btn { height: 48px; padding: 0 22px; border-radius: 12px; }
.hfq-hero__res { margin: 14px 0 0; font-size: 14px; color: rgba(255,255,255,.85); }
.hfq-hero__res a { color: #fff; text-decoration: underline; }

.hfq-cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 0 0 24px; }
.hfq-cat { display: flex; flex-direction: column; gap: 2px; padding: 18px; border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); background: #fff; transition: border-color .15s, transform .15s; }
.hfq-cat:hover { border-color: var(--hfq-accent); transform: translateY(-2px); }
.hfq-cat.is-on { border-color: var(--hfq-accent); background: var(--hfq-soft); }
.hfq-cat__ic { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 10px; border-radius: 12px; font-weight: 800; }
.hfq-cat--0 .hfq-cat__ic { background: #e8efff; color: #1d4ed8; }
.hfq-cat--1 .hfq-cat__ic { background: #e6f7ee; color: #15803d; }
.hfq-cat--2 .hfq-cat__ic { background: #fff1e6; color: #c2410c; }
.hfq-cat--3 .hfq-cat__ic { background: #f3e8ff; color: #7e22ce; }
.hfq-cat b { font-size: 16px; color: var(--hfq-strong); }
.hfq-cat small { font-size: 13px; color: var(--hfq-muted); }

.hfq-tools { display: flex; justify-content: flex-end; margin: 0 0 10px; }
.hfq-list { display: grid; gap: 10px; }
.hfq-q { border: 1px solid var(--hfq-line); border-radius: var(--hfq-radius); background: #fff; transition: border-color .15s, box-shadow .15s; }
.hfq-q[open] { border-color: var(--hfq-accent); box-shadow: 0 12px 30px -18px rgba(37,99,235,.5); }
.hfq-q summary { display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; list-style: none; }
.hfq-q summary::-webkit-details-marker { display: none; }
.hfq-q__mark { flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--hfq-soft); color: var(--hfq-accent-text); font-weight: 800; }
.hfq-q__t { flex: 1; min-width: 0; font-size: 17px; font-weight: 700; color: var(--hfq-strong); }
.hfq-q__t .sch_word { background: #fff3a3; color: inherit; }
.hfq-q__cate { flex-shrink: 0; font-size: 12px; font-weight: 700; color: var(--hfq-muted); }
.hfq-q__ic { flex-shrink: 0; color: var(--hfq-muted); transition: transform .2s; }
.hfq-q[open] .hfq-q__ic { transform: rotate(180deg); color: var(--hfq-accent); }
.hfq-a { padding: 0 20px 18px 62px; }
.hfq-a__body { color: var(--hfq-text); line-height: 1.8; }
.hfq-a__body > :first-child { margin-top: 0; }
.hfq-a__body img { border-radius: 10px; }
.hfq-a__secret { margin: 0; color: var(--hfq-muted); }
.hfq-a__secret a { color: var(--hfq-accent-text); }
.hfq-kws { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.hfq-kws a { padding: 4px 10px; border-radius: 999px; background: var(--hfq-surface); font-size: 13px; font-weight: 600; color: var(--hfq-text); }
.hfq-kws a:hover { background: var(--hfq-soft); color: var(--hfq-accent-text); }
.hfq-a__foot { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--hfq-line); font-size: 13px; color: var(--hfq-muted); }
.hfq-a__foot a { font-weight: 700; color: var(--hfq-accent-text); }
.hfq-q.is-notice { background: var(--hfq-surface); }
.hfq-pill { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--hfq-strong); color: #fff; font-size: 12px; font-weight: 800; }
.hfq-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin: 26px 0 0; padding: 22px 24px; border-radius: var(--hfq-radius); background: var(--hfq-surface); }
.hfq-more p { margin: 0; color: var(--hfq-text); }
.hfq-more__t { margin: 0 0 2px !important; font-size: 17px; font-weight: 800; color: var(--hfq-strong) !important; }

@media (max-width: 760px) {
  .hfq-hero { padding: 26px 16px; border-radius: 18px; }
  .hfq-hero__form .hfq-btn { padding: 0 16px; }
  .hfq-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hfq-q summary { padding: 16px; gap: 10px; }
  .hfq-q__t { font-size: 16px; }
  .hfq-q__cate { display: none; }
  .hfq-a { padding: 0 16px 16px; }
}
