/* ====================================================================
   STYLE POUR LES ARTICLES DE BLOG
   ==================================================================== */

/* Containers */
.article-content {
  padding: 2rem;
}
.content {
  padding: 0; /* container padding handled by blog.css */
}

.article-header {
  margin-bottom: 2rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.article-content h1,
.content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.article-content .subtitle,
.content .subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0;
}

.article-banner { margin-top: 2rem; }

.article-content section,
.content section { margin-bottom: 2rem; }

.article-content h2,
.content h2 {
  font-size: 1.8rem;
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
}

.article-content h3,
.content h3 {
  font-size: 1.25rem;
  margin-top: 1.6rem;
  margin-bottom: 0.4rem;
}

.article-content p,
.article-content ul,
.article-content ol,
.content p,
.content ul,
.content ol {
  line-height: 1.7;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.article-content ul,
.article-content ol,
.content ul,
.content ol { padding-left: 1.5rem; }

.article-content li,
.content li { margin-bottom: 0.5rem; }

.article-content blockquote,
.content blockquote {
  border-left: 3px solid rgba(124, 58, 237, 0.8);
  padding-left: 1rem;
  margin: 1.6rem 0;
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
}

.article-content hr,
.content hr {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

.cta-block {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  margin-top: 2rem;
}

.cta-block h3 { margin-top: 0; }

.cta-block .btn { margin-top: 1rem; }

/* === Additions for standardized article layout === */
.cover-image-placeholder {
  height: 360px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-top: 12px;
}

.final-cta {
  background: rgba(124, 58, 237, 0.12);
  border: 1px solid rgba(124, 58, 237, 0.35);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  margin-top: 28px;
}

.cta-button {
  display: inline-block;
  padding: 12px 16px;
  border-radius: 10px;
  background: #7c3aed;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.cta-button:hover { filter: brightness(1.08); }

.table-container {
  overflow-x: auto;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
}

.table-container table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
}

.table-container th,
.table-container td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.table-container thead th { background: rgba(255, 255, 255, 0.06); }

a.disabled {
  pointer-events: none;
  opacity: 0.65;
  text-decoration: none;
}

/* FAQ */
.faq { margin-top: 1.2rem; }
.faq-item { border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 12px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item h3 { margin: 0 0 6px; font-size: 1.05rem; }
.faq-item p { margin: 0; color: rgba(255, 255, 255, 0.8); }

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 800px) {
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
}
.testimonial-grid .card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px;
}

@media (max-width: 640px) {
  .cover-image-placeholder {
    height: 220px;
  }
}
