/* Container */
.card-container {
  display: grid;
  grid-template-columns: repeat(1, 2fr);
  gap: 20px;
  max-width: 1100px;
  margin: auto;
  align-items: stretch;
  padding: 1%;
}

/* Each item */
.item {
  display: flex;
  flex-direction: column;
}

/* Title */
.donate-title {
  text-align: center;
  color: #0a7a73;
  margin-top: 30px;
  font-size: 2vw;
}

/* Gray wrapper */
.card-wrapper {
  background: #cfcfcf;
  border-radius: 15px;
  flex-grow: 1;
  display: flex;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

/* Card */
.donation {
  background: #f3f3f3;
  border-radius: 15px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 100%;
  padding-bottom: 2%;
}

/* Image */
.img {
  margin-top: -1%;
  width: 100%;
  height: 100%;
  display: block;
  padding: 1%;
}
.img img {
  width: 49.7%;
  height: auto%;
  display: inline-block;
  border-radius: 5px;
  gap: 10px;
}

/* Content */
.card-content {
  width: 94%;
  display: inline-block;
  margin-left: 4%;
  padding-top: 0%;
  vertical-align: top;
}

/* Text */
.card-content p {
  font-size: 14px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}
#more{
    display: none;
}
.readMore{
   color: #00aeef;
    margin-left: 2px;  
    font-weight: bold;
}
.readMore:hover{
    opacity: 0.5;
    text-decoration: underline;
    cursor: pointer;
}
.showLess{
   display: none;
   color: #00aeef;
    margin-left: 8px;  
    font-weight: bold;
}
.showLess:hover{
    opacity: 0.5;
    text-decoration: underline;
    cursor: pointer;
}
/* Button */
.donate{
width: 20%;
margin-left: 40%;
    /*background-image: linear-gradient(to right,#003333,#009999);*/ 
    background-color:  #ef1011;
    border-radius: 15px;
    color: white;
    font-weight: 600;
    font-size: 1.2vw;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: 1px;
    padding: 1% 1%;
    text-decoration: none;
    text-transform: uppercase;
    display: flex;
    justify-content: center; /* افقی */
    align-items: center;     /* عمودی */
}
.donate:hover{
    opacity: 0.6;
}
.donate a{
    color: white;
}
.donate a:hover{
    background-color: #ef1011;
}

/* Mobile */
@media (max-width: 768px) {
  .card-container {
    grid-template-columns: 1fr;
  }
  .donate-title {
  font-size: 4vw;
}
  .img {
  margin-top: -1%;
  width: 100%;
  height: auto;
  display: block;
  padding: 1%;
}
.img img {
  padding-bottom: 1%;
  width: 100%;
  height: 50%;
  display: block;
  border-radius: 5px;
  gap: 10px;
}
.donate{
    width: 50%;
    margin-left: 25%;
    padding: 4%;
    font-size: 3vw;
}
}