/* Article-scoped comparison tables; leave the shared site styles untouched. */
.vx-artbody .dui-draft-tablewrap {
  max-width: 100%;
  margin: 24px 0 32px;
  border: 1px solid rgba(25, 23, 47, .15);
  border-radius: 8px;
  overflow: hidden;
}

.vx-artbody .dui-draft-table {
  display: table;
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 15px;
  line-height: 1.55;
}

.vx-artbody .dui-draft-table thead th {
  padding: 16px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  vertical-align: top;
}

.vx-artbody .dui-draft-table td,
.vx-artbody .dui-draft-table tbody th {
  padding: 18px 16px;
  vertical-align: top;
  overflow-wrap: normal;
  word-break: normal;
}

.vx-artbody .dui-draft-table tbody tr:last-child > * {
  border-bottom: 0;
}

.vx-artbody .dui-conviction-table thead th:nth-child(1) { width: 19%; }
.vx-artbody .dui-conviction-table thead th:nth-child(2) { width: 35%; }
.vx-artbody .dui-conviction-table thead th:nth-child(3) { width: 17%; }
.vx-artbody .dui-conviction-table thead th:nth-child(4) { width: 29%; }

.dui-cell-label { display: none; }

/* Four long columns become readable, labeled conviction cards on narrow screens. */
@media (max-width: 767px) {
  .vx-artbody .dui-draft-table {
    font-size: 14px;
  }

  .vx-artbody .dui-draft-table thead th,
  .vx-artbody .dui-draft-table td,
  .vx-artbody .dui-draft-table tbody th {
    padding: 12px 10px;
  }

  .vx-artbody .dui-draft-tablewrap:has(.dui-conviction-table) {
    border: 0;
    border-radius: 0;
    overflow: visible;
  }

  .vx-artbody .dui-conviction-table {
    display: block;
    background: transparent;
    font-size: 15px;
  }

  .vx-artbody .dui-conviction-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .vx-artbody .dui-conviction-table tbody {
    display: grid;
    gap: 18px;
  }

  .vx-artbody .dui-conviction-table tbody tr {
    display: block;
    overflow: hidden;
    border: 1px solid rgba(25, 23, 47, .15);
    border-radius: 8px;
    background: var(--white);
  }

  .vx-artbody .dui-conviction-table tbody th {
    display: block;
    padding: 14px 18px;
    border: 0;
    background: var(--navy-800);
    color: var(--white);
    font-size: 17px;
  }

  .vx-artbody .dui-conviction-table tbody td {
    display: block;
    padding: 14px 18px;
    border: 0;
  }

  .vx-artbody .dui-conviction-table tbody td + td {
    border-top: 1px solid rgba(25, 23, 47, .1);
  }

  .dui-conviction-table .dui-cell-label {
    display: block;
    margin-bottom: 5px;
    color: var(--navy-800);
    font-size: 12px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .02em;
  }
}
