/* Section-specific accents */
.be-services .cs-topper { color: var(--platinum); }

/* soften the group frame to match the site’s look */
#services-1301 .cs-card-group {
  border: 1px solid var(--platinumDark);
  border-radius: 10px;
  overflow: hidden;
}

/* make icons switch to white on hover for contrast */
#services-1301 .cs-icon { opacity: .9; transition: opacity .3s, filter .3s; }
@media (min-width: 64rem) {
  #services-1301 .cs-item:hover .cs-icon { filter: brightness(0) invert(1); opacity: 1; }
}
/*-- -------------------------- -->
<---          Services          -->
<--- -------------------------- -*/

/* Mobile - 360px */
@media only screen and (min-width: 0rem) {
    #services-1301 {
        padding: var(--sectionPadding);
        position: relative;
        z-index: 10;
    }
    #services-1301 .cs-container {
        width: 100%;
        max-width: 80rem;
        margin: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        /* 48px - 64px */
        gap: clamp(3rem, 6vw, 4rem);
    }
    #services-1301 .cs-content {
        /* set text align to left if content needs to be left aligned */
        text-align: left;
        width: 100%;
        display: flex;
        flex-direction: column;
        /* centers content horizontally, set to flex-start to left align */
        align-items: flex-start;
    }

    #services-1301 .cs-title {
        max-width: 20ch;
    }
    #services-1301 .cs-card-group {
        width: 100%;
        max-width: 80rem;
        margin: 0;
        padding: 0 1rem;
        /* prevents padding and border from affecting height and width */
        background-color: #fff;
        box-shadow: 0px 4px 35px 0px rgba(0, 0, 0, 0.05);
        box-sizing: border-box;
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        position: relative;
        z-index: 15;
    }
    #services-1301 .cs-item {
        text-align: left;
        list-style: none;
        width: 100%;
        border-bottom: 1px solid #e8e8e8;
        box-sizing: border-box;
        grid-column: span 12;
        transition:
            background-color 0.3s,
            border-color 0.3s;
    }
    #services-1301 .cs-item:last-of-type {
        border-bottom: none;
    }
    #services-1301 .cs-link {
        text-decoration: none;
        /* 24px - 60px top & Bottom */
        /* 24px - 16px top & Bottom */
        padding: clamp(1.5rem, 5.3vw, 3.75rem) clamp(1rem, 2.7vw, 2.5rem);
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
    }
    #services-1301 .cs-icon {
        /* 32px - 40px */
        height: clamp(2rem, 4vw, 2.5rem);
        width: auto;
        margin: 0 0 1rem 0;
    }
    #services-1301 .cs-h3 {
        /* 20px - 25px */
        font-size: clamp(1.25rem, 2vw, 1.5625rem);
        font-weight: 700;
        text-align: inherit;
        line-height: 1.2em;
        margin: 0 0 0.75rem 0;
        color: var(--headerColor);
        transition: color 0.3s;
    }
    #services-1301 .cs-item-text {
        /* 14px - 16px */
        font-size: clamp(0.875rem, 1.5vw, 1rem);
        text-align: inherit;
        line-height: 1.5em;
        margin: 0;
        color: var(--bodyTextColor);
        transition:
            color 0.3s,
            opacity 0.3s;
    }
}
/* Tablet - 768px */
@media only screen and (min-width: 48rem) {
    #services-1301 .cs-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
    }
    #services-1301 .cs-title {
        margin: 0;
    }
    #services-1301 .cs-flex-group {
        width: 50%;
        /* prevents flexbox from squishing it */
        flex: none;
    }
    #services-1301 .cs-item {
        grid-column: span 6;
    }
    #services-1301 .cs-item:nth-of-type(3) {
        border-bottom: none;
    }
}
/* Desktop - 1024px */
@media only screen and (min-width: 64rem) {
    #services-1301 .cs-card-group {
        padding: 0;
    }
    #services-1301 .cs-item {
        grid-column: span 3;
        border-bottom: 0;
        border-right: 1px solid #e8e8e8;
    }
    #services-1301 .cs-item:hover {
        background-color: #1a1a1a;
        border-color: #1a1a1a;
    }
    #services-1301 .cs-item:hover .cs-h3,
    #services-1301 .cs-item:hover .cs-item-text {
        color: var(--bodyTextColorWhite);
    }
    #services-1301 .cs-item:hover .cs-item-text {
        opacity: 0.8;
    }
    #services-1301 .cs-item:last-of-type {
        border: none;
    }
}

                                