/*-- -------------------------- -->
<---          Offerings          -->
<--- -------------------------- -*/

/* Grid of specialism boxes, colours cycling through the site's own
   token palette (cream / green / gold) rather than introducing new
   hues, so it stays cohesive with the rest of the page. */
@media only screen and (min-width: 0rem) {
  #offerings {
    padding: var(--sectionPadding);
    background-image: url('../images/OFFERINGSBACKGROUND.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  #offerings .cs-container {
    width: 100%;
    max-width: 78rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #offerings .cs-topper {
    color: #fff;
  }
  #offerings .cs-title {
    color: #fff;
    margin: 0 0 1rem;
  }
  #offerings .cs-text {
    color: #fff;
    max-width: 40rem;
    margin: 0 0 3rem;
  }
  #offerings .cs-grid {
    width: 100%;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  #offerings .cs-item {
    list-style: none;
    padding: 1.25rem 1rem;
    border: 1px solid var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  #offerings .cs-item span {
    font-family: var(--bodyFont);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--navy);
  }
  #offerings .cs-item:nth-child(3n+1) {
    background-color: var(--secondaryLight);
  }
  #offerings .cs-item:nth-child(3n+2) {
    background-color: var(--primaryLight);
  }
  #offerings .cs-item:nth-child(3n+3) {
    background-color: #f7f3e1;
  }
  #offerings .cs-offerings-cta {
    margin-top: 2.5rem;
    background-color: #fff;
    color: var(--navy);
  }
  #offerings .cs-offerings-cta:before {
    background: var(--navy);
  }
  #offerings .cs-offerings-cta:hover {
    color: #fff;
  }
}

@media only screen and (min-width: 48rem) {
  #offerings .cs-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  #offerings .cs-item {
    padding: 1.5rem 1rem;
  }
  #offerings .cs-item span {
    font-size: 0.875rem;
  }
}

@media only screen and (min-width: 64rem) {
  #offerings .cs-grid {
    max-width: 78rem;
    margin: 0 auto;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  #offerings .cs-item {
    padding: 3.25rem 2rem;
  }
  #offerings .cs-item span {
    font-size: 1.125rem;
  }
}
