/*--------------------------------------------------------------
# Sliding Text One
--------------------------------------------------------------*/
.sliding-text-one {
    position: relative;
    display: block;
    background-color: var(--judges-base);
    padding: 30px 0 30px;
    z-index: 1;
}

.sliding-text-one__wrap {
    position: relative;
    display: block;
}

.sliding-text-one__list {
    position: relative;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    flex-wrap: nowrap;
    width: fit-content;
}

.sliding-text-one__list li {
    position: relative;
    display: block;
    float: left;
    margin-right: 90px; /* increased spacing between list items */
}

.sliding-text-one__list li span {
    position: relative;
    display: block;
    width: 60px;
    height: 35px;
    border: 1px solid var(--judges-bdr-color);
    border-radius: 30px;
    top: 13px;
}

.sliding-text-one__title {
    position: relative;
    display: flex;
    align-items: center;
    gap: 45px;
    color: var(--judges-white);
    font-size: 50px;
    line-height: 50px;
    font-weight: 700;
    transition: all 200ms linear;
    transition-delay: 0.1s;
    font-family: var(--judges-font-two);
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    text-transform: capitalize;
    /* preserve multiple spaces inserted in textContent */
    white-space: pre;
}

.sliding-text-one__list li .sliding-text-one__title:hover {
    color: transparent;
    -webkit-text-stroke: 1px transparent;
}

.sliding-text-one__title:before {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    color: var(--judges-black);
    /* preserve multiple spaces coming from data-hover attribute */
    white-space: pre;
    /* ensure pseudo-element uses same font metrics so spacing matches exactly */
    display: inline-block;
    font: inherit;
    line-height: inherit;
    content: attr(data-hover);
    transition: width 0.5s cubic-bezier(0.17, 0.67, 0.32, 0.87);
    pointer-events: none;
}

.sliding-text-one__list li:hover .sliding-text-one__title:before {
    width: 100%;
    color: var(--judges-black);
}














/*--------------------------------------------------------------
# End
--------------------------------------------------------------*/