.ld-home {
  padding-top: 35px;
  padding-bottom: 30px;
}

.ld-home-header {
  margin-bottom: 35px;
}

.ld-home-header h1 {
  font-size: clamp(30px, 5vw, 46px);
  color: var(--ld-primary);
  letter-spacing: -1px;
}

.ld-home-header p {
  color: var(--ld-muted);
}

.ld-home-date {
  font-size: 14px;
  font-weight: 600;
}

/* Sections */

.ld-section {
  margin-top: 45px;
}

.ld-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
}

.ld-section-header h2 {
  font-size: 26px;
  margin: 0;
  color: var(--ld-primary);
  letter-spacing: -0.5px;
}

.ld-section-header a {
  color: var(--ld-primary);
  font-size: 14px;
  font-weight: 600;
}

.ld-section-intro {
  color: var(--ld-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-top: -10px;
  margin-bottom: 25px;
}

/* Calendrier */

.ld-calendar {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.ld-calendar-day {
  background: var(--ld-white);
  border: 1px solid var(--ld-border);
  border-radius: 10px;
  color: var(--ld-primary);
  text-align: center;
  padding: 15px 8px;
  display: flex;
  flex-direction: column;
}

.ld-calendar-day strong {
  font-size: 26px;
}

.ld-calendar-day:hover {
  background: var(--ld-accent);
}

/* Filtres */

.ld-filters {
  padding: 22px;
  border-radius: var(--ld-radius);
  background: var(--ld-white);
  border: 1px solid var(--ld-border);
}

/* Boutons */

.ld-button {
  background: var(--ld-primary);
  color: var(--ld-white);
  border: none;
  padding: 10px 20px;
}

.ld-button:hover {
  background: #245849;
  color: var(--ld-white);
}

.ld-back-link {
  color: var(--ld-primary);
  font-weight: 600;
}

/* Responsive mobile */

@media (max-width: 768px) {

  .ld-section-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .ld-section-header h2 {
    font-size: 23px;
  }

  .ld-calendar {
    display: flex;
    overflow-x: auto;
  }

  .ld-calendar-day {
    min-width: 75px;
  }

  .ld-section {
    margin-top: 30px;
  }

  .ld-section-intro {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 20px;
  }
}
