/* =====================================================
   Ways To Give – Card Grid Styles
   File: ways-to-give.css
   ===================================================== */

.wtg-section {
 /* background-color: #f0f2f5;*/
  padding: 48px 40px;
  font-family: var(--pch-font);
}

/* ---------- Grid ---------- */
.wtg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  /*max-width: 1060px;*/
  margin: 0 auto;
}

/* ---------- Card ---------- */
.wtg-card {
  background: #ffffff;
  border-radius: 30px 30px 30px 0px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 1px 5px 14px rgb(0 0 0 / 20%);
}

/* ---------- Image ---------- */
.wtg-card-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  flex-shrink: 0;
}

.wtg-card-image img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------- Body ---------- */
.wtg-card-body {
  padding: 20px 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wtg-card-title {
  font-size: 22px;
  font-weight: var(--font-bold);
  color: #377E9A;
  line-height: 1.3;
  position: relative;
  margin-bottom: 15px;
}
.wtg-card-title::after {
  content: '';
  height: 2px;
  background-color: #5B8137;
  width: 230px;
  position: absolute;
  bottom: -10px;
  left: 0;
  opacity: 0.5;
}
.wtg-card-tagline {
  font-size: 20px;
  font-weight: var(--font-semibold);
  font-style: italic;
  color: #5B8137;
  line-height: 1.4;
  font-family: var(--pch-font);
}

.wtg-card-text {
  font-size: 18px;
  line-height: 1.7;
  color: #383838;
  margin-top: 4px;
}

/* ---------- Footer ---------- */
.wtg-card-footer {
  padding: 16px 20px 20px;
}

/* ---------- Donate button (dark teal with heart icon) ---------- */
.wtg-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: var(--font-semibold);
  padding: 15px 40px 15px 40px;
  border-radius: 40px;
  text-decoration: none;
  transition: background-color 0.2s ease;
  cursor: pointer;
  justify-content: center;
  min-width: 175px;
}

.wtg-btn--donate {
  color: var(--pch-white);
  background: url(/images/wtg-btn-donate.png) no-repeat 12px #377E9A;
  padding: 15px 40px 15px 70px;
}

.wtg-btn--donate svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.wtg-btn--donate:hover {
  background-color: #155d8e;
  color: var(--pch-white);
}

/* ---------- More button ---------- */
.wtg-btn--more {
  background-color: #377E9A;
  color: var(--pch-white);
}

.wtg-btn--more:hover {
  background-color: #155d8e;
  color: var(--pch-white);
}

/* ---------- Responsive ---------- */
@media (max-width: 990px) {
  .wtg-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .banner-image h1 {
    font-size: 50px;
  }
}

@media (max-width: 768px) {
  .wtg-section {
    padding: 32px 16px;
  }

  .wtg-grid {
    grid-template-columns: 1fr;
  }
}
