/*
Theme Name: CEW Magazine
Theme URI: https://cryptoeducationworld.com/
Author: AlexGPT
Description: Fast editorial WordPress theme for CryptoEducationWorld: magazine layout, strong reading UX, crypto education topic hubs.
Version: 1.0.0
Text Domain: cew-magazine
*/
:root{--bg:#f5f7fb;--surface:#fff;--ink:#111827;--muted:#5b6472;--line:#d9e0ea;--brand:#0f766e;--brand2:#14b8a6;--accent:#f59e0b;--dark:#0b1220;--radius:18px;--shadow:0 16px 40px rgba(15,23,42,.08)}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}a:hover{color:var(--brand)}img{max-width:100%;height:auto}.wrap{width:min(1180px,calc(100% - 36px));margin-inline:auto}.site-top{background:rgba(255,255,255,.92);backdrop-filter:blur(16px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:40}.topbar{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 0}.brand{display:flex;align-items:center;gap:12px;font-weight:900;letter-spacing:-.035em;font-size:22px}.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:14px;background:linear-gradient(135deg,var(--brand),#0f172a);color:#fff;font-weight:900;box-shadow:0 10px 24px rgba(15,118,110,.25)}.nav{display:flex;align-items:center;gap:18px;flex-wrap:wrap;font-size:14px;font-weight:750;color:#374151}.nav a{padding:9px 10px;border-radius:999px}.nav a:hover{background:#eefaf8;color:#0f766e}.search-link{background:var(--dark);color:#fff!important;padding:10px 14px!important;border-radius:999px}.hero{background:radial-gradient(circle at top left,rgba(20,184,166,.22),transparent 32%),linear-gradient(135deg,#08111f 0%,#0f172a 58%,#143b3a 100%);color:#fff;padding:54px 0 38px}.hero-grid{display:grid;grid-template-columns:1.06fr .94fr;gap:34px;align-items:stretch}.eyebrow{display:inline-flex;gap:8px;align-items:center;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.08);border-radius:999px;padding:7px 11px;color:#d1fae5;font-size:13px;font-weight:800}.hero h1{font-size:clamp(38px,6vw,70px);line-height:.94;letter-spacing:-.065em;margin:18px 0 16px}.hero p{font-size:18px;color:#cbd5e1;max-width:720px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:25px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:12px 17px;font-weight:850;border:1px solid transparent}.btn-primary{background:var(--brand2);color:#05201d}.btn-ghost{border-color:rgba(255,255,255,.2);color:#fff}.hero-panel{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.14);border-radius:26px;padding:18px;box-shadow:var(--shadow)}.featured-list{display:grid;gap:14px}.featured-item{display:grid;grid-template-columns:92px 1fr;gap:14px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.1);border-radius:18px;padding:12px}.featured-thumb{height:76px;border-radius:14px;background:linear-gradient(135deg,#115e59,#f59e0b);overflow:hidden}.featured-thumb img{width:100%;height:100%;object-fit:cover}.featured-item h3{font-size:16px;line-height:1.25;margin:0 0 5px}.meta{font-size:12px;color:#94a3b8;font-weight:750;text-transform:uppercase;letter-spacing:.06em}.section{padding:42px 0}.section-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.section-title{font-size:30px;line-height:1.08;letter-spacing:-.04em;margin:0}.section-kicker{color:var(--muted);margin:6px 0 0}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:30px;align-items:start}.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);overflow:hidden}.card-body{padding:18px}.card-thumb{aspect-ratio:16/9;background:linear-gradient(135deg,#e0f2fe,#ccfbf1);overflow:hidden}.card-thumb img{width:100%;height:100%;object-fit:cover}.card h2,.card h3{margin:0 0 8px;line-height:1.18;letter-spacing:-.025em}.card p{color:var(--muted);margin:0}.pill-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:10px}.pill{font-size:12px;font-weight:850;color:#075985;background:#e0f2fe;border-radius:999px;padding:5px 9px}.sidebar{display:grid;gap:18px;position:sticky;top:86px}.widget{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:18px}.widget h3{margin:0 0 12px;letter-spacing:-.025em}.widget ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.widget li{border-top:1px solid #edf1f7;padding-top:10px}.hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.hub{background:#fff;border:1px solid var(--line);border-radius:18px;padding:18px;box-shadow:var(--shadow)}.hub strong{display:block;font-size:18px;letter-spacing:-.02em}.hub span{display:block;color:var(--muted);font-size:14px;margin-top:5px}.article{background:#fff;border:1px solid var(--line);border-radius:24px;box-shadow:var(--shadow);padding:min(6vw,54px)}.article h1{font-size:clamp(34px,5vw,56px);line-height:1;letter-spacing:-.055em;margin:0 0 14px}.article .entry-content{font-size:18px}.entry-content h2{font-size:28px;line-height:1.15;letter-spacing:-.035em;margin-top:34px}.entry-content h3{font-size:22px}.entry-content p,.entry-content li{color:#263244}.entry-content a{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px;color:#0f766e}.entry-content blockquote{margin:26px 0;padding:18px 22px;border-left:4px solid var(--brand);background:#f0fdfa;border-radius:0 14px 14px 0}.footer{background:#07111f;color:#cbd5e1;margin-top:46px;padding:34px 0}.footer-grid{display:grid;grid-template-columns:1.4fr .6fr .6fr;gap:24px}.footer a{color:#e2e8f0}.archive-title{padding:36px 0 8px}.pagination{display:flex;gap:10px;justify-content:center;margin-top:28px}.pagination .page-numbers{background:#fff;border:1px solid var(--line);border-radius:999px;padding:8px 13px}.pagination .current{background:var(--dark);color:#fff}.wp-caption,.aligncenter{max-width:100%}.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);overflow:hidden;height:1px;width:1px}@media (max-width:900px){.hero-grid,.content-grid,.footer-grid{grid-template-columns:1fr}.sidebar{position:static}.hub-grid{grid-template-columns:repeat(2,1fr)}}@media (max-width:640px){.wrap{width:min(100% - 24px,1180px)}.topbar{align-items:flex-start;flex-direction:column}.brand{font-size:19px}.nav{gap:7px}.hero{padding:34px 0 28px}.hero h1{font-size:42px}.featured-item{grid-template-columns:76px 1fr}.post-grid,.hub-grid{grid-template-columns:1fr}.section{padding:30px 0}.article{padding:24px 18px;border-radius:18px}.article .entry-content{font-size:16px}.section-head{display:block}.footer{padding-bottom:70px}}
/* CEW cleanup pass 2026-05-17 */
.nav .menu{display:flex;gap:14px;list-style:none;margin:0;padding:0;align-items:center;flex-wrap:wrap}.nav li{list-style:none}.nav-toggle{display:none}.home-hero{background:linear-gradient(135deg,#07111f,#0f766e);padding:54px 0;color:#fff}.home-card{background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);border-radius:28px;padding:clamp(24px,5vw,56px);box-shadow:0 18px 44px rgba(0,0,0,.18)}.cew-home-intro h1{font-size:clamp(38px,6vw,72px);line-height:.94;letter-spacing:-.065em;margin:12px 0 16px;max-width:980px}.cew-home-intro p{font-size:19px;color:#dbeafe;max-width:760px}.eyebrow-light{display:inline-flex!important;width:auto;color:#99f6e4!important;background:rgba(20,184,166,.15);border:1px solid rgba(153,246,228,.26);border-radius:999px;padding:7px 12px;font-size:13px!important;font-weight:850;text-transform:uppercase;letter-spacing:.08em}.home-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.btn.dark{background:#14b8a6;color:#042f2e}.btn.light{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.22);color:#fff}.manual-hubs{margin-top:22px}.manual-hubs .hub{text-decoration:none}.risk-note{background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;border-radius:16px;padding:14px 16px;margin:18px 0 24px}.site-top .wrap.topbar{min-height:70px}.footer p{color:#cbd5e1}.footer .brand{color:#fff}.article .meta{color:#64748b}.entry-content .hub-grid a{text-decoration:none;color:inherit}@media(max-width:760px){.nav-toggle{display:none}.nav .menu{gap:6px}.nav a{font-size:13px;padding:7px 8px}.cew-home-intro h1{font-size:38px}.home-hero{padding:28px 0}.home-card{padding:22px}}

/* CEW article readability pass */
.article{max-width:860px;margin:0 auto;padding:clamp(28px,5vw,64px);}
.content-grid:has(.article){grid-template-columns:minmax(0,860px) 300px;justify-content:center;}
.article h1{max-width:760px;margin-bottom:18px;}
.article .entry-content{font-size:19px;line-height:1.82;color:#263244;}
.article .entry-content > *{max-width:740px;}
.article .entry-content p{margin:0 0 1.25em;color:#263244;}
.article .entry-content .article-lede{font-size:22px;line-height:1.55;color:#111827;font-weight:650;margin-bottom:24px;}
.article .entry-content h2{font-size:clamp(26px,3vw,34px);line-height:1.15;margin:42px 0 14px;color:#0f172a;letter-spacing:-.04em;}
.article .entry-content h3{font-size:24px;line-height:1.25;margin:30px 0 10px;color:#0f172a;}
.article .entry-content ul,.article .entry-content ol{margin:0 0 1.5em 0;padding:0;display:grid;gap:10px;list-style:none;}
.article .entry-content li{position:relative;background:#f8fafc;border:1px solid #e2e8f0;border-radius:14px;padding:13px 16px 13px 42px;color:#263244;}
.article .entry-content li:before{content:"";position:absolute;left:16px;top:22px;width:8px;height:8px;border-radius:999px;background:#14b8a6;box-shadow:0 0 0 4px #ccfbf1;}
.article .entry-content .risk-note,.article .entry-content .source-box{max-width:780px;border-radius:18px;padding:18px 20px;margin:24px 0;border:1px solid #fed7aa;background:#fff7ed;color:#7c2d12;}
.article .entry-content .source-box{background:#f0fdfa;border-color:#99f6e4;color:#134e4a;}
@media(max-width:900px){.content-grid:has(.article){display:block}.article{max-width:none}.article .entry-content{font-size:17px}.article .entry-content .article-lede{font-size:19px}}
/* CEW serious editorial redesign 2026-05-17 */
:root{--cew-bg:#f6f8fb;--cew-ink:#07111f;--cew-muted:#5b6676;--cew-line:#dbe3ee;--cew-blue:#0052ff;--cew-teal:#0f766e;--cew-card:#fff;--cew-dark:#07111f}
html{background:var(--cew-bg)}body{background:var(--cew-bg)!important;color:var(--cew-ink);font-family:'DM Sans',Inter,system-ui,-apple-system,Segoe UI,Roboto,sans-serif!important}body:before{content:"";position:fixed;inset:0 0 auto 0;height:340px;background:linear-gradient(180deg,#eef4ff 0%,rgba(246,248,251,0) 100%);z-index:-1}.wrap{max-width:1180px;margin:0 auto;padding:0 24px}.site-top.v2{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.88)!important;border-bottom:1px solid rgba(219,227,238,.9)!important;backdrop-filter:blur(18px);box-shadow:none!important}.site-top.v2 .topbar{min-height:68px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{font-weight:850;letter-spacing:-.035em;color:#07111f!important;text-decoration:none!important;font-size:18px}.brand-mark{width:36px!important;height:36px!important;border-radius:12px!important;background:#07111f!important;color:#fff!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.14)}.nav .menu{display:flex;gap:4px;align-items:center;list-style:none;margin:0;padding:0;flex-wrap:nowrap}.nav li{list-style:none}.nav a{display:block;padding:9px 11px;border-radius:999px;color:#334155!important;text-decoration:none!important;font-size:14px!important;font-weight:700;white-space:nowrap}.nav a:hover,.current-menu-item>a{background:#eef4ff;color:#0052ff!important}.nav a[href*="risk-disclaimer"]{max-width:116px;overflow:hidden;text-overflow:ellipsis}.section{padding:42px 0}.section.first{padding-top:34px}.cew-hero-v2{display:grid;grid-template-columns:minmax(0,1.5fr) 380px;gap:24px;align-items:stretch}.hero-copy{background:#07111f;color:#fff;border-radius:28px;padding:clamp(32px,6vw,72px);position:relative;overflow:hidden;min-height:520px;display:flex;flex-direction:column;justify-content:center}.hero-copy:after{content:"";position:absolute;width:420px;height:420px;border-radius:999px;background:radial-gradient(circle,rgba(0,82,255,.34),rgba(15,118,110,.08) 55%,transparent 72%);right:-120px;bottom:-160px}.kicker{margin:0 0 14px!important;font-size:12px!important;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:#0052ff!important}.hero-copy .kicker{color:#8dd7ff!important}.hero-copy h1,.page-intro-v2 h1{font-size:clamp(44px,6.2vw,82px)!important;line-height:.94!important;letter-spacing:-.075em!important;margin:0 0 22px!important;font-weight:850!important;max-width:950px}.hero-copy .dek,.page-intro-v2 .dek{font-size:19px!important;line-height:1.58!important;color:#cbd5e1!important;max-width:720px;margin:0!important}.page-intro-v2 .dek{color:#475569!important}.button{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:15px 20px;font-weight:850;text-decoration:none!important;border:1px solid transparent}.button.primary{background:#0052ff;color:#fff!important}.button.ghost{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.18);color:#fff!important}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.hero-rail{display:grid;gap:12px}.hero-rail div{background:#fff;border:1px solid var(--cew-line);border-radius:24px;padding:24px;box-shadow:0 18px 40px rgba(15,23,42,.06)}.hero-rail span{display:block;font-size:12px;font-weight:900;letter-spacing:.12em;color:#0052ff;margin-bottom:18px}.hero-rail strong{display:block;font-size:22px;letter-spacing:-.035em;margin-bottom:8px}.hero-rail p{margin:0;color:#5b6676;line-height:1.55}.editorial-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dbe3ee;border:1px solid #dbe3ee;border-radius:22px;overflow:hidden;margin-top:22px}.editorial-strip a{background:#fff;padding:20px;text-decoration:none!important;color:#07111f!important}.editorial-strip span,.post-card-v2 span,.hub-list-v2 span{display:block;color:#0052ff;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.12em;margin-bottom:8px}.editorial-strip strong{display:block;font-size:18px;line-height:1.25}.page-intro-v2{max-width:880px;margin-bottom:30px}.hub-list-v2{display:grid;gap:12px}.hub-list-v2 a{display:grid;grid-template-columns:130px minmax(0,.9fr) minmax(260px,1fr);gap:24px;align-items:start;background:#fff;border:1px solid #dbe3ee;border-radius:20px;padding:22px;text-decoration:none!important;color:#07111f!important;box-shadow:0 12px 32px rgba(15,23,42,.04)}.hub-list-v2 a:hover{border-color:#0052ff;transform:translateY(-1px)}.hub-list-v2 strong{font-size:22px;line-height:1.18;letter-spacing:-.04em}.hub-list-v2 em{font-style:normal;color:#5b6676;line-height:1.5}.content-grid{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:34px}.section-head{display:flex;justify-content:space-between;gap:20px;align-items:end;margin-bottom:18px}.section-title{font-size:34px!important;line-height:1.05!important;letter-spacing:-.055em!important;margin:0!important}.text-link{font-weight:850;color:#0052ff!important;text-decoration:none!important}.post-grid-v2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.post-card-v2{background:#fff;border:1px solid #dbe3ee;border-radius:22px;padding:22px;text-decoration:none!important;color:#07111f!important;min-height:210px}.post-card-v2 strong{display:block;font-size:22px;line-height:1.18;letter-spacing:-.04em;margin-bottom:12px}.post-card-v2 p{margin:0;color:#5b6676;line-height:1.55}.article{background:#fff;border:1px solid #dbe3ee;border-radius:28px;padding:clamp(28px,5vw,62px);box-shadow:0 18px 44px rgba(15,23,42,.05)}.page-article{max-width:none}.article h1{font-size:clamp(40px,5vw,68px)!important;line-height:.98!important;letter-spacing:-.07em!important;margin:0 0 22px!important}.entry-content{font-size:19px;line-height:1.78;color:#1f2937}.entry-content p{margin:0 0 1.15em!important}.entry-content h2{font-size:30px!important;line-height:1.15!important;letter-spacing:-.045em!important;margin:2.1em 0 .7em!important}.entry-content h3{font-size:23px!important;margin:1.6em 0 .5em!important}.entry-content ul,.entry-content ol{padding-left:1.25em;margin:0 0 1.25em}.entry-content li{margin:.45em 0}.risk-note{background:#fff7ed;border:1px solid #fed7aa;color:#7c2d12;border-radius:18px;padding:16px 18px;margin:20px 0 28px}.sidebar,.widget-area,aside .widget{background:#fff;border:1px solid #dbe3ee;border-radius:22px;padding:20px}.footer{background:#07111f!important;color:#cbd5e1!important;margin-top:50px;border:0!important}.footer a{color:#fff!important}@media(max-width:980px){.cew-hero-v2,.content-grid{grid-template-columns:1fr}.hero-copy{min-height:auto}.hero-rail{grid-template-columns:repeat(3,1fr)}.hub-list-v2 a{grid-template-columns:1fr}.post-grid-v2{grid-template-columns:1fr}}@media(max-width:760px){.wrap{padding:0 16px}.site-top.v2 .topbar{align-items:flex-start;flex-direction:column;padding-top:12px;padding-bottom:12px}.nav .menu{flex-wrap:wrap}.nav a{font-size:13px!important;padding:7px 9px}.hero-copy h1,.page-intro-v2 h1{font-size:42px!important}.hero-rail,.editorial-strip{grid-template-columns:1fr}.article{border-radius:20px;padding:24px}.entry-content{font-size:17px}.article h1{font-size:38px!important}}
