/* Button Bar Block Styles */

.button-bar__list {
  margin-left: -0.5rem;
  margin-right: -0.5rem;
  margin-top: 0;
  width: 100%;
}

.button-bar__list li {
  margin-top: -0.125rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
  width: 100%;
}

.button-bar__list li a {
  --tw-border-opacity: 1;
  --tw-text-opacity: 1;
  align-items: center;
  border-bottom-width: 0.125rem;
  border-color: rgb(226 224 224 / var(--tw-border-opacity));
  border-style: solid;
  border-top-width: 0.125rem;
  color: rgb(52 142 209 / var(--tw-text-opacity));
  display: flex;
  font-size: 0.9375rem;
  font-weight: 500;
  justify-content: space-between;
  line-height: 1.375rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  position: relative;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.button-bar__list li a svg {
  transition: none;
}

.button-bar__list li a:after {
  --tw-bg-opacity: 1;
  background-color: rgb(35 75 102 / var(--tw-bg-opacity));
  content: "";
  height: 0.125rem;
  margin-right: 0.125rem;
  margin-top: 1.75rem;
  position: absolute;
  right: 0;
  top: 0;
  transition-duration: 0.1s;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  width: 0;
}

.button-bar__list li a:hover {
  --tw-border-opacity: 1;
  --tw-text-opacity: 1;
  border-color: rgb(35 75 102 / var(--tw-border-opacity));
  color: rgb(35 75 102 / var(--tw-text-opacity));
  z-index: 20;
}

.button-bar__list li a:hover:after {
  width: 1.5rem;
}

.button-bar__list li a:active:after {
  width: 0.75rem;
}

/* Legacy Index Styles (based on buyflow-group2/buyflow-page-menu2) */

.index-legacy ul li,
.index-legacy__menu ul li {
  list-style-type: none !important;
}

.index-legacy__menu {
  background: rgba(29, 31, 35, 0.9);
  box-shadow: 0 0.25rem 0.5rem 0 rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 4.125rem;
  z-index: 5;
}