/* Styling specific to the Contribute page cards and CTAs. */
body.contribute-page {
  background: linear-gradient(180deg, #f1f7f0 0%, #e6efe5 100%);
}

.contribute-main {
  max-width: 1140px;
}

body.contribute-page .contribute-hero {
  background: linear-gradient(135deg, #fdfefe 0%, #e9f4ee 100%);
  border: 1px solid #dbe6df;
  gap: 1.2rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.contribute-hero h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 0.25em;
}

.contribute-hero p {
  line-height: 1.7;
}

.contribute-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.contribute-card {
  border: 1px solid #dbe6df;
  background: linear-gradient(135deg, #ffffff 0%, #f2f8f4 100%);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.contribute-card h3 {
  margin: 0;
  color: #1f4734;
}

.contribute-card p {
  margin: 0;
  line-height: 1.6;
}

.contribute-actions {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.contribute-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background-color: #1b7a5a;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card .contribute-pill {
  color: #ffffff;
}

.contribute-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(27, 122, 90, 0.25);
}

.buyme-button {
  background-color: #f6a756;
  color: #1d271f;
}

.info-card .buyme-button {
  color: #1d271f;
}

@media (max-width: 640px) {
  .contribute-card {
    padding: 1.5rem;
  }

  .contribute-actions {
    flex-direction: column;
  }

  .contribute-pill {
    width: 100%;
    justify-content: center;
  }
}
