/* Text with Background Block - Frontend Styles */
.synpact-text-with-background {
  width: 100%;
  margin: 0 0 5vh 0;
  padding: 0;
}

.synpact-text-with-background .text-content {
  background-color: rgba(174, 39, 97, 0.5); /* Default fallback */
  color: #f1f2eb;
  padding: 3vh 3vw;
  border-radius: 20px;
  font-family: "Arial", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  display: block;
  width: 100%;
}

.synpact-text-with-background .text-content p {
  margin: 0 0 1em 0;
}

.synpact-text-with-background .text-content p:last-child {
  margin-bottom: 0;
}

/* Support for bold, italic, links */
.synpact-text-with-background .text-content strong {
  font-weight: bold;
}

.synpact-text-with-background .text-content em {
  font-style: italic;
}

.synpact-text-with-background .text-content a {
  color: white;
  text-decoration: underline;
}

.synpact-text-with-background .text-content a:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .synpact-text-with-background .text-content {
    padding: 2vh 4vw;
    border-radius: 15px;
    font-size: 14px;
  }
}
