/* =========================
   GRILLE BLOG BETHLÉEM
   VERSION AFFINÉE
   ========================= */

.beth-blog-grid {
  display: grid;
  gap: 30px;
  align-items: stretch;
}

.beth-blog-cols-1 {
  grid-template-columns: 1fr;
}

.beth-blog-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beth-blog-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.beth-blog-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Carte */
.beth-blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FAF8F3;
  border: 1px solid rgba(176, 141, 87, 0.26);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.035);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.beth-blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.06);
  border-color: rgba(176, 141, 87, 0.42);
}

/* Image */
.beth-blog-card__image-link {
  display: block;
  text-decoration: none !important;
  line-height: 0;
}

.beth-blog-card__image-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #F2EEE5;
}

.beth-blog-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.beth-blog-card:hover .beth-blog-card__image {
  transform: scale(1.025);
}

.beth-blog-card__image--placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(176,141,87,0.10), rgba(0,0,0,0.03));
}

/* Contenu */
.beth-blog-card__content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 24px 22px;
}

/* Date */
.beth-blog-card__meta {
  margin: 0 0 10px;
  font-family: "Spectral", serif;
  font-size: 15px;
  line-height: 1.4;
  text-align: center;
  color: #8A7A5C;
  letter-spacing: 0.02em;
}

/* Titre */
.beth-blog-card__title {
  margin: 0 0 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.85rem, 1.7vw, 2.15rem);
  text-align: center;
  line-height: 1.06;
  font-weight: 600;
  color: #1F1F1F;
}

.beth-blog-card__title a {
  color: #1F1F1F !important;
  text-decoration: none !important;
  transition: color 0.18s ease;
}

.beth-blog-card__title a:hover {
  color: #B08D57 !important;
  text-decoration: none !important;
}

/* Résumé */
.beth-blog-card__excerpt {
  flex: 1 1 auto;
  font-family: "Spectral", serif;
  font-size: 20px;
  line-height: 1.6;
  color: #262626;
}

.beth-blog-card__excerpt p {
  margin: 0;
  text-align: justify;
}

/* Pied de carte */
.beth-blog-card__footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(176, 141, 87, 0.22);
}

.beth-blog-card__button {
  display: inline-block;
  font-family: "Spectral", serif;
  font-size: 18px;
  line-height: 1.3;
  color: #B08D57 !important;
  text-decoration: none !important;
  font-weight: 600;
  transition: opacity 0.18s ease;
}

.beth-blog-card__button:hover {
  color: #B08D57 !important;
  text-decoration: none !important;
  opacity: 0.78;
}

/* État vide */
.beth-blog-empty {
  font-family: "Spectral", serif;
  font-size: 22px;
  color: #444;
  padding: 12px 0;
}

/* Responsive */
@media (max-width: 980px) {
  .beth-blog-cols-4,
  .beth-blog-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .beth-blog-card__excerpt {
    font-size: 20px;
    line-height: 1.6;
  }

  .beth-blog-card__title {
    font-size: clamp(1.8rem, 2.3vw, 2rem);
  }
}

@media (max-width: 767px) {
  .beth-blog-cols-4,
  .beth-blog-cols-3,
  .beth-blog-cols-2 {
    grid-template-columns: 1fr;
  }

  .beth-blog-card__content {
    padding: 18px 18px 18px;
  }

  .beth-blog-card__meta {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .beth-blog-card__title {
    font-size: 1.75rem;
    line-height: 1.08;
    margin-bottom: 12px;
  }

  .beth-blog-card__excerpt {
    font-size: 19px;
    line-height: 1.58;
  }

  .beth-blog-card__button {
    font-size: 17px;
  }
}