/* ─────────────────────────────────────────────────────────────────
   Block: section-with-raw — content + raw HTML two-column section
   Minimal styling: tokenized typography for the markdown column,
   light frame for the raw column.
   ───────────────────────────────────────────────────────────── */

.block-section-with-raw {
  font-family: var(--ds-font-body);
  color: var(--scheme-fg);
}

.block-section-with-raw .row {
  align-items: center;
  gap: var(--ds-space-6) 0;
}

.block-section-with-raw h1,
.block-section-with-raw h2,
.block-section-with-raw h3,
.block-section-with-raw h4 {
  font-family: var(--ds-font-display);
  color: var(--scheme-fg);
  letter-spacing: 0.005em;
  margin-top: 0;
  margin-bottom: var(--ds-space-4);
  line-height: 1.1;
}

.block-section-with-raw h2 { font-size: var(--ds-fs-display-md); }
.block-section-with-raw h3 { font-size: var(--ds-fs-display-sm); }

.block-section-with-raw p {
  font-family: var(--ds-font-body);
  font-size: var(--ds-fs-body-lg);
  line-height: 1.6;
  color: var(--scheme-fg-soft);
  margin: 0 0 var(--ds-space-4);
}

.block-section-with-raw ul,
.block-section-with-raw ol {
  margin: 0 0 var(--ds-space-4);
  padding-left: var(--ds-space-5);
  color: var(--scheme-fg-soft);
}

.block-section-with-raw li {
  margin-bottom: var(--ds-space-2);
  line-height: 1.5;
}

.block-section-with-raw a {
  color: var(--ds-cta);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.block-section-with-raw a:hover {
  color: var(--ds-cta-dk);
}

/* Raw HTML column wrapper — give it a card-ish frame */
.block-section-with-raw .col-lg-6 + .col-lg-6 {
  font-family: var(--ds-font-body);
}

@media (max-width: 768px) {
  .block-section-with-raw .col-lg-6 {
    margin-bottom: var(--ds-space-5);
  }
  .block-section-with-raw .col-lg-6:last-child {
    margin-bottom: 0;
  }
}
