/*
═══════════════════════════════════════════════════════════════
  BLOG · V06 mockup — lista + cikk-oldal stílusok (közös)
  Alap: main.css (nav, footer, tokenek, tipográfia)
  ───────────────────────────────────────────────────────────
  Használja: blog.html (lista) + minden blog-*.html poszt.
  A cikk-törzs Newsreader (serif) az editorial, olvasható érzetért;
  a címek Plus Jakarta, mint a többi oldalon.
  CHANGELOG
  v1 (2026-07-18) — sötét lista-hero + világos poszt-rács;
                    világos, olvasható cikk-elrendezés + záró CTA.
═══════════════════════════════════════════════════════════════
*/

body { overflow-x: clip; }

.bl-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

/* ============ LISTA-HERO (SÖTÉT) ============ */
.bl-hero {
  position: relative;
  background: #0a0a0c;
  color: #f5f5f7;
  overflow: hidden;
  padding: clamp(96px, 11vh, 150px) clamp(24px, 5vw, 60px) clamp(120px, 13vh, 156px);
  text-align: center;
}
.bl-hero .bl-eyebrow { border: 1px solid rgba(255, 255, 255, 0.18); color: rgba(245, 245, 247, 0.6); }
.bl-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 40px);
  -webkit-mask: radial-gradient(ellipse 78% 74% at 50% 32%, #000, transparent 82%);
  mask: radial-gradient(ellipse 78% 74% at 50% 32%, #000, transparent 82%);
  pointer-events: none;
}
.bl-hero-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.bl-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.5rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.04;
  margin-bottom: clamp(16px, 2.2vw, 24px);
}
.bl-hero h1 span { color: rgba(245, 245, 247, 0.5); }
.bl-lead {
  max-width: 580px;
  margin: 0 auto;
  color: rgba(245, 245, 247, 0.66);
  font-size: clamp(1.02rem, 1.3vw, 1.18rem);
  line-height: 1.62;
}

/* ============ POSZT-RÁCS (VILÁGOS) ============ */
.bl-list-wrap {
  position: relative;
  z-index: 1;
  background: var(--bg);
  border-radius: 30px 30px 0 0; /* a fehér lista lekerekített teteje ráúszik a fekete hero-ra */
  margin-top: -30px;            /* finom átmenet a 2 szekció között */
  padding: clamp(66px, 7vw, 104px) clamp(24px, 5vw, 60px) clamp(70px, 9vw, 130px);
}
.bl-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .bl-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .bl-list { grid-template-columns: 1fr; } }
.bl-card {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 32px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.bl-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 20px 46px -24px rgba(16, 24, 40, 0.22); }
.bl-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.bl-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 4px 10px;
  background: rgba(225, 90, 48, 0.09);
  border-radius: 999px;
}
.bl-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--text-faint); }
.bl-card h2 {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.9vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.16;
  color: #0a0a0c;
  margin-bottom: 12px;
}
.bl-card p { color: var(--text-mute); font-size: 1rem; line-height: 1.6; flex-grow: 1; }
.bl-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  font-weight: 600;
  font-size: 0.94rem;
  color: #0a0a0c;
}
.bl-more svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s var(--ease); }
.bl-card:hover .bl-more svg { transform: translateX(4px); }

/* ============ CIKK-OLDAL ============ */
.bl-article { background: var(--bg); }
.bl-art-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(120px, 15vh, 175px) clamp(24px, 5vw, 40px) clamp(30px, 4vw, 48px);
  text-align: center;
}
.bl-art-cat {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 5px 12px;
  background: rgba(225, 90, 48, 0.09);
  border-radius: 999px;
  margin-bottom: 22px;
}
.bl-art-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #0a0a0c;
  text-wrap: balance;
}
.bl-art-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-faint);
}
.bl-art-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line-2); }
.bl-art-meta b { color: var(--text-mute); font-weight: 500; }

.bl-art-body {
  max-width: 680px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px) clamp(24px, 5vw, 40px) clamp(50px, 6vw, 80px);
  font-family: var(--font-read, 'Newsreader'), Georgia, serif;
  font-size: clamp(1.12rem, 1.5vw, 1.24rem);
  line-height: 1.75;
  color: #26292e;
}
.bl-art-body > p { margin-bottom: 1.35em; }
.bl-art-body .bl-art-lead {
  font-size: clamp(1.24rem, 1.8vw, 1.44rem);
  line-height: 1.62;
  color: #1a1d23;
  margin-bottom: 1.5em;
}
.bl-art-body h2 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #0a0a0c;
  margin: 1.9em 0 0.6em;
}
.bl-art-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #0a0a0c;
  margin: 1.5em 0 0.5em;
}
.bl-art-body strong { color: #0a0a0c; font-weight: 600; }
.bl-art-body a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.bl-art-body ul { margin: 0 0 1.35em; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0.5em; }
.bl-art-body ul li { position: relative; padding-left: 26px; }
.bl-art-body ul li::before { content: ''; position: absolute; left: 4px; top: 0.66em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.bl-art-body blockquote {
  margin: 1.6em 0;
  padding: 6px 0 6px 26px;
  border-left: 2px solid var(--accent);
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: -0.02em;
  line-height: 1.32;
  color: #0a0a0c;
}

/* cikk-záró CTA */
.bl-art-cta {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 40px) clamp(70px, 9vw, 120px);
}
.bl-art-cta-inner {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg-soft);
  padding: clamp(30px, 4vw, 48px);
  text-align: center;
}
.bl-art-cta h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.14;
  color: #0a0a0c;
  margin-bottom: 12px;
}
.bl-art-cta p { color: var(--text-mute); font-size: 1.04rem; line-height: 1.6; margin-bottom: 26px; }
.bl-art-cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.bl-btn-dark {
  display: inline-flex; align-items: center;
  padding: 13px 26px;
  background: #0a0a0c; color: #fff;
  font-weight: 600; font-size: 0.98rem;
  border-radius: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.bl-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(10, 10, 12, 0.5); }
.bl-btn-ghost {
  display: inline-flex; align-items: center;
  padding: 13px 26px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  color: #0a0a0c; font-weight: 600; font-size: 0.98rem;
  transition: border-color 0.2s var(--ease);
}
.bl-btn-ghost:hover { border-color: var(--text-mute); }

/* vissza-link a cikk tetején */
.bl-back {
  max-width: 680px;
  margin: 0 auto;
  padding: 22px clamp(24px, 5vw, 40px) 0;
}
.bl-back a { display: inline-flex; align-items: center; gap: 7px; font-size: 0.9rem; color: var(--text-mute); font-weight: 500; }
.bl-back a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-back a:hover { color: #0a0a0c; }

/* ============ 2K ============ */
@media (min-width: 1900px) {
  .bl-hero-inner { max-width: 860px; }
  .bl-hero h1 { font-size: 4.4rem; }
  .bl-list { max-width: 1440px; }
  .bl-art-hero { max-width: 860px; }
  .bl-art-hero h1 { font-size: 4.2rem; }
  .bl-art-body { max-width: 760px; font-size: 1.3rem; }
}
