/*-- -------------------------- -->
<---            Values           -->
<--- -------------------------- -*/

/* Warm stone background image, centred title, 3-column icon/title/text
   group below. Text/icon colours use the site's main token palette. */
@media only screen and (min-width: 0rem) {
  #values {
    width: 100%;
    padding: 3.5rem 1.5rem;
    background-color: #d3dee2;
    background-image: url("../images/MYVALUESBACKGROUND.svg");
    background-size: cover;
    background-position: center;
    text-align: center;
  }
  #values .cs-container {
    width: 100%;
    max-width: 75rem;
    margin: auto;
  }
  #values .cs-title {
    font-family: var(--headingFont);
    font-weight: 500;
    font-size: 2.25rem;
    color: #44413D;
    margin: 0 0 2.5rem;
  }
  #values .cs-card-group {
    width: 100%;
    max-width: 26rem;
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  #values .cs-item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  #values .cs-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: #44413D;
    margin: 0 0 1rem;
  }
  #values .cs-item-title {
    font-family: var(--headingFont);
    font-weight: 500;
    font-size: 1.375rem;
    color: #44413D;
    margin: 0 0 0.75rem;
  }
  #values .cs-item-text {
    font-family: var(--bodyFont);
    font-size: 0.9375rem;
    line-height: 1.6em;
    color: #44413D;
    margin: 0;
    max-width: 22rem;
  }
}

/* Desktop - 64rem: 3-column row */
@media only screen and (min-width: 64rem) {
  #values {
    padding: 5.5rem 1.5rem;
  }
  #values .cs-title {
    font-size: 2.75rem;
    margin: 0 0 3.5rem;
  }
  #values .cs-card-group {
    max-width: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}
