:root {
  color-scheme: light;
  --ink: #222;
  --muted: #52635d;
  --green-950: #163a32;
  --green-850: #195848;
  --green-750: #00796b;
  --green-100: #e7f3ef;
  --green-50: #f5f8f7;
  --cream: #fff;
  --paper: #ffffff;
  --line: #dce7e3;
  --warning: #8b4d00;
  --warning-bg: #fff5df;
  --danger: #8b2635;
  --danger-bg: #fff0f2;
  --info: #14546a;
  --info-bg: #edf8fb;
  --shadow: 0 14px 36px rgb(0 50 42 / 10%);
  --radius: 16px;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Calibri, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--green-750);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover,
a:focus-visible {
  color: var(--green-950);
}

:focus-visible {
  outline: 3px solid #00a69a;
  outline-offset: 3px;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.5rem;
  left: 0.5rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--green-950);
  border-radius: 0.5rem;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.language-switch-corner {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 5000;
}

.language-switch-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.language-switcher {
  width: auto;
  height: 34px;
  padding: 4px;
  background: rgb(255 255 255 / 92%);
  border: 1px solid #9fbdb7;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgb(0 0 0 / 16%);
}

.language-switcher:hover,
.language-switcher:focus-visible {
  background: #eef7f5;
  border-color: #8fbab2;
}

.print-cover {
  color: #fff;
  background:
    linear-gradient(125deg, rgb(22 58 50 / 98%), rgb(0 121 107 / 93%)),
    var(--green-950);
}

.hramn-header2,
.network-heading {
  width: 90%;
  max-width: 1720px;
  margin-right: auto;
  margin-left: auto;
}

.hramn-header2 {
  margin-top: 18px;
  margin-bottom: 14px;
}

.hramn-header2-row,
.hramn-header2-line-row {
  display: flex;
  justify-content: space-between;
}

.hramn-header2-row {
  align-items: flex-start;
}

.hramn-logo-img {
  display: block;
  width: auto;
  height: 72px;
}

.hramn-header2-contact {
  min-width: 270px;
  margin-top: -10px;
  color: #1b3930;
  font-size: 15px;
  text-align: right;
}

.hramn-header2-contact div {
  margin-bottom: 3px;
  font-size: 16px;
}

.hramn-header2-contact span {
  margin-left: 8px;
  color: #222;
  font-size: 16px;
}

.hramn-header2-line-row {
  position: relative;
  z-index: 2;
  align-items: flex-end;
  margin-top: -9px;
}

.hramn-header2-szlogen {
  position: relative;
  top: 5px;
  min-width: 340px;
  margin-left: 85px;
  color: #195848;
  font-size: 17px;
  font-weight: 700;
}

.hramn-header2-web {
  position: relative;
  top: 5px;
  margin-left: auto;
  color: #195848;
  font-size: 15px;
}

.hramn-header2-web a {
  color: inherit;
  text-decoration: none;
}

.hramn-header2-web a:hover,
.hramn-header2-web a:focus-visible {
  text-decoration: underline;
}

.hramn-header2-line {
  position: relative;
  z-index: 1;
  width: calc(100% - 85px);
  margin-top: -18px;
  margin-left: 85px;
  border-bottom: 2px solid #195848;
}

.network-main-title {
  margin: 30px auto 8px;
  color: #222;
  font-size: clamp(2rem, 3.4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.08;
  text-align: center;
}

.network-subtitle {
  margin-bottom: 28px;
  color: #222;
  font-size: 1.2rem;
  text-align: center;
}

.navbar {
  display: flex;
  justify-content: center;
  gap: clamp(0.75rem, 2.2vw, 2.4rem);
  width: 100%;
  padding: 1.15rem 1rem;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.navbar a {
  position: relative;
  padding: 4px 2px;
  color: #333;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.navbar a::after {
  position: absolute;
  right: 0;
  bottom: -4px;
  left: 0;
  height: 2px;
  background: #00796b;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.navbar a:hover,
.navbar a:focus-visible,
.navbar a.active {
  color: #00796b;
}

.navbar a:hover::after,
.navbar a:focus-visible::after,
.navbar a.active::after {
  transform: scaleX(1);
}

.navbar a.active {
  font-weight: 700;
}

#hamburger-btn {
  display: none;
  color: #00796b;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.manual-toolbar {
  position: sticky;
  z-index: 50;
  top: 0;
  padding: 0.68rem max(1rem, calc((100vw - var(--content)) / 2));
  background: #195848;
  border-bottom: 1px solid rgb(255 255 255 / 20%);
  box-shadow: 0 6px 20px rgb(0 50 42 / 12%);
}

.manual-toolbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--content);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  color: #fff;
  font-weight: 850;
  text-decoration: none;
}

.brand:hover,
.brand:focus-visible {
  color: #fff;
}

.brand__version {
  color: #bde7d5;
  font-size: 0.78rem;
}

.manual-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
}

.manual-nav a {
  color: #e0f3eb;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.manual-nav a:hover,
.manual-nav a:focus-visible {
  color: #fff;
  text-decoration: underline;
}

.hero-inner,
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  max-width: var(--content);
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(17rem, 0.75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  margin-bottom: 1.5rem;
  padding: clamp(2rem, 6vw, 4.8rem);
  color: var(--ink);
  background:
    radial-gradient(circle at top right, rgb(0 121 107 / 12%), transparent 38%),
    linear-gradient(145deg, #f7faf9 0%, #eef6f3 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__summary {
  padding: 1.3rem;
  color: var(--ink);
  background: rgb(255 255 255 / 92%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero__summary h2 {
  margin-top: 0;
  color: var(--green-950);
  font-size: 1.35rem;
}

.hero__note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.eyebrow,
.kicker {
  margin: 0 0 0.5rem;
  color: var(--green-750);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 4.9rem);
  letter-spacing: -0.045em;
}

.hero .lead {
  max-width: 62ch;
  margin: 1.15rem 0 0;
  color: #2d3b37;
  font-size: clamp(1.06rem, 2vw, 1.3rem);
}

.version-badge,
.badge,
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.34rem 0.68rem;
  color: var(--green-850);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--green-100);
  font-size: 0.8rem;
  font-weight: 750;
}

.hero-card {
  padding: 1.4rem;
  color: var(--ink);
  background: rgb(255 255 255 / 92%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h2,
.hero-card h3 {
  margin-top: 0;
  color: var(--green-950);
}

.hero-actions,
.actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

.button,
.btn,
a.button,
a.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.72rem 1rem;
  color: #fff;
  background: var(--green-750);
  border: 1px solid var(--green-750);
  border-radius: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.button:hover,
.button:focus-visible,
.btn:hover,
.btn:focus-visible {
  color: #fff;
  background: var(--green-950);
  border-color: var(--green-950);
}

.button.secondary,
.btn.secondary,
.button-outline,
.button--secondary {
  color: var(--green-950);
  background: var(--paper);
  border-color: var(--line);
}

.button.secondary:hover,
.btn.secondary:hover,
.button-outline:hover,
.button--secondary:hover {
  color: var(--green-950);
  background: var(--green-100);
}

main,
.page-shell {
  width: min(calc(100% - 2rem), var(--content));
  margin: 0 auto;
}

main {
  padding: 2.5rem 0 5rem;
}

.layout,
.manual-layout {
  display: grid;
  grid-template-columns: minmax(14.5rem, 0.31fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.toc,
.contents,
nav[aria-label*="Tartalom"] {
  position: static;
  max-height: none;
  overflow: auto;
  padding: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 8px 24px rgb(6 61 46 / 6%);
}

.toc h2,
.toc h3,
.contents h2,
.contents h3 {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}

.toc ol,
.toc ul,
.contents ol,
.contents ul {
  margin: 0;
  padding-left: 1.15rem;
}

.toc li,
.contents li {
  margin: 0.22rem 0;
}

.toc a,
.contents a {
  color: var(--muted);
  font-size: 0.87rem;
  text-decoration: none;
}

.toc a:hover,
.contents a:hover {
  color: var(--green-750);
  text-decoration: underline;
}

.manual,
.content,
article {
  min-width: 0;
}

section,
.section {
  scroll-margin-top: 5.5rem;
}

article > section,
.manual > section,
.content > section,
.manual-section {
  margin: 0 0 2rem;
  padding: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgb(6 61 46 / 5%);
}

h2 {
  margin: 0 0 1rem;
  color: var(--green-950);
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  letter-spacing: -0.025em;
}

h3 {
  margin: 1.65rem 0 0.7rem;
  color: var(--green-850);
  font-size: 1.25rem;
}

h4 {
  margin: 1.2rem 0 0.5rem;
  font-size: 1.03rem;
}

p,
ul,
ol,
dl {
  margin-top: 0.65rem;
  margin-bottom: 0.9rem;
}

li + li {
  margin-top: 0.32rem;
}

.download-grid,
.card-grid,
.platform-grid,
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.download-card,
.card,
.platform-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.15rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 0.9rem;
}

.download-card h3,
.card h3,
.platform-card h3 {
  margin-top: 0;
}

.download-card .button,
.download-card .btn {
  margin-top: auto;
}

.file-name,
.hash,
.checksum {
  overflow-wrap: anywhere;
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.76rem;
}

.hash,
.checksum {
  display: block;
  padding: 0.65rem;
  color: #263b34;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
}

.callout,
.note,
.tip,
.warning,
.danger,
.important {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-left: 0.28rem solid var(--green-750);
  border-radius: 0.4rem;
  background: var(--green-50);
}

.release-note {
  margin: 0 0 1.5rem;
  padding: 0.9rem 1rem;
  color: #5b3500;
  background: var(--warning-bg);
  border: 1px solid #e8c47e;
  border-radius: 0.75rem;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.callout--positive,
.callout--tip {
  border-left-color: var(--green-750);
  background: var(--green-50);
}

.callout--neutral {
  border-left-color: var(--info);
  background: var(--info-bg);
}

.callout--warning {
  border-left-color: var(--warning);
  background: var(--warning-bg);
}

.manual-figure {
  margin: 1.4rem 0;
}

.manual-figure img {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 12px 34px rgb(6 61 46 / 12%);
}

.manual-figure figcaption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.field-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.field-list > div {
  padding: 0.8rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}

.field-list dt {
  color: var(--green-950);
  font-weight: 800;
}

.field-list dd {
  margin: 0.25rem 0 0;
}

.troubleshooting {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.troubleshooting article {
  padding: 0.9rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

.troubleshooting h3 {
  margin-top: 0;
}

.quick-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1rem;
  padding: 0;
  list-style: none;
  counter-reset: quick-step;
}

.quick-steps li {
  position: relative;
  min-height: 3rem;
  margin: 0;
  padding: 0.8rem 0.8rem 0.8rem 3.2rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  counter-increment: quick-step;
}

.quick-steps li::before {
  position: absolute;
  top: 0.7rem;
  left: 0.7rem;
  display: grid;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  color: #fff;
  background: var(--green-750);
  border-radius: 999px;
  content: counter(quick-step);
  font-weight: 850;
}

.print-checklist {
  padding: 0;
  list-style: none;
}

.print-checklist li {
  margin: 0.5rem 0;
  padding-bottom: 0.45rem;
  border-bottom: 1px dotted var(--line);
}

.callout > :first-child,
.note > :first-child,
.tip > :first-child,
.warning > :first-child,
.danger > :first-child,
.important > :first-child {
  margin-top: 0;
}

.callout > :last-child,
.note > :last-child,
.tip > :last-child,
.warning > :last-child,
.danger > :last-child,
.important > :last-child {
  margin-bottom: 0;
}

.warning,
.important {
  border-left-color: var(--warning);
  background: var(--warning-bg);
}

.danger {
  border-left-color: var(--danger);
  background: var(--danger-bg);
}

.info {
  border-left-color: var(--info);
  background: var(--info-bg);
}

.steps,
.step-list {
  padding: 0;
  list-style: none;
  counter-reset: manual-step;
}

.steps > li,
.step-list > li {
  position: relative;
  min-height: 2.2rem;
  margin: 0.75rem 0;
  padding: 0.2rem 0 0.2rem 3rem;
  counter-increment: manual-step;
}

.steps > li::before,
.step-list > li::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  color: #fff;
  background: var(--green-750);
  border-radius: 999px;
  content: counter(manual-step);
  font-weight: 850;
}

figure,
.screenshot {
  margin: 1.4rem 0;
}

figure img,
.screenshot img,
img.screenshot {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  box-shadow: 0 12px 34px rgb(6 61 46 / 12%);
}

figcaption,
.caption {
  margin-top: 0.55rem;
  color: var(--muted);
  font-size: 0.88rem;
  text-align: center;
}

.table-wrap {
  max-width: 100%;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

th,
td {
  padding: 0.7rem 0.75rem;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

th {
  color: var(--green-950);
  background: var(--green-100);
}

tr:last-child td {
  border-bottom: 0;
}

code,
kbd,
pre {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

code,
kbd {
  padding: 0.1em 0.32em;
  overflow-wrap: anywhere;
  background: #eef3f0;
  border: 1px solid #d7e1dc;
  border-radius: 0.3em;
  font-size: 0.9em;
}

kbd {
  color: #fff;
  background: #35443e;
  border-color: #35443e;
  box-shadow: inset 0 -1px 0 rgb(255 255 255 / 25%);
}

pre {
  max-width: 100%;
  overflow: auto;
  padding: 1rem;
  color: #eaf6f1;
  background: #10251e;
  border-radius: 0.7rem;
  font-size: 0.84rem;
  line-height: 1.55;
  white-space: pre-wrap;
  word-break: break-word;
}

pre code {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
}

.tree,
.folder-tree {
  white-space: pre;
}

details {
  margin: 0.8rem 0;
  padding: 0.8rem 1rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
}

summary {
  color: var(--green-950);
  cursor: pointer;
  font-weight: 800;
}

.meta,
.muted,
small {
  color: var(--muted);
}

.print-only {
  display: none;
}

footer,
.site-footer {
  padding: 2.5rem max(1.25rem, calc((100vw - var(--content)) / 2));
  color: #dcebe5;
  background: var(--green-950);
}

footer a,
.site-footer a {
  color: #fff;
}

.export-footer {
  margin-top: 2rem;
}

.footer-line-full {
  width: 100%;
  margin: 0 0 0.35rem;
  border: 0;
  border-top: 1px solid rgb(255 255 255 / 45%);
}

.footer-left {
  font-size: 0.88rem;
  text-align: left;
}

body.dark-mode {
  color-scheme: dark;
  --ink: #dce6e2;
  --muted: #aebdb8;
  --green-950: #dceee9;
  --green-850: #78cbb9;
  --green-750: #4fbdaa;
  --green-100: #203832;
  --green-50: #1a2824;
  --cream: #121817;
  --paper: #18201e;
  --line: #344b46;
  --warning: #efc47c;
  --warning-bg: #3a2b17;
  --danger: #f0a8b2;
  --danger-bg: #3a2025;
  --info: #8ec9dc;
  --info-bg: #172c32;
  --shadow: 0 16px 42px rgb(0 0 0 / 28%);
}

body.dark-mode .hramn-logo-img {
  filter: brightness(1.22) saturate(1.18) contrast(1.04);
}

body.dark-mode .hramn-header2-contact,
body.dark-mode .hramn-header2-szlogen,
body.dark-mode .hramn-header2-web,
body.dark-mode .hramn-header2-web a {
  color: #4fbdaa;
}

body.dark-mode .hramn-header2-contact span,
body.dark-mode .network-main-title,
body.dark-mode .network-subtitle {
  color: #d3e9e4;
}

body.dark-mode .hramn-header2-line {
  border-bottom-color: #2f9f8b;
}

body.dark-mode .navbar {
  background: #222;
  border-bottom-color: #444;
}

body.dark-mode .navbar a {
  color: #ccc;
}

body.dark-mode .navbar a:hover,
body.dark-mode .navbar a:focus-visible,
body.dark-mode .navbar a.active,
body.dark-mode #hamburger-btn {
  color: #4fbdaa;
}

body.dark-mode .navbar a::after {
  background: #4fbdaa;
}

body.dark-mode .manual-toolbar {
  background: #184b41;
}

body.dark-mode .hero {
  background:
    radial-gradient(circle at top right, rgb(0 166 154 / 16%), transparent 38%),
    linear-gradient(145deg, #18231f 0%, #121817 70%);
}

body.dark-mode .hero .lead {
  color: #d1ddda;
}

body.dark-mode .hero__summary,
body.dark-mode .hero-card {
  background: rgb(27 37 34 / 94%);
}

body.dark-mode .button.secondary,
body.dark-mode .btn.secondary,
body.dark-mode .button-outline,
body.dark-mode .button--secondary,
body.dark-mode .hash,
body.dark-mode .checksum {
  color: var(--ink);
  background: #202b28;
}

body.dark-mode code,
body.dark-mode kbd {
  background: #26332f;
  border-color: #3a4b46;
}

body.dark-mode kbd {
  color: #fff;
}

@media (max-width: 900px) {
  .hero-inner,
  .hero-grid,
  .hero,
  .layout,
  .manual-layout {
    grid-template-columns: 1fr;
  }

  .toc,
  .contents,
  nav[aria-label*="Tartalom"] {
    position: static;
    max-height: none;
  }

  .download-grid,
  .card-grid,
  .platform-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .two-column,
  .field-list,
  .troubleshooting,
  .quick-steps {
    grid-template-columns: 1fr;
  }

  .manual-toolbar__inner {
    align-items: flex-start;
  }

  .hramn-header2,
  .network-heading {
    width: calc(100% - 2rem);
  }

  .hramn-logo-img {
    height: 40px;
  }

  .hramn-header2-contact {
    min-width: 110px;
  }

  .hramn-header2-contact div,
  .hramn-header2-contact span {
    font-size: 9px;
  }

  .hramn-header2-szlogen {
    top: 7px;
    min-width: 120px;
    margin-left: 44px;
    font-size: 12px;
  }

  .hramn-header2-web {
    top: 8px;
    font-size: 11px;
  }

  .hramn-header2-line {
    width: calc(100% - 44px);
    margin-top: -10px;
    margin-left: 44px;
  }

  .navbar {
    gap: 0.75rem 1.1rem;
  }
}

@media (max-width: 600px) {
  html {
    scroll-padding-top: 8rem;
  }

  section,
  .section {
    scroll-margin-top: 8rem;
  }

  .network-main-title {
    margin-top: 20px;
    font-size: 24px;
  }

  .network-subtitle {
    margin-bottom: 15px;
    font-size: 0.95rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0;
  }

  #hamburger-btn {
    display: block;
    width: 40px;
    height: 40px;
    margin: 3px 0;
    padding: 4px 8px;
    font-size: 1.55rem;
    line-height: 1;
    text-align: left;
  }

  .navbar a {
    display: none;
    width: 100%;
    padding: 10px 1rem;
    border-bottom: 1px solid var(--line);
  }

  .navbar.active a {
    display: block;
  }

  .manual-toolbar__inner {
    flex-direction: column;
    gap: 0.35rem;
  }

  .manual-nav {
    width: 100%;
    padding-bottom: 0.15rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .manual-nav a {
    min-height: 2.65rem;
    padding: 0.55rem 0.25rem;
    white-space: nowrap;
  }
}

@media (max-width: 560px) {
  body {
    font-size: 0.96rem;
  }

  main,
  .page-shell {
    width: min(calc(100% - 1rem), var(--content));
  }

  main {
    padding-top: 1rem;
  }

  .hramn-header2,
  .network-heading {
    width: calc(100% - 1rem);
  }

  .hramn-header2 {
    margin-top: 10px;
    margin-bottom: 8px;
  }

  .hramn-logo-img {
    height: 22px;
  }

  .hramn-header2-contact {
    min-width: 48px;
  }

  .hramn-header2-contact div,
  .hramn-header2-contact span {
    font-size: 4.9px;
  }

  .hramn-header2-szlogen {
    top: 4px;
    min-width: 50px;
    margin-left: 26px;
    font-size: 6.9px;
  }

  .hramn-header2-web {
    top: 4px;
    font-size: 6.5px;
  }

  .hramn-header2-line {
    width: calc(100% - 27px);
    margin-top: -6px;
    margin-left: 27px;
  }

  article > section,
  .manual > section,
  .content > section,
  .manual-section {
    padding: 1rem;
    border-radius: 0.85rem;
  }

  .hero-actions,
  .actions,
  .button-row {
    flex-direction: column;
  }

  .button,
  .btn {
    width: 100%;
  }

  th,
  td {
    padding: 0.55rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .navbar a::after {
    transition: none;
  }
}

@page {
  size: A4 portrait;
  margin: 12mm;
}

@media print {
  :root {
    --ink: #111;
    --muted: #4a4a4a;
    --line: #bfc8c3;
  }

  body.dark-mode {
    color-scheme: light;
    --ink: #111;
    --muted: #4a4a4a;
    --green-950: #163a32;
    --green-850: #195848;
    --green-750: #00796b;
    --green-100: #e7f3ef;
    --green-50: #f5f8f7;
    --cream: #fff;
    --paper: #fff;
    --line: #bfc8c3;
    --warning: #8b4d00;
    --warning-bg: #fff5df;
    --danger: #8b2635;
    --danger-bg: #fff0f2;
    --info: #14546a;
    --info-bg: #edf8fb;
  }

  html {
    scroll-behavior: auto;
  }

  body {
    color: var(--ink);
    background: #fff;
    font-family: "Noto Sans", "DejaVu Sans", Arial, sans-serif;
    font-size: 9.25pt;
    line-height: 1.42;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .web-only,
  .no-print,
  .skip-link,
  .hero-actions,
  .download-actions {
    display: none !important;
  }

  .print-only {
    display: block;
  }

  .print-cover {
    display: flex;
    min-height: 245mm;
    padding: 22mm 15mm;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    break-after: page;
    page-break-after: always;
  }

  .print-cover h1 {
    max-width: none;
  }

  .print-cover .eyebrow {
    color: #bde7d5;
  }

  .cover-version {
    margin: 6mm 0;
    font-size: 21pt;
    font-weight: 850;
  }

  .cover-subtitle {
    font-size: 15pt;
  }

  .cover-date {
    margin-top: 24mm;
  }

  .hero-inner,
  .hero-grid {
    display: block;
  }

  .hero-card {
    margin-top: 16mm;
    box-shadow: none;
  }

  h1 {
    font-size: 33pt;
  }

  main,
  .page-shell {
    width: auto;
    margin: 0;
    padding: 0;
  }

  .layout,
  .manual-layout {
    display: block;
  }

  .toc,
  .contents,
  nav[aria-label*="Tartalom"] {
    position: static;
    max-height: none;
    margin: 0 0 8mm;
    padding: 6mm;
    overflow: visible;
    box-shadow: none;
    break-after: page;
    page-break-after: always;
  }

  article > section,
  .manual > section,
  .content > section,
  .manual-section {
    margin: 0 0 6mm;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  h2 {
    margin-top: 5mm;
    font-size: 19pt;
    break-after: avoid;
    page-break-after: avoid;
  }

  h3,
  h4 {
    break-after: avoid;
    page-break-after: avoid;
  }

  p,
  li,
  tr,
  .callout,
  .note,
  .tip,
  .warning,
  .danger,
  .important {
    orphans: 3;
    widows: 3;
  }

  figure,
  .screenshot,
  .manual-figure,
  .download-card,
  .card,
  .platform-card,
  .callout,
  .note,
  .tip,
  .warning,
  .danger,
  .important,
  pre,
  table {
    break-inside: avoid;
    page-break-inside: avoid;
  }

  figure img,
  .screenshot img,
  img.screenshot,
  .manual-figure img {
    max-height: 150mm;
    object-fit: contain;
    box-shadow: none;
  }

  .download-grid,
  .card-grid,
  .platform-grid,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .download-card .button,
  .download-card .btn {
    display: none !important;
  }

  .two-column,
  .field-list,
  .troubleshooting,
  .quick-steps {
    grid-template-columns: 1fr;
  }

  .page-break-before {
    break-before: page;
    page-break-before: always;
  }

  .checklist-page.page-break-before {
    break-before: auto;
    page-break-before: auto;
  }

  .button,
  .btn {
    color: var(--green-950) !important;
    background: transparent !important;
    border-color: var(--green-950) !important;
  }

  a {
    color: inherit;
    text-decoration: none;
  }

  footer,
  .site-footer {
    margin-top: 10mm;
    padding: 5mm 0 0;
    color: var(--muted);
    background: transparent;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 600px) {
  .language-switch-corner {
    right: 12px;
    bottom: 12px;
  }

  .language-switcher {
    height: 24px;
    padding: 2px;
    border-radius: 4px;
  }
}
