.brand-cover {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  container-type: inline-size;
  overflow: hidden;
  background: #1a2028;
  border-radius: inherit;
}
.brand-cover::before,
.brand-cover::after {
  position: absolute;
  width: 70%;
  height: 140%;
  right: -25%;
  bottom: -65%;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 8px;
  transform: rotate(-28deg);
  content: '';
}
.brand-cover::after {
  right: -13%;
  bottom: -83%;
  border-color: rgb(255 255 255 / 10%);
  background: rgb(255 255 255 / 3%);
}
.brand-cover-logo {
  position: relative;
  z-index: 1;
  width: 49%;
  max-width: 176px;
  height: auto;
}
/* The mark keeps its own orange on charcoal, as in the header. */
.brand-cover-initial {
  position: relative;
  z-index: 1;
  color: #eb6406;
  font-size: 24px;
  font-style: italic;
  font-weight: var(--fw-heading);
  line-height: 1;
}
.brand-cover--compact::before,
.brand-cover--compact::after { border-radius: 3px; }
.brand-cover.table-image { background: #1a2028; border-color: #1a2028; border-radius: 5px; }
.image-preview > .brand-cover { width: 100%; height: 180px; }
.media-image > .brand-cover { width: 100%; height: 100%; }
.image-preview .brand-cover-logo,
.media-image .brand-cover-logo { width: 49%; height: auto; padding: 0; }
@container (max-width: 160px) {
  .brand-cover-logo { width: 70%; }
}
