/* blog.css — shared styles for Pro Post Leveler blog pages */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500&display=swap');

:root {
  --bg:        #111111;
  --surface:   #1a1a1a;
  --surface2:  #222222;
  --border:    #2e2e2e;
  --accent:    #f5c518;
  --accent-dk: #c99e00;
  --text:      #f0f0f0;
  --muted:     #888888;
  --radius:    6px;
  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* NAV */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17,17,17,0.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.site-logo { height: 32px; width: auto; }
.brand span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  color: var(--text);
}
.navlinks { display: flex; gap: 24px; flex: 1; }
.navlinks a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}
.navlinks a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  background: var(--accent);
  color: #111;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background 0.15s;
  flex-shrink: 0;
}
.nav-cta:hover { background: var(--accent-dk); text-decoration: none; }

/* ARTICLE LAYOUT */
.article-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 24px;
}

.article-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.article-kicker {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.article-header h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.article-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}

.article-meta span { display: flex; align-items: center; gap: 6px; }

/* ARTICLE BODY */
.article-body { padding-bottom: 64px; }

.article-body h2 {
  font-family: var(--font-head);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 40px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 28px 0 10px;
  color: var(--text);
}

.article-body p {
  color: var(--muted);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.75;
}

.article-body p strong { color: var(--text); font-weight: 500; }

.article-body ul, .article-body ol {
  color: var(--muted);
  margin: 0 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 16px;
  line-height: 1.7;
}

.article-body li strong { color: var(--text); font-weight: 500; }

/* CALLOUT BOX */
.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
}
.callout strong { color: var(--text); }
.callout a { color: var(--accent); }

/* SPEC TABLE */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 14px;
}
.spec-table th {
  background: var(--surface2);
  color: var(--text);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.spec-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
  vertical-align: top;
}
.spec-table td strong { color: var(--text); }
.spec-table tr:hover td { background: var(--surface); }

/* CTA STRIP */
.cta-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px 28px;
  margin: 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-strip h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.cta-strip p { font-size: 14px; color: var(--muted); margin: 0; }
.btn-accent {
  background: var(--accent);
  color: #111;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background 0.15s;
  flex-shrink: 0;
}
.btn-accent:hover { background: var(--accent-dk); text-decoration: none; }

/* RELATED ARTICLES */
.related { padding: 40px 0 56px; border-top: 1px solid var(--border); }
.related h2 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.related-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px;
  transition: border-color 0.15s;
}
.related-card:hover { border-color: var(--accent); text-decoration: none; }
.related-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.related-card h3 {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

/* BLOG LISTING */
.blog-hero { padding: 56px 0 40px; }
.blog-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.blog-hero p { color: var(--muted); font-size: 17px; max-width: 520px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding-bottom: 64px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 0.15s;
}
.blog-card:hover { border-color: var(--accent); text-decoration: none; }
.blog-card .tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.blog-card h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.25;
}
.blog-card p { font-size: 14px; color: var(--muted); line-height: 1.6; flex: 1; }
.blog-card .read-more {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-top: 4px;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-inner .tiny { color: var(--muted); font-size: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
  font-size: 13px;
  color: var(--muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) {
  .navlinks { display: none; }
  .cta-strip { flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
