.stt-page .source-shell {
  width: min(1130px, calc(100% - 48px));
}

.stt-page .source-hero h1,
.stt-page .source-hero h2 {
  max-width: 860px;
  margin-inline: auto;
}

.stt-page .source-section {
  padding: 56px 0;
}

.stt-page .source-section h1,
.stt-page .source-section h2 {
  margin-bottom: 18px;
  font-size: 24px;
  letter-spacing: -.03em;
  line-height: 1.3;
}

.stt-page .source-section h3 {
  margin: 24px 0 12px;
  font-size: 21px;
  letter-spacing: -.02em;
  line-height: 1.35;
}

.stt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 44px;
}

.stt-column {
  min-width: 0;
}

.stt-page .stt-column > :first-child {
  margin-top: 0;
}

.stt-page .source-media {
  margin: 28px 0 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stt-page .source-media img {
  width: 100%;
}

.stt-code {
  overflow-x: auto;
  margin: 18px 0 24px;
  padding: 15px 17px;
  background: #E8ECF2;
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.stt-page .stt-code p {
  margin: 0;
  color: inherit;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.stt-settings {
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line-strong);
}

.stt-settings table {
  width: 100%;
  border-collapse: collapse;
}

.stt-settings th,
.stt-settings td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
}

.stt-settings th {
  background: #E8ECF2;
  color: var(--ink);
  font-weight: 700;
}

.stt-settings tr:last-child td {
  border-bottom: 0;
}

@media (max-width: 850px) {
  .stt-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .stt-page .source-media img {
    width: min(100%, 560px);
  }
}

@media (max-width: 560px) {
  .stt-page .source-shell {
    width: min(100% - 30px, 520px);
  }

  .stt-code {
    margin-block: 16px 22px;
    padding: 13px 14px;
  }

  .stt-page .stt-code p {
    font-size: 12.5px;
  }
}
