/* Landing page training calendar (both sites).
   ----------------------------------------------------------------------
   Markup: front/landing/partials/upcoming-programs.blade.php. One card per
   program: the date block, the title with its hours/wave, and a booking
   link. Logical properties only, so the page reads right in Arabic too. */

.programs-calendar {
  padding-block: 110px 90px;
  background:
    radial-gradient(circle at 0% 0%, rgba(122, 106, 216, 0.10), transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(122, 106, 216, 0.08), transparent 40%),
    #f7f6fd;
}

.programs-calendar__month {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block: 10px 24px;
  font-size: 22px;
  font-weight: 700;
  color: #1e1e1e;
}

.programs-calendar__month i {
  color: #7a6ad8;
}

.program-card {
  display: flex;
  align-items: center;
  gap: 18px;
  height: calc(100% - 24px);
  margin-block-end: 24px;
  padding: 16px;
  padding-inline-end: 20px;
  background: #fff;
  border: 1px solid #ecebf7;
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(42, 33, 110, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: #7a6ad8;
  box-shadow: 0 16px 32px rgba(42, 33, 110, 0.12);
}

.program-card__date {
  display: flex;
  flex: 0 0 88px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 10px 6px;
  border-radius: 16px;
  background: linear-gradient(145deg, #7a6ad8, #4b3fa8);
  color: #fff;
  line-height: 1.1;
  text-align: center;
}

.program-card__day {
  font-size: 34px;
  font-weight: 800;
}

.program-card__month {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.program-card__weekday {
  margin-block-start: 4px;
  font-size: 11px;
  opacity: 0.85;
}

.program-card__body {
  flex: 1 1 auto;
  min-width: 0;
}

.program-card__body h4 {
  margin-block-end: 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #1e1e1e;
}

.program-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  color: #6b6b80;
}

.program-card__meta i {
  margin-inline-end: 4px;
  color: #7a6ad8;
}

.program-card__wave {
  padding: 2px 10px;
  border-radius: 999px;
  background: #fff4d6;
  color: #9a6b00;
  font-size: 13px;
  font-weight: 600;
}

.program-card__book {
  flex: 0 0 auto;
  padding: 9px 18px;
  border-radius: 999px;
  background: #f1effc;
  color: #4b3fa8;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.3s ease, color 0.3s ease;
}

.program-card__book:hover,
.program-card__book:focus-visible {
  background: #7a6ad8;
  color: #fff;
}

.programs-calendar__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.programs-calendar__notes li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #ecebf7;
  font-size: 15px;
  font-weight: 600;
  color: #2a2a2a;
}

.programs-calendar__notes i {
  color: #7a6ad8;
}

/* Phones: the booking link drops under the title, the full card wide. */
@media (max-width: 575px) {
  .programs-calendar {
    padding-block: 80px 60px;
  }

  .program-card {
    flex-wrap: wrap;
    gap: 14px;
  }

  .program-card__date {
    flex-basis: 76px;
    min-height: 84px;
  }

  .program-card__day {
    font-size: 28px;
  }

  .program-card__body {
    flex-basis: calc(100% - 90px);
  }

  .program-card__book {
    flex-basis: 100%;
    text-align: center;
  }
}
