/* post-content.css — what a post authored after the conversion
 * (src/data/posts.mjs) uses that no WordPress post did. Linked by Base.astro
 * on those posts only (postContentCss), so no other page changes.
 *
 * The callout box: the Orb sites' "orb-highlight-block" (alpha, adney, LS,
 * rdp, longtree), in this kit's primary colour. Its first and last blocks
 * lose their outer margins so the padding is even. */
.orb-highlight-block {
  padding: 25px;
  border: 3px solid var(--e-global-color-primary);
  border-radius: 15px;
  margin-block-end: 1.5em;
}
.orb-highlight-block > :first-child { margin-top: 0; }
.orb-highlight-block > :last-child { margin-bottom: 0; }

/* a table in the article. The theme's reset (collapsed borders, 15px cells,
 * striped rows) does the rest; the head row takes the brand blue, and a
 * narrow screen scrolls the table rather than the page. */
.wp-block-table { margin: 0 0 1.5em; overflow-x: auto; }
.wp-block-table table { margin: 0; }
.wp-block-table thead th {
  background-color: var(--e-global-color-primary);
  border-color: var(--e-global-color-primary);
  color: #fff;
  text-align: start;
}
.wp-block-table td:first-child { font-weight: 700; }
/* "is-outlined": every cell boxed in a solid line (the standing seam post's
 * copy asked for outlines around all the boxes) */
.wp-block-table.is-outlined table { border: 1px solid var(--e-global-color-secondary); }
.wp-block-table.is-outlined td { border: 1px solid var(--e-global-color-secondary); }
@media (max-width: 767px) {
  .wp-block-table table { min-width: 480px; }
  .wp-block-table td, .wp-block-table th { padding: 10px; }
}
