.help-center-page {
  display: grid;
  gap: 16px;
}

.help-center-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  border: 1px solid #dbe4ee;
  border-radius: 16px;
  background: linear-gradient(135deg, #f8fbff 0%, #ffffff 65%);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.help-center-hero h1 {
  margin: 0 0 8px;
  font-size: 28px;
  color: #0f172a;
}

.help-center-hero p {
  margin: 0;
  max-width: 760px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.75;
}

.help-center-hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.help-center-quick-nav {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.hc-quick-card {
  display: block;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.hc-quick-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  color: #0f172a;
}

.hc-quick-card span {
  display: block;
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.hc-quick-card:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.help-center-section {
  border-radius: 16px;
  border: 1px solid #dde6f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.help-center-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
  margin-bottom: 14px;
}

.help-center-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #0f172a;
}

.help-center-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.help-center-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}

.help-center-item {
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  padding: 14px;
}

.help-center-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.help-center-item-title {
  margin: 0 0 8px;
  font-size: 16px;
  color: #0f172a;
  line-height: 1.55;
}

.help-center-item-summary {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.75;
  min-height: 72px;
  white-space: pre-wrap;
}

.help-center-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.help-center-empty {
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 16px;
  color: #64748b;
  font-size: 13px;
  text-align: center;
  background: #f8fafc;
}

@media (max-width: 1100px) {
  .help-center-quick-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .help-center-hero {
    display: block;
  }

  .help-center-hero-actions {
    margin-top: 14px;
  }
}

@media (max-width: 640px) {
  .help-center-quick-nav,
  .help-center-list {
    grid-template-columns: 1fr;
  }
}

.help-center-category-page {
  display: grid;
  gap: 16px;
}

.hc-category-shell {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 16px;
}

.hc-category-sidebar {
  border: 1px solid #dde6f0;
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
  padding: 14px;
  align-self: start;
  position: sticky;
  top: 16px;
}

.hc-category-sidebar h3 {
  margin: 0 0 10px;
  font-size: 15px;
  color: #0f172a;
}

.hc-category-sidebar-links {
  display: grid;
  gap: 10px;
}

.hc-category-sidebar-links a {
  display: block;
  padding: 12px 14px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  color: #334155;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.6;
}

.hc-category-sidebar-links a strong {
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
  font-size: 14px;
}

.hc-category-sidebar-links a.is-active,
.hc-category-sidebar-links a:hover {
  border-color: #bfdbfe;
  background: #f8fbff;
}

.hc-category-main {
  display: grid;
  gap: 16px;
}

.hc-category-main #hcCategoryFeatured {
  display: none !important;
}

.hc-category-featured-card {
  border: 1px solid #fde7cc;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8ef 0%, #ffffff 70%);
  box-shadow: 0 14px 28px rgba(251, 146, 60, 0.08);
  padding: 20px;
}

.hc-category-featured-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.hc-category-featured-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.45;
  color: #0f172a;
}

.hc-category-featured-card p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.85;
  white-space: pre-wrap;
}

.hc-category-featured-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.hc-category-list-wrap {
  border-radius: 16px;
  border: 1px solid #dde6f0;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.04);
}

.hc-category-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.hc-category-list-head h2 {
  margin: 0 0 6px;
  font-size: 22px;
  color: #0f172a;
}

.hc-category-list-head p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
}

.hc-category-count {
  padding: 6px 12px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 12px;
  white-space: nowrap;
}

.hc-category-list {
  display: grid;
  gap: 12px;
}

.hc-news-item {
  display: grid;
  grid-template-columns: 138px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eef2f7;
}

.hc-news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hc-news-thumb {
  width: 138px;
  height: 86px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #edf4ff 0%, #f8fbff 100%);
  border: 1px solid #e2e8f0;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
}

.hc-news-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hc-news-thumb-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 10px;
  color: #3b82f6;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

.hc-news-main {
  min-width: 0;
}

.hc-news-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hc-news-title {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-news-action {
  border: 0;
  background: transparent;
  color: #94a3b8;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
}

.hc-news-action:hover {
  color: #2563eb;
}

.hc-news-summary {
  margin: 8px 0 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hc-news-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.hc-news-meta-text {
  color: #94a3b8;
  font-size: 12px;
}

.hc-news-link {
  color: #2563eb;
  font-size: 12px;
  text-decoration: none;
}

.hc-news-link:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hc-category-shell {
    grid-template-columns: 1fr;
  }

  .hc-category-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .hc-news-item {
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 12px;
  }

  .hc-news-thumb {
    width: 108px;
    height: 72px;
  }

  .hc-category-featured-top,
  .hc-category-list-head {
    display: block;
  }

  .hc-category-count {
    display: inline-flex;
    margin-top: 10px;
  }
}
