Blog template 1
- Felix La Spina
- Aug 13
- 2 min read
Post Title — StockEducation
:root{ --bg:#0b0f14; --elev:#0f141b; --panel:#111826; --text:#e6e9f0; --muted:#a6b0c3; --brand:#2b6bff; --brand-2:#7bc8ff; --ok:#32d583; --warn:#f59e0b; --info:#38bdf8; --border:rgba(255,255,255,.08); --radius:14px; --shadow:0 8px 30px rgba(0,0,0,.35); --w:1100px;}html,body{background:var(--bg);color:var(--text);font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;line-height:1.65;margin:0}img{max-width:100%;height:auto;display:block} a{color:var(--brand);text-decoration:none} a:hover{opacity:.9}/* Progress bar */.se-progress{position:fixed;top:0;left:0;width:100%;height:3px;background:transparent;z-index:9999}.se-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--brand),var(--brand-2))}/* Hero */.se-hero{background:radial-gradient(1200px 600px at 40% -10%,rgba(43,107,255,.25),transparent),var(--elev);border-bottom:1px solid var(--border)}.se-hero-inner{max-width:var(--w);margin:0 auto;padding:48px 20px 30px}.se-breadcrumb{color:var(--muted);font-size:.9rem}.se-title{font-size:clamp(2rem,4vw,3.25rem);line-height:1.1;margin:14px 0 18px;letter-spacing:.2px}.se-meta{display:flex;gap:12px;align-items:center;color:var(--muted)}.se-avatar{width:36px;height:36px;border-radius:50%;border:1px solid var(--border)}.se-avatar.xl{width:64px;height:64px}.se-featured{margin:22px 0 0;border-radius:var(--radius);overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--border)}.se-featured img{display:block;width:100%;height:auto}.se-toc-trigger{margin-top:14px;background:transparent;border:1px dashed var(--border);color:var(--text);padding:8px 10px;border-radius:10px}/* Shell */.se-shell{max-width:var(--w);margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:28px;padding:30px 20px}/* Content */.se-content .se-deck{font-size:1.15rem;color:var(--muted);background:var(--panel);padding:18px;border:1px solid var(--border);border-radius:12px}.se-entry{font-size:1.06rem}.se-entry h2{margin:36px 0 12px;font-size:1.6rem;scroll-margin-top:90px}.se-entry h3{margin:28px 0 10px;font-size:1.25rem;scroll-margin-top:90px}.se-entry p,.se-entry ul,.se-entry ol,.se-entry blockquote{margin:14px 0}.se-entry blockquote{border-left:3px solid var(--brand);padding:6px 14px;color:#d7e2ff;background:rgba(43,107,255,.06);border-radius:8px}/* Callouts */.se-callout{border:1px solid var(--border);background:var(--panel);border-left:4px solid var(--brand);padding:14px;border-radius:12px}.se-callout.info{border-left-color:var(--info)} .se-callout.success{border-left-color:var(--ok)} .se-callout.warn{border-left-color:var(--warn)}/* Share chips */.se-share{margin-top:34px}.se-chip{display:inline-block;padding:8px 12px;border:1px solid var(--border);border-radius:999px;margin-right:8px;background:rgba(255,255,255,.02)}/* Author */.se-author{margin-top:40px;display:flex;gap:16px;align-items:flex-start;background:var(--panel);border:1px solid var(--border);padding:16px;border-radius:14px}.se-author-links a{margin-right:10px}/* Related */.se-related{margin-top:36px}.se-cardgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.se-card{display:block;background:var(--panel);border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:transform .2s}.se-card:hover{transform:translateY(-2px)}.se-card h4{margin:12px 12px 6px;font-size:1.05rem;color:#fff}.se-card p{margin:0 12px 14px;color:var(--muted)}/* Sidebar wrapper fix */.se-rail-sticky{position:sticky;top:90px;}.se-toc, .se-cta, .se-newsletter{ position:static;top:auto; background:linear-gradient(180deg, rgba(43,107,255,.14), rgba(43,107,255,.04)), var(--panel); border:1px solid var(--border); border-radius:14px; padding:16px; margin-bottom:16px;}.se-toc strong{display:block;margin-bottom:8px}.se-toc ol{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.se-toc a{color:var(--muted)}.se-toc a.active{color:#fff}.se-btn{display:inline-block;margin-top:8px;padding:10px 14px;border-radius:12px;background:linear-gradient(90deg,var(--brand),var(--brand-2));color:#061021;font-weight:700}/* Tables & code (optional) */.se-entry table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:10px;overflow:hidden}.se-entry th,.se-entry td{padding:10px;border-bottom:1px solid var(--border)}.se-entry pre,.se-entry code{background:#0c121a;border:1px solid var(--border);border-radius:10px}/* Mobile */@media (max-width:980px){ .se-shell{grid-template-columns:1fr} .se-rail{order:-1} .se-cardgrid{grid-template-columns:1fr} .se-title{font-size:2rem}}
How Inflation Works (Example Title)
By Jane Doe
• Jul 24, 2025
• 8 min read
🔽 Jump to
An illustrated, plain-English guide to understanding inflation, why it happens, and what it means for your money.
What Is Inflation?
Inflation is a general rise in prices across the economy and a fall in the purchasing power of money.
TL;DR: A little inflation is normal. Persistent, high inflation erodes real returns and living standards.
Why Inflation Happens
Demand-Pull
When demand outpaces supply, prices rise.
Cost-Push
When input costs increase, producers pass them on to consumers.
“Inflation is when you pay fifteen dollars for the ten-dollar haircut you used to get for five dollars when you had hair.” — Sam Ewing
How Inflation Is Measured
Governments use baskets like CPI/PCE to track prices over time.
Protecting Your Purchasing Power
Own productive assets (equities)
Consider inflation-linked bonds
Control fees and taxes
Year | CPI YoY |
|---|---|
2022 | 8.0% |
2023 | 4.1% |
Share
Jane Doe
Investor and educator focused on practical strategies that compound over time.
Keep Learning
On this page
Learn to Invest Smarter with AI
Join our course and unlock real-time AI market tools.
Get weekly insights
Subscribe
(function(){ const content = document.querySelector('#se-content .se-entry'); const list = document.getElementById('se-toc-list'); if(content && list){ const headings = content.querySelectorAll('h2, h3'); headings.forEach((h,i)=>{ if(!h.id) h.id = 'sec-' + (i+1); const li = document.createElement('li'); li.innerHTML = `<a href="#${h.id}" data-level="${h.tagName}">${h.textContent}</a>`; list.appendChild(li); }); const links = list.querySelectorAll('a'); const obs = new IntersectionObserver((entries)=>{ entries.forEach(e=>{ const link = list.querySelector(`a[href="#${e.target.id}"]`); if(!link) return; if(e.isIntersecting){ links.forEach(a=>a.classList.remove('active')); link.classList.add('active'); } }); },{rootMargin:'-40% 0px -55% 0px', threshold:0}); headings.forEach(h=>obs.observe(h)); } document.addEventListener('click', (e)=>{ const a = e.target.closest('a[href^="#sec-"]'); if(!a) return; e.preventDefault(); document.querySelector(a.getAttribute('href'))?.scrollIntoView({behavior:'smooth',block:'start'}); }); const bar = document.querySelector('.se-progress span'); const article = document.querySelector('.se-post'); function onScroll(){ if(!bar || !article) return; const top = window.scrollY; const max = article.scrollHeight - window.innerHeight; const p = Math.min(100, Math.max(0, (top / max) * 100)); bar.style.width = p + '%'; } document.addEventListener('scroll', onScroll, {passive:true}); onScroll(); document.querySelector('.se-toc-trigger')?.addEventListener('click', ()=>{ document.querySelector('.se-toc')?.scrollIntoView({behavior:'smooth'}); });})();
Comments