/* NDIT CMS – Page Builder alap CSS (template-független szerkezet + elemek alapstílusa).
   A template a változókat írja felül. A :host a builder előnézet Shadow DOM-ja miatt kell. */
:root, :host {
  --nd-ink: #1a2233;
  --nd-muted: #5f6b80;
  --nd-bg: #ffffff;
  --nd-surface: #f4f6f9;
  --nd-line: #dde3ec;
  --nd-accent: #2650c8;
  --nd-accent-ink: #ffffff;
  --nd-accent-2: #f2a900;
  --nd-radius: 10px;
  --nd-radius-sm: 6px;
  --nd-font-head: system-ui, sans-serif;
  --nd-font-body: system-ui, sans-serif;
  --nd-max: 1180px;
  --nd-gutter: clamp(16px, 4vw, 32px);
  --nd-head-color: #1a2233;
  --nd-link: #2650c8;
  --nd-header-bg: #ffffff;
  --nd-header-ink: #1a2233;
  --nd-footer-bg: #121a2b;
  --nd-footer-ink: #b9c2d3;
  --nd-font-nav: var(--nd-font-body);
  --nd-fs: 17px;
  --nd-lh: 1.6;
  --nd-head-weight: 600;
  --nd-head-scale: 1;
  --nd-head-ls: -0.01em;
  --nd-nav-size: 16px;
  --nd-nav-weight: 500;
  --nd-btn-radius: 6px;
  --nd-space: 1;
  --nd-logo-h: 40px;
  --nd-logo-h-m: 32px;
  --nd-logo-h-s: 32px;
}

/* ---------- Alap tipográfia (a Megjelenés beállításokból) ---------- */
html:has(body.nd-site) { font-size: var(--nd-fs); }
body.nd-site, :host { font-family: var(--nd-font-body); font-size: var(--nd-fs); line-height: var(--nd-lh); color: var(--nd-ink); background: var(--nd-bg); }
/* alacsony specificitás (:where), hogy a sablon és az egyedi CSS (pl. Joomla importból) felülírhassa */
:where(body.nd-site, :host) :where(h1, h2, h3, h4) {
  font-family: var(--nd-font-head); font-weight: var(--nd-head-weight); letter-spacing: var(--nd-head-ls); color: var(--nd-head-color);
}

/* ---------- Logó ---------- */
.nd-footer-logo { display: block; height: var(--nd-flogo-h, 36px); width: auto; max-width: 100%; }
.nd-logo { display: block; height: var(--nd-logo-h); width: auto; max-width: 100%; transition: height .2s ease; }
.nd-logo-m { display: none; height: var(--nd-logo-h-m); width: auto; }
.nd-scrolled .nd-sticky-head .nd-logo, .nd-sticky-head.nd-scrolled .nd-logo { height: var(--nd-logo-h-s); }
@media (max-width: 960px) {
  .nd-logo { height: var(--nd-logo-h-m); }
  .nd-logo.has-m { display: none; }
  .nd-logo-m { display: block; }
}

/* ---------- Szekció, konténer, rács ---------- */
.nd-section { position: relative; background-size: cover; background-position: center; }
.nd-section.nd-has-overlay::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / var(--nd-overlay, .4)); pointer-events: none; }
.nd-section > .nd-container { position: relative; }
.nd-pad-none { padding-block: 0; }
.nd-pad-sm { padding-block: calc(clamp(20px, 3vw, 32px) * var(--nd-space)); }
.nd-pad-md { padding-block: calc(clamp(36px, 5vw, 56px) * var(--nd-space)); }
.nd-pad-lg { padding-block: calc(clamp(56px, 8vw, 96px) * var(--nd-space)); }
.nd-pad-xl { padding-block: calc(clamp(80px, 12vw, 148px) * var(--nd-space)); }
.nd-minh-50 { min-height: 50vh; display: flex; align-items: center; }
.nd-minh-80 { min-height: 80vh; display: flex; align-items: center; }
.nd-minh-100 { min-height: 100vh; display: flex; align-items: center; }
.nd-minh-50 > .nd-container, .nd-minh-80 > .nd-container, .nd-minh-100 > .nd-container { width: 100%; }
.nd-container { margin-inline: auto; padding-inline: var(--nd-gutter); }
.nd-container-narrow { max-width: calc(760px + 2 * var(--nd-gutter)); }
.nd-container-boxed { max-width: calc(var(--nd-max) + 2 * var(--nd-gutter)); }
.nd-container-wide { max-width: calc(1440px + 2 * var(--nd-gutter)); }
.nd-container-full { max-width: none; padding-inline: 0; }
.nd-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); }
.nd-gap-none { gap: 0; }
.nd-gap-sm { gap: 16px; }
.nd-gap-md { gap: clamp(20px, 3vw, 32px); }
.nd-gap-lg { gap: clamp(28px, 5vw, 64px); }
.nd-valign-start { align-items: start; }
.nd-valign-center { align-items: center; }
.nd-valign-end { align-items: end; }
.nd-valign-stretch { align-items: stretch; }
.nd-col { min-width: 0; }
.nd-col-1 { grid-column: span 1; } .nd-col-2 { grid-column: span 2; } .nd-col-3 { grid-column: span 3; }
.nd-col-4 { grid-column: span 4; } .nd-col-5 { grid-column: span 5; } .nd-col-6 { grid-column: span 6; }
.nd-col-7 { grid-column: span 7; } .nd-col-8 { grid-column: span 8; } .nd-col-9 { grid-column: span 9; }
.nd-col-10 { grid-column: span 10; } .nd-col-11 { grid-column: span 11; } .nd-col-12 { grid-column: span 12; }
.nd-cpad-sm { padding: 16px; } .nd-cpad-md { padding: clamp(20px, 3vw, 32px); } .nd-cpad-lg { padding: clamp(28px, 4vw, 52px); }
.nd-col[style*="background"] { border-radius: var(--nd-radius); }
@media (max-width: 900px) {
  .nd-col-3, .nd-col-2 { grid-column: span 6; }
  .nd-col-4, .nd-col-5, .nd-col-7, .nd-col-8, .nd-col-9 { grid-column: span 12; }
}
@media (max-width: 640px) {
  .nd-col { grid-column: span 12 !important; }
  .nd-morder-1 { order: 1; } .nd-morder-2 { order: 2; } .nd-morder-3 { order: 3; } .nd-morder-4 { order: 4; }
  .nd-hide-mobile { display: none !important; }
}
@media (min-width: 641px) { .nd-hide-desktop { display: none !important; } }

/* ---------- Elem térközök ---------- */
.nd-el:last-child { margin-bottom: 0 !important; }
.nd-mb-0 { margin-bottom: 0; } .nd-mb-sm { margin-bottom: 12px; } .nd-mb-md { margin-bottom: 24px; }
.nd-mb-lg { margin-bottom: 40px; } .nd-mb-xl { margin-bottom: 64px; }
.nd-align-left { text-align: left; } .nd-align-center { text-align: center; } .nd-align-right { text-align: right; }

/* ---------- Háttér a Megjelenés színeiből ---------- */
.nd-bg-surface { background-color: var(--nd-surface); }
.nd-bg-accent-soft { background-color: color-mix(in srgb, var(--nd-accent) 9%, var(--nd-bg)); }
.nd-bg-dark { background-color: var(--nd-footer-bg); }
.nd-bg-accent { background-color: var(--nd-accent); color: var(--nd-accent-ink); --nd-ink: var(--nd-accent-ink); --nd-head-color: var(--nd-accent-ink);
  --nd-muted: color-mix(in srgb, var(--nd-accent-ink) 78%, transparent); --nd-link: var(--nd-accent-ink); --nd-line: color-mix(in srgb, var(--nd-accent-ink) 25%, transparent); }
.nd-bg-accent .nd-btn-primary { background: var(--nd-accent-ink); color: var(--nd-accent); }
.nd-bg-accent .nd-feature-ico, .nd-bg-accent .nd-checklist .nd-icon { color: var(--nd-accent-ink); }
.nd-col[class*="nd-bg-"] { border-radius: var(--nd-radius); }

/* ---------- Szövegszín (tónus) ---------- */
.nd-tone-light { color: #fff; --nd-ink: #ffffff; --nd-head-color: #ffffff; --nd-link: #ffffff; --nd-muted: rgb(255 255 255 / .78); --nd-line: rgb(255 255 255 / .22); --nd-surface: rgb(255 255 255 / .08); }
.nd-tone-dark { color: var(--nd-ink); }

/* ---------- Elemek ---------- */
.nd-icon { display: inline-block; vertical-align: middle; flex: none; }
.nd-heading { margin: 0; font-family: var(--nd-font-head); color: var(--nd-head-color); font-weight: var(--nd-head-weight); letter-spacing: var(--nd-head-ls); line-height: 1.12; text-wrap: balance; }
.nd-heading-sub { margin: .7em 0 0; color: var(--nd-muted); font-size: 1.125rem; line-height: 1.55; max-width: 62ch; }
.nd-align-center .nd-heading-sub { margin-inline: auto; }
.nd-size-sm { font-size: calc(1.25rem * var(--nd-head-scale)); } .nd-size-md { font-size: calc(clamp(1.5rem, 2.4vw, 1.9rem) * var(--nd-head-scale)); }
.nd-size-lg { font-size: calc(clamp(1.9rem, 3.6vw, 2.6rem) * var(--nd-head-scale)); } .nd-size-xl { font-size: calc(clamp(2.3rem, 5vw, 3.5rem) * var(--nd-head-scale)); }
.nd-size-display { font-size: calc(clamp(2.8rem, 7vw, 5rem) * var(--nd-head-scale)); letter-spacing: calc(var(--nd-head-ls) - 0.01em); }
.nd-text { color: var(--nd-ink); line-height: 1.65; max-width: 70ch; }
.nd-text.nd-wide { max-width: none; }
.nd-align-center.nd-text { margin-inline: auto; }
.nd-text > :first-child { margin-top: 0; } .nd-text > :last-child { margin-bottom: 0; }
.nd-text a { color: var(--nd-link); }
.nd-tone-light .nd-text a { color: inherit; }
.nd-text img { max-width: 100%; height: auto; }
.nd-lead { font-size: 1.2rem; color: var(--nd-muted); }
.nd-image { margin: 0; }
.nd-image img { display: block; max-width: 100%; height: auto; }
.nd-image.nd-fill img { width: 100%; }
.nd-image.nd-rounded img { border-radius: var(--nd-radius); }
.nd-image figcaption { margin-top: 8px; font-size: .9rem; color: var(--nd-muted); }
.nd-image.nd-align-center img { margin-inline: auto; } .nd-image.nd-align-right img { margin-left: auto; }
.nd-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.nd-buttons.nd-align-center { justify-content: center; } .nd-buttons.nd-align-right { justify-content: flex-end; }
.nd-btn { display: inline-flex; align-items: center; gap: 8px; padding: .8em 1.4em; border-radius: var(--nd-btn-radius); font-weight: 600; text-decoration: none; line-height: 1.1; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; }
.nd-btn-primary { background: var(--nd-accent); color: var(--nd-accent-ink); }
.nd-btn-primary:hover { filter: brightness(1.08); }
.nd-btn-outline { border-color: currentColor; color: var(--nd-ink); }
.nd-btn-outline:hover { background: var(--nd-ink); color: var(--nd-bg); }
.nd-tone-light .nd-btn-outline:hover { color: #111; }
.nd-btn-link { padding-inline: 0; color: var(--nd-accent); }
.nd-tone-light .nd-btn-link { color: #fff; }
.nd-btn-lg { font-size: 1.1rem; }
.nd-spacer { display: block; }
.nd-divider { border: 0; border-top: 1px solid var(--nd-line); margin: 0; }
.nd-divider.nd-short { width: 64px; border-top-width: 3px; border-color: var(--nd-accent); }
.nd-divider.nd-short.nd-align-center { margin-inline: auto; }
.nd-video { position: relative; aspect-ratio: 16/9; border-radius: var(--nd-radius); overflow: hidden; background: #000; }
.nd-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.nd-video-poster { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; border: 0; padding: 0; cursor: pointer; background: #111 center/cover no-repeat; color: #fff; }
.nd-video-poster span { width: 72px; height: 72px; border-radius: 50%; background: rgb(0 0 0 / .6); display: grid; place-items: center; font-size: 26px; }
.nd-feature { display: flex; flex-direction: column; gap: 12px; height: 100%; }
.nd-feature-ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--nd-surface); color: var(--nd-accent); }
.nd-feature-row { flex-direction: row; align-items: flex-start; gap: 16px; }
.nd-feature h3 { margin: 0; font-family: var(--nd-font-head); font-size: 1.2rem; color: var(--nd-head-color); font-weight: var(--nd-head-weight); }
.nd-feature p { margin: 0; color: var(--nd-muted); line-height: 1.6; }
.nd-feature a { color: var(--nd-accent); font-weight: 600; text-decoration: none; }
.nd-feature.nd-boxed { padding: 26px; border: 1px solid var(--nd-line); border-radius: var(--nd-radius); background: var(--nd-feature-bg, var(--nd-bg)); }
/* Ikonos blokk: kép, ikonstílusok, igazítás, kártya (SP Page Builder Feature Box szerűen) */
.nd-feature .nd-feature-title { margin: 0; font-family: var(--nd-font-head); font-size: 1.2rem; color: var(--nd-head-color); font-weight: var(--nd-head-weight); }
.nd-feature-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; flex: 1; }
.nd-feature-al-center, .nd-feature-al-center .nd-feature-body { text-align: center; align-items: center; }
.nd-feature-al-right, .nd-feature-al-right .nd-feature-body { text-align: right; align-items: flex-end; }
.nd-feature-media { margin: 0; overflow: hidden; border-radius: var(--nd-feature-img-r, 0); align-self: stretch; }
.nd-feature-media img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.nd-feature-media.has-ratio img { aspect-ratio: var(--nd-feature-ratio); object-fit: cover; }
.nd-feature-zoom:hover .nd-feature-media img { transform: scale(1.06); }
.nd-feature.nd-boxed.nd-feature-img-cover { padding: 0; overflow: hidden; }
/* tömör kártya (képes kártya vagy saját háttérszín): a szekció sötét/világos tónusától függetlenül olvasható */
.nd-feature.nd-boxed.nd-feature-solid, .nd-tone-light .nd-feature.nd-boxed.nd-feature-solid { background: var(--nd-feature-bg, var(--nd-bg-0, #fff)); border-color: transparent;
    --nd-ink: var(--nd-ink-0, #1f2433); --nd-head-color: var(--nd-head-0, #111827); --nd-muted: var(--nd-muted-0, #5b6472); --nd-line: var(--nd-line-0, #e5e7eb);
    --nd-link: var(--nd-link-0, var(--nd-accent)); --nd-surface: #f3f5f9; color: var(--nd-ink); }
.nd-feature.nd-boxed.nd-feature-img-cover .nd-feature-media { border-radius: 0; }
.nd-feature.nd-boxed.nd-feature-img-cover .nd-feature-body { padding: 22px 26px 28px; }
.nd-feature-img-left, .nd-feature-img-right { flex-direction: row; align-items: flex-start; gap: 22px; }
.nd-feature-img-right { flex-direction: row-reverse; }
.nd-feature-img-left > .nd-feature-media, .nd-feature-img-right > .nd-feature-media { flex: 0 0 38%; }
@media (max-width: 600px) { .nd-feature-img-left, .nd-feature-img-right { flex-direction: column; } .nd-feature-img-left > .nd-feature-media, .nd-feature-img-right > .nd-feature-media { flex-basis: auto; } }
.nd-feature-shadow { box-shadow: 0 12px 34px rgb(15 23 42 / .10); }
.nd-feature-shadow:not(.nd-boxed) { border-radius: var(--nd-radius); }
.nd-feature-hover-lift, .nd-feature-hover-shadow { transition: transform .25s ease, box-shadow .25s ease; }
.nd-feature-hover-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgb(15 23 42 / .14); }
.nd-feature-hover-shadow:hover { box-shadow: 0 18px 40px rgb(15 23 42 / .16); }
.nd-feature-ico svg { width: 50%; height: 50%; }
.nd-feature .nd-feature-ico-circle { border-radius: 50%; }
.nd-feature .nd-feature-ico-solid { border-radius: 50%; background: var(--nd-accent); color: var(--nd-accent-ink); }
.nd-feature .nd-feature-ico-plain { background: none; width: auto; height: auto; border-radius: 0; }
.nd-feature-ico-plain svg { width: 36px; height: 36px; }
.nd-feature-ico-sm { width: 40px; height: 40px; } .nd-feature-ico-lg { width: 64px; height: 64px; } .nd-feature-ico-xl { width: 84px; height: 84px; }
.nd-feature-ico-plain.nd-feature-ico-sm svg { width: 26px; height: 26px; } .nd-feature-ico-plain.nd-feature-ico-lg svg { width: 52px; height: 52px; } .nd-feature-ico-plain.nd-feature-ico-xl svg { width: 72px; height: 72px; }
.nd-feature-more { margin-top: auto !important; }
.nd-feature .nd-feature-link { color: var(--nd-accent); font-weight: 600; }
a.nd-card.nd-feature:hover .nd-feature-title { color: var(--nd-accent); }
.nd-tone-light .nd-feature.nd-boxed { background: var(--nd-surface); }
a.nd-card { color: inherit; text-decoration: none; display: block; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.nd-card h3 { color: var(--nd-head-color); }
a.nd-card:hover { transform: translateY(-2px); box-shadow: var(--nd-shadow, 0 10px 30px rgb(15 23 42 / .08)); }
a.nd-card:hover h3 { color: var(--nd-accent); }
a.nd-card:focus-visible { outline: 2px solid var(--nd-accent); outline-offset: 3px; }
.nd-cards { display: grid; gap: clamp(16px, 2.4vw, 28px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .nd-cards { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 600px) { .nd-cards { grid-template-columns: 1fr; } }
.nd-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nd-checklist.nd-two { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
@media (max-width: 600px) { .nd-checklist.nd-two { grid-template-columns: 1fr; } }
.nd-checklist li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; color: var(--nd-ink); }
.nd-checklist .nd-icon { color: var(--nd-accent); margin-top: 1px; }
.nd-tone-light .nd-checklist .nd-icon { color: var(--nd-accent-2); }
.nd-gallery { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 600px) { .nd-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nd-gallery a { display: block; overflow: hidden; border-radius: var(--nd-radius-sm); }
.nd-gallery img { display: block; width: 100%; aspect-ratio: var(--ratio, 4/3); object-fit: cover; transition: transform .3s; }
.nd-gallery a:hover img { transform: scale(1.03); }
.nd-accordion { border-top: 1px solid var(--nd-line); }
.nd-accordion details { border-bottom: 1px solid var(--nd-line); }
.nd-accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; color: var(--nd-head-color); font-size: 1.08rem; }
.nd-accordion summary::-webkit-details-marker { display: none; }
.nd-accordion summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--nd-accent); transition: transform .2s; }
.nd-accordion details[open] summary::after { transform: rotate(45deg); }
.nd-accordion .nd-acc-body { padding: 0 0 20px; color: var(--nd-muted); line-height: 1.65; }
.nd-accordion .nd-acc-body > :first-child { margin-top: 0; }
.nd-testimonial { margin: 0; display: flex; flex-direction: column; gap: 18px; }
.nd-testimonial blockquote { margin: 0; font-size: 1.2rem; line-height: 1.55; color: var(--nd-ink); }
.nd-testimonial figcaption { display: flex; align-items: center; gap: 12px; }
.nd-testimonial figcaption img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.nd-testimonial figcaption strong { display: block; color: var(--nd-ink); }
.nd-testimonial figcaption span { color: var(--nd-muted); font-size: .95rem; }
.nd-counters { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .nd-counters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.nd-counter strong { display: block; font-family: var(--nd-font-head); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: var(--nd-head-color); font-variant-numeric: tabular-nums; }
.nd-counter > span { display: block; margin-top: 8px; color: var(--nd-muted); }
.nd-counter strong { white-space: nowrap; }
.nd-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: clamp(28px, 4vw, 48px); border-radius: var(--nd-radius); background: var(--nd-surface); }
.nd-cta h2 { margin: 0; font-family: var(--nd-font-head); font-size: calc(clamp(1.5rem, 3vw, 2.1rem) * var(--nd-head-scale)); color: var(--nd-head-color); font-weight: var(--nd-head-weight); }
.nd-cta p { margin: .5em 0 0; color: var(--nd-muted); }
.nd-cta.nd-accent-bg { background: var(--nd-accent); --nd-ink: var(--nd-accent-ink); --nd-head-color: var(--nd-accent-ink); --nd-muted: color-mix(in srgb, var(--nd-accent-ink) 80%, transparent); }
.nd-cta.nd-accent-bg .nd-btn-primary { background: #fff; color: var(--nd-accent); }
.nd-hero { display: flex; flex-direction: column; gap: 22px; }
.nd-hero.nd-align-center { align-items: center; text-align: center; }
.nd-hero-status { display: inline-flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--nd-muted); }
.nd-hero-status i { width: 9px; height: 9px; border-radius: 50%; background: #23b26d; box-shadow: 0 0 0 4px rgb(35 178 109 / .18); }
.nd-hero h1 { margin: 0; font-family: var(--nd-font-head); color: var(--nd-head-color); font-size: calc(clamp(2.6rem, 6.4vw, 4.8rem) * var(--nd-head-scale)); line-height: 1.02; letter-spacing: -0.025em; max-width: 16ch; text-wrap: balance; }
.nd-hero.nd-align-center h1 { max-width: 20ch; }
.nd-hero p { margin: 0; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--nd-muted); line-height: 1.55; max-width: 56ch; }
.nd-html { overflow-wrap: anywhere; }
.nd-module-title { font-size: 1rem; margin: 0 0 12px; }

/* ---------- Lightbox (galéria) ---------- */
.nd-lightbox { position: fixed; inset: 0; background: rgb(8 12 20 / .9); display: grid; place-items: center; z-index: 1000; padding: 24px; cursor: zoom-out; }
.nd-lightbox img { max-width: 100%; max-height: 100%; border-radius: 4px; }

@media (prefers-reduced-motion: reduce) {
  .nd-gallery img, .nd-btn, .nd-accordion summary::after { transition: none; }
}

/* ---------- Elem-animációk (csak ha a JS betöltött, így JS nélkül is látszik a tartalom) ---------- */
.nd-anim-ready .nd-anim {
  opacity: 0;
  transition: opacity var(--nd-anim-dur, 700ms) cubic-bezier(.2, .7, .2, 1) var(--nd-anim-delay, 0ms),
              transform var(--nd-anim-dur, 700ms) cubic-bezier(.2, .7, .2, 1) var(--nd-anim-delay, 0ms),
              filter var(--nd-anim-dur, 700ms) ease var(--nd-anim-delay, 0ms);
}
.nd-anim-ready .nd-anim-fade-up { transform: translateY(36px); }
.nd-anim-ready .nd-anim-fade-down { transform: translateY(-36px); }
.nd-anim-ready .nd-anim-fade-left { transform: translateX(48px); }
.nd-anim-ready .nd-anim-fade-right { transform: translateX(-48px); }
.nd-anim-ready .nd-anim-zoom-in { transform: scale(.92); }
.nd-anim-ready .nd-anim-zoom-out { transform: scale(1.08); }
.nd-anim-ready .nd-anim-flip-up { transform: perspective(900px) rotateX(18deg) translateY(24px); transform-origin: 50% 100%; }
.nd-anim-ready .nd-anim-blur-in { filter: blur(10px); }
.nd-anim-ready .nd-anim.is-in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .nd-anim-ready .nd-anim { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ---------- Slider ---------- */
.nd-slider { position: relative; overflow: hidden; background: #0d1320; isolation: isolate; }
.nd-slider-rounded { border-radius: var(--nd-radius); }
.nd-slider-h-sm { height: clamp(280px, 40vw, 380px); }
.nd-slider-h-md { height: clamp(360px, 55vw, 540px); }
.nd-slider-h-lg { height: clamp(440px, 70vw, 720px); }
.nd-slider-h-full { height: 100vh; height: 100svh; min-height: 420px; }
.nd-slides { position: relative; height: 100%; }
.nd-slide { position: absolute; inset: 0; display: flex; align-items: center; overflow: hidden; }
.nd-slide::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgb(0 0 0 / calc(var(--nd-overlay, .4) + .15)), rgb(0 0 0 / var(--nd-overlay, .4))); pointer-events: none; }
.nd-slide-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nd-slide-body { position: relative; z-index: 2; width: 100%; display: flex; }
.nd-slide-body.nd-align-center { justify-content: center; text-align: center; }
.nd-slide-body.nd-align-right { justify-content: flex-end; text-align: right; }
.nd-slide-text { max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.nd-align-center .nd-slide-text { align-items: center; }
.nd-align-right .nd-slide-text { align-items: flex-end; }
.nd-slide h2 { margin: 0; font-family: var(--nd-font-head); font-weight: var(--nd-head-weight); letter-spacing: var(--nd-head-ls); color: #fff; line-height: 1.06;
  font-size: calc(clamp(2rem, 5vw, 3.6rem) * var(--nd-head-scale)); text-wrap: balance; }
.nd-slide p { margin: 0; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: rgb(255 255 255 / .88); line-height: 1.55; }
.nd-slide .nd-btn { align-self: flex-start; }
.nd-align-center .nd-slide .nd-btn, .nd-slide .nd-align-center .nd-btn { align-self: center; }
/* áttűnés */
.nd-slider-fade .nd-slide { opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.nd-slider-fade .nd-slide.is-active { opacity: 1; visibility: visible; transition: opacity .9s ease; z-index: 1; }
/* csúszás */
.nd-slider-slide .nd-slides { display: flex; transition: transform .7s cubic-bezier(.65, 0, .35, 1); }
.nd-slider-slide .nd-slide { position: relative; flex: 0 0 100%; inset: auto; height: 100%; }
/* szöveg belépése az aktív dián */
.nd-slide .nd-slide-text > * { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.nd-slide.is-active .nd-slide-text > * { opacity: 1; transform: none; }
.nd-slide.is-active .nd-slide-text > :nth-child(2) { transition-delay: .12s; }
.nd-slide.is-active .nd-slide-text > :nth-child(3) { transition-delay: .24s; }
/* Ken Burns */
.nd-kenburns .nd-slide-img { transform: scale(1); transition: transform 9s ease-out; }
.nd-kenburns .nd-slide.is-active .nd-slide-img { transform: scale(1.08); }
/* vezérlők */
.nd-slider-arrow { position: absolute; top: 50%; z-index: 3; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35);
  background: rgb(0 0 0 / .28); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; display: grid; place-items: center; backdrop-filter: blur(4px); }
.nd-slider-arrow:hover { background: rgb(0 0 0 / .5); }
.nd-prev { left: clamp(8px, 2vw, 24px); } .nd-next { right: clamp(8px, 2vw, 24px); }
.nd-slider-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.nd-slider-dots button { width: 9px; height: 9px; padding: 0; border-radius: 9px; border: 0; background: rgb(255 255 255 / .5); cursor: pointer; transition: width .3s, background .3s; }
.nd-slider-dots button[aria-selected="true"] { width: 28px; background: #fff; }
.nd-slider-pause { position: absolute; z-index: 3; right: 14px; bottom: 12px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgb(0 0 0 / .3); color: #fff; font-size: 10px; cursor: pointer; }
.nd-slider-pause.is-paused span { font-size: 12px; }
@media (max-width: 640px) { .nd-slider-arrow { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .nd-slider-fade .nd-slide, .nd-slider-slide .nd-slides, .nd-slide .nd-slide-text > *, .nd-kenburns .nd-slide-img { transition: none !important; }
  .nd-kenburns .nd-slide.is-active .nd-slide-img { transform: none; }
}

/* ---------- Hírek (alapstílus – a templatek finomhangolják) ---------- */
.nd-rubric { --nd-rubric: var(--nd-accent); display: inline-flex; align-items: center; gap: 6px; color: var(--nd-rubric); font-weight: 600; text-decoration: none; font-size: .82em; }
.nd-rubric::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--nd-rubric); }
.nd-news-meta { margin: 0 0 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .85rem; color: var(--nd-muted); }
.nd-news-meta time { font-variant-numeric: tabular-nums; }
.nd-news-flag { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 3px; background: var(--nd-accent); color: var(--nd-accent-ink); font-size: .72em; font-weight: 700; vertical-align: .15em; letter-spacing: .02em; }
.nd-news { position: relative; min-width: 0; }
.nd-news-title { margin: 0; font-family: var(--nd-font-head); font-weight: var(--nd-head-weight); color: var(--nd-head-color); line-height: 1.2; letter-spacing: var(--nd-head-ls); font-size: 1.12rem; text-wrap: pretty; }
.nd-news-title a { color: inherit; text-decoration: none; }
.nd-news-title a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.nd-news-lead { margin: 8px 0 0; color: var(--nd-muted); line-height: 1.5; font-size: .95rem; }
.nd-news-img { display: block; overflow: hidden; border-radius: var(--nd-radius-sm); background: var(--nd-surface); }
.nd-news-img img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16 / 10; transition: transform .4s ease; }
.nd-news:hover .nd-news-img img { transform: scale(1.03); }
.nd-news-v-card .nd-news-img { margin-bottom: 12px; }
.nd-news-v-lead .nd-news-title { font-size: calc(clamp(1.6rem, 3vw, 2.3rem) * var(--nd-head-scale)); line-height: 1.1; }
.nd-news-v-lead .nd-news-img { margin-bottom: 16px; }
.nd-news-v-lead .nd-news-img img { aspect-ratio: 16 / 9; }
.nd-news-v-lead .nd-news-lead { font-size: 1.08rem; }
.nd-news-v-row { display: grid; grid-template-columns: 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--nd-line); }
.nd-news-v-row.has-img { grid-template-columns: minmax(96px, 34%) 1fr; }
.nd-news-v-row .nd-news-img img { aspect-ratio: 4 / 3; }
.nd-news-v-row:last-child { border-bottom: 0; }
.nd-news-v-overlay { border-radius: var(--nd-radius-sm); overflow: hidden; min-height: 240px; display: flex; align-items: flex-end; background: #111; }
.nd-news-v-overlay .nd-news-img { position: absolute; inset: 0; border-radius: 0; }
.nd-news-v-overlay .nd-news-img img { aspect-ratio: auto; height: 100%; }
.nd-news-v-overlay .nd-news-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(0 0 0 / .82), rgb(0 0 0 / .1) 65%); }
.nd-news-v-overlay .nd-news-body { position: relative; padding: 18px; }
.nd-news-v-overlay .nd-news-title { color: #fff; font-size: 1.25rem; }
.nd-news-v-overlay .nd-news-meta, .nd-news-v-overlay .nd-news-lead { color: rgb(255 255 255 / .82); }
.nd-news-v-overlay .nd-rubric { --nd-rubric: #fff; }
.nd-news-titles { list-style: none; margin: 0; padding: 0; }
.nd-news-titles li { padding: 11px 0; border-bottom: 1px solid var(--nd-line); }
.nd-news-titles li:first-child { padding-top: 0; }
.nd-news-titles li:last-child { border-bottom: 0; }
.nd-news-titles .nd-news-title { font-size: 1rem; }
.nd-news-titles .nd-news-meta { margin: 4px 0 0; }
.nd-news-titles.is-numbered { counter-reset: n; }
.nd-news-titles.is-numbered li { counter-increment: n; display: grid; grid-template-columns: 2.1em 1fr; align-items: start; }
.nd-news-titles.is-numbered li::before { content: counter(n); font: 700 1.6rem/1 var(--nd-font-head); color: var(--nd-accent); }
.nd-news-grid { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
@media (max-width: 900px) { .nd-news-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); } }
@media (max-width: 560px) { .nd-news-grid { grid-template-columns: 1fr; } }
.nd-newsblock-head { margin: 0 0 16px; padding-bottom: 10px; border-bottom: 3px solid var(--nd-rubric, var(--nd-ink)); font-size: 1.3rem; }
.nd-newsblock-head a { color: inherit; text-decoration: none; }
.nd-newsblock-head a::after { content: " ›"; color: var(--nd-rubric, var(--nd-accent)); }
/* a hírblokk a saját szélességéhez igazodik (keskeny oszlopban, oldalsávos templateben is) */
.nd-newsblock { container-type: inline-size; min-width: 0; }
.nd-newsblock-lead { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 36px); }
.nd-newsblock-side .nd-news-v-row:first-child { padding-top: 0; }
@container (max-width: 720px) {
  .nd-newsblock-lead { grid-template-columns: 1fr; }
  .nd-newsblock-side .nd-news-v-row:first-child { padding-top: 14px; }
  .nd-newsblock .nd-news-grid { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
}
@container (max-width: 460px) {
  .nd-newsblock .nd-news-grid { grid-template-columns: 1fr; }
  .nd-newsblock .nd-news-v-row.has-img { grid-template-columns: 96px 1fr; gap: 12px; }
  .nd-newsblock .nd-news-v-lead .nd-news-title { font-size: 1.5rem; }
}
.nd-news-title { overflow-wrap: break-word; hyphens: auto; }
.nd-news-empty { color: var(--nd-muted); padding: 18px; border: 1px dashed var(--nd-line); border-radius: var(--nd-radius-sm); }
.nd-news-list-compact .nd-news-v-row.has-img { grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; }
.nd-news-list-compact .nd-news-title { font-size: .98rem; }

/* listaoldal, cikkoldal */
.nd-news-head { --nd-rubric: var(--nd-accent); margin-bottom: 24px; padding-bottom: 14px; border-bottom: 3px solid var(--nd-rubric); }
.nd-news-head h1 { margin: 0; font-size: calc(clamp(2rem, 4vw, 2.8rem) * var(--nd-head-scale)); }
.nd-news-head p { margin: 8px 0 0; color: var(--nd-muted); max-width: 60ch; }
.nd-news-top { margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--nd-line); }
.nd-pager { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 28px; color: var(--nd-muted); }
.nd-pager a { padding: 9px 16px; border: 1px solid var(--nd-line); border-radius: var(--nd-btn-radius); color: var(--nd-ink); text-decoration: none; font-weight: 600; }
.nd-article-head { max-width: 760px; }
.nd-article-head h1 { margin: 6px 0 0; font-size: calc(clamp(2rem, 4.4vw, 3rem) * var(--nd-head-scale)); line-height: 1.08; text-wrap: balance; }
.nd-article-lead { margin: 16px 0 0; font-size: 1.22rem; line-height: 1.5; color: var(--nd-ink); font-weight: 500; }
.nd-article-byline { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--nd-line); font-size: .9rem; color: var(--nd-muted); }
.nd-article-byline strong { color: var(--nd-ink); }
.nd-article-figure { margin: 26px 0; }
.nd-article-figure img { width: 100%; height: auto; display: block; border-radius: var(--nd-radius-sm); }
.nd-article-figure figcaption { margin-top: 8px; font-size: .85rem; color: var(--nd-muted); }
.nd-article-body { max-width: 720px; font-size: 1.06rem; line-height: 1.72; }
.nd-article-body img { border-radius: var(--nd-radius-sm); }
.nd-share { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 30px 0; max-width: 720px; font-size: .9rem; color: var(--nd-muted); }
.nd-share a { padding: 7px 12px; border: 1px solid var(--nd-line); border-radius: var(--nd-btn-radius); text-decoration: none; color: var(--nd-ink); }
.nd-share a:hover { border-color: var(--nd-ink); }
.nd-related { margin-top: 40px; padding-top: 24px; border-top: 3px solid var(--nd-ink); }
.nd-related h2 { margin: 0 0 18px; font-size: 1.25rem; }

/* hírszalag */
.nd-ticker { display: flex; align-items: center; gap: 14px; overflow: hidden; font-size: .92rem; }
.nd-ticker-label { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 3px; background: var(--nd-accent); color: var(--nd-accent-ink); font-weight: 700; }
.nd-ticker-label i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: nd-blink 1.6s ease-in-out infinite; }
@keyframes nd-blink { 50% { opacity: .25; } }
.nd-ticker-track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.nd-ticker-move { display: flex; width: max-content; animation: nd-ticker var(--nd-ticker-dur, 40s) linear infinite; }
.nd-ticker:hover .nd-ticker-move, .nd-ticker:focus-within .nd-ticker-move { animation-play-state: paused; }
.nd-ticker-list { display: flex; list-style: none; margin: 0; padding: 0; }
.nd-ticker-list li { display: flex; gap: 8px; align-items: baseline; padding-right: 36px; white-space: nowrap; }
.nd-ticker-list time { color: var(--nd-muted); font-variant-numeric: tabular-nums; font-size: .9em; }
.nd-ticker-list a { color: var(--nd-ink); text-decoration: none; font-weight: 500; }
.nd-ticker-list a:hover { text-decoration: underline; }
@keyframes nd-ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .nd-ticker-move { animation: none; } .nd-ticker-track { overflow-x: auto; mask-image: none; } .nd-ticker-label i { animation: none; }
}

/* ---------- Elérhetőség modul (alap) ---------- */
.nd-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.nd-contact li { display: flex; gap: 10px; align-items: flex-start; }
.nd-contact .nd-icon { margin-top: 3px; opacity: .8; flex: none; }
.nd-contact-inline { display: flex; flex-wrap: wrap; gap: 6px 20px; }

/* ---------- Menü: felirat-menüpont és lenyíló jelzés ---------- */
.nd-menu-heading { appearance: none; background: none; border: 0; margin: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }
.nd-caret { display: inline-block; width: 7px; height: 7px; margin-left: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .65; transition: transform .2s; }
.nd-menu li.is-open > * > .nd-caret, .nd-menu li.is-open > .nd-menu-heading .nd-caret { transform: translateY(0) rotate(-135deg); }
.nd-menu ul .nd-caret { transform: rotate(-45deg); }

/* ---------- Színezett / gomb menüpontok (Menük → menüpont → Megjelenés) ---------- */
.nd-menu li.nd-mi-colored > a, .nd-menu li.nd-mi-colored > .nd-menu-heading { color: var(--mi-color, inherit) !important; }
.nd-menu li.nd-mi-primary > a, .nd-menu li.nd-mi-primary > .nd-menu-heading,
.nd-menu li.nd-mi-outline > a, .nd-menu li.nd-mi-outline > .nd-menu-heading,
.nd-menu li.nd-mi-custom > a, .nd-menu li.nd-mi-custom > .nd-menu-heading {
  display: inline-flex !important; align-items: center; gap: 6px; border-radius: var(--nd-btn-radius) !important; margin: 4px 0 4px 6px;
  padding: .5em 1em !important; border: 1.5px solid transparent !important; box-shadow: none !important; line-height: 1.2; text-decoration: none; transition: filter .15s, background .15s;
}
.nd-menu li.nd-mi-primary > a, .nd-menu li.nd-mi-primary > .nd-menu-heading { background: var(--nd-accent) !important; color: var(--mi-color, var(--nd-accent-ink)) !important; }
.nd-menu li.nd-mi-outline > a, .nd-menu li.nd-mi-outline > .nd-menu-heading { background: transparent !important; border-color: var(--mi-color, var(--nd-accent)) !important; color: var(--mi-color, var(--nd-accent)) !important; }
.nd-menu li.nd-mi-custom > a, .nd-menu li.nd-mi-custom > .nd-menu-heading { background: var(--mi-bg, var(--nd-accent)) !important; color: var(--mi-color, #fff) !important; }
.nd-menu li.nd-mi-primary > a:hover, .nd-menu li.nd-mi-custom > a:hover, .nd-menu li.nd-mi-primary > .nd-menu-heading:hover, .nd-menu li.nd-mi-custom > .nd-menu-heading:hover { filter: brightness(1.08); }
.nd-menu li.nd-mi-outline > a:hover { background: color-mix(in srgb, var(--mi-color, var(--nd-accent)) 10%, transparent) !important; }
.nd-mi-icon { margin-right: 6px; vertical-align: -3px; }
.nd-mi-primary .nd-mi-icon, .nd-mi-outline .nd-mi-icon, .nd-mi-custom .nd-mi-icon { margin-right: 0; }

/* ---------- Gyorsgombok modul ---------- */
.nd-quick { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.nd-quick-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: var(--nd-btn-radius);
  font: 600 13.5px/1 var(--nd-font-nav); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.nd-quick-md .nd-quick-btn { height: 40px; padding: 0 15px; font-size: 15px; }
.nd-quick-btn.is-icon { width: 34px; padding: 0; }
.nd-quick-md .nd-quick-btn.is-icon { width: 40px; }
.nd-quick-btn.is-filled { background: var(--nd-accent); color: var(--nd-accent-ink); }
.nd-quick-btn.is-filled:hover { filter: brightness(1.08); }
.nd-quick-btn.is-outline { border-color: color-mix(in srgb, currentColor 30%, transparent); color: inherit; }
.nd-quick-btn.is-outline:hover { border-color: var(--nd-accent); color: var(--nd-accent); }
.nd-quick-btn.is-plain { color: inherit; padding: 0 6px; }
.nd-quick-btn.is-plain:hover { color: var(--nd-accent); }

/* Szöveg elem (0.14): cím, hasábok, iniciálé, „Tovább olvasom” */
.nd-align-justify { text-align: justify; }
.nd-text-title { margin: 0 0 .6em; }
.nd-textblock > .nd-text-title:last-child { margin-bottom: 0; }
.nd-textblock > .nd-text :is(h1,h2,h3,h4,h5,h6) { break-after: avoid-column; }
.nd-textblock > .nd-text :is(img,figure,table) { break-inside: avoid-column; }
.nd-dropcap > p:first-of-type::first-letter { float: left; font-size: calc(var(--nd-dc-lines, 3) * 1.18em); line-height: .82; font-weight: 700;
  margin: .06em .12em 0 0; color: var(--nd-dc-color, var(--nd-accent)); font-family: var(--nd-font-head, inherit); }
@supports (initial-letter: 3) {
  .nd-dropcap > p:first-of-type::first-letter { float: none; font-size: inherit; line-height: inherit; margin: 0 .14em 0 0; initial-letter: var(--nd-dc-lines, 3); }
}
.nd-trunc.is-clamped { max-height: calc(var(--nd-trunc-lines, 4) * 1.65em); overflow: hidden;
  -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
@supports (height: 1lh) { .nd-trunc.is-clamped { max-height: calc(var(--nd-trunc-lines, 4) * 1lh); } }
.nd-trunc-btn { margin-top: .75em; padding: 0; border: 0; background: none; color: var(--nd-link, var(--nd-accent)); font: inherit; font-weight: 600; cursor: pointer; }
.nd-trunc-btn:hover { text-decoration: underline; }
.nd-trunc-btn:focus-visible { outline: 2px solid var(--nd-accent); outline-offset: 3px; border-radius: 2px; }
.nd-tone-light .nd-trunc-btn { color: inherit; }
.nd-align-center + .nd-trunc-btn, .nd-align-center ~ .nd-trunc-btn { display: block; margin-inline: auto; }

/* Ikonos blokk: egyedi ikonméret és -szín (0.14) */
.nd-feature .nd-feature-ico-custom { width: var(--nd-ico-box); height: var(--nd-ico-box); }
.nd-feature .nd-feature-ico-custom svg { width: var(--nd-ico-px); height: var(--nd-ico-px); }
.nd-feature .nd-feature-ico-plain.nd-feature-ico-custom { width: auto; height: auto; }

/* Linklista elem (0.14) */
.nd-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--nd-links-gap, 14px); }
.nd-links-h { flex-direction: row; flex-wrap: wrap; column-gap: calc(var(--nd-links-gap, 14px) * 1.6); }
.nd-links-gap-sm { --nd-links-gap: 8px; } .nd-links-gap-md { --nd-links-gap: 14px; } .nd-links-gap-lg { --nd-links-gap: 22px; }
.nd-links-v.nd-align-center { align-items: center; } .nd-links-v.nd-align-right { align-items: flex-end; }
.nd-links-h.nd-align-center { justify-content: center; } .nd-links-h.nd-align-right { justify-content: flex-end; }
.nd-links a, .nd-links-plain { display: inline-flex; align-items: center; gap: .5em; color: var(--nd-ink); font-weight: var(--nd-links-w, 600); text-decoration: none; }
.nd-links a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.nd-links a:focus-visible { outline: 2px solid var(--nd-accent); outline-offset: 3px; border-radius: 2px; }
.nd-links-ico { flex: none; opacity: .85; }

/* Page Builder modul (0.14): a pozíció (pl. lábléc) színeit örökli, amíg a szekciónak nincs saját háttere */
.nd-builder-module { --nd-ink: currentColor; --nd-head-color: currentColor; --nd-muted: color-mix(in srgb, currentColor 78%, transparent);
  --nd-line: color-mix(in srgb, currentColor 22%, transparent); }
.nd-builder-module > .nd-section:not(.nd-has-bg):not([style*="background"]):not([class*="nd-bg-"]) { background: none; }

/* Ikonos blokk (0.14.1): formázott leírás, az ikon / kép külön igazítása, a kép szélessége */
.nd-feature-text { color: var(--nd-muted); line-height: 1.6; }
.nd-feature-text > * + * { margin-top: .6em; }
.nd-feature-text ul, .nd-feature-text ol { margin: 0; padding-left: 1.2em; text-align: left; }
.nd-feature-text a { color: var(--nd-link); }
.nd-feature-media.has-w { max-width: 100%; align-self: var(--nd-feature-mal, auto); }
.nd-feature-al-center .nd-feature-media.has-w { margin-inline: auto; }
.nd-feature-al-right .nd-feature-media.has-w { margin-left: auto; }
.nd-feature-mal-left { --nd-feature-mal: flex-start; } .nd-feature-mal-center { --nd-feature-mal: center; } .nd-feature-mal-right { --nd-feature-mal: flex-end; }
.nd-feature[class*="nd-feature-mal-"] .nd-feature-body > .nd-feature-ico,
.nd-feature[class*="nd-feature-mal-"] .nd-feature-body > .nd-feature-media.has-w { align-self: var(--nd-feature-mal); margin-inline: 0; }
.nd-feature-mal-center .nd-feature-body > .nd-feature-ico, .nd-feature-mal-center .nd-feature-body > .nd-feature-media.has-w { margin-inline: auto !important; }
.nd-feature-mal-right .nd-feature-body > .nd-feature-ico, .nd-feature-mal-right .nd-feature-body > .nd-feature-media.has-w { margin-left: auto !important; }
.nd-feature-row.nd-feature-mal-center > .nd-feature-ico { align-self: center; }
/* Ikonos blokk (0.14.2): a kép szélessége minden képhelynél */
.nd-feature > .nd-feature-media.has-w { align-self: var(--nd-feature-mal, flex-start); }
.nd-feature-al-center > .nd-feature-media.has-w { align-self: var(--nd-feature-mal, center); }
.nd-feature-al-right > .nd-feature-media.has-w { align-self: var(--nd-feature-mal, flex-end); }
.nd-feature.nd-boxed.nd-feature-img-cover > .nd-feature-media.has-w { margin: 22px 26px 0; max-width: calc(100% - 52px); }
.nd-feature-img-left > .nd-feature-media.has-w, .nd-feature-img-right > .nd-feature-media.has-w { flex: 0 0 auto; align-self: flex-start; }
