/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BASE ===== */
body {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: #333;
  background: #f9f9f9;
}

a {
  color: #2a7ae2;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

sup {
  font-size: 0.75em;
  vertical-align: super;
}

/* ===== HEADER BANNER ===== */
.site-header {
  margin: 0;
  padding: 0;
}

.header-banner {
  background-image: url('/public/images/cropped-paysage-scaled-1.jpg');
  background-size: cover;
  background-position: center top;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.header-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.site-title {
  font-family: 'Source Sans Pro', sans-serif;
  font-style: normal;
  color: #fff;
  font-size: 3.5em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 10px;
  margin: 0;
  position: relative;
  z-index: 1;
}

.site-title a {
  font-family: 'Source Sans Pro', sans-serif;
  font-style: normal;
  color: #fff;
}

.site-tagline {
  color: #fff;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 1em;
  font-weight: 400;
  padding: 0.2em 0em;
  letter-spacing: 5px;
  text-transform: capitalize;
  margin-top: 0px;
  margin-bottom: 0px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  position: relative;
  z-index: 1;
}

/* ===== NAVIGATION ===== */
.site-nav {
  background: #2e7d32;
  padding: 0;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0;
  margin: 0 auto;
  padding: 0;
  max-width: 1100px;
  justify-content: center;
}

.site-nav a {
  display: block;
  padding: 12px 20px;
  color: #ffffff;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover {
  background: rgba(255,255,255,0.15);
  text-decoration: none;
}

/* ===== LAYOUT ===== */
.site-wrapper {
  display: flex;
  gap: 40px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
  align-items: flex-start;
}

.site-main {
  flex: 1;
  min-width: 0;
}

.site-sidebar {
  width: 260px;
  flex-shrink: 0;
}

/* ===== SIDEBAR ===== */
.widget {
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 16px 20px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.widget-title {
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
}

.widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
}

.widget ul li {
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
  line-height: 1.5;
}

.widget ul li:last-child {
  border-bottom: none;
}

/* ===== PAGE / POST CONTENT ===== */
.page-body p {
  margin-bottom: 24px;
}

.page-content,
.post-content {
  max-width: 720px;
}

.page-title,
.post-title {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 8px;
  line-height: 1.3;
}

.post-subtitle {
  font-size: 1.1rem;
  font-weight: normal;
  color: #555;
  margin-bottom: 20px;
  text-align: center;
}

.post-meta {
  font-size: 0.85rem;
  color: #888;
  font-family: Arial, sans-serif;
  margin-bottom: 24px;
}

.post-body h2 {
  font-size: 1.4rem;
  color: #222;
  margin: 32px 0 12px;
  padding-bottom: 4px;
  border-bottom: 1px solid #eee;
}

.post-body h3 {
  font-size: 1.15rem;
  color: #333;
  margin: 24px 0 10px;
}

/* Titres h3 verts dans les articles */
.post-body h3.heading-green {
  color: #029d0a;
}

.post-body p {
  margin-bottom: 16px;
}

.post-body ul {
  margin: 0 0 16px 24px;
}

.post-body ul li {
  margin-bottom: 6px;
}

.post-body figure {
  margin: 24px auto;
  text-align: center;
}

.post-body figcaption {
  font-size: 0.85rem;
  color: #777;
  font-style: italic;
  margin-top: 8px;
}

/* Figures flottantes à droite */
.post-body figure.alignright {
  float: right;
  margin: 0 0 20px 28px;
  max-width: 320px;
  text-align: center;
}

/* Figures centrées */
.post-body figure.aligncenter {
  float: none;
  margin: 24px auto;
  max-width: 100%;
}

/* Clearfix après les floats */
.post-body::after {
  content: '';
  display: table;
  clear: both;
}

.post-footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid #eee;
  font-size: 0.9rem;
  color: #666;
  font-style: italic;
  clear: both;
}

/* ===== COULEURS THÉMATIQUES ===== */
.green-text {
  color: #13ab43;
}

/* ===== HOME ===== */
.home-content p {
  margin-bottom: 16px;
}

.coming-soon-box {
  background: #f0f7ff;
  border-left: 4px solid #2a7ae2;
  padding: 16px 20px;
  margin-top: 24px;
  font-style: italic;
  font-size: 0.95rem;
}

/* ===== ARTICLES LIST ===== */
.articles-list {
  list-style: none;
  padding: 0;
}

.articles-list li {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.articles-list li a {
  font-size: 1.1rem;
  font-weight: bold;
}

.post-date {
  display: block;
  font-size: 0.82rem;
  color: #999;
  font-family: Arial, sans-serif;
  margin: 4px 0 8px;
}

.post-excerpt {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #222;
  color: #aaa;
  text-align: center;
  padding: 18px 20px;
  font-size: 0.85rem;
  font-family: Arial, sans-serif;
  margin-top: 40px;
}

.site-footer a {
  color: #7ab8f5;
}
