/* =========================================================
   WCA Board statements / source reproductions
   ========================================================= */

.source-page {
  display: block;
  min-height: 100vh;
  padding: 0;
  text-align: left;
}

.source-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 24px 20px 56px;
  text-align: left;
}

.source-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 900px;
  margin: 0 auto 28px;
  padding: 12px 0 18px;
  border-bottom: 1px solid var(--line);
}

.source-topbar a {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.source-back {
  color: var(--muted);
}

.source-back:hover {
  color: var(--fg);
}

.source-article {
  max-width: 900px;
  margin: 0 auto;
}

.source-header {
  padding: 42px 0 34px;
  text-align: center;
}

.source-header h1 {
  max-width: 820px;
  margin: 0 auto;
  font-size: clamp(2.3rem, 6vw, 4.7rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.source-lead {
  max-width: 760px;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 1.65;
}

.source-context {
  max-width: 720px;
  margin: 28px auto 0;
  padding: 16px 18px;
  border: 1px solid #3a3a3a;
  border-radius: 10px;
  background: #0d0d0d;
  color: #aaa;
  font-size: 0.86rem;
  line-height: 1.55;
  text-align: left;
}

.source-context p {
  margin: 0;
}

.statement-document {
  max-width: 790px;
  margin: 18px auto 0;
  border: 1px solid #343434;
  border-radius: 14px;
  background: #0b0b0b;
  overflow: hidden;
}

.statement-meta {
  padding: 18px 24px;
  border-bottom: 1px solid #343434;
  background: #111;
}

.statement-meta p {
  margin: 0;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.statement-body {
  padding: 32px 34px 34px;
}

.statement-body > p {
  margin: 0 0 22px;
  color: #d5d5d5;
  font-size: clamp(1rem, 1.8vw, 1.08rem);
  line-height: 1.78;
}

.statement-highlight {
  margin: 32px 0;
  padding: 24px 26px;
  background: #111;
  border: 1px solid #444;
  border-left: 4px solid #f5f5f5;
  border-radius: 10px;
}

.statement-highlight p {
  margin: 0;
  color: var(--fg);
  font-size: clamp(1.12rem, 2.5vw, 1.32rem);
  line-height: 1.62;
  font-weight: 650;
}

.statement-signature {
  margin-top: 30px !important;
  color: var(--fg) !important;
}

.source-significance {
  max-width: 790px;
  margin: 58px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}

.source-significance h2 {
  margin: 0 0 20px;
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.source-significance p {
  margin: 0 0 18px;
  color: #d0d0d0;
  font-size: 1rem;
  line-height: 1.7;
}

.source-significance strong {
  color: var(--fg);
}

.source-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 790px;
  margin: 34px auto 0;
}

.source-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid #555;
  border-radius: 8px;
  color: var(--fg);
  font-size: 0.84rem;
  font-weight: 650;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.source-actions a:hover {
  background: #f5f5f5;
  border-color: #f5f5f5;
  color: #050505;
  transform: translateY(-2px);
}

.source-footer {
  max-width: 790px;
  margin: 70px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: #747474;
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.source-footer p {
  margin: 7px 0;
}

@media (max-width: 720px) {
  .source-shell {
    padding: 14px 14px 40px;
  }

  .source-topbar {
    margin-bottom: 16px;
  }

  .source-header {
    padding: 30px 0 26px;
  }

  .source-header h1 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .source-context {
    padding: 14px 16px;
  }

  .statement-body {
    padding: 24px 18px 26px;
  }

  .statement-highlight {
    margin: 26px 0;
    padding: 20px 18px;
  }

  .source-significance {
    margin-top: 46px;
  }

  .source-actions {
    flex-direction: column;
  }

  .source-actions a {
    width: 100%;
  }
}

