/* â”€â”€ HodhoudTendances â€“ Styles front-end â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */

.hodhoudtendances {
  padding: 40px 0;
}

.hodhoudtendances__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

/* Carte */
.hodhoudtendances__card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  background: #fff;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  cursor: default;
}

.hodhoudtendances__card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
  transform: translateY(-4px);
}

/* Image */
.hodhoudtendances__img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f0f0f0;
}

.hodhoudtendances__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hodhoudtendances__card:hover .hodhoudtendances__img {
  transform: scale(1.06);
}

.hodhoudtendances__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

.hodhoudtendances__no-img {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8e8e8, #d0d0d0);
}

.hodhoudtendances__no-img i {
  font-size: 48px;
  color: #aaa;
}

/* Corps texte */
.hodhoudtendances__body {
  padding: 16px 18px 18px;
}

.hodhoudtendances__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

.hodhoudtendances__subtitle {
  margin: 0;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 768px) {
  .hodhoudtendances__grid {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hodhoudtendances__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .hodhoudtendances__body {
    padding: 12px 14px 14px;
  }

  .hodhoudtendances__title {
    font-size: 14px;
  }
}


