/* Hijri month tools — clean card (no gradient) */

.hm-card {
  border: 1px solid var(--lx-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 16px 40px -28px rgba(15, 23, 42, 0.18);
  padding: 28px 22px 24px;
}

.hm-card__content {
  text-align: center;
}

.hm-card__badge {
  display: inline-flex;
  margin: 0 0 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--lx-purple-soft);
  color: var(--lx-purple);
  font-size: 11px;
  font-weight: 800;
}

.hm-card__title {
  margin: 0;
  font-size: clamp(26px, 5.5vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--lx-ink);
}

.hm-card__sub {
  margin: 8px 0 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--lx-ink-soft);
  line-height: 1.7;
}

.hm-countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.hm-unit {
  padding: 14px 8px 12px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--lx-border);
}

.hm-unit strong {
  display: block;
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 900;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--lx-ink);
}

.hm-unit span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--lx-ink-soft);
}

.hm-dates {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.hm-date {
  padding: 12px 10px;
  border-radius: 14px;
  border: 1px solid var(--lx-border);
  background: #fff;
}

.hm-date span {
  display: block;
  font-size: 10px;
  color: var(--lx-ink-soft);
  margin-bottom: 4px;
}

.hm-date strong {
  font-size: 13px;
  font-weight: 800;
  color: var(--lx-ink);
}

.hm-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.hm-fact {
  padding: 10px 8px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--lx-border);
}

.hm-fact span {
  display: block;
  font-size: 10px;
  color: var(--lx-ink-soft);
  margin-bottom: 4px;
}

.hm-fact strong {
  font-size: 12px;
  font-weight: 800;
  color: var(--lx-ink);
}

.hm-card.is-passed .hm-countdown {
  opacity: 0.55;
}

@media (max-width: 520px) {
  .hm-countdown { grid-template-columns: repeat(2, 1fr); }
  .hm-dates { grid-template-columns: 1fr; }
  .hm-facts { grid-template-columns: 1fr; }
}
