@use "../../../styles/int.scss";

.container {
  background: white;
  border-bottom: solid .063rem int.$warmgray-20;
}

.inner {
  display: flex;
  flex-flow: column;
  padding: int.$spacing-4 0 0 0; 
  position: relative;
  overflow: hidden;

  @include int.is-desktop {
    flex-flow: row;
    align-items: flex-start;
  }

  &:hover {
    overflow-x: auto;
  }
}

.contests {
  padding: 0 0 int.$spacing-3 0; 
}

.contests-inner {
  display: inline-flex;
  gap: int.$spacing-4; 
  align-items: center;
  padding: 0 var(--Grid-gutter);

  @include int.is-desktop {
    padding: 0;
  }
}

.header {
  display: flex;
  align-items: center;
  gap: int.$spacing-4; 
  white-space: nowrap;
  justify-content: space-between;
  padding: 0 var(--Grid-gutter) int.$spacing-2 var(--Grid-gutter);
  position: sticky;
  left: 0;
  top: 0;
  background: white;
  z-index: 1;

  @include int.is-desktop {
    justify-content: flex-start;
    padding: 0 int.$spacing-3;
  }
}
