/*
Theme Name: EasyFinance4u
Theme URI: https://www.easyfinance4u.com
Author: EasyFinance4u
Author URI: https://www.easyfinance4u.com
Description: Professional personal finance blog theme with live market data, calculators, IPO tracker and more.
Version: 1.0.5
License: GNU General Public License v2 or later
Text Domain: easyfinance4u
Tags: finance, blog, responsive, custom-widgets
*/

/* ─── VARIABLES ─── */
:root {
  --bg: #F5F7FA;
  --surface: #ffffff;
  --border: #E4EAF2;
  --navy: #0D2240;
  --navy-light: #1A3660;
  --teal: #0EA5A0;
  --teal-light: #E6FAF9;
  --gold: #F59E0B;
  --gold-light: #FEF3C7;
  --text: #1E293B;
  --muted: #64748B;
  --light: #94A3B8;
  --radius: 12px;
  --shadow: 0 2px 12px rgba(13,34,64,.07);
  --shadow-hover: 0 8px 28px rgba(13,34,64,.13);
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }
nav li { list-style: none; }

/* ─── TICKER ─── */
.ef4u-ticker-wrap { background: var(--navy); padding: 8px 0; overflow: hidden; }
.ef4u-ticker-track { display: flex; gap: 48px; animation: ef4uTicker 30s linear infinite; white-space: nowrap; }
.ef4u-ticker-track span { font-size: 12px; font-weight: 500; color: rgba(255,255,255,.8); }
.ef4u-ticker-track span::before { content: '📈 '; }
@keyframes ef4uTicker { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ─── BREAKING ─── */
.ef4u-breaking { background: linear-gradient(90deg,#DC2626,#B91C1C); color: #fff; padding: 9px 0; overflow: hidden; }
.ef4u-breaking-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 16px; }
.ef4u-breaking-label { background: rgba(255,255,255,.2); padding: 3px 12px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; white-space: nowrap; }
.ef4u-breaking-scroll { flex: 1; overflow: hidden; }
.ef4u-breaking-content { display: flex; gap: 48px; animation: ef4uTicker 25s linear infinite; white-space: nowrap; }
.ef4u-breaking-content span { font-size: 13px; }
.ef4u-breaking-content span::before { content: '🔴 '; }

/* ─── HEADER ─── */
#masthead { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 999; box-shadow: var(--shadow); }
.ef4u-header-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.ef4u-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.ef4u-logo-icon { width: 40px; height: 40px; background: linear-gradient(135deg,#0EA5A0,#0D2240); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 18px; font-weight: 800; font-family: 'Playfair Display', serif; }
.ef4u-logo-text { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.ef4u-logo-text span { color: var(--teal); }
.ef4u-nav { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ef4u-nav ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.ef4u-nav li { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; position: relative; }
.ef4u-nav li::marker { content: ''; }
.ef4u-nav a { padding: 8px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; color: var(--muted); transition: all .2s; display: block; }
.ef4u-nav a:hover, .ef4u-nav a.current-menu-item, .ef4u-nav li.current-menu-item > a { background: var(--teal-light); color: var(--teal); text-decoration: none; }
/* Hide any sub-menus by default for clean look */
.ef4u-nav .sub-menu { display: none; }
.ef4u-header-right { display: flex; align-items: center; gap: 10px; }
.ef4u-search-form { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 24px; padding: 7px 14px; }
.ef4u-search-form input { background: none; border: none; outline: none; font-size: 13px; color: var(--text); width: 150px; font-family: 'Inter', sans-serif; }
.ef4u-search-form button { background: none; border: none; cursor: pointer; color: var(--muted); padding: 0; }
.ef4u-hamburger { display: none; background: none; border: 1.5px solid var(--border); border-radius: 8px; width: 38px; height: 38px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.ef4u-hamburger span { display: block; width: 18px; height: 2px; background: var(--text); border-radius: 2px; }

/* ─── MOBILE NAV ─── */
.ef4u-mobile-nav { display: none; position: fixed; inset: 0; z-index: 9999; background: var(--surface); flex-direction: column; padding: 80px 24px 40px; gap: 8px; overflow-y: auto; }
.ef4u-mobile-nav.open { display: flex; }
.ef4u-mobile-nav a { padding: 14px 16px; border-radius: 10px; font-size: 16px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border); }
.ef4u-mobile-nav a:hover { color: var(--teal); text-decoration: none; }
.ef4u-mobile-nav-close { position: absolute; top: 20px; right: 20px; background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px; width: 40px; height: 40px; font-size: 20px; cursor: pointer; }

/* ─── BREADCRUMB ─── */
.ef4u-breadcrumb { background: var(--surface); border-bottom: 1px solid var(--border); padding: 10px 0; }
.ef4u-breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; font-size: 12px; color: var(--muted); display: flex; gap: 6px; flex-wrap: wrap; }
.ef4u-breadcrumb-inner a { color: var(--muted); }
.ef4u-breadcrumb-inner a:hover { color: var(--teal); }

/* ─── HERO ─── */
.ef4u-hero { background: linear-gradient(135deg,var(--navy) 0%,#1A3660 60%,#1B4B8A 100%); padding: 56px 24px; position: relative; overflow: hidden; }
.ef4u-hero::before { content: ''; position: absolute; top: -80px; right: -80px; width: 400px; height: 400px; background: radial-gradient(circle,rgba(14,165,160,.15) 0%,transparent 70%); border-radius: 50%; }
.ef4u-hero-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
.ef4u-hero-label { font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--teal); margin-bottom: 16px; }
.ef4u-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px,4vw,48px); font-weight: 800; color: #fff; line-height: 1.15; margin-bottom: 20px; }
.ef4u-hero h1 em { color: var(--gold); font-style: normal; }
.ef4u-hero p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 28px; }
.ef4u-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.ef4u-btn-primary { background: var(--teal); color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all .2s; display: inline-flex; align-items: center; gap: 8px; }
.ef4u-btn-primary:hover { background: #0C8F8A; transform: translateY(-1px); text-decoration: none; }
.ef4u-btn-ghost { background: rgba(255,255,255,.08); color: #fff; padding: 11px 22px; border-radius: 10px; font-size: 14px; font-weight: 600; border: 1.5px solid rgba(255,255,255,.2); transition: all .2s; }
.ef4u-btn-ghost:hover { background: rgba(255,255,255,.16); text-decoration: none; }

/* ─── STATS ─── */
.ef4u-stats-bar { background: var(--surface); border-bottom: 1px solid var(--border); }
.ef4u-stats-inner { max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: grid; grid-template-columns: repeat(4,1fr); }
.ef4u-stat-item { text-align: center; padding: 10px; border-right: 1px solid var(--border); }
.ef4u-stat-item:last-child { border-right: none; }
.ef4u-stat-num { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--navy); }
.ef4u-stat-num span { color: var(--teal); }
.ef4u-stat-label { font-size: 12px; color: var(--muted); font-weight: 500; margin-top: 2px; }

/* ─── MAIN LAYOUT ─── */
.ef4u-main-wrap { max-width: 1200px; margin: 0 auto; padding: 36px 24px; display: grid; grid-template-columns: 1fr 320px; gap: 36px; }

/* ─── SECTION ─── */
.ef4u-section { margin-bottom: 44px; }
.ef4u-section-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.ef4u-section-hdr h2 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.ef4u-section-hdr h2::before { content: ''; display: block; width: 4px; height: 22px; background: var(--teal); border-radius: 2px; }
.ef4u-see-all { font-size: 13px; font-weight: 600; color: var(--teal); }
.ef4u-see-all:hover { text-decoration: underline; }

/* ─── CAT PILLS ─── */
.ef4u-cat-pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.ef4u-cat-pill { padding: 7px 15px; border-radius: 24px; font-size: 13px; font-weight: 600; cursor: pointer; border: 1.5px solid var(--border); background: var(--surface); color: var(--muted); transition: all .2s; user-select: none; }
.ef4u-cat-pill:hover, .ef4u-cat-pill.active { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ─── CARDS ─── */
.ef4u-cards-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 36px; }
.ef4u-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all .25s; display: flex; flex-direction: column; }
.ef4u-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ef4u-card-img { height: 150px; display: flex; align-items: center; justify-content: center; font-size: 44px; position: relative; background: linear-gradient(135deg,var(--teal),var(--navy)); }
.ef4u-card-img img { width: 100%; height: 100%; object-fit: cover; }
.ef4u-card-cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.93); color: var(--navy); font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.ef4u-card-read-time { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 12px; }
.ef4u-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.ef4u-card-body h3 { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 8px; line-height: 1.4; }
.ef4u-card-body h3 a { color: inherit; }
.ef4u-card-body h3 a:hover { color: var(--teal); text-decoration: none; }
.ef4u-card-body p { font-size: 13px; color: var(--muted); flex: 1; margin-bottom: 10px; }
.ef4u-card-meta { font-size: 11px; color: var(--light); display: flex; gap: 6px; align-items: center; }
.ef4u-card-featured { grid-column: span 2; display: flex; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: all .25s; }
.ef4u-card-featured:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ef4u-card-featured .ef4u-card-img { width: 320px; flex-shrink: 0; height: auto; min-height: 200px; }
.ef4u-card-featured .ef4u-card-body { padding: 24px 20px; }
.ef4u-card-featured h3 { font-size: 20px; }

/* ─── LIST CARDS ─── */
.ef4u-list-card { background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); padding: 14px; margin-bottom: 12px; display: flex; gap: 14px; align-items: flex-start; transition: all .2s; }
.ef4u-list-card:hover { transform: translateX(4px); box-shadow: var(--shadow-hover); }
.ef4u-list-num { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--border); line-height: 1; min-width: 28px; }
.ef4u-list-body h4 { font-size: 14px; font-weight: 600; color: var(--navy); margin-bottom: 4px; line-height: 1.4; }
.ef4u-list-body h4 a { color: inherit; }
.ef4u-list-body h4 a:hover { color: var(--teal); text-decoration: none; }
.ef4u-list-meta { font-size: 11px; color: var(--muted); }

/* ─── H-SCROLL ─── */
.ef4u-h-scroll { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 8px; }
.ef4u-h-scroll::-webkit-scrollbar { height: 4px; }
.ef4u-h-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
.ef4u-h-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; flex-shrink: 0; width: 220px; transition: all .2s; }
.ef4u-h-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.ef4u-h-card-img { height: 110px; display: flex; align-items: center; justify-content: center; font-size: 34px; }
.ef4u-h-card-body { padding: 12px; }
.ef4u-h-card-body h4 { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 4px; line-height: 1.4; }
.ef4u-h-card-meta { font-size: 11px; color: var(--muted); }

/* ─── IPO TABLE ─── */
.ef4u-ipo-table { width: 100%; border-collapse: collapse; }
.ef4u-ipo-table th { font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 10px 12px; border-bottom: 2px solid var(--border); text-align: left; }
.ef4u-ipo-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); font-size: 13px; }
.ef4u-ipo-table tr:last-child td { border-bottom: none; }
.ef4u-ipo-table tbody tr:hover td { background: var(--teal-light); }
.ef4u-ipo-name { font-weight: 600; color: var(--navy); }
.ef4u-ipo-badge { display: inline-block; padding: 2px 8px; border-radius: 20px; font-size: 10px; font-weight: 700; }
.ef4u-ipo-badge.open { background: #D1FAE5; color: #059669; }
.ef4u-ipo-badge.upcoming { background: var(--gold-light); color: #B45309; }
.ef4u-ipo-badge.listed { background: #EFF6FF; color: #2563EB; }

/* ─── WIDGET / SIDEBAR ─── */
.ef4u-sidebar { display: flex; flex-direction: column; gap: 24px; }
.ef4u-widget { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.ef4u-widget-header { padding: 14px 18px; border-bottom: 1px solid var(--border); font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 700; color: var(--navy); display: flex; align-items: center; gap: 8px; }
.ef4u-widget-header::before { content: ''; display: block; width: 3px; height: 18px; background: var(--teal); border-radius: 2px; }
.ef4u-widget-body { padding: 14px 18px; }

/* ─── MARKET PULSE ─── */
.ef4u-stock-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); }
.ef4u-stock-row:last-of-type { border-bottom: none; }
.ef4u-stock-name { font-weight: 600; font-size: 13px; color: var(--navy); }
.ef4u-stock-sym { font-size: 11px; color: var(--muted); }
.ef4u-stock-price { font-weight: 700; font-size: 14px; color: var(--text); text-align: right; }
.ef4u-chg { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 6px; display: inline-block; }
.ef4u-chg.up { background: #D1FAE5; color: #059669; }
.ef4u-chg.dn { background: #FEE2E2; color: #DC2626; }
.ef4u-chg.na { background: #F1F5F9; color: #94A3B8; }
.ef4u-live-dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; display: inline-block; animation: ef4uBlink 1.5s infinite; }
@keyframes ef4uBlink { 0%,100%{opacity:1} 50%{opacity:.3} }

/* ─── GOLD TABLE ─── */
.ef4u-gold-table { width: 100%; border-collapse: collapse; }
.ef4u-gold-table td { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.ef4u-gold-table tr:last-child td { border-bottom: none; }
.ef4u-gold-table td:first-child { font-weight: 600; color: var(--navy); }
.ef4u-gold-table td:last-child { text-align: right; font-weight: 700; color: var(--gold); }

/* ─── CURRENCY ─── */
.ef4u-cur-row { display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.ef4u-cur-row input { flex: 1; min-width: 0; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: 'Inter', sans-serif; outline: none; color: var(--text); background: var(--surface); }
.ef4u-cur-row input:focus { border-color: var(--teal); }
.ef4u-cur-row select { padding: 8px 8px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 12px; font-family: 'Inter', sans-serif; outline: none; cursor: pointer; color: var(--text); background: var(--surface); }
.ef4u-cur-swap { width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .2s; }
.ef4u-cur-swap:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.ef4u-cur-result { background: var(--bg); border-radius: 10px; padding: 12px; text-align: center; margin-top: 4px; }
.ef4u-cur-big { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--teal); }
.ef4u-cur-small { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ─── CALCULATORS ─── */
.ef4u-calc-tabs { display: flex; border-bottom: 1px solid var(--border); overflow-x: auto; }
.ef4u-calc-tab { padding: 9px 12px; font-size: 12px; font-weight: 600; color: var(--muted); cursor: pointer; border: none; background: none; white-space: nowrap; border-bottom: 2px solid transparent; transition: all .2s; font-family: 'Inter', sans-serif; user-select: none; }
.ef4u-calc-tab.active { color: var(--teal); border-bottom-color: var(--teal); }
.ef4u-calc-panel { display: none; padding: 14px 16px; }
.ef4u-calc-panel.active { display: block; }
.ef4u-calc-row { margin-bottom: 10px; }
.ef4u-calc-row label { display: block; font-size: 11px; font-weight: 600; color: var(--muted); margin-bottom: 4px; }
.ef4u-calc-row input, .ef4u-calc-row select { width: 100%; padding: 8px 10px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-family: 'Inter', sans-serif; outline: none; color: var(--text); background: var(--surface); transition: border-color .2s; }
.ef4u-calc-row input:focus, .ef4u-calc-row select:focus { border-color: var(--teal); }
.ef4u-calc-btn { width: 100%; padding: 10px; border-radius: 8px; border: none; background: linear-gradient(90deg,var(--teal),#0D2240); color: #fff; font-size: 13px; font-weight: 700; cursor: pointer; font-family: 'Inter', sans-serif; margin-bottom: 10px; transition: opacity .2s; }
.ef4u-calc-btn:hover { opacity: .88; }
.ef4u-calc-result { background: var(--teal-light); border-radius: 8px; padding: 12px; display: none; }
.ef4u-calc-result.show { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ef4u-result-item { text-align: center; }
.ef4u-result-num { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--teal); font-weight: 700; }
.ef4u-result-label { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ─── CATEGORIES WIDGET ─── */
.ef4u-cat-list { list-style: none; }
.ef4u-cat-list li { border-bottom: 1px solid var(--border); }
.ef4u-cat-list li:last-child { border-bottom: none; }
.ef4u-cat-list a { display: flex; align-items: center; justify-content: space-between; padding: 9px 0; color: var(--text); font-size: 13.5px; font-weight: 500; transition: color .2s; }
.ef4u-cat-list a:hover { color: var(--teal); text-decoration: none; }
.ef4u-cat-badge { background: var(--bg); color: var(--muted); font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 12px; transition: all .2s; }
.ef4u-cat-list a:hover .ef4u-cat-badge { background: var(--teal); color: #fff; }

/* ─── TAGS ─── */
.ef4u-tags-cloud { display: flex; flex-wrap: wrap; gap: 7px; }
.ef4u-tag { padding: 5px 11px; border-radius: 20px; font-size: 12px; font-weight: 600; border: 1.5px solid var(--border); color: var(--muted); background: var(--surface); transition: all .2s; }
.ef4u-tag:hover { background: var(--teal); color: #fff; border-color: var(--teal); text-decoration: none; }

/* ─── NEWSLETTER ─── */
.ef4u-newsletter { background: linear-gradient(135deg,var(--navy),var(--navy-light)); border-radius: var(--radius); padding: 22px; }
.ef4u-newsletter h3 { font-family: 'Playfair Display', serif; font-size: 19px; color: #fff; margin-bottom: 6px; }
.ef4u-newsletter p { font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 16px; }
.ef4u-newsletter input { width: 100%; padding: 10px 14px; border-radius: 8px; border: none; font-size: 13px; margin-bottom: 8px; outline: none; font-family: 'Inter', sans-serif; background: rgba(255,255,255,.95); color: #1E293B; }
.ef4u-newsletter button { width: 100%; padding: 10px; border-radius: 8px; background: var(--teal); color: #fff; font-size: 13px; font-weight: 700; border: none; cursor: pointer; font-family: 'Inter', sans-serif; }

/* ─── SINGLE POST ─── */
.ef4u-single-hero { background: linear-gradient(135deg,var(--navy),#1A3660); padding: 52px 24px; }
.ef4u-single-hero-inner { max-width: 860px; margin: 0 auto; }
.ef4u-post-cat { display: inline-block; background: var(--teal); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px; }
.ef4u-single-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(26px,4vw,42px); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 18px; }
.ef4u-post-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.7); }
.ef4u-post-meta strong { color: #fff; }
.ef4u-article-content { padding: 28px 32px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.ef4u-article-content h2 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; color: var(--navy); margin: 32px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--teal-light); }
.ef4u-article-content h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 24px 0 10px; }
.ef4u-article-content p { font-size: 15px; margin-bottom: 16px; line-height: 1.8; }
.ef4u-article-content ul, .ef4u-article-content ol { padding-left: 22px; margin-bottom: 16px; }
.ef4u-article-content li { font-size: 15px; margin-bottom: 8px; }
.ef4u-article-content img { border-radius: 10px; margin: 16px 0; }
.ef4u-article-content blockquote { border-left: 4px solid var(--teal); padding: 16px 20px; background: var(--teal-light); border-radius: 0 10px 10px 0; margin: 20px 0; font-style: italic; color: var(--navy); }
.ef4u-share-bar { display: flex; align-items: center; gap: 8px; padding: 14px 24px; border-bottom: 1px solid var(--border); background: var(--bg); flex-wrap: wrap; }
.ef4u-share-label { font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.ef4u-share-btn { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: none; font-size: 12px; font-weight: 600; cursor: pointer; font-family: 'Inter', sans-serif; transition: all .2s; }
.ef4u-share-wa { background: #25D366; color: #fff; }
.ef4u-share-tw { background: #000; color: #fff; }
.ef4u-share-fb { background: #1877F2; color: #fff; }
.ef4u-share-cp { background: var(--surface); color: var(--text); border: 1.5px solid var(--border); }
.ef4u-toc { background: var(--teal-light); border: 1px solid rgba(14,165,160,.2); border-radius: 10px; padding: 18px 20px; margin: 24px 0; }
.ef4u-toc-title { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.ef4u-toc ol { padding-left: 18px; }
.ef4u-toc li { font-size: 13.5px; margin-bottom: 6px; }
.ef4u-toc a { color: var(--teal); font-weight: 500; }
.ef4u-highlight { background: var(--teal-light); border-left: 4px solid var(--teal); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; font-size: 14.5px; color: var(--navy); }
.ef4u-warning { background: #FEF3C7; border-left: 4px solid var(--gold); padding: 16px 20px; border-radius: 0 10px 10px 0; margin: 20px 0; font-size: 14.5px; color: #92400E; }
.ef4u-author-box { display: flex; gap: 18px; background: var(--bg); border-radius: 12px; padding: 20px; margin: 32px 0; border: 1px solid var(--border); }
.ef4u-author-avatar { width: 64px; height: 64px; border-radius: 50%; background: linear-gradient(135deg,var(--teal),var(--navy)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 700; font-family: 'Playfair Display', serif; flex-shrink: 0; }
.ef4u-author-info h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.ef4u-author-info p { font-size: 13px; color: var(--muted); }
.ef4u-post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.ef4u-post-nav-btn { background: var(--surface); border-radius: 10px; box-shadow: var(--shadow); padding: 16px; border: 1px solid var(--border); transition: all .2s; }
.ef4u-post-nav-btn:hover { border-color: var(--teal); transform: translateY(-2px); text-decoration: none; }
.ef4u-post-nav-btn .direction { font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.ef4u-post-nav-btn h4 { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; }

/* ─── CATEGORY PAGE ─── */
.ef4u-cat-hero { padding: 44px 24px; text-align: center; }
.ef4u-cat-hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px,4vw,40px); font-weight: 800; color: #fff; margin-bottom: 10px; }
.ef4u-cat-hero p { font-size: 15px; color: rgba(255,255,255,.75); margin-bottom: 16px; }
.ef4u-cat-count { display: inline-block; background: rgba(255,255,255,.15); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 16px; border-radius: 20px; border: 1px solid rgba(255,255,255,.2); }

/* ─── BACK TO TOP ─── */
#ef4u-back-top { position: fixed; bottom: 24px; right: 24px; z-index: 700; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; border: none; cursor: pointer; font-size: 18px; box-shadow: 0 4px 14px rgba(14,165,160,.4); opacity: 0; transform: translateY(20px); transition: all .3s; display: flex; align-items: center; justify-content: center; }
#ef4u-back-top.show { opacity: 1; transform: translateY(0); }
#ef4u-back-top:hover { background: #0C8F8A; }

/* ─── TOAST ─── */
#ef4u-toast { position: fixed; bottom: 80px; left: 50%; transform: translateX(-50%) translateY(20px); background: var(--navy); color: #fff; padding: 10px 20px; border-radius: 24px; font-size: 13px; font-weight: 600; opacity: 0; transition: all .3s; z-index: 9999; pointer-events: none; white-space: nowrap; }
#ef4u-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── RELATED POSTS ─── */
.ef4u-related-post { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); transition: all .2s; }
.ef4u-related-post:last-child { border-bottom: none; }
.ef4u-related-post:hover { transform: translateX(4px); }
.ef4u-related-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg,var(--teal),var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.ef4u-related-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ef4u-related-post h4 { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.ef4u-related-post h4 a { color: inherit; }
.ef4u-related-post h4 a:hover { color: var(--teal); text-decoration: none; }
.ef4u-related-post span { font-size: 11px; color: var(--muted); }

/* ─── FOOTER ─── */
#colophon { background: var(--navy); color: #fff; margin-top: 60px; }
.ef4u-footer-top { max-width: 1200px; margin: 0 auto; padding: 48px 24px 36px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.ef4u-footer-brand p { font-size: 13px; color: rgba(255,255,255,.6); margin: 12px 0 20px; line-height: 1.7; max-width: 270px; }
.ef4u-social-links { display: flex; gap: 8px; }
.ef4u-social-btn { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 700; transition: background .2s; }
.ef4u-social-btn:hover { background: var(--teal); text-decoration: none; }
.ef4u-footer-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 16px; }
.ef4u-footer-col ul { list-style: none; }
.ef4u-footer-col li { margin-bottom: 8px; }
.ef4u-footer-col a { font-size: 13.5px; color: rgba(255,255,255,.7); transition: color .2s; }
.ef4u-footer-col a:hover { color: var(--teal); text-decoration: none; }
.ef4u-footer-bottom { border-top: 1px solid rgba(255,255,255,.1); max-width: 1200px; margin: 0 auto; padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 8px; }
.ef4u-footer-bottom a { color: rgba(255,255,255,.35); }
.ef4u-footer-bottom a:hover { color: var(--teal); text-decoration: none; }

/* ─── PAGINATION ─── */
.ef4u-pagination { display: flex; gap: 8px; justify-content: center; margin: 32px 0; }
.ef4u-pagination a, .ef4u-pagination span { padding: 8px 14px; border-radius: 8px; font-size: 14px; font-weight: 600; border: 1.5px solid var(--border); color: var(--text); background: var(--surface); transition: all .2s; }
.ef4u-pagination a:hover, .ef4u-pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }

/* ─── 404 ─── */
.ef4u-404 { text-align: center; padding: 80px 24px; }
.ef4u-404 h1 { font-family: 'Playfair Display', serif; font-size: 80px; font-weight: 800; color: var(--teal); }
.ef4u-404 h2 { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--navy); margin: 16px 0 12px; }
.ef4u-404 p { font-size: 15px; color: var(--muted); margin-bottom: 24px; }

/* ─── WP DEFAULTS ─── */
.wp-caption { max-width: 100%; }
.alignleft { float: left; margin: 0 16px 16px 0; }
.alignright { float: right; margin: 0 0 16px 16px; }
.aligncenter { text-align: center; margin: 16px auto; }
.wp-block-image { margin: 20px 0; }
.wp-block-image img { border-radius: 10px; }

/* ─── RESPONSIVE ─── */
@media(max-width:1024px){ .ef4u-footer-top{grid-template-columns:1fr 1fr} }
@media(max-width:900px){
  .ef4u-nav{display:none}
  .ef4u-hamburger{display:flex}
  .ef4u-hero-inner{grid-template-columns:1fr}
  .ef4u-main-wrap{grid-template-columns:1fr}
  .ef4u-cards-grid{grid-template-columns:1fr}
  .ef4u-card-featured{flex-direction:column}
  .ef4u-card-featured .ef4u-card-img{width:100%;height:160px}
  .ef4u-stats-inner{grid-template-columns:repeat(2,1fr)}
  .ef4u-post-nav{grid-template-columns:1fr}
}
@media(max-width:600px){
  .ef4u-footer-top{grid-template-columns:1fr}
  .ef4u-article-content{padding:20px}
}
</style>
