/* ══════════════════
 HELP HERO / SEARCH
══════════════════ */
.inline-link {
  color: var(--black);
  font-weight: 700;
  text-decoration: underline;
}

.help-hero {
  border-bottom: 1px solid var(--border);
  padding: 3.4rem 0 3rem;
  background: var(--g1);
  text-align: center;
}

.help-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0.5rem 0 1.4rem;
}

.help-search {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.help-search svg {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--g5);
  pointer-events: none;
}

.help-search input {
  width: 100%;
  border: 1.5px solid var(--border-d);
  border-radius: 40px;
  padding: 0.85rem 2.8rem;
  font-family: var(--f);
  font-size: 0.92rem;
  background: var(--white);
  outline: none;
  transition: border-color 0.12s, box-shadow 0.12s;
}

.help-search input:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.help-search-clear {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--g5);
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
}

.help-search-clear:hover {
  color: var(--black);
}

/* ══════════════════
 SECTIONS
══════════════════ */
.help-section {
  padding: 2.6rem 0;
}

.help-section-hd {
  margin-bottom: 1.2rem;
}

.help-section-hd h2 {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.help-empty {
  padding: 2rem;
  text-align: center;
  color: var(--g5);
  font-size: 0.9rem;
  background: var(--g05);
  border: 1px solid var(--border);
  border-radius: var(--rl);
}

/* ══════════════════
 CATEGORY GRID
══════════════════ */
.help-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

@media (max-width: 860px) {
  .help-category-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .help-category-grid { grid-template-columns: 1fr; }
}

.help-category-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.4rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.12s, transform 0.12s;
}

.help-category-card:hover {
  border-color: var(--g6);
  transform: translateY(-2px);
}

.help-category-ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--g1);
  border: 1px solid var(--border);
  color: var(--g7);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.9rem;
}

.help-category-t {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.3rem;
}

.help-category-d {
  font-size: 0.8rem;
  color: var(--g5);
  line-height: 1.5;
  margin-bottom: 0.6rem;
}

.help-category-count {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--g5);
}

/* ══════════════════
 ARTICLE LIST (rows)
══════════════════ */
.help-article-list {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  overflow: hidden;
}

.help-article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--border);
  transition: background 0.1s;
}

.help-article-row:last-child {
  border-bottom: none;
}

.help-article-row:hover {
  background: var(--g05);
}

.help-article-row svg {
  color: var(--g4);
  flex-shrink: 0;
}

.help-article-row-t {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.15rem;
}

.help-article-row-cat {
  font-size: 0.75rem;
  color: var(--g5);
}

/* ══════════════════
 CONTACT CTA CARD
══════════════════ */
.help-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--g1);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.4rem 1.6rem;
  margin: 1rem 0 3.5rem;
}

@media (max-width: 560px) {
  .help-cta-card { flex-direction: column; align-items: flex-start; }
}

.help-cta-t {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--black);
}

.help-cta-s {
  font-size: 0.8rem;
  color: var(--g5);
}

/* ══════════════════
 BREADCRUMB
══════════════════ */
.help-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--g5);
  padding: 1.6rem 0 0;
}

.help-breadcrumb a {
  color: var(--g6);
  text-decoration: none;
}

.help-breadcrumb a:hover {
  color: var(--black);
  text-decoration: underline;
}

.help-breadcrumb svg {
  width: 12px;
  height: 12px;
  color: var(--g4);
}

.help-breadcrumb span {
  color: var(--black);
  font-weight: 600;
}

/* ══════════════════
 CATEGORY HEADER
══════════════════ */
.help-cat-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.6rem 0 2rem;
}

.help-cat-title {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.help-cat-desc {
  font-size: 0.85rem;
  color: var(--g5);
  margin-top: 0.2rem;
}

/* ══════════════════
 ARTICLE PAGE
══════════════════ */
.help-article-wrap {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 2.5rem;
  padding: 1.8rem 0 2.5rem;
  align-items: start;
}

@media (max-width: 860px) {
  .help-article-wrap { grid-template-columns: 1fr; }
}

.help-article-body h1 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}

.help-article-content {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--g7);
}

.help-article-content p {
  margin-bottom: 1.1rem;
}

.help-article-content ul,
.help-article-content ol {
  margin: 0 0 1.1rem 1.3rem;
}

.help-article-content li {
  margin-bottom: 0.4rem;
}

.help-article-content strong {
  color: var(--black);
}

.help-article-content a {
  color: var(--black);
  text-decoration: underline;
}

.help-article-feedback {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

@media (max-width: 480px) {
  .help-article-feedback { flex-direction: column; align-items: flex-start; }
}

.help-article-feedback-btns {
  display: flex;
  gap: 0.5rem;
}

/* ── Related sidebar ── */
.help-related {
  background: var(--g05);
  border: 1px solid var(--border);
  border-radius: var(--rl);
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.help-related-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--g5);
  margin-bottom: 0.5rem;
}

.help-related-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--g7);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}

.help-related-link:last-of-type {
  border-bottom: none;
}

.help-related-link:hover {
  color: var(--black);
}

.help-related-all {
  margin-top: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: underline;
}
