.modern-comparison-table {
  padding-top: 2rem;
  padding-bottom: 2rem;
  --table-primary-color: var(--color-primary);
  --capability-color: #ffd700;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.modern-comparison-table .table {
  width: 100%;
  min-width: 900px;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0;
}
.modern-comparison-table .table > :not(caption) > * > *, .modern-comparison-table .table > :not(:first-child) {
  border: none;
}
.modern-comparison-table .table thead tr {
  padding: 3rem 1.5rem 2rem;
  vertical-align: top;
  text-align: center;
}
.modern-comparison-table .table thead tr .brand-1 {
  padding: 2.5rem 1rem;
  border-top: 4px solid var(--table-primary-color);
  border-left: 4px solid var(--table-primary-color);
  border-right: 4px solid var(--table-primary-color);
}
.modern-comparison-table .table thead tr .brand-2 {
  padding: 2.5rem 1rem;
  position: relative;
  background-color: var(--table-primary-color);
}
.modern-comparison-table .table thead tr .brand-2:before {
  --height: 32px;
  content: "";
  width: calc(100% + 4px);
  height: var(--height);
  position: absolute;
  background-color: var(--table-primary-color);
  display: block;
  left: -4px;
  top: calc(var(--height) * -1);
}
.modern-comparison-table .table tbody tr td {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}
.modern-comparison-table .table tbody tr td p {
  margin-bottom: 0;
}
.modern-comparison-table .table tbody tr td:nth-child(1) {
  padding-left: 0;
  padding-right: 2rem;
}
.modern-comparison-table .table tbody tr td:not(:first-child) {
  text-align: left;
  padding-left: 2rem;
  padding-right: 2rem;
}
.modern-comparison-table .table tbody tr td:not(:first-child) > div {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.modern-comparison-table .table tbody tr td:not(:first-child) .text-content {
  margin: 0 !important;
}
.modern-comparison-table .table tbody tr td:not(:first-child) .status-icon {
  flex-shrink: 0;
}
.modern-comparison-table .table tbody tr td:nth-child(2) {
  border-left: 4px solid var(--table-primary-color);
  border-right: 4px solid var(--table-primary-color);
}
.modern-comparison-table .table tbody tr td:nth-child(3) {
  background-color: var(--table-primary-color);
}
.modern-comparison-table .table tbody tr:last-child td {
  padding-bottom: 2rem;
}
.modern-comparison-table .table tbody tr:last-child td:nth-child(2) {
  border-bottom: 4px solid var(--table-primary-color);
}
.modern-comparison-table .table tbody tr:last-child td:nth-child(3) {
  position: relative;
}
.modern-comparison-table .table tbody tr:last-child td:nth-child(3):after {
  --height: 32px;
  content: "";
  width: calc(100% + 4px);
  height: var(--height);
  position: absolute;
  background-color: var(--table-primary-color);
  display: block;
  left: -4px;
  bottom: calc(var(--height) * -1);
}
.modern-comparison-table .capability-column {
  vertical-align: bottom;
  text-align: left;
  padding-left: 0;
  padding-right: 0;
}
.modern-comparison-table .capability-label {
  color: var(--capability-color);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.875rem;
}
.modern-comparison-table .brand-logo {
  width: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.modern-comparison-table .brand-name {
  color: #fff;
  font-weight: 500;
}
