/* #region Clients section*/
.clients {
    padding: 2.5rem 0 1.5rem;
}

.clients .section-title {
    margin-bottom: 2rem;
}

.clients .clients__main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.clients .clients__main+.clients__main-loadmore {
    margin: 0 auto;
}

/* #endregion */

/* #region CLients section - Testimonial override */
.clients__main .testimonial__item {
    width: 100%;
    height: var(--card-height-md);
    padding: 2rem;
}

.clients__main .testimonial__item .testimonial__item-bg::after {
    background: none;
    background-color: transparent;
    width: 100%;
    height: 100%;
    transition: background-color 0.3s ease-in-out;
}

.clients__main .testimonial__item .testimonial__item-bg:empty::after {
    background-color: #1F2121;
}

.clients__main .testimonial__item:hover .testimonial__item-bg::after {
    background: none;
    background-color: var(--color-text-neutral);
}

.clients__main .testimonial__item:hover .testimonial__item-bg:empty:after {
    background-color: #1F2121;
}

.clients__main .testimonial__item .testimonial__item-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clients__main .testimonial__item .testimonial__item-cate {
    background-color: var(--color-white);
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.clients__main .testimonial__item .testimonial__item-vehicle {
    background-color: var(--color-text-neutral);
    color: var(--color-white);
    padding: 0.969rem 1.5rem;
    cursor: auto;
}

.clients__main .testimonial__item .testimonial__item-details {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.clients__main .testimonial__item:has(.testimonial__item-bg:empty) .testimonial__item-details {
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.4;
    letter-spacing: -1%;
    opacity: 1;
}

.clients__main .testimonial__item:hover .testimonial__item-details {
    opacity: 1;
}

/* #endregion */

/* #region Testimonial item - Skeleton */
.testimonial__item.testimonial__item--skeleton {
    background-color: var(--color-surface);
    pointer-events: none;
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-content {
    width: 100%;
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-cate {
    display: flex;
    width: 8.5rem;
    height: 2rem;
    background-color: var(--color-tab-normal);
    animation: var(--animate-pulse);
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-vehicle {
    width: 15rem;
    height: 3.5rem;
    background-color: var(--color-tab-normal);
    animation: var(--animate-pulse);
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-details {
    opacity: 1;
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-details p {
    height: calc(1.125rem * 1.2);
    width: 100%;
    background-color: var(--color-tab-normal);
    border-radius: var(--rounded-md);
    animation: var(--animate-pulse);
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-details p:not(:last-child) {
    margin-bottom: 0.5rem;
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-details p:last-child {
    width: 40%;
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-client .client-avatar {
    background-color: var(--color-tab-normal);
    animation: var(--animate-pulse);
}

.testimonial__item.testimonial__item--skeleton .testimonial__item-client .client-name {
    height: calc(1rem * 1.2);
    width: 9.75rem;
    background-color: var(--color-tab-normal);
    border-radius: var(--rounded-md);
    animation: var(--animate-pulse);
}

/* #endregion */

/* #region Experts section*/
.experts {
    padding: 2.5rem 0 1.5rem;
}

.experts .section-title {
    margin-bottom: 2rem;
}

.experts .experts__main {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.experts .experts__main+.experts__main-loadmore {
    margin: 0 auto;
}

/* #endregion */

@media only screen and (min-width: 1280px) {

    .header {
        margin-top: 1rem;
    }

    /* #region Clients section*/
    .clients {
        padding: 4rem 0 5rem;
    }

    .clients .clients__main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* #endregion */

    /* #region CLients section - Testimonial override */

    .clients__main .testimonial__item .testimonial__item-type {
        display: flex;
        justify-content: space-between;
        align-items: start;
    }

    /* #endregion */


    /* #region Experts section*/
    .experts {
        padding: 4rem 0 5rem;
    }

    .experts .experts__main {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* #endregion */
}