.bt-mf-block {
  width: 100%;
  content-visibility: auto;
  contain-intrinsic-size: 360px;
  margin: 1.5rem 0;
}

.bt-mf-title {
  margin: 0 0 1rem;
  text-align: center;
}

.bt-mf-slider {
  --bt-mf-gap: 16px;
  --bt-mf-card-size: 300px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bt-mf-track-wrap {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
}

.bt-mf-track {
  --bt-mf-cols: var(--bt-mf-desktop);
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--bt-mf-gap) * (var(--bt-mf-cols) - 1))) / var(--bt-mf-cols));
  gap: var(--bt-mf-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 2px;
}

.bt-mf-track::-webkit-scrollbar {
  display: none;
}

.bt-mf-item {
  scroll-snap-align: start;
}

.bt-mf-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: min(var(--bt-mf-card-size), 100%);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 12px;
  box-sizing: border-box;
  text-align: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 10px;
}

.bt-mf-logo-wrap {
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bt-mf-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.bt-mf-name {
  display: block;
  flex: 0 0 auto;
  max-width: 100%;
  font-size: .95rem;
  line-height: 1.35;
  color: #222;
  word-break: break-word;
}

.bt-mf-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #222;
  cursor: pointer;
  line-height: 1;
}

.bt-mf-arrow[disabled] {
  opacity: .35;
  cursor: default;
}

.bt-mf-no-arrows .bt-mf-track {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 991.98px) {
  .bt-mf-track {
    --bt-mf-cols: var(--bt-mf-tablet);
  }
}

@media (max-width: 767.98px) {
  .bt-mf-slider {
    gap: 8px;
  }

  .bt-mf-track {
    --bt-mf-cols: var(--bt-mf-mobile);
    --bt-mf-gap: 12px;
  }

  .bt-mf-link {
    padding: 10px;
  }

  .bt-mf-arrow {
    width: 34px;
    height: 34px;
  }
}

.bt-mf-sentinel { width: 1px; min-width: 1px; height: 1px; align-self: center; }
.bt-mf-data { display: none !important; }
