/* ══════════════════════════════════════════════
   BLOG + GYIK — design-szintű oldalak
   ══════════════════════════════════════════════ */

/* ── HERO (shared) ── */
.page-hero {
  padding: 190px 60px 90px; position: relative; overflow: hidden;
  min-height: 52vh; display: flex; flex-direction: column; justify-content: center;
  border-bottom: 1px solid rgba(245,184,0,0.08);
}
.hero-bg-img { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; background-repeat: no-repeat; }
.hero-bg-img.blog { background-image: url('/uploads/fotok/bence-36.webp'); }
.hero-bg-img.gyik { background-image: url('/uploads/fotok/bence-31.webp'); }
.hero-bg-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(11,11,11,0.96) 30%, rgba(11,11,11,0.82) 55%, rgba(11,11,11,0.55) 100%),
              linear-gradient(to top, #0B0B0B 2%, transparent 40%);
}
.hero-glow { position: absolute; width: 560px; height: 560px; right: 4%; top: 18%; background: radial-gradient(circle, rgba(245,184,0,0.14), transparent 68%); pointer-events: none; z-index: 0; filter: blur(16px); }
.hero-watermark { position: absolute; right: -2%; bottom: -10%; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 21vw; line-height: 0.8; color: rgba(245,184,0,0.045); text-transform: uppercase; pointer-events: none; user-select: none; z-index: 0; white-space: nowrap; }

.page-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 16px; position: relative; z-index: 1; }
.page-tag::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.page-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(52px, 7vw, 100px); font-weight: 900; text-transform: uppercase; line-height: 0.92; position: relative; z-index: 1; }
.page-title .gold { color: var(--gold); }
.page-title .outline { -webkit-text-stroke: 2px rgba(246,242,234,0.28); color: transparent; }
.page-sub { margin-top: 22px; font-size: 17px; color: rgba(244,241,236,0.55); font-weight: 300; max-width: 520px; line-height: 1.75; position: relative; z-index: 1; }

@keyframes heroRise { from { opacity: 0; transform: translateY(42px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .page-hero .page-tag { animation: heroRise .7s .1s both; }
  .page-hero .page-title { animation: heroRise .9s .25s both; }
  .page-hero .page-sub { animation: heroRise .8s .5s both; }
}

.section-tag { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.section-tag::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.section-title { font-family: 'Barlow Condensed', sans-serif; font-size: clamp(32px, 4.6vw, 56px); font-weight: 900; text-transform: uppercase; line-height: 0.95; }
.section-title .gold { color: var(--gold); }

.fade-up { opacity: 0; transform: translateY(36px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── BLOG: KIEMELT CIKK ── */
.blog-wrap { background: var(--dark); padding: 100px 60px; }
.blog-inner { max-width: 1160px; margin: 0 auto; }
.featured-post { display: grid; grid-template-columns: 1.25fr 1fr; background: var(--dark2); border: 1px solid rgba(255,255,255,0.07); margin-bottom: 64px; text-decoration: none; color: inherit; overflow: hidden; transition: border-color .3s; }
.featured-post:hover { border-color: rgba(245,184,0,0.4); }
.fp-img { position: relative; min-height: 360px; overflow: hidden; background: #0b0b0b; }
.fp-img img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; filter: brightness(.85); transition: transform .6s ease; }
.featured-post:hover .fp-img img { transform: scale(1.05); }
.fp-flag { position: absolute; top: 18px; left: 18px; background: var(--gold); color: #0B0B0B; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; padding: 6px 13px; z-index: 2; }
.fp-body { padding: 52px 52px 46px; display: flex; flex-direction: column; justify-content: center; }
.fp-date { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.fp-date::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.fp-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(28px, 3vw, 42px); text-transform: uppercase; line-height: 1; margin-bottom: 16px; }
.fp-excerpt { color: rgba(244,241,236,0.55); font-size: 15.5px; line-height: 1.8; font-weight: 300; margin-bottom: 26px; }
.fp-more { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; font-size: 13px; color: var(--gold); display: inline-flex; align-items: center; gap: 10px; }
.fp-more svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.featured-post:hover .fp-more svg { transform: translateX(5px); }

/* ── BLOG RÁCS ── */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.07); }
.blog-card { background: var(--dark2); display: flex; flex-direction: column; text-decoration: none; color: inherit; border-top: 2px solid transparent; transition: border-color .3s, background .3s; position: relative; overflow: hidden; }
.blog-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .45s ease; }
.blog-card:hover { border-top-color: var(--gold); background: #1e1e1e; }
.blog-card:hover::after { width: 100%; }
.bc-img { aspect-ratio: 16/10; overflow: hidden; background: #0b0b0b; position: relative; }
.bc-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.85); transition: transform .55s ease; }
.blog-card:hover .bc-img img { transform: scale(1.06); }
.bc-img.placeholder { display: flex; align-items: center; justify-content: center; }
.bc-img.placeholder svg { width: 56px; height: 56px; stroke: rgba(245,184,0,0.35); fill: none; stroke-width: 1.2; }
.bc-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.bc-date { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; opacity: .8; }
.bc-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 23px; text-transform: uppercase; line-height: 1.05; margin-bottom: 12px; }
.bc-excerpt { color: rgba(244,241,236,0.48); font-size: 14px; line-height: 1.75; flex: 1; font-weight: 300; }
.bc-more { margin-top: 20px; font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; color: var(--gold); display: inline-flex; align-items: center; gap: 8px; }
.bc-more svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.blog-card:hover .bc-more svg { transform: translateX(4px); }

/* lapozó */
.blog-pager { margin-top: 48px; display: flex; gap: 12px; justify-content: center; }
.blog-pager a { font-family: 'Barlow Condensed', sans-serif; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 13px; padding: 15px 30px; text-decoration: none; transition: .15s; }
.blog-pager .pg-prev { border: 1px solid rgba(244,241,236,.3); color: #F4F1EC; }
.blog-pager .pg-prev:hover { border-color: var(--gold); color: var(--gold); }
.blog-pager .pg-next { background: var(--gold); color: #0B0B0B; }
.blog-pager .pg-next:hover { background: #ffd233; }

/* ── CIKK OLDAL — munkáink-stílusú, teljes képernyős hero ── */
.post-hero { position: relative; min-height: 88vh; display: flex; align-items: flex-end; overflow: hidden; }
.post-hero-img { position: absolute; inset: 0; }
.post-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-hero-vignette { position: absolute; inset: 0; background: linear-gradient(to top, rgba(11,11,11,0.96) 0%, rgba(11,11,11,0.35) 45%, rgba(11,11,11,0.55) 100%); }
.post-hero-caption { position: relative; z-index: 1; padding: 0 60px 76px; max-width: 980px; }
.post-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px; color: var(--gold); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 2.5px; text-transform: uppercase; font-size: 12px; font-weight: 700; text-decoration: none; }
.post-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.post-back:hover svg { transform: translateX(-4px); }
.post-cat { font-family: 'Barlow Condensed', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.post-cat::before { content: ''; width: 32px; height: 1px; background: var(--gold); }
.post-hero-caption h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(40px, 6.4vw, 84px); line-height: 0.94; text-transform: uppercase; text-shadow: 0 2px 40px rgba(0,0,0,0.8); }
.post-hero-caption .post-lead { margin-top: 18px; max-width: 640px; color: rgba(244,241,236,0.72); font-size: 18px; line-height: 1.75; font-weight: 300; text-shadow: 0 2px 20px rgba(0,0,0,0.6); }
@media (prefers-reduced-motion: no-preference) {
  .post-hero-caption .post-back { animation: heroRise .6s .05s both; }
  .post-hero-caption .post-cat { animation: heroRise .7s .15s both; }
  .post-hero-caption h1 { animation: heroRise .9s .28s both; }
  .post-hero-caption .post-lead { animation: heroRise .8s .5s both; }
}

/* prev/next cikk-kártyák (munkáink minta) */
.post-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: rgba(255,255,255,0.07); }
.post-pn .pn-card { position: relative; overflow: hidden; min-height: 260px; display: flex; align-items: center; text-decoration: none; padding: 48px 60px; background: #101010; }
.post-pn .pn-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35); transition: transform .6s ease, filter .3s; }
.post-pn .pn-card:hover img { transform: scale(1.05); filter: brightness(0.5); }
.post-pn .pn-inner { position: relative; z-index: 1; width: 100%; }
.post-pn .pn-card.next { text-align: right; justify-content: flex-end; }
.post-pn .pn-dir { font-family: 'Barlow Condensed', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.post-pn .pn-title { font-family: 'Barlow Condensed', sans-serif; font-size: 25px; font-weight: 800; text-transform: uppercase; color: #fff; line-height: 1.02; }

@media (max-width: 700px) {
  .post-hero { min-height: 74vh; }
  .post-hero-caption { padding: 0 20px 52px; }
  .post-pn { grid-template-columns: 1fr; }
  .post-pn .pn-card { padding: 34px 24px; min-height: 170px; }
}

/* ── CIKK OLDAL ── */
.article-hero { padding: 170px 60px 70px; position: relative; overflow: hidden; border-bottom: 1px solid rgba(245,184,0,0.08); }
.article-hero-bg { position: absolute; inset: 0; z-index: 0; background-position: center; background-size: cover; filter: blur(2px) brightness(.9); transform: scale(1.04); }
.article-hero.has-img::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(100deg, rgba(11,11,11,0.97) 25%, rgba(11,11,11,0.86) 60%, rgba(11,11,11,0.65) 100%), linear-gradient(to top, #0B0B0B 3%, transparent 45%); }
.article-hero.has-img .article-hero-bg + .hero-glow { opacity: .6; }
.a-lead { margin-top: 20px; max-width: 640px; color: rgba(244,241,236,0.6); font-size: 18px; line-height: 1.75; font-weight: 300; position: relative; z-index: 1; }
.a-cta { margin-top: 56px; padding: 40px 44px; background: var(--gold); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.a-cta-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(22px, 3vw, 32px); text-transform: uppercase; line-height: 1; color: #0B0B0B; }
.a-cta-sub { margin-top: 7px; font-size: 14px; color: rgba(11,11,11,0.7); }
.a-cta a { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; background: #0B0B0B; color: var(--gold); padding: 16px 34px; text-decoration: none; transition: transform .15s; white-space: nowrap; }
.a-cta a:hover { transform: translateY(-2px); }
.article-hero .hero-glow { right: auto; left: -8%; top: 30%; }
.article-hero-inner { max-width: 820px; margin: 0 auto; position: relative; z-index: 1; }
.a-back { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 28px; color: var(--gold); font-family: 'Barlow Condensed', sans-serif; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; font-weight: 700; text-decoration: none; }
.a-back svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; transition: transform .2s; }
.a-back:hover svg { transform: translateX(-4px); }
.a-meta { display: flex; align-items: center; gap: 14px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.a-meta::before { content: ''; width: 24px; height: 1px; background: var(--gold); }
.article-hero h1 { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(38px, 5.6vw, 68px); line-height: 0.98; text-transform: uppercase; }
.article-body-wrap { max-width: 820px; margin: 0 auto; padding: 60px 24px 90px; }
.a-cover { width: 100%; aspect-ratio: 16/8.5; object-fit: cover; margin-bottom: 44px; border: 1px solid rgba(255,255,255,0.08); filter: brightness(.9); }
.a-body { color: rgba(244,241,236,0.72); font-size: 17.5px; line-height: 1.95; white-space: pre-line; font-weight: 300; }
.a-body::first-letter { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 64px; line-height: .8; color: var(--gold); float: left; margin: 8px 14px 0 0; }
.a-divider { width: 52px; height: 3px; background: var(--gold); margin: 44px 0 0; }

/* kapcsolódó */
.related-wrap { background: var(--dark); padding: 90px 60px 100px; }
.related-inner { max-width: 1160px; margin: 0 auto; }
.related-inner .blog-grid { margin-top: 40px; }

/* ── GYIK ── */
.faq-section { background: var(--dark); padding: 100px 60px; }
.faq-inner { max-width: 860px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 2px; margin-top: 52px; }
.faq-item { background: var(--dark2); border-left: 3px solid transparent; position: relative; overflow: hidden; transition: border-color .3s, background .3s; }
.faq-item::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 1px; background: var(--gold); transition: width .45s ease; }
.faq-item:hover { background: #1e1e1e; }
.faq-item:hover::after { width: 100%; }
.faq-item[open] { border-left-color: var(--gold); background: #1e1e1e; }
.faq-item summary { list-style: none; cursor: pointer; padding: 26px 30px; display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 18px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q-num { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 2px; color: var(--gold); opacity: .6; }
.faq-q { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 21px; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.15; }
.faq-plus { width: 34px; height: 34px; border: 1px solid rgba(245,184,0,0.4); display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 20px; line-height: 1; transition: transform .28s, background .2s; flex-shrink: 0; }
.faq-item[open] .faq-plus { transform: rotate(45deg); background: rgba(245,184,0,0.1); }
.faq-answer { padding: 0 30px 28px 100px; color: rgba(244,241,236,0.58); font-size: 15.5px; line-height: 1.85; font-weight: 300; }

/* GYIK CTA (aranysáv) */
.faq-cta { margin: 0 60px 110px; padding: 56px 64px; background: var(--gold); display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; position: relative; overflow: hidden; }
.faq-cta::after { content: '?'; position: absolute; right: 10px; bottom: -70px; font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: 300px; color: rgba(11,11,11,0.07); line-height: 1; pointer-events: none; }
.faq-cta .cta-title { font-family: 'Barlow Condensed', sans-serif; font-weight: 900; font-size: clamp(28px, 4.4vw, 48px); text-transform: uppercase; line-height: .95; color: #0B0B0B; }
.faq-cta .cta-sub { margin-top: 10px; font-size: 15px; color: rgba(11,11,11,0.7); }
.faq-cta .btn-dark { font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 3px; text-transform: uppercase; background: #0B0B0B; color: var(--gold); padding: 20px 44px; text-decoration: none; transition: transform .15s; position: relative; z-index: 1; white-space: nowrap; }
.faq-cta .btn-dark:hover { transform: translateY(-2px); }

/* ── RESPONSIVE ── */
@media (max-width: 980px) {
  .featured-post { grid-template-columns: 1fr; }
  .fp-img { min-height: 240px; }
  .fp-body { padding: 34px 28px; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .page-hero { padding: 130px 20px 60px; min-height: 44vh; }
  .blog-wrap { padding: 64px 20px; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-hero { padding: 120px 20px 48px; }
  .article-body-wrap { padding: 44px 20px 70px; }
  .related-wrap { padding: 64px 20px 80px; }
  .faq-section { padding: 64px 20px; }
  .faq-item summary { grid-template-columns: 1fr auto; padding: 20px 20px; }
  .faq-q-num { display: none; }
  .faq-q { font-size: 17px; }
  .faq-answer { padding: 0 20px 24px; }
  .faq-cta { margin: 0 20px 72px; padding: 40px 26px; flex-direction: column; text-align: center; }
  .faq-cta .btn-dark { width: 100%; text-align: center; }
}

/* ── Blogcikk inline képek ── */
.a-img { margin: 40px 0; }
.a-img img { width: 100%; display: block; border: 1px solid rgba(255,255,255,0.08); }
.a-img figcaption { margin-top: 10px; font-family: 'Barlow Condensed', sans-serif; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); opacity: .8; }

/* Blogcikk gomb-link ([gomb:] token) */
.a-btn { display: inline-block; margin: 28px 0 8px; font-family: 'Barlow Condensed', sans-serif; font-weight: 800; font-size: 14px; letter-spacing: 2.5px; text-transform: uppercase; background: var(--gold); color: #0B0B0B !important; padding: 16px 32px; text-decoration: none; transition: background .2s, transform .15s; }
.a-btn:hover { background: #ffd233; transform: translateY(-2px); }
