/* ==========================================================================
   Crowdfunding homepage — modern look (original structure/functionality)
   ========================================================================== */

.gfc-cf-home {
  background: #fff;
  font-family: "Inter", "Open Sans", system-ui, sans-serif;
  color: #4b5563;
}

.gfc-cf-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.gfc-cf-home h1,
.gfc-cf-home h2,
.gfc-cf-home h3 {
  font-family: "Poppins", "Inter", sans-serif;
  color: #111827;
}

/* Hero */
.gfc-cf-hero,
body.gfc-redesign .gfc-cf-home .main-slider.gfc-cf-hero {
  background: #fff !important;
  padding: 56px 0 40px !important;
  text-align: center;
}

.gfc-cf-hero__title {
  font-size: clamp(1.85rem, 4vw, 2.75rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em;
  margin: 0 auto 1.5rem !important;
  max-width: 18ch;
  color: #111827 !important;
}

.gfc-cf-hero__title .line-green { display: none !important; }

.gfc-cf-hero__media {
  max-width: 920px;
  margin: 0 auto 1.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.gfc-cf-hero__media video,
.gfc-cf-hero__media .video {
  width: 100% !important;
  display: block;
  max-height: 480px;
  object-fit: cover;
  border-radius: 1.25rem;
  margin: 0 auto;
}

.gfc-cf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* Shared buttons (also used by kindness page) */
.gfc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.85rem 1.75rem;
  border-radius: 9999px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.gfc-btn--primary { background: #1183d9 !important; color: #fff !important; }
.gfc-btn--primary:hover { background: #0d6fc0 !important; color: #fff !important; }
.gfc-btn--outline {
  background: #fff !important;
  color: #1183d9 !important;
  border: 1.5px solid #1183d9 !important;
}
.gfc-btn--outline:hover { background: #eef7ff !important; }

/* Steps */
.gfc-cf-steps,
body.gfc-redesign .gfc-cf-home .top_three_box.gfc-cf-steps {
  border-top: 1px solid #f3f4f6;
  padding: 64px 0 !important;
  background: #fff !important;
}

.gfc-cf-steps__head {
  text-align: center;
  margin-bottom: 2.25rem;
}
.gfc-cf-steps__head h2 {
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  margin: 0 0 0.5rem;
  font-weight: 700;
}
.gfc-cf-steps__head p {
  margin: 0;
  color: #6b7280;
  font-size: 1.05rem;
}

.gfc-cf-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gfc-cf-step,
body.gfc-redesign .gfc-cf-home .inner_box.gfc-cf-step {
  text-align: center !important;
  background: #fff !important;
  border: 1px solid #eef0f3 !important;
  border-radius: 1rem !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  padding: 2rem 1.35rem !important;
  margin: 0 !important;
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gfc-cf-step:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gfc-cf-step__num {
  width: 3.25rem;
  height: 3.25rem;
  margin: 0 auto 1rem;
  border-radius: 9999px;
  background: #e8f3fc;
  color: #1183d9;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gfc-cf-step h3,
.gfc-cf-step h4 {
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  margin: 0 0 0.75rem !important;
  color: #111827 !important;
}

.gfc-cf-step ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.gfc-cf-step ul li {
  color: #6b7280 !important;
  font-size: 0.95rem !important;
  padding: 0.2rem 0 !important;
  background: none !important;
  border: none !important;
}
.gfc-cf-step ul li:before { content: none !important; }

/* Campaigns */
.gfc-cf-campaigns,
body.gfc-redesign .gfc-cf-home .featured-arts-campaigns.gfc-cf-campaigns {
  background: #f7f8fa !important;
  padding: 64px 0 !important;
}

.gfc-cf-campaigns h2,
.gfc-cf-campaigns h3 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.15rem) !important;
  font-weight: 700 !important;
  margin: 0 0 1.75rem !important;
  color: #111827 !important;
}

.gfc-cf-campaigns__tagline {
  text-align: center;
  color: #6b7280;
  margin: 0 0 0.5rem;
}

.gfc-cf-campaigns__row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -12px;
  margin-right: -12px;
}

.gfc-cf-campaigns .col-lg-3 {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 24px;
}

.gfc-cf-campaigns .popular-item {
  background: #fff !important;
  border: 1px solid #eef0f3 !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.gfc-cf-campaigns .popular-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.gfc-cf-campaigns .project-image,
.gfc-cf-campaigns .project-image img {
  height: 168px !important;
  width: 100% !important;
  object-fit: cover !important;
  margin: 0 !important;
}

.gfc-cf-campaigns .project-desc h5,
.gfc-cf-campaigns .project-desc h5 a {
  font-size: 1rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  color: #111827 !important;
  line-height: 1.35 !important;
}
.gfc-cf-campaigns .project-desc .line-green,
.gfc-cf-campaigns .project-desc .line-yellow,
.gfc-cf-campaigns .project-desc .line-blue { display: none !important; }

.gfc-cf-campaigns .project-desc p {
  font-size: 0.9rem !important;
  color: #6b7280 !important;
  line-height: 1.5 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gfc-cf-campaigns .popular-content { padding: 14px 16px 16px !important; }

.gfc-cf-campaigns .pie_progress {
  width: 58px !important;
  height: 58px !important;
}
.gfc-cf-campaigns .pie_progress__label { display: none !important; }
.gfc-cf-campaigns .pie_progress__number {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #1183d9 !important;
}

.gfc-cf-campaigns .popular-details li {
  font-size: 0.8rem !important;
  color: #6b7280 !important;
}
.gfc-cf-campaigns .popular-details li strong { color: #111827 !important; }

.gfc-cf-campaigns__more {
  text-align: center;
  margin-top: 8px;
}
.gfc-cf-campaigns__more a,
.gfc-cf-campaigns .popular-btn a {
  background: #1183d9 !important;
  color: #fff !important;
  border-radius: 9999px !important;
  padding: 0.85rem 2rem !important;
  font-weight: 600 !important;
  text-transform: none !important;
  display: inline-flex !important;
  text-decoration: none !important;
}

/* Partners */
.gfc-cf-partners,
body.gfc-redesign .gfc-cf-home .our_baker.gfc-cf-partners {
  background: #fff !important;
  padding: 64px 0 !important;
}

.gfc-cf-partners h2,
.gfc-cf-partners h3 {
  text-align: center;
  font-size: clamp(1.6rem, 3vw, 2.15rem) !important;
  font-weight: 700 !important;
  margin: 0 0 2rem !important;
}

.gfc-cf-partners .logo-carousels img {
  max-height: 64px;
  width: auto !important;
  margin: 0 auto;
  opacity: 0.9;
}

/* Show pre-footer tools again on crowdfunding home */
body.home .send-us { display: block !important; }

@media (max-width: 991px) {
  .gfc-cf-steps__grid { grid-template-columns: 1fr; }
  .gfc-cf-hero__media video { max-height: 280px; }
}
