.ia-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  border: 8px solid #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  border-radius: 4px;
}
.art-box .container {
  max-width: 800px;
  margin: 40px auto;
  background: var(--container-bg);
  padding: 40px 60px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}
.art-box h1 {
  color: var(--accent-color);
  font-size: 2.2em;
  margin-bottom: 0.5em;
  line-height: 1.2;
}
.art-box h2 {
  color: var(--accent-color);
  margin-top: 1.5em;
  border-bottom: 2px solid #eee;
  padding-bottom: 10px;
}
.art-box .subtitle {
  font-size: 1.2em;
  color: #666;
  font-style: italic;
  margin-bottom: 2em;
  border-left: 4px solid var(--highlight-color);
  padding-left: 15px;
}
.art-box p {
  margin-bottom: 1.5em;
}
.art-box strong {
  color: var(--highlight-color);
}
.art-box ul {
  margin-bottom: 1.5em;
}
.art-box li {
  margin-bottom: 0.5em;
}
.art-box footer {
  text-align: center;
  font-size: 0.9em;
  color: #888;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}
.art-box .protocol-box {
  background-color: #2c3e50;
  color: #ecf0f1;
  padding: 25px;
  border-radius: 8px;
  margin: 30px 0;
  font-family: "Consolas", "Monaco", monospace;
  border-left: 5px solid #e74c3c;
}
.art-box .protocol-box h3 {
  color: #e74c3c;
  margin-top: 0;
  border-bottom: 1px solid #7f8c8d;
  padding-bottom: 10px;
  font-size: 1.2em;
}
.art-box .step {
  margin-bottom: 20px;
}
.art-box .step-title {
  display: block;
  font-weight: bold;
  color: #3498db;
  margin-bottom: 5px;
  text-transform: uppercase;
}

/* --- Styles pour l'Index (Cards) --- */
.art-box .article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.art-box .article-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  overflow: hidden;
  border: 1px solid #eee;
}

.art-box .article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.art-box .card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.art-box .card-image {
  height: 200px;
  overflow: hidden;
  background-color: #eee;
  border-bottom: 1px solid #eee;
}

.art-box .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.art-box .article-card:hover .card-image img {
  transform: scale(1.05);
}

.art-box .card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-box .card-content h2 {
  font-size: 1.3em;
  margin-top: 0;
  margin-bottom: 15px;
  color: var(--accent-color);
  border-bottom: none;
  padding-bottom: 0;
  line-height: 1.3;
}

.art-box .card-content p {
  font-size: 0.95em;
  color: #666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.art-box .read-more {
  color: var(--highlight-color);
  font-weight: bold;
  font-size: 0.9em;
  margin-top: auto;
  display: inline-block;
}

/* --- Engagement Section (Likes & Comments) --- */
.art-box .engagement-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.art-box .like-container {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 40px;
}

.art-box .like-button {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.art-box .like-button:hover {
  transform: scale(1.1);
}

.art-box .like-icon {
  width: 32px; /* Ajustement de la taille */
  height: auto;
}

.art-box .like-count {
  font-weight: bold;
  color: var(--highlight-color);
  font-size: 1.1em;
}

.art-box .comments-section h3 {
  color: var(--accent-color);
  margin-bottom: 20px;
  border-bottom: none;
}

.art-box .comment {
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 4px solid #ddd;
}

.art-box .comment-author {
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 5px;
  display: block;
}

.art-box .comment-text {
  color: #555;
  font-size: 0.95em;
  margin: 0;
}
