/* ============================================================
   nws-info.css
   NWS-themed styles for Knowledge Base and Skills Base pages.
   Remaps the rq-* component classes to NWS visual identity
   so body HTML stays untouched while the look shifts to NWS.
   ============================================================ */

/* --- Base container --- */
.rq-app {
  --rq-bg:       var(--paper, #f7f4ee);
  --rq-surface:  #ffffff;
  --rq-ink:      var(--ink, #143a22);
  --rq-muted:    #5a6b5e;
  --rq-rule:     #d4cfc5;
  --rq-moss:     var(--ink-soft, #1e4d30);
  --rq-mossSoft: #e8ede9;
  --rq-signal:   var(--signal, #e07030);
  --rq-sigSoft:  #fdf0e8;
  font-size: 16px;
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--rq-bg);
  color: var(--rq-ink);
}

/* --- Prose container --- */
.rq-container.rq-prose {
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

/* --- Field tag strip --- */
.rq-field-strip {
  display: flex;
  gap: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--rq-rule);
  margin-bottom: 36px;
}
.rq-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
/* Knowledge-track naming */
.rq-field .label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-muted);
  text-transform: uppercase;
}
.rq-field .value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--rq-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
/* Skills-track naming */
.rq-field-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-muted);
  text-transform: uppercase;
}
.rq-field-value {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--rq-ink);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --- Section containers --- */
.rq-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rq-rule);
}
.rq-section:last-of-type {
  border-bottom: none;
}

/* --- Section eyebrows --- */
.rq-eyebrow,
.rq-section-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* --- Headings --- */
.rq-prose h2 {
  font-family: 'Fraunces', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--rq-ink);
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 18px;
}

/* --- Body text --- */
.rq-prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--rq-ink);
  margin-bottom: 16px;
}

/* --- Numbered step lists --- */
.rq-steps {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  counter-reset: steps;
}
.rq-steps li {
  display: flex;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rq-rule);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rq-ink);
  counter-increment: steps;
}
.rq-steps li:last-child {
  border-bottom: none;
}
.rq-steps li::before {
  content: counter(steps);
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--rq-moss);
  background: var(--rq-mossSoft);
  min-width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

/* --- Callout / quick reference --- */
.rq-callout {
  background: var(--rq-surface);
  border-left: 4px solid var(--rq-moss);
  padding: 20px 24px;
  margin: 32px 0;
}
.rq-callout .label,
.rq-callout .rq-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-moss);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.rq-callout ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.rq-callout ul li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--rq-ink);
  padding: 6px 0 6px 16px;
  border-bottom: 1px solid var(--rq-rule);
  position: relative;
}
.rq-callout ul li:last-child {
  border-bottom: none;
}
.rq-callout ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  background: var(--rq-moss);
  border-radius: 50%;
}

/* --- Warning boxes --- */
.rq-warning {
  background: var(--rq-sigSoft);
  border-left: 4px solid var(--rq-signal);
  padding: 18px 22px;
  margin: 24px 0;
}
.rq-warning .rq-eyebrow {
  color: var(--rq-signal);
  margin-bottom: 8px;
}
.rq-warning p {
  font-size: 16px;
  margin: 0;
  line-height: 1.65;
}

/* --- Myth / Fact pairs --- */
.rq-myth-block {
  background: var(--rq-sigSoft);
  border-left: 4px solid var(--rq-signal);
  padding: 16px 20px;
  margin: 24px 0 0;
}
.rq-myth-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-signal);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.rq-myth-text {
  font-size: 16px;
  font-weight: 500;
  color: var(--rq-ink);
  margin: 0;
  line-height: 1.6;
}
.rq-fact-block {
  background: var(--rq-mossSoft);
  border-left: 4px solid var(--rq-moss);
  padding: 16px 20px;
  margin: 0 0 24px;
}
.rq-fact-label {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-moss);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.rq-fact-text {
  font-size: 16px;
  color: var(--rq-ink);
  margin: 0;
  line-height: 1.65;
}

/* --- Sources --- */
.rq-sources {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--rq-rule);
}
.rq-sources .label,
.rq-sources .rq-eyebrow {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--rq-muted);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.rq-sources ol {
  padding-left: 20px;
  margin: 0;
}
.rq-sources li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--rq-ink);
  margin-bottom: 10px;
}
.rq-sources a {
  color: var(--rq-moss);
  text-decoration: underline;
  text-decoration-color: var(--rq-rule);
}
.rq-sources a:hover {
  text-decoration-color: var(--rq-moss);
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .rq-field-strip {
    gap: 20px;
    flex-wrap: wrap;
  }
  .rq-container.rq-prose {
    padding: 32px 16px 60px;
  }
}
