/* === Custom Block Styling === */
.servicesBlock{
    padding: var(--CB-padding-top) var(--CB-padding-right) var(--CB-padding-bottom) var(--CB-padding-left);
    margin: var(--CB-margin-top) var(--CB-margin-bottom);
    background-color: var(--CB-background-color);
    background-image: var(--CB-background-image);
    background-position: var(--CB-background-position);
    background-size: cover;
}



.services__blockTitle{
    padding-bottom: 16px;
    border-bottom: solid 2px var(--FC-primary-color);
}

.services__titleWrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
}
.services__serviceTitle,
.services__servicePlusMinus{
    font-size: var(--FC-font-size-20);
    font-weight: 500;
    transition: var(--FC-default-transition);
}
.services__copyWrapper{
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.3s ease-in;
}
.services__copyWrapper.active{
    max-height: 300px;
    transition: max-height 0.3s ease-in;
}
.services__innerCopyWrapper{
    padding: 16px;
}
.services__serviceOuterWrapper{
    border-bottom: solid 1px var(--FC-primary-color);
}

.services__titleWrapper:hover .services__serviceTitle,
.services__titleWrapper:hover .services__servicePlusMinus,
.services__serviceTitle.active,
.services__servicePlusMinus.active{
    color: var(--FC-primary-color);
    transition: var(--FC-default-transition);
}

.services__button{
    background-color: transparent !important;
    color: var(--FC-primary-color) !important;
}
.services__button:hover{
    background-color: var(--FC-primary-color) !important;
    color: var(--FC-near-white) !important;
}


.services__image{
    border-radius: 50%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    margin-left: 45px;
}
.services__imageWrapper{
    max-width: 350px;
    width: 100%;
}
.services__imageWrapper::after{
    content: '';
    background-color: var(--FC-charcoal);
    height: 95%;
    width: 95%;
    position: absolute;
    left: 0;
    top: 20%;
    border-top-left-radius: 45px;
    border-bottom-right-radius: 45px;
}


@media screen and (max-width: 767px){
    .services__row{
        flex-direction: column-reverse;
    }
    .services__imageWrapper{
        margin: auto;
    }
}

@media screen and (max-width: 575px){
    .services__image{
        margin: auto;
        width: 90%;
        display: block;
    }
    .services__imageWrapper{
        margin-top: 20px;
    }
    .services__imageWrapper::after{
        display: none;
    }
}