/* Thrivfully blog: index and article pages. Same colours as the main site (index.html). */
:root {
  --bg: #030712;
  --surface: #111827;
  --text: #f9fafb;
  --muted: #9ca3af;
  --border: #1f2937;
  --accent: #006363;
  --accent-light: #009090;
  --accent-bright: #00fcfc;
  --radius: 18px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Inter, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; }
a { color: var(--accent-bright); }
img { max-width: 100%; height: auto; }
.container { width: min(100% - 32px, 1160px); margin: 0 auto; }

/* Header and footer */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(3, 7, 18, 0.85); backdrop-filter: blur(8px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; }
.brand { font-weight: 800; font-size: 1.2rem; color: var(--text); text-decoration: none; }
.nav-links { display: flex; gap: 20px; flex-wrap: wrap; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav-links a:hover { color: var(--text); }
.site-footer { border-top: 1px solid var(--border); padding: 24px 0; color: var(--muted); font-size: 0.9rem; margin-top: 48px; }
.site-footer a { color: var(--muted); }

/* Shared */
.eyebrow { color: var(--accent-bright); font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; }
.lede { color: var(--muted); font-size: 1.15rem; }

/* Blog index */
.blog-head { max-width: 760px; padding: 56px 0 24px; }
.blog-head h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; margin: 10px 0 12px; }
.post-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; padding-bottom: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color 0.2s; }
.post-card:hover { border-color: var(--accent-light); }
.post-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-bottom: 1px solid var(--border); }
.post-card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card h2 { font-size: 1.3rem; line-height: 1.3; margin: 0; }
.post-card p { color: var(--muted); margin: 0; font-size: 0.98rem; }
.post-card .read { margin-top: auto; padding-top: 8px; color: var(--accent-bright); font-weight: 700; font-size: 0.95rem; }

/* Article */
.post { max-width: 720px; margin: 0 auto; padding: 56px 0 32px; }
.post h1 { font-size: clamp(2rem, 5vw, 2.8rem); line-height: 1.15; margin: 12px 0 16px; }
.post .lede { margin: 0 0 32px; }
.post h2 { font-size: 1.45rem; line-height: 1.3; margin: 44px 0 12px; }
.post p, .post li { font-size: 1.05rem; }
.post ul, .post ol { padding-left: 1.3em; }
.post li + li { margin-top: 6px; }
.post code { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
.cover { display: block; width: 100%; border-radius: var(--radius); border: 1px solid var(--border); margin: 8px 0 32px; }
.callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin: 40px 0 8px; }
.callout h2 { margin-top: 0; }
.btn { display: inline-block; margin-top: 8px; padding: 12px 20px; border-radius: 999px; background: var(--accent); color: white; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--accent-light); }
.btn-secondary { background: transparent; border: 1px solid var(--accent-light); color: var(--text); margin-left: 8px; }
.btn-secondary:hover { background: rgba(0, 144, 144, 0.15); }
.post-section { margin-top: 32px; }
.post-section > h2 { font-size: 1.1rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin: 0 0 16px; }
.more { border-top: 1px solid var(--border); margin-top: 40px; padding-top: 8px; }
.more h2 { font-size: 1.1rem; margin-top: 24px; }
