/* Shared only by reviewed tables in the Ginza migration. */
.gnz-table-scroll {
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}
.post-content .gnz-table-scroll table[data-gnz-layout] {
  border-collapse: collapse;
  width: 100% !important;
  max-width: none !important;
  table-layout: auto !important;
}
.post-content .gnz-table-scroll table[data-gnz-layout] :is(th, td)[data-gnz-align] {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  white-space: normal !important;
  word-break: normal !important;
  overflow-wrap: anywhere;
  padding: 8px 10px !important;
  text-align: var(--gnz-align, left) !important;
}
.gnz-table-scroll [data-gnz-align="right"] { --gnz-align: right; }
.gnz-table-scroll [data-gnz-align="center"] { --gnz-align: center; }
.gnz-table-scroll [data-gnz-align="left"] { --gnz-align: left; }
.post-content .gnz-table-scroll table[data-gnz-layout="top"] thead th {
  --gnz-align: center;
}
.post-content .gnz-table-scroll table[data-gnz-layout] th[data-gnz-align] {
  background: #d5c8e8 !important;
  color: #6740aa !important;
  font-weight: 700 !important;
}
.post-content .gnz-table-scroll table[data-gnz-layout] td[data-gnz-align] {
  background-color: white !important;
  color: #333 !important;
  font-weight: normal !important;
}
.post-content .gnz-table-scroll table[data-gnz-layout] .gnz-amount {
  display: inline-block !important;
  white-space: nowrap !important;
  font-variant-numeric: tabular-nums;
}
.post-content .gnz-table-scroll table[data-gnz-size] {
  table-layout: fixed !important;
}
.post-content .gnz-table-scroll table[data-gnz-size] col {
  width: var(--gnz-col) !important;
}
.post-content .gnz-table-scroll table[data-gnz-layout="left"] :is(td,th)[data-gnz-align] {
  vertical-align: top !important;
}
@media (max-width: 767px) {
  .post-content .gnz-table-scroll table[data-gnz-size] col {
    width: var(--gnz-mobile-col, var(--gnz-col)) !important;
  }
  .post-content .gnz-table-scroll table[data-gnz-layout] :is(th,td)[data-gnz-align] {
    padding: 6px 4px !important;
  }
  .post-content .gnz-table-scroll table[data-gnz-size="matrix"] :is(th,td)[data-gnz-align] {
    padding: 6px 2px !important;
  }
}
@media (max-width: 340px) {
  .post-content .gnz-table-scroll table[data-gnz-size="matrix"] col {
    width: var(--gnz-small-col) !important;
  }
}
