﻿/* assets/css/style.css - FINAL COMPLETE VERSION */
:root {
  --primary: #4f46e5; /* Indigo-600 */
  --primary-glow: rgba(79, 70, 229, 0.3);
  --header-height: 64px;
  --bn-header-h: 64px;
  --ink: #0f172a;
  --mist: #eef2ff;
  --glow: #a5b4fc;
  --accent: #0f766e;
}

/* =========================================
   1. ALAPOK & HÁTTÉR
   ========================================= */
body {
  font-family: 'Sora', system-ui, -apple-system, sans-serif;
  background: radial-gradient(1200px 700px at 12% -10%, #c7d2fe 0%, #eef2ff 55%),
    radial-gradient(1100px 700px at 88% 0%, #bae6fd 0%, #eef2ff 60%),
    linear-gradient(180deg, #eef2ff 0%, #e2e8f0 100%);
  background-attachment: scroll;
  color: var(--ink);
  
  /* Fix menü miatti eltolás */
  padding-top: var(--header-height);
  display: flex; flex-direction: column; min-height: 100vh;
}

@media (min-width: 1024px) {
  body {
    background-attachment: fixed;
  }
}

.dark body {
  background-color: #0f172a;
  background-image: 
    radial-gradient(at 10% 20%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
    radial-gradient(at 90% 80%, rgba(139, 92, 246, 0.2) 0px, transparent 50%);
  color: #f8fafc;
}

/* Kijelölés színe (Extra stílus) */
::selection { background: var(--primary); color: white; }
::-moz-selection { background: var(--primary); color: white; }

/* Üveg-fejléc finom kontúrral */
#main-header-container {
  position: sticky;
  top: 0;
  z-index: 5000;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.site-header {
  position: relative;
  width: 100%;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.dark .site-header {
  background: rgba(15, 23, 42, 0.88);
  border-bottom: 1px solid rgba(51, 65, 85, 0.6);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

/* Szekcik kztti trkz */
.section-hero {
  padding: 0 0 2rem;
  position: relative; z-index: 10;
  min-height: auto;
  height: auto;
  overflow: visible;
  background: linear-gradient(180deg, #eef2ff 0%, rgba(255,255,255,0) 100%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
}
.hero-section {
  padding: 0.75rem 0 1.75rem;
  position: relative;
  z-index: 5;
  border-radius: 32px;
  overflow: hidden;
}
@media (min-width: 768px) {
  .hero-section {
    padding: 1rem 0 2rem;
  }
}
#main-content.main-stack > section {
  padding-top: 1rem;
  padding-bottom: 1rem;
}
@media (min-width: 768px) {
  #main-content.main-stack > section {
    padding-top: 1.75rem;
    padding-bottom: 1.75rem;
  }
}
 .guide-section {
   padding-top: 2.5rem;
 }
 @media (max-width: 767px) {
   .guide-section {
     padding-top: 2rem;
   }
 }
.guide-card,
.key-card {
  padding: 1.5rem;
}
@media (min-width: 768px) {
  .guide-card,
  .key-card {
    padding: 1.75rem;
  }
}
.guide-steps {
  gap: 0.6rem;
}
.key-grid {
  gap: 0.6rem;
}
.key-item {
  min-height: 96px;
}
@media (min-width: 768px) {
  .section-hero {
    padding: 0 0 1.25rem;
  }
}

.section-hero.section-hero--calc {
  padding: 1rem 0 1.5rem;
  background: transparent;
  border-bottom: 0;
}
@media (min-width: 768px) {
  .section-hero.section-hero--calc {
    padding: 1.25rem 0 1.5rem;
  }
}

.bn-topbar { padding: 0.75rem 0; }
@media (min-width: 768px) {
  .bn-topbar { padding: 1rem 0; }
}

.bn-kpi-card {
  padding: 10px 12px;
  min-height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  background: #ffffff;
  border: 1px solid rgba(241, 245, 249, 0.95);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.dark .bn-kpi-card {
  background: #0f172a;
  border-color: rgba(30, 41, 59, 0.9);
}
.bn-kpi-label {
  font-size: 10px;
  letter-spacing: .18em;
}
.bn-kpi-value {
  font-size: 22px;
  line-height: 1;
}
@media (min-width: 768px) {
}
/* =========================================
   2. FŐC?M (Header Modernizálás)
   ========================================= */
.section-hero .text-center.mb-12 {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(17px);
    -webkit-backdrop-filter: blur(15px);
    padding: 3rem;
    border-radius: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.05);
    max-width: 1000px;
    margin-left: auto; margin-right: auto;
}
.dark .section-hero .text-center.mb-12 {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.05);
}

.section-hero .inline-block.bg-emerald-100 {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(255,255,255,0.6);
    padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.dark .section-hero .inline-block.bg-emerald-100 {
    background: linear-gradient(135deg, #065f46, #047857) !important;
    color: #a7f3d0 !important; border-color: rgba(255,255,255,0.1);
}

/* =========================================
   3. KÁRTYÁK & RESULT CARD
   ========================================= */
.glass-card {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  padding: 1.25rem;
  box-shadow: 0 18px 40px -20px rgba(31, 41, 55, 0.28),
              inset 0 2px 6px rgba(255, 255, 255, 0.65);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
@media (min-width: 768px) {
  .glass-card { padding: 1.5rem; }
}
@media (min-width: 1024px) {
  .glass-card { padding: 1.75rem; }
}
.glass-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.08), inset 0 2px 4px rgba(255, 255, 255, 0.6);
}
.dark .glass-card {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

.result-card {
    background: linear-gradient(145deg, #1e1b4b 0%, #3730a3 100%);
    color: white; border-radius: 2.5rem; padding: 3.5rem 2.5rem;
    box-shadow: 0 30px 60px -15px rgba(79, 70, 229, 0.6);
    text-align: center; position: relative; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    
    /* Extra térköz alatta */
    margin-bottom: 2rem;
    
    /* Lebegő animáció */
    animation: float 6s ease-in-out infinite;
}

/* --- K?ZÉPSŐ INFORMÁCI?S KÁRTYÁK ANIMÁLÁSA --- */
.section-white .grid > div {
    background: rgba(255, 255, 255, 0.7) !important; 
    backdrop-filter: blur(15px);
    border: 2px solid #f1f5f9;
    border-radius: 2rem !important;
    padding: 2.5rem !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.dark .section-white .grid > div {
    background: rgba(30, 41, 59, 0.7) !important;
    border-color: #334155;
}
.section-white .grid > div:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.08);
    border-color: #c7d2fe;
}

/* =========================================
   4. LAYOUT GRID & TÉRKÖZÖK
   ========================================= */
.calc-grid {
  display: grid; grid-template-columns: 1fr; gap: 1.5rem; align-items: stretch;
}
@media (min-width: 1024px) {
  .calc-grid { grid-template-columns: 1.15fr 0.85fr; gap: 1.25rem; }
  .scenario-grid { grid-template-columns: 1.15fr 0.85fr; }
}

.expert-carousel {
  position: relative;
}
.expert-nav {
  position: absolute;
  top: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #1e293b;
  font-weight: 800;
  font-size: 1.6rem;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  z-index: 2;
}
.expert-nav span[aria-hidden="true"] { line-height: 1; }
.expert-nav:hover {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.18);
}
.expert-nav:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 16px 36px rgba(15, 23, 42, 0.12);
}
.expert-nav--prev { left: 0; transform: translate(-130%, -50%); }
.expert-nav--next { right: 0; transform: translate(130%, -50%); }

.expert-chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.6rem;
  width: 100%;
  justify-items: center;
}
.expert-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 34px;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(248,250,252,0.95) 100%);
  color: #334155;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.01em;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.expert-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.35);
  color: #4f46e5;
  box-shadow: 0 12px 24px rgba(79, 70, 229, 0.12);
}
.expert-chip:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2), 0 10px 20px rgba(15, 23, 42, 0.06);
}

.guide-title {
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 2vw, 2rem);
  line-height: 1.2;
}
.guide-intro {
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 58ch;
}
.guide-steps {
  gap: 0.9rem;
}
.guide-card,
.key-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.guide-step {
  padding: 0.85rem 1rem !important;
}
.guide-steps .guide-step-label {
  font-size: 0.6rem;
  opacity: 0.7;
}
.guide-steps .guide-step-text {
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-primary {
  background: #4f46e5;
  box-shadow: 0 12px 26px -18px rgba(79, 70, 229, 0.55);
}
.guide-primary:hover {
  background: #4338ca;
  transform: translateY(-1px);
}
.key-card {
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: 0 10px 24px -22px rgba(15, 23, 42, 0.25);
}
.key-grid {
  gap: 1rem;
  align-items: stretch;
  flex: 1;
}
.key-item {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  padding: 0.85rem 1rem !important;
}
.key-item p:nth-of-type(2) {
  font-size: 0.82rem;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.key-link {
  margin-top: auto;
}

.trust-heading {
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.75rem, 2vw, 2rem);
  line-height: 1.2;
}
.trust-body {
  font-size: 0.9rem;
  line-height: 1.6;
}
.source-grid {
  align-items: stretch;
}
.source-link {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0.2rem;
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.source-link:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.04);
}
.source-mark {
  color: #6366f1;
  font-weight: 800;
  line-height: 1.4;
}
.source-text {
  display: grid;
  gap: 0.2rem;
}
.source-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f2937;
}
.source-note {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #94a3b8;
}
.source-hint {
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.6);
  border-radius: 1.25rem;
  font-size: 0.85rem;
}
.source-hint strong {
  font-weight: 700;
}
.trust-card {
  height: 100%;
  display: grid;
  gap: 0.95rem;
  border-color: rgba(148, 163, 184, 0.2);
}
.trust-left {
  height: 100%;
}
.trust-card .trust-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 68px;
}
.trust-item + .trust-item {
  padding-top: 0.75rem;
  border-top: 1px dashed rgba(148, 163, 184, 0.25);
}
.trust-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94a3b8;
  margin-bottom: 0.4rem;
}
.trust-text {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #475569;
}

@media (max-width: 767px) {
  .expert-carousel {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .expert-chips {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    justify-items: stretch;
  }
  .expert-nav {
    position: static;
    transform: none;
    width: 100%;
    justify-content: center;
  }
  .expert-nav:hover {
    transform: translateY(-1px);
  }
  #expertCarousel { order: 1; }
  .expert-nav--prev { order: 2; }
  .expert-nav--next { order: 3; }
}

/* Workspace surface to keep calculator as primary focus */
@media (min-width: 768px) {
}

/* Jobb oldali térközök fixálása */
.right-column { display: flex; flex-direction: column; gap: 1.25rem; }
.right-column > .glass-card { margin-bottom: 0; }
.right-column .grid { gap: 1rem !important; }
.calc-left { height: 100%; }
.calc-right { height: 100%; }
.calc-left.glass-card { display: flex; flex-direction: column; }
.right-column.calc-right { height: 100%; }
.right-column.calc-right > .result-card { flex: 1; margin-bottom: 0; }
.calc-right-meta { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; }
.benefits-context { margin-top: 0.75rem; }

.result-card-compact {
  padding: 1.85rem 1.6rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.result-card-compact h3 {
  margin-bottom: 1rem;
}
.result-card-compact button {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* =========================================
   5. UI ELEMEK (Gombok, Input, Slider)
   ========================================= */

/* Input Mező (Pulzáló fókusszal) */
.input-wrapper {
    background: rgba(255,255,255,0.5);
    border: 2px solid #e2e8f0;
    border-radius: 1.25rem; padding: 0.65rem 1.25rem;
    display: flex; align-items: center; margin-bottom: 1.5rem;
    box-shadow: none;
    transition: all 0.2s;
}
.input-wrapper:focus-within {
    border-color: var(--primary); background: white;
    animation: glow-pulse 2s infinite; /* Pulzáló effekt */
}
.dark .input-wrapper { background: rgba(15, 23, 42, 0.5); border-color: #334155; }
.input-wrapper input {
    width: 100%; background: transparent; border: none; outline: none;
    text-align: right; font-size: 1.85rem; font-weight: 900; color: inherit;
}
.input-prefix {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    margin-right: 0.5rem;
    white-space: nowrap;
}

/* Range Slider */
input[type=range] { -webkit-appearance: none; background: transparent; width: 100%; cursor: pointer; margin: 2rem 0; }
input[type=range]::-webkit-slider-runnable-track {
    width: 100%; height: 10px; background: #e2e8f0; border-radius: 99px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; height: 32px; width: 32px; border-radius: 50%;
    background: white; border: 7px solid var(--primary); margin-top: -11px;
    box-shadow: 0 6px 16px var(--primary-glow), 0 0 0 3px rgba(255,255,255,0.9);
    transition: transform 0.2s, box-shadow 0.2s;
}
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
.dark input[type=range]::-webkit-slider-thumb {
    background: #0f172a;
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.35), 0 0 0 3px rgba(15, 23, 42, 0.6);
}
input[type=range]:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.45), 0 6px 16px var(--primary-glow);
}
.dark input[type=range]::-webkit-slider-runnable-track { background: #334155; }

/* Gombok */
.profile-btn {
    padding: 0.6rem 1.2rem; background: rgba(255,255,255,0.6);
    border: 2px solid #e2e8f0; border-radius: 1rem; font-size: 0.75rem;
    font-weight: 800; text-transform: uppercase; color: #64748b;
    transition: all 0.2s;
}
.dark .profile-btn { background: rgba(30, 41, 59, 0.6); border-color: #334155; color: #94a3b8; }
.profile-btn:hover { border-color: var(--primary); color: var(--primary); }
.profile-btn.active {
    background: var(--primary); color: white; border-color: var(--primary);
    box-shadow: 0 4px 15px var(--primary-glow);
}
.profile-btn.is-disabled,
.toggle-btn.is-disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    filter: saturate(0.65);
}
.profile-btn--pink {
    border-color: #f9a8d4;
    color: #9d174d;
    background: linear-gradient(180deg, #ffe4f2 0%, #ffd5eb 100%);
}
.profile-btn--pink:hover {
    border-color: #f472b6;
    color: #831843;
}
.profile-btn--pink.active {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    border-color: #db2777;
    color: #fff;
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.35);
}
.dark .profile-btn--pink {
    background: linear-gradient(180deg, rgba(236,72,153,0.25) 0%, rgba(217,70,239,0.24) 100%);
    border-color: rgba(244,114,182,0.5);
    color: #fbcfe8;
}
.quick-help-btn {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    color: #94a3b8;
    background: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.quick-help-btn:hover {
    border-color: rgba(99, 102, 241, 0.4);
    color: #6366f1;
    background: rgba(238, 242, 255, 0.8);
}
.dark .quick-help-btn {
    background: rgba(15, 23, 42, 0.65);
    border-color: rgba(71, 85, 105, 0.85);
    color: #94a3b8;
}

.toggle-btn {
    padding: 1.25rem; background: rgba(255,255,255,0.6);
    border: 2px solid #f1f5f9; border-radius: 1.25rem;
    font-weight: 700; font-size: 0.9rem; color: #334155; cursor: pointer;
    transition: all 0.2s; text-align: center; display: flex; align-items: center; justify-content: center;
    min-height: 4rem; user-select: none;
}
.dark .toggle-btn { background: rgba(30, 41, 59, 0.6); border-color: #334155; color: #e2e8f0; }
.toggle-btn:hover { border-color: var(--primary); }
.benefit-item {
    position: relative;
    display: flex;
}
.benefit-item .toggle-btn {
    width: 100%;
    padding-right: 2.6rem;
}
.benefit-help-btn {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.8rem;
    font-weight: 900;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}
.benefit-help-btn:hover { border-color: #6366f1; color: #4f46e5; background: #eef2ff; }
.benefit-help-btn:focus-visible { outline: 2px solid rgba(99, 102, 241, 0.45); outline-offset: 2px; }
.dark .benefit-help-btn {
    background: rgba(15, 23, 42, 0.9);
    border-color: #475569;
    color: #cbd5e1;
}
.toggle-btn--pink {
    border-color: #fbcfe8;
    background: linear-gradient(180deg, #ffe4f2 0%, #ffd5eb 100%);
    color: #9d174d;
}
.toggle-btn--pink:hover { border-color: #f472b6; color: #831843; }
.toggle-btn--pink.active {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%) !important;
    border-color: #db2777 !important;
    color: #ffffff !important;
    box-shadow: 0 12px 30px rgba(236, 72, 153, 0.35);
}
.toggle-btn.active {
    background-color: #eef2ff !important; border-color: var(--primary) !important;
    color: var(--primary) !important;
    box-shadow: 0 8px 20px var(--primary-glow); transform: translateY(-1px);
}
.dark .toggle-btn.active { background-color: rgba(79, 70, 229, 0.25) !important; color: white !important; }
.dark .toggle-btn--pink {
    background: linear-gradient(180deg, rgba(236,72,153,0.22) 0%, rgba(217,70,239,0.24) 100%);
    border-color: rgba(244,114,182,0.45);
    color: #fbcfe8;
}
.gyes-fixed-note {
    margin: -0.7rem 0 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(244, 114, 182, 0.35);
    background: rgba(244, 114, 182, 0.12);
    color: #fbcfe8;
    font-size: 0.74rem;
    line-height: 1.35;
    text-align: center;
}
.gyes-fixed-note strong {
    color: #f9a8d4;
    font-weight: 900;
}
.gyed-mode-note {
    margin: -0.7rem 0 1rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.8rem;
    border: 1px solid rgba(236, 72, 153, 0.35);
    background: rgba(236, 72, 153, 0.12);
    color: #fbcfe8;
    font-size: 0.74rem;
    line-height: 1.35;
    text-align: center;
}
.gyed-mode-note strong {
    color: #f9a8d4;
    font-weight: 900;
}

.mode-switch-wrapper {
    background: #f1f5f9; padding: 6px; border-radius: 1rem; display: flex; gap: 6px; border: 1px solid #e2e8f0;
}
.dark .mode-switch-wrapper { background: #0f172a; border-color: #334155; }
.mode-btn {
    flex: 1; padding: 12px; border-radius: 0.8rem; font-weight: 800;
    font-size: 0.75rem; text-transform: uppercase; color: #64748b;
    transition: all 0.2s; border: 2px solid transparent;
}
.mode-btn.active {
    background: white; color: var(--primary);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.22); border-color: var(--primary);
    font-weight: 900;
}
.dark .mode-btn.active { background: #1e293b; color: white; border-color: #334155; }
.raise-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4338ca;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.35);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  box-shadow: 0 10px 22px -18px rgba(79, 70, 229, 0.6);
  cursor: pointer;
  text-decoration: none;
}
.raise-toggle:hover { background: rgba(99, 102, 241, 0.18); }
.raise-toggle:focus-visible { outline: 3px solid rgba(79, 70, 229, 0.35); outline-offset: 3px; }
.dark .raise-toggle {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(165, 180, 252, 0.35);
  box-shadow: 0 12px 26px -18px rgba(15, 23, 42, 0.65);
}
.dark .raise-toggle:hover { background: rgba(99, 102, 241, 0.28); }

/* calculator explainer */
.calculator-explainer {
  counter-reset: explainer;
}
.calculator-explainer h3 {
  position: relative;
  margin-top: 2.1rem;
  margin-bottom: 0.35rem;
  padding-left: 2.6rem;
}
.calculator-explainer h3::before {
  counter-increment: explainer;
  content: "0" counter(explainer);
  position: absolute;
  left: 0;
  top: 0.2rem;
  width: 2rem;
  height: 1.5rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}
.calculator-explainer p {
  max-width: 86ch;
  line-height: 1.6;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  text-align: justify;
  text-justify: inter-word;
}
.calculator-explainer h2 + h3 {
  margin-top: 1.4rem;
}
.calculator-explainer h3 + p {
  margin-top: 0.55rem;
}
.calculator-explainer p + h3 {
  margin-top: 2.2rem;
}
.calculator-explainer .explainer-highlight {
  margin-top: 1.2rem;
  padding: 0.75rem 0.95rem;
  border-left: 4px solid #6366f1;
  background: rgba(99, 102, 241, 0.08);
  border-radius: 12px;
  color: #475569;
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.dark .calculator-explainer .explainer-highlight {
  border-left-color: #818cf8;
  background: rgba(129, 140, 248, 0.16);
  color: #cbd5f5;
}
.dark .calculator-explainer h3::before {
  background: rgba(129, 140, 248, 0.12);
  color: #dbe4ff;
}
.calculator-explainer h3:not(:first-of-type) {
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  padding-top: 1.1rem;
}
.dark .calculator-explainer h3:not(:first-of-type) {
  border-top-color: rgba(148, 163, 184, 0.2);
}
/* mindset-card */
.mindset-card .glass-card {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.92) 0%, rgba(248, 250, 255, 0.92) 100%);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 24px 60px -38px rgba(15, 23, 42, 0.28);
  position: relative;
}
.mindset-card .glass-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.35), rgba(14, 165, 233, 0.2));
}
.dark .mindset-card .glass-card {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.6);
}
.mindset-card .mindset-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .mindset-card .mindset-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
  }
}
.mindset-card .mindset-lead,
.mindset-card .mindset-body {
  max-width: 72ch;
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
}
.mindset-card .lead {
  font-size: 1rem;
  color: #475569;
  font-weight: 600;
}
.dark .mindset-card .lead { color: #e2e8f0; }
.mindset-card .mindset-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.mindset-card .pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #4f46e5;
  font-size: 0.7rem;
  font-weight: 700;
}
.dark .mindset-card .pill {
  background: rgba(129, 140, 248, 0.16);
  border-color: rgba(129, 140, 248, 0.3);
  color: #e0e7ff;
}
.mindset-card .keyline {
  display: inline-block;
  padding: 0.05rem 0.35rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.12);
  color: #4338ca;
  font-weight: 700;
}
.dark .mindset-card .keyline {
  background: rgba(129, 140, 248, 0.18);
  color: #e0e7ff;
}
.mindset-card .mindset-footer {
  margin-top: 1.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.dark .mindset-card .mindset-footer {
  border-top-color: rgba(51, 65, 85, 0.7);
}
.mindset-card .footer-icon {
  font-size: 0.8rem;
  color: #94a3b8;
}
@media (max-width: 640px) {
  .mindset-card .glass-card { padding: 20px; }
  .mindset-card .pill { font-size: 0.68rem; }
}

/* nav-crypto-feature */
.nav-crypto-feature {
  font-weight: 800;
  letter-spacing: 0.02em;
  border: 1px solid rgba(99, 102, 241, 0.22);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.10), rgba(245, 158, 11, 0.08));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
}

.dark .nav-crypto-feature {
  border-color: rgba(99, 102, 241, 0.30);
  background: linear-gradient(90deg, rgba(99, 102, 241, 0.18), rgba(245, 158, 11, 0.12));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.26);
}

.nav-crypto-feature:hover,
.nav-crypto-feature:focus-visible {
  border-color: rgba(99, 102, 241, 0.45);
  color: rgb(67, 56, 202);
  outline: none;
}

.dark .nav-crypto-feature:hover,
.dark .nav-crypto-feature:focus-visible {
  color: rgb(199, 210, 254);
}
.calculator-explainer .glass-card {
  padding: 20px;
}
@media (min-width: 640px) {
  .calculator-explainer .glass-card { padding: 24px; }
}
@media (min-width: 768px) {
  .calculator-explainer .glass-card { padding: 28px; }
}
.raise-panel {
  margin-top: 0.4rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.7);
}
.dark .raise-panel {
  border-color: rgba(51, 65, 85, 0.7);
  background: rgba(15, 23, 42, 0.5);
}
.raise-title {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
  margin-bottom: 0.35rem;
}
.raise-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.raise-range { flex: 1; }
.raise-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #475569;
  white-space: nowrap;
}
.details-quick {
  display: block;
  width: 100%;
  text-align: left;
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.4rem 0.6rem;
  border-radius: 0.75rem;
  color: #4f46e5;
  cursor: pointer;
  font-weight: 700;
  transition: all 0.2s ease;
}
.details-quick:hover {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(79, 70, 229, 0.35);
  text-decoration: none;
}
.details-sheet {
  height: calc(100vh - 160px);
  max-height: calc(100vh - 160px);
}
.details-body {
  flex: 1;
  scrollbar-gutter: stable;
}

/* =========================================
   6. GYIK & HÍREK & EGYÉB
   ========================================= */
details.faq-box {
    background: rgba(255,255,255,0.7); border: 1px solid #e2e8f0;
    border-radius: 1.25rem; margin-bottom: 1rem; overflow: hidden;
    transition: all 0.3s ease; backdrop-filter: blur(10px);
}
.dark details.faq-box { background: rgba(30, 41, 59, 0.7); border-color: #334155; }
summary.faq-head {
    padding: 1.5rem; cursor: pointer; font-weight: 700; font-size: 1rem;
    list-style: none; display: flex; justify-content: space-between;
    align-items: center; color: #1e293b;
}
.dark summary.faq-head { color: #f1f5f9; }
summary.faq-head::-webkit-details-marker { display: none; }
summary.faq-head span {
    font-size: 1.5rem; line-height: 1; transition: transform 0.3s;
    color: var(--primary); background: #eef2ff; width: 32px; height: 32px;
    display: flex; align-items: center; justify-content: center; border-radius: 50%;
}
.dark summary.faq-head span { background: rgba(79, 70, 229, 0.2); }
details.faq-box[open] { border-color: var(--primary); box-shadow: 0 12px 25px -10px var(--primary-glow); }
details.faq-box[open] summary.faq-head span { transform: rotate(45deg); background: var(--primary); color: white; }
details.faq-box.active { border-color: var(--primary); box-shadow: 0 12px 25px -10px var(--primary-glow); }
details.faq-box.active summary.faq-head span { transform: rotate(45deg); background: var(--primary); color: white; }
/* Inline FAQ */
.faq-grid {
    display: grid;
    gap: 1rem;
}
@media (min-width: 768px) {
    .faq-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}
.faq-item {
    background: rgba(255,255,255,0.7);
    border: 1px solid #e2e8f0;
    border-radius: 1.25rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    backdrop-filter: blur(10px);
}
.dark .faq-item { background: rgba(30, 41, 59, 0.7); border-color: #334155; }
.faq-q {
    width: 100%;
    text-align: left;
    padding: 1.1rem 1.25rem;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.98rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: #1e293b;
    background: transparent;
    border: 0;
}
.dark .faq-q { color: #f1f5f9; }
.faq-q-text { flex: 1; }
.faq-icon {
    font-size: 1.1rem;
    line-height: 1;
    color: var(--primary);
    transition: transform 0.2s ease;
}
.faq-a {
    padding: 0 1.25rem 1.1rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.25s ease, opacity 0.2s ease;
}
.dark .faq-a { color: #94a3b8; }
.faq-a-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.faq-a-cta {
    display: inline-flex;
    margin-top: 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
}
.faq-item.is-open {
    border-color: var(--primary);
    box-shadow: 0 12px 25px -10px var(--primary-glow);
}
.faq-item.is-open .faq-icon { transform: rotate(180deg); }
.faq-item.is-open .faq-a {
    max-height: 140px;
    opacity: 1;
}

/* Hirek: dontesi jellegu FAQ blokk (details alapu, visszafogott animacioval) */
.bn-faq-hub {
  margin-top: 0.25rem;
  display: grid;
  gap: 0.7rem;
}
.bn-faq-hub__item {
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.1rem;
  overflow: hidden;
  backdrop-filter: blur(10px);
}
.dark .bn-faq-hub__item { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.9); }
.bn-faq-hub__summary {
  padding: 1rem 1rem 0.9rem;
  cursor: pointer;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0.2rem 0.75rem;
  align-items: start;
  color: #0f172a;
}
.bn-faq-hub__summary::-webkit-details-marker { display: none; }
.dark .bn-faq-hub__summary { color: #f1f5f9; }
.bn-faq-hub__q {
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1.25;
}
.bn-faq-hub__preview {
  grid-column: 1 / 2;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .bn-faq-hub__preview { color: #94a3b8; }
.bn-faq-hub__chev {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
  align-self: center;
  font-size: 1.25rem;
  line-height: 1;
  color: #94a3b8;
  transform: rotate(0deg);
  transition: transform 120ms ease, color 120ms ease;
}
.dark .bn-faq-hub__chev { color: #64748b; }
.bn-faq-hub__item[open] { border-color: rgba(99, 102, 241, 0.55); box-shadow: 0 10px 22px -14px rgba(99, 102, 241, 0.35); }
.bn-faq-hub__item[open] .bn-faq-hub__chev { transform: rotate(90deg); color: rgba(79, 70, 229, 0.9); }
.bn-faq-hub__body {
  padding: 0 1rem 1rem;
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.55;
}
.dark .bn-faq-hub__body { color: #cbd5e1; }
.bn-faq-hub__a {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bn-faq-hub__calc {
  display: inline-flex;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
}
.bn-faq-hub__calc:hover { text-decoration: underline; }

/* Hírek */
.news-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}
@media (max-width: 1023px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; gap: 1rem; }
}

/* Hírek: tematikus blokkok */
.bn-topic-section {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.85);
}
.dark .bn-topic-section {
  border-top-color: rgba(51, 65, 85, 0.7);
}
.bn-topic-section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.bn-topic-head {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.85rem;
}
.bn-topic-title {
  font-size: 1.15rem;
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.dark .bn-topic-title { color: #e2e8f0; }
.bn-topic-desc {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #475569;
  max-width: 72ch;
}
.dark .bn-topic-desc { color: #94a3b8; }

.bn-topic-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.bn-topic-toggle {
  flex: none;
  margin-top: 2px;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(79, 70, 229, 0.9);
  background: rgba(99, 102, 241, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  transition: background-color 0.14s ease, border-color 0.14s ease, transform 0.14s ease;
}
.bn-topic-toggle:hover { background: rgba(99, 102, 241, 0.14); border-color: rgba(99, 102, 241, 0.28); }
.bn-topic-toggle:active { transform: scale(0.98); }
.bn-topic-toggle:focus-visible { outline: 3px solid rgba(79, 70, 229, 0.35); outline-offset: 3px; }

.bn-topic-top3 {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.7rem;
  align-items: center;
  padding-top: 0.2rem;
}
.bn-topic-top3__label {
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
}
.bn-topic-top3__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.85rem;
}
.bn-topic-top3__links a {
  font-size: 0.86rem;
  font-weight: 800;
  color: #334155;
  text-decoration: none;
}
.bn-topic-top3__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .bn-topic-top3__links a { color: rgba(226, 232, 240, 0.9); }

/* In-feed editorial break (natural breakpoint for reading + Auto Ads) */
.bn-infeed-break {
  grid-column: 1 / -1;
}
.bn-infeed-break__inner {
  position: relative;
  padding: 0.8rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(14, 165, 233, 0.05) 100%),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px -22px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}
.bn-infeed-break__inner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.85), rgba(14, 165, 233, 0.7));
  opacity: 0.55;
}
.dark .bn-infeed-break__inner {
  background:
    linear-gradient(135deg, rgba(99, 102, 241, 0.14) 0%, rgba(14, 165, 233, 0.10) 100%),
    rgba(15, 23, 42, 0.7);
  border-color: rgba(51, 65, 85, 0.75);
  box-shadow: 0 16px 34px -28px rgba(0, 0, 0, 0.72);
}
.bn-infeed-break__title {
  font-size: 0.9rem;
  font-weight: 950;
  color: #2f2a8a;
  letter-spacing: -0.01em;
}
.dark .bn-infeed-break__title {
  color: #e0e7ff;
}
.bn-infeed-break__desc {
  margin-top: 0.25rem;
  font-size: 0.86rem;
  color: #475569;
  line-height: 1.5;
}
.dark .bn-infeed-break__desc {
  color: #cbd5e1;
}
.bn-infeed-break__actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.bn-infeed-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.28rem 0.65rem;
  border-radius: 12px;
  font-weight: 850;
  font-size: 0.78rem;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease, filter .16s ease;
  flex: 0 0 auto;
  width: fit-content;
}
.bn-infeed-btn--primary {
  background: rgba(99, 102, 241, 0.12);
  color: #1e1b4b;
  border: 1px solid rgba(99, 102, 241, 0.22);
  box-shadow: 0 10px 22px -22px rgba(15, 23, 42, 0.24);
}
.bn-infeed-btn--secondary {
  background: rgba(148, 163, 184, 0.14);
  color: #334155;
  border: 1px solid rgba(148, 163, 184, 0.35);
}
.bn-infeed-btn--primary:hover {
  filter: brightness(0.99);
  border-color: rgba(99, 102, 241, 0.32);
  box-shadow: 0 14px 26px -24px rgba(15, 23, 42, 0.28);
}
.bn-infeed-btn--secondary:hover {
  background: rgba(148, 163, 184, 0.18);
  border-color: rgba(148, 163, 184, 0.45);
  box-shadow: 0 10px 22px -24px rgba(15, 23, 42, 0.18);
}
.bn-infeed-btn:focus-visible,
.bn-infeed-break__links a:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.55);
  outline-offset: 3px;
}
.dark .bn-infeed-btn--primary {
  background: rgba(99, 102, 241, 0.22);
  color: #e0e7ff;
  border-color: rgba(165, 180, 252, 0.28);
  box-shadow: 0 18px 34px -30px rgba(0, 0, 0, 0.78);
}
.dark .bn-infeed-btn--secondary {
  background: rgba(51, 65, 85, 0.55);
  color: #e2e8f0;
  border-color: rgba(148, 163, 184, 0.22);
}
.bn-infeed-break__links {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  color: #64748b;
  font-size: 0.82rem;
}
.bn-infeed-break__links a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(100, 116, 139, 0.55);
}
.bn-infeed-break__links a:hover {
  color: #334155;
  border-bottom-color: rgba(51, 65, 85, 0.65);
}
.dark .bn-infeed-break__links {
  color: #94a3b8;
}
.dark .bn-infeed-break__links a:hover {
  color: #e2e8f0;
  border-bottom-color: rgba(148, 163, 184, 0.65);
}
@media (max-width: 640px) {
  .bn-infeed-break__actions {
    flex-direction: column;
  }
  .bn-infeed-btn {
    width: 100%;
    justify-content: center;
  }
}

/* In-feed: "Számold ki 30 mp alatt" preset card (minden 8. cikk után) */
.bn-quickcalc {
  grid-column: 1 / -1;
}
.bn-quickcalc__inner {
  padding: 0.9rem 0.9rem 0.85rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 10px 26px -22px rgba(15, 23, 42, 0.22);
  backdrop-filter: blur(8px);
}
.dark .bn-quickcalc__inner {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(148, 163, 184, 0.2);
}
.bn-quickcalc__title {
  font-weight: 950;
  letter-spacing: -0.02em;
  color: #0f172a;
}
.dark .bn-quickcalc__title { color: #e2e8f0; }
.bn-quickcalc__desc {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  line-height: 1.45;
  color: #64748b;
}
.dark .bn-quickcalc__desc { color: #94a3b8; }
.bn-quickcalc__row {
  margin-top: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  justify-content: space-between;
}
.bn-quickcalc__presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.bn-quickcalc__preset {
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #334155;
  transition: border-color 140ms ease, transform 140ms ease;
}
.bn-quickcalc__preset:hover { border-color: rgba(99, 102, 241, 0.35); }
.bn-quickcalc__preset:active { transform: scale(0.98); }
.bn-quickcalc__preset.is-active { border-color: rgba(99, 102, 241, 0.55); box-shadow: 0 10px 20px -18px rgba(99, 102, 241, 0.35); }
.dark .bn-quickcalc__preset { background: rgba(30, 41, 59, 0.65); border-color: rgba(51, 65, 85, 0.9); color: rgba(226, 232, 240, 0.95); }
.bn-quickcalc__cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  background: rgba(79, 70, 229, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.22);
  color: rgba(79, 70, 229, 0.95);
  font-size: 0.78rem;
  font-weight: 950;
  text-decoration: none;
}
.bn-quickcalc__cta:hover { background: rgba(79, 70, 229, 0.16); }
.dark .bn-quickcalc__cta { background: rgba(99, 102, 241, 0.18); border-color: rgba(165, 180, 252, 0.22); color: rgba(224, 231, 255, 0.95); }

.bn-card {
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px -14px rgba(15, 23, 42, 0.18);
}
.dark .bn-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(51, 65, 85, 0.8);
}
.bn-card-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.bn-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #475569;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.bn-chip:hover {
  border-color: rgba(99, 102, 241, 0.35);
  color: #4f46e5;
  background: rgba(99, 102, 241, 0.06);
}
.dark .bn-chip {
  color: #cbd5f5;
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(51, 65, 85, 0.85);
}
.dark .bn-chip:hover {
  color: #e0e7ff;
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.18);
}
.bn-btn-primary,
.bn-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.2rem;
  border-radius: 1rem;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.bn-btn-primary {
  color: #ffffff;
  background: #4f46e5;
  box-shadow: 0 10px 24px -16px rgba(79, 70, 229, 0.5);
}
.bn-btn-primary:hover {
  transform: translateY(-1px);
  background: #4338ca;
}
.bn-btn-secondary {
  color: #1e293b;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(226, 232, 240, 0.95);
  box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.2);
}
.bn-btn-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(99, 102, 241, 0.35);
  color: #4f46e5;
}
.bn-btn-primary:focus-visible,
.bn-btn-secondary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 10px 22px -14px rgba(15, 23, 42, 0.2);
}
.dark .bn-btn-primary {
  box-shadow: 0 10px 24px -16px rgba(99, 102, 241, 0.6);
}
.dark .bn-btn-secondary {
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.8);
  border-color: rgba(51, 65, 85, 0.85);
}
.dark .bn-btn-secondary:hover {
  color: #e0e7ff;
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.12);
}
.bn-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 32px);
  display: grid;
  gap: 1.25rem;
  padding-bottom: env(safe-area-inset-bottom);
}

/* Hirek visuals */
.bn-hero {
  position: relative;
  overflow: hidden;
}
.bn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-bg-financial.svg") center / cover no-repeat;
  opacity: 0.1;
  pointer-events: none;
}
@media (max-width: 767px) {
  .bn-hero::before { display: none; }
}
.bn-hero-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 1024px) {
  .bn-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }
}
.bn-hero-card {
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 22px 50px -28px rgba(15, 23, 42, 0.35), inset 0 2px 8px rgba(255, 255, 255, 0.7);
}
.bn-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 12% 18%, rgba(99, 102, 241, 0.18), transparent 60%),
    radial-gradient(760px 520px at 86% 10%, rgba(14, 165, 233, 0.14), transparent 60%),
    linear-gradient(140deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.6) 100%);
  opacity: 1;
  pointer-events: none;
}
.dark .bn-hero-card {
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 30px 70px -40px rgba(0, 0, 0, 0.6), inset 0 1px 8px rgba(15, 23, 42, 0.6);
}
.dark .bn-hero-card::after {
  opacity: 0.12;
}
.bn-hero-card > * {
  position: relative;
  z-index: 1;
}
.bn-mini-calc {
  display: grid;
  gap: 0.75rem;
  padding: 1.5rem;
}
.bn-intent {
  padding: 0.85rem 0.9rem;
  border-radius: 18px;
  border: 1px solid rgba(226, 232, 240, 0.85);
  background: rgba(255, 255, 255, 0.75);
}
.dark .bn-intent { border-color: rgba(51, 65, 85, 0.9); background: rgba(15, 23, 42, 0.45); }
.bn-intent-title {
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #94a3b8;
}
.bn-intent-list {
  margin-top: 0.65rem;
  display: grid;
  gap: 0.5rem;
}
.bn-intent-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.55rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease;
}
.bn-intent-item:hover { border-color: rgba(99, 102, 241, 0.35); }
.dark .bn-intent-item { border-color: rgba(51, 65, 85, 0.85); background: rgba(30, 41, 59, 0.45); }
.bn-intent-ico {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.10);
  color: rgba(79, 70, 229, 0.95);
  flex: none;
}
.dark .bn-intent-ico { background: rgba(99, 102, 241, 0.18); color: rgba(224, 231, 255, 0.95); }
.bn-intent-text { display: grid; gap: 0.15rem; min-width: 0; }
.bn-intent-label {
  font-weight: 900;
  font-size: 0.88rem;
  line-height: 1.2;
  color: #0f172a;
}
.dark .bn-intent-label { color: rgba(248, 250, 252, 0.98); }
.bn-intent-desc {
  font-size: 0.78rem;
  line-height: 1.35;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .bn-intent-desc { color: #94a3b8; }

.bn-saved {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(226, 232, 240, 0.75);
}
.dark .bn-saved { border-top-color: rgba(51, 65, 85, 0.85); }
.bn-saved-title {
  font-size: 0.7rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #94a3b8;
}
.bn-saved-list {
  margin-top: 0.55rem;
  display: grid;
  gap: 0.45rem;
}
.bn-saved-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
  align-items: center;
  padding: 0.5rem 0.6rem;
  border-radius: 14px;
  border: 1px solid rgba(226, 232, 240, 0.75);
  background: rgba(255, 255, 255, 0.7);
}
.dark .bn-saved-item { border-color: rgba(51, 65, 85, 0.85); background: rgba(30, 41, 59, 0.45); }
.bn-saved-link {
  font-size: 0.86rem;
  font-weight: 850;
  color: #334155;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bn-saved-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.dark .bn-saved-link { color: rgba(226, 232, 240, 0.95); }
.bn-saved-del {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: transparent;
  color: #64748b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  line-height: 1;
}
.bn-saved-del:hover { border-color: rgba(99, 102, 241, 0.35); color: rgba(79, 70, 229, 0.95); }
.dark .bn-saved-del { color: rgba(148, 163, 184, 0.95); border-color: rgba(51, 65, 85, 0.85); }

/* Hírek hero: teljes szélesség + feljebb húzva */
.hirek-page-card .bn-hero-wrap {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
}
.hirek-page-card .section-hero {
  padding-top: 0;
  background: transparent;
  border-bottom: 0;
}

/* Hirek hero: reduce "glass" noise */
#hirekHero .bn-hero-card::after {
  opacity: 0.35;
}
.dark #hirekHero .bn-hero-card::after {
  opacity: 0.1;
}
.bn-hero-news {
  margin-top: 1.25rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 1.25rem;
  padding: 1.25rem 1.25rem 1.15rem 1.45rem;
  backdrop-filter: blur(2px);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bn-hero-news[data-href] {
  cursor: pointer;
}
.bn-hero-value {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.65rem;
  margin: 0 0 0.55rem;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 750;
  color: rgba(71, 85, 105, 0.85);
}
.dark .bn-hero-value { color: rgba(148, 163, 184, 0.92); }
.bn-hero-value li { display: inline-flex; align-items: center; gap: 0.35rem; }
.bn-hero-value li:not(:last-child)::after { content: "·"; margin-left: 0.65rem; color: rgba(100, 116, 139, 0.7); }
.news-card.is-clickable {
  cursor: pointer;
}

.bn-hero-news::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 14px;
  bottom: 14px;
  width: 6px;
  background: linear-gradient(180deg, rgba(79, 70, 229, 0.9) 0%, rgba(14, 165, 233, 0.8) 100%);
  border-radius: 999px;
}
.bn-hero-news:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -22px rgba(15, 23, 42, 0.28);
}
.bn-hero-news:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.45);
  outline-offset: 4px;
}
.dark .bn-hero-news {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(51, 65, 85, 0.7);
}
.bn-hero-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.bn-hero-news-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #1e1b4b;
  font-weight: 900;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.25);
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.bn-hero-news-dot {
  font-size: 0.7rem;
  line-height: 1;
  color: #4f46e5;
}
.bn-hero-news-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  grid-template-areas: "text thumb";
  gap: 1rem;
  align-items: center;
}
.bn-hero-news-text {
  min-width: 0;
  grid-area: text;
}
.bn-hero-news-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}
.bn-hero-news-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.12);
  color: #047857;
  font-size: 0.7rem;
  font-weight: 800;
}
.bn-hero-news-date {
  font-size: 0.7rem;
  font-weight: 700;
  color: #64748b;
}
.bn-hero-news-updated {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.75rem;
  font-weight: 750;
  color: rgba(71, 85, 105, 0.92);
}
.bn-hero-news-updated::before {
  content: "Friss\u00edtve: ";
  font-weight: 650;
  color: rgba(100, 116, 139, 0.92);
}
#heroNewsDate:empty {
  display: none;
}
.bn-hero-news-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.25);
  grid-area: thumb;
}
.bn-hero-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}
.bn-hero-news:hover .bn-hero-news-thumb img {
  transform: scale(1.02);
}
.bn-hero-news-title {
  font-size: clamp(1.25rem, 1vw + 1.05rem, 1.6rem);
  font-weight: 900;
  color: #0f172a;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bn-hero-news-desc {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.bn-hero-news-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  color: #ffffff;
  background: #4f46e5;
  text-decoration: none;
  box-shadow: 0 12px 26px -20px rgba(79, 70, 229, 0.6);
}
.bn-hero-news-cta:hover { background: #4338ca; }
.bn-hero-news-title {
  margin-top: 0.1rem;
}
.bn-hero-news:hover .bn-hero-news-title {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bn-hero-news-date {
  text-transform: none;
}

/* HERO CTA – csak hírek hero */
#hirekHero .bn-btn-primary,
#hirekHero .bn-btn-secondary{
  padding: 0.55rem 0.95rem;
  font-size: 0.82rem;
  border-radius: 999px;
  font-weight: 850;
}

/* Primary: premium iris (nem fekete, nem neon-kék) */
#hirekHero .bn-btn-primary{
  background: rgba(79,70,229,0.08);
  color: #2f2a8a;
  border: 1px solid rgba(79,70,229,0.26);
  box-shadow: 0 12px 26px -22px rgba(15,23,42,0.18);
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease, border-color .16s ease;
}
#hirekHero .bn-btn-primary:hover{
  transform: translateY(-1px);
  background: rgba(79,70,229,0.12);
  border-color: rgba(79,70,229,0.32);
  box-shadow: 0 18px 34px -26px rgba(15,23,42,0.22);
}

/* Secondary: soft glass */
#hirekHero .bn-btn-secondary{
  background: rgba(255,255,255,0.82);
  color: #0f172a;
  border: 1px solid rgba(148,163,184,0.55);
  transition: transform .16s ease, border-color .16s ease, background-color .16s ease;
}
#hirekHero .bn-btn-secondary:hover{
  transform: translateY(-1px);
  border-color: rgba(51,65,85,0.45);
  background: rgba(255,255,255,0.95);
}

/* Focus (ne fekete outline legyen) */
#hirekHero .bn-btn-primary:focus-visible,
#hirekHero .bn-btn-secondary:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.18), 0 12px 24px -20px rgba(15,23,42,0.18);
}

/* Spotlight CTA – ne legyen harsány */
.bn-hero-news-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 900;
  color: #2f2a8a;
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(79,70,229,0.28);
  text-decoration: none;
  box-shadow: 0 12px 26px -22px rgba(15,23,42,0.18);
  transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.bn-hero-news-cta:hover{
  transform: translateY(-1px);
  background: rgba(79,70,229,0.10);
  border-color: rgba(79,70,229,0.34);
  box-shadow: 0 18px 34px -26px rgba(15,23,42,0.22);
}
.bn-hero-news-cta:focus-visible{
  outline: none;
  box-shadow: 0 0 0 4px rgba(79,70,229,0.18), 0 18px 34px -26px rgba(15,23,42,0.22);
}
@media (max-width: 768px) {
  .bn-hero-news-body {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "thumb";
  }
  .bn-hero-news-thumb {
    box-shadow: none;
  }
  .bn-hero-news-cta {
    width: 100%;
    min-height: 48px;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
  .bn-hero-news {
    backdrop-filter: none;
  }
}
.dark .bn-hero-news-title {
  color: #e2e8f0;
}
.dark .bn-hero-news-desc {
  color: #94a3b8;
}
.bn-search-row {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.35rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.9);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 8px -10px rgba(15, 23, 42, 0.35),
    0 10px 22px -18px rgba(99, 102, 241, 0.18),
    0 0 28px -20px rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
}
.dark .bn-search-row {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow:
    0 2px 8px -10px rgba(0, 0, 0, 0.65),
    0 10px 22px -18px rgba(99, 102, 241, 0.28),
    0 0 28px -20px rgba(255, 255, 255, 0.12);
}
.bn-search-row::before,
.bn-search-row::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 50%;
  pointer-events: none;
  z-index: 0;
}
.bn-search-row::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
}
.bn-search-row::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.4), rgba(255,255,255,0));
}
.dark .bn-search-row::before {
  background: linear-gradient(180deg, rgba(15,23,42,0.55), rgba(15,23,42,0));
}
.dark .bn-search-row::after {
  background: linear-gradient(0deg, rgba(15,23,42,0.4), rgba(15,23,42,0));
}
.bn-search-row > * {
  position: relative;
  z-index: 1;
}
.bn-search-row:focus-within {
  box-shadow:
    0 0 0 2px rgba(99, 102, 241, 0.16),
    0 2px 8px -10px rgba(15, 23, 42, 0.35),
    0 12px 24px -14px rgba(99, 102, 241, 0.28),
    0 0 32px -20px rgba(255, 255, 255, 0.95);
  border-color: rgba(99, 102, 241, 0.35);
}
.bn-search-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem 0.8rem;
}
.bn-search-row1 {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
}
.bn-hero-wrap {
  position: relative;
}
#hirekHero {
  overflow: visible;
}
.bn-search-utility {
  position: relative;
  z-index: 40;
  background: transparent;
  border: 0;
  border-radius: 12px;
  padding: 0;
  box-shadow: none;
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .bn-search-utility {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
  }
}
.bn-search-mount {
  position: relative;
  margin: 0 auto;
  display: block;
  transform: none;
}
:root {
  --bn-menu-pad: 1.5rem;
}
@media (min-width: 768px) {
  :root {
    --bn-menu-pad: 2rem;
  }
}
@media (min-width: 1024px) {
  :root {
    --bn-menu-pad: 2.5rem;
  }
}
.bn-glass {
  background: rgba(255, 255, 255, 0.7);
  border: 0;
  box-shadow: 0 18px 45px -30px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(14px) saturate(160%);
}
.bn-floating-search {
  width: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  z-index: 40;
}
#floatingSearchBar {
  transition: padding 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
#floatingSearchBar.is-sticky {
  padding: 0.55rem 0.75rem;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  position: fixed;
  top: var(--bn-sticky-top, 72px);
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, calc(100% - 2.5rem));
  z-index: 120;
}
@media (min-width: 769px) {
  .bn-floating-search {
    transition: transform 0.18s ease, box-shadow 0.18s ease;
  }
}
@media (min-width: 769px) {
  .bn-hero-wrap {
    padding-top: 0;
  }
  .bn-floating-search {
    position: relative;
    transform: none;
  }
}
@media (max-width: 768px) {
  .bn-search-mount {
    position: static;
    margin-bottom: 0.75rem;
    transform: none;
  }
  .bn-floating-search {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin-bottom: 0.75rem;
  }
}
.bn-search-main {
  display: grid;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 auto;
  width: 100%;
  grid-template-columns: minmax(0, 1fr) auto auto;
}
.bn-search-input {
  min-width: 0;
  flex: 1;
}
.bn-search-input::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  opacity: 0.55;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24'%3E%3Cpath stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M11 19a8 8 0 1 1 0-16 8 8 0 0 1 0 16Z'/%3E%3Cpath stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  pointer-events: none;
}
.bn-search-row input[type="search"] {
  border-radius: 999px;
  border-color: rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: none;
  padding-left: 2.7rem;
  padding-right: 2.35rem;
  height: 42px;
  font-size: 0.82rem;
}
.bn-search-row input[type="search"]:focus-visible {
  border-color: rgba(99, 102, 241, 0.45);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.14);
}
.bn-search-row input[type="search"]::placeholder {
  color: rgba(71, 85, 105, 0.65);
}
.bn-search-row input[type="search"]::-webkit-search-cancel-button,
.bn-search-row input[type="search"]::-webkit-search-decoration,
.bn-search-row input[type="search"]::-webkit-search-results-button,
.bn-search-row input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}
.bn-search-row .bn-btn-primary {
  border-radius: 999px;
  padding: 0 0.75rem;
  height: 30px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  background: rgba(79, 70, 229, 0.08);
  color: #2f2a8a;
  border: 1px solid rgba(79, 70, 229, 0.22);
  box-shadow: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}
.bn-search-row #news-search-btn {
  position: relative;
  color: transparent;
}
.bn-search-row #news-search-btn::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2f2a8a;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bn-search-row .bn-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: none;
  background: rgba(79, 70, 229, 0.14);
}
.bn-search-row .bn-btn-primary:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px -16px rgba(79, 70, 229, 0.4);
}
.bn-search-row .bn-btn-primary:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2), 0 14px 28px -20px rgba(79, 70, 229, 0.5);
}
.bn-search-clear {
  position: absolute;
  right: 0.55rem;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.95);
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 20px -16px rgba(15, 23, 42, 0.25);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}
.bn-search-input input:placeholder-shown + .bn-search-clear {
  opacity: 0;
  pointer-events: none;
}
.bn-search-clear:hover {
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.08);
}
.bn-search-clear:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.35);
  outline-offset: 2px;
}
.bn-sort-btn {
  border-radius: 999px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: rgba(255, 255, 255, 0.88);
  padding: 0 0.75rem;
  height: 30px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #475569;
  box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.bn-sort-btn:hover {
  border-color: rgba(99, 102, 241, 0.25);
  background: rgba(99, 102, 241, 0.05);
  transform: translateY(-1px);
}
.bn-sort-btn:active {
  transform: translateY(1px);
}
.bn-sort-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.25);
  outline-offset: 2px;
  box-shadow: inset 2px 0 0 rgba(99, 102, 241, 0.35);
}
.bn-search-row .bn-search-meta {
  font-size: 0.62rem;
  padding: 0 0.6rem;
  height: 28px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.35);
  color: #334155;
  box-shadow: none;
}
.bn-search-row .bn-search-meta,
.bn-search-row .bn-search-meta#news-search-btn::after {
  color: #334155;
}
.bn-search-row #news-search-btn.bn-search-meta::after {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.bn-search-row .bn-search-meta:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(148, 163, 184, 0.45);
  transform: translateY(-1px);
}
.bn-search-row .bn-search-meta.is-active {
  background: rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.35);
  color: #1e1b4b;
}
.bn-search-row #news-count {
  text-align: right;
  margin-top: 0;
  white-space: nowrap;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  color: #94a3b8;
}
@media (max-width: 768px) {
  #floatingSearchBar.is-sticky,
  .bn-search-row {
    padding: 0.45rem 0.6rem;
    border-radius: 20px;
    backdrop-filter: blur(12px);
  }
  .bn-search-row1,
.bn-search-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "input input"
      "primary sort";
  }
  .bn-search-input {
    grid-area: input;
  }
  .bn-search-row .bn-btn-primary,
  .bn-sort-btn {
    min-width: 0;
    height: 30px;
  }
  .bn-search-row #news-search-btn {
    grid-area: primary;
  }
.bn-sort-btn {
    grid-area: sort;
  }
  .bn-search-row #news-search-btn::after {
    font-size: 0.6rem;
  }
.bn-search-row #news-count {
    text-align: left;
    margin-top: 0.2rem;
  }
}
@media (min-width: 1024px) {
}
.bn-mini-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #94a3b8;
}
.bn-mini-kicker {
  margin-top: 0.15rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #a1a8bd;
  font-weight: 700;
}
.bn-mini-lead {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}
.bn-mini-input {
  margin-bottom: 0;
}
.bn-mini-input input[readonly] {
  pointer-events: none;
  cursor: default;
}
.bn-mini-result {
  display: grid;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 1rem;
  padding: 0.75rem 0.9rem;
}
.bn-mini-result-label {
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #64748b;
}
.bn-mini-result-value {
  font-size: 1.25rem;
  font-weight: 900;
  color: #1e293b;
}
.bn-mini-input input {
  font-size: 1.05rem;
}
.bn-mini-input input[readonly] {
  user-select: none;
}
.bn-mini-insight {
  margin-top: 0.45rem;
  font-size: 0.78rem;
  color: #64748b;
}
.bn-mini-note {
  font-size: 0.78rem;
  color: #64748b;
  line-height: 1.4;
}
.bn-mini-cta {
  width: 100%;
  justify-content: center;
  height: 34px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: 14px;
  background: linear-gradient(180deg, #e0e7ff 0%, #c7d2fe 100%);
  color: #1e1b4b;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 6px 16px -12px rgba(79, 70, 229, 0.3);
}
.bn-mini-cta:hover {
  filter: brightness(1.03);
}
.bn-mini-calc {
  position: sticky;
  top: 100px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 16px 36px -28px rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(14px);
}
.dark .bn-mini-calc {
  border-color: rgba(148, 163, 184, 0.2);
  background: rgba(15, 23, 42, 0.55);
}
.bn-mini-calc .bn-mini-cta {
  animation: none;
}
.bn-mini-presets {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  margin: 0.4rem 0 0.2rem;
}
.bn-mini-preset {
  flex: 1 1 0;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.8);
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}
.bn-mini-preset.is-active {
  background: rgba(99, 102, 241, 0.04);
  border-color: rgba(148, 163, 184, 0.45);
  color: #374151;
}
.bn-mini-preset:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(148, 163, 184, 0.5);
}
.bn-mini-link {
  margin-top: 0.55rem;
  font-size: 0.78rem;
  color: #4f46e5;
  text-decoration: none;
}
.bn-mini-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
@keyframes bn-mini-pulse {
  0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.35); }
  70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
  100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}
@media (min-width: 1024px) {
}
.dark .bn-mini-result {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.35);
}
.dark .bn-mini-result-value {
  color: #e2e8f0;
}
@media (max-width: 767px) {
}
@media (max-width: 767px) {
}
.bn-popular {
  position: relative;
  overflow: hidden;
}
.bn-popular::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(99, 102, 241, 0.08), rgba(99, 102, 241, 0.08) 1px, transparent 1px, transparent 16px),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.08), rgba(148, 163, 184, 0.08) 1px, transparent 1px, transparent 18px);
  opacity: 0.06;
  pointer-events: none;
}
.bn-popular ul { list-style: none; padding: 0; margin: 0; }
.bn-popular .bn-chip {
  text-transform: none;
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #334155;
}
.dark .bn-popular .bn-chip { color: #e2e8f0; }

/* Hírek: "Népszerű most" editorial click-driver (chips helyett) */
.bn-popular-card .bn-popular-lead {
  margin-top: -0.25rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: #64748b;
}
.dark .bn-popular-card .bn-popular-lead { color: #94a3b8; }
.bn-popular-card .bn-popular-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.bn-popular-card .bn-popular-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.9rem;
  padding: 0.85rem 0.9rem;
  border-radius: 1.05rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: border-color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
}
.dark .bn-popular-card .bn-popular-item { border-color: rgba(51, 65, 85, 0.9); background: rgba(30, 41, 59, 0.6); }
.bn-popular-card .bn-popular-item:hover {
  border-color: rgba(99, 102, 241, 0.55);
  box-shadow: 0 12px 22px -18px rgba(15, 23, 42, 0.45);
}
.bn-popular-card .bn-popular-text { min-width: 0; }
.bn-popular-card .bn-popular-title {
  font-weight: 900;
  font-size: 0.92rem;
  line-height: 1.25;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .bn-popular-card .bn-popular-title { color: #f8fafc; }
.bn-popular-card .bn-popular-desc {
  margin-top: 0.25rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #64748b;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .bn-popular-card .bn-popular-desc { color: #94a3b8; }
.bn-popular-card .bn-popular-cta {
  flex: none;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(79, 70, 229, 0.95);
  white-space: nowrap;
}
.dark .bn-popular-card .bn-popular-cta { color: rgba(129, 140, 248, 0.95); }
.bn-category-title {
  font-weight: 800;
  color: #1f2937;
  letter-spacing: -0.01em;
}
.dark .bn-category-title { color: #f8fafc; }
.bn-topic-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  font-weight: 700;
  color: #334155;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}
.bn-topic-chip:hover {
  color: #4f46e5;
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.06);
}
.dark .bn-topic-chip {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(51, 65, 85, 0.85);
  color: #e2e8f0;
}
.bn-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #94a3b8;
}

.news-card {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 24px;
  box-shadow:
    0 2px 10px -10px rgba(15, 23, 42, 0.45),
    0 24px 50px -30px rgba(15, 23, 42, 0.35),
    0 10px 22px -18px rgba(99, 102, 241, 0.18),
    0 0 36px -18px rgba(99, 102, 241, 0.25),
    0 0 40px -28px rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(12px) saturate(140%);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
}
.news-card.is-clickable {
  cursor: pointer;
}

.news-card::before,
.news-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 36px;
  pointer-events: none;
  z-index: 1;
}
.news-card::before {
  top: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0));
}
.news-card::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.45), rgba(255,255,255,0));
}

.dark .news-card {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(148, 163, 184, 0.2);
  box-shadow:
    0 2px 10px -10px rgba(0, 0, 0, 0.7),
    0 24px 50px -30px rgba(0, 0, 0, 0.55),
    0 10px 22px -18px rgba(99, 102, 241, 0.28),
    0 0 36px -18px rgba(99, 102, 241, 0.35),
    0 0 40px -28px rgba(255, 255, 255, 0.12);
}
.dark .news-card::before {
  background: linear-gradient(180deg, rgba(15,23,42,0.6), rgba(15,23,42,0));
}
.dark .news-card::after {
  background: linear-gradient(0deg, rgba(15,23,42,0.5), rgba(15,23,42,0));
}
.news-card:hover {
  transform: translateY(-2px);
  box-shadow:
    0 3px 12px -10px rgba(15, 23, 42, 0.5),
    0 28px 56px -32px rgba(15, 23, 42, 0.4),
    0 14px 28px -20px rgba(99, 102, 241, 0.22),
    0 0 40px -18px rgba(99, 102, 241, 0.3),
    0 0 44px -28px rgba(255, 255, 255, 0.95);
}
.news-card:hover .news-title,
.news-card:hover .news-title a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.news-card-date {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: #94a3b8;
}


.news-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f1f5f9;
}

.news-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}
.news-card:hover .news-img-container img {
  transform: scale(1.03);
}

.news-card .news-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  margin-bottom: 0;
  background: rgba(148, 163, 184, 0.18);
  backdrop-filter: blur(4px);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #475569;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 6px 16px -12px rgba(15, 23, 42, 0.2);
  z-index: 10;
}

.bn-save-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 11;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.88);
  color: rgba(30, 41, 59, 0.9);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  transition: transform 140ms ease, border-color 140ms ease, background-color 140ms ease;
  backdrop-filter: blur(6px);
}
.bn-save-btn:hover { border-color: rgba(99, 102, 241, 0.35); }
.bn-save-btn:active { transform: scale(0.96); }
.bn-save-btn.is-saved { color: rgba(79, 70, 229, 0.95); border-color: rgba(99, 102, 241, 0.28); }
.dark .bn-save-btn { background: rgba(15, 23, 42, 0.55); border-color: rgba(51, 65, 85, 0.85); color: rgba(226, 232, 240, 0.95); }
.dark .bn-save-btn.is-saved { color: rgba(165, 180, 252, 0.95); border-color: rgba(165, 180, 252, 0.22); }

.news-content {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 0.4rem;
}

.news-badge {
  align-self: flex-start;
  margin-bottom: 0.6rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3b82f6;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.14), rgba(99, 102, 241, 0.12));
  border: 1px solid rgba(99, 102, 241, 0.25);
  position: relative;
  z-index: 1;
}
.dark .news-badge {
  color: #c7d2fe;
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.35);
}

.news-title {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  line-height: 1.25;
  font-weight: 800;
  color: #1e293b;
  letter-spacing: -0.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.dark .news-title { color: white; }
.news-title-link {
  color: inherit;
  text-decoration: none;
}
.news-title-link:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.55);
  outline-offset: 3px;
  border-radius: 12px;
}
.dark .news-title-link:focus-visible {
  outline-color: rgba(165, 180, 252, 0.75);
}
 
.news-desc {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-desc:empty::before {
  content: "R\u00f6vid \u00f6sszefoglal\u00f3 hamarosan \u2014 kattints a r\u00e9szletekhez.";
}

.news-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0.5rem 0.85rem;
  text-align: center;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #4f46e5;
  transition: all 0.2s;
  box-shadow: none;
  background: rgba(99, 102, 241, 0.12);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.news-btn:hover {
  transform: translateY(-1px);
  box-shadow: none;
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.32);
}


/* Szr gombok */
.filter-btn {
  padding: 0.42rem 0.9rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  min-height: 36px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  color: #64748b;
  transition: 0.2s;
  background: rgba(248, 250, 252, 0.9);
}
.filter-btn:hover {
  border-color: rgba(148, 163, 184, 0.6);
  color: #475569;
  background: rgba(241, 245, 249, 0.95);
}
.filter-btn:active {
  transform: translateY(1px);
}
.filter-btn:focus-visible {
  outline: 2px solid rgba(99, 102, 241, 0.2);
  outline-offset: 2px;
}
.filter-btn.active-filter {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
  box-shadow: none;
}

@media (max-width: 768px) {
  .bn-search-row1 {
    flex-direction: column;
    align-items: stretch;
  }
  .bn-search-main {
    flex-direction: column;
    align-items: stretch;
  }
  .bn-search-main .bn-btn-primary,
}


/* Tábla */
.wage-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.wage-table th { 
    text-align: left; padding: 1.25rem; font-size: 0.75rem; text-transform: uppercase;
    color: #94a3b8; border-bottom: 2px solid #f1f5f9; letter-spacing: 0.05em;
}
.wage-table td { padding: 1.25rem; border-bottom: 1px solid #f1f5f9; font-weight: 800; color: #1e293b; font-size: 1.1rem; }
.dark .wage-table td { border-color: #334155; color: white; }
.dark .wage-table th { border-color: #334155; }
.guide-card { position: relative; }
.guide-cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding-top: 0.75rem;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.9) 45%, rgba(255,255,255,1) 100%);
}
.dark .guide-cta {
  background: linear-gradient(180deg, rgba(15,23,42,0) 0%, rgba(15,23,42,0.9) 45%, rgba(15,23,42,1) 100%);
}
.fresh-chips a {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(99, 102, 241, 0.18);
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.fresh-chips a:hover {
  background: rgba(79, 70, 229, 0.14);
  border-color: rgba(99, 102, 241, 0.28);
}
.dark .fresh-chips a {
  background: rgba(99, 102, 241, 0.16);
  border-color: rgba(99, 102, 241, 0.32);
}
.dark .fresh-chips a:hover {
  background: rgba(99, 102, 241, 0.24);
}
.fresh-updates {
  display: grid;
  gap: 0.4rem;
}
.fresh-title { grid-area: title; }
.fresh-desc { grid-area: desc; }
.fresh-chips { grid-area: chips; }
.fresh-cta { grid-area: cta; }
.fresh-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.fresh-cta {
  padding: 0.45rem 1.2rem;
  font-size: 0.78rem;
  line-height: 1.1;
  white-space: nowrap;
}
.fresh-chips a {
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
}
@media (min-width: 1024px) {
  .fresh-updates {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "title cta"
      "desc cta"
      "chips cta";
    align-items: center;
    column-gap: 1rem;
  }
  .fresh-chips { flex-wrap: nowrap; }
  .fresh-cta { justify-self: end; }
}
.fresh-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px -20px rgba(79, 70, 229, 0.45);
}
.wage-table-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #4f46e5;
  background: transparent;
  border: 0;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}
.wage-table-toggle:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Ikon dobozok */
/* =========================================
   7. ANIMÁCI?K
   ========================================= */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes glow-pulse {
    0% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(79, 70, 229, 0); }
    100% { box-shadow: 0 0 0 0 rgba(79, 70, 229, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .result-card,
  .glass-card,
  .section-white .grid > div,
  .input-wrapper,
  .profile-btn,
  .toggle-btn,
  .filter-btn,
  .hero-glow::before {
    animation: none !important;
    transition: none !important;
  }
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.dark ::-webkit-scrollbar-thumb { background: #475569; }

/* A11y: látható fókuszállapot minden interaktív elemre */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(79, 70, 229, 0.55);
  outline-offset: 3px;
}

.dark button:focus-visible,
.dark a:focus-visible,
.dark input:focus-visible,
.dark select:focus-visible,
.dark textarea:focus-visible {
  outline: 3px solid rgba(99, 102, 241, 0.7);
  outline-offset: 3px;
}
/* Layout-level overrides added for the 2026 refresh */
.font-display {
  font-family: "Playfair Display", "Sora", serif;
}

.hero-glow {
  position: relative;
  isolation: isolate;
  overflow-x: hidden;
}

#kalkulator {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 9999;
  background: #111827;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 12px;
}

.skip-link:focus {
  left: 8px;
  outline: 3px solid #fbbf24;
  outline-offset: 3px;
}

.input-help { margin-top: 6px; font-size: 12px; color: #475569; }
.input-error {
  margin-top: 6px;
  font-size: 12px;
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 6px 8px;
  display: block;
}
#mainInput { border: none; outline: none; box-shadow: none; background: transparent; }
.input-wrapper.has-error { outline: 2px solid #ef4444; outline-offset: 2px; border-radius: inherit; }

.hero-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.25), transparent 55%),
    radial-gradient(circle at 80% 0%, rgba(16, 185, 129, 0.22), transparent 50%);
  z-index: -1;
  filter: blur(10px);
  pointer-events: none;
}

/* Tighten calculator section spacing */
.section-hero .max-w-6xl {
  padding-bottom: 0.05rem;
}
@media (min-width: 768px) {
  .section-hero .max-w-6xl {
    padding-bottom: 0.2rem;
  }
}
.section-hero .calc-grid {
  margin-bottom: 0;
}

/* Remove inner scroll in calculator hero */
.section-hero {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}
.section-hero .max-w-6xl,
.section-hero .calc-grid {
  min-height: 0 !important;
  height: auto !important;
  overflow: visible !important;
}

/* Hero summary card */
/* Compact hero layout */
.hero-compact {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 0.75rem;
}
/* Hero summary card (compact) */
/* Page shell + card */
.page-shell {
  padding: 2.5rem 1.25rem 3.5rem;
  background: transparent;
}
.hirek-shell {
  padding: 2.5rem 1.25rem 3.5rem;
  margin: 0;
  width: auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
@media (min-width: 768px) {
  .page-shell { padding: 3.5rem 2rem 4rem; }
  .hirek-shell { padding: 3.5rem 2rem 4rem; }
}
@media (min-width: 1024px) {
  .page-shell { padding: 4rem 2.5rem 5rem; }
  .hirek-shell { padding: 4rem 2.5rem 5rem; }
}

.page-card {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.7) 100%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 32px;
  padding: 1.5rem;
  box-shadow: 0 35px 90px -45px rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.hirek-layout {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}
.hirek-layout .page-card {
  width: 100%;
  margin: 0 auto;
}
.bn-mini-calc--outside {
  width: 320px;
  position: absolute;
  top: 0.5rem;
  right: -360px;
  z-index: 5;
}
@media (min-width: 1024px) {
  .bn-mini-calc--outside {
    position: fixed;
    top: 96px;
    right: auto;
    left: min(calc(100% - 320px - 16px), calc(50% + 600px + 40px));
  }
}
@media (min-width: 768px) {
  .page-card { padding: 2rem; }
}
@media (min-width: 1024px) {
  .page-card { padding: 2.5rem; }
}

.bn-sticky-cta {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  z-index: 120;
}
.bn-sticky-cta.is-hidden {
  display: none;
}
@media (min-width: 768px) {
  .bn-sticky-cta {
    left: auto;
    right: max(16px, calc((100vw - 1152px) / 2 + 16px));
    bottom: 24px;
  }
}
.bn-sticky-restore {
  position: fixed;
  right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 72px);
  z-index: 121;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid #fbcfe8;
  background: linear-gradient(180deg, #ffe4f2 0%, #ffd5eb 100%);
  color: #9d174d;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(236, 72, 153, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.bn-sticky-restore:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 34px rgba(236, 72, 153, 0.3);
}
.bn-sticky-restore.is-visible {
  display: inline-flex;
}
.bn-sticky-restore .icon {
  font-size: 18px;
  line-height: 1;
}
@media (min-width: 768px) {
  .bn-sticky-restore {
    right: max(16px, calc((100vw - 1152px) / 2 + 16px));
    bottom: 24px;
  }
}

#main-content {
  background: linear-gradient(180deg, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0.08) 100%);
  border-radius: 24px;
  padding-top: 0;
  padding-bottom: 1.5rem;
}
.dark .page-card {
  background: rgba(15, 23, 42, 0.7);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.6);
}

/* Page card full-height framing */
.page-shell {
  min-height: 100vh;
  background: transparent;
}
.page-card {
  width: 100%;
  overflow: hidden;
  min-height: calc(100vh - 5rem);
}
.hirek-page-card {
  overflow: visible;
  padding-top: 0;
}
@media (min-width: 768px) {
  .page-card { min-height: calc(100vh - 7rem); }
}
@media (min-width: 1024px) {
  .page-card { min-height: calc(100vh - 8rem); }
}

/* Result ring (match reference) */
.result-ring {
  width: 200px;
  height: 200px;
  margin: 0 auto 1.5rem;
  position: relative;
  display: grid;
  place-items: center;
}
.result-ring__svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  shape-rendering: geometricPrecision;
  display: block;
}
.result-ring__track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 12;
  stroke-linecap: round;
}
.result-ring__progress {
  fill: none;
  stroke: url(#ringAccent);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 0 0;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 6px 8px rgba(99, 102, 241, 0.35));
  transition: stroke-dashoffset 0.3s ease-out, stroke 0.3s ease-out;
}
.result-ring__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.result-ring__value {
  font-size: 2.5rem;
  font-weight: 900;
  color: #f8fafc;
}
.result-ring__caption {
  margin-top: 0.35rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(226, 232, 240, 0.8);
}

@media (min-width: 768px) {
  .result-ring { width: 220px; height: 220px; }
  .result-ring__value { font-size: 2.75rem; }
}


 

.right-column .result-card { position: static; }
@media (min-width: 1024px) {
  .calc-right { align-self: start; position: sticky; top: 96px; }
}

.num-tabular { font-variant-numeric: tabular-nums; }

.kpi-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; align-items: stretch; }
.kpi-item { display: flex; flex-direction: column; gap: 0.35rem; min-width: 0; min-height: 56px; justify-content: center; }
.kpi-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.18em; color: #94a3b8; font-weight: 700; }
.kpi-value { font-size: clamp(0.85rem, 1.1vw, 1.05rem); font-weight: 800; color: #0f172a; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -0.01em; }
.result-card-compact .kpi-label { color: rgba(226, 232, 240, 0.7); }
.result-card-compact .kpi-value { color: #f8fafc; }

.benefits-context { display: none; }
.is-benefits-open .benefits-context { display: block; }
.benefits-context {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(226,232,240,0.9);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 12px 28px -20px rgba(15, 23, 42, 0.2);
}
.dark .benefits-context {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(51, 65, 85, 0.7);
}

.right-rail { display: none; }
.right-rail.is-hidden { display: none; }
@media (min-width: 1024px) {
  .right-rail {
    display: block;
    width: 340px;
    position: fixed;
    top: 96px;
    z-index: 20;
  }
  .right-rail .compare-panel { max-width: 340px; }
}
.benefits-context__kicker {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 0.75rem;
}
.benefits-context__list {
  font-size: 0.8rem;
  color: #475569;
  line-height: 1.5;
  list-style: disc;
  padding-left: 1.1rem;
}
.dark .benefits-context__list { color: #cbd5f5; }
.benefits-context__list li + li { margin-top: 0.35rem; }
.benefits-context__actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.benefits-context__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: #4f46e5;
  box-shadow: 0 6px 16px -10px rgba(79, 70, 229, 0.6);
}
.benefits-context__btn:hover { background: #4338ca; }
.benefits-context__btn.is-ghost {
  background: rgba(99, 102, 241, 0.08);
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.25);
  box-shadow: none;
}
.dark .benefits-context__btn.is-ghost {
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.4);
  background: rgba(99, 102, 241, 0.15);
}

.compare-card { background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.15); }
.compare-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.compare-head h4 { font-weight: 800; font-size: 1rem; color: #0f172a; }
.compare-toggle { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #475569; }
.compare-toggle input { accent-color: #4f46e5; }
.compare-buttons { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.compare-btn { padding: 0.4rem 0.7rem; border-radius: 14px; border: 1px solid #cbd5f5; font-size: 0.72rem; font-weight: 700; color: #475569; background: #ffffff; transition: all 0.2s ease; }
.compare-btn:hover { background: #f8fafc; border-color: #c7d2fe; }
.compare-btn {
  position: relative;
}
.compare-btn.active {
  background: #eef2ff;
  color: var(--primary);
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.18);
  transform: none;
}
.dark .compare-btn.active {
  background: rgba(30, 41, 59, 0.7);
  color: #c7d2fe;
  border-color: rgba(51, 65, 85, 0.8);
  box-shadow: none;
}
.compare-panel,
.life-panel {
  height: 100%;
  min-height: 0;
}
.life-panel {
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.92) 0%, rgba(255, 255, 255, 0.9) 100%);
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 20px 45px -30px rgba(15, 23, 42, 0.35);
}
.dark .life-panel {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.6);
}
.life-grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .life-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.life-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px -18px rgba(15, 23, 42, 0.25);
  border-radius: 1.25rem;
  padding: 0.9rem 1rem;
  text-align: justify;
  text-justify: inter-word;
}
.life-card .apply-btn {
  margin-top: auto;
  align-self: flex-start;
}
.life-grid {
  gap: 0.75rem;
}
.life-card {
  height: 100%;
}
.dark .life-card {
  background: rgba(15, 23, 42, 0.45);
  border-color: rgba(51, 65, 85, 0.7);
  box-shadow: 0 10px 24px -18px rgba(0, 0, 0, 0.6);
}
.apply-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  border: 1px solid rgba(99, 102, 241, 0.35);
  background: rgba(99, 102, 241, 0.12);
  color: #4f46e5;
  font-size: 0.65rem;
  font-weight: 800;
  transition: all 0.2s ease;
}
.apply-btn:hover {
  background: rgba(99, 102, 241, 0.18);
  border-color: rgba(99, 102, 241, 0.45);
}
.dark .apply-btn {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(129, 140, 248, 0.4);
  color: #c7d2fe;
}
.js-qa-btn {
  min-width: 110px;
  text-align: center;
  justify-content: center;
}
.calc-highlight {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.35), 0 18px 40px -20px rgba(79, 70, 229, 0.25);
  transition: box-shadow 0.2s ease;
}
.compare-helper { margin-top: 0.4rem; font-size: 0.72rem; line-height: 1.4; color: #64748b; }
.compare-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0.85rem; margin-top: 0.85rem; }
.compare-col { padding: 0.75rem; border-radius: 1rem; background: rgba(255,255,255,0.75); border: 1px solid rgba(255,255,255,0.7); }
.compare-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.2em; color: #94a3b8; font-weight: 700; }
.compare-label-sub {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: #64748b;
  font-weight: 700;
}
.compare-value { font-size: 1.1rem; font-weight: 800; color: #0f172a; }
.compare-delta { display: flex; align-items: center; justify-content: space-between; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px dashed rgba(99,102,241,0.25); }
.compare-pct { font-size: 0.75rem; color: #64748b; }
.compare-apply-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: #eef2ff;
  color: #4f46e5;
  border: 1px solid rgba(99, 102, 241, 0.35);
  font-size: 0.75rem;
  font-weight: 800;
  transition: all 0.2s ease;
}
.compare-apply-btn:hover {
  background: #e0e7ff;
  border-color: rgba(79, 70, 229, 0.45);
}

.mini-tracker { display: flex; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.mini-step { display: flex; align-items: center; gap: 0.5rem; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.2em; color: #94a3b8; font-weight: 700; }
.mini-dot { width: 24px; height: 24px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; background: rgba(148,163,184,0.2); color: #64748b; font-weight: 800; font-size: 0.7rem; }
.mini-step.done { color: #4f46e5; }
.mini-step.done .mini-dot { background: #4f46e5; color: #fff; }
@media (max-width: 420px) {
  .mini-tracker { gap: 0.6rem 0.8rem; }
  .mini-step { flex: 1 1 46%; font-size: 0.62rem; letter-spacing: 0.14em; }
  .mini-step:nth-child(3) { flex-basis: 100%; }
  .mini-dot { width: 20px; height: 20px; font-size: 0.62rem; }
}

.family-panel { background: rgba(79,70,229,0.06); border: 1px solid rgba(99,102,241,0.15); border-radius: 1.5rem; padding: 1rem; }
.family-panel__summary { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.family-panel__chev { font-weight: 800; color: #4f46e5; }
.family-panel[open] .family-panel__chev { transform: rotate(45deg); }
.family-panel__body { margin-top: 1rem; }

.details-modal {
  padding: 1rem;
  padding-top: calc(var(--header-height) + 1.5rem + env(safe-area-inset-top, 0px));
}
.benefit-help-modal {
  max-height: min(86vh, 620px);
  overflow-y: auto;
}
.benefit-help-close {
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  color: #475569;
  background: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.benefit-help-close:hover { background: #eef2ff; color: #4338ca; border-color: #a5b4fc; }
.dark .benefit-help-close {
  background: rgba(15, 23, 42, 0.9);
  border-color: #475569;
  color: #cbd5e1;
}

.family-panel summary::-webkit-details-marker { display: none; }
.family-panel summary { list-style: none; }

@media (max-width: 640px) {
  .kpi-strip { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1023px) {
  .calc-grid { display: flex; flex-direction: column; }
  .calc-left { order: 1; }
  .calc-right { order: 2; }
}
@media (max-width: 1023px) {
  .bn-mini-calc--outside {
    width: 100%;
    position: static;
    margin-top: 1.5rem;
  }
}

.ad-break {
  grid-column: 1 / -1;
  height: 18px;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
  border-bottom: 1px dashed rgba(148, 163, 184, 0.15);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.2) 100%);
  display: none;
}

.bn-hirek-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.bn-toolbar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 16px;
  background: linear-gradient(90deg,
    rgba(239, 246, 255, 0.9) 0%,
    rgba(255, 255, 255, 0.95) 45%,
    rgba(255, 255, 255, 0.95) 55%,
    rgba(240, 249, 255, 0.9) 100%);
  border: 2px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 46px -26px rgba(15, 23, 42, 0.35),
    inset 0 2px 10px rgba(255, 255, 255, 0.75);
  margin-top: -30px;
  margin-bottom: 16px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px) saturate(170%);
  -webkit-backdrop-filter: blur(16px) saturate(170%);
}
.bn-toolbar-divider {
  height: 1px;
  background: rgba(226, 232, 240, 0.9);
}
.dark .bn-toolbar {
  background: rgba(15, 23, 42, 0.58);
  border-color: rgba(148, 163, 184, 0.18);
  box-shadow: 0 22px 50px -30px rgba(0, 0, 0, 0.6),
    inset 0 1px 8px rgba(15, 23, 42, 0.6);
}
.dark .bn-toolbar-divider {
  background: rgba(148, 163, 184, 0.22);
}
.bn-quick-questions {
  margin-top: 0.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}
.bn-qchip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.95);
  background: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  font-weight: 800;
  color: #334155;
  transition: border-color 140ms ease, background-color 140ms ease, transform 140ms ease;
}
.bn-qchip:hover { border-color: rgba(99, 102, 241, 0.35); }
.bn-qchip:active { transform: scale(0.98); }
.bn-qchip[aria-pressed="true"] { border-color: rgba(99, 102, 241, 0.45); background: rgba(99, 102, 241, 0.10); }
.dark .bn-qchip { background: rgba(30, 41, 59, 0.6); border-color: rgba(51, 65, 85, 0.9); color: rgba(226, 232, 240, 0.95); }
.dark .bn-qchip[aria-pressed="true"] { background: rgba(99, 102, 241, 0.16); border-color: rgba(165, 180, 252, 0.22); }
.bn-toolbar::before,
.bn-toolbar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.bn-toolbar::before {
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0) 55%);
  opacity: 1;
}
.bn-toolbar::after {
  background: linear-gradient(0deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 55%);
}
.dark .bn-toolbar::before {
  background: linear-gradient(180deg, rgba(15,23,42,0.75) 0%, rgba(15,23,42,0) 55%);
}
.dark .bn-toolbar::after {
  background: linear-gradient(0deg, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0) 55%);
}
.bn-toolbar > * {
  position: relative;
  z-index: 1;
}

.bn-quick-topics-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
}
.bn-quick-topics--row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 0;
  white-space: nowrap;
}
.bn-quick-topics--row::-webkit-scrollbar {
  display: none;
}
.bn-quick-topics--row .bn-chip {
  white-space: nowrap;
  height: 30px;
  font-size: 0.66rem;
  padding: 0 0.65rem;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease;
}
.bn-quick-topics--row .bn-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(148, 163, 184, 0.4);
}
.bn-quick-topics--row .bn-chip.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(79, 70, 229, 0.32);
  color: #2f2a8a;
}
.bn-topic-chip.is-all.is-active {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(79, 70, 229, 0.32);
  font-weight: 800;
}

/* Hirek filter chip accents (unique modern borders by topic) */
.bn-quick-topics--row .bn-topic-chip[data-filter="mind"] {
  border-color: rgba(99, 102, 241, 0.38);
  box-shadow: inset 0 0 0 1px rgba(99, 102, 241, 0.14);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="berek"] {
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: inset 0 0 0 1px rgba(14, 165, 233, 0.12);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="kripto"] {
  border-color: rgba(244, 114, 182, 0.46);
  box-shadow: inset 0 0 0 1px rgba(244, 114, 182, 0.13);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="adokedvezmeny"] {
  border-color: rgba(16, 185, 129, 0.42);
  box-shadow: inset 0 0 0 1px rgba(16, 185, 129, 0.12);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="munkajog"] {
  border-color: rgba(251, 146, 60, 0.46);
  box-shadow: inset 0 0 0 1px rgba(251, 146, 60, 0.14);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="karrier"] {
  border-color: rgba(168, 85, 247, 0.44);
  box-shadow: inset 0 0 0 1px rgba(168, 85, 247, 0.13);
}

.bn-quick-topics--row .bn-topic-chip[data-filter="mind"]:hover { border-color: rgba(99, 102, 241, 0.58); }
.bn-quick-topics--row .bn-topic-chip[data-filter="berek"]:hover { border-color: rgba(14, 165, 233, 0.62); }
.bn-quick-topics--row .bn-topic-chip[data-filter="kripto"]:hover { border-color: rgba(244, 114, 182, 0.68); }
.bn-quick-topics--row .bn-topic-chip[data-filter="adokedvezmeny"]:hover { border-color: rgba(16, 185, 129, 0.62); }
.bn-quick-topics--row .bn-topic-chip[data-filter="munkajog"]:hover { border-color: rgba(251, 146, 60, 0.66); }
.bn-quick-topics--row .bn-topic-chip[data-filter="karrier"]:hover { border-color: rgba(168, 85, 247, 0.66); }

.bn-quick-topics--row .bn-topic-chip[data-filter="mind"].is-active {
  color: rgb(67, 56, 202);
  border-color: rgba(79, 70, 229, 0.58);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.22), 0 8px 20px -16px rgba(79, 70, 229, 0.46);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="berek"].is-active {
  color: rgb(3, 105, 161);
  border-color: rgba(3, 105, 161, 0.58);
  box-shadow: inset 0 0 0 1px rgba(3, 105, 161, 0.2), 0 8px 20px -16px rgba(3, 105, 161, 0.42);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="kripto"].is-active {
  color: rgb(190, 24, 93);
  border-color: rgba(190, 24, 93, 0.58);
  box-shadow: inset 0 0 0 1px rgba(190, 24, 93, 0.2), 0 8px 20px -16px rgba(190, 24, 93, 0.44);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="adokedvezmeny"].is-active {
  color: rgb(5, 150, 105);
  border-color: rgba(5, 150, 105, 0.6);
  box-shadow: inset 0 0 0 1px rgba(5, 150, 105, 0.2), 0 8px 20px -16px rgba(5, 150, 105, 0.42);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="munkajog"].is-active {
  color: rgb(194, 65, 12);
  border-color: rgba(194, 65, 12, 0.58);
  box-shadow: inset 0 0 0 1px rgba(194, 65, 12, 0.2), 0 8px 20px -16px rgba(194, 65, 12, 0.42);
}
.bn-quick-topics--row .bn-topic-chip[data-filter="karrier"].is-active {
  color: rgb(126, 34, 206);
  border-color: rgba(126, 34, 206, 0.58);
  box-shadow: inset 0 0 0 1px rgba(126, 34, 206, 0.2), 0 8px 20px -16px rgba(126, 34, 206, 0.44);
}

@media (max-width: 640px) {
  .bn-quick-topics-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }
  .bn-quick-topics--row {
    width: 100%;
  }
}

/* =========================
   Article template
   ========================= */

.article {
  max-width: 100%;
  margin: 0 auto;
  padding: 16px;
}

.article__header { margin-bottom: 16px; }
.article__dek { font-size: 1.05rem; opacity: .9; margin-top: 8px; }

.article p, .article li { line-height: 1.75; }

.article h2 { margin-top: 28px; margin-bottom: 10px; }
.article h3 { margin-top: 18px; margin-bottom: 8px; }

.article__cta {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 14px;
  margin: 18px 0;
}

.article__cta a { font-weight: 600; text-decoration: underline; }

.callout {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 14px 0;
}

.callout--warn { border-left: 4px solid rgba(0,0,0,.7); }

.table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  margin: 14px 0;
}

.article table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.article th, .article td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  text-align: left;
}

.article th { font-weight: 700; }

.faq details {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 10px 12px;
  margin: 10px 0;
}

.faq summary { cursor: pointer; font-weight: 700; }

.dark .article__cta,
.dark .callout,
.dark .table-wrap,
.dark .faq details {
  border-color: rgba(255,255,255,.14);
}

.dark .article th,
.dark .article td {
  border-bottom-color: rgba(255,255,255,.14);
}

/* Article typography */
.article { font-size: 16px; }
.article p { margin: 0 0 14px; }
.article p + p { margin-top: 0; }
.article ul, .article ol { margin: 0 0 14px 20px; }
.article li { margin: 6px 0; }
.article a { text-underline-offset: 3px; }
.article hr { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 22px 0; }

/* Legal / references */
.legal-ref {
  font-weight: 600;
  border-bottom: 1px dotted rgba(0,0,0,.35);
  text-decoration: none;
}
.legal-ref:hover { text-decoration: underline; }

.sources {
  margin-top: 24px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.12);
}
.sources h2 { margin-top: 18px; }
.sources ul { margin-left: 18px; }

/* Footer block inside article */
.article__footer {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.12);
  font-size: .95rem;
  opacity: .92;
}
.article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 10px;
  font-size: .92rem;
  opacity: .9;
}
.badge {
  display: inline-block;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 999px;
  padding: 4px 10px;
}

/* Callout variants */
.callout--info { }
.callout--calc { }
.callout--warn { }
.callout__title { font-weight: 800; margin-bottom: 6px; }

/* Blockquote / note */
.article blockquote {
  border-left: 4px solid rgba(0,0,0,.25);
  padding: 8px 12px;
  margin: 14px 0;
  opacity: .95;
}

/* Dark mode minimal */
body.dark .article hr,
body.dark .sources,
body.dark .article__footer,
body.dark .badge,
body.dark .legal-ref,
body.dark .article blockquote,
body.dark .article th,
body.dark .article td,
body.dark .table-wrap,
body.dark .faq details,
body.dark .article__cta,
body.dark .callout,
.dark .article hr,
.dark .sources,
.dark .article__footer,
.dark .badge,
.dark .legal-ref,
.dark .article blockquote,
.dark .article th,
.dark .article td,
.dark .table-wrap,
.dark .faq details,
.dark .article__cta,
.dark .callout {
  border-color: rgba(255,255,255,.16);
}

body.dark .legal-ref,
.dark .legal-ref {
  border-bottom-color: rgba(255,255,255,.16);
}

/* CTA layout */
.article__cta { position: relative; z-index: 1; }
.cta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.cta__sub { margin: 6px 0 0; opacity: .9; }

.cta__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons (neutral, site-safe) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  text-decoration: none;
  font-weight: 700;
  line-height: 1.1;
}

.btn:hover { text-decoration: none; }

.btn--primary {
  border-color: rgba(0,0,0,.30);
}

.btn--ghost {
  font-weight: 700;
  opacity: .95;
}

/* Make sure CTA links remain clickable even if a parent has weird pointer rules */
.article__cta a { pointer-events: auto; }

/* Article template spacing overrides */
.sources { margin-bottom: 22px; }
.article__footer { margin-top: 34px; }
.article__meta { margin-top: 14px; }
.article hr { margin: 26px 0; }

/* Article typography – justified text */
.article-content p,
.article-content li,
.article-content dd {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Do NOT justify headings or UI elements */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.article-content table,
.article-content th,
.article-content td,
.article-content .btn,
.article-content .cta,
.article-content .article__meta,
.article-content .sources {
  text-align: left;
}

/* Mobile safety: avoid ugly spacing on small screens */
@media (max-width: 640px) {
  .article-content p,
  .article-content li,
  .article-content dd {
    text-align: left;
  }
}

/* =========================
   Article Typography System
   ========================= */

.article-content {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(20px, 2.2vw, 32px);
  font-size: 16px;
}

.article-content p,
.article-content li,
.article-content dd {
  line-height: 1.75;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.article-content p { margin: 0 0 14px; }
.article-content ul,
.article-content ol { margin: 0 0 14px 20px; padding: 0; }
.article-content li { margin: 6px 0; }

/* Keep utility/content cards away from edges inside long articles */
.article-content .not-prose,
.article-content .callout,
.article-content .table-wrap {
  padding-left: clamp(14px, 1.6vw, 24px);
  padding-right: clamp(14px, 1.6vw, 24px);
}

/* TOC should never inherit justified paragraph behavior */
.article-content .toc-list,
.article-content .toc-list li,
.article-content .toc-list a {
  text-align: left;
  text-justify: auto;
  hyphens: manual;
}

.article-content h1 { margin: 0 0 10px; }
.article-content h2 { margin: 28px 0 10px; }
.article-content h3 { margin: 18px 0 8px; }
.article-content h2 {
  font-size: clamp(1.28rem, 1.1rem + 0.7vw, 1.85rem);
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #0f172a;
}
.article-content h3 {
  font-size: clamp(1.08rem, 1rem + 0.35vw, 1.35rem);
  line-height: 1.35;
  font-weight: 750;
  color: #1e3a8a;
}

.article-content p {
  font-size: 1.02rem;
}

.article-content a { text-underline-offset: 3px; }
.article-content hr { border: 0; border-top: 1px solid rgba(0,0,0,.12); margin: 26px 0; }

.article-content blockquote {
  border-left: 4px solid rgba(0,0,0,.25);
  padding: 8px 12px;
  margin: 14px 0;
}

.article-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.95em;
}

/* Never justify UI / tables / headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6,
.article-content table,
.article-content th,
.article-content td,
.article-content .btn,
.article-content .cta__actions,
.article-content .article__meta,
.article-content .sources,
.article-content .related {
  text-align: left;
}

/* Mobile safety: avoid "rivers" */
@media (max-width: 640px) {
  .article-content p,
  .article-content li,
  .article-content dd {
    text-align: left;
    hyphens: manual;
  }
}

/* Dark mode minimal: only if you have a dark selector */
body.dark .article-content hr { border-top-color: rgba(255,255,255,.16); }
body.dark .article-content h2 { color: #e2e8f0; }
body.dark .article-content h3 { color: #c7d2fe; }
body.dark .article__cta,
body.dark .callout,
body.dark .table-wrap,
body.dark .faq details,
body.dark .badge { border-color: rgba(255,255,255,.16); }

/* Article footer meta badges refinement */
.article__meta .badge {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 700;
  line-height: 1.2;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.05);
}

.article__meta .badge--meta {
  color: rgba(30, 41, 59, 0.9);
}

.article__meta .badge--calc {
  border-color: rgba(15, 23, 42, 0.24);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 14px -8px rgba(15, 23, 42, 0.45);
}

.article__meta .badge--calc a {
  color: rgba(30, 64, 175, 0.95);
  font-weight: 800;
  text-decoration: none;
}

.article__meta .badge--calc a:hover {
  text-decoration: underline;
}

body.dark .article__meta .badge {
  background: rgba(30, 41, 59, 0.75);
  border-color: rgba(255, 255, 255, 0.18);
  color: rgba(226, 232, 240, 0.96);
}

body.dark .article__meta .badge--calc {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(129, 140, 248, 0.45);
}

body.dark .article__meta .badge--calc a {
  color: rgba(199, 210, 254, 0.98);
}

/* Article footer notice emphasis */
.article__footer > p {
  margin-top: 16px;
  margin-bottom: 0;
  padding: 10px 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-left: 4px solid rgba(15, 23, 42, 0.5);
  border-radius: 10px;
  background: rgba(248, 250, 252, 0.75);
  opacity: 1;
}

body.dark .article__footer > p {
  border-color: rgba(255, 255, 255, 0.16);
  border-left-color: rgba(129, 140, 248, 0.65);
  background: rgba(30, 41, 59, 0.65);
}

/* CTA links: legacy and new snippet compatibility */
.article__cta > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 6px 8px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.22);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(15, 23, 42, 0.95);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px -12px rgba(15, 23, 42, 0.55);
}

.article__cta > a:hover {
  border-color: rgba(15, 23, 42, 0.35);
  text-decoration: none;
}

.article__cta > a:first-of-type {
  border-color: rgba(30, 64, 175, 0.42);
  box-shadow: 0 10px 22px -14px rgba(30, 64, 175, 0.6);
}

body.dark .article__cta > a {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.9);
  color: rgba(226, 232, 240, 0.98);
}

body.dark .article__cta > a:first-of-type {
  border-color: rgba(129, 140, 248, 0.6);
}

/* Legacy cikk CTA block */
.cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 16px 0;
  padding: 12px;
  border: 1px solid rgba(15, 23, 42, 0.14);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.72);
}

.cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  color: rgba(15, 23, 42, 0.95);
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px -12px rgba(15, 23, 42, 0.55);
}

.cta a:hover {
  border-color: rgba(15, 23, 42, 0.35);
  text-decoration: none;
}

.cta a:first-of-type {
  border-color: rgba(30, 64, 175, 0.42);
  box-shadow: 0 10px 22px -14px rgba(30, 64, 175, 0.6);
}

body.dark .cta {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(30, 41, 59, 0.62);
}

body.dark .cta a {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(15, 23, 42, 0.9);
  color: rgba(226, 232, 240, 0.98);
}

body.dark .cta a:first-of-type {
  border-color: rgba(129, 140, 248, 0.6);
}

/* CTA tuning: lighter container, smaller buttons, stronger hover */
.article__cta.callout,
.cta {
  padding: 8px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article__cta > a,
.cta a,
.article__cta .cta__actions .btn {
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.15;
  box-shadow: 0 2px 8px -6px rgba(15, 23, 42, 0.45);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease, transform .2s ease;
}

.article__cta > a:hover,
.cta a:hover,
.article__cta .cta__actions .btn:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 70, 229, 0.45);
  box-shadow: 0 10px 20px -14px rgba(79, 70, 229, 0.8);
  background: rgba(238, 242, 255, 0.75);
}

body.dark .article__cta > a:hover,
body.dark .cta a:hover,
body.dark .article__cta .cta__actions .btn:hover {
  border-color: rgba(129, 140, 248, 0.65);
  box-shadow: 0 10px 20px -14px rgba(129, 140, 248, 0.75);
  background: rgba(30, 41, 59, 0.9);
}

/* Per-article visual system (unique palette per cikk page via CSS vars on body) */
body.article-design {
  --article-accent: #4f46e5;
  --article-accent-2: #0ea5e9;
  --article-accent-soft: rgba(79, 70, 229, 0.14);
  --article-icon: "✦";
}

body.article-design #main {
  background:
    radial-gradient(1100px 520px at 0% -10%, var(--article-accent-soft), transparent 58%),
    radial-gradient(900px 520px at 100% 0%, color-mix(in srgb, var(--article-accent-2) 15%, transparent), transparent 55%);
}

/* Keep cikk pages aligned with header container width */
body.article-design #main > .max-w-6xl {
  max-width: 1200px;
  padding-left: 1rem;
  padding-right: 1rem;
}

body.article-design .article-content > header h1::before {
  content: var(--article-icon, "✦");
  display: inline-block;
  margin-right: 0.45rem;
}

body.article-design .article-content > header > div:first-child > span:first-child {
  background: linear-gradient(135deg, var(--article-accent), var(--article-accent-2)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 14px 24px -18px color-mix(in srgb, var(--article-accent) 65%, transparent);
}

body.article-design .article-content > header > p {
  border-left-color: color-mix(in srgb, var(--article-accent) 65%, #334155) !important;
}

body.article-design .article-content h2 {
  color: color-mix(in srgb, var(--article-accent) 70%, #0f172a);
}

body.article-design .article-content h3 {
  color: color-mix(in srgb, var(--article-accent-2) 65%, #0f172a);
}

body.article-design .bn-chip {
  border-color: color-mix(in srgb, var(--article-accent) 30%, transparent);
  color: color-mix(in srgb, var(--article-accent) 75%, #0f172a);
  background: color-mix(in srgb, var(--article-accent-soft) 70%, white);
}

body.article-design .table-wrap table thead,
body.article-design .table-wrap thead {
  background: linear-gradient(135deg, var(--article-accent), var(--article-accent-2));
  color: #fff;
}

body.article-design .table-wrap {
  border-color: color-mix(in srgb, var(--article-accent) 28%, #cbd5e1);
  box-shadow: 0 18px 34px -28px color-mix(in srgb, var(--article-accent) 35%, transparent);
}

body.article-design .cta a:first-of-type,
body.article-design .article__cta > a:first-of-type {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--article-accent), var(--article-accent-2));
  box-shadow: 0 12px 24px -16px color-mix(in srgb, var(--article-accent) 55%, transparent);
}

body.article-design .cta a:hover,
body.article-design .article__cta > a:hover {
  border-color: color-mix(in srgb, var(--article-accent) 45%, #6366f1);
}

body.dark.article-design .article-content h2 {
  color: color-mix(in srgb, var(--article-accent) 58%, #e2e8f0);
}

body.dark.article-design .article-content h3 {
  color: color-mix(in srgb, var(--article-accent-2) 60%, #e2e8f0);
}


@media (min-width: 1024px) {
  .lg\:col-span-3 {
    grid-column: span 3 / span 3;
  }
}
