/* Style général pour l'article */

#block-stark-content{
  margin-top: 80px;
  margin-bottom:80px;
}

#block-stark-content article footer{
  display:none;
}

article[data-history-node-id] {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Roboto', Arial, sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
  padding-bottom: 2rem;
}

/* En-tête de l'article */
article[data-history-node-id] footer {
  background-color: #f8f9fa;
  padding: 1rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.9rem;
  color: #6c757d;
}

article[data-history-node-id] footer div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

article[data-history-node-id] footer span span {
  font-weight: 600;
  color: #0056b3;
}

article[data-history-node-id] footer time {
  font-style: italic;
}

/* Corps de l'article */
article[data-history-node-id] > div {
  padding: 0 1rem;
}

/* Image de l'article */
article[data-history-node-id] img {
  width: 70%;
  max-height: 450px;
  object-fit: cover;
  border-radius: 4px;
  margin: 1.5rem auto;
  display: block;
  transition: transform 0.3s ease;
}

article[data-history-node-id] img:hover {
  transform: scale(1.01);
}

/* Contenu textuel */
article[data-history-node-id] > div > div:nth-child(2) {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 1.5rem 0;
  color: #212529;
  text-align: justify;
}

/* Liens en bas de l'article */
.links.inline {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.links.inline li {
  font-size: 0.9rem;
}

.links.inline a {
  color: #0056b3;
  text-decoration: none;
  transition: color 0.2s ease;
}

.links.inline a:hover {
  color: #003d7a;
  text-decoration: underline;
}

/* Section des commentaires */
article[data-history-node-id] section {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e9ecef;
}

/* Responsive design */
@media (max-width: 768px) {
  article[data-history-node-id] {
    border-radius: 0;
    box-shadow: none;
  }
  
  article[data-history-node-id] > div > div:nth-child(2) {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Styles spécifiques pour le thème Telecom */
article[data-history-node-id] {
  border-top: 4px solid #0056b3;
}

article[data-history-node-id] footer {
  background-color: #f0f7ff;
}

/* Animation subtile au chargement */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

article[data-history-node-id] {
  animation: fadeIn 0.5s ease-out forwards;
}