/* TSF project widget safety only. Card visual design stays from Oxpins parent theme. */
.tsf-projects-widget .causes-one__title,
.tsf-projects-widget .causes-one__title a,
.tsf-projects-widget .causes-one__text,
.tsf-projects-widget .causes-one__goals {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.tsf-projects-widget .causes-one__img a {
  display: block;
}

.tsf-projects-widget .causes-one__img img {
  display: block;
}

/* TSF project single page: keep Oxpins post layout. Only image badge text and optional project fields are adjusted. */
.single-tsf_project_item .tsf-project-single__group-badge {
  width: auto;
  min-width: 150px;
  max-width: 360px;
  padding: 8px 18px;
}

.single-tsf_project_item .tsf-project-single__group-badge p {
  line-height: 1.3;
  white-space: normal;
  overflow-wrap: break-word;
}

.single-tsf_project_item .tsf-project-single__details {
  margin-top: 30px;
  padding: 24px 28px;
  border: 1px solid #eee5d7;
  border-radius: 12px;
  background: #fff;
}

.single-tsf_project_item .tsf-project-single__support-line {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.single-tsf_project_item .tsf-project-single__support-line span {
  font-weight: 700;
}

.single-tsf_project_item .tsf-project-single__button {
  margin-top: 10px;
}
