/* ============================================================
   T.E.S.U.A — UNIFIED ARTICLE DESIGN SYSTEM (2026-08-30)
   Single source of truth for ALL article pages (he/en/hu).
   Root of this file = site root (/article.css).
   Matches the design of the root (Hebrew) articles exactly.
   ============================================================ */
:root { --primary: #c5a47e; --primary-color: #c5a47e; --primary-dark: #a8885e; --bg: #0d0d0d; --card-bg: #161616; --text: #e0e0e0; --muted: #999; --border: #2a2a2a; }
body, .art-body, .art-hero, .art-cta-box, .art-related, .art-share, .art-table-wrap, .art-divider { margin: 0; padding: 0; box-sizing: border-box; }
body { background: var(--bg); color: var(--text); font-family: 'Heebo', sans-serif; line-height: 1.9; }

/* ===== HEADER FIX ===== */
.site-header, .site-header .container, .header-menu-content { overflow: visible !important; }

/* ===== HERO ===== */
.art-hero { position: relative; min-height: 50vh; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; background: #000; }
.art-hero img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0.4; filter: brightness(0.3); }
.art-hero-content { position: relative; z-index: 2; max-width: 900px; padding: 80px 20px; }
.art-hero-text-block { padding: 36px 40px; border-radius: 16px; }
.art-badge { display: inline-block; background: var(--primary); color: #000; font-size: 13px; font-weight: 700; padding: 5px 18px; border-radius: 20px; margin-bottom: 20px; letter-spacing: 0.5px; }
.art-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: #fff; line-height: 1.3; margin-bottom: 20px; }
.art-hero-meta { color: var(--muted); font-size: 16px; }
:root, body { --text-color: #e0e0e0; }
.art-hero-meta span { margin: 0 8px; }

/* ===== ARTICLE BODY ===== */
.art-body { max-width: 900px; margin: 0 auto; padding: 40px 20px 80px; font-size: 18px; line-height: 2; color: #d5d5d5; }
.art-body h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); color: var(--primary); margin: 60px 0 25px; font-weight: 700; line-height: 1.4; }
.art-body h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); color: #fff; margin: 40px 0 18px; font-weight: 600; }
.art-body p { margin-bottom: 22px; color: #ccc; }
.art-lead { font-size: 1.25rem; color: #eee; border-inline-start: 4px solid var(--primary); padding-inline-start: 20px; margin: 30px 0 40px; line-height: 2; }

/* ===== STEPS TIMELINE ===== */
.steps-timeline { counter-reset: step; margin: 50px 0; }
.step-item { position: relative; padding: 30px; margin-bottom: 24px; background: var(--card-bg); border-radius: 16px; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; }
.step-item:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(197,164,126,0.08); }
.step-item::before { counter-increment: step; content: counter(step); position: absolute; top: -15px; inset-inline-end: -15px; width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), #e67e22); color: #000; font-weight: 800; font-size: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(197,164,126,0.3); }
.step-item h3 { margin-top: 0 !important; font-size: 1.3rem !important; color: #fff !important; }
.step-list { padding-inline-start: 25px; margin: 15px 0; }
.step-list li { margin-bottom: 8px; line-height: 1.8; }
.step-list li::marker { color: var(--primary); }

/* ===== INFO BOXES ===== */
.info-box { border-radius: 14px; padding: 25px 28px; margin: 35px 0; font-size: 16px; line-height: 1.9; }
.info-box.tip { background: linear-gradient(135deg, rgba(46,204,113,0.08), rgba(46,204,113,0.02)); border-inline-start: 4px solid #2ecc71; color: #c8f7d9; }
.info-box.warning { background: linear-gradient(135deg, rgba(231,76,60,0.08), rgba(231,76,60,0.02)); border-inline-start: 4px solid #e74c3c; color: #f9c6c1; }
.info-box.gold { background: linear-gradient(135deg, rgba(197,164,126,0.1), rgba(197,164,126,0.03)); border-inline-start: 4px solid var(--primary); color: #f0e6d8; }
.info-box strong { display: block; margin-bottom: 8px; font-size: 15px; text-transform: uppercase; letter-spacing: 1px; }
.info-box.tip strong { color: #2ecc71; }
.info-box.warning strong { color: #e74c3c; }
.info-box.gold strong { color: var(--primary); }

/* ===== TABLES ===== */
.art-table-wrap { overflow-x: auto; margin: 35px 0; border-radius: 12px; border: 1px solid var(--border); }
.art-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 600px; }
.art-table thead th { background: rgba(197,164,126,0.12); color: var(--primary); padding: 14px 18px; text-align: start; font-weight: 600; font-size: 14px; letter-spacing: 0.3px; border-bottom: 2px solid var(--primary-dark); }
.art-table tbody td { padding: 13px 18px; border-bottom: 1px solid var(--border); color: #d0d0d0; }
.art-table tbody tr:hover { background: rgba(255,255,255,0.02); }
.art-table .val-good { color: #2ecc71; font-weight: 600; }
.art-table .val-bad { color: #e74c3c; font-weight: 600; }

/* ===== CHARTS ===== */
.chart-card { background: var(--card-bg); border-radius: 16px; padding: 15px; margin: 40px 0; border: 1px solid var(--border); }
.chart-card h3 { color: #fff; margin-bottom: 18px; font-size: 1.1rem; text-align: center; }
canvas { max-width: 100%; }

/* ===== DIVIDER ===== */
.art-divider { height: 1px; background: linear-gradient(to left, transparent, var(--border) 50%, transparent); margin: 60px 0; }

/* ===== CTA ===== */
.art-cta-box { text-align: center; background: linear-gradient(135deg, rgba(197,164,126,0.12), rgba(197,164,126,0.03)); border-radius: 20px; padding: 50px 30px; margin: 60px 0 40px; border: 1px solid rgba(197,164,126,0.2); }
.art-cta-box h2 { font-size: 2rem !important; color: var(--primary) !important; margin-bottom: 18px !important; text-align: center !important; }
.art-cta-box p { color: #ccc; max-width: 600px; margin: 0 auto 30px; text-align: center; font-size: 17px; }
.art-cta-btn { display: inline-block; background: var(--primary); color: #000; padding: 16px 45px; border-radius: 30px; font-weight: 700; font-size: 18px; text-decoration: none; transition: all 0.3s; }
.art-cta-btn:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 6px 25px rgba(197,164,126,0.25); }

/* ===== SHARE (unified 2026-08-28) ===== */
.art-share { border-top: 1px solid var(--border, #2a2a2a); padding: 30px 0; margin: 40px 0 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; justify-content: center; }
.art-share > span { color: var(--muted, #999); font-weight: 500; font-size: 15px; }
.share-icons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.share-ic { display: inline-flex; align-items: center; gap: 8px; background: #222; color: #ccc; padding: 10px 18px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; transition: all 0.2s; border: 1px solid var(--border, #2a2a2a); }
.share-ic svg { display: block; }
.share-ic:hover { background: var(--primary, #c5a47e); color: #000; border-color: var(--primary, #c5a47e); transform: translateY(-1px); }
@media print { .art-share { display: none !important; } }

/* ===== RELATED ARTICLES ===== */
.art-related { background: rgba(197,164,126,0.04); border-radius: 12px; padding: 15px; margin: 50px 0; border: 1px solid var(--border); }
.art-related h3 { color: var(--primary) !important; font-size: 1.2rem !important; margin-bottom: 15px !important; }
.art-related a { display: block; color: #ccc; padding: 8px 0; text-decoration: none; transition: color 0.2s; }
.art-related a:hover { color: var(--primary); }

/* ===== ARTICLE NAVIGATION ===== */
.article-nav { display: flex; justify-content: space-between; align-items: center; max-width: 900px; margin: 30px auto; padding: 0 20px; gap: 15px; }
.article-nav-btn, .article-nav-close { flex: 1; display: inline-flex; align-items: center; gap: 8px; background: var(--card-bg); border: 1px solid var(--border); color: #ccc; padding: 12px 10px; border-radius: 10px; text-decoration: none; transition: all 0.2s; font-size: 14px; justify-content: center; max-width: calc(33.3% - 10px); min-width: 0; }
.article-nav-btn:hover, .article-nav-close:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.article-nav-close .close-x { font-size: 18px; color: #e74c3c; font-weight: bold; }
.article-nav-btn .nav-arrow { font-size: 20px; color: var(--primary); }
.nav-label { font-weight: 500; }

/* ===== PRINT ===== */
@media print { .art-hero, .art-share, .art-cta-box, .art-related, .site-header, .site-footer-bottom { display: none !important; } .art-body { max-width: 100%; padding: 20px; } .step-item { break-inside: avoid; } }

/* ===== MOBILE ===== */
@media (max-width: 768px) { .art-lead { font-size: 1.1rem; padding-inline-start: 15px; } .step-item { padding: 20px 18px; } .info-box { padding: 18px 20px; } .art-table { font-size: 13px; } }
