.rpcs-wrap { margin: 24px 0; }

.rpcs-title{
  text-align: center;
  color: #fff;
  font-size: 2.074rem;
  margin: 0 0 20px 0;
}

/* Slider layout */
.rpcs-slider{
  --rpcs-per-view: 3;
  position: relative;
  display: grid;
  grid-template-columns: 70px 1fr 70px;
  align-items: center;
  gap: 10px;
}

.rpcs-viewport { overflow: hidden; }
.rpcs-track{
  display: flex;
  transition: transform 350ms ease;
  will-change: transform;
}

.rpcs-slide{
  flex: 0 0 calc(100% / var(--rpcs-per-view));
  padding: 0 10px;
  box-sizing: border-box;
}

.rpcs-card{
  display: block;
  text-decoration: none;
  color: inherit;
}

.rpcs-thumb{
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  background-color: #1f1f1f; /* dark fallback to avoid "white flash" */
  overflow: hidden;
  position: relative;
}

.rpcs-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Shown only when there's no thumbnail */
.rpcs-thumb--empty{
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #2a2a2a,
    #2a2a2a 10px,
    #232323 10px,
    #232323 20px
  );
}

.rpcs-headline{
  margin: 10px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

/* Arrows: no background, bigger, white -> teal on hover */
.rpcs-btn{
  appearance: none;
  -webkit-appearance: none;

  background: transparent !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;

  padding: 0 6px;
  font-size: 64px;
  line-height: 1;
  color: #fff;
  cursor: pointer;
}

.rpcs-btn:hover,
.rpcs-btn:active,
.rpcs-btn:focus{
  background: transparent !important; /* prevents any theme hover background */
  box-shadow: none !important;
}

.rpcs-btn:hover{ color: #008080; }

.rpcs-btn:focus-visible{
  outline: 2px solid #008080;
  outline-offset: 4px;
}

.rpcs-btn[disabled]{
  opacity: .35;
  cursor: default;
}

.rpcs-btn[disabled]:hover{ color: #fff; }
