/* ============================================================
   content-warning.css
   Page-specific styles for actors/lee/history.php (the
   "Problematic History of Madeline Lee / Pojo Kutty" article).

   Loaded ONLY on that page via $page_extra_css, AFTER core.css,
   so the #actor-dossier rules below are effectively page-scoped.
   ============================================================ */

/* Center all article text on the History page. */
#actor-dossier,
#actor-dossier h1,
#actor-dossier h2,
#actor-dossier h3,
#actor-dossier p {
  text-align: center;
}

/* core.css sets `p { max-width: 70ch; margin: 0 0 1.25rem }`, which pins each
   paragraph into a narrow column on the LEFT — so text-align:center alone left the
   text hugging the left edge. Auto side margins center that column on the page. */
#actor-dossier p {
  margin-left: auto;
  margin-right: auto;
}

.content-warning {
  margin: 3rem auto;
  padding: 1.25rem 1.5rem;
  max-width: 900px;
  border-left: 4px solid #ff3b8d;
  background: linear-gradient(
    90deg,
    rgba(255, 59, 141, 0.12),
    rgba(255, 59, 141, 0.04)
  );
  color: #ffd6e6;
  font-size: 0.95rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  box-shadow:
    0 0 0 1px rgba(255, 59, 141, 0.15),
    0 0 18px rgba(255, 59, 141, 0.12);
}

.content-warning + h1,
.content-warning + h2,
.content-warning + h3 {
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff4fa3;
  text-shadow:
    0 0 6px rgba(255, 79, 163, 0.6),
    0 0 18px rgba(255, 79, 163, 0.35);
}

.content-warning-inline {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  margin: 0 0.2rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff9acb;
  background: rgba(255, 59, 141, 0.15);
  border-radius: 3px;
}

.content-warning::before {
  content: "CONTENT WARNING";
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ff9acb;
  opacity: 0.85;
}

.figure {
  display: block;
  margin: 2rem auto;
  text-align: center;
}

.figure img {
  max-width: 380px;
  width: 100%;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
  background: #0c0c14;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.06);
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
  margin: 2rem auto;
  max-width: 1100px;
}

.image-row figure {
  text-align: center;
  max-width: 420px;
  flex: 1 1 260px;
  margin: 0;
  opacity: 0.96;
}

.image-row figure:hover {
  opacity: 1;
}

.image-row img {
  max-width: 100%;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}

figcaption.caption {
  margin-top: 0.75rem;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.015)
  );
  border-radius: calc(var(--radius) * 0.75);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.35);
  text-align: center;
  max-width: 100%;
}

.image-row figure:hover figcaption.caption {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.1);
}

/* "Have you been targeted?" call-to-action panel at the top of the History page.
   (Renamed from .site-header so it no longer borrows the nav bar's styling.) */
.victim-callout {
  max-width: 760px;
  margin: 0 auto 2.5rem;
}
