/* Shared box/card styles inspired by crises.html cards */

.opportunity-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
gap: 30px;
margin-top: 50px;
}

.opportunity-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.opportunity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.opportunity-card-header {
  background: linear-gradient(135deg, #5e239d 0%, #b70468 100%);
  color: white;
  padding: 25px;
  text-align: center;
}

.opportunity-card:hover .opportunity-card-header {
  background: linear-gradient(135deg, #b70468 0%, #7d024a 100%);
}

.opportunity-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.opportunity-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.opportunity-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.opportunity-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.opportunity-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(94, 35, 157, 0.15);
  color: #5e239d;
}

.opportunity-description {
  color: #666;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 25px;
  flex: 1;
}

.opportunity-link {
  display: inline-block;
  padding: 12px 25px;
  background: linear-gradient(to right, #5e239d, #b70468);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.opportunity-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(94, 35, 157, 0.3);
  color: white;
}
