.dclv-section--spaces {
  background: #f5f5f3;
}

.dclv-spaces__media {
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  background: #ddd;
}

.dclv-spaces__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.dclv-spaces {
  height: 100%;
  background: #f5f5f3;
}

.dclv-spaces__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(44px, 6vw, 96px) clamp(24px, 5vw, 72px);
  color: #2e4f5b;
}

.dclv-spaces__title {
  margin: 0 0 clamp(48px, 7vw, 96px);
  text-align: center;
  color: #2e4f5b;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.dclv-space-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  column-gap: clamp(16px, 2vw, 28px);
}

.dclv-space-item + .dclv-space-item {
  margin-top: 10px;
}

.dclv-space-item--plain {
  display: block;
  text-align: center;
}

.dclv-space-item__index {
    min-width: 42px;
    font-weight: 400;
    line-height: 0.95;
    font-size: 4rem;
    color: #ACB9C0;
}
.dclv-spaces__media .field--type-image {
    display: contents;
}

.dclv-space-item__label {
  color: #2e4f5b;
  font-size: clamp(2.6rem, 5vw, 5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 0.95;
  font-size: 3.5rem;
}

.dclv-space-item--plain .dclv-space-item__label {
  font-size: clamp(2.8rem, 5vw, 5.3rem);
}

.dclv-space-item__details {
  margin-top: 18px;
  color: #2e4f5b;
}

.dclv-space-item__details ul {
  margin: 0 0 8px 1.2rem;
  padding: 0;
  list-style: circle;
}

.dclv-space-item__details li {
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.35;
  font-weight: 500;
}

.dclv-space-item__details p {
  margin: 0 0 0 1.8rem;
  max-width: 520px;
  font-size: clamp(0.98rem, 1.2vw, 1.15rem);
  line-height: 1.45;
  font-weight: 400;
}

@media (max-width: 1199.98px) {
  .dclv-spaces__media {
    min-height: 460px;
  }
}

@media (max-width: 767.98px) {
  .dclv-spaces__media {
    min-height: 380px;
  }

  .dclv-space-item {
    grid-template-columns: 1fr;
    row-gap: 8px;
    text-align: center;
  }

  .dclv-space-item__details ul,
  .dclv-space-item__details p {
    margin-left: 0;
  }

  .dclv-space-item__details ul {
    list-style-position: inside;
  }
}
