/* Pillaro Rich Text global styles */

.pillaro-rich-text.w-richtext {
  color: var(--elements-webflow-library--neutral--800);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 30px;
}

/* Headings */

.pillaro-rich-text.w-richtext h1 {
  color: var(--elements-webflow-library--neutral--800);
  margin-top: 0;
  margin-bottom: 24px;
  font-family: inherit;
  font-size: 54px;
  font-weight: 700;
  line-height: 66px;
}

.pillaro-rich-text.w-richtext h2 {
  color: var(--elements-webflow-library--neutral--800);
  margin-top: 48px;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 38px;
  font-weight: 700;
  line-height: 50px;
}

.pillaro-rich-text.w-richtext h3 {
  color: var(--elements-webflow-library--neutral--800);
  margin-top: 32px;
  margin-bottom: 12px;
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 34px;
}

.pillaro-rich-text.w-richtext h4 {
  color: var(--elements-webflow-library--neutral--800);
  margin-top: 28px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 20px;
  font-weight: 700;
  line-height: 30px;
}

/* First element */

.pillaro-rich-text.w-richtext > *:first-child {
  margin-top: 0;
}

/* Paragraphs */

.pillaro-rich-text.w-richtext p {
  color: var(--elements-webflow-library--neutral--800);
  margin-top: 0;
  margin-bottom: 16px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 30px;
}

/* Lists */

.pillaro-rich-text.w-richtext ul,
.pillaro-rich-text.w-richtext ol {
  margin-top: 8px;
  margin-bottom: 24px;
  padding-left: 32px;
}

.pillaro-rich-text.w-richtext li {
  color: var(--elements-webflow-library--neutral--800);
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 18px;
  line-height: 30px;
}

.pillaro-rich-text.w-richtext li:last-child {
  margin-bottom: 0;
}

/* Bold */

.pillaro-rich-text.w-richtext strong,
.pillaro-rich-text.w-richtext b {
  color: var(--elements-webflow-library--neutral--800);
  font-weight: 700;
}

/* Links */

.pillaro-rich-text.w-richtext a {
  color: var(--elements-webflow-library--accent--primary-1);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.pillaro-rich-text.w-richtext a:hover {
  color: var(--elements-webflow-library--secondary--color-1);
}

/* Blockquote */

.pillaro-rich-text.w-richtext blockquote {
  color: var(--elements-webflow-library--neutral--800);
  border-left: 5px solid var(--elements-webflow-library--neutral--400);
  margin: 32px 0;
  padding: 12px 0 12px 24px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  line-height: 30px;
}

/* Figures */

.pillaro-rich-text.w-richtext figure {
  margin-top: 32px;
  margin-bottom: 32px;
}

.pillaro-rich-text.w-richtext figcaption {
  color: var(--elements-webflow-library--neutral--600);
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
}

/* Mobile */

@media screen and (max-width: 479px) {
  .pillaro-rich-text.w-richtext {
    font-size: 17px;
    line-height: 28px;
  }

  .pillaro-rich-text.w-richtext h1 {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 37px;
  }

  .pillaro-rich-text.w-richtext h2 {
    margin-top: 40px;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 34px;
  }

  .pillaro-rich-text.w-richtext h3 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 20px;
    line-height: 30px;
  }

  .pillaro-rich-text.w-richtext h4 {
    margin-top: 24px;
    font-size: 18px;
    line-height: 28px;
  }

  .pillaro-rich-text.w-richtext p,
  .pillaro-rich-text.w-richtext li {
    font-size: 17px;
    line-height: 28px;
  }

  .pillaro-rich-text.w-richtext ul,
  .pillaro-rich-text.w-richtext ol {
    padding-left: 24px;
  }

  .pillaro-rich-text.w-richtext blockquote {
    padding-left: 18px;
    font-size: 17px;
    line-height: 28px;
  }
}
