/* Shared finite carousel. Without JavaScript all recommendations remain visible. */
.portal-game .cg-other-games { margin: clamp(2.5rem,5vw,5rem) 0 0; padding: 0; color: var(--cg-ink,#111); }
.cg-other-games * { box-sizing: border-box; }
.cg-other-games__heading { display: block; margin-bottom: 1.5rem; }
.portal-game .cg-other-games h2 { margin: 0; color: #0849a2; font: 400 clamp(1.35rem,1.15rem + .8vw,2rem)/1.25 'Archivo Black',sans-serif; text-transform: none; }
.cg-other-games__heading p { color: rgba(17,17,17,.72); font: 400 1rem/1.75 Montserrat,system-ui,sans-serif; margin: .85rem 0 0; max-width: 48rem; }
 .cg-other-games__carousel { min-width: 0; }
.cg-other-games.is-carousel .cg-other-games__carousel { display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: clamp(.75rem,1.5vw,1.5rem); }
.cg-other-games__controls { display: flex; align-items: center; margin: 0; }
.cg-other-games.is-carousel .cg-other-games__controls:first-child { grid-column: 1; grid-row: 1; }
.cg-other-games.is-carousel .cg-other-games__controls:last-child { grid-column: 3; grid-row: 1; }
.cg-other-games__controls[hidden] { display: none; }
.portal-game .cg-other-games__controls button { min-height: 2.75rem; padding: .7rem 1rem; border: 1px solid #0849a2; border-radius: 0; background: white; color: #0849a2; font: 800 .85rem/1.3 Montserrat,system-ui,sans-serif; cursor: pointer; box-shadow: none; }
.portal-game .cg-other-games__controls button:hover { background: #0849a2; color: white; }
.cg-other-games__viewport { width: 100%; min-width: 0; padding-block: 1px 2px; }
.cg-other-games.is-carousel .cg-other-games__viewport { grid-column: 2; grid-row: 1; }
.portal-game .cg-other-games__track { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; list-style: none; margin: 0; padding: 0; overflow: visible; }
.cg-other-games__item { display: flex; min-width: 0; list-style: none; }
.cg-other-games.is-carousel .cg-other-games__viewport { overflow: hidden; touch-action: pan-y; }
.portal-game .cg-other-games.is-carousel .cg-other-games__track { display: flex; gap: 1.5rem; transform: translate3d(var(--cg-carousel-offset,0px),0,0); transition: transform .3s ease; will-change: transform; }
.cg-other-games.is-carousel .cg-other-games__item { flex: 0 0 calc((100% - 3rem)/3); }
.portal-game .cg-other-games__card { display: flex; flex-direction: column; flex: 1; min-width: 0; height: auto; color: #111; text-decoration: none; background: white; border: 1px solid rgba(8,73,162,.2); }
.cg-other-games__art { display: block; aspect-ratio: 16/10; overflow: hidden; border-radius: 0; }
.cg-other-games__art img { display: block; width: 100%; height: 100%; object-fit: cover; }
.cg-other-games__name { color: #0849a2; font: 400 clamp(1rem,.9rem + .4vw,1.3rem)/1.35 'Archivo Black',sans-serif; margin: 1rem 1rem 0; }
.cg-other-games__description { color: rgba(17,17,17,.72); font: 400 .9rem/1.65 Montserrat,system-ui,sans-serif; margin: .75rem 1rem 1rem; }
.cg-other-games__play { margin: auto 1rem 1.25rem; color: #0849a2; font: 800 .9rem/1.5 Montserrat,system-ui,sans-serif; }
.cg-other-games__card:hover .cg-other-games__play { text-decoration: underline; text-underline-offset: .25rem; }
.cg-other-games :focus-visible { outline: 2px solid #0849a2; outline-offset: -3px; }
@media(max-width:1000px) and (min-width:651px) {
  .portal-game .cg-other-games__track { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .cg-other-games.is-carousel .cg-other-games__item { flex-basis: calc((100% - 1.5rem)/2); }
}
@media(max-width:650px) {
  .cg-other-games.is-carousel .cg-other-games__viewport { grid-column: 1 / -1; grid-row: 1; }
  .cg-other-games.is-carousel .cg-other-games__controls:first-child { grid-column: 1; grid-row: 2; }
  .cg-other-games.is-carousel .cg-other-games__controls:last-child { grid-column: 3; grid-row: 2; justify-self: end; }
  .portal-game .cg-other-games__track { grid-template-columns: 1fr; }
  .cg-other-games.is-carousel .cg-other-games__item { flex-basis: 100%; }
}
@media(prefers-reduced-motion:reduce) {
  .portal-game .cg-other-games.is-carousel .cg-other-games__track { transition: none; }
}
