

/* --------------- GENERALE --------------- */

*,p,a {
  font-family: 'Lora' ;
}

.field p {
  font-family: Lora;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}


/*
------ LINKS
*/

a:hover {
  color: var(--primary-light);
}

a.main-link {
  margin: 0;
  color: #fff;
  font-weight: 700;
  padding-right: 1rem;
  font-size: 1rem;
  text-decoration: none;
}

a.link:hover,
a.main-link:hover {
  text-decoration: underline;
  text-decoration: none;
  color: var(--accent-color) !important;
  transition: all .2s ease;
}

h3 a.main-link:hover {
  color: var(--accent-color) !important;
}

a.main-link:hover svg {
  fill: var(--accent-color) !important;
  transition: all .2s ease;
}


a.read-more {
  display: flex;
  align-items: center;
  color: #1b1e3c;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0;
  font-size: 16px;
  text-decoration: none;
}

@media (min-width:1024px) {
  a.read-more {
    font-size: 18px;
  }
}



/*
------ TITOLI
*/

body h1,
body h2,
body h3 {
  font-family: 'Cinzel';
}

h1,h1 span {
  color: var(--primary-color);
}

h1,h1 span{
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.2em;
  display: block;
}

@media (min-width:1200px) {
  h1,h1 span{
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
  }
}

/*titolo pagina*/
.text-formatted h2 {
  line-height: 1.2em;
  font-weight: 500;
  font-size: calc(var(--bs-body-font-size) * 2);
  margin-top: 3rem;
  margin-bottom: .3em;
  font-family: "Lora";
  margin-bottom: 1.5rem;
  font-weight: 400;
}

@media (min-width: 1024px) {
  .text-formatted h2 {
    font-size: calc(var(--bs-body-font-size) * 3);
  }
}


/* stile gendjus con icon a sinistra */
.text-formatted h2,
.gendjus-title {
  background-image: url(../images/pre_title.svg);
  background-size: 4rem auto;
  background-repeat: no-repeat;
  padding-bottom: 1.5rem;
  background-position: bottom left;
  margin-bottom: 1rem;
  font-family: "Lora";
  font-size: calc(var(--bs-body-font-size) * 2.5);

}

@media (min-width: 768px) {
  .text-formatted h2,
  .gendjus-title {
    padding-left: 5rem;
    padding-bottom: 0;
    background-position: center left;
    font-size: calc(var(--bs-body-font-size) * 3);

  }
}



/* --------------- STILE TITOLI H3 --------------- */
.text-formatted h3 {
  font-size: calc(var(--bs-body-font-size) * 1.15);
  color: rgb(var(--bs-secondary-rgb));
  text-transform: uppercase;
  margin-top: 2rem;
  font-weight: 600;
  font-family: "Lora";
}

@media (min-width: 1024px) {
  .text-formatted h3 {
    font-size: calc(var(--bs-body-font-size) * 1.75);
  }
}


/* --------------- STILE TITOLI H4 --------------- */
.text-formatted h4 {
  font-size: calc(var(--bs-body-font-size) * 1.15);
  margin-top: 1rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .text-formatted h4 {
    font-size: calc(var(--bs-body-font-size) * 1.5);
  }
}
