/* =============================================================
   Spartan Agency — Sidebar callout block
   2026 rebrand: the "plum" sidebar callout that sits on the right
   column of the info-page two-column layout (management-services,
   application-requirements, current-tenant) is now a CHARCOAL block
   with white centered copy + gold phone number. Class names retain
   the historical `tx-plum-block` prefix so page content and block
   patterns keep resolving; the visual is driven entirely by
   `--surface-dark` (now charcoal), so no editor action is needed.
   Prefer `.tx-callout-block` alias in new templates.
   ============================================================= */

.tx-info {
  background: var(--surface-content);
  padding-block: var(--section-y);
}

.tx-info__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  gap: clamp(var(--s-5), 4vw, var(--s-8));
  align-items: start;
}

.tx-info__prose {
  color: var(--text);
  font-family: var(--font-prose);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.tx-info__prose h3,
.tx-info__prose .tx-h3 {
  color: var(--accent);
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  margin-block: var(--s-6) var(--s-3);
}

.tx-info__prose h3:first-child { margin-top: 0; }

.tx-info__prose ul {
  margin-block: var(--s-3);
  padding-left: var(--s-5);
  list-style: disc;
  color: var(--text-muted);
}

.tx-info__prose ul li + li { margin-top: var(--s-2); }

.tx-info__prose p { color: var(--text-muted); }
.tx-info__prose p + p { margin-top: var(--s-3); }
.tx-info__prose a { color: var(--link); text-decoration: underline; }

.tx-info__aside {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: sticky;
  top: var(--s-5);
}

/* The callout block itself. `.tx-callout-block` is the new preferred
   class; `.tx-plum-block` is a legacy alias kept because the historical
   block patterns and editor content still emit that class name. */
.tx-callout-block,
.tx-plum-block {
  background: var(--surface-dark);
  color: var(--text-on-dark);
  padding: var(--s-6) var(--s-5);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.125rem;
  line-height: 1.5;
}

.tx-callout-block__lines,
.tx-plum-block__lines {
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--text-on-dark);
}

.tx-callout-block__phone,
.tx-plum-block__phone {
  display: block;
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  letter-spacing: 0.02em;
}

.tx-callout-block a,
.tx-plum-block a { color: inherit; text-decoration: none; }

/* Video embed slot beneath the callout block. Uses the new
   `--charcoal-2` alias directly so a future rebrand can shift
   without hunting for --plum-dark leftovers. */
.tx-info__video {
  aspect-ratio: 16 / 9;
  background: var(--charcoal-2);
}

.tx-info__video iframe,
.tx-info__video video {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

@media (max-width: 899px) {
  .tx-info__inner {
    grid-template-columns: 1fr;
    gap: var(--s-6);
  }
  .tx-info__aside { position: static; }
}
