/* Mantiene las seis tarjetas dentro del anillo visible y separadas del núcleo. */
.orbit article {
  --orbit-radius: 250px;
  animation: none !important;
}

.orbit .n1,
.orbit .n2,
.orbit .n3,
.orbit .n4,
.orbit .n5,
.orbit .n6 {
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  margin: 0;
}

.orbit .card-face {
  width: 184px;
  min-height: 58px;
  display: grid;
  grid-template-columns: 30px 2px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 11px;
  align-content: center;
  padding: 5px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  white-space: normal;
  animation: none !important;
}

.orbit .card-face::before {
  content: '';
  grid-column: 2;
  grid-row: 1 / 3;
  align-self: stretch;
  width: 2px;
  min-height: 44px;
  border-radius: 2px;
  background: #eba73f;
  box-shadow: 0 0 12px rgba(235, 167, 63, .28);
}

.orbit .card-face b {
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: center;
  justify-self: center;
  margin: 0;
  color: #eba73f;
  font-size: 17px;
  line-height: 1;
}

.orbit .card-face span {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  margin: 0;
  color: #fff;
  font-size: 17px;
  line-height: 1.15;
  text-align: left;
}

.orbit .card-face small {
  grid-column: 3;
  grid-row: 2;
  align-self: start;
  margin: 4px 0 0;
  color: #8797b2;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: .09em;
  text-align: left;
}

@keyframes orbit-counter-contained {
  from {
    transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(var(--inverse));
  }
  25% {
    transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(calc(var(--inverse) - 90deg)) translateY(-4px);
  }
  50% {
    transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(calc(var(--inverse) - 180deg));
  }
  75% {
    transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(calc(var(--inverse) - 270deg)) translateY(4px);
  }
  to {
    transform: translateX(var(--orbit-radius)) translate(-50%, -50%) rotate(calc(var(--inverse) - 360deg));
  }
}

@media (max-width: 900px) and (min-width: 601px) {
  .orbit article {
    --orbit-radius: 200px;
  }

  .orbit .card-face {
    width: 190px;
    animation-name: orbit-counter-contained;
  }
}

@media (max-width: 600px) {
  .orbit .n1,
  .orbit .n2,
  .orbit .n3,
  .orbit .n4,
  .orbit .n5,
  .orbit .n6 {
    position: static;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .orbit .card-face {
    animation: none;
    transform: none;
  }
}
