/* Riviera Elite Driver V454: match VIP/Event card titles to Journal's Cormorant Garamond. */
/* Site-wide shared styles, card spacing and the specially styled hyphen spans remain unchanged. */
html body #events .event-card h3 > span.lang-en,
html body #events .event-card h3 > span.lang-fr {
  font-family: var(--font-display, "Cormorant Garamond", Georgia, serif) !important;
  font-weight: 500;
  letter-spacing: -0.01em;
}
/* Only grids with exactly five VIP/Event cards: preserve the three-card first
   row, centre Cannes Yachting + TFWA on the second desktop row. The narrower
   desktop/tablet layout uses two columns and centres the single fifth card.
   Existing 3, 6 and 7-card grids (and all mobile one-column layouts) are
   intentionally unaffected. */
@media (min-width: 1200px) {
  html body #home-view #events .events-grid.red-events-five-center-v454 {
    display:grid !important;
    grid-template-columns:repeat(6,minmax(0,1fr)) !important;
    column-gap:20px !important;
    row-gap:20px !important;
  }
  html body #home-view #events .events-grid.red-events-five-center-v454 > .event-card {
    grid-column:span 2 !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
  html body #home-view #events .events-grid.red-events-five-center-v454 > .event-card:nth-child(4) {
    grid-column:2 / span 2 !important;
  }
  html body #home-view #events .events-grid.red-events-five-center-v454 > .event-card:nth-child(5) {
    grid-column:4 / span 2 !important;
  }
}
@media (min-width:901px) and (max-width:1199px) {
  html body #home-view #events .events-grid.red-events-five-center-v454 {
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:18px !important;
  }
  html body #home-view #events .events-grid.red-events-five-center-v454 > .event-card {
    grid-column:span 2 !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }
  html body #home-view #events .events-grid.red-events-five-center-v454 > .event-card:nth-child(5) {
    grid-column:2 / span 2 !important;
  }
}
