.arrow-container {
    width: 20px;
    min-height: 20px;
    height: 28px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex-shrink: 0;
    position: relative;
    vertical-align: middle;
}

.arrow-row {
    display: flex;
    align-items: center;
    gap: 3px;
    transform: translateX(-46px);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.group:hover .arrow-row {
    transform: translateX(6px);
}

.arrow-svg {
    display: block;
    stroke: var(--arrow-color, #ffffff);
    opacity: 1;
    transition: transform 0.25s ease, stroke 0.25s ease;
}

.arrow-svg.middle {
    width: 25px;
    height: 25px;
    stroke-width: 2;
}

.arrow-svg.side {
    width: 20px;
    height: 20px;
    stroke-width: 1.5;
}

.group:hover .arrow-svg {
    stroke: var(--hover-arrow-color, #ffffff);
}

.btn-hover-effect {
    position: relative;
    isolation: isolate;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.btn-hover-effect::after {
    content: '';
    position: absolute;
    inset: -100px;
    background-color: var(--hover-bg-color);
    transform: translateX(-120%) translateY(20%) rotate(-29deg);
    transition: transform 0.4s ease-out;
    z-index: 0;
}

.btn-hover-effect:hover::after {
    transform: translateX(-5%) rotate(-29deg);
}

.btn-hover-effect:hover {
    border-color: var(--hover-border-color) !important;
}

.btn-hover-effect > * {
    position: relative;
    z-index: 1;
}

/* Marquee */
.marquee {
    overflow: hidden;
    contain: layout paint;
}

.marquee-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    width: max-content;
    will-change: transform;
    transform: translate3d(0, 0, 0);
    backface-visibility: hidden;
    transition: none !important;
}

.marquee-track > * {
    flex: 0 0 auto;
}
