@font-face{font-family:'Baloo 2';font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/Baloo2-500-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:'Baloo 2';font-style:normal;font-weight:500;font-display:swap;src:url("../fonts/Baloo2-500-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

@font-face{font-family:'Baloo 2';font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/Baloo2-600-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:'Baloo 2';font-style:normal;font-weight:600;font-display:swap;src:url("../fonts/Baloo2-600-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

@font-face{font-family:'Nunito';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Nunito-400-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:'Nunito';font-style:normal;font-weight:400;font-display:swap;src:url("../fonts/Nunito-400-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Nunito-700-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:'Nunito';font-style:normal;font-weight:700;font-display:swap;src:url("../fonts/Nunito-700-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/Nunito-800-latin.woff2") format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

@font-face{font-family:'Nunito';font-style:normal;font-weight:800;font-display:swap;src:url("../fonts/Nunito-800-latin-ext.woff2") format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}


:root{--surface:#fff8f0;--surface-raised:#ffffff;--surface-sand:#fdeedd;--ink:#3a2a24;--ink-muted:#6e5a50;--line:#ecd9c6;--border-strong:#96806f;--coral:#f07a5f;--coral-deep:#c9452f;--on-coral-deep:#ffffff;--coral-tint:#ffe3da;--sun:#f6bd4b;--sun-tint:#fff0c9;--lotus:#f4a6b8;--lotus-deep:#b33a63;--lotus-tint:#fde4ea;--leaf:#8fb996;--leaf-deep:#3f6b4f;--leaf-tint:#e3f0e4;--water:#7cc6c4;--water-deep:#1f6f73;--water-tint:#dff2f1;--night:#3a2a24;--on-night:#fff8f0;--focus:#1f5f8b;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:72px;--space-9:96px;--radius-sm:12px;--radius-md:20px;--radius-lg:32px;--radius-xl:48px;--radius-pill:999px;--shadow-soft:0 6px 20px rgba(120, 70, 40, 0.10);--shadow-lift:0 14px 36px rgba(120, 70, 40, 0.18);--font-display:"Baloo 2", "Nunito", system-ui, sans-serif;--font-body:"Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;}.display-xl{font-family:var(--font-display);font-size:56px;line-height:60px;font-weight:600;}.display-lg{font-family:var(--font-display);font-size:40px;line-height:46px;font-weight:600;}.heading{font-family:var(--font-display);font-size:28px;line-height:34px;font-weight:600;}.subheading{font-family:var(--font-display);font-size:20px;line-height:28px;font-weight:500;}.body-lg{font-family:var(--font-body);font-size:18px;line-height:30px;font-weight:400;}.body{font-family:var(--font-body);font-size:16px;line-height:27px;font-weight:400;}.small{font-family:var(--font-body);font-size:14px;line-height:22px;font-weight:400;}.label{font-family:var(--font-body);font-size:13px;line-height:18px;font-weight:800;letter-spacing:0.08em;}
/* Ebnyelvet beszélünk — komponens stílusok. Az értékek a tokens.css változóiból jönnek.
   Reszponzivitás: az .ebn-page konténer szélességére reagál (container query), nem a böngészőablakra. */
.ebn-page { container-type: inline-size; container-name: page; background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 27px; }
.ebn-page *, .ebn-page *::before, .ebn-page *::after { box-sizing: border-box; }
.ebn-page h1, .ebn-page h2, .ebn-page h3, .ebn-page p, .ebn-page ul, .ebn-page figure, .ebn-page blockquote { margin: 0; padding: 0; }
.ebn-page ul { list-style: none; }
.ebn-page a { color: var(--leaf-deep); }
.ebn-page :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.ebn-icon { flex: none; }

/* Logó */
.ebn-lotus { display: block; flex: none; }
.ebn-logo { display: inline-flex; align-items: center; gap: var(--space-3); }
.ebn-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.ebn-logo-name { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink); white-space: nowrap; }
.ebn-logo-sub { white-space: nowrap; font-size: 13px; color: var(--ink-muted); font-weight: 700; }
.ebn-logo-link { text-decoration: none; display: inline-flex; }

/* Gombok */
.ebn-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 48px; padding: var(--space-3) var(--space-5); border-radius: var(--radius-pill); border: 2px solid transparent; font-family: var(--font-body); font-weight: 800; font-size: 16px; line-height: 22px; text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.ebn-page a.ebn-btn--primary, .ebn-btn--primary { background: var(--coral-deep); color: var(--on-coral-deep); }
.ebn-btn--primary:hover { box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.ebn-page a.ebn-btn--secondary, .ebn-btn--secondary { background: var(--surface-raised); color: var(--leaf-deep); border-color: var(--leaf-deep); }
.ebn-btn--secondary:hover { background: var(--leaf-tint); }
.ebn-page a.ebn-btn--ghost, .ebn-btn--ghost { background: transparent; color: var(--ink); }
.ebn-btn--ghost:hover { background: var(--sun-tint); }

/* Fejléc */
.ebn-header { position: relative; display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); padding: var(--space-4) var(--space-6); background: var(--surface-raised); border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-soft); z-index: 3; }
.ebn-nav { display: flex; flex-wrap: nowrap; gap: var(--space-1); align-items: center; justify-content: flex-end; }
.ebn-page .ebn-nav a { padding: var(--space-2) 10px; border-radius: var(--radius-pill); color: var(--ink); text-decoration: none; font-weight: 800; font-size: 14px; white-space: nowrap; line-height: 22px; }
.ebn-page .ebn-nav a:hover { background: var(--sun-tint); }
.ebn-page .ebn-nav a[aria-current="page"] { background: var(--coral-tint); }
.ebn-menu-btn { display: none; flex: none; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0; border-radius: var(--radius-pill); border: 2px solid var(--border-strong); background: var(--surface-raised); color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 15px; cursor: pointer; }

/* Blokkok közös */
.ebn-blocks { display: flex; flex-direction: column; gap: var(--space-8); padding: var(--space-8) var(--space-6); }
.ebn-block { max-width: 1120px; width: 100%; margin: 0 auto; }
.ebn-eyebrow { color: var(--lotus-deep); text-transform: uppercase; margin-bottom: var(--space-2); }
.ebn-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-5); }

/* Kép / helyőrző */
.ebn-pic { position: relative; overflow: hidden; width: 100%; }
.ebn-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ebn-pic--rounded { border-radius: var(--radius-lg); }
.ebn-pic--tile { border-radius: var(--radius-md); }
.ebn-pic--arch { border-radius: var(--radius-pill) var(--radius-pill) var(--radius-lg) var(--radius-lg); }
.ebn-pic--circle { border-radius: 50%; }
.ebn-pic--blob { border-radius: 58% 42% 52% 48% / 48% 54% 46% 52%; }
.ebn-ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); color: var(--ink-muted); }

/* Hero */
.ebn-hero { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: var(--space-7); }
.ebn-hero-copy { display: flex; flex-direction: column; gap: var(--space-4); }
.ebn-hero-copy .ebn-actions { margin-top: var(--space-2); }

/* Cím */
.ebn-heading { display: flex; flex-direction: column; align-items: flex-start; }
.ebn-heading.is-center { align-items: center; text-align: center; }
.ebn-dots { display: inline-flex; gap: var(--space-2); margin-top: var(--space-3); }
.ebn-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.ebn-dots i:nth-child(2) { background: var(--sun); }
.ebn-dots i:nth-child(3) { background: var(--water); }

/* Szöveg */
.ebn-text { display: flex; flex-direction: column; gap: var(--space-4); }
.ebn-text p { max-width: 720px; }
.ebn-text.is-2col { display: block; column-count: 2; column-gap: var(--space-7); }
.ebn-text.is-2col p { max-width: none; margin-bottom: var(--space-4); break-inside: avoid; }

/* Kép blokk */
.ebn-image figure { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: var(--space-3); align-items: center; }
.ebn-image figcaption { color: var(--ink-muted); text-align: center; }

/* Idézet */
.ebn-page .ebn-quote { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); padding: var(--space-8) var(--space-6); background: var(--lotus-tint); border-radius: var(--radius-xl); max-width: 840px; margin: 0 auto; }
.ebn-quote footer { color: var(--ink-muted); }
.ebn-quote-text { font-size: 24px; line-height: 34px; }

/* Gomb blokk */
.ebn-buttonblock { display: flex; }
.ebn-buttonblock.is-center { justify-content: center; }

/* Kártyák */
.ebn-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--space-5); }
.ebn-card { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-3); padding: var(--space-6); background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); transition: transform .2s ease, box-shadow .2s ease; }
.ebn-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.ebn-card .heading { font-size: 22px; line-height: 28px; overflow-wrap: break-word; hyphens: auto; max-width: 100%; }
.ebn-badge { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; color: var(--ink); }
.ebn-page .ebn-more { margin-top: auto; display: inline-flex; align-items: center; gap: var(--space-2); font-weight: 800; color: var(--leaf-deep); text-decoration: none; padding: var(--space-1) 0; }
.ebn-page .ebn-more:hover { text-decoration: underline; }

/* Galéria */
.ebn-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.ebn-gal-item.is-wide { grid-column: span 2; }

/* Lábléc */
.ebn-footer { background: var(--night); color: var(--on-night); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: var(--space-8) var(--space-6) var(--space-6); }
.ebn-footer-grid { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--space-7); }
.ebn-footer-lead { margin-top: var(--space-3); max-width: 32ch; }
.ebn-footer .label { text-transform: uppercase; color: var(--sun); margin-bottom: var(--space-3); }
.ebn-page .ebn-footer a { color: var(--on-night); }
.ebn-footer li { padding: var(--space-1) 0; }
.ebn-footer-legal { max-width: 1120px; margin: var(--space-7) auto 0; padding-top: var(--space-5); border-top: 1px solid rgba(255, 248, 240, .25); }

/* Builder (admin) */
.ebn-builder { background: var(--surface-sand); border-radius: var(--radius-lg); overflow: hidden; font-family: var(--font-body); color: var(--ink); container-type: inline-size; container-name: builder; }
.ebn-builder *, .ebn-builder *::before, .ebn-builder *::after { box-sizing: border-box; }
.ebn-builder p { margin: 0; }
.ebn-bb-bar { display: flex; flex-wrap: wrap; gap: var(--space-4); align-items: center; justify-content: space-between; padding: var(--space-4) var(--space-5); background: var(--surface-raised); }
.ebn-seg { display: inline-flex; padding: 4px; border-radius: var(--radius-pill); background: var(--surface-sand); }
.ebn-seg button { min-height: 40px; padding: 0 var(--space-4); border: 0; border-radius: var(--radius-pill); background: transparent; color: var(--ink); font-family: var(--font-body); font-weight: 800; font-size: 14px; cursor: pointer; }
.ebn-seg button[aria-pressed="true"] { background: var(--surface-raised); box-shadow: var(--shadow-soft); }
.ebn-bb-body { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: var(--space-4); padding: var(--space-4); align-items: start; }
.ebn-bb-lib, .ebn-bb-set { background: var(--surface-raised); border-radius: var(--radius-md); padding: var(--space-4); }
.ebn-bb-lib .label, .ebn-bb-set .label { text-transform: uppercase; color: var(--lotus-deep); margin-bottom: var(--space-3); }
.ebn-bb-lib { grid-column: 1 / -1; }
.ebn-bb-libgrid { display: grid; grid-template-columns: repeat(8, 1fr); gap: var(--space-2); }
.ebn-bb-libitem { display: flex; flex-direction: column; align-items: center; gap: var(--space-1); padding: var(--space-3) var(--space-1); border: 2px solid var(--line); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-family: var(--font-body); font-weight: 700; font-size: 13px; cursor: pointer; }
.ebn-bb-libitem:hover { background: var(--sun-tint); border-color: var(--sun); }
.ebn-bb-stage { min-width: 0; display: flex; justify-content: center; }
.ebn-bb-canvas { width: 100%; border-radius: var(--radius-lg); overflow: hidden; padding: var(--space-4) 0; transition: max-width .25s ease; }
.ebn-bb-canvas > .ebn-bb-item { margin: var(--space-2) var(--space-4); }
.ebn-bb-item { position: relative; border-radius: var(--radius-lg); outline: 3px dashed transparent; outline-offset: 6px; cursor: pointer; }
.ebn-bb-item:hover { outline-color: var(--border-strong); }
.ebn-bb-item.is-selected { outline: 3px solid var(--focus); }
.ebn-bb-item .ebn-block { padding: var(--space-4) 0; }
.ebn-bb-tools { position: absolute; top: -18px; right: 12px; z-index: 2; display: flex; align-items: center; gap: var(--space-1); padding: 4px 4px 4px var(--space-3); border-radius: var(--radius-pill); background: var(--ink); color: var(--on-night); }
.ebn-bb-tools button { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: var(--on-night); cursor: pointer; }
.ebn-bb-tools button:hover { background: rgba(255, 248, 240, .2); }
.ebn-field { display: flex; flex-direction: column; gap: var(--space-1); margin-top: var(--space-3); }
.ebn-field input, .ebn-field textarea, .ebn-field select { width: 100%; padding: var(--space-3) var(--space-4); border: 2px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface-raised); color: var(--ink); font-family: var(--font-body); font-size: 15px; line-height: 22px; }
.ebn-field label { font-weight: 800; }
.ebn-builder :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
@container builder (max-width: 900px) {
  .ebn-bb-body { grid-template-columns: minmax(0, 1fr); }
  .ebn-bb-libgrid { grid-template-columns: repeat(4, 1fr); }
  .ebn-bb-lib { grid-column: auto; }
  .ebn-bb-set { order: 3; }
}

/* ---- Reszponzív: tablet (≤ 1080px konténer) ---- */
@container page (max-width: 1120px) {
  .ebn-menu-btn { display: inline-flex; }
  .ebn-nav { display: none; position: absolute; top: calc(100% + 8px); left: var(--space-4); right: var(--space-4); flex-direction: column; align-items: stretch; padding: var(--space-3); background: var(--surface-raised); border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); }
  .ebn-header[data-open="true"] .ebn-nav { display: flex; }
  .ebn-page .ebn-nav a { padding: var(--space-3) var(--space-4); }
}
/* ---- Reszponzív: mobil (≤ 720px konténer) ---- */
@container page (max-width: 720px) {
  .ebn-header { padding: var(--space-3) var(--space-4); }
  .ebn-header { gap: var(--space-2); }
  .ebn-logo-link { min-width: 0; flex: 1 1 auto; }
  .ebn-logo { gap: var(--space-2); min-width: 0; }
  .ebn-logo > img { width: 44px; height: auto; flex: none; }
  .ebn-logo-text { min-width: 0; }
  .ebn-logo-name { font-size: 17px; }
  .ebn-logo-sub { font-size: 12px; }
  .ebn-blocks { gap: var(--space-7); padding: var(--space-7) var(--space-4); }
  .ebn-hero { grid-template-columns: 1fr; gap: var(--space-6); }
  .ebn-hero-media { order: -1; max-width: 320px; margin: 0 auto; width: 100%; }
  .display-xl { font-size: 36px; line-height: 42px; }
  .display-lg { font-size: 30px; line-height: 36px; }
  .heading { font-size: 24px; line-height: 30px; }
  .ebn-actions .ebn-btn { width: 100%; }
  .ebn-text.is-2col { column-count: 1; }
  .ebn-gallery { grid-template-columns: repeat(2, 1fr); }
  .ebn-gal-item.is-wide { grid-column: span 2; }
  .ebn-quote { padding: var(--space-7) var(--space-5); border-radius: var(--radius-lg); }
  .ebn-quote-text { font-size: 20px; line-height: 30px; }
  .ebn-footer { padding: var(--space-7) var(--space-4) var(--space-5); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
  .ebn-footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
}

html,body{margin:0;background:var(--surface)}
html{scroll-behavior:smooth}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Képarányok és kép-fókusz */
.ebn-ratio-1x1 { aspect-ratio: 1 / 1; }
.ebn-ratio-4x3 { aspect-ratio: 4 / 3; }
.ebn-pic img.ebn-img-szimat { object-position: 50% 45%; }
/* Kártya jelvény színek */
.ebn-badge--coral { background: var(--coral); }
.ebn-badge--sun { background: var(--sun); }
.ebn-badge--lotus { background: var(--lotus); }
.ebn-badge--leaf { background: var(--leaf); }
.ebn-badge--water { background: var(--water); }
