/* =========================================================
   pesawapas - Modern Personal Finance & Wealth Management Portal
   ========================================================= */

:root {
    --primary: #0e9f6e;
    --primary-dark: #057a55;
    --primary-light: #d1fae5;
    --secondary: #f59e0b;
    --secondary-dark: #d97706;
    --accent: #2563eb;

    --dark: #0f172a;
    --dark-2: #1e293b;
    --ink: #0f172a;
    --body: #475569;
    --muted: #94a3b8;
    --light: #f8fafc;
    --lighter: #f1f5f9;
    --border: #e2e8f0;
    --bg: #ffffff;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.14);
    --shadow-glow: 0 6px 24px rgba(14, 159, 110, 0.28);

    --radius: 14px;
    --radius-lg: 20px;
    --container: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--body);
    background: var(--bg);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
a { text-decoration: none; color: inherit; transition: all 0.25s ease; }
img, svg, video { max-width: 100%; height: auto; display: block; }
table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
h1, h2, h3, h4, h5 { color: var(--ink); font-weight: 700; line-height: 1.3; }

/* Focus Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid rgba(14,159,110,0.45);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Category Color Themes */
.theme-emerald { --cat-color: #0e9f6e; --cat-bg: #d1fae5; --cat-gradient: linear-gradient(135deg, #0e9f6e, #057a55); }
.theme-amber { --cat-color: #d97706; --cat-bg: #fef3c7; --cat-gradient: linear-gradient(135deg, #f59e0b, #d97706); }
.theme-blue { --cat-color: #2563eb; --cat-bg: #dbeafe; --cat-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.theme-indigo { --cat-color: #4f46e5; --cat-bg: #e0e7ff; --cat-gradient: linear-gradient(135deg, #6366f1, #4338ca); }
.theme-teal { --cat-color: #0d9488; --cat-bg: #ccfbf1; --cat-gradient: linear-gradient(135deg, #14b8a6, #0f766e); }
.theme-purple { --cat-color: #7c3aed; --cat-bg: #ede9fe; --cat-gradient: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.theme-green { --cat-color: #16a34a; --cat-bg: #dcfce7; --cat-gradient: linear-gradient(135deg, #22c55e, #15803d); }
.theme-orange { --cat-color: #ea580c; --cat-bg: #ffedd5; --cat-gradient: linear-gradient(135deg, #f97316, #c2410c); }

/* =========================================================
   1. SITE HEADER
   ========================================================= */
.site-header {
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}

.logo {
    font-size: 1.45rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 11px;
    letter-spacing: -0.5px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    box-shadow: var(--shadow-glow);
}

.logo-text { display: flex; flex-direction: column; line-height: 1.18; }
.logo-text strong { font-size: 1.25rem; letter-spacing: -0.02em; color: #fff; }
.logo-text small { font-size: 0.65rem; font-weight: 600; color: #94a3b8; letter-spacing: 0.05em; text-transform: uppercase; }

.search-form {
    display: flex;
    flex: 1;
    max-width: 420px;
    min-width: 200px;
}

.search-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: 10px 0 0 10px;
    outline: none;
    font-size: 0.9rem;
    font-family: inherit;
    transition: all 0.25s;
}

.search-form input::placeholder { color: var(--muted); }
.search-form input:focus { background: rgba(255, 255, 255, 0.14); border-color: var(--primary); }

.search-form button {
    padding: 10px 18px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.25s;
}
.search-form button:hover { background: var(--primary-dark); }

.header-right-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-cta {
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    white-space: nowrap;
}
.btn-header-cta:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-1px); }

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 8px;
    line-height: 1;
}

.nav-menu {
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-menu::-webkit-scrollbar { display: none; }

.nav-link {
    color: #cbd5e1;
    padding: 12px 18px;
    font-size: 0.92rem;
    font-weight: 500;
    white-space: nowrap;
    border-bottom: 3px solid transparent;
    position: relative;
    text-decoration: none;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: #fff; border-bottom-color: var(--primary); font-weight: 600; }

@media (max-width: 768px) {
    .header-top { flex-wrap: wrap; gap: 12px; }
    .search-form { order: 3; max-width: 100%; flex-basis: 100%; }
    .mobile-menu-btn { display: block; }
    .nav-menu { display: none; flex-direction: column; }
    .nav-menu.active { display: flex; }
    .btn-header-cta { display: none; }
}

/* =========================================================
   2. LIVE TRENDING TICKER
   ========================================================= */
.trending-ticker-bar {
    background: #0b1120;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    padding: 8px 0;
    font-size: 0.84rem;
    color: #94a3b8;
}
.ticker-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
}
.ticker-badge {
    background: rgba(14, 159, 110, 0.15);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.25);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}
.ticker-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlow 1.8s infinite;
}
@keyframes pulseGlow {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}
.ticker-content {
    display: flex;
    align-items: center;
    gap: 16px;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.ticker-content::-webkit-scrollbar { display: none; }
.ticker-item a { color: #cbd5e1; transition: color 0.2s; }
.ticker-item a:hover { color: #34d399; text-decoration: underline; }
.ticker-sep { color: #475569; }

/* =========================================================
   3. ENHANCED HERO SECTION
   ========================================================= */
.hero-enhanced {
    position: relative;
    background:
        radial-gradient(circle at 10% 20%, rgba(14, 159, 110, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 90% 30%, rgba(37, 99, 235, 0.3) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(245, 158, 11, 0.2) 0%, transparent 40%),
        linear-gradient(145deg, #090e17 0%, #0f172a 45%, #1e293b 100%);
    padding: 80px 0 100px;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.hero-content-wrap {
    max-width: 880px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    color: #6ee7b7;
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.hero-headline {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: #ffffff;
    margin-bottom: 18px;
    text-shadow: 0 2px 14px rgba(0,0,0,0.4);
}
.hero-desc {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #cbd5e1;
    max-width: 740px;
    margin: 0 auto 32px;
}
.hero-search-box {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 18px;
    padding: 10px 14px;
    max-width: 660px;
    margin: 0 auto 28px;
    box-shadow: 0 16px 36px rgba(0,0,0,0.35);
}
.hero-search-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.search-lens-icon { font-size: 1.15rem; padding-left: 8px; color: #94a3b8; }
.hero-search-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.98rem;
    font-family: inherit;
    padding: 8px 4px;
}
.hero-search-form input::placeholder { color: #94a3b8; }
.btn-hero-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}
.btn-hero-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(16, 185, 129, 0.5); }

.hero-quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 8px;
}
.tags-label { font-size: 0.76rem; color: #94a3b8; text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.hero-tag {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.2s;
}
.hero-tag:hover { background: #10b981; color: #fff; border-color: #10b981; }

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.btn-lg { padding: 13px 28px; font-size: 0.96rem; border-radius: 12px; }
.btn-hero-outline { background: rgba(255,255,255,0.08); color: #fff; border: 1.5px solid rgba(255,255,255,0.35); }
.btn-hero-outline:hover { background: rgba(255,255,255,0.18); border-color: #fff; color: #fff; transform: translateY(-2px); }

.hero-trust { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    color: #e2e8f0;
}
.trust-pill span { color: #34d399; font-weight: 800; }

/* =========================================================
   4. STATS BAND
   ========================================================= */
.stats-band-modern {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.stats-glass-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 26px 34px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.1);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.stat-col { display: flex; align-items: center; gap: 16px; }
.stat-icon-wrap {
    width: 52px; height: 52px;
    border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.45rem; flex-shrink: 0;
}
.stat-icon-green { background: #dcfce7; color: #16a34a; }
.stat-icon-amber { background: #fef3c7; color: #d97706; }
.stat-icon-blue { background: #dbeafe; color: #2563eb; }
.stat-icon-purple { background: #ede9fe; color: #7c3aed; }
.stat-info { display: flex; flex-direction: column; }
.stat-info .stat-number { font-size: 1.8rem; font-weight: 800; color: var(--ink); line-height: 1.1; letter-spacing: -0.02em; }
.stat-info .stat-label { font-size: 0.76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 3px; }

/* Common Section Header */
.section-head-modern {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}
.section-head-modern.text-center { flex-direction: column; align-items: center; text-align: center; }
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}
.section-title-modern { font-size: 2rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; line-height: 1.2; }
.section-subtext { font-size: 0.96rem; color: var(--body); max-width: 620px; margin-top: 6px; }
.view-all-link { font-size: 0.9rem; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; }
.view-all-link:hover { color: var(--primary-dark); transform: translateX(3px); }

/* =========================================================
   5. EDITORIAL SPOTLIGHT
   ========================================================= */
.editorial-spotlight-section { padding: 68px 0; background: #f8fafc; }
.spotlight-grid { display: grid; grid-template-columns: 1.55fr 1fr; gap: 30px; align-items: stretch; }
.spotlight-lead-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex; flex-direction: column;
    transition: all 0.35s ease;
}
.spotlight-lead-card:hover { transform: translateY(-4px); box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12); }
.lead-image-wrap { position: relative; height: 320px; overflow: hidden; background: #0f172a; }
.lead-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.spotlight-lead-card:hover .lead-image-wrap img { transform: scale(1.05); }
.badge-featured-tag {
    position: absolute; top: 16px; left: 16px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff; padding: 6px 14px; border-radius: 20px;
    font-size: 0.74rem; font-weight: 800; text-transform: uppercase;
    letter-spacing: 0.05em; box-shadow: 0 4px 14px rgba(217, 119, 6, 0.4);
}
.lead-content { padding: 32px; display: flex; flex-direction: column; flex: 1; }
.lead-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.category-badge-pill {
    padding: 4px 12px; border-radius: 14px;
    font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
    background: var(--cat-bg, #d1fae5);
}
.category-badge-pill a { color: var(--cat-color, #0e9f6e); }
.read-time-pill { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.lead-title { font-size: 1.65rem; font-weight: 800; line-height: 1.3; margin-bottom: 14px; letter-spacing: -0.02em; }
.lead-title a:hover { color: var(--primary); }
.lead-excerpt { color: var(--body); font-size: 0.96rem; line-height: 1.68; margin-bottom: 22px; flex: 1; }
.lead-meta-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 18px; border-top: 1px solid var(--border); flex-wrap: wrap; gap: 14px; }
.author-block { display: flex; align-items: center; gap: 10px; }
.author-meta-info { display: flex; flex-direction: column; }
.author-name { font-size: 0.86rem; color: var(--ink); font-weight: 700; }
.post-date { font-size: 0.74rem; color: var(--muted); }

/* Sidebar Trending Card */
.spotlight-sidebar-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--border);
    padding: 26px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    display: flex; flex-direction: column;
}
.sidebar-card-header { display: flex; justify-content: space-between; align-items: center; padding-bottom: 16px; border-bottom: 2px solid var(--primary-light); margin-bottom: 18px; }
.sidebar-card-header h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; }
.sidebar-header-note { font-size: 0.72rem; color: var(--muted); text-transform: uppercase; font-weight: 600; letter-spacing: 0.05em; }
.trending-list-wrap { display: flex; flex-direction: column; gap: 14px; }
.trending-list-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 12px; transition: all 0.2s ease; border: 1px solid transparent; }
.trending-list-item:hover { background: #f8fafc; border-color: var(--border); transform: translateX(3px); }
.trending-rank-num { font-size: 1.35rem; font-weight: 900; color: var(--primary); line-height: 1; min-width: 26px; padding-top: 2px; }
.trending-item-details { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.trending-item-cat a { font-size: 0.7rem; font-weight: 700; color: var(--primary-dark); text-transform: uppercase; letter-spacing: 0.04em; }
.trending-item-title { font-size: 0.92rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.trending-item-title a:hover { color: var(--primary); }
.trending-item-meta { font-size: 0.74rem; color: var(--muted); display: flex; gap: 6px; }

/* =========================================================
   6. INTERACTIVE FINANCIAL TOOLS
   ========================================================= */
.tools-section { padding: 72px 0; background: #ffffff; }
.tools-card-container {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 34px;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.05);
    margin-top: 32px;
}
.tools-tab-buttons { display: flex; justify-content: center; gap: 12px; margin-bottom: 32px; flex-wrap: wrap; }
.tool-tab-btn {
    background: #ffffff;
    border: 1.5px solid var(--border);
    color: var(--ink);
    padding: 10px 22px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
}
.tool-tab-btn:hover { border-color: var(--primary); color: var(--primary); }
.tool-tab-btn.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 6px 18px rgba(14, 159, 110, 0.35);
}
.calculator-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 34px; align-items: center; }
.calc-inputs-side { background: #ffffff; padding: 28px; border-radius: 16px; border: 1px solid var(--border); }
.calc-control-group { margin-bottom: 22px; }
.calc-control-group:last-child { margin-bottom: 0; }
.calc-label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.calc-label-row label { font-size: 0.88rem; font-weight: 700; color: var(--ink); }
.calc-val-badge { background: var(--primary-light); color: var(--primary-dark); padding: 4px 12px; border-radius: 10px; font-size: 0.86rem; font-weight: 800; }
.calc-slider { width: 100%; height: 8px; border-radius: 6px; background: #e2e8f0; outline: none; cursor: pointer; accent-color: var(--primary); }
.calc-results-side { background: linear-gradient(145deg, #0f172a, #1e293b); color: #ffffff; padding: 30px; border-radius: 18px; box-shadow: 0 12px 30px rgba(15, 23, 42, 0.2); }
.result-box-highlight { text-align: center; padding-bottom: 18px; border-bottom: 1px solid rgba(255,255,255,0.12); margin-bottom: 18px; }
.res-title { font-size: 0.8rem; color: #94a3b8; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.res-big-number { display: block; font-size: 2.2rem; font-weight: 900; color: #34d399; letter-spacing: -0.02em; margin-top: 4px; }
.res-breakdown-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 18px; }
.res-mini-box { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); padding: 12px; border-radius: 12px; text-align: center; }
.res-mini-label { display: block; font-size: 0.74rem; color: #cbd5e1; margin-bottom: 4px; }
.res-mini-box strong { font-size: 1.1rem; color: #ffffff; }
.text-gain { color: #34d399 !important; }
.calc-progress-wrap { height: 10px; background: rgba(255,255,255,0.1); border-radius: 10px; overflow: hidden; margin-bottom: 14px; }
.calc-progress-bar { height: 100%; background: linear-gradient(90deg, #10b981, #34d399); border-radius: 10px; transition: width 0.3s ease; }
.calc-note { font-size: 0.8rem; color: #94a3b8; line-height: 1.5; text-align: center; }

/* 50/30/20 Cards */
.budget-framework-desc { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border); }
.budget-framework-desc h4 { font-size: 0.92rem; margin-bottom: 6px; color: var(--ink); }
.budget-framework-desc ul { list-style: none; font-size: 0.84rem; color: var(--body); }
.budget-framework-desc li { margin-bottom: 4px; }
.budget-breakdown-cards { display: flex; flex-direction: column; gap: 12px; }
.budget-card { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 12px; padding: 14px 18px; }
.budget-card-header { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #cbd5e1; margin-bottom: 3px; }
.b-badge { background: #10b981; color: #fff; padding: 2px 8px; border-radius: 8px; font-weight: 800; font-size: 0.72rem; }
.card-wants .b-badge { background: #f59e0b; }
.card-savings .b-badge { background: #3b82f6; }
.budget-card h3 { font-size: 1.35rem; font-weight: 800; color: #fff; margin-bottom: 2px; }
.budget-card p { font-size: 0.76rem; color: #94a3b8; }

/* =========================================================
   7. CATEGORY PILLS & MAGAZINE CARDS
   ========================================================= */
.category-filter-bar {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 30px;
    scrollbar-width: none;
}
.category-filter-bar::-webkit-scrollbar { display: none; }
.filter-pill {
    background: #ffffff;
    border: 1.5px solid var(--border);
    color: var(--body);
    padding: 8px 18px;
    border-radius: 24px;
    font-size: 0.86rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.filter-pill:hover { border-color: var(--primary); color: var(--primary-dark); }
.filter-pill.active {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(14, 159, 110, 0.3);
}

.posts-section-modern { padding: 68px 0; background: #f8fafc; }
.posts-grid-magazine {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}
.category-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.magazine-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid var(--border);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}
.magazine-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    border-color: transparent;
}
.magazine-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #0f172a;
}
.magazine-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.magazine-card:hover .magazine-card-media img { transform: scale(1.08); }

.category-tag-floating {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255,255,255,0.15);
}
.category-tag-floating a { color: #ffffff; }
.read-badge-floating {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(4px);
    color: #e2e8f0;
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}
.magazine-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.magazine-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: var(--ink);
}
.magazine-title a:hover { color: var(--primary); }
.magazine-excerpt {
    font-size: 0.88rem;
    color: var(--body);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}
.magazine-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.meta-author-group { display: flex; align-items: center; gap: 8px; }
.meta-avatar {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.72rem; font-weight: 700; flex-shrink: 0;
}
.author-subtext { display: flex; flex-direction: column; }
.author-subtext .author-name { font-size: 0.82rem; font-weight: 700; color: var(--ink); }
.author-subtext .post-time { font-size: 0.72rem; color: var(--muted); }
.read-link-arrow {
    width: 32px; height: 32px;
    border-radius: 50%;
    background: var(--lighter);
    color: var(--primary-dark);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 0.95rem;
    transition: all 0.2s ease;
}
.magazine-card:hover .read-link-arrow { background: var(--primary); color: #ffffff; transform: translateX(3px); }

/* =========================================================
   8. BEGINNER'S ROADMAP
   ========================================================= */
.roadmap-section { padding: 72px 0; background: #ffffff; }
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 32px;
}
.roadmap-step-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.3s ease;
}
.roadmap-step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.08);
    border-color: var(--primary);
}
.step-badge {
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    align-self: flex-start;
    margin-bottom: 12px;
}
.step-icon { font-size: 2.1rem; margin-bottom: 10px; }
.roadmap-step-card h3 { font-size: 1.12rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.roadmap-step-card p { font-size: 0.86rem; color: var(--body); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.step-link { font-size: 0.82rem; font-weight: 700; color: var(--primary-dark); display: inline-flex; align-items: center; gap: 4px; }
.step-link:hover { color: var(--primary); }

/* =========================================================
   9. TOPICS HUB
   ========================================================= */
.categories-section-modern { padding: 68px 0; background: #f8fafc; }
.categories-hub-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.topic-hub-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.topic-hub-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--cat-color, #0e9f6e);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.topic-hub-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08); border-color: var(--cat-color, #0e9f6e); }
.topic-hub-card:hover::before { transform: scaleX(1); }
.topic-card-icon { font-size: 2rem; margin-bottom: 12px; }
.topic-card-content h3 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 5px; }
.topic-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.5; margin-bottom: 14px; min-height: 36px; }
.topic-card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid var(--border); }
.topic-count { font-size: 0.76rem; font-weight: 700; color: var(--body); }
.topic-arrow { font-size: 0.8rem; font-weight: 700; color: var(--primary); transition: transform 0.2s; }
.topic-hub-card:hover .topic-arrow { transform: translateX(4px); }

/* =========================================================
   10. POPULAR READS GRID
   ========================================================= */
.popular-section-modern { padding: 68px 0; background: #ffffff; }
.popular-grid-modern { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; }
.popular-card-modern {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    gap: 14px;
    transition: all 0.25s ease;
}
.popular-card-modern:hover { background: #ffffff; border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08); }
.popular-rank-badge { font-size: 1.45rem; font-weight: 900; color: var(--primary); opacity: 0.85; line-height: 1; }
.popular-card-content { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.popular-cat-pill { font-size: 0.7rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.popular-card-title { font-size: 0.92rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.popular-card-modern:hover .popular-card-title { color: var(--primary); }
.popular-card-meta { font-size: 0.74rem; color: var(--muted); margin-top: 3px; }

/* =========================================================
   11. NEWSLETTER CTA
   ========================================================= */
.newsletter-cta-enhanced { padding: 0 0 72px; background: #ffffff; }
.newsletter-card-glow {
    background:
        radial-gradient(circle at 10% 20%, rgba(14, 159, 110, 0.35) 0%, transparent 45%),
        radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.3) 0%, transparent 45%),
        linear-gradient(145deg, #090e17 0%, #0f172a 50%, #1e293b 100%);
    border-radius: 24px;
    padding: 56px 36px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.newsletter-inner { max-width: 640px; margin: 0 auto; }
.newsletter-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #34d399;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 14px;
}
.newsletter-inner h2 { font-size: 2.2rem; font-weight: 800; color: #ffffff; margin-bottom: 12px; letter-spacing: -0.02em; }
.newsletter-inner p { font-size: 1.02rem; color: #cbd5e1; line-height: 1.65; margin-bottom: 26px; }
.newsletter-form-modern { max-width: 520px; margin: 0 auto 18px; }
.input-with-button {
    display: flex;
    background: rgba(255, 255, 255, 0.09);
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    border-radius: 14px;
    padding: 5px;
    backdrop-filter: blur(10px);
    align-items: center;
}
.email-icon { padding: 0 12px; font-size: 1.1rem; }
.input-with-button input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.94rem;
    font-family: inherit;
    padding: 8px 0;
}
.input-with-button input::placeholder { color: #94a3b8; }
.newsletter-trust-row { display: flex; justify-content: center; gap: 12px; font-size: 0.78rem; color: #94a3b8; flex-wrap: wrap; }

/* =========================================================
   12. CLEAN EDITORIAL CATEGORY & SEARCH MASTHEAD
   ========================================================= */
.category-masthead-clean {
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    padding: 28px 0 24px;
}
.breadcrumb-nav-clean {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 16px;
}
.breadcrumb-nav-clean a {
    color: var(--body);
    font-weight: 500;
}
.breadcrumb-nav-clean a:hover {
    color: var(--primary);
}
.breadcrumb-nav-clean .sep {
    color: #cbd5e1;
}
.breadcrumb-nav-clean .current {
    color: var(--ink);
    font-weight: 700;
}

.category-title-row {
    display: flex;
    align-items: center;
    gap: 18px;
}
.category-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    flex-shrink: 0;
}
.category-info-box {
    flex: 1;
    min-width: 0;
}
.category-main-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 4px;
}
.category-sub-description {
    font-size: 0.92rem;
    color: var(--body);
    line-height: 1.5;
}
.category-count-badge {
    background: #f1f5f9;
    border: 1px solid var(--border);
    color: var(--body);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
}

.clean-search-form {
    display: flex;
    gap: 10px;
    max-width: 580px;
    margin-top: 18px;
}
.clean-search-form input {
    flex: 1;
    padding: 10px 16px;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: 0.9rem;
    outline: none;
    background: #f8fafc;
    font-family: inherit;
}
.clean-search-form input:focus {
    background: #ffffff;
    border-color: var(--primary);
}

@media (max-width: 640px) {
    .category-title-row { flex-direction: column; align-items: flex-start; gap: 12px; }
    .category-count-badge { align-self: flex-start; }
    .clean-search-form { flex-direction: column; }
}

/* Content Section & Toolbar */
.content-section-modern { padding: 52px 0 72px; background: #f8fafc; }
.content-grid { display: grid; grid-template-columns: 2.8fr 1.2fr; gap: 36px; }
.main-content { min-width: 0; }

.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 26px;
    padding: 14px 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
    flex-wrap: wrap;
    gap: 12px;
}
.toolbar-info { font-size: 0.9rem; color: var(--body); }
.toolbar-info strong { color: var(--ink); }
.toolbar-sort { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); }
.sort-buttons { display: flex; gap: 6px; }
.sort-btn {
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: var(--lighter);
    color: var(--body);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}
.sort-btn:hover { color: var(--primary); border-color: var(--primary); }
.sort-btn.active { background: var(--primary); color: #ffffff; border-color: var(--primary); }

.no-posts-card {
    background: #ffffff;
    border: 1.5px dashed var(--border);
    border-radius: 18px;
    padding: 44px 26px;
    text-align: center;
    margin-bottom: 32px;
}
.no-posts-icon { font-size: 2.8rem; margin-bottom: 10px; }
.no-posts-card h3 { font-size: 1.25rem; margin-bottom: 6px; color: var(--ink); }
.no-posts-card p { font-size: 0.9rem; color: var(--body); max-width: 460px; margin: 0 auto 18px; }

.category-takeaways-card {
    background: linear-gradient(145deg, #ffffff, #f0fdf4);
    border: 1.5px solid #a7f3d0;
    border-radius: 18px;
    padding: 26px 28px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.06);
    margin-top: 32px;
}
.takeaways-header { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.takeaways-icon { font-size: 1.35rem; }
.takeaways-header h3 { font-size: 1.1rem; font-weight: 800; color: #065f46; }
.takeaways-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.takeaways-list li { font-size: 0.9rem; color: #1f2937; line-height: 1.55; display: flex; align-items: flex-start; gap: 10px; }
.check-bullet { color: #10b981; font-weight: 900; font-size: 0.95rem; flex-shrink: 0; }

/* Single Post Layout inside Category Grid */
.category-posts-grid.single-post-layout {
    grid-template-columns: 1fr;
}
.category-posts-grid.single-post-layout .magazine-card {
    flex-direction: row;
    min-height: 240px;
}
.category-posts-grid.single-post-layout .magazine-card-media {
    width: 38%;
    height: auto;
    min-height: 240px;
    flex-shrink: 0;
}
.category-posts-grid.single-post-layout .magazine-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 26px;
}
.category-posts-grid.single-post-layout .magazine-title {
    font-size: 1.35rem;
}

@media (max-width: 640px) {
    .category-posts-grid.single-post-layout .magazine-card {
        flex-direction: column;
    }
    .category-posts-grid.single-post-layout .magazine-card-media {
        width: 100%;
        height: 200px;
    }
}

/* Category FAQ Box */
.category-faq-box {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin-top: 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.faq-box-header {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.faq-box-icon {
    font-size: 1.6rem;
    background: var(--lighter);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.faq-box-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: 2px;
}
.faq-box-header p {
    font-size: 0.84rem;
    color: var(--muted);
}
.faq-box-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.2s ease;
}
.faq-item[open] {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(14, 159, 110, 0.08);
}
.faq-question {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--ink);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    transition: transform 0.2s;
}
.faq-item[open] .faq-question::after {
    content: '−';
}
.faq-answer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--lighter);
}
.faq-answer p {
    font-size: 0.88rem;
    color: var(--body);
    line-height: 1.65;
}

/* Related Guides Section */
.related-guides-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin-top: 32px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.related-guides-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 10px;
}
.related-guides-header h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 8px;
}
.rec-icon { font-size: 1.15rem; }
.rec-link {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--primary);
}
.rec-link:hover { text-decoration: underline; }
.related-guides-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
@media (max-width: 768px) {
    .related-guides-grid {
        grid-template-columns: 1fr;
    }
}
.related-guide-mini-card {
    display: flex;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: #f8fafc;
    transition: all 0.25s ease;
}
.related-guide-mini-card:hover {
    background: #ffffff;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.mini-card-media {
    width: 90px;
    height: 75px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: #0f172a;
}
.mini-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mini-card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    min-width: 0;
}
.mini-card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.mini-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.35;
}
.related-guide-mini-card:hover .mini-card-title {
    color: var(--primary);
}
.mini-card-meta {
    font-size: 0.72rem;
    color: var(--muted);
}

/* =========================================================
   13. CONTENT GRID & MODERN SIDEBAR
   ========================================================= */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 36px;
    align-items: start;
}
.main-content {
    min-width: 0;
}

.sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 22px;
}
@media (min-width: 1025px) {
    .sidebar-modern {
        position: sticky;
        top: 86px;
        align-self: flex-start;
    }
}
.sidebar-widget-modern {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.widget-header { margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--primary-light); }
.widget-header h3 { font-size: 1.02rem; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.widget-icon { font-size: 1.1rem; }

.sidebar-categories-modern { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.side-cat-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--body);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.side-cat-link:hover { background: var(--lighter); color: var(--primary); transform: translateX(3px); }
.side-cat-link.active { background: var(--primary); color: #ffffff; box-shadow: 0 4px 14px rgba(14, 159, 110, 0.3); }
.cat-left { display: flex; align-items: center; gap: 8px; }
.cat-emoji { font-size: 1.05rem; }
.cat-count-badge {
    background: rgba(15, 23, 42, 0.07);
    color: var(--body);
    font-size: 0.74rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
}
.side-cat-link.active .cat-count-badge { background: rgba(255, 255, 255, 0.25); color: #ffffff; }

.sidebar-ranked-list { display: flex; flex-direction: column; gap: 12px; }
.sidebar-rank-item { display: flex; gap: 10px; align-items: flex-start; padding: 8px; border-radius: 10px; transition: all 0.2s ease; }
.sidebar-rank-item:hover { background: #f8fafc; transform: translateX(3px); }
.side-rank-num { font-size: 1.1rem; font-weight: 900; color: var(--primary); min-width: 22px; line-height: 1.2; }
.side-item-content { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.side-item-cat { font-size: 0.68rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.side-item-title { font-size: 0.86rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.sidebar-rank-item:hover .side-item-title { color: var(--primary); }
.side-item-meta { font-size: 0.72rem; color: var(--muted); }

.sidebar-tool-teaser { background: linear-gradient(145deg, #090e17, #1e293b); color: #ffffff; border-color: rgba(255, 255, 255, 0.1); }
.teaser-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(52, 211, 153, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.tool-teaser-inner h4 { font-size: 1.05rem; font-weight: 800; color: #ffffff; margin-bottom: 4px; }
.tool-teaser-inner p { font-size: 0.82rem; color: #cbd5e1; line-height: 1.5; margin-bottom: 14px; }

.sidebar-newsletter-modern { background: linear-gradient(145deg, #ecfdf5, #f0fdf4); border: 1.5px solid #a7f3d0; }
.sidebar-nl-header { text-align: center; margin-bottom: 12px; }
.nl-icon { font-size: 1.8rem; display: block; margin-bottom: 2px; }
.sidebar-nl-header h4 { font-size: 1rem; font-weight: 800; color: #065f46; margin-bottom: 3px; }
.sidebar-nl-header p { font-size: 0.8rem; color: #047857; line-height: 1.4; }
.sidebar-nl-form { display: flex; flex-direction: column; gap: 8px; }
.sidebar-nl-form input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #a7f3d0;
    background: #ffffff;
    border-radius: 10px;
    font-size: 0.86rem;
    outline: none;
}
.sidebar-nl-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15); }

/* =========================================================
   14. SINGLE POST & INNER PAGES (EDITORIAL MAGAZINE LAYOUT)
   ========================================================= */
.reading-progress-bar-wrap {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 1000;
}
.reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #10b981, #3b82f6);
    transition: width 0.1s ease;
}

/* Clean Single Article Layout */
.single-layout-clean {
    padding: 28px 0 68px;
    background: #f8fafc;
}

/* Breadcrumb Navigation Clean */
.breadcrumb-nav-clean {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.86rem;
    color: #64748b;
    margin-bottom: 22px;
    flex-wrap: wrap;
}
.breadcrumb-nav-clean a {
    color: #475569;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-nav-clean a:hover {
    color: var(--primary);
}
.breadcrumb-nav-clean .sep {
    color: #cbd5e1;
    font-size: 0.82rem;
}
.breadcrumb-nav-clean .current {
    color: var(--ink);
    font-weight: 600;
}

/* Clean Article Container Card */
.clean-article-container {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 38px 42px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
@media (max-width: 768px) {
    .clean-article-container {
        padding: 22px 18px;
        border-radius: 16px;
    }
}

/* Article Header */
.clean-article-header {
    margin-bottom: 28px;
}

.article-meta-badges {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.clean-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: all 0.2s ease;
}
.clean-cat-pill:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

/* Category Color Themes */
.theme-emerald { background: #d1fae5; color: #065f46 !important; }
.theme-amber   { background: #fef3c7; color: #92400e !important; }
.theme-blue    { background: #dbeafe; color: #1e40af !important; }
.theme-indigo  { background: #e0e7ff; color: #3730a3 !important; }
.theme-teal    { background: #ccfbf1; color: #115e59 !important; }
.theme-purple  { background: #ede9fe; color: #5b21b6 !important; }
.theme-green   { background: #dcfce7; color: #166534 !important; }
.theme-orange  { background: #ffedd5; color: #9a3412 !important; }

.clean-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #059669;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.74rem;
    font-weight: 700;
}

.clean-article-title {
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--ink);
    letter-spacing: -0.025em;
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    .clean-article-title {
        font-size: 1.7rem;
    }
}

/* Clean Author Meta Row */
.clean-author-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

.clean-author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.clean-author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(14, 159, 110, 0.25);
}
.clean-author-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.clean-author-name {
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--ink);
}
.clean-post-date {
    font-size: 0.78rem;
    color: var(--muted);
}

.clean-reading-metrics {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.metric-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    color: #475569;
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 600;
}

/* Clean Share Bar */
.clean-share-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 6px;
}
.clean-share-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.clean-share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.clean-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--border);
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}
.clean-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}
.share-wa:hover { background: #25d366; color: #ffffff !important; border-color: #25d366; }
.share-tw:hover { background: #0f172a; color: #ffffff !important; border-color: #0f172a; }
.share-li:hover { background: #0a66c2; color: #ffffff !important; border-color: #0a66c2; }
.share-fb:hover { background: #1877f2; color: #ffffff !important; border-color: #1877f2; }
.share-copy:hover { background: var(--primary); color: #ffffff !important; border-color: var(--primary); }

/* Clean Featured Media */
.clean-featured-media {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    background: #f1f5f9;
    border: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}
.clean-featured-media img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
}

.article-highlights-box {
    background: linear-gradient(145deg, #ecfdf5, #f0fdf4);
    border: 1.5px solid #a7f3d0;
    border-radius: 16px;
    padding: 22px 26px;
    margin-bottom: 32px;
}
.highlights-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.highlights-icon { font-size: 1.3rem; }
.highlights-header h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #065f46;
}
.highlights-text {
    font-size: 0.94rem;
    color: #047857;
    line-height: 1.65;
    font-weight: 500;
}

/* Article Body Typography */
.article-body-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--body);
}
.article-body-content p {
    margin-bottom: 22px;
}
.article-body-content .lead-paragraph {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--ink);
    line-height: 1.75;
    margin-bottom: 26px;
}
.article-body-content h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--ink);
    margin: 38px 0 16px;
    letter-spacing: -0.015em;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}
.article-body-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink);
    margin: 28px 0 14px;
}
.article-body-content ul, .article-body-content ol {
    margin: 0 0 24px 24px;
}
.article-body-content li {
    margin-bottom: 10px;
    padding-left: 4px;
}
.article-body-content a {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: underline;
}

.article-callout-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #f8fafc;
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    padding: 20px 24px;
    margin: 28px 0;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}
.callout-icon { font-size: 1.6rem; line-height: 1; flex-shrink: 0; }
.callout-body h4 { font-size: 1.02rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.callout-body p { font-size: 0.92rem; color: var(--body); line-height: 1.6; margin-bottom: 0; }

.article-table-card {
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 22px 26px;
    margin: 28px 0;
}
.article-table-card h3 { font-size: 1.08rem; font-weight: 800; color: var(--ink); margin-bottom: 12px; margin-top: 0; }
.article-table-card ul { list-style: none; margin: 0; padding: 0; }
.article-table-card li { margin-bottom: 10px; font-size: 0.9rem; line-height: 1.6; }

/* Article Footer Tags */
.article-footer-tags {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    margin-top: 36px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 14px;
}
.tag-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.tag-title { font-size: 0.8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.tag-chip {
    background: var(--lighter);
    border: 1px solid var(--border);
    color: var(--ink);
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 0.82rem;
    font-weight: 600;
    transition: all 0.2s;
}
.tag-chip:hover { background: var(--primary); color: #ffffff; border-color: var(--primary); }
.tag-chip-date { font-size: 0.8rem; color: var(--muted); margin-left: 6px; }

/* Author Bio Card */
.author-bio-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px;
    margin-top: 36px;
}
@media (max-width: 640px) {
    .author-bio-card { flex-direction: column; align-items: center; text-align: center; }
}
.author-avatar-big {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 18px rgba(14, 159, 110, 0.25);
}
.author-bio-details { display: flex; flex-direction: column; gap: 4px; }
.author-bio-badge { font-size: 0.72rem; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.author-bio-name { font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.author-bio-desc { font-size: 0.9rem; color: var(--body); line-height: 1.6; margin-bottom: 8px; }
.author-link { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.author-link:hover { text-decoration: underline; }

/* Article Pagination Nav */
.article-pagination-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}
@media (max-width: 640px) {
    .article-pagination-nav { grid-template-columns: 1fr; }
}
.nav-prev-card, .nav-next-card {
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 14px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.25s ease;
}
.nav-prev-card:hover, .nav-next-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}
.nav-next-card { text-align: right; }
.nav-direction { font-size: 0.74rem; font-weight: 800; color: var(--primary); text-transform: uppercase; letter-spacing: 0.05em; }
.nav-title { font-size: 0.9rem; font-weight: 700; color: var(--ink); line-height: 1.35; }
.nav-prev-card.disabled, .nav-next-card.disabled {
    opacity: 0.6;
    pointer-events: none;
    background: var(--lighter);
}

/* Comments Section Modern */
.comments-section-modern {
    margin-top: 48px;
}
.comments-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border);
}
.comments-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.comments-icon { font-size: 1.4rem; }
.comments-title-group h3 { font-size: 1.25rem; font-weight: 800; color: var(--ink); }

.comments-modern-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.comment-card-modern {
    display: flex;
    gap: 16px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
}
.comment-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.comment-card-body { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.comment-user-header { display: flex; justify-content: space-between; align-items: center; }
.comment-user-name { font-size: 0.94rem; font-weight: 800; color: var(--ink); }
.comment-timestamp { font-size: 0.74rem; color: var(--muted); }
.comment-text-content { font-size: 0.9rem; color: var(--body); line-height: 1.6; }

.no-comments-modern-card {
    background: #ffffff;
    border: 1.5px dashed var(--border);
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    margin-bottom: 32px;
}
.no-comments-emoji { font-size: 2.2rem; display: block; margin-bottom: 8px; }
.no-comments-modern-card h4 { font-size: 1.1rem; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.no-comments-modern-card p { font-size: 0.86rem; color: var(--muted); }

/* Comment Form Modern */
.comment-form-modern-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
}
.form-header-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.form-pen-icon {
    font-size: 1.6rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.form-header-row h4 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: 3px; }
.form-header-row p { font-size: 0.82rem; color: var(--muted); }

.post-comment-form { display: flex; flex-direction: column; gap: 18px; }
.form-grid-two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) {
    .form-grid-two { grid-template-columns: 1fr; }
}
.modern-input-group { display: flex; flex-direction: column; gap: 6px; }
.modern-input-group label { font-size: 0.84rem; font-weight: 700; color: var(--ink); }
.modern-input-group input, .modern-input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    background: #f8fafc;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.92rem;
    color: var(--ink);
    outline: none;
    transition: all 0.25s ease;
}
.modern-input-group input:focus, .modern-input-group textarea:focus {
    background: #ffffff;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(14, 159, 110, 0.12);
}
.btn-submit-comment { align-self: flex-start; padding: 12px 28px; font-size: 0.95rem; }

/* Related Posts Section */
.related-posts-section {
    padding: 64px 0 72px;
    background: #ffffff;
    border-top: 1px solid var(--border);
}
.related-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 14px;
}
.related-pill-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary-dark);
    padding: 3px 12px;
    border-radius: 14px;
    font-size: 0.74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}
.related-section-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -0.015em;
}

/* Alert Notification Styles */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
}
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }
.alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }

/* Common Buttons & Badges */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 10px 22px; border-radius: 10px; font-weight: 600; font-size: 0.9rem;
    cursor: pointer; border: none; transition: all 0.25s ease; text-align: center;
}
.btn-primary { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(14,159,110,0.35); }
.btn-outline { background: transparent; color: var(--primary-dark); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 0.82rem; border-radius: 8px; }
.btn-block { width: 100%; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 36px; flex-wrap: wrap; }
.page-link {
    padding: 8px 14px; border: 1px solid var(--border); background: #fff;
    border-radius: 8px; font-size: 0.86rem; font-weight: 500; color: var(--body);
    transition: all 0.2s;
}
.page-link:hover, .page-link.active { background: var(--primary); color: #fff; border-color: var(--primary); box-shadow: var(--shadow-glow); }

.placeholder-img {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 60%, var(--secondary) 100%);
    color: #fff; font-size: 1.4rem; font-weight: 800; letter-spacing: 0.02em;
}

/* =========================================================
   15. MODERN SITE FOOTER & COMMUNITY SECTION
   ========================================================= */
.site-footer-modern {
    background: radial-gradient(circle at 10% 0%, rgba(14, 159, 110, 0.12) 0%, transparent 40%),
                radial-gradient(circle at 90% 100%, rgba(37, 99, 235, 0.08) 0%, transparent 45%),
                linear-gradient(180deg, #090e17 0%, #060911 100%);
    color: #94a3b8;
    padding: 60px 0 28px;
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* 1. VIP Newsletter Banner Card */
.footer-vip-newsletter {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(15, 23, 42, 0.75) 100%);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 22px;
    padding: 38px 44px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 36px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
    margin-bottom: 56px;
    position: relative;
    overflow: hidden;
}
.footer-vip-newsletter::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.25) 0%, transparent 70%);
    pointer-events: none;
}
.vip-nl-badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(52, 211, 153, 0.4);
    color: #34d399;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.vip-nl-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 10px;
}
.vip-nl-desc {
    font-size: 0.92rem;
    color: #cbd5e1;
    line-height: 1.6;
}
.vip-nl-form-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.vip-input-row {
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1.5px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    padding: 5px;
    transition: all 0.25s ease;
}
.vip-input-row:focus-within {
    border-color: #10b981;
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.vip-email-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px 16px;
    color: #ffffff;
    font-size: 0.92rem;
    outline: none;
    font-family: inherit;
}
.vip-email-input::placeholder { color: #94a3b8; }
.btn-vip-submit {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    border: none;
    padding: 11px 22px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4);
}
.btn-vip-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}
.vip-nl-trust {
    font-size: 0.74rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 4px;
}

/* 2. Main 4-Column Footer Grid */
.footer-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1.1fr 1.2fr 1.2fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col {
    display: flex;
    flex-direction: column;
}
.footer-brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 14px;
}
.brand-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.brand-logo-text {
    display: flex;
    flex-direction: column;
}
.brand-logo-text strong {
    font-size: 1.3rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #ffffff;
    line-height: 1.1;
}
.brand-logo-text small {
    font-size: 0.72rem;
    color: #34d399;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.footer-brand-summary {
    font-size: 0.88rem;
    line-height: 1.7;
    color: #94a3b8;
    margin-bottom: 18px;
}
.footer-trust-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.f-trust-pill {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.72rem;
    font-weight: 600;
}

.footer-social-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.f-social-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.25s ease;
}
.f-social-btn:hover {
    transform: translateY(-3px);
    color: #ffffff;
}
.f-wa:hover { background: #25d366; border-color: #25d366; box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4); }
.f-tw:hover { background: #0f172a; border-color: #64748b; }
.f-li:hover { background: #0a66c2; border-color: #0a66c2; box-shadow: 0 4px 14px rgba(10, 102, 194, 0.4); }
.f-ig:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); border-color: transparent; }
.f-mail:hover { background: #10b981; border-color: #10b981; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4); }

.footer-col-title {
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 3px;
    background: #10b981;
    border-radius: 2px;
}
.footer-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}
.footer-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-nav-link:hover {
    color: #34d399;
    transform: translateX(4px);
}
.f-link-icon {
    font-size: 0.95rem;
}

.footer-contact-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}
.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.f-ci-icon {
    font-size: 1.1rem;
    line-height: 1.2;
}
.f-ci-text small {
    display: block;
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.04em;
}
.f-ci-text a {
    color: #34d399;
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: none;
    word-break: break-all;
}
.f-ci-text a:hover { text-decoration: underline; }
.f-ci-text strong {
    font-size: 0.82rem;
    color: #e2e8f0;
}
.footer-sub-links {
    margin-top: 6px;
}

/* 3. Financial Disclaimer Box */
.footer-disclaimer-card {
    background: rgba(15, 23, 42, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 16px 20px;
    margin: 32px 0 24px;
}
.disclaimer-header {
    margin-bottom: 6px;
}
.disclaimer-badge {
    font-size: 0.74rem;
    font-weight: 800;
    color: #f59e0b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.disclaimer-text {
    font-size: 0.8rem;
    line-height: 1.65;
    color: #64748b;
}
.disclaimer-text strong {
    color: #cbd5e1;
}

/* 4. Bottom Copyright & Legal Links */
.footer-bottom-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.82rem;
    color: #64748b;
    flex-wrap: wrap;
    gap: 12px;
}
.f-bottom-left p { margin: 0; }
.f-bottom-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.f-bottom-right a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}
.f-bottom-right a:hover {
    color: #34d399;
}
.f-sep {
    color: #475569;
}

.back-to-top {
    position: fixed;
    bottom: 26px;
    right: 26px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 800;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.6);
}

/* =========================================================
   16. COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
   ========================================================= */

/* --- 1. Large Tablets & Small Laptops (<= 1024px) --- */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .spotlight-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .calculator-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .posts-grid-magazine {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }
    .roadmap-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .categories-hub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stats-glass-card {
        grid-template-columns: repeat(2, 1fr);
        padding: 22px 26px;
        gap: 20px;
    }
    .category-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-vip-newsletter {
        grid-template-columns: 1fr;
        padding: 32px 30px;
        gap: 24px;
    }
    .footer-main-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }
}

/* --- 2. Tablets (<= 860px) --- */
@media (max-width: 860px) {
    .hero-headline {
        font-size: 2.4rem;
    }
    .lead-image-wrap {
        height: 260px;
    }
    .related-guides-grid {
        grid-template-columns: 1fr;
    }
    .article-pagination-nav {
        grid-template-columns: 1fr;
    }
}

/* --- 3. Mobile Header, Navbar & Tablets Portrait (<= 768px) --- */
@media (max-width: 768px) {
    .site-header {
        padding: 0;
    }
    .header-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 0;
    }
    .logo-text strong {
        font-size: 1.15rem;
    }
    .logo-text small {
        font-size: 0.6rem;
    }
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }
    .search-form {
        order: 3;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 4px;
    }
    .search-form input {
        font-size: 0.88rem;
        padding: 9px 14px;
    }
    .search-form button {
        padding: 9px 16px;
        font-size: 0.85rem;
    }
    .header-right-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .btn-header-cta {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        color: #ffffff;
        font-size: 1.35rem;
        cursor: pointer;
        line-height: 1;
        transition: all 0.2s ease;
    }
    .mobile-menu-btn:hover {
        background: var(--primary);
        border-color: var(--primary);
    }
    .nav-menu {
        display: none;
        flex-direction: column;
        background: #090e17;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        padding: 10px 0 16px;
        max-height: 75vh;
        overflow-y: auto;
    }
    .nav-menu.active {
        display: flex;
        animation: navSlideDown 0.25s ease forwards;
    }
    .nav-link {
        padding: 12px 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 0.94rem;
        border-left: 3px solid transparent;
        border-bottom-width: 1px;
    }
    .nav-link:last-child {
        border-bottom: none;
    }
    .nav-link.active {
        border-left-color: var(--primary);
        background: rgba(16, 185, 129, 0.08);
    }

    /* Hero Section Mobile */
    .hero-enhanced {
        padding: 56px 0 76px;
    }
    .hero-headline {
        font-size: 2.05rem;
        line-height: 1.25;
    }
    .hero-desc {
        font-size: 0.96rem;
    }
    .hero-search-wrap {
        padding: 16px;
    }
    .hero-search-form {
        flex-direction: column;
        gap: 8px;
        background: transparent;
        border: none;
        padding: 0;
    }
    .hero-search-form input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 12px;
        padding: 12px 16px;
        color: #fff;
    }
    .btn-hero-submit {
        width: 100%;
        padding: 12px;
        border-radius: 12px;
    }
    .hero-trust {
        gap: 8px;
    }
    .trust-pill {
        font-size: 0.74rem;
        padding: 4px 10px;
    }

    /* Stats Band Mobile */
    .stats-band-modern {
        margin-top: -30px;
    }
    .stats-glass-card {
        grid-template-columns: 1fr 1fr;
        padding: 16px;
        gap: 14px;
        border-radius: 16px;
    }
    .stat-col {
        gap: 10px;
    }
    .stat-icon-wrap {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        border-radius: 12px;
    }
    .stat-info .stat-number {
        font-size: 1.35rem;
    }
    .stat-info .stat-label {
        font-size: 0.68rem;
    }

    /* Single Post Layout Mobile */
    .clean-article-container {
        padding: 24px 18px;
        border-radius: 16px;
    }
    .clean-article-title {
        font-size: 1.65rem;
        line-height: 1.3;
    }
    .clean-author-meta-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .clean-share-bar {
        width: 100%;
    }
    .clean-share-buttons {
        gap: 6px;
    }
    .clean-share-btn {
        padding: 5px 10px;
        font-size: 0.74rem;
    }
    .article-highlights-box {
        padding: 18px;
    }
    .article-body-content {
        font-size: 0.98rem;
        line-height: 1.8;
    }
    .article-body-content h2 {
        font-size: 1.35rem;
    }
    .article-body-content h3 {
        font-size: 1.15rem;
    }
    .author-bio-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 22px 18px;
    }

    /* Category & Search Toolbar */
    .category-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 16px;
    }
    .category-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .category-count-badge {
        align-self: flex-start;
    }
    .category-posts-grid.single-post-layout .magazine-card {
        flex-direction: column;
    }
    .category-posts-grid.single-post-layout .magazine-card-media {
        width: 100%;
        height: 200px;
    }

    /* Calculator Controls */
    .calc-inputs-side {
        padding: 20px 16px;
    }
    .calc-results-side {
        padding: 22px 18px;
    }
    .res-big-number {
        font-size: 1.85rem;
    }
    .res-breakdown-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    /* Contact Page */
    .form-grid-two {
        grid-template-columns: 1fr;
    }
}

/* --- 4. Mobile Landscape & Phablets (<= 640px) --- */
@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    .posts-grid-magazine {
        grid-template-columns: 1fr;
    }
    .category-posts-grid {
        grid-template-columns: 1fr;
    }
    .roadmap-grid {
        grid-template-columns: 1fr;
    }
    .categories-hub-grid {
        grid-template-columns: 1fr;
    }
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    .footer-vip-newsletter {
        padding: 22px 18px;
    }
    .vip-nl-title {
        font-size: 1.35rem;
    }
    .vip-input-row {
        flex-direction: column;
        background: transparent;
        border: none;
        padding: 0;
        gap: 8px;
    }
    .vip-email-input {
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        padding: 12px 16px;
    }
    .btn-vip-submit {
        width: 100%;
    }
    .footer-bottom-modern {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    .f-bottom-right {
        justify-content: center;
    }
    .comments-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .comments-section-header .btn {
        width: 100%;
    }
    .comment-form-modern-card {
        padding: 22px 16px;
    }
    .article-footer-tags {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .tag-share-quick {
        width: 100%;
    }
    .tag-share-quick .btn {
        width: 100%;
    }
}

/* --- 5. Small Mobile Screens (<= 480px) --- */
@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.7rem;
    }
    .hero-pill-badge {
        font-size: 0.72rem;
        padding: 4px 12px;
    }
    .stats-glass-card {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .section-title-modern {
        font-size: 1.55rem;
    }
    .lead-title {
        font-size: 1.25rem;
    }
    .lead-content {
        padding: 18px;
    }
    .res-breakdown-row {
        grid-template-columns: 1fr;
    }
    .clean-article-title {
        font-size: 1.45rem;
    }
    .clean-share-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .clean-share-buttons {
        width: 100%;
    }
    .clean-share-btn {
        flex: 1;
        justify-content: center;
        text-align: center;
    }
    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 42px;
        height: 42px;
        font-size: 1.15rem;
    }
}

/* Keyframe Animations */
@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
