/* ============================================================
   alirko.com — blog (inherits variables from styles.css)
   ============================================================ */

/* ---------- shared ---------- */
.blog-main { padding-top: 120px; padding-bottom: 100px; }
.blog-back { display: inline-flex; align-items: center; gap: 7px; color: var(--text-2); font-size: 14px; font-weight: 500; margin-bottom: 26px; transition: color .25s ease; }
.blog-back:hover { color: var(--purple-bright); }
.blog-eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--purple-bright); font-weight: 700; margin-bottom: 16px; }

/* ---------- blog index ---------- */
.blog-hero { max-width: 760px; padding: 8px 0 12px; }
.blog-hero h1 { font-size: clamp(38px, 6vw, 64px); line-height: 1.04; letter-spacing: -.03em; font-weight: 600; margin-bottom: 18px; }
.blog-hero h1 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--purple-bright); }
.blog-hero p { color: var(--text-2); font-size: clamp(17px, 2vw, 20px); max-width: 56ch; }

.posts { display: grid; gap: 18px; margin: 48px 0 40px; }
@media (min-width: 760px) { .posts { grid-template-columns: 1fr 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; transition: border-color .3s var(--ease), transform .3s var(--ease); }
.post-card:hover { border-color: rgba(167,139,250,.5); transform: translateY(-3px); }
.post-card .cat { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--purple-bright); font-weight: 700; margin-bottom: 12px; }
.post-card h2 { font-size: 23px; line-height: 1.22; letter-spacing: -.01em; font-weight: 600; margin-bottom: 10px; }
.post-card p { color: var(--text-2); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.post-card .pmeta { display: flex; gap: 14px; align-items: center; font-size: 13px; color: var(--text-3); }
.post-card .read-more { color: var(--purple-bright); font-weight: 600; font-size: 14px; margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- single post ---------- */
.post { max-width: 720px; margin: 0 auto; }
.post-head { margin-bottom: 36px; }
.post-head h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; letter-spacing: -.02em; font-weight: 600; margin-bottom: 18px; }
.post-head .dek { color: var(--text-2); font-size: clamp(17px, 2vw, 20px); line-height: 1.55; margin-bottom: 20px; }
.post-head .pmeta { display: flex; gap: 14px; align-items: center; font-size: 13.5px; color: var(--text-3); padding-top: 18px; border-top: 1px solid var(--line); }
.post-head .pmeta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }

.prose { font-size: 18px; line-height: 1.75; color: rgba(244,241,251,.82); }
.prose > * + * { margin-top: 22px; }
.prose h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.25; letter-spacing: -.01em; font-weight: 600; color: var(--text); margin-top: 48px; }
.prose h3 { font-size: 20px; font-weight: 600; color: var(--text); margin-top: 32px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: var(--purple-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { color: #fff; }
.prose ul, .prose ol { padding-left: 24px; display: grid; gap: 10px; }
.prose li { padding-left: 4px; }
.prose li::marker { color: var(--purple); }
.prose blockquote { border-left: 3px solid var(--purple); padding: 4px 0 4px 22px; margin: 28px 0; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1.4; color: var(--text); }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; font-size: 16px; color: var(--text-2); }
.prose .callout strong { color: var(--purple-bright); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--text); font-weight: 600; font-size: 13px; letter-spacing: .03em; }
.prose td { color: var(--text-2); }

/* end-of-post CTA */
.post-cta { max-width: 720px; margin: 64px auto 0; background: linear-gradient(160deg, var(--surface), #1d1430); border: 1px solid rgba(167,139,250,.3); border-radius: 22px; padding: 40px 34px; text-align: center; }
.post-cta h3 { font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.01em; margin-bottom: 12px; }
.post-cta h3 em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--purple-bright); }
.post-cta p { color: var(--text-2); max-width: 46ch; margin: 0 auto 24px; }
.post-byline { max-width: 720px; margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-3); }
.post-byline .serif { color: var(--text-2); }
