/**
 * IAO Premi Socio - styles
 */

.iao-premi-socio {
  width: 100%;
  box-sizing: border-box;
  --iao-premi-circle-size: 96px;
  --iao-premi-position-align: center;
  --iao-premi-contest-align: center;
  --iao-premi-logo-offset-x: 0px;
  --iao-premi-logo-offset-y: 0px;
}

.iao-premi-socio__header {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 10px;
}

.iao-premi-socio__nav {
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  cursor: pointer;
  line-height: 1;
}

.iao-premi-socio__viewport {
  overflow: hidden;
}

.iao-premi-socio__track {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
}

.iao-premi-socio__track::-webkit-scrollbar {
  height: 6px;
}

.iao-premi-socio__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  min-width: var(--iao-premi-circle-size);
  width: max-content;
}

.iao-premi-socio__position {
  display: flex;
  width: 100%;
  justify-content: center;
}

.iao-premi-socio__media {
  display: flex;
  width: 100%;
}

.iao-premi-socio__contest {
  display: flex;
  width: 100%;
  justify-content: center;
}

.iao-premi-socio__link {
  display: inline-flex;
  text-decoration: none;
}

.iao-premi-socio__circle {
  width: var(--iao-premi-circle-size);
  height: var(--iao-premi-circle-size);
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--iao-premi-contest-color, #f59e0b);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background-color 200ms ease;
}

.iao-premi-socio__link:hover .iao-premi-socio__circle {
  transform: translateY(-2px);
}

.iao-premi-socio__logo {
  width: 70%;
  height: 70%;
  object-fit: contain;
  transform: translate(var(--iao-premi-logo-offset-x), var(--iao-premi-logo-offset-y));
  display: block;
  flex-shrink: 0;
}

.iao-premi-socio__logo--empty {
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.25);
}

.iao-premi-socio__caption {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: var(--iao-premi-position-align, center);
  max-width: 100%;
}

.iao-premi-socio__contest-title {
  margin-top: 10px;
  text-align: var(--iao-premi-contest-align, center);
  max-width: 100%;
}
