/* Styles pour la page d'article individuel */

/* Structure principale */
.blog-area.single.full-blog {
  padding: 80px 0;
}

.blog-content {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Boîte de l'article */
.blog-item-box {
  overflow: hidden;
}

/* Image principale */
.blog-item-box .thumb {
  position: relative;
  overflow: hidden;
}

.blog-item-box .thumb img {
  width: 100%;
  transition: all 0.7s ease;
}

.blog-item-box:hover .thumb img {
  transform: scale(1.05);
}

/* Contenu de l'article */
.blog-item-box .info {
  padding: 30px;
}

/* Méta-informations */
.meta {
  margin-bottom: 20px;
}

.meta ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.meta ul li {
  margin-right: 20px;
  position: relative;
}

.meta ul li:last-child {
  margin-right: 0;
}

.meta ul li a {
  color: #666;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.meta ul li a i {
  margin-right: 5px;
  color: #7476FF;
}

/* Contenu textuel */
.blog-item-box .info p {
  margin-bottom: 20px;
  line-height: 1.8;
  color: #555;
  font-size: 16px;
}

.blog-item-box .info p[style="color:black"] {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 15px;
  color: #000 !important;
}

.blog-item-box .info p[style="color:black"]:first-child {
  margin-top: 0;
}

/* Tags et partage */
.post-tags.share {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px;
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  margin: 30px 0;
}

.tags h4, .social h4 {
  display: inline-block;
  margin-right: 10px;
  font-size: 16px;
  font-weight: 600;
}

.tags a {
  display: inline-block;
  padding: 5px 15px;
  background: rgba(116, 118, 255, 0.1);
  color: #7476FF;
  border-radius: 30px;
  margin-right: 5px;
  font-size: 13px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.tags a:hover {
  background: #7476FF;
  color: #fff;
}

.social ul {
  display: inline-flex;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social ul li {
  margin-left: 10px;
}

.social ul li a {
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: #f5f5f5;
  color: #333;
  transition: all 0.3s ease;
}

.social ul li a.facebook:hover {
  background: #3b5999;
  color: #fff;
}

.social ul li a.twitter:hover {
  background: #1da1f2;
  color: #fff;
}

.social ul li a.pinterest:hover {
  background: #bd081c;
  color: #fff;
}

.social ul li a.linkedin:hover {
  background: #0077b5;
  color: #fff;
}

/* Navigation entre articles */
.post-pagi-area {
  display: flex;
  justify-content: space-between;
  padding: 30px;
}

.post-previous, .post-next {
  width: 48%;
}

.post-previous a, .post-next a {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.post-previous a:hover, .post-next a:hover {
  background: #f0f0f0;
}

.post-previous .icon, .post-next .icon {
  font-size: 20px;
  color: #7476FF;
  margin: 0 15px;
}

.nav-title {
  font-size: 14px;
  color: #666;
}

.nav-title h5 {
  margin: 5px 0 0;
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.post-previous a {
  text-align: left;
}

.post-next a {
  text-align: right;
  flex-direction: row-reverse;
}

/* Animation */
.wow {
  visibility: visible !important;
}

.fadeInUp {
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 767px) {
  .post-tags.share {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .social {
    margin-top: 20px;
  }
  
  .post-pagi-area {
    flex-direction: column;
  }
  
  .post-previous, .post-next {
    width: 100%;
    margin-bottom: 15px;
  }
}
