.table-block {
  display: block;
  padding: 65px 0;
  background-color: #f9f9f9;
}

.table-block .custom-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-collapse: separate; /* ⚠️ Обязательно! */
  border-spacing: 0;
  border: 1px solid #ccc;
  border-radius: 12px;
  overflow: hidden; /* Чтобы скрыть внутренние углы */
}

.table-block .custom-table th,
.table-block .custom-table td {
  padding: 16px;
  text-align: left;
  border: 1px solid #D9D9D9;
  transition: background-color 0.3s ease;
  vertical-align: middle;
}

.table-block .custom-table th {
  background-color: #FDB602;
  font-weight: bold;
}

.table-block td.highlighted .cell-title,
.table-block td.highlighted .cell-desc {
  color: #EB0A0A;
}

.table-block .cell-icon {
  width: 24px;
  height: 24px;
  margin-right: 8px;
  vertical-align: middle;
}

.table-block .cell-title {
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0 2px;
}

.table-block .cell-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.4;
}

@media (max-width: 991px) {

  .table-block {
    overflow-x: auto;
  }

  .table-block table {
    min-width: 1024px;
  }
}

@media (max-width: 768px) {

  .table-block .custom-table tr {
    margin-bottom: 20px;
    border: 1px solid #D9D9D9;
    padding: 12px;
    background-color: #fff;
  }

  .table-block .custom-table td,
  .table-block .custom-table th {
    border: none;
    padding: 12px 8px;
    position: relative;
    vertical-align: middle;
  }

  .table-block .cell-icon {
    display: inline-block;
    margin-bottom: 6px;
  }
}

.table-block .cell-content-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 8px;
}

.table-block .justify-left .cell-content-wrapper {
  justify-content: flex-start;
}

.table-block .cell-title {
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0%;
  color: #000000;
  margin-top: 0;
}

.table-block th .cell-title{
  font-size: 16px;
}

.table-block td .cell-title{
  font-size: 14px;
}

.table-block th .cell-desc {
  color: #000000;
}

.table-block .cell-desc {
  max-width: 200px;
}
