body {
  position: relative;
  overflow-x: hidden;
}

body h1 {
  font-size: 2.5rem;
  font-family: "Jost";
  font-weight: 600;
}

@media (min-width: 1024px) {
  body h1 {
    font-size: 2.625rem;
  }
}

@media (min-width: 1200px) {
  body h1 {
    font-size: 3rem;
  }
}

.paragraph--type--ui-block-minimalized .title-minimalized-paragraph div,
.ui-page-block > div:nth-child(2),
.ui-page-block > div:nth-child(1):not(.image-container-basic-page),
body h2 {
  font-family: "Jost";
  font-size: 1.875rem;
  color: #003051;
  line-height: 2.3125rem;
}

@media (min-width: 1024px) {
  .paragraph--type--ui-block-minimalized .title-minimalized-paragraph div,
  .ui-page-block > div:nth-child(1):not(.image-container-basic-page),
  .ui-page-block > div:nth-child(2),
  body h2 {
    font-size: 2rem;
  }
}

@media (min-width: 1200px) {
  .paragraph--type--ui-block-minimalized .title-minimalized-paragraph div,
  .ui-page-block > div:nth-child(1):not(.image-container-basic-page),
  .ui-page-block > div:nth-child(2),
  body h2 {
    line-height: 2.625rem;

    font-size: 2.375rem;
  }
}

body h4 {
  font-size: 1.125rem;
  color: #003051;
}

@media (min-width: 1024px) {
  body h4 {
    font-size: 1.5rem;
  }
}

/*typography base*/
p,
ul,
li,
a {
  font-size: 1.125rem;
  line-height: 1.875rem;
  font-family: "Poppins";
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Jost";
}

/*typography ambita-theme*/
p {
  font-size: 1.125rem;
}

.uppercase {
  text-transform: uppercase;
}

/*highlight basic page standart*/
.highlight p {
  font-size: 1.25rem;
}

@media (min-width: 1024px) {
  .highlight p {
    line-height: 2.1875rem;
    font-size: 1.75rem;
  }
}

/*highlight basic page ambita-theme*/
.highlight {
  position: relative;
  padding: 0rem 0rem 1rem 0rem;
  margin-bottom: 6rem;
}

.highlight:before {
  content: "";
  background-color: #f5f5f5;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  height: calc(100% + 20px);
  z-index: -1;
  position: absolute;
  display: block;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  margin: 0;
  padding: 0;
  top: -20px;
}

.highlight p {
  color: #53911f;
  font-family: "Jost";
}

body .text-primary {
  color: #53911f !important;
}

/*ui blocks standart*/

/*title stesso stile di h2*/
.paragraph--type--ui-block-minimalized .title-minimalized-paragraph div,
.ui-page-block > div:nth-child(1):not(.image-container-basic-page),
.ui-page-block > div:nth-child(2) {
  margin: 1rem 0rem;
  font-weight: 600;
}
