.ld-event {
  height: 100%;
  background: var(--ld-white);
  border: 1px solid var(--ld-border);
  border-radius: var(--ld-radius);
  overflow: hidden;
}

.ld-event-content {
  padding: 22px;
}

.ld-event-category {
  display: inline-block;
  background: var(--ld-accent);
  color: var(--ld-primary);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 5px;
  margin-bottom: 12px;
}

.ld-event-title {
  font-size: 20px;
  line-height: 1.4;
}

.ld-event-title a {
  color: var(--ld-text);
}

.ld-event-location {
  color: var(--ld-muted);
  font-size: 14px;
  margin: 15px 0;
}

.ld-event-link {
  color: var(--ld-primary);
  font-weight: 600;
  font-size: 14px;
}

.ld-event-detail {
  background: var(--ld-white);
  border-radius: 16px;
  border: 1px solid var(--ld-border);
  padding: clamp(20px, 4vw, 40px);
  margin-top: 20px;
}

.ld-timing {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: space-between;
  padding: 15px 0;
  border-bottom: 1px solid var(--ld-border);
}

.ld-event-source {
  font-size: 13px;
  color: var(--ld-muted);
  margin-top: 25px;
}

.ld-load-more {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.ld-load-more-button {
  background-color: transparent;
  color: var(--ld-primary);
  border: 1px solid var(--ld-primary);
  border-radius: 8px;
  padding: 12px 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease,
              color 0.2s ease;
}

.ld-load-more-button:hover {
  background-color: var(--ld-primary);
  color: var(--ld-white);
}

.ld-event-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: #e8ebe7;
}

.ld-event-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.ld-event-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.ld-event:hover .ld-event-photo {
  transform: scale(1.04);
}

.ld-event-credits {
  position: absolute;
  bottom: 8px;
  right: 8px;
  max-width: 90%;
  background-color: rgba(0, 0, 0, 0.65);
  color: white;
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
}

.ld-event {
  transition: box-shadow 0.25s ease,
              transform 0.25s ease;
}

.ld-event:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

/* Fiche détaillée d'un événement */

.ld-event-detail-header {
  margin-bottom: 30px;
}

.ld-event-detail-header h1 {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ld-primary);
  line-height: 1.2;
  margin-top: 10px;
}

/* Photographie */

.ld-event-detail-figure {
  margin: 0;
}

.ld-event-detail-photo {
  width: 100%;
  max-height: 500px;
  object-fit: contain;
  background-color: var(--ld-background);
  border-radius: 12px;
  display: block;
}

.ld-event-detail-credits {
  font-size: 11px;
  color: var(--ld-muted);
  text-align: right;
  margin-top: 8px;
}

/* Informations pratiques */

.ld-event-information {
  background-color: var(--ld-background);
  border: 1px solid var(--ld-border);
  border-radius: 12px;
  padding: 25px;
}

.ld-event-information h2 {
  font-size: 21px;
  color: var(--ld-primary);
  margin-bottom: 25px;
}

.ld-event-information-item {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ld-border);
}

.ld-event-information-item h3 {
  font-size: 15px;
  color: var(--ld-muted);
  margin-bottom: 10px;
}

.ld-event-information-item p {
  font-size: 14px;
  margin-top: 5px;
  margin-bottom: 0;
}

/* Description et horaires */

.ld-event-description,
.ld-event-schedule {
  margin-top: 35px;
  padding: 25px;
  background-color: var(--ld-background);
  border-radius: 12px;
}

.ld-event-description h2,
.ld-event-schedule h2 {
  font-size: 24px;
  color: var(--ld-primary);
  margin-bottom: 20px;
}

.ld-event-description p {
  font-size: 16px;
  line-height: 1.8;
}

/* Version mobile */

@media (max-width: 768px) {

  .ld-event-detail-photo {
    max-height: 350px;
  }

  .ld-event-information,
  .ld-event-description,
  .ld-event-schedule {
    padding: 20px;
  }

  .ld-event-detail-header {
    margin-bottom: 20px;
  }

}
