/* donations.css - Donations Page Styles */

.donations-wrap {
  padding: 50px 6% 60px;
}

.donations-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 34px;
}

.donations-header .kicker {
  font-size: 12px;
  color: #8a8a8a;
  margin: 0 0 10px;
}

.donations-header h1 {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 12px;
  font-weight: 900;
}

.donations-header p {
  margin: 0;
  color: #7c7c7c;
  font-size: 14px;
  line-height: 1.7;
}

.donations-grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  gap: 22px;
  align-items: stretch;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.donation-card {
  background: var(--card, #ffffff);
  border: 1px solid var(--line, #ececec);
  border-radius: var(--radius, 16px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 430px;
  transition: transform .18s ease, box-shadow .18s ease;
}

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

.media {
  position: relative;
  padding: 14px 14px 0;
}

.img {
  width: 100%;
  height: 170px;
  border-radius: 14px;
  object-fit: cover;
  display: block;
}

.tag {
  position: absolute;
  left: 24px;
  top: 24px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #222;
}

.card-content {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.card-title {
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}

.card-desc {
  margin: 0;
  color: #7a7a7a;
  font-size: 12px;
  line-height: 1.55;
}

.progress-wrap {
  margin-top: auto;
  padding-top: 8px;
}

.progress-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #7a7a7a;
  margin-bottom: 8px;
}

.bar {
  height: 6px;
  background: #ededed;
  border-radius: 999px;
  overflow: hidden;
}

.bar > span {
  display: block;
  height: 100%;
  background: #ee3a23;
  border-radius: 999px;
}

.money {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.money .col {
  flex: 1;
}

.money .label {
  font-size: 10px;
  color: #8a8a8a;
  margin-bottom: 4px;
}

.money .val {
  font-size: 14px;
  font-weight: 900;
}

/* Pagination */
.pager {
  margin-top: 34px;
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.page {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line, #ececec);
  background: #fff;
  color: #111;
  font-size: 12px;
  cursor: pointer;
  user-select: none;
  transition: .15s;
  text-decoration: none;
}

.page.active {
  background: var(--accent, #ee3a23);
  border-color: var(--accent, #ee3a23);
  color: #fff;
  font-weight: 900;
}

.page:hover {
  border-color: #cfcfcf;
}

.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: #888;
}

.empty-state i {
  font-size: 80px;
  color: #ddd;
  margin-bottom: 20px;
}

.empty-state h3 {
  font-size: 24px;
  margin-bottom: 10px;
  color: #555;
}

/* Responsive */
@media (max-width: 1050px) {
  .donations-grid {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 640px) {
  .donations-wrap {
    padding: 35px 5% 50px;
  }
  .donations-header h1 {
    font-size: 34px;
  }
  .donations-grid {
    grid-template-columns: 1fr;
  }
}
