.village-comparison {
  width: 100%;
  height: 723px;
  padding: 44px 40px;
  color: var(--color-dark);
  background: var(--color-light);
  border: 1px solid rgba(244, 246, 244, 0.1);
  border-radius: 18px;
}

.village-comparison__heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  height: 94px;
}

.village-comparison__title {
  display: flex;
  flex-direction: column;
  margin: 0;
  color: var(--color-dark);
  font-size: 44px;
  font-weight: 600;
  line-height: 46.64px;
  letter-spacing: -0.66px;
  text-transform: uppercase;
  white-space: nowrap;
}

.village-comparison__title span:last-child {
  color: rgba(18, 22, 20, 0.55);
  font-weight: 400;
}

.village-comparison__lead {
  width: 280px;
  margin: 0;
  color: rgba(18, 22, 20, 0.6);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
}

.village-comparison__table-wrap {
  width: 100%;
  height: 509px;
  margin-top: 32px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(18, 22, 20, 0.14);
  border-radius: 14px;
}

.village-comparison__table {
  width: calc(100% + 2px);
  height: 506.5px;
  margin-top: -1px;
  margin-left: -1px;
  color: var(--color-dark);
  background: #fff;
  border-spacing: 0;
  table-layout: fixed;
}

.village-comparison__parameter-column {
  width: 17.3537%;
}

.village-comparison__family-column {
  width: 19.2174%;
}

.village-comparison__eco-column {
  width: 15.4822%;
}

.village-comparison__proelky-column {
  width: 14.6776%;
}

.village-comparison__lesmoi-column {
  width: 15.3628%;
}

.village-comparison__sosnovka-column {
  width: 17.9063%;
}

.village-comparison__table th,
.village-comparison__table td {
  padding: 0;
  background: #fff;
  border: 0;
  border-bottom: 1px solid rgba(18, 22, 20, 0.09);
  transition: background-color 160ms ease;
}

.village-comparison__table thead tr {
  height: 58.5px;
}

.village-comparison__table thead th {
  color: var(--color-dark);
  border-bottom-color: rgba(18, 22, 20, 0.14);
  font-size: 15px;
  font-weight: 600;
  line-height: normal;
  letter-spacing: -0.15px;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.village-comparison__table thead th:first-child {
  padding-left: 22px;
  color: rgba(18, 22, 20, 0.45);
  font-size: 11px;
  letter-spacing: 1.76px;
  text-align: left;
}

.village-comparison__table tbody tr {
  height: 56px;
}

.village-comparison__table tbody th {
  padding-left: 22px;
  color: var(--color-dark);
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  text-align: left;
  white-space: nowrap;
}

.village-comparison__table tbody td {
  color: rgba(18, 22, 20, 0.72);
  border-left: 1px solid rgba(18, 22, 20, 0.06);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-align: center;
  white-space: nowrap;
}

.village-comparison__table tbody tr.is-highlighted th,
.village-comparison__table tbody tr.is-highlighted td {
  background: var(--color-yellow);
}

.village-comparison__check {
  width: 24px;
  height: 24px;
  margin: 0 auto;
  transition: filter 160ms ease;
}

.village-comparison__table tbody tr.is-highlighted .village-comparison__check {
  filter: brightness(0) invert(1);
}

.village-comparison__empty {
  color: rgba(18, 22, 20, 0.28);
}

@media (max-width: 980px) {
  .village-comparison {
    height: auto;
    padding: 44px 20px;
  }

  .village-comparison__heading-row {
    align-items: flex-start;
    gap: 28px;
  }

  .village-comparison__table-wrap {
    overflow-x: auto;
  }

  .village-comparison__table {
    min-width: 1000px;
  }
}

@media (max-width: 640px) {
  .village-comparison__heading-row {
    flex-direction: column;
    height: auto;
  }

  .village-comparison__title {
    font-size: 36px;
    line-height: 38px;
  }

  .village-comparison__lead {
    width: min(100%, 280px);
  }
}
