/* =========================================================
   NetBrain — design system
   Vizuális referencia: aibridgefoundation.org/ai_basics.html
   Kék gradiens hero, fehér oldal, nagy fehér „section-card” panelek
   lágy árnyékkal, bennük világosszürke belső kártyák színes felső
   csíkkal és kis nagybetűs címkékkel (kék / zöld / piros / lila).
   ========================================================= */

/* ---------------------------- Tokens -------------------------------- */
:root {
  color-scheme: light;

  --brand: #0f4c81;          /* elsődleges kék */
  --brand-2: #1d6fb8;        /* gradiens vége, hover */
  --hero-gradient: linear-gradient(135deg, #0f4c81 0%, #1d6fb8 100%);

  --heading: #111111;
  --heading-soft: #1e293b;
  --text: #444444;
  --text-soft: #475569;
  --muted: #64748b;

  --bg: #ffffff;
  --tile: #f8fafc;
  --pill: #f1f5f9;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --blue: #1e40af;   --blue-soft: #dbeafe;
  --green: #047857;  --green-soft: #d1fae5;
  --red: #b91c1c;    --red-soft: #fee2e2;
  --purple: #6d28d9; --purple-soft: #ede9fe;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --shadow-header: 0 0 18px rgba(0, 0, 0, 0.1);
  --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.1);
  --focus-ring: 0 0 0 3px rgba(29, 111, 184, 0.35);

  --container: 1140px;
  --container-narrow: 820px;
}

/* ------------------------------ Reset -------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--brand-2); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand); }
h1, h2, h3, h4, h5, h6 { color: var(--heading); line-height: 1.25; margin: 0 0 0.6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -0.01em; }
h3 { font-size: 1.05rem; }
h4 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 2px; }
/* Kék vagy sötét háttéren fehér fókuszkeret */
.hero :focus-visible, .cta-band :focus-visible, .site-footer :focus-visible, .slogan-inverse :focus-visible { outline-color: #fff; }
/* Csak képernyőolvasónak szóló szöveg */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: 1rem; top: -3rem; z-index: 100; background: var(--brand); color: #fff; padding: .5rem 1rem; border-radius: 6px; }
.skip-link:focus { top: 1rem; color: #fff; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding: 3rem 0; }
.section + .section { padding-top: 0.5rem; }

/* ------------------------------ Header -------------------------------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; box-shadow: var(--shadow-header); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.brand { display: inline-flex; align-items: center; gap: .6rem; color: var(--heading); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; letter-spacing: .01em; }
.brand:hover { color: var(--heading); }
.brand-badge { width: 38px; height: 38px; border-radius: 10px; background: var(--hero-gradient); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.brand-badge img { width: 25px; height: 25px; }

.nav-desktop ul { display: flex; list-style: none; margin: 0; padding: 0; }
.nav-desktop a { display: block; padding: 1.15rem .95rem; color: var(--text); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; }
.nav-desktop li:last-child a { padding-right: 0; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { color: var(--brand-2); }
.nav-desktop a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--brand-2); }

.nav-toggle { display: none; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; border: 0; background: none; color: var(--text); cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.mobile-nav { display: none; }
.mobile-nav ul { list-style: none; margin: 0; padding: .5rem 0; }
.mobile-nav a { display: block; padding: .7rem 1.25rem; color: var(--text); font-size: 1.05rem; font-weight: 500; }
.mobile-nav a[aria-current="page"] { color: var(--brand-2); }
@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-open .mobile-nav { display: block; position: sticky; top: 4rem; z-index: 49; margin: .5rem 1.25rem 0; background: #fff; border-radius: 6px; box-shadow: 0 0 30px rgba(0, 0, 0, 0.1); }
  .mobile-nav .container { padding: 0; }
}

/* ------------------------------ Buttons -------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .9rem 1.8rem; border-radius: 50px; border: 2px solid transparent;
  font: inherit; font-size: 1.05rem; font-weight: 600; line-height: 1.2; cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--hero-gradient); color: #fff; }
.btn-primary:hover { color: #fff; box-shadow: 0 10px 30px rgba(15, 76, 129, 0.3); }
.btn-white { background: #fff; color: var(--brand); }
.btn-white:hover { color: var(--brand); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); }
.btn-outline-white { background: rgba(255, 255, 255, 0.15); color: #fff; border-color: #fff; }
.btn-outline-white:hover { background: #fff; color: var(--brand); }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: 1.75rem; }

/* ------------------------------ Hero -------------------------------- */
.hero { background: var(--hero-gradient); color: #fff; padding: 80px 0; }
.hero h1, .hero h2 { color: #fff; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.hero-eyebrow { font-size: .9rem; text-transform: uppercase; letter-spacing: 2px; opacity: .92; margin-bottom: .6rem; }
.hero-lead { font-size: 1.25rem; font-weight: 300; line-height: 1.6; margin: 0; }
.hero-media { background: #fff; border-radius: 15px; overflow: hidden; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25); aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-compact { padding: 40px 0; }
.hero-inline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .25rem 1.5rem; }
.hero-inline h1 { margin: 0; }
.hero-inline .hero-lead { padding-left: 1.5rem; border-left: 2px solid rgba(255, 255, 255, 0.45); }
@media (max-width: 560px) { .hero-inline .hero-lead { padding-left: 0; border-left: 0; } }
.hero-center { text-align: center; }
.hero-center .hero-lead { margin: 0 auto; }
.hero-center .btn-row { justify-content: center; }
.hero-article { padding: 56px 0; }
.hero-article h1 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); margin: 1rem 0 0; }
.breadcrumb { font-size: .9rem; opacity: .92; margin-bottom: 1rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .25rem .4rem; }
.breadcrumb li + li::before { content: "/"; margin-right: .4rem; opacity: .8; }
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb a:hover { color: #fff; opacity: .8; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 2rem; } }
@media (max-width: 768px) { .hero { padding: 50px 0; } .hero.hero-compact { padding: 32px 0; } .hero h1 { font-size: 2rem; } }

/* Bal oldali csíkok színe: elemenként váltakozik */
.accent-blue { --accent: var(--blue); }
.accent-green { --accent: var(--green); }
.accent-red { --accent: var(--red); }
.accent-purple { --accent: var(--purple); }

/* ------------------------------ Section card & tiles -------------------------------- */
.section-card { background: #fff; border-radius: 20px; padding: 35px; box-shadow: var(--shadow-card); }
.section-title { text-align: center; margin-bottom: 1rem; }
.section-sub { color: var(--text-soft); margin: 0 0 2rem; font-size: 1.05rem; }
.section-sub p:last-child { margin-bottom: 0; }
.section-card > .section-title:last-child { margin-bottom: 0; }
@media (max-width: 768px) { .section-card { padding: 25px 20px; } }

.big-idea { background: var(--tile); border: 1px solid var(--border); border-left: 4px solid var(--accent, var(--brand)); border-radius: 12px; padding: 28px 32px; }
.big-idea h2 { color: var(--heading-soft); font-size: 1.4rem; margin: 0; }
.big-idea p { color: var(--text-soft); font-size: 1.05rem; }
.big-idea p:last-child { margin-bottom: 0; }
.big-idea .intro-more { margin-top: 1rem; }
@media (max-width: 768px) { .big-idea { padding: 22px 20px; } }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.tile { background: var(--tile); border: 1px solid var(--border); border-radius: 12px; padding: 20px; color: var(--text); display: flex; flex-direction: column; }
.tile h3 { font-size: 1rem; color: var(--heading); margin: 0 0 .5rem; }
.tile p { font-size: .9rem; color: var(--muted); margin: 0; }
.tile { --accent: var(--brand-2); }
.tile.top-blue { --accent: var(--blue); }
.tile.top-green { --accent: var(--green); }
.tile.top-red { --accent: var(--red); }
.tile.top-purple { --accent: var(--purple); }
.tile[class*="top-"] { border-top: 3px solid var(--accent); }
.tile[class*="top-"] .tile-num { color: var(--accent); font-size: .85rem; }
.tile-link { transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.tile-link:hover { color: var(--text); transform: translateY(-2px); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-hover); }
.tile-head { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-bottom: .4rem; min-height: 1.4rem; }
.tile-num { font-size: .75rem; font-weight: 700; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.read-more { margin-top: auto; padding-top: .9rem; font-weight: 600; font-size: .92rem; color: var(--brand-2); display: inline-flex; align-items: center; gap: .35rem; }
.read-more svg { width: 16px; height: 16px; transition: transform .2s ease; }
.tile-link:hover .read-more svg { transform: translateX(3px); }
.soon { margin-top: auto !important; padding-top: .9rem; font-size: .85rem !important; }

.tag { display: inline-block; font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 20px; line-height: 1.6; white-space: nowrap; }
.tag.blue { background: var(--blue-soft); color: var(--blue); }
.tag.green { background: var(--green-soft); color: var(--green); }
.tag.red { background: var(--red-soft); color: var(--red); }
.tag.purple { background: var(--purple-soft); color: var(--purple); }
.tag.slate { background: var(--pill); color: #334155; }
.tag-row { display: flex; flex-wrap: wrap; gap: .35rem; }
.pill { display: inline-block; background: var(--pill); color: #334155; font-size: .8rem; font-weight: 500; padding: 4px 12px; border-radius: 20px; border: 1px solid var(--border); }

.icon-badge { width: 2.75rem; height: 2.75rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.icon-badge svg { width: 22px; height: 22px; }
.icon-badge.blue { background: var(--blue-soft); color: var(--blue); }
.icon-badge.green { background: var(--green-soft); color: var(--green); }
.icon-badge.purple { background: var(--purple-soft); color: var(--purple); }

.outcome { display: flex; gap: 12px; align-items: flex-start; }
.outcome svg { width: 22px; height: 22px; flex: none; color: var(--brand); margin-top: 2px; }
.outcome p { font-size: 1.02rem; color: var(--text); }

/* CTA sáv (kék gradiens, lekerekített) */
.cta-band { background: var(--hero-gradient); color: #fff; border-radius: 20px; padding: clamp(1.75rem, 4vw, 2.75rem); box-shadow: var(--shadow-card); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.cta-band h2 { color: #fff; margin: 0 0 .75rem; }
.cta-band p { opacity: .92; font-size: 1.08rem; margin-bottom: .6rem; }
.cta-band p:last-child { margin-bottom: 0; }
.cta-band .btn { flex: none; }
@media (max-width: 760px) { .cta-band { flex-direction: column; align-items: flex-start; } }
.cta-stacked { flex-direction: column; align-items: stretch; }
.cta-stacked > h2 { text-align: center; margin-bottom: .5rem; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem 2.5rem; }
.bullet-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.bullet-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: 1.05rem; line-height: 1.55; }
.bullet-icon { flex: none; width: 1.6rem; height: 1.6rem; margin-top: -.05rem; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: inline-flex; align-items: center; justify-content: center; }
.bullet-icon svg { width: 15px; height: 15px; color: #fff; }
@media (max-width: 760px) { .cta-row { flex-direction: column; align-items: flex-start; } }

/* Szlogen: hangsúlyos, nagy betűs kiemelés */
.slogan { background: var(--tile); border: 1px solid var(--border); border-left: 6px solid var(--accent, var(--brand)); border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 4vw, 2.75rem); }
.slogan p { margin: 0; font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--brand); }
.slogan-inverse { background: var(--hero-gradient); border: 0; text-align: center; }
.slogan-inverse p { color: #fff; font-size: clamp(1.25rem, 2.3vw, 1.75rem); }
@media (min-width: 1000px) { .slogan-inverse p { white-space: nowrap; } }

/* ------------------------------ Főoldal -------------------------------- */
.choice { padding: 24px; }
.choice-intro { margin: 0 0 1.75rem; }
.choice-intro p { font-size: 1.1rem; line-height: 1.7; }
.choice .choice-sub { font-size: 1.08rem; font-weight: 600; color: var(--heading-soft); margin-bottom: .5rem; }
.choice .choice-desc { font-size: .95rem; color: var(--text-soft); margin-bottom: 1rem; }
.choice .tag-row { margin-bottom: .25rem; }
.choice h2 { font-size: 1.35rem; margin: .35rem 0; }
.choice p { font-size: 1.05rem; color: var(--text-soft); }
.choice-media { background: #fff; border: 1px solid var(--border); border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.choice-media img { width: 100%; height: 100%; object-fit: cover; }
.choice-media.contain img, .hero-media img[src$="fejlesztes.jpg"] { object-fit: contain; }
.hero-media:has(img[src$="fejlesztes.jpg"]) { background: #f8fbfe; }
.choice-media.contain { background: #f8fbfe; }

/* Főoldali fejlesztés-kártya: böngészőablak-keret — élénk kék keret, felső sáv három színes ponttal */
.choice-media.frame-browser { flex-direction: column; align-items: stretch; border: 2px solid var(--brand-2); background: #f8fbfe; box-shadow: 0 6px 18px rgba(29, 111, 184, 0.18); }
.choice-media.frame-browser::before {
  content: ""; flex: none; height: 30px; border-bottom: 2px solid var(--brand-2);
  background:
    radial-gradient(circle, #ff4f45 5px, transparent 5.5px) 16px 50% / 12px 12px no-repeat,
    radial-gradient(circle, #ffb800 5px, transparent 5.5px) 36px 50% / 12px 12px no-repeat,
    radial-gradient(circle, #1fc23f 5px, transparent 5.5px) 56px 50% / 12px 12px no-repeat,
    linear-gradient(#e6f0fc, #d6e6fa);
}
.choice-media.frame-browser .frame-core { flex: 1; min-height: 0; overflow: hidden; }
.choice-media .frame-core img { width: 100%; height: 100%; object-fit: contain; }
/* Egér alatt a kártyák képe finoman ránagyít */
.choice-media img { transition: transform .5s ease; }
.choice:hover .choice-media img { transform: scale(1.05); }

/* ------------------------------ Fejlesztés -------------------------------- */
.faq-list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq-item { background: var(--tile); border: 1px solid var(--border); border-radius: 12px; }
.faq-item summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; position: relative; font-weight: 600; color: var(--heading-soft); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; }
.faq-item[open] summary::after { transform: rotate(-135deg); margin-top: -1px; }
.faq-item[open] { border-left: 4px solid var(--accent, var(--brand)); }
.faq-item p { padding: 0 1.25rem 1.1rem; margin: 0; color: var(--text-soft); }

.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.5rem 2.75rem; margin-top: 1.5rem; }
.logo-row img { height: 34px; width: auto; filter: grayscale(1); opacity: .65; transition: filter .3s ease, opacity .3s ease; }
.logo-row img:hover { filter: none; opacity: 1; }

.work-card { padding: 0; overflow: hidden; }
.work-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-bottom: 1px solid var(--border); }
.work-card h3 { padding: 16px 20px 0; font-size: 1.1rem; }
.work-card .tag-row { padding: 0 20px 20px; }

.quote { margin: 0; background: var(--tile); border: 1px solid var(--border); border-left: 4px solid var(--accent, var(--brand)); border-radius: 12px; padding: 22px 24px; }
.quote p { color: var(--text-soft); font-size: 1.02rem; margin-bottom: .6rem; }
.quote cite { font-style: normal; font-weight: 700; color: var(--heading-soft); }

/* ------------------------------ AI oldal -------------------------------- */
.travel { flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.travel p { margin: 0; }
@media (max-width: 680px) { .travel { flex-direction: column; align-items: flex-start; } }

/* ------------------------------ Blog -------------------------------- */
.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 1.75rem; }
.filter-btn { font: inherit; font-size: .85rem; font-weight: 500; padding: 6px 16px; border-radius: 20px; border: 1px solid var(--border); background: var(--pill); color: #334155; cursor: pointer; transition: all .2s ease; }
.filter-btn:hover { border-color: var(--brand-2); color: var(--brand); }
.filter-btn[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
/* Címkeszűrők a kártyákon lévő címkék színeivel */
.filter-btn.blue { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--blue); }
.filter-btn.green { background: var(--green-soft); border-color: var(--green-soft); color: var(--green); }
.filter-btn.red { background: var(--red-soft); border-color: var(--red-soft); color: var(--red); }
.filter-btn.purple { background: var(--purple-soft); border-color: var(--purple-soft); color: var(--purple); }
.filter-btn.slate { background: var(--pill); border-color: var(--border); color: #334155; }
.filter-btn.blue:hover { border-color: var(--blue); }
.filter-btn.green:hover { border-color: var(--green); }
.filter-btn.red:hover { border-color: var(--red); }
.filter-btn.purple:hover { border-color: var(--purple); }
.filter-btn.slate:hover { border-color: #334155; }
.filter-btn.blue[aria-pressed="true"] { background: var(--blue); border-color: var(--blue); color: #fff; }
.filter-btn.green[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.filter-btn.red[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.filter-btn.purple[aria-pressed="true"] { background: var(--purple); border-color: var(--purple); color: #fff; }
.filter-btn.slate[aria-pressed="true"] { background: #334155; border-color: #334155; color: #fff; }

.post-card { flex-direction: row; align-items: flex-start; gap: 1.1rem; padding: 20px; }
.post-thumb { flex: none; width: 112px; height: 112px; background: #fff; border: 1px solid var(--border); border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 4px; }
.post-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 6px; }
.post-text { display: flex; flex-direction: column; gap: .5rem; min-width: 0; align-self: stretch; }
.post-card h2 { font-size: 1rem; line-height: 1.4; margin: 0; letter-spacing: 0; }
.post-card p { font-size: .88rem; color: var(--muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post-card .read-more { padding-top: .25rem; }
.ai-article { padding: 16px 20px; }
.ai-article h3 { margin-bottom: .25rem; }
.ai-article .read-more { padding-top: .5rem; }
.travel .read-more { margin-top: 0; padding-top: 0; flex: none; }
@media (max-width: 420px) { .post-card { flex-direction: column; } .post-thumb { width: 96px; height: 96px; } }
.post-card.is-hidden { display: none; }

.post-body-content { margin-top: 1.5rem; color: var(--text); overflow-wrap: anywhere; }
.post-body-content h2, .post-body-content h3, .post-body-content h4 { color: var(--heading-soft); margin-top: 2rem; }
.post-body-content > :first-child { margin-top: 0; }
.post-body-content h2 { font-size: 1.3rem; letter-spacing: -0.01em; }
.post-body-content ul { padding-left: 1.4rem; }
.post-body-content li { margin-bottom: .25rem; }
.post-body-content p, .post-body-content li { font-size: 1.05rem; line-height: 1.75; }
.post-body-content .lead { font-size: 1.1rem; font-weight: 600; color: var(--heading-soft); }
.post-body-content figure { margin: 1.75rem 0; }
.post-body-content figure img { border-radius: 12px; border: 1px solid var(--border); margin: 0 auto; }
/* Négyzetes cikkképek egységes méretben, kattintásra teljes méretben nyílnak */
.post-body-content figure img.square { width: min(100%, 520px); height: auto; aspect-ratio: 1 / 1; object-fit: contain; background: #fff; cursor: zoom-in; }
.post-body-content .callout { margin: 1.5rem 0; padding: 18px 22px; background: var(--tile); border: 1px solid var(--border); border-left: 4px solid var(--accent, var(--brand)); border-radius: 12px; }
.post-body-content .callout p:last-child { margin-bottom: 0; }
.post-body-content .icon-75 { height: 56px; width: auto; display: inline-block; margin-right: .75rem; }
.post-body-content .icon-row { display: flex; align-items: center; margin-top: 2rem; }
.post-body-content .icon-row h2 { margin: 0; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.article-nav .tile { gap: .3rem; color: var(--heading-soft); font-weight: 600; font-size: .95rem; }
.article-nav .tile:hover { border-color: var(--brand-2); color: var(--brand); }
.article-nav .align-right { text-align: right; }
@media (max-width: 680px) { .article-nav { grid-template-columns: 1fr; } .article-nav .align-right { text-align: left; } }

/* ------------------------------ Kapcsolat -------------------------------- */
.form-grid { display: grid; gap: 1rem; }
.form-grid.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 760px) { .form-grid.three { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--heading-soft); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--heading-soft); background: var(--tile); border: 1px solid #7c8ca2; border-radius: 10px; padding: .75rem .95rem; }
.field input:focus, .field textarea:focus { outline: 3px solid var(--brand-2); outline-offset: 1px; background: #fff; border-color: var(--brand-2); }
.form-required-note { font-size: .9rem; color: var(--muted); margin: 0 0 .25rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.req { color: var(--red); }
.field-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.field-check input { width: 1.1rem; height: 1.1rem; margin-top: .25rem; accent-color: var(--brand); flex: none; }
.form-status { margin: 1rem 0 0; font-weight: 600; min-height: 1.5em; }
.form-status.success { color: var(--green); }
.form-status.error { color: var(--red); }
.form-note { font-size: .9rem; color: var(--muted); margin: .25rem 0 0; text-align: center; }

/* ------------------------------ Footer -------------------------------- */
.site-footer { background: var(--text); color: rgba(255, 255, 255, 0.8); font-size: .9rem; margin-top: 3rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; padding-top: 50px; padding-bottom: 30px; }
.footer-title { font-size: 1rem; font-weight: 700; color: #fff; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.footer-grid a { color: rgba(255, 255, 255, 0.75); }
.footer-grid a:hover { color: #fff; }
.footer-brand .brand { font-size: 1.35rem; color: #fff; }
.footer-brand p { margin: 1rem 0; }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.5); display: inline-flex; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.8); transition: all .3s ease; }
.footer-social a:hover { color: #fff; border-color: #fff; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.15); padding: 25px 0; text-align: center; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------ Motion -------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Megjelenési dátum a cikkeken és a blogkártyákon */
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.article-meta time { font-size: .9rem; opacity: .85; }
.post-date { font-size: .78rem; color: var(--muted); margin-left: auto; align-self: center; }

/* Cikk alatti ajánló kártya */
.article-cta { margin-top: 1.5rem; }
.article-cta h2 { font-size: 1.35rem; }
.cta-actions { display: flex; flex-direction: column; gap: .6rem; flex: none; }
.cta-actions .btn { justify-content: center; }
@media (max-width: 760px) { .cta-actions { width: 100%; } }

/* ------------------------------ AI landing (ai-alapok.html) -------------------------------- */
.lp-header .btn { padding: .6rem 1.2rem; font-size: .92rem; }
.lp-header .brand { text-transform: none; }
.lp-emoji { font-size: 1.7rem; line-height: 1; margin-bottom: .75rem; }
.lp-center { text-align: center; }
.lp-note { margin-top: 1.5rem; text-align: center; font-weight: 600; color: var(--heading-soft); }
.lp-more { display: inline-flex; margin-top: 1.25rem; font-weight: 600; }
.lp-points { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.lp-points li { display: flex; gap: .6rem; align-items: flex-start; font-size: 1.05rem; color: var(--heading-soft); }
.lp-points .mark { flex: none; width: 1.5rem; height: 1.5rem; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; margin-top: .1rem; }
.mark.yes { background: var(--green-soft); color: var(--green); }
.mark.no { background: var(--red-soft); color: var(--red); }
.mark.arrow { background: var(--blue-soft); color: var(--blue); }
.tile .lp-label { font-weight: 700; color: var(--heading-soft); margin-bottom: .25rem; }
.lp-benefit { flex-direction: row; align-items: center; gap: .9rem; }
.lp-benefit .lp-emoji { margin: 0; }
.lp-benefit p { color: var(--heading-soft); font-weight: 600; font-size: .98rem; }
.lp-visual { align-items: center; justify-content: center; text-align: center; }
.lp-visual .lp-emoji { font-size: 2.6rem; }
.lp-visual h3 { font-size: 1.2rem; }
.lp-price { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; }
.lp-price-tag { font-size: 2.6rem; font-weight: 800; color: var(--brand); line-height: 1; }
.lp-price-label { font-size: .75rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: .35rem; }
.lp-offer { max-width: 760px; margin: 0 auto; }
.lp-offer .btn-row { justify-content: center; }

/* Lenyíló modulleírások (natív details) */
.acc { background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-top: 1rem; }
.acc > summary { list-style: none; cursor: pointer; padding: 1rem 3rem 1rem 1.25rem; position: relative; font-weight: 700; color: var(--heading-soft); }
.acc > summary::-webkit-details-marker { display: none; }
.acc > summary::after { content: ""; position: absolute; right: 1.25rem; top: 50%; width: 9px; height: 9px; margin-top: -6px; border-right: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(45deg); transition: transform .2s ease; }
.acc[open] > summary::after { transform: rotate(-135deg); margin-top: -1px; }
.acc-body { padding: 0 1.25rem 1.25rem; }
.acc-body > p { color: var(--text-soft); margin-bottom: .75rem; }
.acc .acc { margin-top: .6rem; background: var(--tile); }
.acc .acc[open] { border-left: 4px solid var(--accent, var(--brand)); }
.acc .acc > summary { font-weight: 600; }
.acc .acc ul { margin: 0; padding-left: 1.3rem; color: var(--text-soft); }
.acc .acc li { margin-bottom: .3rem; }
.cta-band .acc { color: var(--text); text-align: left; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-2); margin: 0 0 .6rem; }
.site-footer .footer-bottom a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }
.site-footer .footer-bottom a:hover { color: var(--sky, #a1c3e9); }
@media (max-width: 420px) {
  .lp-header .brand { font-size: 1.1rem; gap: .45rem; }
  .lp-header .brand-badge { width: 32px; height: 32px; }
  .lp-header .btn { padding: .5rem .85rem; font-size: .82rem; }
}
/* AI landing – 2. kör */
.lp-hero-media { aspect-ratio: auto; max-width: 460px; justify-self: center; }
.lp-hero-media img { height: auto; object-fit: contain; }
.big-idea .eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--brand-2); margin: 0 0 .6rem; }
.lp-highlight { margin: 1.5rem 0 0; padding: 1.1rem 1.5rem; border-radius: 14px; background: #e6f0fc; border: 1px solid #c4d9f3; color: var(--brand); text-align: center; font-size: 1.15rem; font-weight: 700; line-height: 1.5; }
.lp-highlight-sm { font-size: 1rem; padding: .85rem 1.1rem; margin-top: 1rem; }
.lp-stack { display: flex; flex-direction: column; gap: 1rem; }
.lp-stack .lp-visual { flex: 1; }
.tile p.lp-highlight { color: var(--brand); font-size: 1rem; }
.tile.lp-price { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: flex-start; gap: 1rem 2.5rem; text-align: left; }
.tile.lp-price p { font-size: 1rem; }
.mark.plus { background: var(--purple-soft); color: var(--purple); font-size: 1rem; }
