/* =============================================================================
   ARTICLES - STYLES AMÉLIORÉS AVEC PLUS D'AIR ET DE COULEUR
   ============================================================================= */

/* ========== CARDS D'ARTICLES (LISTING) ========== */
.post-card {
  background-color: #fff;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(230, 44, 161, 0.15);
}

.post-card:hover .image img {
  transform: scale(1.08);
}

.post-card .image {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.post-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.post-card .image .category {
  position: absolute;
  bottom: 15px;
  left: 15px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.post-card .image .category .category-item {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: none;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--wp--preset--color--color-1);
}

.post-card .content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.post-card .content .title {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
  line-height: 1.3;
  color: var(--wp--preset--color--color-8);
}

.post-card .content .excerpt {
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: 400;
  color: #666;
  line-height: 1.6;
  flex-grow: 1;
}

.post-card .content .btn-color-1 {
  align-self: flex-start;
  padding: 10px 24px;
  font-size: 0.9rem;
  margin-top: auto;
}

/* ========== SINGLE ARTICLE - HEADER ========== */
.single-header {
  background: linear-gradient(135deg, #E62CA1 0%, #E62CA1 100%);
  color: white;
  padding: 60px 0 40px;
  margin-bottom: 0;
}

.single-header .breadcrumb {
  margin-bottom: 20px;
}

.single-header .breadcrumb a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s;
}

.single-header .breadcrumb a:hover {
  color: white;
}

.single-header .breadcrumb .separator {
  color: rgba(255, 255, 255, 0.6);
  margin: 0 8px;
}

.single-header .entry-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.single-header .entry-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.single-header .entry-meta i {
  opacity: 0.8;
}

.single-header .entry-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: white;
}

.single-header .entry-excerpt {
  font-size: 1.15rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 400;
  margin: 0;
}

/* ========== IMAGE MISE EN AVANT ========== */
.single-featured-image {
  margin: -30px 0 0 0;
  padding: 0 0 50px 0;
  background: linear-gradient(
    to bottom,
    #e62ca1 0%,
    #e62ca1 30px,
    #fff 30px,
    #fff 100%
  );
}

.featured-image-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.featured-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========== CONTENU DE L'ARTICLE ========== */
.single-content-wrapper {
  padding: 40px 0 60px;
  background-color: #fff;
}

.single .entry-content {
  line-height: 1.8;
  font-size: 17px;
  color: #333;
}

.single .entry-content p {
  margin-bottom: 1.5rem;
}

.single .entry-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--wp--preset--color--color-8);
  position: relative;
  padding-bottom: 10px;
}

.single .entry-content h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--wp--preset--color--color-1);
}

.single .entry-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--wp--preset--color--color-8);
}

.single .entry-content h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  color: var(--wp--preset--color--color-8);
}

.single .entry-content ul,
.single .entry-content ol {
  margin: 1.5rem 0;
  padding-left: 30px;
}

.single .entry-content li {
  margin-bottom: 0.8rem;
}

.single .entry-content blockquote {
  border-left: 4px solid var(--wp--preset--color--color-1);
  padding: 20px 30px;
  margin: 2rem 0;
  background: #f6f8f7;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #555;
}

.single .entry-content img {
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* ========== FOOTER DE L'ARTICLE (PARTAGE SOCIAL) ========== */
.entry-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.social-share {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.social-share .share-label {
  font-weight: 600;
  color: var(--wp--preset--color--color-8);
  margin-right: 10px;
}

.social-share .share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-share .share-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-share .share-btn.facebook {
  background: #1877f2;
}

.social-share .share-btn.twitter {
  background: #1da1f2;
}

.social-share .share-btn.linkedin {
  background: #0a66c2;
}

.social-share .share-btn.email {
  background: #666;
}

/* ========== RESPONSIVE ========== */

/* Desktop large */
@media (min-width: 1200px) {
  .single-header .entry-title {
    font-size: 3rem;
  }
}

/* Tablette */
@media (max-width: 1024px) {
  .single-header {
    padding: 50px 0 30px;
  }

  .single-header .entry-title {
    font-size: 2.2rem;
  }

  .single .entry-content {
    font-size: 16px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .single-header {
    padding: 40px 0 25px;
  }

  .single-header .entry-title {
    font-size: 1.8rem;
  }

  .single-header .entry-excerpt {
    font-size: 1rem;
  }

  .single-featured-image {
    margin-top: -20px;
    padding-bottom: 30px;
  }

  .single-content-wrapper {
    padding: 30px 0 40px;
  }

  .single .entry-content {
    font-size: 15px;
  }

  .single .entry-content h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
  }

  .single .entry-content h3 {
    font-size: 1.3rem;
  }

  .social-share {
    justify-content: center;
  }

  .social-share .share-label {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
}

@media (max-width: 576px) {
  .single-header .entry-title {
    font-size: 1.6rem;
  }

  .social-share .share-btn {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}
