.penalties-page {
  max-width: 1140px;
  margin-inline: auto;
}

.resource-main .penalties-hero {
  overflow: clip;
  padding: clamp(3rem, 7vw, 6rem) clamp(1rem, 5vw, 4rem);
  margin: 1.25rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--brand-page-shade) var(--surface);
}

.penalties-hero .hero__copy {
  max-width: 52rem;
}

.resource-main .penalties-hero h1 {
  font-size: clamp(2.5rem, 7.2vw, 5.5rem);
}

.resource-main .penalties-hero .hero__intro {
  max-width: 37rem;
  margin-top: clamp(1rem, 3vw, 1.75rem);
  font-family: var(--font-site);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.penalties-hero .hero__wedge { left: 1%; bottom: 17%; }
.penalties-hero .hero__burst { right: 1%; top: 1%; }
.penalties-actions { position: relative; justify-content: center; flex-wrap: wrap; }
.penalties-section { margin-block: clamp(3rem, 7vw, 6rem); }
.penalties-section .section-heading { margin-bottom: clamp(1.25rem, 4vw, 2.5rem); }

.penalties-table-panel {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--paper);
}

.penalties-table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.penalties-table thead { background: var(--ink); color: var(--white); }
.penalties-table :is(th, td) { padding: clamp(1rem, 2.8vw, 2rem); text-align: left; vertical-align: top; }
.penalties-table thead th { padding-block: .9rem; font-size: .8125rem; letter-spacing: .09em; text-transform: uppercase; }
.penalties-table thead th:first-child { width: 55%; }
.penalties-table tbody tr + tr { border-top: 1px solid var(--line); }
.penalties-table td { border-left: 1px solid var(--line); background: var(--surface); }
.penalties-table th strong, .penalties-table td strong { display: block; margin-bottom: .35rem; font-family: var(--font-site); line-height: 1.3; }
.penalties-table td strong { color: var(--brand-teal-text); }
.penalties-table :is(th, td) > span { display: block; color: var(--muted); font-size: .9375rem; font-weight: 500; }
.penalties-table th > span + span { margin-top: .55rem; }
.penalties-removed {
  margin-top: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 2rem);
  border-radius: var(--radius-button);
  background: var(--brand-teal-tint);
}
.penalties-removed h3 { margin-bottom: .4rem; font-size: clamp(1.125rem, 2vw, 1.375rem); }
.penalties-removed a { text-underline-offset: .19em; }

.penalties-keypoints { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1rem, 5vw, 4rem); margin: 0 0 1.25rem; }
.penalties-keypoints > div { border-top: 1px solid var(--line); padding-block: 1.35rem; }
.penalties-keypoints dt { font-family: var(--font-site); font-size: clamp(1.125rem, 2.1vw, 1.375rem); font-weight: 600; line-height: 1.35; }
.penalties-keypoints dd { max-width: 54ch; margin: .5rem 0 0; color: var(--muted); }
.penalties-timeline-link { color: var(--brand-teal-text); }

.penalties-sources { margin-block: 0; background: var(--brand-teal-tint); }
.penalties-sources p:not(.eyebrow) { max-width: 60ch; }
.penalties-source-actions { flex: none; align-items: flex-start; flex-direction: column; }
.penalties-source-actions .text-link { min-height: 44px; }

@media (max-width: 760px) {
  .resource-main .penalties-hero { border-radius: 28px; }
  .penalties-sources { align-items: flex-start; flex-direction: column; gap: 1.25rem; }
}

@media (max-width: 600px) {
  .penalties-actions { align-items: stretch; flex-direction: column; }
  .penalties-table-panel { border-radius: 22px; }
  .penalties-table, .penalties-table tbody, .penalties-table tbody :is(tr, th, td) { display: block; }
  /* Keep the column labels in the accessibility tree when rows stack. */
  .penalties-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .penalties-table :is(th, td) { padding: 1rem; }
  .penalties-table td { border-left: 0; }
  .penalties-keypoints { grid-template-columns: minmax(0, 1fr); }
}

@media print {
  .resource-main .penalties-hero { padding: 12px; background: none; }
  .penalties-table tbody tr { break-inside: avoid; }
}
