/* Texte général */
body {
  color: #2f3a2f;
  background: #fbfaf5;
}

/* Liens */
a {
  color: #4a7c3a;
}
a:hover, a:focus {
  color: #2e5524;
}

/* Barre de navigation */
.navbar-custom {
  background: #4a7c3a;
  border-bottom-color: #3b6430;
}
.navbar-custom .navbar-brand,
.navbar-custom .nav-link,
[data-theme="dark"] .navbar-custom .navbar-brand,
[data-theme="dark"] .navbar-custom .nav-link {
  color: #ffffff;
}
.navbar-custom .navbar-brand:hover,
.navbar-custom .navbar-brand:focus,
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link:focus,
[data-theme="dark"] .navbar-custom .navbar-brand:hover,
[data-theme="dark"] .navbar-custom .nav-link:hover {
  color: #e8d9a8;
}

/* Pied de page */
footer {
  background: #eef0e6;
  border-top-color: #d6dccb;
}

/* Boutons */
.btn-primary, .pager li a {
  background: #4a7c3a;
  border-color: #4a7c3a;
  color: #fff;
}
.btn-primary:hover, .pager li a:hover {
  background: #2e5524;
  border-color: #2e5524;
}
/* Taille du texte du menu */
.navbar-custom .nav-link,
.navbar-custom .dropdown-item {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Taille du titre principal (en-tête des pages) */
.intro-header .page-heading h1,
.intro-header .page-heading .h1,
.intro-header .tags-heading h1,
.intro-header .categories-heading h1,
.intro-header .search-heading h1 {
  font-size: 32px;
}
@media only screen and (min-width: 768px) {
  .intro-header .page-heading h1,
  .intro-header .page-heading .h1,
  .intro-header .tags-heading h1,
  .intro-header .categories-heading h1,
  .intro-header .search-heading h1 {
    font-size: 44px;
  }
}

/* Texte des articles */
body {
  font-size: 16px;
}
.post-preview .post-meta,
.post-heading .post-meta,
.page-meta {
  font-size: 14px;
}

/* Titres dans le contenu d'un article */
.blog-post h1 { font-size: 1.75rem; }
.blog-post h2 { font-size: 1.5rem; }
.blog-post h3 { font-size: 1.25rem; }
.blog-post h4 { font-size: 1.1rem; }

/* Titre d'un article (en-tête) et sous-titre */
.intro-header .post-heading h1,
.intro-header .post-heading .h1 {
  font-size: 28px;
}
.intro-header .page-heading .page-subheading,
.intro-header .post-heading .post-subheading {
  font-size: 20px;
}

/* Titres des articles dans la liste (page d'accueil) */
.post-preview .post-title {
  font-size: 22px;
}

@media only screen and (min-width: 768px) {
  .intro-header .post-heading h1,
  .intro-header .post-heading .h1 {
    font-size: 34px;
  }
  .post-preview .post-title {
    font-size: 26px;
  }
}

/* Pied de page */
footer {
  padding: 20px 0;
  font-size: 12px;
}
footer .footer-links {
  font-size: 14px;
}
footer .fa-stack.fa-lg {
  font-size: 0.9em;
}
footer .copyright {
  font-size: 12px;
}
footer .theme-by {
  margin-top: 5px;
}
@media only screen and (min-width: 768px) {
  footer {
    padding: 25px 0;
  }
  footer .footer-links {
    font-size: 14px;
  }
  footer .copyright {
    font-size: 13px;
  }
}

/* Image avec texte à côté : {{< figure ... class="img-gauche" >}} ou "img-droite" */
.box.img-gauche {
  float: left;
  margin: 0.3rem 1.5rem 1rem 0;
}
.box.img-droite {
  float: right;
  margin: 0.3rem 0 1rem 1.5rem;
}
.box.img-gauche figure,
.box.img-droite figure {
  margin: 0;
}
/* Les titres de section repassent toujours sous l'image */
.blog-post h2 {
  clear: both;
}
@media only screen and (max-width: 576px) {
  .box.img-gauche,
  .box.img-droite {
    float: none;
    margin: 0 auto 1rem;
  }
}
