@media only screen and (min-width:0rem) {
    #services-30 {
        padding: var(--sectionPadding)
    }

    #services-30 .cs-text {
        opacity: .8
    }

    #services-30 .cs-container,#services-30 .cs-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center
    }

    #services-30 .cs-container {
        max-width: 34.375rem;
        margin: auto;
        gap: clamp(3rem,6vw,4rem)
    }

    #services-30 .cs-content {
        text-align: center
    }

    #services-30 .cs-card-group {
        width: 100%;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem
    }

    #services-30 .cs-item {
        list-style: none;
        margin: 0;
        width: 100%
    }

    #services-30 .cs-item:hover .cs-picture:before {
        height: 100%
    }

    #services-30 .cs-item:hover .cs-picture img {
        transform: scale(1.1)
    }

    #services-30 .cs-picture {
        aspect-ratio: 1.49090909;
        position: relative;
        display: block;
        overflow: hidden
    }

    #services-30 .cs-picture:before {
        content: "";
        position: absolute;
        display: block;
        height: 0%;
        width: 100%;
        background: var(--primary);
        opacity: .8;
        top: 0;
        left: 0;
        z-index: 1;
        transition: height .3s
    }

    #services-30 .cs-picture img {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        object-fit: cover;
        transition: transform .7s
    }

    #services-30 .cs-box {
        text-align: center;
        width: 90%;
        margin: 0 auto;
        margin-top: calc(clamp(2rem,7vw,3rem)*-1);
        padding-top: clamp(1.5rem,2.4vw,1.75rem);
        background: var(--background);
        border-top: 1px solid var(--primary);
        border-left: 1px solid var(--primary);
        border-right: 1px solid var(--primary);
        position: relative;
        z-index: 10
    }

    #services-30 .cs-h3 {
        font-size: clamp(1.25rem,2vw,1.5625rem);
        text-align: center;
        line-height: 1.2em;
        font-weight: 700;
        margin: 0 0 clamp(1.5rem,2.4vw,1.75rem)
    }

    #services-30 .cs-button-transparent {
        font-size: 1rem;
        line-height: clamp(2.875em,5.5vw,3.5em);
        text-decoration: none;
        font-weight: 700;
        text-align: center;
        margin: auto;
        color: var(--tertiary);
        min-width: 9.375rem;
        padding: 0 1.5rem;
        background-color: transparent;
        border: 1px solid var(--secondary);
        display: inline-block;
        position: relative;
        z-index: 1;
        box-sizing: border-box;
        transition: color .3s
    }

    #services-30 .cs-button-transparent:before {
        content: "";
        position: absolute;
        height: 100%;
        width: 0%;
        background: var(--secondary);
        opacity: 1;
        top: 0;
        left: 0;
        z-index: -1;
        transition: width .3s
    }

    #services-30 .cs-button-transparent:hover:before {
        width: 100%
    }
}

@media only screen and (min-width:48rem) {
    #services-30 .cs-container {
        max-width: 80rem
    }

    #services-30 .cs-card-group {
        flex-direction: row;
        align-items: center
    }

    #services-30 .cs-item {
        width: 32.3%;
        max-width: 25.8125rem;
        margin: 0
    }

    #services-30 .cs-picture {
        aspect-ratio: initial;
        height: clamp(15rem,31.5vw,26.25rem)
    }
}
