.list-item {
  width: 100%;
  background: var(--list-item-background, #f6f3ef);
  text-align: center;
}

.list-item__heading {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 10px;
  min-width: 0;
  padding: 0 0 10px;
}

.list-item__title {
  color: var(--list-item-title-color, #102f38);
  font-weight: 700;
  line-height: 1.2;
}

.list-item__subtitle {
  color: var(--list-item-subtitle-color, #7b7c74);
  font-family: serif;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.list-item__divider {
  width: 100%;
  height: 1px;
  margin: 0 0 12px;
  background: rgb(var(--list-item-line-color));
}

.list-item__items {
  display: flex;
  flex-direction: column;
}

.list-item__row {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--list-item-text-color, #102f38);
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
  padding: 6px 0px;
  border-bottom: 1px dashed rgba(var(--list-item-row-line-color));
}
.list-item__row:last-child {
  border-bottom: none;
}

.list-item__row + .list-item__row {
  border-block-start: 1px dashed rgba(var(--list-item-line-color), 0.6);
}

@media screen and (max-width: 767px) {
  .list-item__heading {
    flex-wrap: wrap;
    gap: 8px;
  }

  .list-item__subtitle {
    letter-spacing: 2px;
  }
}
