@font-face {
  font-family: "Plus Jakarta Hela";
  src: url("../fonts/PlusJakartaSans-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Plus Jakarta Hela";
  src: url("../fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --hgb-purple: #6c02d3;
  --hgb-purple-dark: #480f82;
  --hgb-yellow: #fcca00;
  --hgb-ink: #171323;
  --hgb-muted: #625d6f;
  --hgb-line: #e8e2f1;
  --hgb-soft: #f8f5fc;
  --hgb-panel: #ffffff;
  --hgb-green: #13845e;
  --hgb-shadow: 0 18px 50px rgba(43, 28, 74, 0.12);
  --hgb-radius: 8px;
  --hgb-shell: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--hgb-ink);
  background: #fff;
  font-family: "Plus Jakarta Hela", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
}

body.hgb-nav-open {
  overflow: hidden;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hgb-shell {
  width: min(100% - 32px, var(--hgb-shell));
  margin: 0 auto;
}

.hgb-site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--hgb-line);
  backdrop-filter: blur(14px);
}

.hgb-header-inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
}

.hgb-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 198px;
  text-decoration: none;
  font-weight: 800;
}

.hgb-logo img {
  display: block;
  width: 138px;
}

.hgb-logo span {
  padding: 4px 8px;
  color: var(--hgb-purple-dark);
  background: var(--hgb-yellow);
  border-radius: 6px;
  font-size: 0.76rem;
  line-height: 1;
}

.hgb-primary-nav {
  justify-self: center;
}

.hgb-menu,
.hgb-footer-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hgb-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 12px;
  color: var(--hgb-muted);
  border-radius: 7px;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.hgb-menu a:hover,
.hgb-menu .current-menu-item > a,
.hgb-menu .current-cat > a {
  color: var(--hgb-purple-dark);
  background: var(--hgb-soft);
}

.hgb-header-cta,
.hgb-button,
.hgb-cta-panel a,
.hgb-search button,
.hgb-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 7px;
  background: var(--hgb-yellow);
  color: #201400;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.hgb-header-cta:hover,
.hgb-button-primary:hover,
.hgb-cta-panel a:hover,
.hgb-search button:hover,
.hgb-inline-cta:hover {
  filter: brightness(0.97);
}

.hgb-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--hgb-line);
  border-radius: 7px;
  background: #fff;
}

.hgb-menu-toggle span:not(.screen-reader-text) {
  width: 20px;
  height: 2px;
  background: var(--hgb-ink);
}

.hgb-hero {
  overflow: hidden;
  padding: 72px 0 62px;
  background:
    linear-gradient(135deg, rgba(108, 2, 211, 0.08), rgba(252, 202, 0, 0.14)),
    #fff;
  border-bottom: 1px solid var(--hgb-line);
}

.hgb-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(340px, 0.72fr);
  gap: 42px;
  align-items: center;
}

.hgb-kicker,
.hgb-section-head span,
.hgb-card-kicker,
.hgb-cta-panel span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--hgb-purple);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hgb-hero h1,
.hgb-page-hero h1,
.hgb-article-header h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(2.35rem, 6vw, 4.8rem);
  line-height: 0.98;
  font-weight: 800;
}

.hgb-hero p,
.hgb-page-hero p,
.hgb-article-header p {
  max-width: 760px;
  margin: 22px 0 0;
  color: var(--hgb-muted);
  font-size: 1.08rem;
}

.hgb-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  width: min(100%, 680px);
  margin-top: 26px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--hgb-line);
  border-radius: var(--hgb-radius);
  box-shadow: var(--hgb-shadow);
}

.hgb-search input {
  min-width: 0;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  color: var(--hgb-ink);
  font: inherit;
  outline: 0;
}

.hgb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.hgb-button-secondary {
  color: var(--hgb-purple-dark);
  background: #fff;
  border: 1px solid var(--hgb-line);
}

.hgb-hero-panel {
  min-height: 390px;
  padding: 24px;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(72, 15, 130, 0.98), rgba(108, 2, 211, 0.92)),
    var(--hgb-purple-dark);
  border-radius: var(--hgb-radius);
  box-shadow: var(--hgb-shadow);
}

.hgb-panel-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hgb-panel-head span,
.hgb-panel-head strong {
  font-weight: 800;
}

.hgb-guide-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.hgb-guide-map a {
  min-height: 92px;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--hgb-radius);
  font-weight: 800;
  text-decoration: none;
}

.hgb-guide-map a:hover {
  background: rgba(252, 202, 0, 0.22);
}

.hgb-section {
  padding: 64px 0;
}

.hgb-section-muted {
  background: var(--hgb-soft);
  border-block: 1px solid var(--hgb-line);
}

.hgb-section-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
  margin-bottom: 24px;
}

.hgb-section-head h2,
.hgb-cta-panel h2,
.hgb-faq h2,
.hgb-rail h2 {
  margin: 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
  font-weight: 800;
}

.hgb-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.hgb-list-grid {
  display: grid;
  gap: 14px;
}

.hgb-card,
.hgb-topic-card,
.hgb-cta-panel,
.hgb-empty {
  background: var(--hgb-panel);
  border: 1px solid var(--hgb-line);
  border-radius: var(--hgb-radius);
  box-shadow: 0 10px 28px rgba(43, 28, 74, 0.06);
}

.hgb-card-link {
  display: flex;
  min-height: 240px;
  flex-direction: column;
  padding: 22px;
  text-decoration: none;
}

.hgb-card h3 {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.22;
  font-weight: 800;
}

.hgb-card p {
  margin: 14px 0 20px;
  color: var(--hgb-muted);
}

.hgb-card-meta {
  margin-top: auto;
  display: inline-flex;
  gap: 8px;
  color: var(--hgb-muted);
  font-size: 0.88rem;
}

.hgb-card-compact .hgb-card-link {
  min-height: 0;
}

.hgb-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.hgb-topic-card {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  text-decoration: none;
}

.hgb-topic-card span {
  color: var(--hgb-green);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hgb-topic-card strong {
  font-size: 1.18rem;
  line-height: 1.2;
  font-weight: 800;
}

.hgb-topic-card em {
  color: var(--hgb-muted);
  font-size: 0.92rem;
  font-style: normal;
}

.hgb-latest-layout,
.hgb-content-with-rail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
}

.hgb-cta-panel {
  position: sticky;
  top: 96px;
  padding: 24px;
}

.hgb-cta-panel p {
  margin: 14px 0 20px;
  color: var(--hgb-muted);
}

.hgb-page-hero,
.hgb-article-header {
  padding: 50px 0;
  background: var(--hgb-soft);
  border-bottom: 1px solid var(--hgb-line);
}

.hgb-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--hgb-muted);
  font-size: 0.9rem;
}

.hgb-breadcrumbs a {
  color: var(--hgb-purple-dark);
  text-decoration: none;
}

.hgb-article-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 32px;
  align-items: start;
}

.hgb-article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  color: var(--hgb-muted);
  font-size: 0.92rem;
}

.hgb-article-meta span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  border: 1px solid var(--hgb-line);
  border-radius: 999px;
}

.hgb-article-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 760px);
  gap: 42px;
  padding: 52px 0 70px;
  align-items: start;
}

.hgb-toc {
  position: sticky;
  top: 102px;
  padding: 18px;
  border: 1px solid var(--hgb-line);
  border-radius: var(--hgb-radius);
}

.hgb-toc strong {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.hgb-toc ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hgb-toc a {
  color: var(--hgb-muted);
  font-size: 0.92rem;
  text-decoration: none;
}

.hgb-toc .is-nested {
  padding-left: 12px;
}

.hgb-article-body,
.hgb-page-content {
  font-size: 1.04rem;
}

.hgb-article-body > *:first-child,
.hgb-page-content > *:first-child {
  margin-top: 0;
}

.hgb-article-body h2,
.hgb-page-content h2 {
  margin: 42px 0 14px;
  font-size: 1.75rem;
  line-height: 1.18;
  font-weight: 800;
}

.hgb-article-body h3,
.hgb-page-content h3 {
  margin: 30px 0 10px;
  font-size: 1.28rem;
  line-height: 1.25;
  font-weight: 800;
}

.hgb-article-body p,
.hgb-page-content p,
.hgb-article-body li,
.hgb-page-content li {
  color: #332c43;
}

.hgb-article-body a,
.hgb-page-content a {
  color: var(--hgb-purple-dark);
  font-weight: 800;
}

.hgb-article-body table,
.hgb-page-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 26px 0;
  overflow: hidden;
  border: 1px solid var(--hgb-line);
  border-radius: var(--hgb-radius);
}

.hgb-article-body th,
.hgb-article-body td,
.hgb-page-content th,
.hgb-page-content td {
  padding: 12px;
  border-bottom: 1px solid var(--hgb-line);
  text-align: left;
}

.hgb-article-body th,
.hgb-page-content th {
  background: var(--hgb-soft);
  font-weight: 800;
}

.hgb-faq {
  margin-top: 46px;
}

.hgb-faq-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hgb-faq-item {
  border: 1px solid var(--hgb-line);
  border-radius: var(--hgb-radius);
  background: #fff;
}

.hgb-faq-item summary {
  padding: 16px;
  font-weight: 800;
  cursor: pointer;
}

.hgb-faq-item div {
  padding: 0 16px 16px;
}

.hgb-rail .hgb-category-grid {
  grid-template-columns: 1fr;
}

.hgb-rail .hgb-topic-card {
  min-height: 108px;
}

.hgb-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

.hgb-pagination a,
.hgb-pagination span {
  min-width: 40px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--hgb-line);
  border-radius: 7px;
  text-decoration: none;
}

.hgb-pagination .current {
  color: #fff;
  background: var(--hgb-purple-dark);
}

.hgb-empty {
  padding: 28px;
}

.hgb-site-footer {
  padding: 42px 0;
  color: #fff;
  background: var(--hgb-ink);
}

.hgb-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
}

.hgb-footer-brand img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.hgb-footer-brand p {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.hgb-footer-links,
.hgb-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hgb-footer-links a,
.hgb-footer-menu a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

@media (max-width: 1024px) {
  .hgb-header-inner {
    grid-template-columns: auto auto 1fr;
  }

  .hgb-menu-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .hgb-primary-nav {
    position: fixed;
    inset: 76px 0 auto 0;
    display: none;
    padding: 18px;
    background: #fff;
    border-bottom: 1px solid var(--hgb-line);
    box-shadow: var(--hgb-shadow);
  }

  .hgb-primary-nav.is-open {
    display: block;
  }

  .hgb-menu {
    display: grid;
    gap: 8px;
  }

  .hgb-menu a {
    min-height: 46px;
  }

  .hgb-header-cta {
    justify-self: end;
  }

  .hgb-hero-grid,
  .hgb-article-head-grid,
  .hgb-latest-layout,
  .hgb-content-with-rail {
    grid-template-columns: 1fr;
  }

  .hgb-cta-panel {
    position: static;
  }

  .hgb-card-grid,
  .hgb-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hgb-article-layout {
    grid-template-columns: 1fr;
  }

  .hgb-toc {
    position: static;
  }
}

@media (max-width: 680px) {
  .hgb-shell {
    width: min(100% - 24px, var(--hgb-shell));
  }

  .hgb-header-inner {
    min-height: 68px;
    grid-template-columns: auto auto;
  }

  .hgb-logo {
    min-width: 0;
  }

  .hgb-logo img {
    width: 118px;
  }

  .hgb-logo span,
  .hgb-header-cta {
    display: none;
  }

  .hgb-primary-nav {
    inset: 68px 0 auto 0;
  }

  .hgb-hero {
    padding: 44px 0;
  }

  .hgb-hero-grid,
  .hgb-section,
  .hgb-page-hero,
  .hgb-article-header {
    gap: 24px;
  }

  .hgb-search {
    grid-template-columns: 1fr;
  }

  .hgb-guide-map,
  .hgb-card-grid,
  .hgb-category-grid {
    grid-template-columns: 1fr;
  }

  .hgb-section {
    padding: 46px 0;
  }

  .hgb-section-head {
    display: block;
  }

  .hgb-article-layout {
    padding: 36px 0 52px;
  }

  .hgb-footer-grid {
    grid-template-columns: 1fr;
  }
}

