.ms-section {
  background: var(--svc-bg);
  padding: clamp(56px, 8vw, 96px) 0;
}

.ms-shell {
  width: min(calc(100% - 40px), 1080px);
  margin: 0 auto;
}

.ms-title {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--svc-ink);
}

.ms-lead,
.ms-content > p {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  color: #5c5650;
  max-width: 880px;
}

.ms-content > p:first-child {
  margin-bottom: 40px;
}

.ms-content > h2,
.ms-content > h3 {
  margin: 32px 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--svc-ink);
}

.ms-content > h2 { font-size: 22px; }
.ms-content > h3 { font-size: 18px; }

.ms-table-wrap,
.ms-content .wp-block-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 24px;
}

.ms-table,
.ms-content .wp-block-table table,
.ms-content > table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid var(--svc-rail);
  box-shadow: 0 6px 20px rgba(74, 67, 63, .04);
}

.ms-table thead th,
.ms-content .wp-block-table thead th,
.ms-content > table thead th {
  padding: 16px 24px;
  background: #4a433f;
  color: #f5f0e8;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-align: left;
  border: 0;
}

.ms-table thead th:first-child,
.ms-content .wp-block-table thead th:first-child,
.ms-content > table thead th:first-child {
  width: 30%;
  text-align: center;
}

.ms-table tbody td,
.ms-content .wp-block-table tbody td,
.ms-content > table tbody td {
  padding: 18px 24px;
  border-top: 1px solid var(--svc-rail);
  font-size: 15px;
  color: var(--svc-ink);
  letter-spacing: 0.04em;
}

.ms-table tbody td:first-child,
.ms-content .wp-block-table tbody td:first-child,
.ms-content > table tbody td:first-child {
  text-align: center;
  font-weight: 600;
}

.ms-table tbody tr:nth-child(even),
.ms-content .wp-block-table tbody tr:nth-child(even),
.ms-content > table tbody tr:nth-child(even) {
  background: #faf9f6;
}

@media (max-width: 767px) {
  .ms-table thead th,
  .ms-table tbody td,
  .ms-content .wp-block-table thead th,
  .ms-content .wp-block-table tbody td,
  .ms-content > table thead th,
  .ms-content > table tbody td {
    padding: 12px 14px;
    font-size: 13px;
  }
}

/* ----- Hero (per-page) ----- */
.ms-hero {
  width: 100%;
  aspect-ratio: 1440 / 450;
  background: url('../../assets/ms-hero.png') center/cover no-repeat;
}

@media (max-width: 767px) {
  .ms-hero {
    aspect-ratio: 4 / 3;
  }
}
