/* KWRNO Blog Styles v1.0.0
   Site-wide replacement for the per-post <style> block.
   All font sizes are in px on purpose: the old block used rem, which floats
   with the theme's root font size (Twenty Twenty-Five uses fluid typography),
   so label and body sizes drifted between preview and published pages.
   Px values pin every element to the intended size. */

:root {
  --kw-red: #C8102E;
  --kw-dark: #111111;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --rule: #ddd;
  --card-bg: #ffffff;
  --accent-warm: #f5efe6;
}

.kw-wrap {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 850px;
  margin: 0 auto;
  padding: 24px 0;
}

/* Keep theme paragraph styles out of the article body.
   Placed first so the more specific block rules below win by order. */
.kw-wrap p {
  font-family: inherit;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}

.kw-section-label {
  font-family: monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--kw-red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 40px 0 12px 0;
}
.kw-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--rule);
}

.kw-lead {
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 20px;
}
.kw-wrap p.kw-lead { font-size: 18px; }

.kw-p { margin-bottom: 19px; }

.kw-answer {
  background: var(--accent-warm);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--kw-red);
  padding: 18px 24px;
  margin: 24px 0;
  font-size: 16.5px;
  line-height: 1.6;
}
.kw-answer .kw-answer-label {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kw-red);
  margin-bottom: 6px;
}

.kw-bullet-block { margin: 20px 0; }
.kw-bullet-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 12px;
  margin-bottom: 13px;
}
.kw-bullet-marker {
  width: 26px;
  height: 26px;
  background: var(--kw-red);
  color: #fff;
  font-family: monospace;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 4px;
}
.kw-bullet-text {
  font-size: 15.5px;
  line-height: 1.6;
}

.kw-pull {
  background: #111;
  color: #fff;
  padding: 32px 40px;
  margin: 36px 0;
  position: relative;
}
.kw-pull-qm {
  font-family: Georgia, serif;
  font-size: 72px;
  line-height: 0.8;
  color: var(--kw-red);
  position: absolute;
  top: 12px;
  left: 24px;
  user-select: none;
}
.kw-pull blockquote {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.45;
  padding-left: 28px;
  margin: 0;
  border: none;
  background: none;
  color: #fff;
}
.kw-pull cite {
  display: block;
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-top: 14px;
  padding-left: 28px;
  font-style: normal;
}

.kw-stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  margin: 28px 0;
}
.kw-stat-card {
  background: #fff;
  padding: 22px;
}
.kw-stat-number {
  font-family: Georgia, serif;
  font-size: 34px;
  font-weight: 900;
  color: var(--kw-red);
  line-height: 1;
}
.kw-stat-label {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 5px;
  line-height: 1.4;
}

.kw-bio {
  background: var(--accent-warm);
  border-left: 3px solid var(--kw-red);
  padding: 24px 28px;
  margin: 36px 0;
}
.kw-bio-name {
  font-family: Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 2px;
}
.kw-bio-title {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.kw-bio-body {
  font-size: 15px;
  color: #444;
  margin-top: 8px;
  line-height: 1.6;
}

.kw-faq { margin: 20px 0; }
.kw-faq-item {
  border-bottom: 1px solid var(--rule);
  padding: 16px 0;
}
.kw-faq-item:first-child { border-top: 1px solid var(--rule); }
.kw-faq-q {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 6px;
}
.kw-faq-a {
  font-size: 15.5px;
  line-height: 1.6;
  color: #333;
}

.kw-bottom {
  background: var(--kw-red);
  color: #fff;
  padding: 28px 36px;
  margin: 36px 0;
}
.kw-bottom .bl-label {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
}
.kw-wrap .kw-bottom p {
  color: #fff;
  font-size: 16px;
  font-weight: 300;
  margin: 0;
  line-height: 1.65;
}

.kw-cta {
  border: 1px solid var(--rule);
  padding: 28px 36px;
  margin-top: 36px;
  text-align: center;
  background: #fff;
}
.kw-cta .cta-label {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
/* CTA headline: a styled div, never a heading tag (SEO rule).
   .kw-cta h3 kept for the 100+ already-published posts. */
.kw-cta .kw-cta-h,
.kw-cta h3 {
  font-family: Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px 0;
}
.kw-wrap .kw-cta p {
  font-size: 15px;
  color: #555;
  max-width: 480px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.kw-btn {
  display: inline-block;
  background: var(--kw-red);
  color: #fff !important;
  font-family: monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 12px 32px;
}

.kw-eyebrow {
  font-family: monospace;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kw-red);
  margin-bottom: 14px;
}
.kw-deck {
  font-size: 18px;
  font-style: italic;
  color: #555;
  line-height: 1.6;
  margin-bottom: 22px;
}
.kw-wrap p.kw-deck { font-size: 18px; color: #555; }
.kw-byline {
  font-family: monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 28px;
}
.kw-rule {
  border: none;
  border-top: 1px solid var(--rule);
  margin: 36px 0;
}
.kw-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.kw-tag {
  font-family: monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--rule);
  padding: 3px 10px;
  color: var(--muted);
}
