.adopted-homes-section {
  position: relative;
  margin-bottom: 1rem;
  padding: 2rem;
}

.adopts-left-blob {
  position: absolute;
  left: 0;
  top: 0;
  z-index: -100;
  transform: translateY(-100px);
}

.adopts-right-blob {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: -100;
  transform: translateY(100px);
}

.adopted-homes-section .top-subtitle,
.adopted-homes-section .section-title,
.adopted-homes-section .section-subtitle {
  text-align: center;
}

.adopted-homes-wrapper {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.adopted-homes-container {
  width: 85%;
  height: auto;
  display: flex;
  gap: 2rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.adopted-homes-container::-webkit-scrollbar {
  display: none;
}

.assistance-container {
  width: 85%;
  height: auto;
  display: flex;
  gap: 2rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.assistance-container::-webkit-scrollbar {
  display: none;
}

.projects-container {
  width: 85%;
  height: auto;
  display: flex;
  gap: 2rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.projects-container::-webkit-scrollbar {
  display: none;
}

.reports-container {
  width: 85%;
  height: auto;
  display: flex;
  gap: 2rem;
  padding: 1rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.reports-container::-webkit-scrollbar {
  display: none;
}

.adopted-home {
  position: relative;
  width: 365px;
  height: 530px;
  border-radius: 5px;
  box-shadow: 0px 0px 15px #dad3c2;
  background-color: #ffffff;
}

.adopted-home img {
  width: 365px;
  height: 277px;
  border-radius: 5px;
  object-fit: cover;
}

.adopted-home .home-title-section {
  padding: 0.5rem 1rem 0rem 1rem;
}

.adopted-home .home-title-section h4 {
  font-size: 0.85rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  line-height: 19px;
}

.adopted-home .home-title-section .share-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background-color: #dee1e4;
}

.adopted-home .share-icon img {
  width: 20px;
  height: 23px;
}

.adopted-home .home-date {
  padding: 0.5rem 1rem 0rem 1rem;
  font-size: 0.625rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 19px;
  color: #959595;
}

.adopted-home .home-description {
  color: #444040;
  padding: 0.5rem 1rem 0rem 1rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 19px;
  max-height: 6.5rem;
  font-family: "Inter", sans-serif;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
}

.adopted-home .home-description::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #ffffff);
}

.adopted-home .home-bottom-control {
  width: 100%;
  position: absolute;
  bottom: 10px;
  padding: 0.5rem 1rem 0rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adopted-home .social-media-icons {
  display: flex;
  gap: 0.3rem;
}

.adopted-home .social-media-icons .rounded-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  width: 38px;
  border-radius: 50%;
  background-color: #dee1e4;
  text-decoration: none;
}

.adopted-home .social-media-icons .rounded-icon i.fa-brands {
  font-size: 21px;
}

.adopted-home .home-bottom-control .see-more-button {
  border: 0;
  outline: 0;
  padding: 1rem;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  border-radius: 30px;
  font-family: "Inter", sans-serif;
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  transition: background-color 0.3s ease-out;
}

.adopted-home .home-bottom-control .see-more-button:hover {
  background-color: #fff9e6;
  border: 1px solid var(--primary-color);
}

/* Adopted home modal css */

.adopt-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.hidden {
  display: none;
}

.adopt-modal {
  position: relative;
  width: 65%;
  height: 90vh;
  border-radius: 5px;
  background-color: var(--bg-color);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.adopt-modal::-webkit-scrollbar {
  width: 7px;
}

.adopt-modal::-webkit-scrollbar-thumb {
  background-color: #888787;
  border-radius: 30px;
  height: 10px;
}

.adopt-modal::-webkit-scrollbar-track {
  border-radius: 5px;
  background-color: #f1f1f1;
}

.close-button {
  cursor: pointer;
  color: #888;
  width: 33px;
  height: 33px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #888888;
}

.close-button img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

.close-button:hover {
  background-color: #eeeeee;
}

.adopt-modal-spaced-line {
  position: sticky;
  top: 0;
  width: 100%;
  height: 60px;
  background-color: #ffffff;
  border-bottom: 1px solid #d9d9d9;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  padding-right: 1rem;
  padding-top: 0.85rem;
}

.adopt-modal-gallery-wrapper {
  position: relative;
  background: #444141;
}

.adopt-left-button {
  position: absolute;
  top: 50%;
  left: 2%;
  background: transparent;
}

.adopt-right-button {
  position: absolute;
  top: 50%;
  right: 1%;
  background: transparent;
}

.adopt-modal-gallery-container {
  margin-top: 0.5rem;
  display: flex;
  gap: 1rem;
  height: 70vh;
  padding: 20px 80px;
  background: #444141;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.adopt-modal-gallery-container .gallery-video {
  width: 100%;
  height: 100%;
}

.adopt-modal-gallery-container::-webkit-scrollbar {
  display: none;
}

.adopt-modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.adopt-modal-content {
  padding: 20px;
  margin-bottom: 20px;
}

.adopt-modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  font-family: "Inter", sans-serif;
}

.adopt-modal-date {
  margin: 0.8rem 0rem;
  font-size: 0.75rem;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  color: #959595;
}

.adopt-modal-description {
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 25px;
  font-family: "Inter", sans-serif;
  color: #444040;
}

@media (max-width: 992px) {
  .adopted-homes-section {
    padding: 1rem;
  }

  .adopted-homes-wrapper {
    flex-wrap: wrap;
    align-items: start;
    justify-content: start;
    gap: 1rem;
  }

  .adopted-homes-container {
    order: -1;
    width: 100%;
    padding-left: 0.5rem;
  }

  .assistance-container {
    order: -1;
    width: 100%;
    padding-left: 0.5rem;
  }

  .projects-container {
    order: -1;
    width: 100%;
    padding-left: 0.5rem;
  }

  .reports-container {
    order: -1;
    width: 100%;
    padding-left: 0.5rem;
  }

  .adopt-modal-overlay {
    align-items: end;
  }

  .adopt-modal {
    width: 100%;
  }

  .adopt-modal-gallery-container {
    height: 40vh;
  }
}
