body.ter-source-material main.content {
  max-width: 76rem;
}

.source-slide-stack {
  display: grid;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  margin: 1.5rem 0 2rem;
}

.source-slide {
  margin: 0;
}

.source-slide img {
  display: block;
  width: 100%;
  border: 1px solid rgb(0 0 0 / 0.18);
  border-radius: 0.7rem;
  box-shadow: 0 0.8rem 2rem rgb(0 0 0 / 0.12);
}

.source-slide figcaption {
  margin-top: 0.55rem;
  color: var(--bs-text-secondary);
  font-size: 0.86rem;
}

.source-lesson-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin: 1.3rem 0 0;
  font-weight: 700;
}

.worksheet-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin: 1rem 0 2rem;
  padding: 1rem 1.15rem;
  border-left: 0.35rem solid #0f5f8f;
  background: #f1f7fa;
}

.worksheet-actions p {
  margin: 0;
}

.worksheet-actions a {
  display: inline-block;
  padding: 0.55rem 0.85rem;
  border-radius: 0.45rem;
  background: #0f5f8f;
  color: white;
  font-weight: 750;
  text-decoration: none;
}

.worksheet-actions a:hover,
.worksheet-actions a:focus {
  background: #0a456a;
  color: white;
}

.worksheet-section {
  margin: 2rem 0 2.8rem;
}

.worksheet-section h2 {
  margin-bottom: 0.35rem;
}

.worksheet-question {
  margin: 0 0 1rem;
  font-size: 1.04rem;
}

.needs-table {
  width: 100%;
  margin: 0.8rem 0 1.3rem;
  table-layout: fixed;
  border-collapse: collapse;
}

.needs-table th,
.needs-table td {
  border: 1px solid #b7c2ca;
  padding: 0.75rem;
  vertical-align: top;
}

.needs-table th {
  background: #173d59;
  color: white;
  font-weight: 750;
  text-align: left;
}

.needs-table td {
  height: 4.2rem;
  background: white;
}

.needs-table tbody tr:nth-child(even) td {
  background: #f6f9fb;
}

.needs-table--three th:first-child {
  width: 42%;
}

.response-space {
  min-height: 5rem;
  margin: 0.7rem 0 1.2rem;
  border: 1px solid #b7c2ca;
  background:
    repeating-linear-gradient(
      to bottom,
      white 0,
      white 2rem,
      #d8e0e5 2rem,
      #d8e0e5 calc(2rem + 1px)
    );
}

.need-statement {
  padding: 1rem 1.15rem;
  border-left: 0.35rem solid #9f6a05;
  background: #fff8e8;
  font-size: 1.08rem;
}

@media (max-width: 640px) {
  .needs-table {
    table-layout: auto;
    font-size: 0.88rem;
  }

  .needs-table th,
  .needs-table td {
    padding: 0.55rem;
  }
}
