.mhc-help-active {
  --mhc-accent: #416ff7;
  --mhc-surface: #f4f6fa;
  --mhc-dark: #0b0d12;
}

html:has(body.mhc-help-active),
body.mhc-help-active {
  overflow-x: clip;
}

body.mhc-help-active .site-content > .ast-container,
body.mhc-help-active .site-content > .container,
body.mhc-help-active .site-content,
body.mhc-help-active .content-area,
body.mhc-help-active .site-main,
body.mhc-help-active article.type-page,
body.mhc-help-active .entry-content,
body.mhc-help-active .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mhc-help-active .entry-title,
.mhc-help-active .wp-block-post-title,
.mhc-help-active .page-title,
.mhc-help-active article.type-page > .entry-header {
  display: none;
}

body.mhc-help-active .elementor-widget-shortcode .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/*
 * Elementor/the active theme may place a shortcode inside a narrow content
 * column.  Keep these overrides scoped to the widget that actually contains
 * this Help Center, then let the component centre itself against the viewport.
 */
.elementor-widget-shortcode:has(.mhc-root),
.elementor-widget-shortcode:has(.mhc-root) > .elementor-widget-container,
.elementor-widget-container:has(> .elementor-shortcode > .mhc-root),
.elementor-shortcode:has(> .mhc-root) {
  width: 100% !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.mhc-root,
.mhc-root * {
  box-sizing: border-box;
}

.mhc-root {
  width: min(1340px, calc(100vw - 48px)) !important;
  max-width: none !important;
  margin: 28px auto 72px !important;
  display: block;
  float: none;
  clear: both;
  color: #0b0d12;
  font-family: inherit;
}

.mhc-root button,
.mhc-root input {
  font: inherit;
}

.mhc-root svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mhc-hero {
  min-height: 340px;
  padding: 52px 56px 46px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: radial-gradient(circle at 35% 15%, #141925 0, var(--mhc-dark) 48%, #07090d 100%);
  color: #fff;
}

.mhc-hero-grid {
  width: 48%;
  position: absolute;
  z-index: 0;
  inset: 0 0 0 auto;
  opacity: 0.55;
  background-image: linear-gradient(rgba(65,111,247,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(65,111,247,.2) 1px, transparent 1px), radial-gradient(circle at 62% 48%, transparent 0 25%, rgba(65,111,247,.72) 25.2% 25.5%, transparent 25.8%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 28%);
  mask-image: linear-gradient(90deg, transparent, #000 28%);
}

.mhc-hero-grid::before,
.mhc-hero-grid::after {
  content: "";
  position: absolute;
  border: 1px solid var(--mhc-accent);
  border-radius: 50%;
}

.mhc-hero-grid::before { width: 220px; height: 220px; right: 90px; top: 55px; }
.mhc-hero-grid::after { width: 8px; height: 8px; right: 196px; top: 161px; background: var(--mhc-accent); }

.mhc-hero-copy {
  width: min(820px, 78%);
  position: relative;
  z-index: 1;
}

.mhc-eyebrow {
  margin: 0 0 14px;
  color: var(--mhc-accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.mhc-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 5.5vw, 76px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .98;
  text-transform: uppercase;
}

.mhc-hero-intro {
  margin: 14px 0 26px;
  color: rgba(255,255,255,.76);
  font-size: 17px;
}

.mhc-search {
  width: 100%;
  min-height: 72px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 36px;
  gap: 14px;
  align-items: center;
  border-radius: 10px;
  background: #fff;
  color: #0b0d12;
  box-shadow: 0 18px 42px rgba(0,0,0,.2);
}

.mhc-search input {
  width: 100%;
  height: 70px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0b0d12;
  font-size: 18px;
}

.mhc-search input::placeholder { color: #8790a3; opacity: 1; }
.mhc-search:focus-within { outline: 3px solid rgba(65,111,247,.35); }

.mhc-search [data-mhc-clear] {
  width: 36px;
  height: 36px;
  display: none;
  border: 0;
  border-radius: 50%;
  background: var(--mhc-surface);
  color: #5e687d;
  font-size: 22px;
  cursor: pointer;
}
.mhc-search [data-mhc-clear].is-visible { display: block; }

.mhc-categories {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mhc-category-card {
  min-height: 160px;
  padding: 24px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 18px;
  gap: 16px;
  align-items: center;
  border: 1px solid #dfe4ed;
  border-radius: 14px;
  background: #fff;
  color: #0b0d12;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.mhc-category-card:hover,
.mhc-category-card.is-active {
  border-color: rgba(65,111,247,.55);
  background: #fbfcff;
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(39,59,101,.09);
}

.mhc-category-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #eef3ff;
  color: var(--mhc-accent);
}

.mhc-category-icon svg { width: 28px; height: 28px; }
.mhc-category-copy { min-width: 0; display: flex; flex-direction: column; }
.mhc-category-copy strong { font-size: 15px; line-height: 1.25; text-transform: uppercase; }
.mhc-category-copy small { margin-top: 8px; color: #64708a; font-size: 12px; line-height: 1.45; }
.mhc-category-arrow { align-self: end; color: var(--mhc-accent); }
.mhc-category-arrow svg { width: 17px; height: 17px; }

.mhc-help-layout {
  margin-top: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(290px, .9fr);
  gap: 20px;
  align-items: start;
}

.mhc-faq-section,
.mhc-support-card {
  border: 1px solid #dfe4ed;
  border-radius: 14px;
  background: #fff;
}

.mhc-faq-section { padding: 26px 28px; }

.mhc-section-heading {
  min-height: 52px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.mhc-section-heading .mhc-eyebrow { margin-bottom: 5px; }
.mhc-section-heading h2,
.mhc-support-card h2,
.mhc-guides h2 { margin: 0; color: #0b0d12; font-size: 24px; font-weight: 800; letter-spacing: -.035em; text-transform: uppercase; }

.mhc-faq { border-top: 1px solid #e8ecf2; }
.mhc-faq.is-priority { background: linear-gradient(90deg, rgba(65,111,247,.07), rgba(65,111,247,0) 72%); }
.mhc-faq[hidden] { display: none; }
.mhc-faq h3 { margin: 0; font-size: inherit; }

.mhc-faq h3 button {
  width: 100%;
  min-height: 70px;
  padding: 14px 4px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  border: 0;
  background: transparent;
  color: #0b0d12;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.mhc-faq-plus { color: var(--mhc-accent); transition: transform .18s ease; }
.mhc-faq-plus svg { width: 20px; height: 20px; }
.mhc-faq.is-open .mhc-faq-plus { transform: rotate(45deg); }
.mhc-answer { padding: 0 42px 22px 4px; color: #58647a; font-size: 14px; line-height: 1.7; }
.mhc-answer p { margin: 0 0 10px; }
.mhc-answer p:last-child { margin-bottom: 0; }

.mhc-no-results { min-height: 280px; padding: 30px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.mhc-no-results[hidden] { display: none; }
.mhc-no-results > span { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #eef3ff; color: var(--mhc-accent); }
.mhc-no-results h3 { margin: 15px 0 6px; font-size: 17px; }
.mhc-no-results p { margin: 0; color: #64708a; font-size: 13px; }

.mhc-support-card {
  padding: 32px;
  position: sticky;
  top: 110px;
  background: linear-gradient(145deg, #fff, #f1f4fb);
}

.mhc-support-icon { width: 54px; height: 54px; margin-bottom: 22px; display: grid; place-items: center; border-radius: 50%; background: #eef3ff; color: var(--mhc-accent); }
.mhc-support-icon svg { width: 28px; height: 28px; }
.mhc-support-card p { margin: 12px 0 24px; color: #64708a; font-size: 14px; line-height: 1.6; }

.mhc-primary-button {
  width: 100%;
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  background: var(--mhc-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  text-transform: uppercase;
}

.mhc-text-link { min-height: 52px; margin-top: 14px; display: flex; justify-content: center; gap: 9px; align-items: center; border-top: 1px solid #dfe4ed; color: var(--mhc-accent); font-size: 12px; font-weight: 750; text-decoration: none; text-transform: uppercase; }
.mhc-text-link svg { width: 17px; height: 17px; }

.mhc-guides { margin-top: 20px; padding: 32px; border-radius: 16px; background: var(--mhc-surface); }
.mhc-guides-header { margin-bottom: 22px; display: flex; justify-content: space-between; gap: 24px; }
.mhc-guides-header > div > p:last-child { margin: 8px 0 0; color: #64708a; font-size: 14px; }
.mhc-guide-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.mhc-guide-card { min-height: 110px; padding: 16px; display: grid; grid-template-columns: 56px minmax(0, 1fr) 18px; gap: 13px; align-items: center; border: 1px solid #dfe4ed; border-radius: 12px; background: #fff; color: #0b0d12; text-decoration: none; transition: transform .18s ease, border-color .18s ease; }
.mhc-guide-card:hover { border-color: rgba(65,111,247,.5); transform: translateY(-2px); }
.mhc-guide-visual { width: 56px; height: 68px; display: grid; place-items: center; overflow: hidden; border-radius: 8px; background: #f3f5f9; color: var(--mhc-accent); }
.mhc-guide-visual img { width: 100%; height: 100%; display: block; object-fit: contain; }
.mhc-guide-visual svg { width: 25px; height: 25px; }
.mhc-guide-card > span:nth-child(2) { min-width: 0; display: flex; flex-direction: column; }
.mhc-guide-card strong { font-size: 14px; }
.mhc-guide-card small { margin-top: 5px; color: #64708a; font-size: 11px; line-height: 1.4; }
.mhc-guide-arrow { color: var(--mhc-accent); }
.mhc-guide-arrow svg { width: 17px; height: 17px; }

@media (max-width: 1100px) {
  .mhc-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mhc-help-layout { grid-template-columns: minmax(0, 1.5fr) minmax(270px, .8fr); }
  .mhc-guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .mhc-root { width: calc(100vw - 24px) !important; margin: 14px auto 48px !important; }
  .mhc-hero { min-height: 0; padding: 32px 20px 22px; border-radius: 14px; }
  .mhc-hero-grid { width: 85%; opacity: .42; }
  .mhc-hero-grid::before { width: 170px; height: 170px; right: -45px; top: 90px; }
  .mhc-hero-grid::after { right: 37px; top: 172px; }
  .mhc-hero-copy { width: 100%; }
  .mhc-hero h1 { max-width: 310px; font-size: clamp(42px, 13.5vw, 58px); line-height: 1.02; }
  .mhc-hero-intro { max-width: 285px; margin: 14px 0 22px; font-size: 14px; line-height: 1.5; }
  .mhc-search { min-height: 60px; padding: 0 15px; grid-template-columns: 24px minmax(0,1fr) 32px; gap: 10px; }
  .mhc-search svg { width: 22px; height: 22px; }
  .mhc-search input { height: 58px; font-size: 15px; }
  .mhc-categories { margin-top: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .mhc-category-card { min-height: 145px; padding: 16px 10px; display: flex; flex-direction: column; justify-content: center; gap: 12px; text-align: center; }
  .mhc-category-icon { width: 48px; height: 48px; }
  .mhc-category-copy strong { font-size: 12px; }
  .mhc-category-copy small,
  .mhc-category-arrow { display: none; }
  .mhc-help-layout { margin-top: 12px; display: flex; flex-direction: column; gap: 12px; }
  .mhc-faq-section { width: 100%; padding: 20px 16px; border-radius: 12px; scroll-margin-top: 90px; }
  .mhc-section-heading h2,
  .mhc-support-card h2,
  .mhc-guides h2 { font-size: 21px; }
  .mhc-section-heading .mhc-eyebrow { display: none; }
  .mhc-faq h3 button { min-height: 68px; font-size: 13px; line-height: 1.4; }
  .mhc-answer { padding: 0 34px 18px 0; font-size: 13px; }
  .mhc-support-card { width: 100%; padding: 26px 20px; position: static; text-align: center; border-radius: 12px; }
  .mhc-support-icon { margin: 0 auto 16px; }
  .mhc-guides { margin-top: 12px; padding: 22px 16px; border-radius: 12px; }
  .mhc-guides-header { margin-bottom: 16px; }
  .mhc-guide-grid { grid-template-columns: 1fr; gap: 9px; }
  .mhc-guide-card { min-height: 94px; }
}

@media (prefers-reduced-motion: reduce) {
  .mhc-root *, .mhc-root *::before, .mhc-root *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
