:root {
  --primary-color: #dc3545;
  --text-color: #333;
  --bg-color: #fff;
  --gris: #f8f9fa;
  --serif-font: Garamond, serif;
  --sans-font: 'Open Sans', sans-serif;
}

/* Base Styles */
body {
  font-family: var(--serif-font);
  color: var(--text-color);
  background-color: var(--bg-color);
  margin: 0;
  line-height: 1.6;
  font-size: 16px;
}

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

/* Header */
header {
  background-color: white;
  padding: 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.header-content, .navigation ul {
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--sans-font);
  font-weight: bold;
  font-size: 1.8rem;
  color: var(--primary-color);
}

.sommaire {
  display: flex;
  gap: 1.5rem;
  font-family: var(--sans-font);
  font-size: 0.9rem;
}

/* Navigation */
.navigation {
  background-color: var(--primary-color);
  padding: 0.8rem 0;
}

.navigation ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
}

.navigation li {
  margin: 0 1.5rem;
}

.navigation a {
  color: white;
  text-decoration: none;
  font-family: var(--sans-font);
  font-weight: bold;
  transition: opacity 0.3s;
}

.navigation a:hover {
  opacity: 0.8;
}
.menu-lateral {
  width: 200px;
  background-color: whitesmoke;
  padding: 20px;
  box-sizing: border-box;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  min-height: 60vh;
}

/* News Grid Layout */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.main-article-container {
  grid-column: 1 / span 3;
}

.left-column, .right-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bottom-articles {
  grid-column: 1 / span 3;
}

/* Article Cards */
.main-article, .news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.main-article:hover, .news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.main-article img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.news-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.main-article-content, .news-card-content {
  padding: 1.5rem;
}

.main-article h3 {
  font-size: 2rem;
}

.tag {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: bold;
  text-transform: uppercase;
}

/* Buttons */
.btn {
  transition: all 0.3s;
}

.btn-danger {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-danger {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Newsletter & Social */
.bg-light {
  background-color: var(--gris) !important;
  text-align: center;
  padding: 2rem 1rem;
}

.social-widget {
  border-top: 2px solid var(--primary-color);
  padding-top: 1rem;
}

.social-icon {
  transition: transform 0.3s;
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  margin: 0 0.5rem;
}

.social-icon:hover {
  transform: scale(1.2);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: white;
  padding: 2rem 0;
  text-align: center;
}
 

