/* Centered 1200px content rail for every page except flagship boards. */
body.page-sc-site {
  margin: 0;
  background: #f5f8fc;
  color: #121212;
  overflow-x: clip;
}

body.page-sc-site #main-content {
  overflow-x: clip;
  min-height: 50vh;
  background: #fff;
}

body.page-sc-site #main-content > .sc-page {
  background: #fff;
}

body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])):not(:has([data-homepage-final])) #main-content > .sc-body-content,
body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])) #main-content > .sc-tools-hub,
body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])) #main-content > .sc-page-search,
body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])):not(:has([data-homepage-final])):not(:has(.sc-page)) #main-content > *:not(.sc-header):not(.sc-footer):not(.sc-search-overlay):not(.sc-section):not(.module):not(.sc-skip) {
  width: min(100% - 48px, 1200px);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 56px;
  padding-bottom: 72px;
  box-sizing: border-box;
}

.sc-body-content,
.sc-tools-hub {
  font-family: Inter, "Geist", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.sc-body-content h2,
.sc-tools-hub h2 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 2.25rem 0 0.75rem;
  font-weight: 700;
  color: #121212;
}

.sc-body-content h3,
.sc-tools-hub h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  margin: 1.35rem 0 0.5rem;
  font-weight: 700;
}

.sc-body-content > section:first-child h2,
.sc-body-content > section:first-child > h2 {
  margin-top: 0;
}

.sc-body-content p,
.sc-tools-hub p {
  margin: 0 0 1rem;
  max-width: none;
  color: #4a5567;
}

.sc-body-content ul,
.sc-body-content ol,
.sc-tools-hub ul,
.sc-tools-hub ol {
  max-width: none;
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
  color: #4a5567;
}

.sc-body-content li,
.sc-tools-hub li {
  margin: 0 0 0.45rem;
}

.sc-body-content a,
.sc-tools-hub a {
  color: #0b62ff;
  text-decoration: none;
}

.sc-body-content a:hover,
.sc-tools-hub a:hover {
  text-decoration: underline;
}

.sc-body-content img,
.sc-body-content svg,
.sc-body-content table,
.sc-tools-hub img {
  max-width: 100%;
  height: auto;
}

.sc-body-content table {
  display: block;
  overflow-x: auto;
}

.sc-body-content .sc-panel,
.sc-tools-hub .sc-panel {
  max-width: var(--sc-width-content, 63.75rem);
  margin: 0 0 1.5rem;
}

.sc-body-content div:has(> article.sc-card),
.sc-tools-hub ul.sc-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0 2rem;
  max-width: none;
  padding: 0;
  list-style: none;
}

.sc-body-content article.sc-card,
.sc-tools-hub .sc-card {
  max-width: none;
}

.sc-body-content article.sc-card > p:first-child {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b62ff;
  margin-bottom: 0.4rem;
}

.sc-body-content article.sc-card h3 {
  margin-top: 0;
}

.sc-body-content section:has(> div > h2):has(> div:nth-child(2) > h2) {
  display: block;
}

.sc-body-content section:has(> div > h2):has(> div:nth-child(2) > h2) h2 {
  margin-top: 0;
}

.sc-body-content details.sc-faq-item,
.sc-body-content details {
  border-bottom: 1px solid #c9d5e6;
  max-width: none;
}

.sc-body-content details summary {
  cursor: pointer;
  padding: 1rem 0;
  font-weight: 500;
  color: #121212;
}

.sc-body-content .sc-faq-answer,
.sc-body-content details > div {
  padding: 0 0 1rem;
  color: #4a5567;
}

@media (max-width: 800px) {
  body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])):not(:has([data-homepage-final])) #main-content > .sc-body-content,
  body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])) #main-content > .sc-tools-hub,
  body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])) #main-content > .sc-page-search,
  body.page-sc-site:not(:has([data-best-vpn-board])):not(:has([data-secshield])):not(:has([data-homepage-final])):not(:has(.sc-page)) #main-content > *:not(.sc-header):not(.sc-footer):not(.sc-search-overlay):not(.sc-section):not(.module):not(.sc-skip) {
    width: min(100% - 40px, 1200px);
    padding-top: 36px;
    padding-bottom: 56px;
  }

  .sc-body-content section:has(> div > h2):has(> div:nth-child(2) > h2) {
    grid-template-columns: 1fr;
  }
}
