/* -----------------------------------------
    /blog ("Help Center" / knowledgebase)
    page. Uses the theme's own CSS vars
    (--color-primary etc.), already global
    on front pages - nothing redefined here.
----------------------------------------- */

.hc-hero {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.hc-eyebrow {
  display: inline-block;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hc-title {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 14px;
  line-height: 1.25;
}

.hc-intro {
  color: var(--color-medium, #6b7280);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 28px;
}

.hc-search {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #e3e6ea;
  border-radius: 999px;
  padding: 6px 6px 6px 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.hc-search-icon {
  color: var(--color-medium, #9aa1ab);
  font-size: 16px;
  flex: none;
}

.hc-search input[type='text'] {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 15px;
  padding: 10px 0;
  min-width: 0;
}

.hc-search button {
  flex: none;
  border: none;
  border-radius: 999px;
  padding: 10px 22px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.hc-search button:hover {
  opacity: 0.9;
}

.hc-categories {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 40px;
}

.hc-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid #e3e6ea;
  color: #454545;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hc-cat-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.hc-cat-pill.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.hc-cat-count {
  font-size: 12px;
  opacity: 0.75;
}

.hc-article-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hc-article-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px;
  border: 1px solid #ebedf0;
  border-radius: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hc-article-row:hover {
  border-color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.hc-article-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.08);
  color: var(--color-primary);
  font-size: 18px;
}

.hc-article-body {
  flex: 1;
  min-width: 0;
}

.hc-article-title {
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 6px;
  line-height: 1.4;
}

.hc-article-title a {
  color: #1c1c1c;
  text-decoration: none;
}

.hc-article-row:hover .hc-article-title a {
  color: var(--color-primary);
}

.hc-article-excerpt {
  color: var(--color-medium, #6b7280);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hc-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: #9aa1ab;
}

.hc-article-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hc-article-arrow {
  flex: none;
  align-self: center;
  color: #c3c8cf;
  font-size: 16px;
  transition: color 0.2s, transform 0.2s;
}

.hc-article-row:hover .hc-article-arrow {
  color: var(--color-primary);
  transform: translateX(3px);
}

.hc-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--color-medium, #6b7280);
}

.hc-empty i {
  font-size: 32px;
  display: block;
  margin-bottom: 14px;
  opacity: 0.4;
}

/* Grouped-by-category index (the default /blog view, no filter/search):
   a multi-column grid of category sections, each a plain link list -
   matches a classic knowledgebase home page instead of a blog feed. */
.hc-groups {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}

.hc-group-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid #e3e6ea;
}

.hc-group-header i {
  color: var(--color-primary);
  font-size: 17px;
  flex: none;
}

.hc-group-header h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}

.hc-group-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-group-list li + li {
  margin-top: 2px;
}

.hc-group-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 4px;
  color: #454545;
  font-size: 14.5px;
  line-height: 1.45;
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.hc-group-list a:hover {
  color: var(--color-primary);
  background: rgba(var(--color-primary-rgb), 0.06);
  text-decoration: none;
}

.hc-group-list a i {
  flex: none;
  font-size: 12px;
  color: #c3c8cf;
  transition: color 0.2s, transform 0.2s;
}

.hc-group-list a:hover i {
  color: var(--color-primary);
  transform: translateX(2px);
}

@media (max-width: 991px) {
  .hc-groups {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .hc-groups {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 575px) {
  .hc-title {
    font-size: 28px;
  }

  .hc-search {
    padding: 6px;
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .hc-search-icon {
    display: none;
  }

  .hc-search input[type='text'] {
    padding: 10px 8px;
  }

  .hc-search button {
    width: 100%;
  }

  .hc-article-row {
    padding: 16px;
    gap: 12px;
  }

  .hc-article-arrow {
    display: none;
  }
}

/* -----------------------------------------
    /blog-details (single help-center
    article page): sidebar nav of every
    category + its articles, current one
    highlighted, plus a compact breadcrumb
    and right-sized heading instead of the
    theme's big shared page-title banner.
----------------------------------------- */
.hc-article-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 80px;
}

.hc-sidebar {
  flex: none;
  width: 260px;
  padding-right: 32px;
  border-right: 1px solid #e3e6ea;
  position: sticky;
  top: 24px;
}

.hc-sidebar-group + .hc-sidebar-group {
  margin-top: 26px;
}

.hc-sidebar-group h3 {
  font-size: 13px;
  font-weight: 700;
  margin: 0 0 8px;
}

.hc-sidebar-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hc-sidebar-group a {
  display: block;
  padding: 7px 10px;
  margin: 0 -10px;
  border-radius: 8px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.hc-sidebar-group a:hover {
  color: #1c1c1c;
  text-decoration: none;
}

.hc-sidebar-group a.active {
  background: #f1f2f4;
  color: #1c1c1c;
  font-weight: 600;
}

.hc-article-main {
  flex: 1;
  min-width: 0;
}

.hc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9aa1ab;
  margin-bottom: 14px;
}

.hc-breadcrumb a {
  color: #9aa1ab;
  text-decoration: none;
}

.hc-breadcrumb a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.hc-breadcrumb i {
  font-size: 10px;
}

.hc-article-content h1 {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 20px;
}

.hc-article-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-bottom: 20px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e3e6ea;
  font-size: 13.5px;
  color: #9aa1ab;
}

.hc-article-top > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hc-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hc-share a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f2f4;
  color: #6b7280;
  font-size: 13px;
  transition: background 0.2s, color 0.2s;
}

.hc-share a:hover {
  background: var(--color-primary);
  color: #fff;
}

.hc-content-body {
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
}

.hc-content-body h2,
.hc-content-body h3,
.hc-content-body h4 {
  margin: 32px 0 12px;
  font-weight: 700;
}

.hc-content-body h3 {
  font-size: 19px;
}

.hc-content-body p {
  margin: 0 0 16px;
}

.hc-content-body ul,
.hc-content-body ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.hc-content-body li {
  margin-bottom: 6px;
}

@media (max-width: 991px) {
  .hc-article-layout {
    flex-direction: column;
    gap: 32px;
  }

  .hc-sidebar {
    width: 100%;
    position: static;
    border-right: none;
    border-bottom: 1px solid #e3e6ea;
    padding-right: 0;
    padding-bottom: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 24px;
  }
}

@media (max-width: 575px) {
  .hc-sidebar {
    grid-template-columns: 1fr;
  }

  .hc-article-content h1 {
    font-size: 23px;
  }
}
