.bt-logo-showcase {
    container-type: inline-size;
    padding-block: 30px;
}

.bt-logo-window {
    --logo-scale: 1;
    --logo-gutter: 40px;
    --logo-row-height: 87.359375px;
    --logo-duration: 44.4395s;
    overflow: clip;
}

.bt-logo-track {
    display: flex;
    width: max-content;
    animation: bt-logo-scroll var(--logo-duration) linear infinite;
}

.bt-logo-group {
    display: flex;
    align-items: center;
    flex: none;
}

.bt-logo-link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: none;
    width: calc(var(--logo-slot) * var(--logo-scale));
    height: var(--logo-row-height);
    margin-inline: var(--logo-gutter);
}

.bt-logo-link img {
    display: block;
    width: calc(var(--logo-width) * var(--logo-scale));
    height: calc(var(--logo-height) * var(--logo-scale));
    object-fit: contain;
}

.bt-logo-link:focus-visible {
    outline: 2px solid #8a5919;
    outline-offset: -2px;
}

@keyframes bt-logo-scroll {
    to { transform: translateX(-50%); }
}

@container (width <= 767px) {
    .bt-logo-window {
        --logo-scale: .5;
        --logo-gutter: 30px;
        --logo-row-height: 43.671875px;
        --logo-duration: 26.2195s;
    }
}

@media (hover: hover) {
    .bt-logo-showcase:hover .bt-logo-track { animation-play-state: paused; }
}

.bt-logo-window:has(:focus-visible) { overflow-x: auto; }
.bt-logo-window:has(:focus-visible) .bt-logo-track { animation: none; }
.bt-logo-window:has(:focus-visible) .bt-logo-group[aria-hidden="true"] { display: none; }

@media (prefers-reduced-motion: reduce) {
    .bt-logo-window { overflow-x: auto; }
    .bt-logo-track { animation: none; }
    .bt-logo-group[aria-hidden="true"] { display: none; }
}
