/* Styles globaux */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Conteneur général */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
.site-header {
  padding: 20px 0;
}

.site-name {
  float: left;
}

.site-nav {
  float: right;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav ul li {
  display: inline-block;
  margin-left: 20px;
}

.site-nav ul li a {
  text-decoration: none;
  color: inherit; /* Utilise la couleur du header */
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 20px;
  background-color: #f8f8f8;
  color: #333;
}
/* Styles pour la section des articles */
.posts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Trois colonnes flexibles */
  gap: 20px; /* Espacement entre les articles */
}

.post-item {
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  text-align: center;
}

.post-item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 10px;
}

.post-item h3 {
  font-size: 1.5em;
  margin: 10px 0;
}

.post-item p {
  font-size: 1em;
  color: #666;
}
/* Styles pour les articles de blog */
.blog-post {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.blog-post h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #333;
}

.featured-image {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
}

.post-content {
  font-size: 1.2em;
  line-height: 1.6;
  color: #555;
}

.post-content p {
  margin-bottom: 20px;
}

.post-content a {
  color: #007bff;
  text-decoration: underline;
}

.rss-feed h2 {
  font-size: 1.8em;
  margin-top: 40px;
}

.rss-feed ul {
  list-style-type: none;
  padding: 0;
}

.rss-feed ul li {
  margin-bottom: 10px;
}

.rss-feed ul li h3 a {
  font-size: 1.2em;
  color: #007bff;
}

.rss-feed ul li p {
  font-size: 1em;
  color: #666;
}

