/**
 * Split Feature block — full-bleed editorial sections: half photo, half copy.
 * Self-contained (no build). Brand: cream #fffef4, alabaster #f7f5ea, ink
 * #1b1612, muted #8d8a83; flat, square, shadowless.
 */

/* Escape the narrow content column / the theme's desktop [class*='wp-block']
   width cap with the proven negative-viewport-margin breakout, so the section
   runs edge to edge. (.site-content clips overflow-x — no horizontal scrollbar.) */
.wp-block-split-feature,
.is-layout-constrained > .wp-block-split-feature,
.jixaw-flow > .wp-block-split-feature {
  max-width: none !important;
  width: auto !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
/* Sections sit flush against each other for a continuous editorial flow; the
   flow gap is reintroduced by the content padding inside each half. */
.jixaw-flow.jixaw-flow > .wp-block-split-feature + .wp-block-split-feature {
  margin-block-start: 0;
}

.jixaw-splitf__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.jixaw-splitf__media {
  margin: 0;
  min-height: 320px;
}
.jixaw-splitf__img,
.jixaw-splitf__media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.jixaw-splitf__content {
  display: flex;
  align-items: center;
  background: #fffef4;
}
.jixaw-splitf__copy {
  max-width: 38rem;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(1.25rem, 5vw, 5rem);
  margin-inline: auto;
  box-sizing: border-box;
}
.jixaw-splitf__eyebrow {
  color: #8d8a83;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.75rem;
}
.jixaw-splitf__heading {
  margin: 0 0 1.25rem;
}
.jixaw-splitf__body p {
  margin: 0 0 1rem;
}
.jixaw-splitf__body > :last-child {
  margin-bottom: 0;
}
/* Lists inside a split read as branded checkpoints: square ink marker,
   hairline separation, no browser bullets. */
.jixaw-splitf__body ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.jixaw-splitf__body li {
  position: relative;
  padding: 0.65rem 0 0.65rem 1.4rem;
  border-top: 1px solid rgba(27, 22, 18, 0.15);
}
.jixaw-splitf__body li:first-child {
  border-top: 0;
}
.jixaw-splitf__body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.15rem;
  width: 8px;
  height: 8px;
  background: #1b1612;
}

/* Two halves side by side once there's room; images get tall and cinematic. */
@media (min-width: 900px) {
  .jixaw-splitf__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .jixaw-splitf__media,
  .jixaw-splitf__img,
  .jixaw-splitf__media img {
    min-height: 560px;
  }
  /* Image right: content first in source order stays left. */
  .jixaw-splitf--media-right .jixaw-splitf__media {
    order: 2;
  }
  .jixaw-splitf--media-right .jixaw-splitf__content {
    order: 1;
  }
}

/* ---------- .jixaw-band: full-bleed alabaster band for sober content ----------
   (e.g. the planned-giving bequest-language section — legal copy, no photo).
   Applied as a className on a core group; children re-constrain to a readable
   column. */
.jixaw-flow > .wp-block-group.jixaw-band,
.is-layout-constrained > .wp-block-group.jixaw-band {
  max-width: none !important;
  width: auto !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  background: #f7f5ea;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem;
}
.wp-block-group.jixaw-band > * {
  max-width: 860px;
  margin-left: auto !important;
  margin-right: auto !important;
}
.wp-block-group.jixaw-band > * + * {
  margin-block-start: 1.25rem;
}
/* Quote callouts inside the band sit on cream so they lift off the alabaster. */
.jixaw-band .jixaw-callout--quote {
  background: #fffef4;
}
