/* ══════════════════════════════════════════════
   VibrationVitale Blog — Charte dorée
══════════════════════════════════════════════ */

.vv-blog-wrap {
  --or: #B8965A;
  --or-pale: #F9F3E8;
  --or-deep: #8B6A32;
  --profond: #2C1F2E;
  --gris: #4A3F4A;
  --gris-doux: #7A7070;
  --gris-pale: #F5F3F0;
  --creme: #FBF7F2;
  --blanc: #FFFFFF;
  --border: rgba(184,150,90,0.18);
  font-family: 'Source Sans 3', sans-serif;
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

/* ── FILTRES ── */
.vv-filtres {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}

.vv-filtre {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding: .5rem 1.2rem;
  background: transparent;
  color: var(--gris-doux);
  border: 1px solid var(--border);
  cursor: pointer;
  border-radius: 2px;
  transition: all .22s;
}
.vv-filtre:hover {
  border-color: var(--or);
  color: var(--or);
}
.vv-filtre.active {
  background: var(--or);
  color: var(--blanc);
  border-color: var(--or);
}

/* ── GRILLE ── */
.vv-grille {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* ── CARTE ── */
.vv-card {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  background: var(--blanc);
  display: flex;
  flex-direction: column;
  transition: transform .25s, box-shadow .25s;
}
.vv-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(44,31,46,.1);
}

/* état caché pour le filtre JS */
.vv-card.vv-hidden {
  display: none;
}

/* IMAGE */
.vv-card-img {
  display: block;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--creme);
  transition: opacity .3s;
  text-decoration: none;
}
.vv-card-img:hover {
  opacity: .92;
}
.vv-card-img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--or);
  opacity: .4;
}

/* BODY */
.vv-card-body {
  padding: 1.6rem 1.8rem 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

/* TAG CATÉGORIE */
.vv-card-tag {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .54rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--or);
  background: var(--or-pale);
  padding: .22rem .65rem;
  display: inline-flex;
  align-self: flex-start;
  border-radius: 2px;
}

/* TITRE */
.vv-card-titre {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  letter-spacing: .04em;
  line-height: 1.1;
  color: var(--profond);
  margin: 0;
}
.vv-card-titre a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}
.vv-card-titre a:hover {
  color: var(--or);
}

/* EXTRAIT */
.vv-card-extrait {
  font-size: .88rem;
  color: var(--gris-doux);
  line-height: 1.75;
  margin: 0;
  flex: 1;
  /* limiter à 3 lignes */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* FOOTER */
.vv-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  margin-top: .4rem;
  padding-top: .8rem;
  border-top: 1px solid var(--border);
}
.vv-card-date,
.vv-card-lecture {
  font-family: 'Bebas Neue', sans-serif;
  font-size: .54rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gris-doux);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .vv-grille {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 580px) {
  .vv-grille {
    grid-template-columns: 1fr;
  }
  .vv-filtres {
    gap: .4rem;
  }
}
