/* Exera blog - shared styles */
:root {
    --bg: #F5F7F0; --bg-2: #EEF2E7; --ink: #0C1A13; --ink-2: #33463E; --muted: #556259;
    --line: rgba(12, 26, 19, 0.10); --card: #FFFFFF;
    --green: #097992; --green-d: #024056; --eco: #05B36A;
    --grad: linear-gradient(120deg, #05B36A, #0E93A8 55%, #2E6BF0);
    --mint: #D6ECEF; --limebg: #DFF2E6; --skybg: #DEEBFF;
    --shadow: 0 18px 50px -20px rgba(12, 40, 28, 0.28);
    --shadow-sm: 0 8px 26px -14px rgba(12, 40, 28, 0.30);
    --fd: 'Bricolage Grotesque', 'Inter', sans-serif;
    --fs: 'Instrument Serif', Georgia, serif;
    --fb: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --maxw: 760px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--bg); color: var(--ink); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }

.aurora { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; }
.b1 { width: 520px; height: 520px; top: -200px; right: -140px; background: radial-gradient(circle, #9EF2C1, transparent 68%); }
.b2 { width: 480px; height: 480px; top: 40%; left: -200px; background: radial-gradient(circle, #B4CEFF, transparent 66%); }

nav { position: sticky; top: 0; z-index: 10; background: rgba(245, 247, 240, 0.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); padding: 1rem 0; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.wrap.wide { max-width: 1100px; }
nav .nav-in { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
nav img { height: 36px; }
.nav-links { display: flex; gap: 1.6rem; list-style: none; align-items: center; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--green); }
.nav-cta { background: var(--ink); color: #fff !important; padding: 0.55rem 1.1rem; border-radius: 100px; font-family: var(--fd); font-weight: 600; }
.nav-cta:hover { background: var(--green); }

.breadcrumb { font-size: 0.82rem; color: var(--muted); margin-bottom: 1.4rem; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--green); }

.kicker { font-family: var(--fd); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--green-d); font-size: 0.76rem; }
.badge { display: inline-block; font-family: var(--fd); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.5px; text-transform: uppercase; color: var(--green-d); background: var(--limebg); border-radius: 100px; padding: 0.3rem 0.8rem; }
.g { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ser { font-family: var(--fs); font-style: italic; }

/* Listing (index) */
.blog-hero { padding: 3.5rem 0 1.5rem; }
.blog-hero h1 { font-family: var(--fd); font-weight: 800; font-size: clamp(2.2rem, 5vw, 3.2rem); letter-spacing: -1.5px; line-height: 1.05; margin: 0.7rem 0; }
.blog-hero p { color: var(--ink-2); font-size: 1.08rem; max-width: 620px; }
.posts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; padding: 1.5rem 0 4rem; }
.post-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink); transition: transform .25s, box-shadow .3s; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card .banner { height: 150px; background: var(--grad); position: relative; display: flex; align-items: flex-end; padding: 1rem 1.2rem; }
.post-card .banner.alt { background: linear-gradient(120deg, #0E93A8, #2E6BF0); }
.post-card .banner .badge { background: rgba(255,255,255,0.9); }
.post-card .body { padding: 1.3rem 1.3rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.post-card h2 { font-family: var(--fd); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.4px; line-height: 1.2; }
.post-card p { color: var(--muted); font-size: 0.92rem; flex: 1; }
.post-card .meta { font-size: 0.78rem; color: var(--muted); }
.post-card .more { font-family: var(--fd); font-weight: 600; color: var(--green); font-size: 0.9rem; }

/* Article */
.post-head { padding: 3rem 0 1rem; }
.post-head h1 { font-family: var(--fd); font-weight: 800; font-size: clamp(2rem, 4.6vw, 3rem); letter-spacing: -1.5px; line-height: 1.08; margin: 0.8rem 0 0.8rem; }
.post-head .lead { font-size: 1.18rem; color: var(--ink-2); }
.post-meta { display: flex; align-items: center; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.2rem; font-size: 0.86rem; color: var(--muted); }
.post-meta .av { width: 34px; height: 34px; border-radius: 50%; background: var(--grad); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-family: var(--fd); font-weight: 700; font-size: 0.78rem; }
.cover { height: 10px; border-radius: 100px; background: var(--grad); margin: 1.8rem 0 0.5rem; }

article { padding: 1.5rem 0 1rem; font-size: 1.06rem; }
article h2 { font-family: var(--fd); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.6px; margin: 2.2rem 0 0.8rem; line-height: 1.15; }
article h3 { font-family: var(--fd); font-weight: 600; font-size: 1.22rem; margin: 1.6rem 0 0.5rem; }
article p { margin-bottom: 1.1rem; color: #243029; }
article ul, article ol { margin: 0 0 1.2rem 1.3rem; }
article li { margin-bottom: 0.5rem; color: #243029; }
article strong { color: var(--ink); }
article a { color: var(--green); font-weight: 500; }
blockquote { margin: 1.8rem 0; padding: 1.4rem 1.6rem; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--eco); border-radius: 0 14px 14px 0; box-shadow: var(--shadow-sm); }
blockquote p { font-family: var(--fs); font-style: italic; font-size: 1.28rem; line-height: 1.5; color: var(--ink); margin-bottom: 0.6rem; }
blockquote cite { font-style: normal; font-size: 0.88rem; color: var(--muted); font-weight: 500; }

.cta-box { background: linear-gradient(140deg, #05B36A, #0E8FA6 55%, #2E6BF0); color: #fff; border-radius: 22px; padding: 2.2rem; margin: 2.6rem 0 1rem; box-shadow: var(--shadow); }
.cta-box h3 { font-family: var(--fd); font-weight: 700; font-size: 1.4rem; margin-bottom: 0.5rem; color: #fff; }
.cta-box p { color: rgba(255,255,255,0.92); margin-bottom: 1.2rem; }
.cta-box a { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; color: var(--ink); font-family: var(--fd); font-weight: 600; padding: 0.8rem 1.5rem; border-radius: 100px; text-decoration: none; transition: transform .2s; }
.cta-box a:hover { transform: translateY(-2px); }

.post-foot { border-top: 1px solid var(--line); margin-top: 2rem; padding: 1.6rem 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.post-foot a { color: var(--green); text-decoration: none; font-weight: 500; font-size: 0.92rem; }

footer { border-top: 1px solid var(--line); padding: 2rem 0; }
footer .f { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; font-size: 0.85rem; color: var(--muted); }
footer a { color: var(--ink-2); text-decoration: none; margin-left: 1.1rem; }
footer a:hover { color: var(--green); }

@media (max-width: 720px) {
    .posts { grid-template-columns: 1fr; }
    .nav-links { display: none; }
    nav .nav-in .nav-cta { display: inline-block; }
}
