body {
  background-color: var(--color-light-beige);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  font-family: var(--title-font-family);
  color: var(--main-color-green);
}

h1,
.h1 {
  font-size: var(--font-size-h1);
  margin-bottom: 2rem;
}

h2,
.h2 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
}

h3,
.h3 {
  font-size: var(--font-size-h3);
  margin-bottom: 1rem;
}

h4,
.h4 {
  font-size: var(--font-size-h4);
  margin-bottom: 1rem;
}

a {
  color: var(--main-color-black);
  text-decoration: none;
}

section {
  margin-bottom: 5rem;
}

.content-area {
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (max-width: 1200px) {
  .content-area {
    padding: 0 2rem;
  }
}
.article-main {
  background-color: var(--main-color-white);
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 1rem;
}

.entry-category {
  margin-bottom: 1rem;
}

.category-name {
  border-bottom: 1px solid var(--main-color-green);
}

.entry-header {
  padding-bottom: 2rem;
}

#ez-toc-container {
  margin-bottom: 2rem;
  border-radius: 0.5em;
}

p,
.wp-block-list {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.wp-block-list {
  padding-left: 2rem;
}

/* Article précédent/suivant */
.post-nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--main-color-green);
  gap: 2rem;
}

.post-nav-flex a:hover {
  color: var(--hover-color);
}

.nav-box {
  flex: 1;
  min-height: 4em;
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.nav-label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.5em;
}

.nav-box a {
  text-decoration: none;
  line-height: 1.6;
}

.nav-box a:hover {
  text-decoration: none;
}

.nav-separator {
  width: 1px;
  background-color: var(--main-color-green);
  margin: 0 1rem;
  align-self: stretch;
}

@media (max-width: 768px) {
  .post-nav-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-separator {
    display: none;
  }

  .nav-prev,
  .nav-next {
    text-align: left;
    margin-top: 1.5rem;
  }

  .nav-next {
    text-align: right;
  }
}
