/*
 * Default-template pages (index.php), 2026 redesign: the content of a page
 * built in the block editor, in the story page's reading style. The hero comes
 * from search.css (.sx-hero), loaded with this file.
 */

.bp .sx-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
}

.bp-section {
  padding: 72px 0 96px;
  background: #fff;
}

.bp-content {
  max-width: 860px;
  color: var(--ink-strong);
  font-family: var(--font-ui);
}

.bp-content > :first-child {
  margin-top: 0;
}

.bp .bp-content h2,
.bp .bp-content h3,
.bp .bp-content h4 {
  max-width: none;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
}

.bp .bp-content h2 {
  margin: 40px 0 14px;
  font-size: var(--text-ui-panel);
  line-height: 1.25;
}

.bp .bp-content h3 {
  margin: 28px 0 12px;
  font-size: var(--text-ui-step);
  line-height: 1.3;
}

.bp .bp-content h4 {
  margin: 24px 0 10px;
  font-size: var(--text-ui-lg);
}

.bp-content p,
.bp-content li {
  color: var(--muted-ui);
  font-size: var(--text-ui-md);
  line-height: 1.7;
}

.bp-content p {
  margin: 0 0 16px;
}

.bp-content ul,
.bp-content ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.bp-content li + li {
  margin-top: 8px;
}

.bp-content li::marker {
  color: var(--purple);
}

.bp-content strong {
  color: var(--ink-strong);
}

.bp-content a {
  color: var(--purple);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bp-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-xl);
}

.bp-content figure {
  margin: 28px 0;
}

.bp-content figcaption {
  margin-top: 8px;
  color: var(--muted-strong);
  font-size: var(--text-ui-sm);
}

.bp-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid var(--purple);
  border-radius: 0 var(--radius-xl) var(--radius-xl) 0;
  background: var(--surface-soft);
}

.bp-content blockquote p {
  margin: 0;
  color: var(--ink-strong);
  font-family: var(--font-display);
  font-size: var(--text-ui-step);
  font-weight: 600;
  line-height: 1.45;
}

.bp-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: var(--text-ui);
}

.bp-content th,
.bp-content td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line-soft);
  text-align: left;
}

.bp-content th {
  color: var(--ink-strong);
  font-weight: 700;
}

/* Block editor buttons in the redesign's pill style. */
.bp-content .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  height: var(--ds-button-md);
  padding: 0 22px;
  border-radius: var(--radius-pill);
  background: var(--purple);
  color: #fff;
  font-size: var(--text-ui);
  font-weight: 700;
  text-decoration: none;
}

.bp-content .wp-block-button__link:hover {
  background: var(--purple-press);
}

.bp-content .is-style-outline .wp-block-button__link {
  border: 1px solid var(--line-control);
  background: #fff;
  color: var(--ink-strong);
}

@media (max-width: 767px) {
  .bp-section {
    padding: 36px 0 44px;
  }

  .bp .bp-content h2 {
    font-size: var(--text-ui-step);
  }

  .bp-content p,
  .bp-content li {
    font-size: var(--text-ui);
    line-height: 1.65;
  }
}
