.services-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    align-content: center;
    padding: 16px 20px;
    gap: 8px;
    width: 100%;
    max-width: 1920px;
    min-height: 80px;
    background: #FFFFFF;
    box-sizing: border-box;
    margin: 0 auto;
}

.services-links .tag {
    display: inline-flex;
    align-items: center;
    height: 20px;
    background: #F5F5F5;
    border-radius: 4px;
    width: auto;
    min-width: fit-content;
    padding: 2px 8px;
    text-decoration: none;
    color: #000000;
    position: relative;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    isolation: isolate;
    flex: none;
    flex-grow: 0;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.services-links .tag::before {
    content: '';
    position: absolute;
    height: 48px;
    left: 0;
    right: -56.9%;
    top: 0;
    background: transparent;
    z-index: 0;
}

.services-links .tag-text {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 2px 8px;
    gap: 10px;
    height: 20px;
    z-index: 1;
    box-sizing: border-box;
}

.services-links .tag-label {
    font-family: 'Arial';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #000000;
    white-space: nowrap;
}

.services-links .tag:hover {
    background: #EBEBEB;
}

.services-links .tag:active {
    transform: translateY(1px);
    background: #E0E0E0;
}

.services-links a.tag {
    text-decoration: none;
    cursor: pointer;
}

.services-links .tag-no-link {
    background: #EBEBEB;
    cursor: default;
}

.services-links .tag-no-link:hover {
    background: #EBEBEB;
}

.services-links .tag-no-link:active {
    transform: none;
    background: #EBEBEB;
}

@media (max-width: 767px) {
    .services-links {
        padding: 8px 0px;
        gap: 8px;
        width: 100%;
        max-width: 320px;
        height: auto;
        min-height: 260px;
        justify-content: center;
        align-self: stretch;
        flex-grow: 0;
    }

    .services-links .tag {
        width: auto;
        min-width: fit-content;
        max-width: none;
        justify-content: center;
    }

    .services-links .tag-text {
        width: auto;
        justify-content: center;
    }
}

@media (min-width: 768px) {
    .services-links {
        padding: 16px 20px;
        gap: 8px;
        width: 100%;
        max-width: 1920px;
        min-height: 80px;
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .services-links {
        max-width: 100%;
        padding: 8px 4px;
    }
}
