/* ==========================================================================
   FlowingMenu Component Styles (ported from React Bits)
   Namespaced with `flowing-` prefix to avoid conflicts
   ========================================================================== */

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

.flowing-menu {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flowing-menu__item {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.flowing-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: 3.5vh;
  color: #f1f5f9;
  transition: color 250ms ease;
  font-family: 'Inter', sans-serif;
  z-index: 2;
}

.flowing-menu__item-link:hover {
  color: inherit;
}

.flowing-menu__item-link:focus:not(:focus-visible) {
  color: inherit;
}

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

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

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

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

.flowing-marquee span {
  white-space: nowrap;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 3.5vh;
  line-height: 1;
  padding: 0 1vw;
  color: rgba(255, 255, 255, 0.15);
  font-family: 'Inter', sans-serif;
}

.flowing-marquee__img {
  width: 180px;
  height: 6vh;
  margin: 2em 2vw;
  padding: 1em 0;
  border-radius: 50px;
  background-size: cover;
  background-position: 50% 50%;
}

/* Integration: ensure flowing menu fits overlay column */
.menu-nav-column .flowing-menu-wrap {
  height: 60vh;
  max-height: 500px;
}

@media (max-width: 640px) {
  .flowing-menu__item-link {
    font-size: 2.8vh;
  }
  .flowing-marquee span {
    font-size: 2.8vh;
  }
  .flowing-marquee__img {
    width: 120px;
    height: 5vh;
  }
}
