@font-face {
  font-family: 'Golos', sans-serif;
  src: url('../fonts/GolosText-Regular.ttf');
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: 'Figtree', sans-serif;
  src: url('../fonts/Figtree-Regular.ttf');
  font-weight: 400;
  font-style: normal;
}

:root {
  --md-primary-fg-color: #1D335D;
  --md-accent-fg-color: #86A0CB;

  --md-typeset-color: #1D335D;
  --md-typeset-a-color: #86A0CB;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-weight: 500;
  font-family: 'Golos', sans-serif;
  color: #1D335D;
}

.md-typeset {
  font-family: 'Figtree', sans-serif;
}

.md-typeset a {
  color: #2F54A1;
  font-weight: bold;
}

.md-typeset a:hover {
  color: #BED1ED;
  font-weight: bold;
}

/* Disable site_name as nav__title */
.md-nav__title {
    display: none;
}

.subsection-title {
  color: #1D335D;
    font-size: 1.2em;
    /* font-weight: bold; */
    display: block;
    margin-top: 1em;
    margin-bottom: 0.5em;
}

/* Texte principal des admonitions */
.md-typeset .admonition-content {
    font-size: 1rem !important;  /* 1rem = taille standard du texte */
    line-height: 1.6 !important;
}

/* Titre de l'admonition */
.md-typeset .admonition-title {
    font-size: 16px;
}

li {
      font-size: 16px;
}

p {
    font-size: 16px;
}

.centered-figure {
  text-align: center;
}

.centered-figure img {
  display: inline-block; /* centre l’image */
}

.inline-icon {
    width: 1em;       /* taille de l'icône, proportionnelle au texte */
    height: 1em;
    vertical-align: middle; /* pour être aligné avec le texte */
}

/* Match par URL du lien dans la sidebar */
.md-nav__link[href$="section-introduction/"],
.md-nav__link[href$="section-introduction.html"],
.md-nav__link[href$="section-introduction.md"] {
  font-style: italic;
  color: #2F54A1;
}

/* .md-nav__link[href$="section-introduction/"]:hover,
.md-nav__link[href$="section-introduction.html"]:hover,
.md-nav__link[href$="section-introduction.md"]:hover {
  color: var(--md-accent-fg-color);
} */