/* YS Data List Widget */

.ys-data-list {
  --label-width: 40%;
  border-color: transparent;
}

.ys-data-list__heading-wrap {
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid #c8a06d;
}

.ys-data-list__heading {
  margin: 0;
  color: #8c734c;
  font-weight: 600;
}

.ys-data-list__table {
  border-top: 1px solid #dcdcdc;
}

.ys-data-list__row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  border-bottom: 1px solid #dcdcdc;
}

.ys-data-list__cell {
  padding: 10px 0;
}

.ys-data-list__cell--label {
  flex: 0 0 var(--label-width, 40%);
  font-weight: 600;
  color: #4d4d4d;
}

.ys-data-list__cell--value {
  flex: 1;
  color: #333;
}

@media (max-width: 480px) {
  .ys-data-list__heading-wrap {
        margin-bottom: 0px !important;
    }
  .ys-data-list__row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }
  .ys-data-list__cell--label,
  .ys-data-list__cell--value {
    width: auto;
    min-width: 40%;
  }
  .ys-data-list__cell--value {
    text-align: right !important;
	line-height: 1.3;
  }
}
