/* MCI Portal Help Center — knowledgebase archive layout, MCI tokens */
.hc-page {
  min-height: 100vh;
  background: #fff;
  color: var(--blue-darker, #001324);
  font-family: var(--font-body, Inter, sans-serif);
}

/* ── Header: brand left, page title centered, nav right ─────────────── */
.hc-top {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 40px;
  background: #fff;
  border-bottom: 1px solid var(--gray-200, #E9EAEB);
}
/* Same 130x40 brand box as the landing page nav */
.hc-brand {
  display: block;
  position: relative;
  width: 130px;
  height: 40px;
  flex-shrink: 0;
  text-decoration: none;
}
.hc-brand img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hc-top-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'DM Sans', var(--font-body, Inter), sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1e1e1e;
  white-space: nowrap;
}
.hc-top-links {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.hc-top-links a {
  font-family: 'DM Sans', var(--font-body, Inter), sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #475569;
  text-decoration: none;
}
.hc-top-links a:hover { opacity: 0.75; }
.hc-top-links .hc-signin { color: #0075e2; }

/* ── Hero band ───────────────────────────────────────────────────────── */
.hc-band {
  position: relative;
  overflow: hidden;
  padding: 68px 24px 76px;
  text-align: center;
  background: #F2F6FA;
  border-bottom: 1px solid var(--gray-200);
}
.hc-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-radial-gradient(circle at 50% 18%,
    rgba(0, 53, 102, 0.05) 0 1px, transparent 1px 44px);
  pointer-events: none;
}
.hc-band-inner { position: relative; max-width: 720px; margin: 0 auto; }
.hc-band h1 {
  margin: 0 0 14px;
  font-family: var(--font-heading, Figtree, sans-serif);
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--blue-darker);
}
.hc-band p {
  margin: 0 auto 30px;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-600);
}
.hc-band.compact { padding: 44px 24px 48px; }
.hc-band.compact h1 { font-size: 32px; margin-bottom: 10px; }
.hc-band.compact p { margin-bottom: 24px; font-size: 15px; }

/* Rounded search field with inline submit */
.hc-search { position: relative; max-width: 440px; margin: 0 auto; }
.hc-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 54px 15px 22px;
  border: 1px solid #DCE4EC;
  border-radius: 999px;
  background: #fff;
  font-family: inherit;
  font-size: 15px;
  color: var(--blue-darker);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.hc-search input::placeholder { color: var(--gray-400); }
.hc-search input:focus { outline: none; border-color: var(--blue-normal); }
.hc-search button {
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gray-500);
  cursor: pointer;
}
.hc-search button svg { width: 20px; height: 20px; }
.hc-search button:hover { color: var(--blue-normal); }

/* ── Content wrapper ─────────────────────────────────────────────────── */
.hc-wrap { max-width: 1120px; margin: 0 auto; padding: 48px 24px 80px; }
.hc-wrap.tight { padding-top: 32px; }

.hc-crumb { font-size: 13px; color: var(--gray-500); margin-bottom: 20px; }
.hc-crumb a { color: var(--blue-normal); font-weight: 600; text-decoration: none; }
.hc-crumb a:hover { text-decoration: underline; }

.hc-count-line {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 0 20px;
}

/* ── Knowledgebase cards ─────────────────────────────────────────────── */
.hc-kb-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hc-kb-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
}
.hc-kb-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px 16px;
}
.hc-ring {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 3px solid var(--hc-ring, var(--blue-normal));
  flex-shrink: 0;
}
.hc-kb-head h3 {
  margin: 0;
  font-family: var(--font-heading, Figtree, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-darker);
  min-width: 0;
}
.hc-kb-head h3 a { color: inherit; text-decoration: none; }
.hc-kb-head h3 a:hover { text-decoration: underline; }

.hc-kb-list {
  list-style: none;
  margin: 0;
  padding: 0 24px 22px;
  flex: 1;
}
.hc-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 7px 0;
}
.hc-row-ico {
  flex-shrink: 0;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  color: var(--gray-300);
}
.hc-row-ico svg { width: 15px; height: 15px; display: block; }
.hc-row a {
  font-size: 14px;
  line-height: 1.45;
  color: var(--gray-600);
  text-decoration: none;
}
.hc-row a:hover { color: var(--blue-normal); text-decoration: underline; }
.hc-row-sub {
  display: block;
  font-size: 12.5px;
  color: var(--gray-500);
  line-height: 1.45;
  margin-top: 2px;
}
.hc-row-more {
  padding: 8px 0 0;
  font-size: 13px;
}
.hc-row-more a { color: var(--blue-normal); font-weight: 600; text-decoration: none; }
.hc-row-more a:hover { text-decoration: underline; }

.hc-kb-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 24px;
  border-top: 1px solid var(--gray-200);
  background: #F7F9FB;
  font-size: 12.5px;
  color: var(--gray-500);
  white-space: nowrap;
}
.hc-kb-foot > span { flex-shrink: 0; }
.hc-kb-foot a {
  color: var(--blue-normal);
  font-weight: 600;
  text-decoration: none;
  flex-shrink: 0;
}
.hc-kb-foot a:hover { text-decoration: underline; }

/* Single-column list card (category + search results) */
.hc-panel {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  overflow: hidden;
}
.hc-panel .hc-kb-list { padding: 10px 24px 18px; }
.hc-panel .hc-row { padding: 11px 0; border-bottom: 1px solid var(--gray-100); }
.hc-panel .hc-row:last-child { border-bottom: none; }
.hc-panel .hc-row a { font-size: 15px; font-weight: 600; color: var(--blue-darker); }
.hc-panel .hc-row a:hover { color: var(--blue-normal); }

/* Collection chips */
.hc-chips-title {
  margin: 40px 0 14px;
  font-family: var(--font-heading, Figtree, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-darker);
}
.hc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hc-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--gray-300);
  background: #fff;
  font-size: 13px;
  color: var(--gray-700);
  text-decoration: none;
}
.hc-chip:hover { background: var(--gray-50); }
.hc-chip.active {
  background: #E8F1F8;
  border-color: #A8C4DC;
  color: var(--blue-normal);
  font-weight: 600;
}

/* ── Article reader ──────────────────────────────────────────────────── */
.hc-reader-shell {
  background: #F7F9FB;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 32px 16px 44px;
}
.hc-reader {
  max-width: 46rem;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 44px 48px 52px;
}
.hc-reader-title {
  font-family: var(--font-heading, Figtree, sans-serif);
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
  color: var(--blue-darker);
}
.hc-reader-meta {
  font-size: 13px;
  color: var(--gray-500);
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

/* ── Footer CTA / empty / maintenance ────────────────────────────────── */
.hc-cta {
  margin-top: 48px;
  padding: 26px 28px;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  background: #F7F9FB;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hc-cta h3 {
  margin: 0 0 4px;
  font-family: var(--font-heading, Figtree, sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-darker);
}
.hc-cta p { margin: 0; font-size: 14px; color: var(--gray-600); }
.hc-cta .hc-btn { margin-left: auto; }

.hc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: none;
  border-radius: 999px;
  background: var(--blue-normal);
  color: #fff;
  font-family: inherit;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.hc-btn:hover { background: var(--blue-dark); }

.hc-empty {
  text-align: center;
  padding: 56px 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  color: var(--gray-600);
}
.hc-empty h2 {
  margin: 0 0 8px;
  font-family: var(--font-heading, Figtree, sans-serif);
  color: var(--blue-darker);
}
.hc-maint {
  max-width: 32rem;
  margin: 72px auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 40px 28px;
}

@media (max-width: 1000px) {
  .hc-kb-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .hc-top { padding: 14px 16px; }
  .hc-top-title { display: none; }
  .hc-brand { width: 108px; height: 34px; }
  .hc-top-links { gap: 16px; }
  .hc-top-links a { font-size: 15px; }
  .hc-kb-grid { grid-template-columns: 1fr; }
  .hc-band { padding: 44px 20px 50px; }
  .hc-band h1 { font-size: 32px; }
  .hc-wrap { padding: 32px 20px 56px; }
  .hc-reader { padding: 28px 22px 36px; }
  .hc-cta .hc-btn { margin-left: 0; }
}
