.sp-static-page {
  padding: 18px 0 46px;
}

.sp-static-surface {
  position: relative;
  border: 1px solid rgba(238, 77, 45, 0.12);
  border-radius: 18px;
  background: var(--white-color);
  overflow: visible;
}

.sp-static-breadcrumb {
  padding: 16px 24px 0;
}

.sp-static-breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
  color: var(--sp-text-secondary);
}

.sp-static-breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.sp-static-breadcrumb li:not(:last-child)::after {
  content: "/";
  color: #b6bcc9;
}

.sp-static-breadcrumb a {
  color: inherit;
}

.sp-static-breadcrumb a:hover {
  color: var(--sp-primary);
}

.sp-static-hero {
  padding: 18px 0px 22px;
}

.sp-static-hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(238, 77, 45, 0.2);
  background: rgba(255, 255, 255, 0.82);
  color: #cc4023;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.sp-static-page-title {
  margin: 0;
  color: #1f2633;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.sp-static-hero-desc {
  margin: 14px 0 0;
  max-width: 72ch;
  color: #4f5b71;
  font-size: 15px;
  line-height: 1.72;
}

.sp-static-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 10px;
  background: #f5f5f5;
  color: #5f6778;
  font-size: 13px;
}

.sp-static-hero-meta time {
  font-weight: 600;
  color: #313c4f;
}

.sp-static-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  padding: 0 24px 24px;
}

.sp-static-content-card {
  min-width: 0;
  border-radius: 14px;
  -webkit-border-radius: 14px;
  -moz-border-radius: 14px;
  -ms-border-radius: 14px;
  -o-border-radius: 14px;
}

.sp-static-aside {
  min-width: 0;
}

.sp-static-aside-inner {
  position: sticky;
  top: 130px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sp-static-panel {
  border: 1px solid #eceff5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(17, 23, 36, 0.05);
  padding: 16px;
}

.sp-static-panel-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #222d3f;
}

.sp-static-panel p {
  margin: 12px 0 0;
  color: #667084;
  font-size: 13px;
  line-height: 1.62;
}

.sp-static-home-link {
  display: inline-flex;
  align-items: center;
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(238, 77, 45, 0.1);
  color: #ca4224;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.sp-static-home-link:hover {
  background: rgba(238, 77, 45, 0.16);
  color: #a92f17;
}

.sp-static-toc {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.sp-static-toc li + li {
  margin-top: 8px;
}

.sp-static-toc li.is-sub {
  margin-left: 14px;
}

.sp-static-toc a {
  display: inline-block;
  color: #4f5b71;
  font-size: 13px;
  line-height: 1.5;
}

.sp-static-toc a:hover {
  color: var(--sp-primary);
}

.sp-static-page .sp-html-content {
  color: #2c3649;
  font-size: 16px;
  line-height: 1.82;
  word-break: break-word;
}

.sp-static-page .sp-html-content > *:first-child {
  margin-top: 0 !important;
}

.sp-static-page .sp-html-content > *:last-child {
  margin-bottom: 0 !important;
}

.sp-static-page .sp-html-content p {
  margin-bottom: 1rem;
}

.sp-static-page .sp-html-content h2,
.sp-static-page .sp-html-content h3,
.sp-static-page .sp-html-content h4 {
  margin-top: 10px;
  margin-bottom: 14px;
  line-height: 1.35;
  color: #1d2a3d;
  scroll-margin-top: 120px;
}

.sp-static-page .sp-html-content h2 {
  font-size: clamp(22px, 2.8vw, 27px);
  font-weight: 700;
}

.sp-static-page .sp-html-content h3 {
  font-size: clamp(19px, 2.2vw, 22px);
  font-weight: 700;
}

.sp-static-page .sp-html-content h4 {
  font-size: 18px;
  font-weight: 600;
}

.sp-static-page .sp-html-content ul,
.sp-static-page .sp-html-content ol {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.sp-static-page .sp-html-content li + li {
  margin-top: 0.4rem;
}

.sp-static-page .sp-html-content a {
  color: #dc4d2e;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(220, 77, 46, 0.45);
}

.sp-static-page .sp-html-content a:hover {
  color: #c1381a;
  text-decoration-color: rgba(193, 56, 26, 0.6);
}

.sp-static-page .sp-html-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 1.1rem auto;
  box-shadow: 0 8px 22px rgba(15, 23, 41, 0.13);
}

.sp-static-page .sp-html-content blockquote {
  margin: 1.2rem 0;
  padding: 12px 16px;
  border-left: 4px solid #ee4d2d;
  border-radius: 8px;
  background: #fff3ef;
  color: #3c4455;
}

.sp-static-page .sp-html-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.2rem 0;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  overflow: hidden;
}

.sp-static-page .sp-html-content table th,
.sp-static-page .sp-html-content table td {
  border: 1px solid #e6ebf3;
  padding: 9px 11px;
  vertical-align: top;
}

.sp-static-page .sp-html-content table th {
  background: #f5f8fc;
  color: #2a3140;
  font-weight: 600;
}

.sp-static-page .sp-html-content code {
  font-size: 0.92em;
  border-radius: 6px;
  padding: 1px 6px;
  background: #f4f6fb;
  color: #cc4023;
}

.sp-static-page .sp-html-content pre {
  max-width: 100%;
  overflow: auto;
  border-radius: 8px;
  padding: 12px;
  background: #171c25;
  color: #f2f4f8;
}

.sp-static-page .sp-html-content pre code {
  padding: 0;
  background: transparent;
  color: inherit;
}

.sp-static-page .sp-html-content iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
}

.sp-static-page .sp-html-content hr {
  border: 0;
  border-top: 1px solid #e6ebf3;
  margin: 1.35rem 0;
}

.sp-static-page :focus-visible {
  outline: 2px solid rgba(238, 77, 45, 0.45);
  outline-offset: 2px;
}

@media (max-width: 1024px) {
  .sp-static-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sp-static-aside-inner {
    position: static;
  }

  .sp-static-panel {
    box-shadow: none;
  }
  .sp-static-page .sp-html-content h2,
  .sp-static-page .sp-html-content h3,
  .sp-static-page .sp-html-content h4 {
    margin-bottom: 8px;
  }
  .sp-static-surface {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .sp-static-page {
    padding: 10px 0 32px;
  }

  .sp-static-surface {
    border-radius: 14px;
  }

  .sp-static-breadcrumb {
    padding: 14px 14px 0;
  }

  .sp-static-hero {
    padding: 12px 0px 16px;
  }

  .sp-static-hero-desc {
    font-size: 14px;
    line-height: 1.68;
  }

  .sp-static-layout {
    gap: 14px;
    padding: 0 14px 14px;
  }

  .sp-static-content-card {
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
  }

  .sp-static-content {
    padding: 0px;
    font-size: 15px;
  }

  .sp-static-page .sp-html-content {
    font-size: 15px;
    line-height: 1.74;
  }

  .sp-static-page .sp-html-content h2 {
    font-size: 21px;
  }

  .sp-static-page .sp-html-content h3 {
    font-size: 18px;
  }

  .sp-static-page .sp-html-content table {
    display: block;
    overflow-x: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-static-home-link {
    transition: none;
  }
}
