/*
 * Brand Single compatibility guard.
 * Loaded after optional per-brand custom CSS so the shared brand-page geometry
 * and dark table boundaries stay consistent without rewriting brand content.
 */

/* The editorial document must align with the hero/products workspace edges.
 * Keep vertical breathing room owned by the wrapper, but remove the obsolete
 * horizontal inset left behind after the old outer description card was removed. */
.sedco-brand-single__description{
  width:100%!important;
  padding-inline:0!important;
  margin-inline:0!important;
}
.sedco-brand-single__description-content{
  width:100%!important;
  max-width:none!important;
  margin-inline:0!important;
  box-sizing:border-box;
}

/* Per-brand authored CSS can load after the global dark stylesheet.  Normalize
 * only table boundaries here, after that authored CSS, so a light/white table
 * outline cannot leak into dark mode.  Cell paint continues to be owned by the
 * existing dark-mode table rules. */
html[data-theme="dark"] .sedco-brand-single__description-content :is(
  table,
  th,
  td,
  figure.wp-block-table,
  .table-responsive,
  [class*="table-wrap"],
  [class*="table-container"]
){
  border-color:var(--sedco-dark-border-subtle)!important;
  outline-color:var(--sedco-dark-border-subtle)!important;
}
html[data-theme="dark"] .sedco-brand-single__description-content :is(figure,div):has(> table){
  border-color:var(--sedco-dark-border-subtle)!important;
  outline-color:var(--sedco-dark-border-subtle)!important;
  box-shadow:none!important;
}
