/* AcuDeck blog — self-contained styling for static post pages + index. */
:root {
  --bg: #f8fafc; --card: #ffffff; --ink: #1e293b; --muted: #64748b;
  --accent: #0d9488; --accent-ink: #0f766e; --line: #e2e8f0; --radius: 14px;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, "Segoe UI", "Noto Sans", "Noto Sans Tamil", "Noto Sans Devanagari", sans-serif;
  line-height: 1.65;
}
a { color: var(--accent-ink); }

.blog-header { background: linear-gradient(135deg, #0f766e, #14b8a6); color: #fff; padding: 0.9rem 0; }
.blog-header .wrap { display: flex; align-items: center; gap: 0.8rem; }
.blog-header a.brand { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: #fff; }
.blog-header img { height: 40px; width: auto; display: block; }
.blog-header h1 { margin: 0; font-size: 1.15rem; letter-spacing: -0.01em; }
.blog-header .tag { margin: 0; font-size: 0.8rem; opacity: 0.9; }

.wrap { width: min(760px, 92vw); margin: 0 auto; }
.wrap-wide { width: min(1080px, 94vw); margin: 0 auto; }

.crumbs { font-size: 0.82rem; color: var(--muted); margin: 1.2rem auto 0; }
.crumbs a { color: var(--muted); }

article.post { margin: 0.6rem auto 3rem; }
article.post h1 { font-size: 1.9rem; line-height: 1.2; letter-spacing: -0.02em; margin: 0.6rem 0 0.3rem; }
article.post .meta { color: var(--muted); font-size: 0.85rem; margin: 0 0 1.4rem; }
article.post h2 { font-size: 1.15rem; color: var(--accent-ink); margin: 1.8rem 0 0.4rem; }
article.post p { margin: 0.5rem 0; }
article.post .lead { font-size: 1.08rem; color: #334155; }
.post-hero { margin: 0 0 1.4rem; }
.post-hero img { width: 100%; max-width: 480px; height: auto; border-radius: var(--radius); display: block; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.post-hero figcaption { color: var(--muted); font-size: 0.82rem; margin-top: 0.4rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.6rem 0; }
.tag { background: #f0fdfa; border: 1px solid #99f6e4; color: var(--accent-ink); border-radius: 999px; padding: 0.25rem 0.7rem; font-size: 0.82rem; }
.callout { background: #f0fdfa; border: 1px solid #99f6e4; border-left: 5px solid var(--accent); border-radius: 10px; padding: 0.8rem 1rem; margin: 1.2rem 0; }
.cta { display: inline-block; margin: 0.4rem 0; padding: 0.6rem 1.1rem; background: var(--accent); color: #fff !important; border-radius: 999px; font-weight: 700; text-decoration: none; }
.cta:hover { background: var(--accent-ink); }
.disclaimer { color: var(--muted); font-size: 0.85rem; border-top: 1px solid var(--line); margin-top: 2.2rem; padding-top: 1rem; }

/* Index list */
.blog-intro { margin: 1.4rem auto 0.6rem; }
.blog-intro h1 { font-size: 1.7rem; margin: 0 0 0.3rem; }
.blog-intro p { color: var(--muted); margin: 0; }
.post-list { list-style: none; padding: 0; margin: 1.2rem auto 3rem; display: grid; gap: 1rem; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1px 3px rgba(15,23,42,.05); overflow: hidden; }
.post-card a { text-decoration: none; color: inherit; display: flex; gap: 0; }
.post-card.has-thumb .thumb { flex: 0 0 120px; }
.post-card .thumb img { width: 120px; height: 100%; min-height: 120px; object-fit: cover; display: block; }
.post-card-body { padding: 1.1rem 1.2rem; }
.post-card h2 { margin: 0 0 0.3rem; font-size: 1.15rem; color: var(--accent-ink); }
.post-card .date { color: var(--muted); font-size: 0.78rem; }
.post-card p { margin: 0.4rem 0 0; color: #334155; font-size: 0.92rem; }
.post-card:hover { border-color: var(--accent); }
@media (max-width: 460px) { .post-card a { flex-direction: column; } .post-card.has-thumb .thumb { flex: none; } .post-card .thumb img { width: 100%; height: 150px; } }
.empty { color: var(--muted); text-align: center; padding: 2rem; }

.post-banner { display: block; margin: 1.8rem auto; max-width: 760px; }
.post-banner img { width: 100%; height: auto; border-radius: var(--radius); display: block; box-shadow: 0 1px 3px rgba(15,23,42,.12); }

.blog-foot { border-top: 1px solid var(--line); padding: 1.4rem 0 2.4rem; font-size: 0.85rem; color: var(--muted); }
.blog-foot a { margin-right: 0.8rem; }

@media (max-width: 520px) { article.post h1 { font-size: 1.5rem; } }
