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

/* Two-column icon/title/text/CTA layout, stacked on mobile. Icons are
   the site's own sprout mark reused at two scales -- a single sprout
   for the 1:1 column, a cluster of three for the group column -- so
   the icon set ties back to the Root & Rise logo instead of using
   generic stock icons. */
@media only screen and (min-width: 0rem) {
  #offerings {
    width: 100%;
    background-color: var(--parchment);
    padding: clamp(3.75rem, 7.82vw, 6.25rem) 1.5rem;
  }
  #offerings .cs-container {
    width: 100%;
    max-width: 70rem;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 3.5rem;
  }
  #offerings .cs-item {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #offerings .cs-item-icon {
    width: 2.75rem;
    height: 2.75rem;
    color: var(--primary);
    margin: 0 0 1.5rem;
  }
  #offerings .cs-item-title {
    font-family: var(--headingFont);
    font-weight: 300;
    font-size: clamp(1.5rem, 3vw, 1.875rem);
    line-height: 1.2em;
    color: var(--navy);
    margin: 0 0 1.25rem;
  }
  #offerings .cs-item-text {
    font-family: var(--bodyFont);
    font-size: 1rem;
    line-height: 1.7em;
    color: var(--bodyTextColor);
    max-width: 28rem;
    margin: 0;
  }
  #offerings .cs-item .cs-button-solid {
    margin-top: 2rem;
  }
}

/* Desktop - 64rem: side-by-side columns, stretched to equal height so
   the buttons land on the same baseline regardless of body copy
   length */
@media only screen and (min-width: 64rem) {
  #offerings .cs-container {
    flex-direction: row;
    align-items: stretch;
  }
  #offerings .cs-item {
    flex: 1 1 0;
  }
  #offerings .cs-item-text {
    margin-bottom: 2rem;
  }
  #offerings .cs-item .cs-button-solid {
    margin-top: auto;
  }
}
