/* ==========================================================
   EPISTEMETHIKOS — FEUILLE DE STYLE PRINCIPALE
   ========================================================== */


/* ==========================================================
   1. TYPOGRAPHIE GÉNÉRALE
   ========================================================== */

html,
body,
button,
input,
select,
textarea,
.navbar,
.navbar *,
.nav-footer,
.nav-footer * {
  font-family: Georgia, serif !important;
}


/* ==========================================================
   2. NAVBAR
   ========================================================== */

.navbar {
  background-color: #0d6efd !important;
  font-size: 17px !important;
}

/* Supprime le titre texte "Epistemethikos" */
.navbar-title {
  display: none !important;
}

/* Logo navbar */
.navbar-brand img {
  height: 50px !important;
  max-height: none !important;
  width: auto !important;
}

/* Texte et liens navbar */
.navbar,
.navbar a,
.navbar-brand,
.navbar-nav .nav-link,
.navbar .nav-link {
  color: white !important;
}

/* Icônes navbar : loupe, maison, dark/light, etc. */
.navbar svg,
.navbar i,
.navbar .bi,
.quarto-search-button,
.quarto-color-scheme-toggle,
.quarto-color-scheme-toggle *,
.aa-DetachedSearchButtonIcon {
  color: white !important;
  fill: white !important;
  stroke: white !important;
}

/* Bouton hamburger */
.navbar-toggler {
  border-color: white !important;
}

.navbar-toggler-icon {
  filter: invert(1) brightness(2) !important;
}

/* Bouton light/dark plus visible */
.quarto-color-scheme-toggle {
  border: 1px solid white !important;
  border-radius: 999px !important;
  padding: 4px 8px !important;
  margin-left: 8px !important;
}


/* ==========================================================
   3. FOOTER
   ========================================================== */

footer.footer,
.nav-footer {
  background-color: #0d6efd !important;
  color: white !important;
}

/* Colonnes du footer */
.nav-footer-left,
.nav-footer-center,
.nav-footer-right {
  background-color: #0d6efd !important;
  color: white !important;
}

.footer-small {
    font-size: 14px !important;
    font-family: Georgia, serif !important;
    color: white !important;
}

.footer-small a {
    color: white !important;
    text-decoration: none;
}

.footer-small a:hover {
    text-decoration: underline;
}

/* Image du footer */
.nav-footer img {
  max-height: 55px !important;
  width: auto !important;
}


/* ==========================================================
   4. CONTENU
   ========================================================== */

html {
  font-size: 18px;
}
body {
  font-size: 18px;
  font-family: Georgia, serif !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, serif !important;
}

/* Titres */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Georgia, serif;
  font-weight: bold;
}

h1 {
    font-size: 1.6rem;
    margin-top: 2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.4rem;
}

h4 {
    font-size: 1.3rem;
}

h5 {
    font-size: 1.2rem;
}

h6 {
    font-size: 1.1rem;
}


/* ==========================================================
   5. LARGEURS DU SITE
   ========================================================== */

/* Largeur générale du site */
#quarto-content {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Largeur du contenu principal */
main.content {
  width: 100% !important;
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Évite que les pages simples deviennent trop étroites */
.page-columns,
.page-layout-article,
.content {
  max-width: 1200px !important;
}

/* Navbar et footer : contenu limité, fond plein écran */
.navbar .container-fluid,
.nav-footer {
  max-width: 1300px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.navbar .container-fluid,
.nav-footer {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

footer.footer {
  background-color: #0d6efd !important;
}

.navbar {
  background-color: #0d6efd !important;
}

/* ==========================================================
   FOOTER : alignement vertical
   ========================================================== */

.nav-footer {
  display: flex;
  align-items: center;      /* Centre verticalement */
  justify-content: space-between;
}

/* Les trois colonnes */
.nav-footer-left,
.nav-footer-center,
.nav-footer-right {
  display: flex;
  align-items: center;
}

.nav-footer p {
  margin: 0;
}


/* ==========================================================
   TITRE DES PAGES (title: du YAML)
   ========================================================== */

h1.title {
  font-family: Georgia, serif !important;
  font-size: 1.9rem !important;
  font-weight: 700 !important;
  text-align: center !important;
}


h2 {
  border-bottom: none !important;
}

/* ==========================================================
   SOUS-TITRE DES ARTICLES
   ========================================================== */

.quarto-title .subtitle,
#title-block-header .subtitle {
  font-family: Georgia, serif !important;
  font-size: 1.4rem !important;
  font-style: italic !important;
  font-weight: 700 !important;   /* Gras */
  text-align: center !important;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}



/* ==========================================================
   DESCRIPTION
   ========================================================== */

.quarto-title .description,
#title-block-header .description {
  font-family: Georgia, serif !important;
  font-size: 1.2rem !important;
  font-style: italic !important;
  font-weight: 400 !important;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

/* ==========================================================
   AUTEUR(S)
   ========================================================== */

/* Nom(s) des auteurs */
.quarto-title-meta-contents p {
  font-family: Georgia, serif !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  margin: 0,1rem 0 !important;
}

/* ==========================================================
   ESPACEMENT DU BLOC TITRE
   ========================================================== */

/* Titre */
.quarto-title h1,
h1.title {
  margin-bottom: 1.5rem !important;
}

/* Sous-titre */
.quarto-title .subtitle,
#title-block-header .subtitle {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

/* Description */
.quarto-title .description,
#title-block-header .description {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

/* Bloc auteurs / date / catégories */
.quarto-title-meta {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
}

/* Début du texte de l'article */
#quarto-document-content {
  margin-top: 1.5rem !important;
}

