/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Dec 04 2025 | 12:33:06 */
/* ===========================
   Carte film Distribution
   =========================== */

/* Le conteneur de la carte (section principale) */
.film-card {
  position: relative;
  overflow: hidden;
}

/* Pour que l’overlay se cale sur l’image */
.film-card .elementor-widget-wrap {
  position: relative;
}

/* Pas de marge sous l’image */
.film-card .elementor-widget-image {
  margin-bottom: 0 !important;
}

/* Image */
.film-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

/* ===========================
   Overlay
   =========================== */

.film-card-overlay {
  position: absolute;
  inset: 0;
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
}

/* Conteneur interne : on répartit haut/milieu/bas */
.film-card-overlay .elementor-container,
.film-card-overlay .elementor-column,
.film-card-overlay .elementor-widget-wrap {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;   /* date en haut, bouton en bas */
  align-items: center;
  padding: 20px 16px 20px;          /* même marge haut/bas */
  box-sizing: border-box;
}

/* Petit espace vertical entre les widgets */
.film-card-overlay .elementor-widget {
  margin: 6px 0 !important;
}

/* ===========================
   Texte
   =========================== */

/* Date de sortie */
.film-card-overlay .aihee-heading-title .elementor-heading-title {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

/* Titre du film – un peu plus compact pour éviter la casse */
.film-card-overlay .aihee-description h2,
.film-card-overlay .aihee-description .elementor-heading-title {
  font-size: 22px;          /* avant 24px */
  line-height: 1.15;        /* resserré */
  text-align: center;
  margin: 0;
}

/* Réalisateur */
.film-card-overlay .aihee-icon.aihee-icon-first {
  text-align: center;
  font-size: 14px;
  margin: 4px 0 10px;       /* marge réduite */
}

/* ===========================
   Bouton "Voir la fiche"
   =========================== */

.film-card-overlay .elementor-widget-button .elementor-button,
.film-card-overlay .aihee-icon.aihee-icon-third {
  color: #000000 !important;
  background-color: #FFFFFF;
  border-radius: 0;
  text-align: center;
  padding: 10px 22px !important;
  font-size: 14px;
  font-weight: 600;
}

/* ===========================
   Effet au survol
   =========================== */

.film-card:hover .film-card-overlay {
  opacity: 1;
}

.film-card:hover img {
  transform: scale(1.03);
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 772px) {
  .film-card-overlay .elementor-container,
  .film-card-overlay .elementor-column,
  .film-card-overlay .elementor-widget-wrap {
    padding: 16px 12px 16px;
  }

  .film-card-overlay .aihee-description h2,
  .film-card-overlay .aihee-description .elementor-heading-title {
    font-size: 18px;
  }

  .film-card-overlay .elementor-widget-button .elementor-button {
    padding: 8px 16px !important;
  }
}
