:root {
  --red: #d11f1f;
  --red-dark: #a31616;
  --charcoal: #1f2329;
  --charcoal-2: #2c3138;
  --ink: #15181c;
  --muted: #5b6470;
  --bg: #f6f7f9;
  --white: #ffffff;
  --border: #e3e6ea;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.article-container { max-width: 760px; margin: 0 auto; padding: 0 22px; }

/* Topbar */
.topbar { background: var(--charcoal); color: #fff; font-size: 14px; }
.topbar .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; gap: 8px;
}
.topbar a { color: #fff; }
.topbar .phone { font-weight: 700; }
.topbar .phone::before { content: "\260E "; margin-right: 4px; }

/* Header */
header.site { background: var(--charcoal-2); color: #fff; border-bottom: 4px solid var(--red); }
header.site .container {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 14px; padding-bottom: 14px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 20px; letter-spacing: .3px; color: #fff;
}
.logo a { color: #fff; }
.logo .mark {
  width: 36px; height: 36px; background: var(--red); border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px;
}
nav.primary a { color: #fff; margin-left: 22px; font-weight: 600; font-size: 15px; }
nav.primary a:hover { color: #ffd0d0; text-decoration: none; }

/* Breadcrumb */
.breadcrumb {
  background: var(--bg); padding: 14px 0; font-size: 14px; color: var(--muted);
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--muted); }

/* Article hero */
.article-hero {
  background: linear-gradient(135deg, #1a1d22 0%, #2c3138 60%, #3a1313 100%);
  color: #fff; padding: 60px 0 50px;
  border-bottom: 4px solid var(--red);
}
.article-hero h1 {
  font-size: 38px; line-height: 1.2; margin: 0 0 14px;
  font-weight: 800; letter-spacing: -.4px;
}
.article-hero .meta {
  color: #d6d9de; font-size: 14px;
}
.article-hero .meta span + span::before {
  content: "\2022"; margin: 0 8px; color: #7a8290;
}

/* Article body */
article.post { padding: 50px 0 30px; }
article.post p { font-size: 17px; color: var(--ink); margin: 0 0 18px; }
article.post h2 {
  font-size: 26px; margin: 36px 0 12px; color: var(--charcoal);
  letter-spacing: -.3px;
}
article.post h3 {
  font-size: 20px; margin: 28px 0 10px; color: var(--charcoal);
}
article.post ul, article.post ol { padding-left: 22px; margin: 0 0 18px; }
article.post li { margin-bottom: 6px; font-size: 17px; }
article.post strong { color: var(--charcoal); }
article.post blockquote {
  border-left: 4px solid var(--red); background: var(--bg);
  padding: 14px 18px; margin: 22px 0; color: var(--charcoal);
  font-style: italic;
}

/* Inline CTA */
.inline-cta {
  background: var(--bg); border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  padding: 18px 20px; border-radius: 8px; margin: 28px 0;
}
.inline-cta h4 { margin: 0 0 6px; font-size: 18px; color: var(--charcoal); }
.inline-cta p { margin: 0 0 10px; color: var(--muted); font-size: 15px; }
.inline-cta a.btn {
  background: var(--red); color: #fff; padding: 10px 18px; border-radius: 6px;
  font-weight: 700; display: inline-block; font-size: 15px;
}
.inline-cta a.btn:hover { background: var(--red-dark); text-decoration: none; }

/* Bottom CTA strip */
.cta-strip {
  background: var(--red); color: #fff; text-align: center; padding: 40px 16px;
  margin-top: 30px;
}
.cta-strip h3 { margin: 0 0 6px; font-size: 26px; }
.cta-strip p { margin: 0 0 14px; opacity: .95; }
.cta-strip a.btn {
  background: #fff; color: var(--red); padding: 12px 22px; border-radius: 8px;
  font-weight: 800; display: inline-block;
}
.cta-strip a.btn:hover { text-decoration: none; background: #ffe9e9; }

/* Related */
.related { background: var(--bg); padding: 50px 0; border-top: 1px solid var(--border); }
.related h3 { text-align: center; font-size: 22px; margin: 0 0 24px; color: var(--charcoal); }
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.related-card {
  background: #fff; border: 1px solid var(--border); border-radius: 8px;
  padding: 18px; display: block; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.related-card:hover {
  transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.08);
  text-decoration: none;
}
.related-card .tag {
  font-size: 12px; color: var(--red); font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.related-card h4 { margin: 0; font-size: 16px; color: var(--charcoal); line-height: 1.3; }

/* Blog index */
.blog-hero {
  background: linear-gradient(135deg, #1a1d22 0%, #2c3138 60%, #3a1313 100%);
  color: #fff; padding: 60px 0; border-bottom: 4px solid var(--red); text-align: center;
}
.blog-hero h1 { font-size: 42px; margin: 0 0 10px; font-weight: 800; }
.blog-hero p { font-size: 17px; color: #d6d9de; max-width: 640px; margin: 0 auto; }
.posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  padding: 50px 0;
}
.post-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .15s ease, box-shadow .15s ease;
}
.post-card:hover {
  transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.08);
}
.post-card .body { padding: 22px 20px 20px; flex: 1; display: flex; flex-direction: column; border-top: 4px solid var(--red); }
.post-card .tag {
  font-size: 12px; color: var(--red); font-weight: 700;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px;
}
.post-card h2 {
  font-size: 18px; margin: 0 0 10px; line-height: 1.35; color: var(--charcoal);
}
.post-card p { color: var(--muted); font-size: 14px; margin: 0 0 14px; flex: 1; }
.post-card a.read {
  color: var(--red); font-weight: 700; font-size: 14px; align-self: flex-start;
}
.post-card a.read::after { content: " \2192"; }

/* Footer */
footer { background: var(--charcoal); color: #cfd3d8; padding: 30px 0 20px; font-size: 14px; }
footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer a { color: #fff; }

@media (max-width: 900px) {
  .article-hero h1 { font-size: 28px; }
  article.post p, article.post li { font-size: 16px; }
  .related-grid, .posts-grid { grid-template-columns: 1fr; }
  nav.primary { display: none; }
  .blog-hero h1 { font-size: 30px; }
}
