/* Conteneur global */
.etik-events { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial; }

/* Grille */
.etik-layout-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Layout variations */
.etik-layout-list .etik-layout-grid { grid-template-columns: 1fr; gap: 14px; }

/* Carte évènement */
.etik-event {
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(22,28,34,0.06);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
  /*min-height: 100%;*/
}

/* Vignette / image */
.etik-thumb {
  position: relative;
  background: #f6f6f6;
  overflow: hidden;
  display: block;
}
.etik-thumb img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

/* Corps du contenu */
.etik-event .etik-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 0 auto;
  margin-bottom: 1rem;
  padding-bottom: 0;
}

.etik-excerpt h4{
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
}



.etik-event .etik-footer{
  display: flex;
  flex-direction: column;
  padding: 1rem;
  padding-top: 0;
}

/* Titre */
.etik-event .et_pb_text_2{
  padding: 0px !important;
}
.etik-event .etik-title {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.5em;
  font-weight: 500;
  display: inline-block;
  padding-bottom: 0;
  vertical-align: sub;
}
.etik-title a { color: inherit; text-decoration: none; }

/* Date badge (position absolute dans .etik-thumb si nécessaire) */
.etik-date {
  /*display: inline-block;*/
  margin-bottom: 6px;
  color: #0c71c3;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
  border-bottom: 1px solid;
  text-align: center;
  padding-bottom: 6px;
}

/* Prix / méta */
.etik-price {
  display: block;
  font-weight: 600;
  color: #FC6B0D;
  font-size: 15px;
  border: 2px solid #FC6B0D;
  border-radius: 4px;
  padding: 2px 0.5rem;
  margin-left: 0.5rem;
  float: right;
}

/* Extrait / description */

.etik-excerpt {
  position: relative;
  overflow: auto;
  color: #555555;
  font-size: 14px;
  line-height: 1.45;
  margin-top: 6px;
  flex: 1 0 auto;
  text-align: justify;
  padding: 1rem;
  max-height: 200px;
  transition: all 0.6s;
}
.etik-excerpt.open {
  max-height: 2000px;
}

.etik-excerpt li{
  line-height: 1.1rem;
}

/* Message pas d'événements */
.etik-no-events {
  padding: 18px;
  color: #666;
  text-align: center;
  background: #fff;
  border-radius: 8px;
}

.etik-btn-link{
  border: none;
  background: none;
  margin-bottom: 0.5rem;
  text-decoration: underline;
  cursor: pointer;
  transition: all 0.6s;
}
.etik-btn-link:hover{
  color: #0c71c3;
}

/* Hover effects */
/*
.etik-event:hover { transform: translateY(-6px); box-shadow: 0 18px 38px rgba(22,28,34,0.09); }
.etik-event:hover .etik-thumb img { transform: scale(1.04); }
*/

/* Small adjustments for list layout (thumb left) */
.etik-layout-list .etik-event { flex-direction: row; gap: 16px; align-items: flex-start; }
.etik-layout-list .etik-thumb img { width: 260px; height: 140px; object-fit: cover; }
.etik-layout-list .etik-body { padding: 12px 0; }

/* Responsive */
@media (max-width: 980px) {
  .etik-layout-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .etik-thumb img { height: 160px; }
}

@media (max-width: 640px) {
  .etik-layout-grid { grid-template-columns: 1fr; gap: 12px; }
  .etik-thumb img { height: 140px; }
  .etik-layout-list .etik-thumb img { width: 120px; height: 90px; }
}


