/**
 * Typographie - Contre la traite
 * Drupal 11 - Migration des styles typographiques
 */

/* Polices de base */
body {
  font-family: var(--font-family-primary);
}

/* Liens */
.node a {
  color: var(--color-red);
}

.node h2 a,
a {
  color: var(--color-black);
  font-family: var(--font-family-primary)!important;

}

h2 a {
  text-decoration: none;
}

/* Titre de page */
.page-title {
  text-transform: uppercase;
  font-size: 25px;
  font-family: var(--font-family-bold);
}

/* Paragraphes des articles */
article p,
article {
  font-size: 15px;
  line-height: 20px;
}

/* Titres dans les grilles de vues */
.views-view-grid h2 {
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  height: 40px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: block;
  margin-top: 0;
  margin-bottom: var(--spacing-xs);
}


/* Citations */
blockquote {
  position: relative;
  padding: var(--spacing-lg);
  max-width: 700px;
  margin: auto;
}

blockquote p {
  position: relative;
  font-size: 17px;
  line-height: 17pt;
  font-style: italic;
  font-family: Georgia, serif;
  text-align: center;
  color: var(--color-red);
}

blockquote::before,
blockquote::after {
  content: '"';
  font-family: Georgia, serif;
  position: absolute;
  left: -10px;
  top: 10px;
  color: #a5a5a5;
  font-size: 42px;
}

blockquote::after {
  content: '"';
  right: -6px;
  left: inherit;
}

/* Chapeaux et introductions */
.field--name-field-introduction p,
article h3 {
  font-size: 20px;
  font-weight: bold;
  color: var(--color-red);
  line-height: 23px;
}

article h4 {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: bold;
  font-size: 17px;
  margin-bottom: 0;
}

article p {
  margin-top: 0;
  margin-bottom: var(--spacing-md);
}

/* Résultats de recherche */
.search-result__title a {
  color: var(--color-black);
}

/* Corps de texte */
.field--name-body {
  max-width: var(--layout-container-min-width);
}

/* Introduction en gras */
.field--name-field-introduction {
  font-weight: bold;
}