/* Bar / Bat Mitzvah Projects Page Layout & Typography */
.mitzvah-container {
  max-width: 1100px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  font-family: 'Segoe UI', system-ui, sans-serif;
  color: #222;
  line-height: 1.6;
}

/* Revamped High-Energy Hero Banner */
.mitzvah-hero {
  border: 4px solid var(--color-blue); 
  background: #fdf8ff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 40 40"><circle cx="20" cy="20" r="2" fill="%23ffd23f" opacity="0.5"/></svg>'); /* Subtle festive polka dot overlay */
  border-radius: 16px;
  padding: 2.5rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 8px 8px 0px #ffd23f; /* Fun 3D pop shadow */
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: left;
}

@media (min-width: 768px) {
  .mitzvah-hero {
    flex-direction: row;
    padding: 3rem;
  }
}

.hero-text-content {
  flex: 1.2;
}

.mitzvah-hero h1 {
  color: var(--color-blue);
  font-size: 2.6rem;
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.mitzvah-hero p {
  font-size: 1.2rem;
  line-height: 1.6;
  margin: 0;
  color: #333;
}

.mitzvah-hero p strong {
  color: #EE4266; /* Pop color for key focus phrases */
}

.hero-image-side {
  flex: 0.8;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-badge-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 3px solid #3B82F6; /* Bright Blue outline frame */
  transform: rotate(3deg); /* Fun, organic tilted photo look */
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.hero-badge-img:hover {
  transform: rotate(0deg) scale(1.03);
}

.section-divider {
  text-align: center;
  margin: 3rem 0 2rem 0;
}

.section-divider h2 {
  font-size: 2rem;
  color: #222;
  display: inline-block;
  border-bottom: 4px solid #ffd23f; /* Yellow brush accent */
  padding-bottom: 0.5rem;
  margin: 0;
}

/* 3-Column Card Grid */
.ideas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 900px) {
  .ideas-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Individual Cards */
.idea-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.idea-image-wrapper {
  width: 100%;
  height: 200px;
  background-color: #eaeaea;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.idea-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idea-card h3 {
  margin: 0;
  padding: 1.25rem;
  color: #ffffff;
  text-align: center;
  font-size: 1.3rem;
}

.idea-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex-grow: 1;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.idea-content p {
  background-color: #ffffff;
  margin: 0;
  color: black;
} 

.idea-content:hover { 
	 background-color: #ffffff;
}

 /*
.idea-card h3:hover { 
	 color: gold;
}*/

   
/* Theme Colors per Column */
.card-blue { border: 4px solid var(--color-blue) }
.card-blue h3 { background-color: var(--color-blue) }

.card-green { border: 4px solid var(--color-green) }
.card-green h3 { background-color: var(--color-green) }

.card-red { border: 4px solid var(--color-red) }
.card-red h3 { background-color: var(--color-red) }

/* Call to Action Footer Box */
.mitzvah-footer {
  background-color: #f4f4f4;
  color: black;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  margin-top: 4rem;
   border: 4px solid var(--color-yellow);
 /* border: 2px dashed var(--color-yellow); */
}

.mitzvah-footer h4 {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.footer-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;

}

@media (min-width: 600px) {
  .footer-buttons {
    flex-direction: row;
  }
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  color: #ffffff;
  transition: transform 0.1s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-red { background-color: var(--color-red) }
.inline-link { color: #3B82F6; font-weight: bold; text-decoration: underline; }
 