/* SCT legal / policy pages */
.sct-legal-page .sct-blog-hero {
  text-align: left;
}

.sct-legal-page .sct-blog-hero__inner {
  margin: 0;
  width: min(920px, 100%);
}

.sct-legal-shell {
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) 0 clamp(64px, 8vw, 110px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.sct-legal-nav {
  position: sticky;
  top: 120px;
  padding: 20px;
  background: #f5f7fa;
  border-radius: 4px;
}

.sct-legal-nav__title {
  margin: 0 0 12px;
  font-family: Cabin, Sarabun, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #003973;
}

.sct-legal-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sct-legal-nav li + li {
  margin-top: 8px;
}

.sct-legal-nav a {
  font-family: Sarabun, Cabin, sans-serif;
  font-size: 14px;
  color: #4a5d73;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sct-legal-nav a:hover,
.sct-legal-nav a.is-active {
  color: #ef513d;
}

.sct-legal-prose {
  font-family: Sarabun, Cabin, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2c3e50;
}

.sct-legal-prose > *:first-child {
  margin-top: 0;
}

.sct-legal-prose h2 {
  margin: 2rem 0 0.75rem;
  font-family: Cabin, Sarabun, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #003973;
  line-height: 1.3;
}

.sct-legal-prose h3 {
  margin: 1.5rem 0 0.5rem;
  font-family: Cabin, Sarabun, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #092949;
}

.sct-legal-prose p,
.sct-legal-prose ul,
.sct-legal-prose ol {
  margin: 0 0 1rem;
}

.sct-legal-prose ul,
.sct-legal-prose ol {
  padding-left: 1.25rem;
}

.sct-legal-prose li + li {
  margin-top: 0.35rem;
}

.sct-legal-prose a {
  color: #ef513d;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sct-legal-prose .sct-legal-meta {
  margin: 0 0 1.5rem;
  font-size: 14px;
  color: #6b7c8f;
}

.sct-legal-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.25rem;
  font-size: 14px;
}

.sct-legal-prose th,
.sct-legal-prose td {
  border: 1px solid #d9e1ea;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.sct-legal-prose th {
  background: #f5f7fa;
  color: #003973;
  font-weight: 700;
}

@media (max-width: 900px) {
  .sct-legal-shell {
    grid-template-columns: 1fr;
  }

  .sct-legal-nav {
    position: static;
    order: -1;
  }
}
