/* OMR 가이드 (2026-10-22) — pages/guide.php · guide_*.php (includes/guide_page.php)
   머리 그림 · 경로 · 탭 = board.css 고객지원 머리와 같음. 모서리 직각 · 테두리 회색 · 강조 = 사이트 주황 */
.gd-section { padding:56px 0 80px; background:var(--gray-50); }
/* 머리: 가이드 제목 탭이 길어 두 줄이 되는 폭(1000px 안팎 · 긴 언어)에서도 위 메뉴와 겹치지 않게 높이를 내용에 맞춤 */
@media (min-width:992px) { .page-hero { height:auto; min-height:340px; padding:100px 0 44px; } }

/* 목록: 4칸 */
.gd-list { display:grid; grid-template-columns:repeat(4, 1fr); gap:0; border:1px solid var(--gray-200); background:#fff; }
.gd-card { display:flex; flex-direction:column; gap:12px; padding:28px 24px; text-decoration:none; color:var(--dark); border-inline-end:1px solid var(--gray-200); transition:background .15s; }
.gd-card:last-child { border-inline-end:none; }
.gd-card:hover { background:#fbfbfc; }
.gd-card-ic { width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center; background:var(--navy); color:#fff; font-size:20px; }
.gd-card-t { font-size:18px; font-weight:800; line-height:1.4; letter-spacing:-0.01em; }
.gd-card-d { font-size:14px; line-height:1.7; color:var(--gray-600); text-align:justify; word-break:normal; flex:1; }
.gd-card-more { font-size:13px; font-weight:700; color:var(--accent); }
.gd-card:hover .gd-card-more { text-decoration:underline; }

/* 가이드 본문 */
.gd-article { max-width:920px; margin:0 auto; background:#fff; border:1px solid var(--gray-200); padding:44px 52px 48px; }
.gd-article h2 { font-size:21px; font-weight:800; color:var(--dark); margin:40px 0 14px; padding-bottom:10px; border-bottom:2px solid var(--dark); letter-spacing:-0.01em; }
.gd-article h2:first-child { margin-top:0; }
.gd-article p { font-size:15.5px; line-height:1.85; color:var(--gray-700); margin:0 0 12px; text-align:justify; word-break:normal; }
.gd-ol, .gd-ul { list-style:none; margin:0 0 12px; padding:0; border:1px solid var(--gray-200); }
.gd-ol li, .gd-ul li { display:flex; align-items:flex-start; gap:14px; padding:14px 18px; font-size:15px; line-height:1.75; color:var(--gray-700); border-bottom:1px solid var(--gray-200); }
.gd-ol li:last-child, .gd-ul li:last-child { border-bottom:none; }
.gd-tx { flex:1; text-align:justify; word-break:normal; }
.gd-no { flex:0 0 28px; height:28px; display:inline-flex; align-items:center; justify-content:center; background:var(--navy); color:#fff; font-size:13px; font-weight:800; margin-top:1px; }
.gd-ul li::before { content:''; flex:0 0 7px; height:7px; margin-top:10px; background:var(--accent); }

/* 스캐너 표 — 칸 제목 가운데 · 줄바꿈 없음 · 세로 · 가로 줄 */
.gd-tbl-wrap { overflow-x:auto; margin-bottom:12px; }
.gd-tbl { width:100%; border-collapse:collapse; font-size:14px; }
.gd-tbl th { background:var(--dark); color:#fff; font-weight:700; padding:12px 14px; text-align:center; white-space:nowrap; border:1px solid var(--dark); }
.gd-tbl td { padding:11px 14px; border:1px solid var(--gray-200); color:var(--gray-700); line-height:1.5; }
.gd-tbl td.m { font-weight:700; color:var(--dark); white-space:nowrap; }

/* 바로 가기 띠 */
.gd-cta { display:flex; align-items:center; justify-content:space-between; gap:16px; margin:36px 0 0; padding:20px 24px; background:var(--navy); color:#fff; }
.gd-cta span { font-size:15px; font-weight:600; line-height:1.6; }
.gd-cta-btn { flex-shrink:0; display:inline-flex; align-items:center; gap:8px; height:44px; padding:0 20px; background:var(--accent); color:#fff; font-size:14px; font-weight:800; text-decoration:none; white-space:nowrap; }
.gd-cta-btn:hover { background:#c9461f; color:#fff; }

/* 자주 묻는 질문 */
.gd-faq { margin:0; border:1px solid var(--gray-200); }
.gd-faq dt { display:flex; gap:12px; padding:16px 18px 6px; font-size:15.5px; font-weight:700; color:var(--dark); line-height:1.6; }
.gd-faq dd { display:flex; gap:12px; margin:0; padding:4px 18px 16px; font-size:15px; line-height:1.75; color:var(--gray-700); border-bottom:1px solid var(--gray-200); text-align:justify; word-break:normal; }
.gd-faq dd:last-child { border-bottom:none; }
.gd-q, .gd-a { flex:0 0 22px; font-weight:800; }
.gd-q { color:var(--accent); }
.gd-a { color:var(--navy); }

/* 다른 가이드 */
.gd-other { list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, 1fr); border:1px solid var(--gray-200); }
.gd-other li { border-inline-end:1px solid var(--gray-200); }
.gd-other li:last-child { border-inline-end:none; }
.gd-other a { display:flex; align-items:center; gap:8px; height:100%; padding:14px 16px; font-size:14px; font-weight:700; color:var(--dark); text-decoration:none; line-height:1.5; }
.gd-other a i { color:var(--accent); }
.gd-other a:hover { background:var(--gray-50); }

@media (max-width:1199px) {
  .gd-list { grid-template-columns:repeat(2, 1fr); }
  .gd-card:nth-child(2n) { border-inline-end:none; }
  .gd-card:nth-child(-n+2) { border-bottom:1px solid var(--gray-200); }
}
@media (max-width:767px) {
  /* 머리 탭: 가이드 제목이 길어 한 줄에 하나(고객지원 화면은 두 칸 그대로 — 이 파일은 가이드 화면에서만 읽음) */
  .support-tabs { grid-template-columns:1fr; }
  .support-tab, html:is([lang=es],[lang=pt-BR],[lang=tr],[lang=id]) .support-tab, html[lang=ar] .support-tab { justify-content:flex-start; white-space:normal; text-align:start; line-height:1.4; }
  .gd-section { padding:24px 0 48px; }
  .gd-list { grid-template-columns:1fr; }
  .gd-card { border-inline-end:none; border-bottom:1px solid var(--gray-200); padding:20px 16px; }
  .gd-card:last-child { border-bottom:none; }
  .gd-card-t { font-size:16px; }
  .gd-article { padding:24px 16px 28px; }
  .gd-article h2 { font-size:17px; margin:28px 0 10px; }
  .gd-article p { font-size:14.5px; }
  .gd-ol li, .gd-ul li { padding:12px 14px; font-size:14px; gap:10px; }
  /* 스캐너 표: 모바일은 모델마다 한 묶음(모델 이름 줄 + 칸 이름 | 값 세 줄) */
  .gd-tbl thead { display:none; }
  .gd-tbl, .gd-tbl tbody, .gd-tbl tr, .gd-tbl td { display:block; width:100%; }
  .gd-tbl tr { border:1px solid var(--gray-200); margin-bottom:10px; }
  .gd-tbl td { display:flex; gap:10px; border:none; border-top:1px solid var(--gray-200); padding:9px 12px; font-size:13px; }
  .gd-tbl td::before { content:attr(data-l); flex:0 0 34%; font-weight:700; color:var(--dark); }
  .gd-tbl td.m { display:block; border-top:none; background:var(--dark); color:#fff; white-space:normal; }
  .gd-tbl td.m::before { content:none; }
  .gd-cta { flex-direction:column; align-items:stretch; padding:16px; }
  .gd-cta-btn { justify-content:center; }
  .gd-other { grid-template-columns:1fr; }
  .gd-other li { border-inline-end:none; border-bottom:1px solid var(--gray-200); }
  .gd-other li:last-child { border-bottom:none; }
  .gd-faq dt { font-size:14.5px; padding:14px 14px 4px; }
  .gd-faq dd { font-size:14px; padding:4px 14px 14px; }
}

/* 2026-11-03 검색 유입 기준 개편 — 그림 · 표 · 단추 중심 */
.gd-section.w { background:#fff; }
.gd-st { font-size:24px; font-weight:800; color:var(--dark); margin:44px 0 16px; letter-spacing:-0.02em; line-height:1.4; }
.gd-section .container > .gd-st:first-child { margin-top:0; }
.gd-hero-btns { display:flex; flex-wrap:wrap; gap:10px; margin-top:22px; }
.gd-btn { display:inline-flex; align-items:center; min-height:46px; padding:8px 22px; background:var(--accent); color:#fff; font-weight:700; }
.gd-btn:hover { background:#c9461f; color:#fff; }
.gd-btn.o { background:transparent; border:1px solid #fff; }
.gd-btn.o:hover { background:#fff; color:var(--dark); }
.gd-nums-wrap { background:#fff; }
.gd-nums { display:grid; grid-template-columns:repeat(4, 1fr); border:1px solid var(--gray-200); border-top:0; }
.gd-nums div { padding:22px; border-inline-end:1px solid var(--gray-200); }
.gd-nums div:last-child { border-inline-end:0; }
.gd-nums b { display:block; font-size:30px; font-weight:800; line-height:1.2; color:var(--accent); }
.gd-nums span { font-size:14px; font-weight:600; color:var(--dark); }
.gd-cards { display:grid; grid-template-columns:repeat(3, 1fr); gap:18px; }
.gd-cd { display:flex; flex-direction:column; background:#fff; border:1px solid var(--gray-200); color:var(--dark); text-decoration:none; }
.gd-cd:hover { border-color:var(--dark); color:var(--dark); }
.gd-cd .im { display:block; height:190px; overflow:hidden; background:var(--gray-100); border-bottom:1px solid var(--gray-200); }
.gd-cd .im img { width:100%; height:100%; object-fit:cover; object-position:top; }
.gd-cd .tx { flex:1; display:flex; flex-direction:column; gap:5px; padding:16px 18px; }
.gd-cd b { font-size:17.5px; font-weight:800; line-height:1.4; }
.gd-cd small { flex:1; font-size:13.5px; color:var(--gray-600); }
.gd-cd u { text-decoration:none; font-size:13px; font-weight:700; color:var(--accent); }
.gd-kw { display:grid; grid-template-columns:repeat(3, 1fr); gap:0 24px; }   /* 2026-11-14 묶음 3개(설문 · 투표 = Free 글뿐이라 빠짐) — 예전 4 */
.gd-kw h3 { font-size:16px; font-weight:800; padding-bottom:8px; margin:0; border-bottom:2px solid var(--dark); }
.gd-kw a { display:block; padding:10px 0; border-bottom:1px solid var(--gray-200); font-size:14.5px; color:var(--dark); text-decoration:none; }
.gd-kw a:hover { color:var(--accent); }
.gd-seg { display:flex; flex-wrap:wrap; margin-bottom:14px; }
.gd-seg button { padding:9px 20px; font-weight:700; color:var(--dark); background:#fff; border:1px solid var(--dark); margin-inline-end:-1px; cursor:pointer; }
.gd-seg button.on { background:var(--dark); color:#fff; }
.gd-gal { display:grid; grid-template-columns:repeat(3, 1fr); gap:14px; }
.gd-gal[hidden] { display:none; }
.gd-gal a, .gd-pics a { display:block; background:#fff; border:1px solid var(--gray-200); color:var(--dark); text-decoration:none; }
.gd-gal a:hover, .gd-pics a:hover { border-color:var(--accent); color:var(--dark); }
.gd-gal img, .gd-pics img { display:block; width:100%; height:auto; }
.gd-gal span, .gd-pics span { display:block; padding:8px 12px; font-size:13.5px; font-weight:700; border-top:1px solid var(--gray-200); }
.gd-pics { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.gd-section .gd-tbl { background:#fff; }
.gd-section .gd-tbl td { text-align:center; }
.gd-section .gd-tbl td.m { text-align:start; }
.gd-chart { list-style:none; margin:0; padding:0; }
.gd-chart li { display:grid; grid-template-columns:120px 1fr 170px; gap:12px; align-items:center; padding:7px 0; font-size:14px; }
.gd-chart li i { display:block; height:20px; background:var(--navy); justify-self:start; }
.gd-chart li span { font-weight:600; }
.gd-mk { display:grid; grid-template-columns:repeat(5, 1fr); border:1px solid var(--gray-200); }
.gd-mk > div { padding:16px 8px; text-align:center; font-size:13.5px; font-weight:600; line-height:1.5; border-inline-end:1px solid var(--gray-200); }
.gd-mk > div:last-child { border-inline-end:0; }
.gd-mk svg { display:block; margin:0 auto 8px; }
.gd-mk b { display:block; font-size:12.5px; }
.gd-mk b.ok { color:#0f7a43; }
.gd-mk b.no { color:#c2410c; }
.gd-prod { display:grid; grid-template-columns:minmax(0, 420px) 1fr; gap:20px; align-items:start; }
.gd-prod img { display:block; width:100%; height:auto; border:1px solid var(--gray-200); }
.gd-section.w .gd-cta { margin-top:36px; }
.gd-section.w .gd-faq dd { text-align:justify; word-break:normal; }
.gd-section.w .gd-other a { font-weight:700; }
@media (max-width:991px) { .gd-cards { grid-template-columns:repeat(2, 1fr); } .gd-kw { grid-template-columns:repeat(2, 1fr); gap:20px 24px; } .gd-nums { grid-template-columns:repeat(2, 1fr); } .gd-nums div:nth-child(2) { border-inline-end:0; } .gd-nums div:nth-child(-n+2) { border-bottom:1px solid var(--gray-200); } }
@media (max-width:767px) { .gd-st { font-size:21px; } .gd-cards, .gd-kw, .gd-pics, .gd-prod { grid-template-columns:1fr; } .gd-gal { grid-template-columns:repeat(2, 1fr); } .gd-mk { grid-template-columns:repeat(2, 1fr); } .gd-mk > div { border-bottom:1px solid var(--gray-200); } .gd-chart li { grid-template-columns:90px 1fr; } .gd-chart li span { grid-column:2; } .gd-nums b { font-size:24px; } .gd-nums div { padding:16px; } }
.gd-nums.gd-pro { border-top:1px solid var(--gray-200); }
.gd-nums.gd-pro span { font-size:16px; font-weight:700; }

/* 목록 숫자 칸 3개(2026-11-14 — 네 번째 「100장 무료 판독」 = 셀프판독(Free) 제한이라 뺌) */
.gd-nums.gd-n3 { grid-template-columns:repeat(3, 1fr); }
@media (max-width:991px) { .gd-nums.gd-n3 { grid-template-columns:repeat(3, 1fr); } .gd-nums.gd-n3 div { border-bottom:0; border-inline-end:1px solid var(--gray-200); } .gd-nums.gd-n3 div:last-child { border-inline-end:0; } }
@media (max-width:767px) { .gd-nums.gd-n3 { grid-template-columns:1fr; } .gd-nums.gd-n3 div { border-inline-end:0; border-bottom:1px solid var(--gray-200); } .gd-nums.gd-n3 div:last-child { border-bottom:0; } }
/* 글 정리(2026-11-14 사용자 지시): 핵심 요약 · 설명 문단 */
.gd-pts { background:var(--gray-50); }
.gd-pts li { font-weight:600; color:var(--dark); }
.gd-p { margin:0; font-size:15.5px; line-height:1.85; color:var(--gray-700); text-align:justify; word-break:normal; overflow-wrap:anywhere; }
