.sx-single {
  --sx-ink: #3f3f3f;
  --sx-muted: #767676;
  /* #767676 on #f7f7f7 is 4.07:1 and fails WCAG AA. */
  --sx-body: #5c5c5c;
  --sx-accent: #f58220;
  background: #f7f7f7;
  color: var(--sx-ink);
}

.sx-hero-container,
.sx-layout {
  width: min(calc(100% - 48px), 1232px);
  margin-inline: auto;
}

.sx-hero-section { padding: 52px 0 42px; }
.sx-hero-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  gap: 52px;
  align-items: center;
}

.sx-title {
  max-width: 720px;
  margin: 0 0 14px;
  color: var(--sx-ink);
  font-size: clamp(27px, 2.35vw, 34px);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -.025em;
}
.sx-meta {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: #858585;
  font-size: 15px;
  line-height: 1.4;
}
.sx-lead {
  max-width: 720px;
  margin: 0;
  color: var(--sx-muted);
  font-size: 17px;
  line-height: 1.65;
}
.sx-hero__image {
  position: relative;
  width: 100%;
  margin: 0;
}
.sx-hero__img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}
.sx-hero__mascot {
  position: absolute;
  left: -68px;
  bottom: -24px;
  width: 112px;
  height: auto;
  pointer-events: none;
}

.sx-layout {
  padding: 18px 0 72px;
  display: grid;
  grid-template-columns: minmax(0, 908px) 292px;
  gap: 32px;
  align-items: start;
}
.sx-main-column { min-width: 0; }
.sx-sidebar { position: sticky; top: 96px; }

.sx-content {
  color: var(--sx-body);
  font-size: 17px;
  line-height: 1.72;
}
/* Readable measure for text; media keeps full width. */
.sx-content > p,
.sx-content > h2,
.sx-content > h3,
.sx-content > h4,
.sx-content > ul,
.sx-content > ol,
.sx-content > blockquote { max-width: 70ch; }
.sx-content > :first-child { margin-top: 0; }
.sx-content p { margin: 0 0 22px; }
.sx-content h2,
.sx-content h3,
.sx-content h4 {
  color: var(--sx-ink);
  line-height: 1.3;
  font-weight: 850;
  text-wrap: balance;
}
.sx-content h2 {
  position: relative;
  margin: 52px 0 16px;
  padding-top: 18px;
  font-size: 23px;
  letter-spacing: -.015em;
}
.sx-content h2::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 34px;
  height: 3px;
  border-radius: 2px;
  background: var(--sx-accent);
}
.sx-content > h2:first-child { margin-top: 0; }
.sx-content h3 { margin: 34px 0 12px; font-size: 19px; }
.sx-content h4 { margin: 26px 0 10px; font-size: 18px; }
.sx-content h2 + p,
.sx-content h3 + p,
.sx-content h4 + p { margin-top: 0; }
.sx-content ul,
.sx-content ol { margin: 0 0 24px; padding-left: 26px; }
.sx-content li { margin-bottom: 9px; padding-left: 2px; }
.sx-content li::marker { color: var(--sx-accent); font-weight: 800; }
.sx-content a { color: var(--sx-accent); text-underline-offset: 3px; }
.sx-content strong { color: var(--sx-ink); font-weight: 800; }

.sx-content > p:first-of-type {
  margin-bottom: 26px;
  color: var(--sx-ink);
  font-size: 19px;
  line-height: 1.62;
}
.sx-content img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}
.sx-content figure { margin: 28px 0; }
.sx-content blockquote {
  margin: 30px 0;
  padding: 22px 24px;
  border-left: 4px solid var(--sx-accent);
  border-radius: 0 18px 18px 0;
  background: #fff;
}
.sx-content table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
}
.sx-content th,
.sx-content td { padding: 12px 14px; border: 1px solid #e4e4e4; }

.sx-content pre {
  margin: 0 0 24px;
  padding: 18px 22px;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  background: #fff;
  color: var(--sx-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.6;
  tab-size: 2;
  overflow-x: auto;
  scrollbar-color: #b8b8b8 transparent;
}
.sx-content pre code {
  padding: 0;
  border-radius: 0;
  background: none;
  font-size: inherit;
}
.sx-content code {
  padding: .12em .4em;
  border-radius: 6px;
  background: #efefef;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: .92em;
}
.sx-content .sx-example {
  margin: 0 0 16px;
  padding: 12px 18px;
  border-left: 3px solid var(--sx-accent);
  border-radius: 0 12px 12px 0;
  background: #fff;
  color: var(--sx-ink);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 15px;
  line-height: 1.6;
}

.sx-section-title {
  margin: 0 0 28px;
  color: var(--sx-ink);
  font-size: 28px;
  line-height: 1.25;
  font-weight: 900;
  text-align: center;
}
.sx-section-title span { color: var(--sx-accent); }

.sx-related { padding-top: 64px; }
.sx-related__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.sx-related-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(54,54,54,.045);
}
.sx-related-card__thumb {
  display: block;
  aspect-ratio: 16 / 10;
  margin: 10px 10px 0;
  overflow: hidden;
  border-radius: 14px;
  background: #eee;
}
.sx-related-card__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sx-related-card__body { padding: 14px 14px 16px; }
.sx-related-card h3 { margin: 0 0 14px; font-size: 14px; line-height: 1.4; font-weight: 800; }
.sx-related-card h3 a { color: var(--sx-ink); text-decoration: none; }
.sx-related-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  color: #8b8b8b;
  font-size: 12px;
}
.sx-related-card__footer a { color: var(--sx-accent); font-weight: 800; text-decoration: none; }

.sx-services { padding-top: 72px; }
.sx-services .statusko-services-grid,
.sx-services .services-grid { margin-inline: auto; }

@media (max-width: 1024px) {
  .sx-hero-container,
  .sx-layout { width: min(calc(100% - 40px), 760px); }
  .sx-hero-container { grid-template-columns: 1fr; gap: 28px; }
  .sx-layout { grid-template-columns: 1fr; }
  .sx-sidebar { position: static; margin-top: 48px; }
  .sx-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sx-hero__mascot { left: -28px; width: 90px; }
}

@media (max-width: 640px) {
  .sx-hero-container,
  .sx-layout { width: calc(100% - 32px); }
  .sx-hero-section { padding: 32px 0 22px; }
  .sx-hero-container { gap: 20px; }
  .sx-title { font-size: 25px; line-height: 1.2; }
  .sx-meta { margin-bottom: 14px; font-size: 14px; }
  .sx-lead { font-size: 16px; line-height: 1.58; }
  .sx-hero__img { aspect-ratio: 16 / 9; border-radius: 16px; }
  .sx-hero__mascot { display: none; }
  .sx-layout { padding: 14px 0 50px; }
  .sx-content { font-size: 16px; line-height: 1.66; }
  .sx-content p { margin-bottom: 20px; }
  .sx-content h2 { margin-top: 38px; padding-top: 15px; font-size: 21px; }
  .sx-content h3 { margin-top: 28px; font-size: 18px; }
  .sx-content > p:first-of-type { font-size: 17px; line-height: 1.58; }
  .sx-content pre { padding: 14px 16px; font-size: 14px; }
  .sx-content .sx-example { padding: 11px 14px; font-size: 14px; }
  .sx-section-title { margin-bottom: 22px; font-size: 25px; }
  .sx-related { padding-top: 54px; }
  .sx-related__grid {
    grid-template-columns: repeat(4, minmax(230px, 72vw));
    gap: 14px;
    overflow-x: auto;
    padding: 0 0 12px;
    scroll-snap-type: x mandatory;
    scrollbar-color: #b8b8b8 transparent;
  }
  .sx-related-card { scroll-snap-align: start; }
  .sx-services { padding-top: 58px; }
  .sx-sidebar { margin-top: 42px; }
}

