/* RD_JEU_LE_FOUR_V2_INTEGRATION
   CSS cible pour :
   - carte du jeu dans /jeux/
   - bouton leger dans /aujourdhui/
   Ne modifie pas l'accueil.
*/
.rd-game-card-le-four-v2,
.rd-today-game-cta-le-four-v2 {
  width: min(1120px, calc(100vw - 32px));
  margin: 28px auto;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff, #e7f8ff);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 24px 70px rgba(6,31,53,.16);
  color: #061f35;
}

.rd-game-card-le-four-v2 {
  display: grid;
  grid-template-columns: minmax(260px, .84fr) minmax(0, 1.16fr);
}

.rd-game-card-le-four-v2__media {
  min-height: 300px;
  background: #d7eef7;
  overflow: hidden;
}

.rd-game-card-le-four-v2__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.rd-game-card-le-four-v2__body,
.rd-today-game-cta-le-four-v2__body {
  padding: clamp(24px, 4vw, 46px);
}

.rd-game-card-le-four-v2__kicker,
.rd-today-game-cta-le-four-v2__kicker {
  display: inline-flex;
  width: fit-content;
  padding: 8px 13px;
  margin: 0 0 14px;
  border-radius: 999px;
  background: rgba(45,141,195,.12);
  color: #17668f;
  font-weight: 950;
}

.rd-game-card-le-four-v2 h2,
.rd-today-game-cta-le-four-v2 h2 {
  margin: 0 0 12px;
  color: #061f35;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4.4vw, 4.6rem);
  line-height: .94;
  letter-spacing: -.052em;
}

.rd-game-card-le-four-v2 p,
.rd-today-game-cta-le-four-v2 p {
  margin: 0 0 18px;
  color: #244f6a;
  font-weight: 760;
  line-height: 1.62;
  font-size: 1.05rem;
}

.rd-game-card-le-four-v2__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.rd-game-card-le-four-v2__badges span {
  display: inline-flex;
  border-radius: 999px;
  padding: 8px 10px;
  background: #ffffff;
  border: 1px solid rgba(6,31,53,.10);
  color: #061f35;
  font-weight: 900;
  font-size: .9rem;
}

.rd-game-card-le-four-v2__actions,
.rd-today-game-cta-le-four-v2__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.rd-game-card-le-four-v2 a,
.rd-today-game-cta-le-four-v2 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 950;
  border: 1px solid rgba(6,31,53,.12);
  background: #ffffff;
  color: #061f35 !important;
}

.rd-game-card-le-four-v2 a.primary,
.rd-today-game-cta-le-four-v2 a.primary {
  background: linear-gradient(135deg, #2d8dc3, #0f6d92);
  color: #ffffff !important;
  border-color: transparent;
}

@media (max-width: 860px) {
  .rd-game-card-le-four-v2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .rd-game-card-le-four-v2,
  .rd-today-game-cta-le-four-v2 {
    width: min(94vw, 680px);
    border-radius: 24px;
  }

  .rd-game-card-le-four-v2__body,
  .rd-today-game-cta-le-four-v2__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .rd-game-card-le-four-v2 h2,
  .rd-today-game-cta-le-four-v2 h2 {
    font-size: clamp(2rem, 10vw, 3rem);
    overflow-wrap: anywhere;
  }

  .rd-game-card-le-four-v2__actions,
  .rd-today-game-cta-le-four-v2__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .rd-game-card-le-four-v2 a,
  .rd-today-game-cta-le-four-v2 a {
    width: 100%;
    text-align: center;
  }
}