/* Opt-in pillar posts only. The ordinary post and page-template layouts are untouched. */
.page-wrap_content.sp-post-contents-page {
  /* Hidden overflow creates a scroll container and prevents viewport-sticky navigation. */
  overflow: visible;
  overflow-x: clip;
}
.sp-post-contents-layout.is-ready {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 2.2fr);
  gap: 60px;
  align-items: start;
  padding: 30px 0 90px;
}
.sp-post-contents-article {
  min-width: 0;
}
.sp-post-contents-layout.is-ready.has-post-intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  padding-top: 80px;
}
.sp-post-contents-rail {
  min-width: 0;
  align-self: stretch;
}
.sp-post-contents-rail .postheading {
  margin-bottom: 32px;
}
.sp-post-contents-rail .postheading > :last-child {
  margin-bottom: 0;
}
.sp-post-contents-layout.is-ready.has-post-intro .singleintro-block {
  padding: 0 0 32px;
}
.sp-post-contents-layout.is-ready.has-post-intro .singleintro-block > .row > .span:first-child {
  display: none;
}
.sp-post-contents-layout.is-ready.has-post-intro .singleintro-block > .row > .span:last-child {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
}
.sp-post-contents-layout.is-ready.has-post-intro .sp-post-contents-intro.is-empty {
  height: 0;
  overflow: hidden;
}
.sp-post-contents-layout.is-ready.has-post-intro .sp-post-contents-intro + .block {
  padding-top: 0;
}
.sp-post-contents-sidebar {
  position: sticky;
  top: 110px;
  min-width: 0;
}
.sp-post-contents-rail .sp-post-contents-sidebar {
  max-width: 360px;
}
.sp-post-contents-menu {
  border-top: 1px solid #002a42;
  border-bottom: 1px solid #c9d8de;
  color: #002a42;
}
.sp-post-contents-menu summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
}
.sp-post-contents-menu summary::-webkit-details-marker {
  display: none;
}
.sp-post-contents-menu summary::after {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.sp-post-contents-menu[open] summary::after {
  transform: rotate(225deg);
}
.sp-post-contents-menu nav {
  max-height: calc(100vh - 220px);
  max-height: calc(100dvh - 220px);
  overflow-y: auto;
  scrollbar-width: thin;
  padding: 0 12px 16px 0;
}
.sp-post-contents-menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sp-post-contents-menu li {
  margin: 0;
  padding: 0;
}
.sp-post-contents-menu li::before {
  display: none;
}
.sp-post-contents-menu a {
  display: block;
  padding: 10px 4px;
  font-size: 16px;
  line-height: 1.45;
  color: #002a42;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sp-post-contents-menu a:hover {
  color: #002a42;
  text-decoration: underline;
}
.sp-post-contents-menu a:focus-visible,
.sp-post-contents-menu summary:focus-visible {
  outline: 2px solid #002a42;
  outline-offset: 2px;
}
.sp-post-contents-target {
  scroll-margin-top: 120px;
}
.sp-post-contents-layout.is-ready .sp-post-contents-article > .block:first-child {
  padding-top: 0;
}
.sp-post-contents-layout.is-ready .sp-post-contents-article .fullwidth {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}
.sp-post-contents-layout.is-ready .sp-post-contents-article .empty-left:not(.singleintro-block) > .row > .span:first-child,
.sp-post-contents-layout.is-ready .sp-post-contents-article .empty-left:not(.singleintro-block) > .center > .row > .span:first-child {
  display: none;
}
.sp-post-contents-layout.is-ready .sp-post-contents-article .empty-left:not(.singleintro-block) > .row > .span:last-child,
.sp-post-contents-layout.is-ready .sp-post-contents-article .empty-left:not(.singleintro-block) > .center > .row > .span:last-child {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
@media (max-width: 1023px) {
  .sp-post-contents-layout.is-ready {
    display: block;
    padding-bottom: 60px;
  }
  .sp-post-contents-layout.is-ready.has-post-intro {
    padding-top: 60px;
  }
  .sp-post-contents-rail .sp-post-contents-sidebar {
    max-width: none;
  }
  .sp-post-contents-sidebar {
    position: static;
    margin-bottom: 32px;
  }
  .sp-post-contents-menu nav {
    max-height: 50vh;
  }
}
@media print {
  .sp-post-contents-sidebar { display: none; }
  .sp-post-contents-layout.is-ready { display: block; }
}
