/* Theme 3 — Modern Tech Blog. Dark cyan accent system, glow effects,
   monospace-flavoured code blocks, sticky in-article table of contents. */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700;800&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

.theme-tech{--tc-bg:#f8fafc;--tc-surface:#ffffff;--tc-ink:#0f172a;--tc-muted:#64748b;--tc-line:#e2e8f0;--tc-accent:#06b6d4;--tc-accent2:#8b5cf6;--tc-dark:#0f172a;font-family:'Inter',-apple-system,sans-serif;color:var(--tc-ink);background:var(--tc-bg);}
[data-theme="dark"] .theme-tech{--tc-bg:#0a0e1a;--tc-surface:#111827;--tc-ink:#e2e8f0;--tc-muted:#8b95a8;--tc-line:#1f2937;}
.theme-tech *{box-sizing:border-box;}
.theme-tech a{color:inherit;text-decoration:none;}
.theme-tech h1,.theme-tech h2,.theme-tech h3{font-family:'Space Grotesk',sans-serif;font-weight:700;color:var(--tc-ink);}
.theme-tech .tc-wrap{max-width:1180px;margin:0 auto;padding:0 20px 60px;}
.theme-tech .tc-mono{font-family:'JetBrains Mono',monospace;}

.theme-tech .tc-pills{display:flex;gap:8px;overflow-x:auto;padding:20px 0;margin-bottom:8px;}
.theme-tech .tc-pills a{white-space:nowrap;font-size:12.5px;font-weight:600;padding:8px 16px;border-radius:999px;background:var(--tc-surface);border:1px solid var(--tc-line);color:var(--tc-muted);}
.theme-tech .tc-pills a.active,.theme-tech .tc-pills a:hover{background:var(--tc-accent);border-color:var(--tc-accent);color:#04222a;}

.theme-tech .tc-hero{position:relative;border-radius:20px;overflow:hidden;min-height:340px;display:flex;align-items:flex-end;background:linear-gradient(135deg,var(--tc-dark),#164e63);margin:20px 0 40px;}
.theme-tech .tc-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.45;}
.theme-tech .tc-hero::after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(10,14,26,.95),rgba(10,14,26,.15));}
.theme-tech .tc-hero-content{position:relative;padding:36px;color:#fff;max-width:720px;}
.theme-tech .tc-badge{display:inline-block;background:var(--tc-accent);color:#04222a;font-size:11px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding:5px 12px;border-radius:999px;margin-bottom:14px;}
.theme-tech .tc-hero h2{font-size:clamp(24px,4vw,38px);color:#fff;margin-bottom:10px;line-height:1.2;}
.theme-tech .tc-hero p{color:#cbd5e1;font-size:15px;max-width:560px;}
.theme-tech .tc-hero .tc-meta{color:#94a3b8;font-size:12.5px;margin-top:14px;}

.theme-tech .tc-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.theme-tech .tc-card{background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:16px;overflow:hidden;transition:transform .2s,box-shadow .2s,border-color .2s;}
.theme-tech .tc-card:hover{transform:translateY(-4px);border-color:var(--tc-accent);box-shadow:0 12px 32px rgba(6,182,212,.18);}
.theme-tech .tc-card img{width:100%;aspect-ratio:16/10;object-fit:cover;}
.theme-tech .tc-card-body{padding:16px;}
.theme-tech .tc-card h3{font-size:16.5px;margin:8px 0 6px;line-height:1.35;}
.theme-tech .tc-card p{color:var(--tc-muted);font-size:13px;line-height:1.55;}
.theme-tech .tc-tagrow{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px;}
.theme-tech .tc-tagrow span,.theme-tech .tc-tagrow a{font-size:10.5px;font-family:'JetBrains Mono',monospace;color:var(--tc-accent);background:rgba(6,182,212,.1);padding:3px 9px;border-radius:6px;}

@media(max-width:900px){.theme-tech .tc-grid{grid-template-columns:1fr 1fr;}}
@media(max-width:600px){.theme-tech .tc-grid{grid-template-columns:1fr;}}

/* Article */
.theme-tech .tc-art-head{max-width:900px;margin:30px auto 0;}
.theme-tech .tc-art-head h1{font-size:clamp(28px,4.5vw,42px);margin:14px 0;line-height:1.2;}
.theme-tech .tc-meta-row{display:flex;gap:10px;flex-wrap:wrap;align-items:center;font-size:12.5px;color:var(--tc-muted);}
.theme-tech .tc-meta-row .pill{background:var(--tc-surface);border:1px solid var(--tc-line);padding:5px 12px;border-radius:999px;}
.theme-tech .tc-art-hero{width:100%;max-height:440px;object-fit:cover;border-radius:18px;margin:26px 0 0;border:1px solid var(--tc-line);}
.theme-tech .tc-art-body{display:grid;grid-template-columns:2.3fr 1fr;gap:40px;max-width:1180px;margin:36px auto 0;align-items:start;}
.theme-tech .tc-content{font-size:16.5px;line-height:1.85;}
.theme-tech .tc-content h2{font-size:24px;margin:34px 0 14px;scroll-margin-top:90px;}
.theme-tech .tc-content h3{font-size:19px;margin:24px 0 10px;scroll-margin-top:90px;}
.theme-tech .tc-content p{margin-bottom:16px;}
.theme-tech .tc-content pre,.theme-tech .tc-content code{font-family:'JetBrains Mono',monospace;}
.theme-tech .tc-content pre{background:var(--tc-dark);color:#a5f3fc;padding:16px;border-radius:10px;overflow-x:auto;font-size:13.5px;}
.theme-tech .tc-content code{background:rgba(6,182,212,.1);color:var(--tc-accent);padding:2px 6px;border-radius:4px;font-size:.9em;}
.theme-tech .tc-content img{width:100%;border-radius:12px;margin:20px 0;}
.theme-tech .tc-content blockquote{border-left:3px solid var(--tc-accent);padding:4px 20px;color:var(--tc-muted);font-style:italic;margin:20px 0;}
.theme-tech .tc-content a{color:var(--tc-accent);text-decoration:underline;}

.theme-tech .tc-toc{position:sticky;top:90px;background:var(--tc-surface);border:1px solid var(--tc-line);border-radius:14px;padding:18px;}
.theme-tech .tc-toc h4{font-size:11.5px;text-transform:uppercase;letter-spacing:.08em;color:var(--tc-muted);margin-bottom:12px;}
.theme-tech .tc-toc a{display:block;font-size:13px;color:var(--tc-muted);padding:6px 0 6px 12px;border-left:2px solid var(--tc-line);}
.theme-tech .tc-toc a:hover,.theme-tech .tc-toc a.tc-toc-active{color:var(--tc-accent);border-left-color:var(--tc-accent);}
.theme-tech .tc-toc-box{margin-bottom:20px;}

@media(max-width:900px){.theme-tech .tc-art-body{grid-template-columns:1fr;}.theme-tech .tc-toc{position:static;}}
