/* cards-section.css - Donation Cards Component Styles */

.cards-section {
  --card-border: rgba(2, 6, 23, .12);
  --shadow: 0 18px 40px rgba(2, 6, 23, .06);
  --r: 18px;
  --muted: #667085;
}

.cards-wrap {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 18px 70px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

@media (max-width: 1100px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .cards-grid {
    grid-template-columns: 1fr;
  }
}

.donation-card {
  border: 1px solid var(--card-border);
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
  padding: 18px;
  display: flex;
  flex-direction: column;
  min-height: 640px;
}

.donation-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 60px rgba(2, 6, 23, .10);
}

.donation-card .imgWrap {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  height: 270px;
  background: #e5e7eb;
}

.donation-card .imgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.donation-card .tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: #fff;
  border: 1px solid rgba(2, 6, 23, .10);
  border-radius: 10px;
  padding: 7px 10px;
  font-weight: 900;
  font-size: 12px;
  color: #111827;
  box-shadow: 0 10px 20px rgba(2, 6, 23, .10);
}

.donation-card .content {
  padding: 16px 6px 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.donation-card h3 {
  margin: 10px 0 8px;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.donation-card .desc {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.7;
  font-size: 15px;
  max-width: 520px;
}

.donation-card .progressRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  margin-bottom: 10px;
  color: #111827;
  font-weight: 900;
  font-size: 14px;
}

.donation-card .bar {
  height: 5px;
  border-radius: 999px;
  background: rgba(2, 6, 23, .10);
  overflow: hidden;
}

.donation-card .fill {
  height: 100%;
  width: 0%;
  background: #111827;
  border-radius: 999px;
  transition: width .35s ease;
}

.donation-card .moneyRow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 14px;
  border-top: 1px solid rgba(2, 6, 23, .08);
  margin-top: 16px;
}

.donation-card .mBlock .label {
  color: var(--muted);
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 6px;
}

.donation-card .mBlock .value {
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: -0.01em;
}
