body {
  background-color: #f2f7f1;
  font-family: Arial, sans-serif;
}

a.youtube {
  color: #4b8f29; /* Vert nature */
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s, background-color 0.3s;
  padding: 4px 8px;
  border-radius: 5px;
}

a.youtube:hover {
  color: #ffffff;
  background-color: #4b8f29; /* Vert plus prononcé au survol */
}

a.youtube:active {
  color: #3a6e20;
  background-color: #e0f3d4; /* Fond doux pour un effet pressé */
}

a.youtube:focus {
  outline: 2px solid #a2d4a2; /* Contour doux pour l'accessibilité */
}

/* Container */
.resolution-buttons {
    display: flex;
    gap: 10px;
}

.btn-reso {
    background-color: #a2d4a2; /* Vert doux */
    color: #2f4f2f; /* Texte vert foncé */
    padding: 5px 10px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-reso:hover {
    background-color: #4b8f29; /* Vert plus foncé au survol */
    color: #ffffff; /* Texte blanc */
}

.btn-reso:active {
    background-color: #3a6e20; /* Vert foncé pour le clic */
    transform: scale(0.95); /* Léger effet de pression */
}

.btn-reso:focus {
    outline: 2px solid #a2d4a2; /* Contour naturel pour accessibilité */
}

.article-container {
  margin: 0rem auto;
  max-width: 1200px;
}
.article-row {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.article-img, .article-video {
    width: 100%; /* Remplir la largeur du conteneur */
    max-height: 300px; /* Hauteur maximale */
    object-fit: cover; /* Éviter les déformations en rognant les bords */
    border-radius: 10px 0 0 10px; /* Coins arrondis à gauche */
}
.article-content {
    padding: 1.5rem;
}
.article-date {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-weight: 500;
}
.article-title {
  color: #2e7d32;
  font-weight: bold;
    font-size: 1.4rem;
}
.justified-text {
  text-align: justify;
}
.article-text {
  color: #3c3c3c;
}
.btn-read-more {
    background-color: #81c784;
    color: white;
    border: none;
}
.btn-read-more:hover {
    background-color: #66bb6a;
}

.btn-reso.selected {
  background-color: #388e3c;
  color: white;
}
