/** 
 * Color Variables
 */
.c-donate {
  display: flex;
  gap: 8px;
  padding: 100px 5%;
}
@media (max-width: 1162px) {
  .c-donate {
    flex-direction: column;
  }
}
.c-donate h2,
.c-donate li,
.c-donate a,
.c-donate p,
.c-donate span {
  margin: 0;
}

.c-donate__card .block-card {
  padding: 0;
}
.c-donate__card .block-card__content {
  background: #ffedcc;
}
.c-donate__card .block-card__title {
  color: #ad9161;
}
.c-donate__card .block-card__paragraph p {
  color: black;
}

/* Parent Container for Flex Layout */
.c-donate {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-radius: 12px;
  margin: 0 auto;
}

/* Donation Widget */
.c-donate__widget {
  flex: 1;
  /* Adjust to fit in the 50% layout */
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
@media (max-width: 1162px) {
  .c-donate__widget {
    width: 100%;
  }
}

/* Amount Selector */
.c-donate__amounts {
  display: flex;
  gap: 5px;
}

.c-donate__amount {
  color: #fff;
  padding: 8px 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex: 1;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ad9161;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 26.25px;
  font-family: "p22-mackinac-pro", serif;
  text-decoration: none;
}
.c-donate__amount:hover {
  background-color: #8b6f3c;
  color: #fff;
}
.c-donate__amount.active {
  background-color: #ffc229;
}
.c-donate__amount:visited {
  color: #fff;
}
.c-donate__amount:focus {
  outline: 2px solid #6b46c1;
  outline-offset: 2px;
}

/* Main Donation Content */
.c-donate__content {
  padding: 50px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: #ffc229;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.c-donate__title {
  font-size: 30px;
  font-weight: bold;
  color: #4c371a;
  margin-bottom: 5px;
}

.c-donate__description {
  font-size: 1em;
  color: #4c371a;
  line-height: 1.5;
}

/* Donation Input and Button Styling */
.c-donate__input-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background-color: rgba(255, 255, 255, 0.17); /* Match the background color */
  border-radius: 50px; /* Rounded container */
}

.c-donate__input {
  width: 100%;
  background: none;
  border: none !important;
  padding: 12px 16px !important; /* Padding for input size */
  border-radius: 50px !important; /* Rounded corners */
  font-family: "p22-mackinac-pro", serif;
  font-weight: bold;
  color: #000 !important; /* Dark text color */
  font-size: 26.25px; /* Bigger text for readability */
}

.c-donate__button {
  background-color: #f9e0b7; /* Lighter background color */
  border: none;
  padding: 16px 20px; /* Button padding */
  border-radius: 50px; /* Rounded corners */
  height: 70px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  font-family: "Satoshi-Bold";
  color: #000; /* Dark text color */
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
}
.c-donate__button:hover {
  background-color: #e0d48f; /* Slightly darker shade on hover */
  transform: scale(1.05); /* Subtle scale effect on hover */
  color: #000;
}
.c-donate__button:visited {
  color: #000;
}
.c-donate__button:focus {
  outline: 2px solid #6b46c1;
  outline-offset: 2px;
}

/* Block Card Styling */
.c-donate__card {
  display: flex;
  background-color: #ffedcc;
  align-items: stretch;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  flex: 1;
}

/* Image Section */
.c-donate__card__image {
  width: 50%;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid #e4d7b7;
}

/* Content Section */
.c-donate__card__content {
  width: 50%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

/* Title Styling */
.c-donate__card__title h2 {
  font-size: 26.25px;
  font-family: "p22-mackinac-pro", serif;
  font-weight: bold;
  color: #a3864c;
  margin-bottom: 10px;
}

/* Paragraph Styling */
.c-donate__card__paragraph p {
  color: #4c371a;
}

/* Link Styling */
.c-donate__card__link {
  font-size: 15px;
  font-weight: bold;
  color: #a3864c;
  text-decoration: none;
  transition: color 0.3s ease;
}

.c-donate__card__link:hover {
  color: #8b6f3c;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .c-donate__card {
    flex-direction: column;
  }
  .c-donate__card__image {
    width: 100%;
    height: 250px; /* Set fixed height for consistency */
  }
  .c-donate__card__content {
    width: 100%;
    text-align: center; /* Center content for better readability */
    padding: 24px;
  }
}
@media (max-width: 768px) {
  .c-donate__card__image {
    height: 200px; /* Reduce image height for smaller screens */
  }
  .c-donate__card__title h2 {
    font-size: 21px; /* Adjust title size */
  }
  .c-donate__card__paragraph p {
    font-size: 13.5px;
  }
  .c-donate__card__link {
    font-size: 13.5px;
  }
}
@media (max-width: 480px) {
  .c-donate__card__image {
    height: 180px;
  }
  .c-donate__card__content {
    padding: 20px;
  }
  .c-donate__card__title h2 {
    font-size: 18px;
  }
  .c-donate__card__paragraph p {
    font-size: 12px;
  }
  .c-donate__card__link {
    font-size: 12px;
  }
}
