/* Typographie de la charte SVT-CONGO dans l'administration : Montserrat pour tout le texte. */

@font-face {
  font-family: 'Montserrat';
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Montserrat-Medium.54adff02f593.woff2") format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/Montserrat-SemiBold.a01b73df2b95.woff2") format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/Montserrat-Bold.161e2806071c.woff2") format('woff2');
}

:root {
  --font-sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font-sans);
  font-weight: 500;
}

h1, h2, h3, .font-semibold {
  letter-spacing: -0.01em;
}

/* Le logo horizontal avec slogan est plus large que haut : on lui laisse la place */
#site-logo img, .site-logo img {
  height: auto;
  max-height: 44px;
  max-width: 220px;
}

/* Éditeur riche : rendu lisible et proche du site */
trix-editor {
  min-height: 16rem;
  line-height: 1.6;
}
trix-editor h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
}
trix-editor ul, trix-editor ol {
  padding-left: 1.5rem;
}
trix-editor ul { list-style: disc; }
trix-editor ol { list-style: decimal; }
trix-editor a { color: #0a7fd1; text-decoration: underline; }
trix-editor blockquote {
  border-left: 3px solid #0a7fd1;
  margin: 0.75rem 0;
  padding-left: 0.75rem;
  color: #5b6670;
}

/* Vignettes dans les listes */
.results img[loading="lazy"] {
  display: inline-block;
}

/* Menu utilisateur (bas de la barre latérale) : les trois thèmes en colonne, comme les autres entrées,
   car « Clair / Sombre / Système » côte à côte débordent du panneau */
.svt-theme-switch a {
  align-items: center;
  width: 100%;
}
.svt-theme-switch a .material-symbols-outlined {
  font-size: 20px;
}
