/* DeFi Hungary — Útmutatók hub */

.utm-page {
    color: var(--text-primary, #e5e7eb);
    background: var(--bg-primary, #0a0a0a);
    min-height: 100vh;
}

.utm-page {
    --utm-accent: var(--accent-primary, #ff6b35);
    --utm-success: #10b981;
    --utm-text: var(--text-primary, #e5e7eb);
    --utm-text-muted: var(--text-muted, #9ca3af);
    --utm-text-dim: var(--text-secondary, #6b7280);
    --utm-bg: var(--bg-primary, #0a0a0a);
    --utm-surface: var(--bg-secondary, #111111);
    --utm-surface-2: var(--bg-tertiary, #1a1a1a);
    --utm-border: rgba(255,255,255,0.08);
    --utm-border-strong: rgba(255,255,255,0.14);
}

[data-theme="light"] .utm-page {
    --utm-text: #0f172a;
    --utm-text-muted: #475569;
    --utm-text-dim: #64748b;
    --utm-bg: #ffffff;
    --utm-surface: #f8fafc;
    --utm-surface-2: #f1f5f9;
    --utm-border: rgba(0,0,0,0.08);
    --utm-border-strong: rgba(0,0,0,0.14);
    color: #0f172a;
    background: #ffffff;
}

/* ===== HERO ===== */
.utm-hero {
    padding: 80px 0 56px;
    background:
        radial-gradient(ellipse at top, rgba(255,107,53,0.10), transparent 60%);
    border-bottom: 1px solid var(--utm-border);
}

.utm-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.utm-hero-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255,107,53,0.10);
    border: 1px solid rgba(255,107,53,0.25);
    color: var(--utm-accent);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.utm-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    color: var(--utm-text);
}

.utm-hero-sub {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--utm-text-muted);
    max-width: 620px;
    margin: 0 auto;
}

/* ===== TABS ===== */
.utm-tabs-wrap {
    padding: 32px 0 16px;
    border-bottom: 1px solid var(--utm-border);
    background: var(--utm-bg);
    position: sticky;
    top: 0;
    z-index: 50;
}

.utm-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.utm-tabs::-webkit-scrollbar { display: none; }

.utm-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    background: var(--utm-surface);
    border: 1px solid var(--utm-border);
    color: var(--utm-text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.utm-tab:hover {
    color: var(--utm-text);
    border-color: var(--utm-border-strong);
    text-decoration: none;
}

.utm-tab-active,
.utm-tab-active:hover {
    background: var(--utm-accent);
    border-color: var(--utm-accent);
    color: #ffffff;
}

.utm-tab-count {
    background: rgba(255,255,255,0.10);
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
}

.utm-tab-active .utm-tab-count {
    background: rgba(0,0,0,0.20);
}

[data-theme="light"] .utm-tab-count {
    background: rgba(0,0,0,0.08);
}

/* ===== FEATURED ===== */
.utm-featured-wrap {
    padding: 48px 0 32px;
}

.utm-section-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--utm-accent);
    margin-bottom: 14px;
}

.utm-featured {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 24px;
    background: linear-gradient(135deg, rgba(255,107,53,0.08), rgba(16,185,129,0.05));
    border: 1px solid rgba(255,107,53,0.25);
    border-radius: 18px;
    padding: 36px 36px;
    text-decoration: none;
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
    color: var(--utm-text);
}

.utm-featured:hover {
    transform: translateY(-3px);
    border-color: rgba(255,107,53,0.50);
    box-shadow: 0 16px 40px rgba(255,107,53,0.15);
    text-decoration: none;
    color: var(--utm-text);
}

.utm-featured-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--utm-text-dim);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.utm-featured-cat {
    color: var(--utm-accent);
}

.utm-featured-dot {
    opacity: 0.5;
}

.utm-featured-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    color: var(--utm-text);
}

.utm-featured-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--utm-text-muted);
    margin: 0 0 22px;
}

.utm-featured-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.utm-tag {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: var(--utm-surface);
    border: 1px solid var(--utm-border);
    font-size: 11px;
    font-weight: 600;
    color: var(--utm-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.utm-featured-action {
    font-size: 15px;
    font-weight: 700;
    color: var(--utm-accent);
}

.utm-featured-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--utm-surface);
    border-radius: 14px;
    border: 1px solid var(--utm-border);
    min-height: 200px;
}

.utm-featured-icon {
    font-size: 5rem;
    opacity: 0.6;
}

/* ===== GRID ===== */
.utm-list-wrap {
    padding: 32px 0 64px;
}

.utm-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.utm-card {
    display: flex;
    flex-direction: column;
    background: var(--utm-surface);
    border: 1px solid var(--utm-border);
    border-radius: 14px;
    padding: 24px 22px;
    text-decoration: none;
    color: var(--utm-text);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.utm-card:hover {
    transform: translateY(-2px);
    border-color: var(--utm-border-strong);
    box-shadow: 0 10px 28px rgba(0,0,0,0.18);
    text-decoration: none;
    color: var(--utm-text);
}

.utm-card-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--utm-text-dim);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.utm-card-cat {
    color: var(--utm-accent);
}

.utm-card-dot {
    opacity: 0.5;
}

.utm-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--utm-text);
    margin: 0 0 12px;
}

.utm-card-desc {
    font-size: 14px;
    line-height: 1.55;
    color: var(--utm-text-muted);
    margin: 0 0 18px;
    flex-grow: 1;
}

.utm-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--utm-border);
    font-size: 12px;
    color: var(--utm-text-dim);
}

.utm-card-arrow {
    color: var(--utm-accent);
    font-weight: 700;
}

/* ===== EMPTY STATE ===== */
.utm-empty {
    max-width: 480px;
    margin: 32px auto;
    text-align: center;
    padding: 56px 32px;
    background: var(--utm-surface);
    border: 1px solid var(--utm-border);
    border-radius: 14px;
}

.utm-empty-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.6;
}

.utm-empty-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--utm-text);
    margin-bottom: 10px;
}

.utm-empty-body {
    font-size: 14px;
    line-height: 1.6;
    color: var(--utm-text-muted);
    margin-bottom: 22px;
}

.utm-empty-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 10px;
    background: var(--utm-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.15s ease;
}

.utm-empty-btn:hover {
    background: #e85a24;
    color: #ffffff;
    text-decoration: none;
}

/* ===== BOTTOM CTA ===== */
.utm-cta-bottom {
    padding: 56px 0;
    background: var(--utm-surface);
    border-top: 1px solid var(--utm-border);
}

.utm-cta-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    max-width: 980px;
    margin: 0 auto;
}

.utm-cta-bottom-content {
    flex: 1;
}

.utm-cta-bottom-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--utm-accent);
    margin-bottom: 10px;
}

.utm-cta-bottom-title {
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--utm-text);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.utm-cta-bottom-sub {
    font-size: 14.5px;
    line-height: 1.55;
    color: var(--utm-text-muted);
    margin: 0;
    max-width: 580px;
}

.utm-cta-bottom-btn {
    padding: 14px 28px;
    border-radius: 10px;
    background: var(--utm-accent);
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.15s ease, transform 0.15s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.utm-cta-bottom-btn:hover {
    background: #e85a24;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* ===== BREADCRUMB ===== */
.utm-breadcrumb-wrap {
    padding: 20px 0 0;
    background: var(--utm-bg);
}

.utm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--utm-text-dim);
}

.utm-breadcrumb a {
    color: var(--utm-text-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.utm-breadcrumb a:hover {
    color: var(--utm-accent);
    text-decoration: none;
}

.utm-breadcrumb-sep {
    opacity: 0.4;
}

.utm-breadcrumb-current {
    color: var(--utm-text);
    font-weight: 600;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .utm-hero-title { font-size: 2.2rem; }
    .utm-featured { grid-template-columns: 1fr; padding: 28px; }
    .utm-featured-title { font-size: 1.6rem; }
    .utm-featured-visual { min-height: 140px; }
    .utm-grid { grid-template-columns: repeat(2, 1fr); }
    .utm-cta-bottom-inner { flex-direction: column; text-align: center; align-items: stretch; }
}

@media (max-width: 768px) {
    .utm-hero { padding: 56px 0 40px; }
    .utm-hero-title { font-size: 1.7rem; }
    .utm-hero-sub { font-size: 0.98rem; }
    .utm-tabs-wrap { padding: 20px 0 14px; }
    .utm-featured { padding: 22px; }
    .utm-featured-title { font-size: 1.35rem; }
    .utm-grid { grid-template-columns: 1fr; }
    .utm-cta-bottom { padding: 40px 0; }
    .utm-cta-bottom-title { font-size: 1.3rem; }
}

/* ── Tier badge a guide-kártyákon (gated útmutatók) ─────────────────────── */
.utm-badge-tier {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1;
    padding: 3px 7px;
    border-radius: 4px;
    border: 1px solid transparent;
    margin-left: 6px;
}
.utm-badge-tier--prem {
    color: #a78bfa;
    background: rgba(167,139,250,0.10);
    border-color: rgba(167,139,250,0.24);
}
.utm-badge-tier--pro {
    color: var(--dfi-gold, #ffb800);
    background: rgba(255,184,0,0.09);
    border-color: rgba(255,184,0,0.22);
}

/* ── Premium gate az útmutató-oldalakon (per-lock cut-point) ────────────────
   A partials/_premium-gate.blade.php osztályai eddig csak a news.css-ben éltek
   (--dfh-news-* változókra építve), ami a guide-oldalakon nem töltődik be.
   Ez a blokk az útmutatók palettájára igazított megfelelő: lila = Prémium
   akcent, arany CTA, --utm-* változók fallback színekkel. Csak .utm-page alatt
   hat, így a news.css-beli szabályokkal nem ütközik. */
.utm-page .premium-gate {
    position: relative;
    margin-top: -120px;      /* átfedés a szabad rész aljára → fade-teaser */
    padding-top: 120px;
    z-index: 2;
}
.utm-page .premium-gate-fade {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--utm-bg, #0a0a0a) 85%);
    pointer-events: none;
}
.utm-page .premium-gate-content {
    background: var(--utm-surface, #111111);
    border: 1px solid rgba(167,139,250,0.3);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}
.utm-page .premium-gate-badge {
    font-size: 11px;
    letter-spacing: 0.16em;
    color: #a78bfa;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 12px;
}
.utm-page .premium-gate-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--utm-text, #e5e7eb);
    line-height: 1.3;
    margin-bottom: 10px;
}
.utm-page .premium-gate-desc {
    font-size: 14px;
    color: var(--utm-text-muted, #9ca3af);
    line-height: 1.6;
    margin-bottom: 18px;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
}
.utm-page .premium-gate-features {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    display: inline-block;
    text-align: left;
}
.utm-page .premium-gate-features li {
    font-size: 13px;
    color: var(--utm-text-muted, #9ca3af);
    padding: 4px 0;
}
.utm-page .premium-gate-cta {
    display: inline-block;
    padding: 13px 28px;
    background: linear-gradient(135deg, var(--dfi-gold, #ffb800) 0%, #e6a300 100%);
    color: #0a0a0d;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255,184,0,0.25);
    transition: opacity 0.2s, transform 0.2s;
}
.utm-page .premium-gate-cta:hover {
    color: #0a0a0d;
    text-decoration: none;
    opacity: 0.95;
    transform: translateY(-1px);
}
.utm-page .premium-gate-login {
    margin-top: 14px;
    font-size: 12px;
    color: var(--utm-text-dim, #6b7280);
}
.utm-page .premium-gate-login a { color: #a78bfa; text-decoration: none; }
.utm-page .premium-gate-login a:hover { text-decoration: underline; }
.utm-page .premium-gate-pricing {
    margin-top: 10px;
    font-size: 11px;
    color: var(--utm-text-dim, #6b7280);
    letter-spacing: 0.04em;
}

