/* Complete horizontal product card shared by Gutenberg and [game-horizontal]. */

.game-horizontal.gp-game-horizontal {
  --gp-horizontal-surface: #15161a;
  --gp-horizontal-surface-soft: rgba(24, 25, 30, 0.92);
  --gp-horizontal-border: rgba(255, 255, 255, 0.14);
  --gp-horizontal-text: #f7f7f8;
  --gp-horizontal-muted: #c7c8ce;
  --gp-horizontal-accent: #b92e4f;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(100%, 1040px);
  margin: 20px auto;
  border: 1px solid var(--gp-horizontal-border);
  border-radius: 8px;
  background: var(--gp-horizontal-surface);
  color: var(--gp-horizontal-text);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
  display: block;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
}

.game-horizontal.gp-game-horizontal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--gp-game-horizontal-bg, none);
  background-position: right center;
  background-repeat: no-repeat;
  background-size: min(62%, 680px) auto;
  filter: none;
  opacity: 0.28;
  transform: none;
}

.game-horizontal.gp-game-horizontal::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #121317 0%, rgba(18, 19, 23, 0.97) 42%, rgba(18, 19, 23, 0.7) 78%, rgba(18, 19, 23, 0.88) 100%);
}

body:not(.jnews-dark-mode) .game-horizontal.gp-game-horizontal,
.jnews-light-mode .game-horizontal.gp-game-horizontal,
.editor-styles-wrapper .game-horizontal.gp-game-horizontal {
  --gp-horizontal-surface: #ffffff;
  --gp-horizontal-surface-soft: rgba(255, 255, 255, 0.9);
  --gp-horizontal-border: rgba(45, 48, 58, 0.16);
  --gp-horizontal-text: #202126;
  --gp-horizontal-muted: #5d606a;
  box-shadow: 0 14px 32px rgba(24, 27, 38, 0.12);
}

body:not(.jnews-dark-mode) .game-horizontal.gp-game-horizontal::before,
.jnews-light-mode .game-horizontal.gp-game-horizontal::before,
.editor-styles-wrapper .game-horizontal.gp-game-horizontal::before {
  opacity: 0.16;
}

body:not(.jnews-dark-mode) .game-horizontal.gp-game-horizontal::after,
.jnews-light-mode .game-horizontal.gp-game-horizontal::after,
.editor-styles-wrapper .game-horizontal.gp-game-horizontal::after {
  background: linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.97) 45%, rgba(255, 255, 255, 0.75) 78%, rgba(255, 255, 255, 0.9) 100%);
}

.gp-game-horizontal__shell {
  display: grid;
  grid-template-columns: minmax(130px, 170px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px;
}

.gp-game-horizontal__visual,
.gp-game-horizontal__content {
  min-width: 0;
}

.gp-game-horizontal__cover-link {
  display: flex;
  width: 100%;
  aspect-ratio: 2 / 3;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid var(--gp-horizontal-border);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.gp-game-horizontal__cover {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  object-fit: contain;
  object-position: center;
}

.gp-game-horizontal__cover-placeholder {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--gp-horizontal-muted);
  font-size: 42px;
}

.gp-game-horizontal__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.gp-game-horizontal__manual-flags,
.gp-game-horizontal__chips,
.gp-game-horizontal .gp-product-flag-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.gp-game-horizontal__chips {
  width: 100%;
}

.gp-game-horizontal .gp-product-flag-wrap {
  width: auto;
}

.gp-game-horizontal__status,
.gp-game-horizontal .gp-taxonomy-chip,
.gp-game-horizontal .gp-product-flag {
  display: inline-flex;
  min-height: 27px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.gp-game-horizontal__status--sale {
  border-color: rgba(110, 231, 157, 0.38);
  background: #176b42;
}

.gp-game-horizontal__status--preorder {
  border-color: rgba(255, 208, 92, 0.44);
  background: #885713;
}

.gp-game-horizontal .gp-taxonomy-chip--gp_platform,
.gp-game-horizontal .gp-taxonomy-chip {
  background: var(--gp-horizontal-accent);
}

.gp-game-horizontal .gp-product-flag--physical {
  background: #6e5120;
}

.gp-game-horizontal .gp-product-flag--digital {
  background: #145f91;
}

.gp-game-horizontal .gp-product-flag--category {
  background: #634477;
}

.gp-game-horizontal .gp-product-flag--language {
  background: #356354;
}

.gp-game-horizontal .gp-taxonomy-chip:hover,
.gp-game-horizontal .gp-taxonomy-chip:focus-visible,
.gp-game-horizontal .gp-product-flag--link:hover,
.gp-game-horizontal .gp-product-flag--link:focus-visible {
  color: #ffffff;
  filter: brightness(1.12);
  text-decoration: none;
}

.gp-game-horizontal .gp-taxonomy-chip__icon,
.gp-game-horizontal .gp-product-flag__icon {
  display: inline-flex;
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  align-items: center;
  justify-content: center;
}

.gp-game-horizontal .gp-taxonomy-chip__icon img {
  display: block;
  width: 15px;
  height: 15px;
  margin: 0;
  object-fit: contain;
}

.gp-game-horizontal__title {
  max-width: 100%;
  margin: 0;
  color: var(--gp-horizontal-text);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.gp-game-horizontal__title a {
  color: inherit;
  text-decoration: none !important;
}

.gp-game-horizontal__title a:hover,
.gp-game-horizontal__title a:focus-visible {
  color: #ef6685;
  text-decoration: none;
}

.gp-game-horizontal__description {
  max-width: 760px;
  margin: 0;
  color: var(--gp-horizontal-muted);
  font-size: 14px;
  line-height: 1.45;
}

.gp-game-horizontal__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 7px 16px;
  width: 100%;
  margin: 1px 0 0;
}

.gp-game-horizontal__detail {
  min-width: 0;
}

.gp-game-horizontal__detail dt {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
  margin: 0 0 1px;
  color: var(--gp-horizontal-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  white-space: normal;
  overflow-wrap: anywhere;
}

.gp-game-horizontal__detail dd {
  margin: 0;
  color: var(--gp-horizontal-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.gp-game-horizontal__detail dd a {
  color: inherit;
  text-decoration: none !important;
}

.gp-game-horizontal__detail dd a:hover,
.gp-game-horizontal__detail dd a:focus-visible {
  color: #ef6685;
  text-decoration: none;
}

.gp-game-horizontal__actions {
  display: flex;
  width: 100%;
  align-items: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 1px;
}

.gp-game-horizontal__stores {
  width: auto;
  min-width: 0;
}

.gp-game-horizontal__stores-label {
  display: block;
  margin-bottom: 4px;
  color: var(--gp-horizontal-muted);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
}

.gp-game-horizontal__store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gp-game-horizontal .gp-game-horizontal__store,
.gp-game-horizontal .gp-page-button {
  display: inline-flex;
  min-height: 34px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid var(--gp-horizontal-border);
  border-radius: 6px;
  box-shadow: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none !important;
}

.gp-game-horizontal .gp-game-horizontal__store {
  background: #30333b;
  color: #ffffff;
}

.gp-game-horizontal .gp-game-horizontal__store:hover,
.gp-game-horizontal .gp-game-horizontal__store:focus-visible {
  background: #41454f;
  color: #ffffff;
  text-decoration: none;
}

.gp-game-horizontal .gp-game-page-link {
  display: flex;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.gp-game-horizontal .gp-page-button {
  background: var(--gp-horizontal-accent);
  color: #ffffff;
}

.gp-game-horizontal .gp-page-button:hover,
.gp-game-horizontal .gp-page-button:focus-visible {
  background: #d13d60;
  color: #ffffff;
  text-decoration: none !important;
}

.gp-game-horizontal .gp-page-button,
.gp-game-horizontal .gp-game-page-link__label,
.gp-game-horizontal .gp-page-button__text {
  color: inherit;
}

.gp-game-horizontal .gp-purchase-price {
  padding-left: 7px;
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.gp-game-horizontal__page-action {
  display: flex;
  align-items: flex-end;
  margin: 0;
}

@media (max-width: 700px) {
  .gp-game-horizontal {
    margin: 18px auto;
  }

  .gp-game-horizontal::before {
    background-size: cover;
    opacity: 0.14;
  }

  .gp-game-horizontal__shell {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px;
  }

  .gp-game-horizontal__title {
    font-size: 21px;
  }

  .gp-game-horizontal__description {
    font-size: 13px;
    line-height: 1.5;
  }

  .gp-game-horizontal__details {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 6px 12px;
  }

  .gp-game-horizontal__actions,
  .gp-game-horizontal__stores {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }

  .gp-game-horizontal__store-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .gp-game-horizontal .gp-game-horizontal__store,
  .gp-game-horizontal .gp-game-page-link,
  .gp-game-horizontal .gp-page-button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .gp-game-horizontal__shell {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
    padding: 11px;
  }

  .gp-game-horizontal__content {
    gap: 7px;
  }

  .gp-game-horizontal__title {
    font-size: 19px;
  }

  .gp-game-horizontal__status,
  .gp-game-horizontal .gp-taxonomy-chip,
  .gp-game-horizontal .gp-product-flag {
    min-height: 25px;
    padding: 4px 8px;
    font-size: 10px;
  }

  .gp-game-horizontal .gp-game-horizontal__store,
  .gp-game-horizontal .gp-page-button {
    padding-inline: 7px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .gp-game-horizontal__details,
  .gp-game-horizontal__store-buttons {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .gp-game-horizontal *,
  .gp-game-horizontal *::before,
  .gp-game-horizontal *::after {
    scroll-behavior: auto;
    transition: none !important;
  }
}
