/* ==========================================================================
   Special Marquee — Flowing Menu with Hover Marquee
   ========================================================================== */

.wml-special-marquee {
    position: relative;
    display: grid;
    align-items: center;
    height: auto;
    width: 100%;
    overflow: hidden;
}

/* ---------- Menu Wrap ---------- */

.wml-sm-menu-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wml-sm-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

/* ---------- Menu Item ---------- */

.wml-sm-menu__item {
    flex: 1;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 0.0625rem solid #fff;
    padding-top: 20px;
    padding-bottom: 20px;
}

.wml-sm-menu__item:first-child {
    border-top: none;
}

.wml-sm-menu__item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    cursor: pointer;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    font-weight: 600;
    font-size: 4vh;
    color: #fff;
}

/* ---------- Marquee Overlay ---------- */

.wml-sm-marquee {
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
    pointer-events: none;
    transform: translate3d(0, 101%, 0);
}

.wml-sm-marquee__inner-wrap {
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.wml-sm-marquee__inner {
    display: flex;
    align-items: center;
    position: relative;
    height: 100%;
    width: fit-content;
    will-change: transform;
}

.wml-sm-marquee__part {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.wml-sm-marquee span {
    white-space: nowrap;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 4vh;
    line-height: 1;
    padding: 0 1vw;
    color: #060010;
}

.wml-sm-marquee__img {
    width: 12.5rem;
    height: 50px;
    margin: 2em 2vw;
    padding: 0;
    border-radius: 3.125rem;
    overflow: hidden;
    flex-shrink: 0;
}

.wml-sm-marquee__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ---------- Hide original flow-items (processed by JS) ---------- */

.wml-sm-flow-item {
    display: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 768px) {
    .wml-sm-menu__item-link {
        font-size: 3vh;
    }

    .wml-sm-marquee span {
        font-size: 3vh;
    }

    .wml-sm-marquee__img {
        width: 8rem;
        height: 35px;
    }
}