/**
* Theme Name: Give Child
* Description: This is a child theme of Give.
* Author: <a href="https://cmsmasters.net/">cmsmasters</a>
* Template: give
* Version: 1.2.0
* Tested up to: 6.6
* Requires PHP: 7.4
* License:
* License URI:
* Text Domain: give-child
* Copyright: cmsmasters 2025 / All Rights Reserved
*/
/* ----------------------------------------------------------------------------- */
/* css for projects section on home page */
.custom-campaign-grid {
  display: grid;
  gap: 30px;
}
.custom-campaign-item {
  display: flex;
  flex-direction: row;
  gap: 20px;
  background: white;
  border-radius: 12px;
  height: 340px;
}
.custom-campaign-item .campaign-image {
  flex: 0 0 40%;
}
.custom-campaign-item .campaign-image img {
  width: 464px;
  height: 340px;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}
.custom-campaign-item .campaign-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 30px 25px 30px 15px;
}
.custom-campaign-item .campaign-title {
  margin: 0 0 10px;
  font-size: 30px;
  letter-spacing: -1px;
  padding-bottom: 15px;
}
.custom-campaign-item .campaign-title a {
  color: #333356;
  text-decoration: none;
}
.custom-campaign-item .campaign-title a:hover {
  color: #1CB67D;
}
.custom-campaign-item .campaign-excerpt {
  margin: 0;
  line-height: 1.75em;
  font-size: 17px;
  color: #0B0101;
}
.campaign-donations {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding-right: 10px;
}
.campaign-donations .donations-number {
  font-size: 30px;
  font-weight: bold;
  color: #333356;
}
.campaign-donations .donations-label {
  font-size: 16px;
  color: #9595A1;
  font-weight: 600;
  line-height: 24px;
}
@media (max-width: 992px) {
  .custom-campaign-grid {
    display: grid;
    gap: 15px;
  }
  .custom-campaign-item .campaign-content {
    padding: 0px 25px 30px 25px;
  }
  .custom-campaign-item {
    flex-direction: column;
    height:auto;
  }
  .custom-campaign-item .campaign-image img {
    width: 100%;
    height: auto;
    border-bottom-left-radius: 0px;
    border-top-right-radius: 12px;  }
}
@media (max-width: 768px) {
  .custom-campaign-grid {
    display: grid;
    gap: 10px;
  }
  .custom-campaign-item .campaign-content {
    padding: 0px 20px 30px 20px;
  }
  .custom-campaign-item {
    flex-direction: column;
    height:auto;
    gap:10px;
  }
  .custom-campaign-item .campaign-image img {
    width: 100%;
    height: auto;
  }
  .custom-campaign-item .campaign-title {
    font-size: 25px;
  }
  .campaign-donations {
    margin-top: 20px;
    margin-bottom: 15px;
  }
}
/* css for projects page */
.my-campaigns-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  font-family: "Manrope Local", sans-serif;
}
@media (max-width: 992px) {
  .my-campaigns-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campaign-content h3 {
    font-size: 22px !important;
  }
}
@media (max-width: 600px) {
  .my-campaigns-grid {
    grid-template-columns: 1fr;
  }
}
.campaign-card {
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.campaign-thumb img {
  width: 100%;
  display: block;
  height: 240px;
}
.campaign-content {
  padding: 15px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.campaign-content h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  color: #333356;
  line-height: 1.5em;
  letter-spacing: -1px;
  margin-bottom: 30px;
}
.campaign-content h3 a:hover {
   color: #1CB67D;
}
.campaign-meta {
  color: #333356;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  font-size: 18px;
  line-height: 1.35em;
  font-weight: 700;
}
.campaign-meta span {
  display: block;
}