:root {
  --bg: #f6f8fa;
  --card: #ffffff;
  --text: #1a1f26;
  --muted: #5b6673;
  --accent: #0b6e4f;
  --accent-2: #1f7ae0;
  --border: #e4e9ef;
  --shadow: 0 8px 30px rgba(15, 23, 42, .08);
  --header-h: 68px;
}

/* Sötét mód paletta */

[data-theme="dark"] {
  --bg: #12161d;
  --card: #1a2029;
  --text: #e8edf4;
  --muted: #9aa6b5;
  --accent: #2ec28c;
  --accent-2: #4a94f0;
  --border: #2a323e;
  --shadow: 0 8px 30px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

[data-theme="dark"] body {
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(74, 148, 240, .1), transparent 60%),
    radial-gradient(900px 400px at 85% 110%, rgba(46, 194, 140, .09), transparent 60%),
    var(--bg);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  background:
    radial-gradient(1200px 500px at 50% -10%, rgba(31, 122, 224, .08), transparent 60%),
    radial-gradient(900px 400px at 85% 110%, rgba(11, 110, 79, .07), transparent 60%),
    var(--bg);
  color: var(--text);
}

a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-thickness: 2px; }

/* ---------- Fejléc ---------- */

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

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.brand:hover { text-decoration: none; }

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: .25rem;
  align-items: center;
}

.main-nav a {
  display: inline-block;
  padding: .5rem .8rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: .93rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}

.main-nav a:hover {
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.main-nav a.active {
  background: #eef7f2;
  color: var(--accent);
}

.main-nav a.external::after {
  content: " \2197";
  font-size: .75em;
}

/* Téma kapcsoló */

.theme-toggle-item {
  display: flex;
  align-items: center;
  margin-left: .25rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .45rem .9rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
  font-weight: 600;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.theme-toggle:hover {
  background: var(--bg);
  color: var(--text);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  display: block;
}

/* Világos módban: nap ikon + „Nappali" */
.theme-toggle .icon-sun { display: block; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle .theme-label-dark { display: none; }

/* Sötét módban: hold ikon + „Éjszakai" */
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .theme-label-light { display: none; }
[data-theme="dark"] .theme-toggle .theme-label-dark { display: inline; }

/* Mobilon csak ikon a fejlécsorban */

.theme-toggle-mobile {
  display: none;
  border: none;
  background: none;
  padding: .5rem;
}

.theme-toggle-mobile svg {
  width: 20px;
  height: 20px;
}

/* Sötét mód igazítások */

[data-theme="dark"] .site-header {
  background: rgba(18, 22, 29, .92);
}

[data-theme="dark"] .main-nav a.active {
  background: rgba(46, 194, 140, .14);
}

[data-theme="dark"] .spec-table tr.no td { color: #6b7683; }

/* Mobil menü (checkbox-hack, JS nélkül) */

.nav-toggle { display: none; }

.nav-toggle-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
}

.nav-toggle-label span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle:checked ~ .nav-toggle-label span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-toggle-label span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Fő tartalom ---------- */

.site-main { flex: 1; width: 100%; }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem;
}

/* Kezdőlap hero */

.hero {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.25rem;
}

.card {
  width: 100%;
  max-width: 820px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 3rem 2rem;
  text-align: center;
  animation: fade-up .7s ease both;
}

.logo {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 6px 18px rgba(15, 23, 42, .12));
}

h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.subtitle {
  margin-top: .6rem;
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
  margin-inline: auto;
  line-height: 1.6;
}

.intro-text {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: var(--muted);
  max-width: 36rem;
  margin-inline: auto;
  line-height: 1.65;
}

.cta-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.error-code {
  font-size: clamp(5rem, 18vw, 8rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: .75rem;
}

/* Belső oldalak */

.page-card {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 2.5rem 2rem;
  animation: fade-up .6s ease both;
}

.page-card h1 {
  font-size: 1.9rem;
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  color: var(--text);
}

.page-card h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  margin-top: .6rem;
}

.page-card .lead {
  color: var(--muted);
  margin-top: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.page-card p {
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

/* Specifikációs táblázat */

.spec-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 14px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .95rem;
  min-width: 420px;
}

.spec-table th {
  text-align: left;
  padding: .85rem 1.1rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.spec-table td {
  padding: .8rem 1.1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.spec-table tbody tr:last-child td { border-bottom: none; }

.spec-table tbody tr:nth-child(odd) td { background: var(--bg); }

.spec-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}

.spec-table tr.no td { color: #9aa4af; }

/* GYIK */

.faq h2 {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin: 1.75rem 0 .75rem;
}

.faq h2:first-child { margin-top: 0; }

.faq details {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  margin-bottom: .75rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  padding: 1rem 1.25rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { background: var(--bg); }

.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--accent);
  transition: transform .2s ease;
  flex-shrink: 0;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq-body {
  padding: 0 1.25rem 1.15rem;
}

.faq-body p {
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: .65rem;
}

.faq-body p:last-child { margin-bottom: 0; }

.faq-body ul {
  color: var(--muted);
  line-height: 1.7;
  margin: -.15rem 0 .65rem 1.15rem;
  padding: 0;
}

.faq-body li { margin-bottom: .3rem; }

.faq-body li::marker { color: var(--accent); }

.faq-body strong {
  color: var(--text);
  font-weight: 700;
}

/* Galéria */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  cursor: zoom-in;
  transition: transform .2s ease, box-shadow .2s ease;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .12);
  outline: none;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  padding: .6rem .85rem;
  font-size: .85rem;
  color: var(--muted);
}

.gallery-note {
  margin-top: 1.75rem;
  font-size: .82rem;
  color: var(--muted);
}

/* Lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 14, 20, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox figure {
  text-align: center;
  max-width: min(92vw, 1100px);
}

.lightbox-img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}

.lightbox-caption {
  color: #fff;
  margin-top: 1rem;
  font-size: .95rem;
}

.lightbox-counter {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .75);
  font-size: .85rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255, 255, 255, .28); }

.lightbox-close {
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  font-size: 1.7rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  font-size: 1.2rem;
}

.lightbox-prev { left: 1.25rem; }
.lightbox-next { right: 1.25rem; }

/* Gomb */

.btn {
  display: inline-block;
  margin-top: .5rem;
  padding: .75rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  background: linear-gradient(100deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .18);
}

.btn-outline {
  background: var(--card);
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-outline:hover { box-shadow: 0 10px 22px rgba(15, 23, 42, .12); }

/* Kapcsolati űrlap */

.contact-form { margin-top: 1.25rem; }

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: .4rem;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: .95rem;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: 2px solid var(--accent-2);
  outline-offset: 1px;
  border-color: var(--accent-2);
}

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-message {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}

.form-message strong { display: block; margin-bottom: .3rem; }

.form-message p { margin-bottom: 0; }

.form-success {
  background: #eef7f2;
  border: 1px solid #cfe8db;
}

.form-success strong { color: var(--accent); }

.form-error {
  background: rgba(220, 80, 60, .08);
  border: 1px solid rgba(220, 80, 60, .3);
}

.form-error strong { color: #b3382a; }

.form-message ul {
  margin: .4rem 0 0 1.1rem;
  font-size: .9rem;
}

[data-theme="dark"] .form-success {
  background: rgba(46, 194, 140, .12);
  border-color: rgba(46, 194, 140, .3);
}

[data-theme="dark"] .form-error strong { color: #e88272; }

.contact-form .btn { margin-top: .25rem; }

/* Süti-hozzájáruló sáv */

.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  width: min(680px, calc(100vw - 2rem));
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(15, 23, 42, .18);
  padding: 1.1rem 1.25rem;
}

.cookie-banner[hidden] { display: none; }

.cookie-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1 1 300px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: .6rem;
  flex-wrap: wrap;
}

.cookie-actions .btn { margin-top: 0; }

.cookie-settings {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  z-index: 90;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  border-radius: 999px;
  padding: .5rem .95rem;
  font-size: .8rem;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .12);
  transition: color .2s ease, box-shadow .2s ease;
}

.cookie-settings[hidden] { display: none; }

.cookie-settings:hover {
  color: var(--text);
  box-shadow: 0 8px 22px rgba(15, 23, 42, .18);
}

@media (max-width: 480px) {
  .cookie-banner { bottom: 1rem; }
  .cookie-actions { width: 100%; }
  .cookie-actions .btn { flex: 1; text-align: center; }
}

/* ---------- Lábléc ---------- */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--card);
  padding: 1.4rem 1.25rem;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- Animációk ---------- */

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Reszponzív ---------- */

@media (max-width: 768px) {
  .nav-toggle-label { display: flex; }

  .main-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--card);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 14px 28px rgba(15, 23, 42, .08);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }

  .nav-toggle:checked ~ .main-nav { max-height: 420px; }

  .theme-toggle-mobile { display: inline-flex; }

  .theme-toggle-item { display: none; }

.main-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: .75rem 1.25rem 1rem;
    gap: .25rem;
  }

  .main-nav a {
    display: block;
    padding: .7rem .9rem;
  }
}

@media (max-width: 480px) {
  .card { padding: 2.25rem 1.25rem; border-radius: 18px; }
  .page-card { padding: 1.75rem 1.25rem; border-radius: 16px; }
  .logo { width: 140px; height: 140px; }
  .container { padding: 1.75rem 1rem; }
  .cta-row .btn { width: 100%; text-align: center; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .gallery-item figcaption { font-size: .78rem; }
  .lightbox-prev { left: .6rem; }
  .lightbox-next { right: .6rem; }
}

/* ---------- Útmutatók ---------- */

/* Listázó kártyák */

.guide-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.guide-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem 1.35rem;
  color: var(--text);
  transition: transform .2s ease, box-shadow .2s ease;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, .1);
  text-decoration: none;
}

.guide-card h3 {
  font-size: 1.05rem;
  margin-bottom: .45rem;
}

.guide-card p {
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.55;
  margin-bottom: 0;
}

.guide-card .arrow {
  display: block;
  margin-top: 1rem;
  color: var(--accent);
  font-weight: 700;
  font-size: .9rem;
}

/* Tartalomjegyzék */

.toc {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.25rem;
  margin: 1.5rem 0 1.75rem;
}

.toc strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .45rem;
}

.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.toc a {
  display: block;
  padding: .3rem 0;
  color: var(--accent-2);
  font-size: .95rem;
  font-weight: 600;
}

.toc a:hover { text-decoration: underline; }

/* Útmutató törzsszöveg */

.guide-body h2 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 2.1rem 0 .8rem;
  scroll-margin-top: calc(var(--header-h) + 20px);
}

.guide-body h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.5rem 0 .45rem;
}

.guide-body p {
  line-height: 1.7;
  margin-bottom: 1rem;
}

.guide-body ul {
  margin: 0 0 1rem 1.2rem;
  line-height: 1.7;
}

.guide-body li { margin-bottom: .35rem; }

.guide-body .ui {
  font-weight: 600;
  white-space: nowrap;
}

/* Számozott lépések */

ol.guide-steps {
  list-style: none;
  counter-reset: step;
  margin: 1rem 0 1.75rem;
  padding: 0;
}

ol.guide-steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1.05rem;
}

ol.guide-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: .1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: .95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

ol.guide-steps p {
  margin-bottom: .4rem;
  line-height: 1.65;
}

ol.guide-steps li > ol,
ol.guide-steps li > ul {
  margin: .5rem 0 .4rem 1.1rem;
  line-height: 1.65;
}

/* Tipp és figyelmeztetés dobozok */

.callout {
  border-radius: 12px;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: .95rem;
  line-height: 1.65;
}

.callout strong {
  display: block;
  margin-bottom: .3rem;
  font-size: .95rem;
}

.callout-tip {
  background: rgba(31, 122, 224, .07);
  border: 1px solid rgba(31, 122, 224, .25);
}

.callout-tip strong { color: var(--accent-2); }

.callout-warn {
  background: rgba(220, 120, 40, .08);
  border: 1px solid rgba(220, 120, 40, .3);
}

.callout-warn strong { color: #b35418; }

[data-theme="dark"] .callout-warn strong { color: #e89a5c; }

.callout p { margin-bottom: 0; }

/* Útmutató-navigáció */

.guide-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
}

.guide-nav a {
  font-weight: 700;
  font-size: .95rem;
}

.guide-nav .prev::before { content: "\2190  "; }
.guide-nav .next::after { content: "  \2192"; }

.guide-nav .back {
  color: var(--muted);
  font-weight: 600;
}

.guide-nav .back:hover { color: var(--text); }

@media (max-width: 480px) {
  .guide-nav { flex-wrap: wrap; }
  .guide-nav .back { order: -1; flex-basis: 100%; text-align: center; }
}

/* Kategóriák és badge-ek */

.guide-category { margin-top: 2.25rem; }

.guide-category h2 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: .9rem;
}

.guide-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
  margin-bottom: .6rem;
}

.badge-kezdo {
  background: #eef7f2;
  border: 1px solid #cfe8db;
  color: var(--accent);
}

.badge-halado {
  background: rgba(31, 122, 224, .1);
  border: 1px solid rgba(31, 122, 224, .25);
  color: var(--accent-2);
}

.badge-karbantartas {
  background: rgba(220, 120, 40, .1);
  border: 1px solid rgba(220, 120, 40, .3);
  color: #b35418;
}

[data-theme="dark"] .badge-kezdo {
  background: rgba(46, 194, 140, .14);
  border-color: rgba(46, 194, 140, .3);
}

[data-theme="dark"] .badge-halado {
  background: rgba(74, 148, 240, .14);
  border-color: rgba(74, 148, 240, .3);
}

[data-theme="dark"] .badge-karbantartas { color: #e89a5c; }

/* Kapcsolódó GYIK és verzió-megjegyzés */

.guide-body pre.code-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  font-size: .85rem;
  line-height: 1.6;
}

.guide-body pre.code-block code {
  font-family: "SF Mono", "Cascadia Code", Consolas, "Courier New", monospace;
  color: var(--text);
}

.guide-related {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
}

.guide-related strong {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  margin-bottom: .55rem;
}

.guide-related a {
  display: inline-block;
  margin: 0 1.25rem .35rem 0;
  font-weight: 600;
  font-size: .92rem;
}

.guide-version-note {
  margin-top: 1.75rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}

.guide-source-note {
  margin-top: 2.25rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.6;
}
