/* Bluechip Magazine — Main CSS (az eredeti dizájn alapján, PHP-integrált verzió) */

:root {
  --bg: #f3f5f8;
  --surface: #ffffff;
  --surface-2: #eef2f7;
  --surface-dark: #0b1018;
  --line: #d8deea;
  --line-strong: #aebad2;
  --text: #121722;
  --text-soft: #5d697d;
  --text-inverse: #f4f7fb;
  --primary: #1758ff;
  --primary-dark: #0f3fb8;
  --black: #000000;
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 8px 24px rgba(10, 20, 38, .06);
  --shadow-md: 0 18px 48px rgba(14, 30, 58, .09);
  --container: 1380px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Barlow', sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(23,88,255,.03), transparent 180px),
    var(--bg);
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.site-shell {
  min-height: 100vh;
  position: relative;
  overflow-x: clip;
}
.site-shell::before,
.site-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}
.site-shell::before {
  top: -24px;
  right: -120px;
  width: 320px;
  height: 440px;
  background: linear-gradient(180deg, rgba(23,88,255,.12), rgba(23,88,255,.01) 72%, rgba(23,88,255,0));
  clip-path: polygon(20% 0, 100% 0, 100% 86%, 0 100%);
}
.site-shell::after {
  left: -80px;
  bottom: 10vh;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(23,88,255,.14);
  transform: rotate(18deg);
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ── Utility bar ─────────────────────────────────────────────────────── */
.utility-bar {
  background: var(--surface-dark);
  color: rgba(244,247,251,.82);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.utility-bar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.utility-bar__left,
.utility-bar__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.utility-bar a:hover { color: var(--text-inverse); }
.utility-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
}

/* ── Header ──────────────────────────────────────────────────────────── */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.88);
  border-bottom: 1px solid rgba(174,186,210,.45);
}
.header__inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 210px;
}
.brand img.brand__logo {
  height: 36px;
  width: auto;
  object-fit: contain;
  display: block;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}
.main-nav a {
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-soft);
  border-radius: 999px;
  transition: .2s ease;
}
.main-nav a:hover,
.main-nav a.is-active {
  color: var(--text);
  background: rgba(23,88,255,.06);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button,
.burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--surface);
}
.icon-button svg {
  width: 18px;
  height: 18px;
}
.burger { display: none; flex-direction: column; gap: 4px; background: none; cursor: pointer; }
.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  display: block;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  padding: 0 18px;
  font-weight: 700;
  transition: .22s ease;
  border: 1px solid transparent;
  cursor: pointer;
}
.button--primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 10px 24px rgba(23,88,255,.24);
}
.button--primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.button--ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.button--ghost:hover { background: rgba(23,88,255,.05); border-color: var(--primary); }
.button--sm { min-height: 36px; padding: 0 14px; font-size: 13px; border-radius: 10px; }
.text-link { color: var(--primary); font-weight: 700; }

/* ── Panel ───────────────────────────────────────────────────────────── */
.panel {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(174,186,210,.42);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.panel--dark {
  background:
    linear-gradient(145deg, rgba(23,88,255,.12), transparent 46%),
    var(--surface-dark);
  color: var(--text-inverse);
  border-color: rgba(255,255,255,.08);
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { padding: 34px 0 28px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 22px;
  align-items: stretch;
}
.hero__copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 480px;
}
.eyebrow {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 18px;
}
.panel--dark .eyebrow { color: #8bb0ff; }
.hero__copy h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.hero__copy p {
  color: rgba(244,247,251,.82);
  font-size: 17px;
  line-height: 1.72;
}
.hero__meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(244,247,251,.72);
}
.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: 1.1fr .9fr;
}
.hero-card__body { padding: 24px; }
.hero-card__body h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: .98;
  margin: 14px 0 12px;
}
.hero-card__body p { color: var(--text-soft); font-size: 16px; line-height: 1.68; }

/* ── Media Frame ─────────────────────────────────────────────────────── */
.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
  background: linear-gradient(180deg, rgba(23,88,255,.1), rgba(23,88,255,.02));
}
.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: inherit;
  pointer-events: none;
}
.media-frame img { aspect-ratio: 16 / 10; }
.media-frame--compact img { aspect-ratio: 16 / 9; }
.media-frame--square img { aspect-ratio: 1 / 1; }

/* ── Tags & Chips ────────────────────────────────────────────────────── */
.tag-row,
.story-card__topline,
.sidebar-title-row,
.section-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.tag-row { justify-content: flex-start; flex-wrap: wrap; }
.tag,
.chip,
.share-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  border-radius: 999px;
  padding: 0 14px;
  border: 1px solid rgba(23,88,255,.16);
  background: rgba(23,88,255,.08);
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.tag--outline {
  color: var(--text-soft);
  background: transparent;
  border-color: var(--line);
}

/* ── Strip / Category Tabs ───────────────────────────────────────────── */
.strip { padding: 0 0 26px; }
.strip__inner { display: flex; gap: 10px; flex-wrap: wrap; }
.chip {
  cursor: pointer;
  color: var(--text);
  background: rgba(255,255,255,.78);
  border-color: rgba(174,186,210,.56);
  border: none;
}
.chip.is-active,
.chip:hover,
.share-pill:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

/* ── Section ─────────────────────────────────────────────────────────── */
.section { padding-bottom: 42px; }
.section__header {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: end;
  margin-bottom: 22px;
}
.section__header h2,
.deep-dive h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(32px, 4vw, 50px);
  line-height: .98;
  margin: 0;
}
.section__lead {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.72;
}

/* ── Content Grid ────────────────────────────────────────────────────── */
.feature-stack { display: grid; gap: 22px; }

/* ── Story Cards ─────────────────────────────────────────────────────── */
.story-card {
  overflow: hidden;
  transition: .24s ease;
}
.story-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.story-card__link { display: block; }
.story-card--xl { padding: 20px; }
.story-card--xl .story-card__link {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
  align-items: center;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.story-card__content { padding: 20px; }
.story-card__topline span:last-child {
  color: var(--text-soft);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.story-card h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  margin: 14px 0 10px;
}
.story-card__content p { color: var(--text-soft); font-size: 15px; line-height: 1.6; }

/* ── Deep Dive ───────────────────────────────────────────────────────── */
.deep-dive { padding: 26px; }
.bullet-columns {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.bullet-columns > div {
  background: linear-gradient(180deg, rgba(23,88,255,.05), rgba(255,255,255,.76));
  border: 1px solid rgba(174,186,210,.46);
  border-radius: var(--radius-md);
  padding: 20px;
}
.bullet-columns h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  line-height: 1;
  margin: 0 0 10px;
}
.bullet-columns p { color: var(--text-soft); font-size: 15px; line-height: 1.65; }

/* ── Sidebar ─────────────────────────────────────────────────────────── */
.sidebar-block { padding: 18px; }
.sidebar-title-row h3 {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  line-height: 1;
}
.sidebar-kicker {
  color: var(--text-soft);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* ── Product Mini ────────────────────────────────────────────────────── */
.product-mini-list,
.mini-story-list { display: grid; gap: 12px; margin-top: 16px; }
.product-mini {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 12px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(174,186,210,.42);
  background: rgba(255,255,255,.72);
  transition: .22s ease;
}
.product-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.product-mini strong { display: block; font-size: 14px; margin-bottom: 2px; }
.product-mini span { color: var(--text-soft); font-size: 12px; line-height: 1.4; }
.product-mini .label-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  background: rgba(23,88,255,.08);
  border-radius: 6px;
  padding: 2px 7px;
  margin-top: 4px;
}

/* ── Mini Story List ─────────────────────────────────────────────────── */
.mini-story-list a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(174,186,210,.42);
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
  transition: .18s;
}
.mini-story-list a:last-child { border-bottom: 0; }
.mini-story-list a:hover { color: var(--primary); }

/* ── Social Wall ─────────────────────────────────────────────────────── */
.feed-card {
  margin-top: 14px;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(174,186,210,.42);
  background: linear-gradient(180deg, rgba(23,88,255,.04), rgba(255,255,255,.84));
  transition: .22s ease;
}
.feed-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.feed-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.feed-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}
.feed-icon--insta {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.feed-card strong { display: block; font-size: 14px; }
.feed-card span { color: var(--text-soft); font-size: 12px; }
.feed-card p { color: var(--text-soft); font-size: 14px; line-height: 1.6; margin-top: 0; }
.feed-note {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.5;
  margin-top: 12px;
  font-style: italic;
}

.insta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}
.insta-tile {
  border-radius: 14px;
  overflow: hidden;
  transition: .22s ease;
}
.insta-tile:hover { transform: scale(1.03); }

/* ── Article Page ────────────────────────────────────────────────────── */
.article-page { padding-bottom: 60px; }
.article-hero { padding: 34px 0 20px; }
.article-hero__inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 22px;
  align-items: stretch;
}
.article-hero__copy { padding: 28px; align-self: center; }
.article-hero__copy h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  line-height: .92;
  letter-spacing: -.02em;
  margin: 0 0 18px;
}
.article-hero__lead {
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.72;
}
.article-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 22px;
  align-items: start;
}
.article-content {
  padding: 28px;
  background: rgba(255,255,255,.94);
}
.article-content h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: .98;
  margin: 28px 0 16px;
}
.article-content h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(22px, 2.5vw, 32px);
  line-height: 1;
  margin: 22px 0 12px;
}
.article-content p {
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.78;
  margin: 0 0 16px;
}
.article-intro {
  font-size: 21px !important;
  line-height: 1.7 !important;
  color: var(--text) !important;
  margin-bottom: 28px !important;
}
.article-quote {
  margin: 28px 0;
  padding: 20px 22px;
  border-left: 4px solid var(--primary);
  background: linear-gradient(180deg, rgba(23,88,255,.05), rgba(23,88,255,.01));
  border-radius: 0 18px 18px 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 30px;
  line-height: 1.1;
  color: var(--text);
}
.article-mid { margin: 28px 0; }
.article-mid img,
.article-hero__media img { aspect-ratio: 16 / 10; }
figcaption { padding-top: 10px; color: var(--text-soft); font-size: 13px; line-height: 1.5; }
.info-box {
  margin: 28px 0;
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(23,88,255,.08), rgba(255,255,255,.86));
  border: 1px solid rgba(174,186,210,.5);
}
.info-box h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 26px; margin: 0 0 12px; }
.info-box ul { margin: 0; padding-left: 20px; }
.info-box li { color: var(--text-soft); font-size: 16px; line-height: 1.7; margin: 6px 0; }

/* AEO FAQ Box */
.aeo-faq {
  margin: 32px 0;
  border-radius: 22px;
  border: 1px solid rgba(174,186,210,.5);
  overflow: hidden;
}
.aeo-faq__title {
  background: var(--surface-dark);
  color: var(--text-inverse);
  padding: 16px 22px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  letter-spacing: .04em;
}
.aeo-item {
  border-bottom: 1px solid rgba(174,186,210,.4);
  padding: 18px 22px;
  background: rgba(255,255,255,.86);
}
.aeo-item:last-child { border-bottom: 0; }
.aeo-item__q {
  font-weight: 700;
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 8px;
}
.aeo-item__a {
  color: var(--text-soft);
  font-size: 15px;
  line-height: 1.65;
}

/* Image gallery */
.article-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.article-gallery .media-frame img { aspect-ratio: 16/9; }

.article-bottom-cta {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.article-sidebar__sticky {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 18px;
}
.article-share-inline { flex-wrap: wrap; }
.share-pill {
  cursor: pointer;
  background: rgba(255,255,255,.08);
  color: rgba(244,247,251,.88);
  border-color: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.18);
}

/* ── Search ──────────────────────────────────────────────────────────── */

/* ═══════════════════════════════════════════════════════════════════
   SEARCH — Inline expand, balra animálva
   ═══════════════════════════════════════════════════════════════════ */

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Fontos: relative hogy a kereső belül maradjon */
  position: relative;
}

/* A kereső konténer: a nagyítóikont tartja + az input mögötte nő */
.search-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  /* A max-width animáció alapja */
  max-width: 44px;
  transition: max-width .38s cubic-bezier(.4, 0, .2, 1);
  overflow: hidden;
}

/* Nyitott állapot: teljes szélességű input */
.search-wrap.is-open {
  max-width: 340px;
}

/* Az input maga — alapesetben 0 szélességű, nyitáskor kinyílik */
.search-inline-input {
  width: 260px;
  height: 44px;
  border: 1.5px solid var(--line);
  border-right: none;
  border-radius: 14px 0 0 14px;
  padding: 0 16px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--surface);
  outline: none;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition:
    opacity .28s ease .05s,
    transform .32s cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  /* Helyes tab-sorrend kezelés */
  tabindex: -1;
}

.search-wrap.is-open .search-inline-input {
  opacity: 1;
  transform: scaleX(1);
  pointer-events: all;
}

.search-inline-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23, 88, 255, .1);
}

/* A kereső gomb / nagyítóikon */
.search-toggle-btn {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 0 14px 14px 0;
  border: 1.5px solid var(--line);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, border-color .2s, border-radius .38s cubic-bezier(.4,0,.2,1);
  position: relative;
  z-index: 2;
}

/* Zárt állapotban: kerek teljes gomb */
.search-wrap:not(.is-open) .search-toggle-btn {
  border-radius: 14px;
}

/* Nyitott állapot: aktív stílus */
.search-wrap.is-open .search-toggle-btn {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  border-radius: 0 14px 14px 0;
}

.search-toggle-btn svg {
  width: 18px;
  height: 18px;
  transition: transform .3s ease;
}

/* Ikon fordul nyitáskor (enyhe rotate) */
.search-wrap.is-open .search-toggle-btn svg {
  transform: rotate(90deg) scale(.9);
}

.search-toggle-btn:hover:not(.search-wrap.is-open .search-toggle-btn) {
  background: rgba(23, 88, 255, .06);
  border-color: var(--primary);
}

/* Live suggestions dropdown */
.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 340px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(14, 30, 58, .14);
  z-index: 200;
  overflow: hidden;
  display: none;
}

.search-suggestions.is-visible {
  display: block;
  animation: suggestIn .18s cubic-bezier(.4,0,.2,1);
}

@keyframes suggestIn {
  from { opacity: 0; transform: translateY(-8px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.search-suggestions__section {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.search-suggestions__section:last-child { border-bottom: 0; }

.search-suggestions__label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-soft);
  padding: 6px 16px 4px;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 16px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: background .12s;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.search-suggestion-item:hover,
.search-suggestion-item.is-focused {
  background: rgba(23, 88, 255, .05);
  color: var(--primary);
}
.search-suggestion-item .sug-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(23, 88, 255, .08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary);
}
.search-suggestion-item .sug-tag {
  font-weight: 700;
  color: var(--primary);
}
.search-suggestion-item .sug-meta {
  font-size: 11px;
  color: var(--text-soft);
  margin-left: auto;
}

/* Highlight a találatban */
.search-suggestion-item mark {
  background: rgba(23, 88, 255, .15);
  color: var(--primary);
  border-radius: 3px;
  padding: 0 2px;
  font-style: normal;
}

/* ── Utility bar kék stílus ─────────────────────────────────────── */
.utility-bar--blue {
  background: var(--primary) !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  color: rgba(255,255,255,.92) !important;
}
.utility-bar--blue .utility-bar__left,
.utility-bar--blue .utility-bar__right { color: rgba(255,255,255,.92); }
.utility-bar--blue a { color: rgba(255,255,255,.85); font-weight: 600; }
.utility-bar--blue a:hover { color: #fff; }
.utility-bar--blue .utility-dot { background: rgba(255,255,255,.5); }

/* ── Hashtag nav ────────────────────────────────────────────────── */
.main-nav a.nav-all { font-weight: 700; color: var(--text); }
.main-nav a.is-active {
  background: rgba(23,88,255,.1);
  color: var(--primary);
  border-radius: 999px;
}

/* ── Hero featured cikk ─────────────────────────────────────────── */
.hero-featured {
  cursor: pointer;
  transition: .24s ease;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.hero-featured:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hero-featured:hover img { transform: scale(1.03); }

/* ── Megosztás gombsor ──────────────────────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.share-bar--bottom {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.share-bar__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: .18s ease;
  font-family: inherit;
}
.share-btn--fb   { background: #1877F2; color: #fff; }
.share-btn--fb:hover { background: #1565d8; }
.share-btn--li   { background: #0A66C2; color: #fff; }
.share-btn--li:hover { background: #084ea0; }
.share-btn--tw   { background: #000; color: #fff; }
.share-btn--tw:hover { background: #222; }
.share-btn--copy { background: transparent; border-color: var(--line); color: var(--text); }
.share-btn--copy:hover { border-color: var(--primary); color: var(--primary); background: rgba(23,88,255,.05); }
.share-btn--copy.copied { background: rgba(22,163,74,.1); border-color: #16a34a; color: #15803d; }

/* ── AEO FAQ accordion ──────────────────────────────────────────── */
.aeo-faq {
  margin: 32px 0;
  border-radius: 18px;
  border: 1px solid var(--line);
  overflow: hidden;
}
.aeo-faq__title {
  background: var(--surface-dark);
  color: var(--text-inverse);
  padding: 14px 20px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
}
.aeo-item { border-bottom: 1px solid var(--line); background: var(--surface); }
.aeo-item:last-child { border-bottom: 0; }
.aeo-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.aeo-item__q:hover { background: rgba(23,88,255,.04); }
.aeo-item__q[aria-expanded="true"] { color: var(--primary); }
.aeo-item__q[aria-expanded="true"] .aeo-chevron { transform: rotate(180deg); }
.aeo-chevron { flex-shrink: 0; transition: transform .22s ease; color: var(--text-soft); }
.aeo-item__a {
  padding: 0 20px 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ── Breadcrumb ─────────────────────────────────────────────────── */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.article-breadcrumb a { color: var(--primary); font-weight: 600; }
.article-breadcrumb a:hover { text-decoration: underline; }

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .search-wrap.is-open { max-width: 260px; }
  .search-inline-input { width: 180px; }
  .search-suggestions  { width: 280px; }
}
@media (max-width: 560px) {
  .share-bar { gap: 6px; }
  .share-btn  { padding: 0 10px; font-size: 12px; height: 32px; }
  .share-bar__label { width: 100%; }
  .search-wrap.is-open { max-width: 220px; }
  .search-inline-input { width: 140px; }
  .search-suggestions  { width: calc(100vw - 32px); right: -16px; }
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL FEED — JSON alapú, adminból szerkeszthető
   ═══════════════════════════════════════════════════════════════════ */

/* ── Rácsosan 4 kép ─────────────────────────────────────────────── */
.social-feed-block { padding: 18px; }

.social-feed-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 14px 0 12px;
}

.social-feed-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease;
}
.social-feed-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  z-index: 1;
}

.social-feed-item__img {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1/1;
}
.social-feed-item__img img {
  aspect-ratio: 1/1;
}

.social-feed-item__placeholder {
  aspect-ratio: 1/1;
  background: var(--surface-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

/* Caption tooltip on hover */
.social-feed-item__caption {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  color: #fff;
  font-size: 11px;
  line-height: 1.4;
  padding: 16px 8px 8px;
  opacity: 0;
  transition: opacity .2s;
  border-radius: 0 0 12px 12px;
}
.social-feed-item:hover .social-feed-item__caption { opacity: 1; }

/* ── Follow gomb ────────────────────────────────────────────────── */
.social-follow-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 38px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
  margin-top: 4px;
}
.social-follow-btn--fb {
  background: rgba(24,119,242,.1);
  color: #1877F2;
  border: 1.5px solid rgba(24,119,242,.2);
}
.social-follow-btn--fb:hover {
  background: #1877F2;
  color: #fff;
  border-color: #1877F2;
}
.social-follow-btn--ig {
  background: rgba(225,48,108,.08);
  color: #E1306C;
  border: 1.5px solid rgba(225,48,108,.18);
}
.social-follow-btn--ig:hover {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  border-color: transparent;
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL FEED — Post card layout (nem rács!)
   ═══════════════════════════════════════════════════════════════════ */

.sf-block { padding: 18px; }

.sf-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  text-decoration: none;
  transition: .18s;
}
.sf-follow-link--fb {
  background: rgba(24,119,242,.1);
  color: #1877F2;
}
.sf-follow-link--fb:hover { background: #1877F2; color: #fff; }
.sf-follow-link--ig {
  background: rgba(220,39,67,.08);
  color: #dc2743;
}
.sf-follow-link--ig:hover {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743);
  color: #fff;
}

/* Platform ikon a badge-ben */
.sf-platform-icon--fb { color: #1877F2; }
.sf-platform-icon--ig { color: #dc2743; }

/* Posztok konténer */
.sf-posts {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

/* Egyedi poszt kártya */
.sf-post {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid rgba(174,186,210,.38);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,.7);
  transition: transform .22s ease, box-shadow .22s ease;
}
.sf-post:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(14,30,58,.1);
}

/* Kép — 16:9 arány, nem négyzet, nem hatalmas */
.sf-post__img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}
.sf-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.sf-post:hover .sf-post__img img { transform: scale(1.04); }

/* Platform badge a képen */
.sf-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.22);
  backdrop-filter: blur(4px);
}
.sf-badge--fb {
  background: #1877F2;
  color: #fff;
}
.sf-badge--ig {
  background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366);
  color: #fff;
}
.sf-badge svg { display: block; }

/* Szöveg rész */
.sf-post__body {
  padding: 12px 14px 10px;
}
.sf-post__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-soft);
  margin: 0 0 8px;
  /* Max 3 sor, többi vágva */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-post__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.sf-post__cta {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
}

/* Üres állapot */
.sf-empty {
  font-size: 13px;
  color: var(--text-soft);
  padding: 16px 0 4px;
  margin: 0;
}

/* ── Admin: social feed slot ─────────────────────────────────────── */
.sf-slot {
  border-radius: 12px;
  padding: 14px;
  background: rgba(243,245,248,.5);
  transition: background .15s;
}
.sf-slot:hover { background: rgba(23,88,255,.03); }
.sf-slot__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.sf-slot__num {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-soft);
}

/* ═══════════════════════════════════════════════════════════════════
   SOCIAL FEED — Kép + szöveg layout, platform badge-del
   ═══════════════════════════════════════════════════════════════════ */

.sf-block { padding: 16px 18px; }

.sf-follow-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 5px 10px;
  border-radius: 999px;
  transition: .18s;
  text-decoration: none;
}
.sf-follow-link--fb {
  background: rgba(24,119,242,.1);
  color: #1877F2;
}
.sf-follow-link--fb:hover { background: #1877F2; color: #fff; }
.sf-follow-link--ig {
  background: rgba(225,48,108,.1);
  color: #E1306C;
}
.sf-follow-link--ig:hover {
  background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888);
  color: #fff;
}

.sf-posts {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

/* Post kártya: 40% kép / 60% szöveg arány */
.sf-post {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  align-items: start;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.72);
  padding: 10px;
  text-decoration: none;
  color: inherit;
  transition: .2s ease;
}
.sf-post:hover {
  background: var(--surface);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* Kép konténer + badge */
.sf-post__img {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
  background: var(--surface-2);
}
.sf-post__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Platform badge a képen */
.sf-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.sf-badge--fb {
  background: #1877F2;
  color: #fff;
}
.sf-badge--ig {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #fff;
}

/* Szöveg rész */
.sf-post__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.sf-post__text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  margin: 0;
  /* 3 sornál truncate */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-post__meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-soft);
  flex-wrap: wrap;
  margin-top: auto;
}
.sf-post__cta {
  margin-left: auto;
  color: var(--primary);
  font-weight: 700;
  font-size: 11px;
  white-space: nowrap;
}
.sf-empty {
  color: var(--text-soft);
  font-size: 13px;
  padding: 12px 0;
  margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════
   LABEL BADGE — Szín alapú
   ═══════════════════════════════════════════════════════════════════ */
.label-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 6px;
  padding: 2px 7px;
  margin-top: 4px;
  background: rgba(23,88,255,.1);
  color: var(--primary);
  border: 1px solid rgba(23,88,255,.15);
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--surface-dark);
  color: rgba(244,247,251,.7);
  margin-top: 60px;
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 56px 0 0;
}

/* Top: logo + linkek */
.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.footer-brand {}
.footer-logo {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: .85;
  display: block;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(244,247,251,.5);
  margin: 0 0 20px;
}
.footer-social {
  display: flex;
  gap: 8px;
}
.footer-social-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .18s;
  text-decoration: none;
}
.footer-social-btn--fb  { background: rgba(24,119,242,.2);  color: #6ab3ff; }
.footer-social-btn--ig  { background: rgba(225,48,108,.2);  color: #f4869e; }
.footer-social-btn--yt  { background: rgba(255,0,0,.18);    color: #ff7b7b; }
.footer-social-btn:hover { opacity: .8; transform: translateY(-2px); }

/* Linkek grid */
.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(244,247,251,.9);
  margin: 0 0 14px;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}
.footer-col li a {
  font-size: 13px;
  color: rgba(244,247,251,.5);
  text-decoration: none;
  transition: color .15s;
}
.footer-col li a:hover { color: rgba(244,247,251,.9); }

/* Középső sáv */
.footer-middle {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer-info-block h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(244,247,251,.9);
  margin: 0 0 14px;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.footer-contact li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(244,247,251,.55);
}
.footer-contact li svg { flex-shrink: 0; opacity: .6; }
.footer-contact a { color: rgba(244,247,251,.65); text-decoration: none; }
.footer-contact a:hover { color: #fff; }

.footer-hours {
  font-size: 13px;
  color: rgba(244,247,251,.55);
  border-collapse: collapse;
  width: 100%;
}
.footer-hours td { padding: 4px 0; }
.footer-hours td:first-child { color: rgba(244,247,251,.8); padding-right: 16px; }
.footer-closed { color: rgba(244,247,251,.3) !important; }

.footer-map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  height: 160px;
}
.footer-map-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Alsó sáv */
.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 20px 0;
  font-size: 12px;
  color: rgba(244,247,251,.35);
}
.footer-bottom__left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-bottom__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom__links a {
  color: rgba(244,247,251,.4);
  text-decoration: none;
  transition: color .15s;
}
.footer-bottom__links a:hover { color: rgba(244,247,251,.8); }
.footer-bottom__right { margin-left: auto; }

/* ── Responsive footer ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr; gap: 28px; }
  .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .footer-middle { grid-template-columns: 1fr 1fr; }
  .footer-map-wrap { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .footer-links-grid { grid-template-columns: 1fr 1fr; }
  .footer-middle { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom__right { margin-left: 0; }
  .sf-post { grid-template-columns: 80px 1fr; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOOTER LOGO MARK
   ═══════════════════════════════════════════════════════════════════ */
.footer-logo-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-mark {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  clip-path: polygon(0 0, 78% 0, 100% 22%, 100% 100%, 22% 100%, 0 78%);
}
.footer-logo-mark--sm {
  width: 26px;
  height: 26px;
}
.footer-logo-b {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: #fff;
  line-height: 1;
}
.footer-logo-mark--sm .footer-logo-b { font-size: 15px; }
.footer-logo-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: .06em;
  color: rgba(244,247,251,.9);
  line-height: 1;
}
.footer-logo-sub {
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(244,247,251,.4);
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════════════════════════
   WEBSHOP PICKS — dinamikus cimke szín
   ═══════════════════════════════════════════════════════════════════ */
.product-label-dynamic {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: 6px;
  padding: 3px 8px;
  margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════════════
   MOBILE — Teljes körű responsive javítások
   ═══════════════════════════════════════════════════════════════════ */

/* Hero grid: mobil portrait */
@media (max-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .hero__copy { min-height: auto; padding: 24px; }
  .hero-featured { min-height: 320px !important; }
  .hero-featured > div[style*="padding"] { padding: 20px !important; }
  .hero__cta { flex-direction: column; }
  .hero__cta .button { width: 100%; justify-content: center; }

  /* Article hero */
  .article-hero__inner { grid-template-columns: 1fr; gap: 16px; }
  .article-hero__copy { padding: 20px; }

  /* Article layout */
  .article-layout { grid-template-columns: 1fr; gap: 16px; }
  .article-sidebar__sticky { position: static; }

  /* Content grid */
  .content-grid { grid-template-columns: 1fr; gap: 16px; }
  .sidebar { grid-template-columns: 1fr; }

  /* Story grid: single column on small screens */
  .story-grid { grid-template-columns: 1fr; }
  .story-card--xl .story-card__link { display: block; }

  /* Section headers */
  .section__header { grid-template-columns: 1fr; }

  /* Deep dive bullets */
  .bullet-columns { grid-template-columns: 1fr; }

  /* Share bar */
  .share-bar { gap: 6px; }
  .share-btn { padding: 0 10px; font-size: 12px; height: 32px; }
  .share-bar__label { width: 100%; }

  /* Header nav */
  .main-nav a { padding: 8px 10px; font-size: 12px; }

  /* Article gallery */
  .article-gallery { grid-template-columns: 1fr; }

  /* AEO FAQ */
  .aeo-item__q { font-size: 14px; padding: 14px 16px; }
  .aeo-item__a { padding: 0 16px 14px; font-size: 14px; }

  /* Hero featured image height */
  .hero-featured { min-height: 280px !important; }

  /* Search suggestions width */
  .search-suggestions { width: calc(100vw - 32px); right: -8px; }

  /* Search wrap on mobile */
  .search-wrap.is-open { max-width: 400px; }
  .search-inline-input { width: 140px; font-size: 13px; }
}

/* Tablet portrait */
@media (min-width: 769px) and (max-width: 1024px) {
  .story-grid { grid-template-columns: 1fr 1fr; }
  .content-grid { grid-template-columns: minmax(0,1fr) 300px; }
  .article-layout { grid-template-columns: minmax(0,1fr) 280px; }
  .hero__grid { grid-template-columns: 1fr 1fr; }
}

/* Very small phones */
@media (max-width: 380px) {
  .container { width: calc(100% - 24px); }
  .hero-featured { min-height: 240px !important; }
  .header__inner { gap: 12px; }
  .brand__logo { width: 110px; }
  .main-nav { display: none !important; }
  .main-nav.is-open { display: flex !important; }
  .burger { display: inline-flex !important; }
}

/* Touch targets */
@media (hover: none) {
  .story-card:hover, .hero-featured:hover, .product-mini:hover { transform: none; }
  .share-btn, .btn, .button { min-height: 44px; }
  .aeo-item__q { min-height: 48px; }
}


/* ═══════════════════════════════════════════════════════════
   RESZPONZÍV FEJLESZTÉSEK (mobil + tablet)
═══════════════════════════════════════════════════════════ */

/* Story XL grid — mobilon egymás alá */
.story-xl-grid {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 22px;
  align-items: center;
}
@media (max-width: 640px) {
  .story-xl-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .story-card--xl { padding: 14px !important; }
  .story-card--xl .story-card__media { aspect-ratio: 16/9; }
}

/* Hero grid — tableton és mobilon */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .hero-featured { min-height: 320px !important; }
}

/* Content grid (cikk + sidebar) */
@media (max-width: 860px) {
  .content-grid {
    grid-template-columns: 1fr !important;
  }
  /* Mobilon sidebar egyetlen oszlop marad — NEM grid 2 col */
  .sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px;
    position: static !important;
    max-height: none !important;
    overflow: visible !important;
  }
  .sidebar-block-wrap,
  .sidebar-block-wrap--sticky {
    position: static !important;
    width: 100% !important;
  }
}
@media (max-width: 540px) {
  .sidebar {
    display: flex !important;
    flex-direction: column !important;
  }
}

/* Story grid — 3 col → 2 col → 1 col */
@media (max-width: 860px) {
  .story-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 500px) {
  .story-grid {
    grid-template-columns: 1fr !important;
  }
  /* Kártya képek teljes szélességű box-ban */
  .story-card .story-card__media {
    aspect-ratio: 16/9;
    width: 100%;
  }
  .story-card .story-card__media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
  }
  .story-card__content {
    padding: 14px !important;
  }
  .story-card h3 {
    font-size: clamp(18px, 5vw, 24px) !important;
    margin: 8px 0 6px !important;
  }
  .story-card__content p {
    font-size: 13px !important;
  }
}

/* Header nav mobilon hamburger menü alá */
@media (max-width: 860px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    flex-direction: column;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    z-index: 200;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a {
    padding: 10px 20px;
    border-bottom: 1px solid var(--line);
    font-size: 15px;
  }
  .main-nav a:last-child { border-bottom: none; }
}

/* Kereső mobilon teljes széles */
@media (max-width: 540px) {
  .search-inline-input {
    width: 100% !important;
    max-width: 100% !important;
  }
  .header__inner {
    gap: 8px !important;
  }
}

/* Container padding mobilon */
@media (max-width: 480px) {
  .container { padding-left: 14px !important; padding-right: 14px !important; }
  .section { padding-top: 32px !important; padding-bottom: 32px !important; }
  .section__header { margin-bottom: 20px !important; }
}

/* Cikk oldal reszponzív */
@media (max-width: 860px) {
  .article-layout {
    grid-template-columns: 1fr !important;
  }
  .article-sidebar {
    display: none; /* mobil és tableten eltűnik az oldalsáv */
  }
  .article-body { max-width: 100% !important; }
  /* Cikk tartalom képei mobilon */
  .article-body img,
  .article-body figure img,
  .article-body .article-figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .article-body .article-figure,
  .article-body figure {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .article-content {
    padding: 16px !important;
  }
  .article-content h2 { font-size: clamp(22px, 5vw, 34px) !important; }
  .article-content h3 { font-size: clamp(18px, 4vw, 26px) !important; }
  .article-content p  { font-size: 15px !important; }
  /* Hero */
  .article-hero__inner {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .article-hero__copy {
    padding: 16px !important;
    order: 2;
  }
  .article-hero__media {
    order: 1;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    overflow: hidden;
  }
  .article-hero__media img {
    width: 100% !important;
    max-height: 240px;
    object-fit: cover;
  }
}

/* ═══════════════════════════════════════════════════════════════════
   BLUECHIP v2 — Új elemek
   ═══════════════════════════════════════════════════════════════════ */

/* ── Skip link (akadálymentesség) ─────────────────────────────────── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 0 0 10px 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── Screen reader only ────────────────────────────────────────────── */
.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;
}

/* ── Progress bar ─────────────────────────────────────────────────── */
#readProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), #5c9dff);
  z-index: 9998;
  transition: width .1s linear;
  border-radius: 0 2px 2px 0;
  pointer-events: none;
}

/* ── Közvetlen válasz sáv ─────────────────────────────────────────── */
.direct-answer-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}
.direct-answer-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.direct-answer-bar__text {
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}
.direct-answer-bar__text strong {
  color: var(--text);
}

/* ── Share bar (főoldali sávban) ──────────────────────────────────── */
.share-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  flex-wrap: wrap;
}
.share-bar .share-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  white-space: nowrap;
}
.direct-answer-bar .share-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-2);
  border: 1px solid var(--line);
  color: var(--text-soft);
  cursor: pointer;
  transition: .15s ease;
  font-family: inherit;
}
.direct-answer-bar .share-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Lapozó ────────────────────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 0 8px;
  flex-wrap: wrap;
}
.pagination__btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 18px;
  border-radius: 10px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .15s ease;
}
.pagination__btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(23,88,255,.04);
}
.pagination__pages {
  display: flex;
  align-items: center;
  gap: 4px;
}
.pagination__page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--surface);
  border: 1.5px solid var(--line);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: .15s ease;
}
.pagination__page:hover {
  border-color: var(--primary);
  color: var(--primary);
}
.pagination__page.is-current {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}
.pagination__ellipsis {
  color: var(--text-soft);
  font-size: 14px;
  padding: 0 4px;
}

/* ── Sidebar sticky blokk ─────────────────────────────────────────── */
.sidebar-block-wrap {
  margin-bottom: 0;
}
.sidebar-block-wrap--sticky {
  position: sticky;
  top: 90px;
  z-index: 10;
}

/* ── FAQ szekció stílusok ─────────────────────────────────────────── */
.faq-section {
  background: var(--surface);
  border-top: 1px solid var(--line);
}
.aeo-list {
  max-width: 760px;
}
.aeo-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow .18s ease;
}
.aeo-item:hover { box-shadow: var(--shadow-sm); }
.aeo-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--surface);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  line-height: 1.4;
  transition: background .15s;
}
.aeo-item__q:hover { background: var(--surface-2); }
.aeo-item__q[aria-expanded="true"] { background: rgba(23,88,255,.04); color: var(--primary); }
.aeo-chevron {
  font-size: 20px;
  line-height: 1;
  color: var(--text-soft);
  transition: transform .2s ease;
  flex-shrink: 0;
}
.aeo-item__q[aria-expanded="true"] .aeo-chevron { transform: rotate(90deg); color: var(--primary); }
.aeo-item__a {
  padding: 0 20px 16px;
  background: var(--surface);
}
.aeo-item__a p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-soft);
}

/* ── Reszponzív — pagination + share bar ─────────────────────────── */
@media (max-width: 640px) {
  .direct-answer-bar__inner { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pagination__btn { padding: 0 12px; font-size: 13px; }
  .pagination__page { width: 36px; height: 36px; font-size: 13px; }
}
@media (max-width: 480px) {
  .pagination { gap: 4px; }
  .pagination__pages { gap: 2px; }
}

/* ── Mobil betűméret javítás (min 14px a body szöveg) ─────────────── */
@media (max-width: 640px) {
  body { font-size: 15px; }
  .story-card__content p { font-size: 14px; }
  .sidebar-block-wrap--sticky { position: static; }
}

/* ── Táblázat fejlécek (th) akadálymentesség ──────────────────────── */
.footer-hours { width: 100%; border-collapse: collapse; }
.footer-hours th {
  text-align: left;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: rgba(244,247,251,.4);
  padding: 0 12px 6px 0;
}
.footer-hours td { padding: 3px 12px 3px 0; }

/* ── Target blank figyelmeztető ikon ──────────────────────────────── */
a[target="_blank"]:not(.share-btn):not(.btn):not(.button)::after {
  content: " ↗";
  font-size: .75em;
  opacity: .5;
  speak: none;
}

/* ── LCP preload hint class ───────────────────────────────────────── */
img.lcp-image {
  content-visibility: auto;
}


/* ═══════════════════════════════════════════════════════════════════
   BLUECHIP v3 — Header, Logo, Progress, Background fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ── Header: kereső jobbra, nav overflow biztos ─────────────────────── */
.header__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 72px;
  /* Logo bal, nav jobbra igazodik a kereső mellé */
}
.brand {
  flex-shrink: 0;
  min-width: 0;
}
.main-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* hashtag-ek jobbra tolva a kereső mellé */
  gap: 2px;
  overflow: hidden;
  flex-wrap: nowrap;
  margin-left: 0;
  margin-right: 0;
}
/* Nav linkek: ha kevesebb hely van, kisebbre zsugorodnak */
.main-nav a {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
}
/* Ha túl sok a hashtag → rejtjük a extra linkeket JS-sel/CSS-sel */
.header__actions {
  flex-shrink: 0;
  /* NEM kell margin-left:auto — a nav flex:1-gyel tölti ki a helyet */
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Search wrap: mindig a jobb szélén, gomb fix jobb ───────────────── */
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: row;
  flex-shrink: 0;
}
/* Nyitott állapotban az input balra nő, a gomb JOB OLDALT MARAD */
.search-wrap.is-open {
  flex-direction: row;
}
.search-inline-input {
  width: 0;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transition: width .3s ease, opacity .25s ease, padding .3s ease;
  padding: 0;
  border-radius: 12px 0 0 12px;
  border: 1.5px solid var(--line);
  border-right: none;
  background: var(--surface);
  font-size: 14px;
  color: var(--text);
  outline: none;
  height: 44px;
  order: 1;  /* input a gomb előtt (balra) */
}
.search-toggle-btn {
  order: 2;  /* gomb mindig jobbra */
}
.search-wrap.is-open .search-inline-input {
  width: clamp(160px, 28vw, 320px);
  opacity: 1;
  pointer-events: auto;
  padding: 0 14px;
}

/* ── Progress bar: cikk tartalom alapú ──────────────────────────────── */
/* (A JS-ben javítjuk — itt csak a stílus) */
#readProgressBar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, #5c9dff 100%);
  z-index: 9999;
  width: 0%;
  transition: width .12s linear;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(23,88,255,.4);
}

/* ── Háttér: ne nézzen ki rosszul ha header méret változik ──────────── */
.site-shell {
  background-attachment: fixed; /* parallax-szerű, nem ugrik */
}
body {
  background:
    linear-gradient(180deg, rgba(23,88,255,.04) 0%, transparent 300px),
    var(--bg);
  background-attachment: fixed;
}

/* ── Footer logo: ugyanolyan méretű mint a header logo ──────────────── */
.footer-logo-lockup img {
  height: 36px;    /* header .brand__logo magasságával egyező */
  width: auto;
  object-fit: contain;
  max-width: 160px;
  display: block;
}

/* ── Mobile-first fejléc ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .header__inner { gap: 10px; min-height: 60px; }
  .brand__logo   { height: 30px; }
  /* Ha a nav ki van kapcsolva VAGY overflow van → burger megjelenik */
  .burger        { display: inline-flex; }
  .main-nav      { display: none; }
  .main-nav.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--surface);
    border-top: 1px solid var(--line);
    flex-direction: column;
    padding: 8px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,.12);
    z-index: 200;
    flex-wrap: nowrap;
    overflow: visible;
  }
  .main-nav.is-open a {
    padding: 10px 20px;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
  /* Kereső mobilon: gomb fix jobb oldal, input a logó fölé csúszik */
  .search-wrap {
    position: static;
  }
  .search-wrap.is-open {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--surface);
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,.15);
    border-bottom: 1px solid var(--line);
  }
  .search-wrap.is-open .search-inline-input {
    flex: 1;
    width: 100% !important;
    max-width: none !important;
    height: 44px;
    border-radius: 12px 0 0 12px;
    border-right: none;
    font-size: 15px;
    opacity: 1;
    pointer-events: auto;
    padding: 0 14px;
  }
  .search-wrap.is-open .search-toggle-btn {
    flex-shrink: 0;
    border-radius: 0 12px 12px 0;
    position: static;
  }
  .search-wrap:not(.is-open) .search-toggle-btn {
    border-radius: 14px;
  }
  .search-suggestions {
    position: fixed;
    top: 62px;
    left: 12px;
    right: 12px;
    width: auto !important;
  }
}

@media (min-width: 769px) {
  /* Desktopn: burger elrejtése, nav megjelenítése */
  .burger   { display: none; }
  .main-nav { display: flex; }
}

/* ── Nav overflow: extra linkek elrejtése JS nélkül ─────────────────── */
/* Ha a nav több linket tartalmaz mint ami elfér, overflow:hidden elrejti */
/* A header__inner flex-re épít — ha nincs hely a navnak, zsugorodik */
@media (min-width: 769px) and (max-width: 1100px) {
  .main-nav a { padding: 10px 10px; font-size: 13px; }
  .search-wrap.is-open .search-inline-input { width: clamp(120px, 20vw, 220px); }
}

/* ── Cikk szerkesztő: WYSIWYG + placeholder stílusok ────────────────── */
.wysiwyg-editor {
  min-height: 400px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--surface);
  outline: none;
  transition: border-color .15s;
}
.wysiwyg-editor:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23,88,255,.08);
}
.wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 8px 10px;
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.wysiwyg-toolbar button {
  min-width: 32px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .15s;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
}
.wysiwyg-toolbar button:hover  { background: var(--primary); color: #fff; border-color: var(--primary); }
.wysiwyg-toolbar button.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.wysiwyg-toolbar .toolbar-sep  { width: 1px; height: 24px; background: var(--line); margin: 0 4px; align-self: center; }
.wysiwyg-toolbar .toolbar-label{ font-size: 11px; color: var(--text-soft); padding: 0 6px; align-self: center; }
/* Képplaceholder a wysiwyg-ben */
.wysiwyg-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  margin: 12px 0;
  background: rgba(23,88,255,.04);
  border: 2px dashed rgba(23,88,255,.25);
  border-radius: var(--radius-sm);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  cursor: default;
  user-select: none;
}
.wysiwyg-img-placeholder .ph-img-thumb {
  width: 60px;
  height: 40px;
  border-radius: 6px;
  object-fit: cover;
  background: var(--surface-2);
  flex-shrink: 0;
}
/* Nézet-váltó tab-ok a szerkesztőhöz */
.editor-view-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 0;
  border-bottom: none;
}
.editor-view-tab {
  padding: 6px 14px;
  border: 1.5px solid var(--line);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  background: var(--bg);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: .15s;
  font-family: inherit;
}
.editor-view-tab.active {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--line);
  border-bottom-color: var(--surface);
  margin-bottom: -1px;
  z-index: 1;
  position: relative;
}
.editor-view-tab:hover:not(.active) { background: var(--surface-2); }


/* ═══════════════════════════════════════════════════════════════════
   BLUECHIP v5 — Editor, Sidebar Sticky, Block Layout Fixes
   ═══════════════════════════════════════════════════════════════════ */

/* ── WYSIWYG Editor v2 ──────────────────────────────────────────────── */
.editor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
}
.editor-view-tabs {
  display: flex;
  gap: 2px;
}
.editor-view-tab {
  padding: 5px 12px;
  border: 1.5px solid var(--line);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: var(--bg);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-soft);
  cursor: pointer;
  transition: .12s;
  font-family: inherit;
  white-space: nowrap;
}
.editor-view-tab.active {
  background: var(--surface);
  color: var(--primary);
  border-color: var(--line);
  border-bottom-color: var(--surface);
  position: relative;
  z-index: 2;
}
.editor-view-tab:hover:not(.active) { background: var(--surface-2); }
.wysiwyg-toolbar-wrap {
  border: 1.5px solid var(--line);
  border-bottom: none;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  overflow: hidden;
}
.wysiwyg-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  padding: 6px 8px;
  background: var(--bg);
  align-items: center;
}
.toolbar-btn {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-width: 28px;
  height: 28px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: .12s;
  font-family: inherit;
  white-space: nowrap;
}
.toolbar-btn:hover  { background: var(--primary); color: #fff; border-color: var(--primary); }
.toolbar-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.toolbar-btn--empty { opacity: .45; }
.toolbar-btn--img   { gap: 4px; }
.toolbar-sep  { width: 1px; height: 20px; background: var(--line); margin: 0 3px; flex-shrink: 0; }
.toolbar-label{ font-size: 11px; color: var(--text-soft); padding: 0 4px; }
.wysiwyg-editor {
  min-height: 360px;
  max-height: 600px;
  overflow-y: auto;
  border: 1.5px solid var(--line);
  border-top: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--surface);
  outline: none;
  word-break: break-word;
  transition: border-color .15s;
}
.wysiwyg-editor:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(23,88,255,.07);
}
.wysiwyg-editor h2 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.6em; margin: 1.2em 0 .4em; }
.wysiwyg-editor h3 { font-family: 'Barlow Condensed', sans-serif; font-size: 1.3em; margin: 1em 0 .3em; }
.wysiwyg-editor p  { margin: 0 0 .9em; }
.wysiwyg-editor ul, .wysiwyg-editor ol { padding-left: 1.6em; margin-bottom: .9em; }
.wysiwyg-editor a  { color: var(--primary); text-decoration: underline; }
.wysiwyg-editor blockquote { border-left: 3px solid var(--primary); padding-left: 1em; color: var(--text-soft); margin: 1em 0; }
/* Kép a WYSIWYG-ben */
.wysiwyg-editor img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
  margin: 10px auto;
}
/* Képplaceholder */
.wysiwyg-img-placeholder {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin: 10px 0;
  background: rgba(23,88,255,.05);
  border: 2px dashed rgba(23,88,255,.3);
  border-radius: 8px;
  cursor: default;
  user-select: none;
}
.wysiwyg-img-placeholder .ph-img-thumb {
  width: 60px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  flex-shrink: 0;
  background: var(--surface-2);
}
.wysiwyg-img-placeholder .ph-img-icon { font-size: 22px; flex-shrink: 0; }
.wysiwyg-img-placeholder .ph-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  flex: 1;
}
.wysiwyg-img-placeholder .ph-remove {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #dc2626;
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
}
.wysiwyg-img-placeholder .ph-remove:hover { background: rgba(220,38,38,.1); }
/* Preview frame */
.preview-frame {
  min-height: 200px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  font-size: 15px;
  line-height: 1.75;
  background: var(--surface);
}
.preview-frame .article-figure { margin: 16px 0; }
.preview-frame .article-figure img { max-width: 100%; border-radius: 10px; display: block; }
.preview-frame .article-figure figcaption { font-size: 12px; color: var(--text-soft); text-align: center; margin-top: 6px; }

/* ── Edit block colours (forrás vs publikálás) ───────────────────────── */
.edit-block--source  .section-label { background: rgba(245,158,11,.06); color: var(--text); }
.edit-block--source  { border-left: 3px solid #f59e0b; }
.edit-block--publish .section-label { background: rgba(23,88,255,.06); color: var(--primary); }
.edit-block--publish { border-left: 3px solid var(--primary); }

/* ── SIDEBAR STICKY — HELYES IMPLEMENTÁCIÓ ───────────────────────────── */
/*
  A probléma: sticky belső elemek egy grid-ben nem megfelelően viselkednek
  ha a grid container (sidebar) is display:grid.
  Megoldás: a sidebar maga legyen display:flex + flex-direction:column,
  és a sticky elem position:sticky + top értékkel.
*/

/* Főoldal sidebar */
.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.sidebar {
  /* Fontos: NE legyen display:grid, hanem flex:column a sticky miatt */
  display: flex;
  flex-direction: column;
  gap: 0;
  /* A sidebar maga is sticky a viewport tetejéhez képest */
  position: sticky;
  top: 90px;
  /* Max magasság + scroll ha több blokk van mint amit mutatni kell */
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--line); border-radius: 2px; }

/* Sidebar blokkok: alapban egymás alatt */
.sidebar-block-wrap {
  flex-shrink: 0;
  margin-bottom: 16px;
}
/* Sticky blokkok: a sidebar scrollolódik, de az elem nem csúszik el */
.sidebar-block-wrap--sticky {
  /* A blokk a saját scroll containerén belül (a .sidebar-on) ragad */
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
  padding-bottom: 2px;
}

/* Cikk oldal sidebar */
.article-sidebar {
  /* Ugyanaz a sticky logika */
  position: sticky;
  top: 90px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.article-sidebar .sidebar-block-wrap {
  flex-shrink: 0;
  margin-bottom: 16px;
}
.article-sidebar .sidebar-block-wrap--sticky {
  position: sticky;
  top: 0;
  z-index: 5;
  background: var(--bg);
}
/* Régi sticky wrapper (kompatibilitás) */
.article-sidebar__sticky {
  display: contents; /* Ne adjon extra réteget */
}

/* ── Mobil: sidebar stack ────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sidebar,
  .article-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
    flex-direction: column;
  }
  .sidebar-block-wrap--sticky,
  .article-sidebar .sidebar-block-wrap--sticky {
    position: static;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Admin: editor blokk vizuális elválasztás ────────────────────────── */
.edit-section + .edit-section { margin-top: 16px; }
.section-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 10px 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
}
.block-toggle-icon {
  font-size: 16px;
  transition: transform .2s;
  flex-shrink: 0;
}

/* ── Drag & drop: kép drag indikátor ────────────────────────────────── */
.toolbar-btn--img[draggable="true"] {
  cursor: grab;
}
.toolbar-btn--img[draggable="true"]:active {
  cursor: grabbing;
  opacity: .7;
}
#wysiwygEditor.drag-active {
  outline: 2px dashed var(--primary) !important;
  background: rgba(23,88,255,.04) !important;
}


/* ── Cikk: képek a cikk törzsben (IMG_SLOT placeholderből) ─────────── */
.article-body .article-figure,
.article-body figure {
  margin: 24px 0;
}
.article-body .article-figure img,
.article-body figure img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  display: block;
}
.article-body .article-figure.size-sm { width: min(260px, 100%); }
.article-body .article-figure.size-md { width: min(420px, 100%); }
.article-body .article-figure.size-lg { width: min(620px, 100%); }
.article-body .article-figure.size-full { width: 100%; }
.article-body .article-figure.align-left { margin-right: auto; }
.article-body .article-figure.align-center { margin-left: auto; margin-right: auto; }
.article-body .article-figure.align-right { margin-left: auto; }
.article-body .article-figure figcaption,
.article-body figure figcaption {
  font-size: 12px;
  color: var(--text-soft);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

/* Admin: blokkok szép elválasztása */
.card.edit-block--source  { box-shadow: none; border: 1px solid rgba(245,158,11,.3); }
.card.edit-block--publish { box-shadow: none; border: 1px solid rgba(23,88,255,.25); }
.card.edit-block--source:hover  { border-color: rgba(245,158,11,.5); }
.card.edit-block--publish:hover { border-color: rgba(23,88,255,.4); }


/* ── 2026-04 admin/frontend finomhangolás ───────────────────────────── */
/* Oldalsó blokkoknak ne legyen külön scroll sávja */
.sidebar,
.article-sidebar {
  max-height: none !important;
  overflow: visible !important;
  scrollbar-width: auto !important;
}
.sidebar::-webkit-scrollbar,
.article-sidebar::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
}
.sidebar-block-wrap--sticky,
.article-sidebar .sidebar-block-wrap--sticky,
.article-sidebar__sticky {
  position: sticky;
  top: 90px;
}
@media (max-width: 768px) {
  .sidebar-block-wrap--sticky,
  .article-sidebar .sidebar-block-wrap--sticky,
  .article-sidebar__sticky {
    position: static;
  }
}

/* FAQ rendberakva */
.faq-section {
  position: relative;
  padding: 72px 0 84px;
  background:
    radial-gradient(circle at top right, rgba(23,88,255,.07), transparent 32%),
    linear-gradient(180deg, #f8fafc 0%, #f3f6fb 100%);
  border-top: 1px solid rgba(18,23,34,.08);
  border-bottom: 1px solid rgba(18,23,34,.06);
}
.faq-section::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(255,255,255,.35), transparent 18%, transparent 82%, rgba(255,255,255,.28));
}
.faq-section .container { position: relative; z-index: 1; }
.faq-section .section__header {
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}
.faq-section .section__header > div {
  max-width: 860px;
}
.faq-section .aeo-list {
  max-width: 1040px;
  display: grid;
  gap: 14px;
}
.faq-section .aeo-item {
  border-radius: 22px;
  border: 1px solid rgba(18,23,34,.08);
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
  overflow: hidden;
}
.faq-section .aeo-item:hover {
  box-shadow: 0 18px 40px rgba(15,23,42,.09);
  transform: translateY(-1px);
}
.faq-section .aeo-item__q {
  min-height: 0;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.015em;
  line-height: 1.45;
  background: transparent;
}
.faq-section .aeo-item__q[aria-expanded="true"] {
  background: linear-gradient(180deg, rgba(23,88,255,.08), rgba(23,88,255,.03));
}
.faq-section .aeo-chevron {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(23,88,255,.08);
  font-size: 20px;
}
.faq-section .aeo-item__a {
  padding: 0 26px 24px;
}
.faq-section .aeo-item__a p {
  font-size: 15px;
  line-height: 1.78;
  color: var(--text-soft);
}
.sidebar-block-wrap,
.article-sidebar .sidebar-block-wrap {
  margin-bottom: 16px;
}
.sidebar-block-wrap:last-child,
.article-sidebar .sidebar-block-wrap:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .faq-section {
    padding: 56px 0 64px;
  }
  .faq-section .aeo-item__q {
    padding: 18px 20px;
    font-size: 16px;
  }
  .faq-section .aeo-item__a {
    padding: 0 20px 18px;
  }
}
@media (max-width: 640px) {
  .faq-section {
    padding: 44px 0 52px;
  }
  .faq-section .aeo-item {
    border-radius: 18px;
  }
  .faq-section .aeo-item__q {
    padding: 16px 16px;
    font-size: 14px;
  }
  .faq-section .aeo-chevron {
    width: 34px;
    height: 34px;
    font-size: 18px;
  }
  .faq-section .aeo-item__a {
    padding: 0 16px 16px;
  }
}


/* FAQ harmonizált finomhangolás */
.faq-section{
  padding:48px 0 56px;
  background:
    radial-gradient(circle at top right, rgba(23,88,255,.07), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,247,251,.98));
}
.faq-section .section__header{
  margin-bottom:20px;
  align-items:flex-end;
}
.faq-section .section__lead{
  max-width:760px;
  color:var(--text-soft);
}
.faq-section .aeo-list{
  display:grid;
  gap:14px;
}
.faq-section .aeo-item{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  box-shadow:0 10px 26px rgba(15,23,42,.05);
}
.faq-section .aeo-item__q{
  min-height:88px;
  padding:22px 26px;
  font-size:clamp(18px,2vw,22px);
  font-weight:800;
  color:var(--text);
  background:transparent;
}
.faq-section .aeo-item__q:hover{
  background:rgba(23,88,255,.03);
}
.faq-section .aeo-item__q[aria-expanded="true"]{
  background:linear-gradient(180deg, rgba(23,88,255,.05), rgba(23,88,255,.02));
  color:var(--primary-dark);
}
.faq-section .aeo-chevron{
  width:36px;
  height:36px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:rgba(23,88,255,.08);
  color:var(--primary);
  font-size:28px;
}
.faq-section .aeo-item__a{
  padding:0 26px 24px;
}
.faq-section .aeo-item__a p{
  max-width:920px;
  font-size:15px;
  color:var(--text-soft);
}
@media (max-width: 860px){
  .faq-section{padding:34px 0 40px}
  .faq-section .aeo-item{border-radius:20px}
  .faq-section .aeo-item__q{padding:18px 18px;min-height:72px;font-size:18px}
  .faq-section .aeo-item__a{padding:0 18px 18px}
}

/* ═══════════════════════════════════════════════════════════════════
   BLUECHIP FINAL FIXES — 2026-04
   ═══════════════════════════════════════════════════════════════════ */

/* ── Mobil kereső overlay: input a logó fölé csúszik ───────────────── */
@media (max-width: 768px) {
  /* Nyitott keresőnél az egész fejléc tartalom elfedve */
  body.search-open .brand,
  body.search-open .main-nav,
  body.search-open .burger {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  /* A .search-wrap.is-open már position:fixed mint fentebb — felül rögzítve */
  /* A javaslatok a fix overlay alá esnek */
  body.search-open .search-suggestions {
    top: 64px;
  }
}

/* ── Story card képek: mindig töltsék ki a kártyát ─────────────────── */
.story-card .story-card__media img,
.story-card .story-card__media picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-card .story-card__media {
  overflow: hidden;
}

/* ── Média frame: képek soha ne lógjanak ki ─────────────────────────── */
.media-frame {
  overflow: hidden;
}
.media-frame img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Article body: minden kép és elem responsive ───────────────────── */
.article-body * {
  max-width: 100%;
}
.article-body img {
  height: auto;
  object-fit: cover;
}
.article-body table {
  width: 100%;
  overflow-x: auto;
  display: block;
}
.article-body pre,
.article-body code {
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── Sidebar: show/hide + sticky gomb az adminból ──────────────────── */
/* A PHP-ban sidebar_sticky[] tömbben lévő blokkok sticky-k */
/* A sidebar-block-wrap--sticky class kezeli ezt */
.sidebar-block-wrap--sticky {
  position: sticky;
  top: 96px;
  z-index: 5;
}
@media (max-width: 860px) {
  .sidebar-block-wrap--sticky {
    position: static !important;
    top: auto !important;
  }
}

/* ── Container overflow fix mobilon ────────────────────────────────── */
@media (max-width: 768px) {
  .container {
    overflow-x: hidden;
  }
  main {
    overflow-x: hidden;
  }
}


.main-nav--hidden{visibility:hidden;pointer-events:none}
.no-nav-tags .header__actions{margin-left:auto}
.story-xl-grid{grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr);align-items:stretch}
.story-card--xl .story-card__media{height:100%;min-height:clamp(220px,28vw,360px)}
.story-card--xl .story-card__media img{height:100%;object-fit:cover}
.story-card--xl .story-card__content{padding:0;display:flex;flex-direction:column;justify-content:center}
@media (max-width: 768px){
  .no-nav-tags .burger{display:none !important}
  .no-nav-tags .search-wrap{margin-left:auto}
  .no-nav-tags .header__actions{width:auto}
  .story-card--xl .story-card__media{min-height:auto;height:auto;aspect-ratio:16/9}
  .story-card--xl .story-card__content{padding:0}
}
