/* ============================================================
   TaxHungary.hu – Frontend Design Rendszer
   Playfair Display + Source Sans 3
   Navy + Gold + Cream paletta
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=Source+Sans+3:wght@300;400;600&display=swap');

/* ─── CSS VÁLTOZÓK ─────────────────────────────────────────── */
:root {
  --navy:       #1B2E45;
  --navy-mid:   #243A56;
  --navy-light: #2D4668;
  --gold:       #C9A84C;
  --gold-light: #E8C97A;
  --gold-pale:  #F5E9C8;
  --cream:      #F8F5EF;
  --cream-dark: #EDE8DF;
  --white:      #FFFFFF;
  --text:       #1A1A1A;
  --text-mid:   #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border:     rgba(0,0,0,0.08);
  --border-mid: rgba(0,0,0,0.14);
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.14);
  --radius:     4px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Source Sans 3', -apple-system, sans-serif;
  --sidebar-w:  320px;
  --max-w:      1200px;
  --transition: 0.2s ease;
}

/* ─── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }

/* ─── LAYOUT ────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
.page-wrap { min-height: 100vh; display: flex; flex-direction: column; }
.main-content { flex: 1; }

/* ─── TOP BAR ───────────────────────────────────────────────── */
.top-bar {
  background: var(--navy);
  padding: 7px 0;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
}
.lang-switcher {
  display: flex;
  gap: 0;
}
.lang-btn {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  padding: 3px 10px;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: color var(--transition);
  border-right: 1px solid rgba(255,255,255,0.1);
}
.lang-btn:last-child { border-right: none; }
.lang-btn:hover, .lang-btn.active {
  color: var(--gold);
}

/* ─── NAVBAR ────────────────────────────────────────────────── */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid rgba(201,168,76,0.2);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-main {
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1;
}
.logo-main span { color: var(--gold); }
.logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  padding: 8px 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
  top: 1px;
}
.nav-link:hover, .nav-link.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-cta {
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 18px;
  margin-left: 8px;
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--gold-light); }
.nav-search-btn {
  color: rgba(255,255,255,0.5);
  padding: 8px;
  font-size: 18px;
  transition: color var(--transition);
  background: transparent;
  border: none;
}
.nav-search-btn:hover { color: var(--gold); }

/* ─── CIKK FUTÓSÁV ──────────────────────────────────────────── */
.article-ticker-wrap {
  background: #0D1B2A;
  border-top: 1px solid rgba(255,255,255,0.05);
  overflow: hidden;
  height: 36px;
  display: flex;
  align-items: center;
}
.ticker-label {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
}
.ticker-scroll {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.ticker-track {
  display: inline-flex;
  align-items: center;
  animation: tickerMove linear infinite;
  white-space: nowrap;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes tickerMove {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 0 24px;
}
.ticker-item a {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  letter-spacing: 0.02em;
}
.ticker-item a:hover { color: var(--gold); }
.ticker-sep {
  color: var(--gold);
  font-size: 8px;
  opacity: 0.6;
}

/* ─── BREAKING / FRISS HIR SAV (arany hatter) ──────────────── */
.breaking-bar {
  background: var(--gold);
  overflow: hidden;
  height: 40px;
  position: relative;
  border-top: 1px solid rgba(13,27,42,0.1);
  border-bottom: 1px solid rgba(13,27,42,0.12);
}
.breaking-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  gap: 0;
}
.breaking-label {
  background: var(--navy);
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.breaking-scroll {
  overflow: hidden;
  flex: 1;
  height: 100%;
  position: relative;
}
.breaking-track {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  animation: brkScroll 32s linear infinite;
  will-change: transform;
}
.breaking-track:hover { animation-play-state: paused; }
@keyframes brkScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.breaking-link {
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 0 28px;
  flex-shrink: 0;
  text-decoration: none;
  transition: color 0.15s;
}
.breaking-link:hover { color: #7a5c1a; }
.breaking-sep {
  color: rgba(13,27,42,0.35);
  font-size: 9px;
  flex-shrink: 0;
}
@media (max-width: 640px) {
  .breaking-bar { height: 36px; }
  .breaking-label { font-size: 9px; padding: 0 12px; }
  .breaking-link { font-size: 12px; padding: 0 18px; }
}

/* ─── PÉNZÜGYI TICKER ───────────────────────────────────────── */
.fin-ticker {
  background: var(--navy);
  height: 36px;
  width: 100%;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.fin-ticker-inner {
  height: 36px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.fin-ticker-track {
  display: inline-flex;
  align-items: center;
  height: 36px;
  white-space: nowrap;
  animation: finTickerScroll 45s linear infinite;
  animation-play-state: paused;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.fin-ticker-track.ready { animation-play-state: running; }
.fin-ticker-track:hover { animation-play-state: paused; }
@keyframes finTickerScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.fin-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 22px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.fin-label {
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.fin-value {
  font-size: 13px;
  color: rgba(255,255,255,0.95);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.fin-change {
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-left: 4px;
}
.fin-up   { color: #4ADE80; }
.fin-down { color: #F87171; }
@media (max-width: 640px) {
  .fin-item { padding: 0 14px; gap: 6px; }
  .fin-label { font-size: 10px; }
  .fin-value { font-size: 12px; }
}

/* ─── HERO SZEKCIÓ ──────────────────────────────────────────── */
.hero {
  background: var(--navy-mid);
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 40%, transparent 100%);
}
.hero-inner {
  position: relative;
  padding: 52px 0 48px;
}
.hero-eyebrow {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.5vw, 42px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  max-width: 640px;
  margin-bottom: 16px;
}
.hero-title em {
  color: var(--gold);
  font-style: normal;
}
.hero-excerpt {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  line-height: 1.65;
  margin-bottom: 28px;
}
.hero-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}
.hero-meta-sep { opacity: 0.3; }
.hero-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 24px;
  transition: background var(--transition);
}
.hero-read-more:hover { background: var(--gold-light); }
.hero-read-more svg { width: 14px; height: 14px; }
.hero-image-side {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  overflow: hidden;
}
.hero-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}
.hero-cat-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
  color: var(--white);
}

/* ─── FŐOLDAL LAYOUT ────────────────────────────────────────── */
.home-layout {
  padding: 36px 0 60px;
}
.home-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 32px;
  align-items: start;
}

/* ─── SZEKCIÓ FEJLÉC ────────────────────────────────────────── */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--navy);
}
.section-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-more {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition);
}
.section-more:hover { color: var(--navy); }

/* ─── KIEMELT CIKKEK (FEATURED) ─────────────────────────────── */
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 32px;
}
/* Kategoria oldalan 3 oszlop desktop-on */
.category-articles { grid-template-columns: repeat(3, 1fr); }
.featured-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.featured-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.featured-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--navy-mid);
  position: relative;
}
.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.featured-card:hover .featured-card-img img {
  transform: scale(1.04);
}
.featured-card-img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-card-body { padding: 20px; }
.article-cat-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  margin-bottom: 10px;
  color: var(--white);
}
.article-breaking {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 10px;
  background: #B91C1C;
  color: var(--white);
  margin-bottom: 10px;
  margin-right: 6px;
}
.article-title-link {
  display: block;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color var(--transition);
}
.article-title-link:hover { color: var(--gold); }
.article-excerpt {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  color: var(--text-muted);
  flex-wrap: wrap;
}
.article-meta-sep { opacity: 0.3; }
.article-meta-author { color: var(--navy); font-weight: 600; }
.article-paywall-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 20px;
}
.paywall-registered { background: #DBEAFE; color: #1E40AF; }
.paywall-premium    { background: #FEF3C7; color: #92400E; }

/* ─── CIKK LISTA ────────────────────────────────────────────── */
.article-list { display: flex; flex-direction: column; gap: 0; }
.article-row {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  transition: background var(--transition);
}
.article-row:first-child { border-top: 1px solid var(--border); }
.article-row:hover { background: rgba(201,168,76,0.03); }
.article-thumb {
  width: 96px;
  height: 72px;
  overflow: hidden;
  background: var(--navy-mid);
  flex-shrink: 0;
  position: relative;
}
.article-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.article-row:hover .article-thumb img { transform: scale(1.06); }
.article-row-body {}
.article-row-title {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.article-row:hover .article-row-title { color: var(--gold); }
.article-row-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* ─── HIRDETÉS SLOT ─────────────────────────────────────────── */
.ad-slot {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.ad-slot img { width: 100%; height: 100%; object-fit: cover; }
.ad-slot-label {
  position: absolute;
  top: 4px;
  right: 4px;
  font-size: 8px;
  color: rgba(0,0,0,0.3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─── SIDEBAR ───────────────────────────────────────────────── */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 20px;
}
.widget-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}

/* ECC Widget */
.ecc-widget {
  background: var(--navy);
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.ecc-widget::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 80px; height: 80px;
  background: var(--gold);
  opacity: 0.08;
  border-radius: 50%;
}
.ecc-widget-label {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.ecc-widget-title {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 8px;
}
.ecc-widget-desc {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  margin-bottom: 16px;
}
.ecc-widget-btn {
  display: block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  text-align: center;
  transition: background var(--transition);
}
.ecc-widget-btn:hover { background: var(--gold-light); }
.ecc-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.ecc-service-tag {
  font-size: 9px;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 2px 8px;
  letter-spacing: 0.06em;
}

/* Newsletter widget */
.newsletter-widget {}
.nl-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; line-height: 1.5; }
.nl-form { display: flex; flex-direction: column; gap: 8px; }
.nl-input {
  width: 100%;
  border: 1px solid var(--border-mid);
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  background: var(--cream);
  font-family: var(--font-sans);
  outline: none;
  transition: border var(--transition);
}
.nl-input:focus { border-color: var(--gold); }
.nl-btn {
  background: var(--navy);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 11px;
  border: none;
  transition: background var(--transition);
}
.nl-btn:hover { background: var(--gold); color: var(--navy); }
.nl-langs {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}
.nl-lang {
  font-size: 10px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.nl-lang::before {
  content: '';
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
}

/* Témák widget */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.topic-pill {
  background: var(--navy);
  color: rgba(255,255,255,0.65);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.topic-pill:hover { background: var(--navy-mid); color: var(--gold); }
.topic-pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Népszerű cikkek */
.popular-list { display: flex; flex-direction: column; gap: 0; }
.popular-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.popular-item:last-child { border-bottom: none; }
.popular-num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-pale);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
}
.popular-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
  transition: color var(--transition);
}
.popular-item:hover .popular-title { color: var(--gold); }
.popular-cat { font-size: 10px; color: var(--text-muted); margin-top: 3px; }

/* ─── CIKK OLDAL ────────────────────────────────────────────── */
.article-layout {
  padding: 40px 0 60px;
}
.article-grid {
  display: grid;
  grid-template-columns: 1fr var(--sidebar-w);
  gap: 48px;
  align-items: start;
}
.article-header { margin-bottom: 28px; }
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.breadcrumb-sep { opacity: 0.4; }
.breadcrumb-link { transition: color var(--transition); }
.breadcrumb-link:hover { color: var(--gold); }
.article-headline {
  font-family: var(--font-serif);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.article-subtitle {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.55;
  margin-bottom: 20px;
  font-weight: 300;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.byline-author {
  display: flex;
  align-items: center;
  gap: 10px;
}
.byline-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy-mid);
  overflow: hidden;
  flex-shrink: 0;
}
.byline-avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline-name { font-size: 13px; font-weight: 600; color: var(--navy); }
.byline-title { font-size: 11px; color: var(--text-muted); }
.byline-meta {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-left: auto;
  flex-wrap: wrap;
}
.byline-read-time { display: flex; align-items: center; gap: 5px; }

/* Cikk hero kép */
.article-hero-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: left top;  /* bal felso sarok (logo) mindig lathato */
  margin: 24px 0;
  aspect-ratio: 16 / 9;
}
.article-content img,
.article-content video,
.article-content iframe {
  max-width: 100%;
  height: auto;
}

/* Cikk tartalom */
.article-content {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-mid);
  user-select: none;
  -webkit-user-select: none;
}
.article-content h2 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.article-content h3 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
  margin: 28px 0 12px;
}
.article-content p { margin-bottom: 18px; }
.article-content ul, .article-content ol {
  margin: 0 0 18px 24px;
}
.article-content li { margin-bottom: 6px; }
.article-content strong { color: var(--navy); font-weight: 600; }
.article-content blockquote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  margin: 24px 0;
  background: var(--cream);
  font-style: italic;
  color: var(--text-mid);
}
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
}
.article-content th {
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.article-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
}
.article-content tr:nth-child(even) td { background: var(--cream); }

/* Paywall fal - navy gradient + gold & gray dizajn */
.paywall-wall {
  position: relative;
  margin-top: -80px;
}
.paywall-fade {
  height: 120px;
  background: linear-gradient(to bottom, transparent 0%, rgba(13,27,42,0.5) 60%, var(--navy) 100%);
  margin-top: -120px;
  position: relative;
  pointer-events: none;
}
.paywall-box {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #1A2C47 50%, var(--navy) 100%);
  border: 1px solid rgba(201,168,76,0.35);
  border-top: 3px solid var(--gold);
  padding: 40px 32px 36px;
  text-align: center;
  color: #fff;
  box-shadow: 0 20px 60px rgba(13,27,42,0.3);
}
.paywall-icon {
  font-size: 36px;
  margin-bottom: 14px;
  filter: drop-shadow(0 2px 4px rgba(201,168,76,0.4));
}
.paywall-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}
.paywall-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  line-height: 1.7;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.paywall-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-register {
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  padding: 13px 32px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 14px rgba(201,168,76,0.3);
}
.btn-register:hover {
  background: #D9B66A;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(201,168,76,0.4);
}
.btn-login-link {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  font-weight: 600;
  padding: 13px 32px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s;
}
.btn-login-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
.paywall-premium .paywall-icon { color: var(--gold); }
.paywall-premium .btn-register::before { content: '★ '; }

/* ECC szakértő widget cikken belül */
.expert-widget {
  background: var(--navy);
  padding: 24px;
  margin: 32px 0;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.expert-avatar {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--navy-mid);
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}
.expert-avatar img { width: 100%; height: 100%; object-fit: cover; }
.expert-info { flex: 1; }
.expert-label {
  font-size: 9px;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.expert-name {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--white);
  margin-bottom: 2px;
}
.expert-title-text { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.expert-cta {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8px 18px;
  transition: background var(--transition);
}
.expert-cta:hover { background: var(--gold-light); }

/* FAQ szekció */
.faq-section { margin: 36px 0; }
.faq-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--navy);
}
.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: color var(--transition);
}
.faq-question:hover { color: var(--gold); }
.faq-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq-answer-inner {
  padding: 0 0 16px;
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}
.faq-item.open .faq-answer { max-height: 500px; }

/* Megosztás gombok */
.share-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 28px 0;
  flex-wrap: wrap;
}
.share-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-right: 4px;
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 14px;
  border: 1px solid var(--border-mid);
  color: var(--text-mid);
  transition: all var(--transition);
}
.share-btn:hover { border-color: var(--navy); color: var(--navy); }
.share-btn svg { width: 14px; height: 14px; }

/* Kapcsolódó cikkek */
.related-section { margin-top: 40px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 16px;
  margin-top: 16px;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.related-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.related-thumb {
  height: 120px;
  background: var(--navy-mid);
  overflow: hidden;
}
.related-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.related-card:hover .related-thumb img { transform: scale(1.05); }
.related-body { padding: 14px; }
.related-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
  transition: color var(--transition);
}
.related-card:hover .related-title { color: var(--gold); }
.related-meta { font-size: 11px; color: var(--text-muted); }

/* ─── BEJELENTKEZÉS / REGISZTRÁCIÓ ──────────────────────────── */
.auth-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 24px;
}
.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  width: 100%;
  max-width: 440px;
  padding: 40px;
}
.auth-logo {
  text-align: center;
  margin-bottom: 32px;
}
.auth-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}
.auth-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 28px;
}
.auth-form {}
.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
}
.form-input {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-mid);
  font-size: 14px;
  color: var(--text);
  background: var(--cream);
  font-family: var(--font-sans);
  outline: none;
  transition: border var(--transition);
}
.form-input:focus { border-color: var(--gold); background: var(--white); }
.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px;
  border: none;
  margin-top: 8px;
  transition: background var(--transition);
}
.form-submit:hover { background: var(--gold); color: var(--navy); }
.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
}
.auth-switch a { color: var(--gold); font-weight: 600; }
.auth-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FECACA;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}
.auth-success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

/* ─── LÁBLÉC ────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  margin-top: auto;
}
.footer-band {
  width: 100%;
  height: 160px;
  overflow: hidden;
  background: var(--navy-mid);
}
.footer-band img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.3;
}
.footer-main {
  padding: 48px 0 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand {}
.footer-logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-logo-text span { color: var(--gold); }
.footer-desc {
  font-size: 10px;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
  margin-bottom: 20px;
  line-height: 1.4;
}
.footer-partner {
  font-size: 10px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.footer-partner-link {
  font-size: 13px;
  color: var(--gold);
  font-weight: 600;
  transition: color var(--transition);
}
.footer-partner-link:hover { color: var(--gold-light); }
.footer-col-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-link:hover { color: var(--gold); }
.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.social-icon {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.social-icon:hover { background: var(--gold); }
.social-icon svg { width: 16px; height: 16px; fill: rgba(255,255,255,0.7); }
.social-icon:hover svg { fill: var(--navy); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  text-align: center;
}
.footer-legal {
  display: none;
}
.footer-legal a {
  font-size: 11px;
  color: rgba(255,255,255,0.25);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }

/* ─── KATEGÓRIA OLDAL ───────────────────────────────────────── */
.category-header {
  background: var(--navy);
  padding: 40px 0;
  margin-bottom: 36px;
}
.category-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.category-desc {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
}
.category-count {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  margin-top: 12px;
}

/* ─── KERESÉS ───────────────────────────────────────────────── */
.search-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13,27,42,0.96);
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 120px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.search-overlay.open {
  opacity: 1;
  pointer-events: all;
}
.search-box {
  width: 100%;
  max-width: 640px;
  padding: 0 24px;
}
.search-input-wrap {
  display: flex;
  border-bottom: 2px solid var(--gold);
  gap: 12px;
  align-items: center;
}
.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--white);
  padding: 12px 0;
}
.search-input::placeholder { color: rgba(255,255,255,0.3); }
.search-close {
  color: rgba(255,255,255,0.4);
  font-size: 24px;
  cursor: pointer;
  transition: color var(--transition);
}
.search-close:hover { color: var(--gold); }
.search-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  margin-top: 16px;
  letter-spacing: 0.06em;
}

/* ─── MOBIL HAMBURGER ───────────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s ease;
}

/* ─── ANIMÁCIÓK ─────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.5s ease forwards; }
.fade-in-1 { animation-delay: 0.1s; opacity: 0; }
.fade-in-2 { animation-delay: 0.2s; opacity: 0; }
.fade-in-3 { animation-delay: 0.3s; opacity: 0; }

/* ─── FOOLDAL UJ ELRENDEZES (portfolio.hu stilus) ─────────── */
.home-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 4px;
  margin-bottom: 24px;
}
.mosaic-tile {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--navy);
  text-decoration: none;
  transition: transform 0.3s;
}
.mosaic-tile:hover { transform: scale(1.01); }
.mosaic-big { grid-column: span 2; grid-row: span 2; }
.mosaic-small { grid-column: span 1; grid-row: span 1; }
.mosaic-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;  /* bal felso sarok (logo) mindig lathato */
  transition: transform 0.6s;
}
.mosaic-tile:hover .mosaic-img { transform: scale(1.04); }
.mosaic-noimg { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%); }
.mosaic-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13,27,42,0.92) 0%, rgba(13,27,42,0.35) 55%, transparent 100%);
}
.mosaic-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  color: #fff;
}
.mosaic-big .mosaic-body { padding: 24px; }
.mosaic-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 10px;
  color: #fff;
  margin-bottom: 10px;
}
.mosaic-title {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin: 0 0 4px;
}
.mosaic-big .mosaic-title { font-size: clamp(18px, 2vw, 26px); line-height: 1.2; }
.mosaic-intro {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.7);
  margin: 6px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-strip-label {
  display: flex;
  align-items: baseline;
  margin: 8px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--navy);
}
.home-strip-label span {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.home-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}
.strip-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s;
}
.strip-card:hover { border-color: var(--gold); }
.strip-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  object-position: left top;
  display: block;
}
.strip-noimg { background: var(--navy-mid); }
.strip-body { padding: 10px 12px 14px; }
.strip-cat {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.strip-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}

.home-flow-label { margin: 12px 0 16px; padding-bottom: 6px; border-bottom: 2px solid var(--navy); }
.home-flow-label h2 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}
.home-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
.flow-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  text-decoration: none;
  transition: transform 0.2s;
}
.flow-card:hover { transform: translateY(-2px); }
.flow-img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; object-position: left top; display: block; }
.flow-noimg { background: var(--navy-mid); }
.flow-body { padding: 12px 0 14px; }
.flow-breaking {
  display: inline-block;
  background: #B91C1C;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1px 7px;
  margin-right: 6px;
}
.flow-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.flow-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
  margin: 6px 0 8px;
}
.flow-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flow-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
  align-items: center;
}
.flow-author { color: var(--navy); font-weight: 600; }
.flow-paywall {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
}
.flow-pw-premium { background: #FEF3C7; color: #92400E; }
.flow-pw-registered { background: #DBEAFE; color: #1E40AF; }

.home-pager {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  justify-content: center;
}
.home-pager a {
  padding: 8px 18px;
  border: 1px solid var(--border-mid);
  font-size: 13px;
  color: var(--text-mid);
  text-decoration: none;
  transition: all 0.2s;
}
.home-pager a:hover { border-color: var(--gold); color: var(--gold); }

.home-footer-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--navy);
}
.band-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--navy);
}
.band-title-dark { color: var(--gold); border-bottom-color: var(--gold); }
.home-newsletter-col {
  background: var(--navy);
  padding: 18px;
  color: #fff;
}
.home-newsletter-col .nl-lead {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
  margin: 0 0 12px;
}
.fresh-link {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
}
.fresh-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.fresh-title {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.35;
}
.fresh-date {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}
.topic-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.2s;
}
.topic-link:hover { color: var(--gold); }
.topic-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── UNIVERZALIS CIKK KARTYA (.tf-tile) ────────────────────── */
.tf-tile {
  display: block;
  text-decoration: none;
  background: #fff;
  transition: transform 0.2s;
}
.tf-tile:hover { transform: translateY(-2px); }
.tf-tile-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: left top;
  display: block;
  background: var(--navy-mid);
}
.tf-tile-noimg {
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
}
.tf-tile-body { padding: 10px 0 14px; }
.tf-tile-cat {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-right: 6px;
}
.tf-tile-title {
  font-family: var(--font-serif);
  color: var(--navy);
  line-height: 1.3;
  margin: 4px 0 6px;
}
.tf-tile-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.tf-tile-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-muted);
}
.tf-tile-author { color: var(--navy); font-weight: 600; }

/* Meretek: lg = nagy fo, md = normal 4-grid, sm = kicsi, xs = sorsima lista */
.tf-tile-lg .tf-tile-title { font-size: 20px; font-weight: 700; }
.tf-tile-md .tf-tile-title { font-size: 15px; font-weight: 600; }
.tf-tile-sm .tf-tile-title { font-size: 13px; font-weight: 600; }
.tf-tile-xs {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.tf-tile-xs:last-child { border-bottom: 0; padding-bottom: 0; }
.tf-tile-xs:hover { transform: none; }
.tf-tile-xs .tf-tile-img { width: 100px; }
.tf-tile-xs .tf-tile-body { padding: 0; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.tf-tile-xs .tf-tile-title { font-size: 13px; font-weight: 600; margin: 0 0 4px; }
.tf-tile-xs .tf-tile-cat { font-size: 9px; }
.tf-tile-xs .tf-tile-meta { font-size: 10px; }
.tf-tile-xs .tf-tile-author { display: none; }

/* ─── KATEGORIA SZEKCIOK (portfolio.hu stilus) ─────────────── */
.home-cat-section {
  margin: 40px 0 0;
  padding: 0;
}
.home-cat-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 3px solid var(--cat-color, var(--gold));
}
.home-cat-title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}
.home-cat-title a {
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
}
.home-cat-title a:hover { color: var(--cat-color, var(--gold)); }
.home-cat-more {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cat-color, var(--gold));
  text-decoration: none;
  transition: opacity 0.15s;
}
.home-cat-more:hover { opacity: 0.75; }

/* Layout variacok */
.cat-grid-main-list {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.cat-layout-main-list-rev .cat-grid-main-list { grid-template-columns: 1fr 2fr; }
.cat-layout-main-list-rev .cat-main-col { order: 2; }
.cat-layout-main-list-rev .cat-list-col { order: 1; }
.cat-list-col { display: flex; flex-direction: column; gap: 14px; }

.cat-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.cat-paywall {
  font-size: 9px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 20px;
}
.cat-pw-premium { background: #FEF3C7; color: #92400E; }
.cat-pw-registered { background: #DBEAFE; color: #1E40AF; }

/* ─── RESZPONZÍV ────────────────────────────────────────────── */
@media (max-width: 960px) {
  .home-grid, .article-grid {
    grid-template-columns: 1fr !important;
  }
  /* Cikk oldal sidebar-ja lathato marad, csak a cikk ala csuszik */
  .article-grid .sidebar { display: flex; margin-top: 32px; }
  .home-grid > .sidebar { display: none; }
  .featured-grid,
  .category-articles { grid-template-columns: repeat(2, 1fr) !important; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .hero-image-side { display: none; }
  .article-hero-img { max-height: 260px; }
  .category-header { padding: 24px 0; margin-bottom: 20px; }
  .category-name { font-size: 24px; }

  /* UJ FOOLDAL mobile: mozaik 2 oszlopos, nagyobb cella full-width */
  .home-mosaic {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-auto-rows: 180px;
  }
  .mosaic-big { grid-column: span 2; grid-row: span 2; }
  .home-strip { grid-template-columns: repeat(2, 1fr) !important; }
  .home-flow { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .home-footer-band { grid-template-columns: 1fr 1fr !important; gap: 20px; }
  .home-newsletter-col { grid-column: span 1; }

  /* Kategoria szekciok mobilra */
  .cat-grid-main-list,
  .cat-layout-main-list-rev .cat-grid-main-list { grid-template-columns: 1fr !important; gap: 20px; }
  .cat-layout-main-list-rev .cat-main-col { order: 1; }
  .cat-layout-main-list-rev .cat-list-col { order: 2; }
  .cat-grid-4 { grid-template-columns: repeat(2, 1fr) !important; gap: 16px; }
  .tf-tile-lg .tf-tile-title { font-size: 17px; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-title { font-size: 24px; }
  .article-headline { font-size: 22px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .featured-grid,
  .category-articles { grid-template-columns: 1fr !important; }
  :root { --sidebar-w: 100%; }
  .article-hero-img { max-height: 200px; }
  .category-name { font-size: 20px; }
  .article-breadcrumb { font-size: 11px; }

  /* UJ FOOLDAL phone: minden 1 oszlopba; big tile szelesseget 1fr-re visszuk */
  .home-mosaic {
    grid-template-columns: 1fr !important;
    grid-auto-rows: 200px;
  }
  .mosaic-big { grid-column: span 1; grid-row: span 1; }
  .mosaic-big .mosaic-title { font-size: 20px; }
  .home-strip { grid-template-columns: 1fr !important; }
  .home-flow { grid-template-columns: 1fr !important; }
  .home-footer-band { grid-template-columns: 1fr !important; }
  .home-newsletter-col { grid-column: span 1; }

  /* Kategoria szekciok phone: minden 1 oszlopba */
  .home-cat-title { font-size: 18px; }
  .cat-grid-4 { grid-template-columns: 1fr !important; }
  .tf-tile-lg .tf-tile-title { font-size: 16px; }
  .tf-tile-xs { grid-template-columns: 90px 1fr; }
  .tf-tile-xs .tf-tile-img { width: 90px; }

  /* Konteneri padding kisebb mobilon (nem nyomja le a szelet) */
  .container { padding: 0 16px; }

  /* Paywall actions: egymas ala keruljenek */
  .paywall-actions { flex-direction: column; }
  .paywall-actions .btn-register,
  .paywall-actions .btn-login-link { width: 100%; text-align: center; }
  .paywall-box { padding: 28px 20px 24px; }

  /* Auth oldalak mobilon kis padding */
  .auth-card { padding: 28px 20px !important; }
  .auth-page { padding: 24px 12px !important; }

  /* Article byline mobilon csomagolhato */
  .article-byline { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Share bar kompakt mobilon */
  .share-bar { flex-wrap: wrap; gap: 6px; }
  .share-btn { padding: 8px 12px; font-size: 11px; }

  /* Top-bar mobilon: datum pici + social off */
  .top-bar-left { font-size: 10px; }

  /* Admin mobilra - ha megnezik */
  .main .topbar { flex-wrap: wrap; gap: 12px; }

  /* Cikk tartalom font kisse kisebb */
  .article-content { font-size: 15px; }
  .article-content h2 { font-size: 20px; }
  .article-content h3 { font-size: 17px; }
}

/* ─── PRINT ─────────────────────────────────────────────────── */
@media print {
  .navbar, .top-bar, .footer, .sidebar, .ad-slot,
  .share-bar, .paywall-wall, .article-ticker-wrap { display: none !important; }
  .article-grid { grid-template-columns: 1fr; }
  .article-content { user-select: text !important; }
}
