/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Theme enfant pour OldChap (GeneratePress)
Author: OldChap
Template: generatepress
Version: 1.0
*/

/* OldChap - Single Jeu */
.oldchap-game__cover img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.oldchap-game__pitch {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-top: 10px;
}

.oldchap-game__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 6px;
  font-size: 0.95rem;
}

.oldchap-game__cta {
  margin: 14px 0 0;
}

.oldchap-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}

.oldchap-section {
  margin-top: 28px;
}

.oldchap-links {
  margin: 10px 0 0;
  padding-left: 18px;
}

.oldchap-embed iframe {
  width: 100%;
  height: 360px;
  max-width: 100%;
  border-radius: 12px;
}

@media (max-width: 600px) {
  .oldchap-embed iframe {
    height: 220px;
  }
}

/* OldChap - Archive Jeux (Catalogue) */
.oldchap-archive__header {
  margin: 20px 0 18px;
}

.oldchap-archive__title {
  margin-bottom: 6px;
}

.oldchap-archive__intro {
  opacity: 0.9;
  margin: 0;
}

.oldchap-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.oldchap-card {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.oldchap-card__image img {
  width: 100%;
  height: auto;
  display: block;
}

.oldchap-card__image-placeholder {
  width: 100%;
  aspect-ratio: 16/10;
  background: rgba(0,0,0,0.06);
}

.oldchap-card__content {
  padding: 14px 14px 16px;
}

.oldchap-card__title {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.oldchap-card__title a {
  text-decoration: none;
}

.oldchap-card__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 0.92rem;
  opacity: 0.95;
  margin-bottom: 8px;
}

.oldchap-card__pitch {
  margin: 0 0 14px;
  opacity: 0.92;
}

.oldchap-card__cta {
  margin: 0;
}

.oldchap-pagination {
  margin: 24px 0 10px;
}

@media (max-width: 980px) {
  .oldchap-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .oldchap-grid {
    grid-template-columns: 1fr;
  }
}

.oldchap-btn{
  display:inline-block;
  padding:12px 18px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
}
.oldchap-btn:hover{
  opacity:.9;
}
