html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset, calc(5.75rem + 1px));
}
#top {
  scroll-margin-top: calc(-1 * var(--header-offset, 5.75rem));
}
body { font-family: Raleway, Arial, sans-serif; color: #444; }
.box-rule::after {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  margin: 20px auto 0;
  background: #4FB448;
}
#menu-toggle:checked ~ #mobile-panel { max-height: 80vh; }
.site-header {
  isolation: isolate;
  background: rgba(255, 255, 255, 0.8);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 8px 28px rgba(29, 44, 57, 0.06);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 255, 255, 0.08) 42%,
    rgba(255, 255, 255, 0) 100%
  );
}
.site-header > * {
  position: relative;
  z-index: 1;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255, 255, 255, 0.92); }
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #4FB448;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.site-nav a:hover::after { transform: scaleX(1); }
.site-nav a.is-active { color: #4FB448; }
.docs-filter-btn {
  border: 0;
  border-radius: 9999px;
  padding: 0.7rem 1.15rem;
  background: transparent;
  color: #1D2C39;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.docs-filter-btn.is-on {
  background: #4FB448;
  color: #fff;
}
/* A szűrő szerveroldalon link, hogy JS nélkül is működjön. */
a.docs-filter-btn {
  display: inline-block;
  text-decoration: none;
}
.page-nav a,
.page-nav span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0 0.75rem;
  border: 1px solid #E2E6E7;
  border-radius: 9999px;
  color: #1D2C39;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.page-nav a:hover,
.page-nav a.is-on {
  background: #4FB448;
  border-color: #4FB448;
  color: #fff;
}
.page-nav span {
  color: #888;
  cursor: default;
}
.article-body h2 {
  margin: 2rem 0 0.75rem;
  color: #000;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.article-body p,
.article-body li {
  font-size: 0.95rem;
  line-height: 1.7;
}
.article-body ul { padding-left: 1.2rem; }
.article-body li { margin: 0.35rem 0; }
#contact a.group > span,
#contact a.group svg {
  color: #fff;
}
