/* =========================================================
   SERVICES LINKS
========================================================= */

.services {
    background: var(--white);
}

/* Blocs liens services, suppression des margins */
.services .svc-row + .svc-row {
    margin-top: 0 !important;
}

.svc-list > a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.svc-list > a:hover {
    color: inherit;
    text-decoration: none;
}

.svc-list article {
    border-top: 1px solid var(--line);
    padding: 48px 0;
    transition: background .3s;
    cursor: pointer;
}

.svc-list article:last-child {
    border-bottom: 1px solid var(--line);
}

.svc-list article:hover {
    background: var(--paper);
}

.svc-no {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 24px;
    color: var(--red);
    font-feature-settings: "tnum";
}

.svc-text h3 {
    font-size: 46px;
    font-weight: 700;
    letter-spacing: -.02em;
    transition: color .2s;
    color: var(--dark);
}

.svc-row:hover h3 {
    color: var(--red);
}

.svc-text p {
    margin-top: 16px;
    max-width: 420px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--body);
}

.svc-text .it {
    font-style: italic;
    font-weight: 300;
    color: var(--body);
}

.tag {
    padding: 5px 10px;
    border: 1px solid var(--line);
    border-radius: 2px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 10px;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--body);
}

.svc-img-wrap {
    position: relative;
    overflow: hidden;
    height: 520px;
    border-radius: 2px;
}

.svc-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform .6s ease;
}

.svc-row:hover .svc-img {
    transform: scale(1.02);
}

.svc-arrow {
    font-size: 32px;
    font-weight: 700;
    color: var(--anthracite);
    transition: .2s;
    background-color: var(--white);
}

.svc-row:hover .svc-arrow {
    color: var(--red);
    transform: translateX(8px);
}

.tags {
	column-gap: 12px;
	row-gap: 8px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--black);
}

.read-more:hover {
    color: var(--red);
    text-decoration: none;
}

.button-mobile {
    display: none;
}

/* =========================================================
   SERVICES - RESPONSIVE MOBILE
========================================================= */

@media (max-width: 640px) {
    .button {
        display: none;
    }

    .button-mobile {
        display: block;
    }

    .button-mobile .btn-line {
        box-shadow: none !important;
    }

    #services .svc-list .svc-row > .uk-width-auto,
    #services .svc-list .svc-row > .svc-text,
    #services .svc-list .svc-row > .uk-width-2-5\@m {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }

    #services .svc-list .svc-row > .uk-width-auto:first-child {
        width: auto;
        align-self: flex-start;
    }

    #services .svc-list .svc-text {
        order: 2;
        margin-top: 16px;
    }

    #services .svc-list .svc-text > h3 {
        margin: 0;
        font-size: 22px;
        line-height: 1.05;
    }

    #services .svc-list .svc-text .tags {
        margin-top: 12px;
    }

    #services .svc-list .svc-text p {
        margin-top: 16px;
        max-width: none;
        font-size: 14px;
        line-height: 1.6;
    }

    #services .svc-list .svc-row > .uk-width-2-5\@m {
        order: 3;
        margin-top: 24px;
    }

    #services .svc-list .svc-img-wrap {
        width: 100%;
        height: 280px;
    }

    #services .svc-list .svc-row > .uk-width-auto:last-child {
        order: 4;
        align-self: flex-end;
        margin-top: 16px;
    }

}