.article .table-wrap.earbuds-comparison {
  margin-block: 24px 32px;
  overflow: visible;
}

.article .earbuds-comparison table.guide__table {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
  border: 1px solid #d9e2ed;
  border-radius: 14px;
  background: #fff;
  color: #35465d;
  font-size: 15px;
  line-height: 1.55;
}

.earbuds-comparison th,
.earbuds-comparison td {
  padding: 14px 16px;
  border-block-end: 1px solid #d9e2ed;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.earbuds-comparison thead th {
  color: #243852;
  background: #eef2f7;
  font-weight: 700;
}

.earbuds-comparison .earbuds-comparison__corner {
  width: 24%;
  background: #eef2f7;
  border-start-start-radius: 13px;
}

.earbuds-comparison thead th:first-of-type {
  background: #e4f0ff;
  color: #184674;
}

.earbuds-comparison thead th:last-child {
  border-start-end-radius: 13px;
}

.earbuds-comparison tbody th {
  background: #f4f6f9;
  color: #243852;
  font-weight: 650;
}

.earbuds-comparison tbody td:first-of-type {
  background: #f5f9ff;
}

.earbuds-comparison td + td,
.earbuds-comparison thead th + th {
  border-inline-start: 1px solid #d9e2ed;
}

.earbuds-comparison tbody tr:last-child > * {
  border-block-end: 0;
}

.earbuds-comparison tbody tr:last-child th {
  border-end-start-radius: 13px;
}

.earbuds-comparison tbody tr:last-child td:last-child {
  border-end-end-radius: 13px;
}

@media (max-width: 680px) {
  .article .earbuds-comparison table.guide__table,
  .earbuds-comparison thead,
  .earbuds-comparison tbody {
    display: block;
  }

  .earbuds-comparison thead {
    position: sticky;
    top: 59px;
    z-index: 1;
  }

  .earbuds-comparison tr {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .earbuds-comparison .earbuds-comparison__corner {
    display: none;
  }

  .earbuds-comparison th,
  .earbuds-comparison td {
    padding: 11px 12px;
    font-size: 14px;
  }

  .earbuds-comparison thead th:first-of-type {
    border-start-start-radius: 13px;
  }

  .earbuds-comparison tbody th {
    grid-column: 1 / -1;
    padding-block: 8px;
  }

  .earbuds-comparison tbody tr:last-child th {
    border-block-end: 1px solid #d9e2ed;
    border-end-start-radius: 0;
  }

  .earbuds-comparison tbody tr:last-child td:first-of-type {
    border-end-start-radius: 13px;
  }
}
