/* =========================================================================
   Blog post: "AI Broke the Bug Bounty"
   /blog/ai-slop-open-source-security/styles.css

   Page-scoped additions only. Everything structural lives in the shared
   component at /assets/css/sections/article.css, already linked via
   site.bundle.css:

     - .article-hero   page shell, title block centred in a hero band that
                       clears the 80px fixed header
     - .table-scroll   data tables, which collapse into stacked labelled
                       blocks below 700px instead of scrolling sideways
     - table/caption/thead th/tbody th/td/.num/.table-note
     - figure + figcaption

   Local additions: the answer-first callout, the three-up stat row, and a
   rule for the disclosure table, whose Severity column uses the shared .num
   treatment so figures stay right-aligned and tabular across all tables
   on the page.

   Colours are existing design tokens from base/reset.css plus the accent
   already used by .article blockquote (Rule #5: no new brand colours).
   ========================================================================= */

/* Answer-first callout — the direct response to the section question,
   repeated visually so it survives skimming. */
.article .key-takeaway {
  border-left: 3px solid #e63946;
  background: var(--color-dark-gray);
  padding: 20px 24px;
  margin: 0 0 1.5rem;
}

.article .key-takeaway p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-white);
  margin: 0;
}

.article .key-takeaway p + p {
  margin-top: 0.75rem;
}

/* Three-up headline figures. The first stat here leads with an inequality
   rather than a currency amount, so it needs a touch more room than the
   default to avoid the glyph crowding the border. */
.article .stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 1.75rem 0 2.25rem;
}

.article .stat {
  border-top: 2px solid #e63946;
  padding-top: 14px;
}

.article .stat .v {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.article .stat .k {
  display: block;
  font-size: 0.82rem;
  color: var(--color-gray);
  margin-top: 6px;
  line-height: 1.5;
}

/* Four-column disclosure tables read better with a slightly narrower
   first column, because the organisation names are long and the reason
   column is the one carrying a full sentence. */
.article .table-scroll table th:first-child,
.article .table-scroll table td:first-child {
  width: 22%;
}

@media (max-width: 768px) {
  .article .stat-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .article .key-takeaway {
    padding: 18px 20px;
  }
}