
.cs-button-solid {
    font-size: 1rem;
    /* 46px - 56px */
    line-height: clamp(2.875rem, 5.5vw, 3.5rem);
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    margin: 0;
    color: #000000;
    min-width: 9.375rem;
    padding: 0 1.5rem;
    background-color: var(--primary);
    border-radius: 0.25rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    /* prevents padding from adding to the width */
    box-sizing: border-box;
    font-family: 'poppins';
}
.cs-button-solid:before {
    content: "";
    position: absolute;
    height: 100%;
    width: 0%;
    background: #000;
    opacity: 1;
    top: 0;
    left: 0;
    z-index: -1;
    border-radius: 0.25rem;
    transition: width 0.3s;
}
.cs-button-solid:hover:before {
    width: 100%;
}

/* ^^^ remove everything above this comment and place in global stylesheet ^^^ */



















/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-1627 {
      padding: var(--sectionPadding);
     
    }
    #services-1627 .cs-container {
      width: 100%;
      /* changes to 1280px at tablet */
      max-width: 34.375em;
      margin: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      /* 48px - 64px */
      gap: clamp(3rem, 6vw, 4rem);
    }
 
 
   
    
    #services-1627 .cs-card-group {
      width: 100%;
      margin: 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      /* 16px - 20px */
      column-gap: clamp(1rem, 2.5vw, 1.25rem);
      /* 28px - 40px */
      row-gap: 7rem;
    }
    #services-1627 .cs-item {
      list-style: none;
      width: 100%;
      display: flex;
      grid-column: span 12;
      flex-direction: column;
      align-items: flex-start;
      
    }
    #services-1627 .cs-item:hover .cs-picture img {
      opacity: .5;
      transform: scale(1.2);
    }
    #services-1627 .cs-link {
      text-decoration: none;
      height: 100%;
      display: flex;
      flex-direction: column;
      
      align-items: flex-start;
    }
    #services-1627 .cs-picture {
      width: 100%;
      height: 15rem;
      margin-bottom: 1.5rem;
      background-color: #ffffff;
      overflow: hidden;
      display: block;
      position: relative;
    }
    #services-1627 .cs-picture img {
      position: absolute;
      top: 0;
      left: 0;
      height: 100%;
      width: 100%;
      object-fit: contain;
      transition: transform .6s, opacity .3s;
    }
    #services-1627 .cs-h3 {
      font-size: 1.25rem;
      line-height: 1.2em;
      font-weight: 700;
      text-align: left;
      margin: 0 0 0.75rem 0;
      color: var(--headerColor);
      font-family: 'poppins';
    }
    #services-1627 .cs-item-text {
      font-size: 1rem;
      line-height: 1.5em;
      text-align: left;
      padding-right: 10%;
      margin: 0 0 1.5rem 0;
      color: var(--bodyTextColor);
       font-family: 'roboto';
    }
    #services-1627 .cs-fake-link {
      font-size: 1rem;
      line-height: 1.2em;
      font-weight: 700;
      margin: 0;
      margin-top: auto;
      color: #1a1a1a;
      display: inline-flex;
      justify-content: flex-start;
      align-items: center;
      gap: 0.5rem;
            font-family: 'poppins';
    }
    #services-1627 .cs-fake-link:hover .cs-icon {
      transform: translateX(0.5rem);
    }
    #services-1627 .cs-icon {
      width: 1.25rem;
      height: auto;
      display: block;
      transition: transform .3s;
    }
  }
  /* Tablet - 768px */
  @media only screen and (min-width: 48rem) {
    #services-1627 .cs-container {
      max-width: 80rem;
    }
   
  
 
    #services-1627 .cs-item {
      grid-column: span 6; /*change back to 4 for 6 items*/
      
    }
    #services-1627 .cs-picture {
      /* 240px - 420px */
      height: clamp(15rem, 33vw, 26.25rem);
    }
  }





