/* ===== KHÔNG VÒNG VO — CSS dùng chung cho trang bài viết ===== */
:root {
  --bg: #0c0c0d; --bg-2: #141416; --card: #18181b; --line: #2a2a2e;
  --ink: #f4f3ee; --muted: #a1a1aa; --accent: #d6ff3f; --accent-ink: #0c0c0d;
  --radius: 16px; --readw: 720px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.75; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.read { max-width: var(--readw); margin: 0 auto; padding: 0 24px; }
.accent { color: var(--accent); }

/* progress bar */
.progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--accent); z-index: 100; transition: width .1s; }

/* nav */
nav { position: sticky; top: 0; z-index: 50; background: rgba(12,12,13,.82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { font-family: 'Anton', sans-serif; font-size: 22px; letter-spacing: .02em; text-transform: uppercase; }
.logo span { color: var(--accent); }
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 14px; padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer; transition: transform .15s ease, box-shadow .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(214,255,63,.25); }

/* article header */
.art-head { padding: 60px 0 34px; }
.back { color: var(--muted); font-size: 14px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; margin-bottom: 26px; transition: color .2s; }
.back:hover { color: var(--accent); }
.meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 20px; flex-wrap: wrap; }
.chip { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; }
h1.title { font-weight: 900; letter-spacing: -.02em; line-height: 1.12; font-size: clamp(28px, 4.6vw, 46px); }
.standfirst { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); margin-top: 22px; line-height: 1.6; }
.author-row { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(214,255,63,.3), transparent 60%), #1d1d21; display: flex; align-items: center; justify-content: center; font-family: 'Anton', sans-serif; font-size: 18px; color: var(--accent); flex-shrink: 0; }
.author-row .who { font-size: 14px; }
.author-row .who b { display: block; }
.author-row .who span { color: var(--muted); }

/* article body */
article.body { padding: 8px 0 50px; font-size: 18px; }
article.body p { margin: 0 0 22px; color: #e7e6df; }
article.body h2 { font-weight: 800; font-size: clamp(22px, 3.2vw, 28px); line-height: 1.25; margin: 46px 0 16px; letter-spacing: -.01em; color: var(--ink); position: relative; padding-left: 18px; }
article.body h2::before { content: ""; position: absolute; left: 0; top: .15em; bottom: .15em; width: 4px; border-radius: 4px; background: var(--accent); }
article.body strong { color: var(--ink); font-weight: 700; }
article.body em { color: var(--ink); font-style: italic; }
.lead { font-size: 20px !important; color: var(--ink) !important; }
.divider { height: 1px; background: var(--line); margin: 44px 0; border: none; }

/* inline CTA */
.art-cta { background: var(--accent); color: var(--accent-ink); border-radius: 24px; padding: 44px 36px; text-align: center; margin: 52px 0 20px; }
.art-cta h3 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: clamp(24px, 4vw, 36px); margin-bottom: 12px; line-height: 1.05; }
.art-cta p { font-size: 16px; margin-bottom: 24px; opacity: .85; font-weight: 500; line-height: 1.5; }
.capture { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.capture input { flex: 1; min-width: 200px; background: rgba(12,12,13,.06); border: 1px solid rgba(12,12,13,.2); color: var(--accent-ink); padding: 14px 18px; border-radius: 999px; font-size: 15px; font-family: inherit; }
.capture input::placeholder { color: rgba(12,12,13,.5); }
.capture input:focus { outline: none; border-color: var(--accent-ink); }
.capture .btn { background: var(--accent-ink); color: var(--accent); padding: 14px 22px; }
.capture .btn:hover { box-shadow: 0 8px 24px rgba(12,12,13,.3); }

/* next read */
.next { border-top: 1px solid var(--line); padding: 42px 0 0; }
.next .k { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.next-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; transition: border-color .2s, transform .2s; }
.next-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.next-card h4 { font-size: 20px; font-weight: 800; margin-bottom: 6px; line-height: 1.25; }
.next-card p { color: var(--muted); font-size: 14px; }
.next-card .arrow { font-family: 'Anton', sans-serif; font-size: 30px; color: var(--accent); flex-shrink: 0; }

/* footer */
footer { border-top: 1px solid var(--line); padding: 40px 0 36px; margin-top: 56px; }
.foot-bottom { color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* toast */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 15px; padding: 14px 26px; border-radius: 999px; z-index: 110; transition: transform .35s cubic-bezier(.2,.9,.3,1.3); box-shadow: 0 12px 40px rgba(0,0,0,.4); }
.toast.show { transform: translateX(-50%) translateY(0); }

@media (max-width: 600px) {
  .art-head { padding: 38px 0 24px; }
  article.body { font-size: 17px; }
  .next-card { flex-direction: column; align-items: flex-start; }
}
