.header-logo.custom .header-logo__img {
  max-height: unset;
  width: 200px;
}

.custom.section.causes::before {
  height: 80%;
}
.promo-primary__description.custom {
  bottom: 30px;
}

.promo-primary__description.custom span {
  font-size: 200px;
}

.item--active {
  border-top: 3px solid rgb(255, 187, 0);
}

/* Media Gallery Styles */
.media-gallery {
  margin: 30px 0;
}

.gallery-thumbnail {
  margin-bottom: 15px;
  cursor: pointer;
  transition: transform 0.3s ease;
  overflow: hidden;
  border-radius: 4px;
}

.gallery-thumbnail:hover {
  transform: scale(1.03);
}

.gallery-thumbnail img,
.gallery-thumbnail video {
  width: 100%;
  height: auto;
  display: block;
}

/* Modal for full-size media viewing */
.media-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  overflow: auto;
}
.promo-primary {
  background-color: #00000075;
}
.info-box.green-box {
  background-color: #00ae6294;
}

.media-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.close-media-modal {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.event-item_subtitle {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 10px;
  line-height: 1.4; /* Adjust line height for better appearance */
  max-height: 4.2em; /* 3 lines * 1.4 line-height */
}
@media only screen and (max-width: 767px) {
  /* Your mobile-specific styles go here */
  .header-logo.custom .header-logo__img {
    max-height: unset;
    width: 150px;
  }

  .promo-primary__description.custom span {
    font-size: 60px;
  }

  .promo-primary__description.custom {
    bottom: 4px;
  }
  .projects-masonry__inner p {
    font-size: 15px;
    line-height: normal;
  }
}
