/* Style général */
.article-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgb(25, 32, 36);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

/* Header d'article inspiré Kayak */
.article-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background: rgb(249, 250, 251);
}

@media (max-width: 768px) {
  .article-header {
    display: contents;
  }
}

.article-header-grid {
  display: contents;
}

.article-header-content {
  z-index: 2;
  margin-left: 3rem;
  margin-top: 3rem;
}

.article-header-image img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: cover;
}

.article-category {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  color: rgb(25, 32, 36);
  margin-bottom: 1rem;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: rgb(25, 32, 36);
  margin-bottom: 2rem;
}

.article-meta {
  display: flex;
  flex-direction: column;
}

.article-duration {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  gap: 0.75rem; /* équivalent à mr-3 */
  color: rgb(25, 32, 36)
}

.article-author-meta {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  gap: 0.75rem; /* équivalent à mr-3 */
}

.author-avatar {
  width: 40px; /* w-10 */
  height: 40px; /* h-10 */
  border-radius: 9999px; /* rounded-full */
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 0.875rem; /* text-sm */
  font-weight: 500;     /* font-medium */
  color: rgb(25, 32, 36);
}

.author-date {
  font-size: 0.875rem;
  color: rgb(25, 32, 36);
}

/* Contenu d'article */
.article-body {
  max-width: 720px;        /* ou 800px si tu veux plus large */
  margin: 0 auto;          /* centre horizontalement */
  padding: 1rem;           /* un peu d'espace autour */
  text-align: left;        /* ou "center" si tu veux centrer aussi le texte */
  margin-top: 2rem;
}

.article-excerpt {
  box-sizing: border-box;
  color: rgb(25, 32, 36);
  display: inline;
  align-items: center;
  font-family: "TT Hoves Variable", "", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-feature-settings: "ss04", "ss05";
  font-size: 24px;
  font-variant-ligatures: none;
  font-variation-settings: "slnt" 0;
  font-weight: 600;
  height: auto;
  letter-spacing: normal;
  line-height: 32px;
  text-size-adjust: 100%;
  width: auto;
  -webkit-font-smoothing: antialiased;
}

.article-body p {
  margin-bottom: 1.5rem;
}

.article-body img {
  max-width: 100%;
  height: auto;
  margin: 2rem 0;
  border-radius: 8px;
}

.article-body h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: rgb(25, 32, 36);
}

/* Responsive */
@media (max-width: 768px) {
  .article-header {
    height: 400px;
    padding: 1rem;
  }
  
  .article-title {
    font-size: 1.8rem;
  }
}

/* Fichier table-style.css - Palette #1f2937 */

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 2rem 0;
  font-size: 0.95rem;
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(31, 41, 55, 0.08);
  font-family: 'Inter', -apple-system, sans-serif;
  color: #1f2937;
}

  /* Nouveaux styles pour rendre les tables responsive */
  .table-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling sur iOS */
    margin: 2rem 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(31, 41, 55, 0.08);
  }

  .table-container table {
    width: auto;
    min-width: 100%;
    margin: 0;
    box-shadow: none;
  }

  /* Empêcher le débordement sur petits écrans */
  @media (max-width: 400px) {
    .table-container {
      max-width: 100vw;
      margin-left: -15px;
      margin-right: -15px;
      border-radius: 0;
      box-shadow: none;
    }
    
    .table-container table {
      min-width: 400px; /* Largeur minimale pour garder la table lisible */
    }
  }

table thead {
  background: #1f2937;
  color: #f9fafb;
}

table th {
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

table td {
  padding: 14px 20px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: middle;
}

table tbody tr:last-child td {
  border-bottom: none;
}

table tbody tr:hover {
  background-color: #f3f4f6;
}

table a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px dashed #d1d5db;
  transition: all 0.2s ease;
}

table a:hover {
  color: #111827;
  border-bottom: 1px solid #1f2937;
}

/* Effets subtils pour les cellules */
table td:first-child {
  font-weight: 500;
}

/* Version sombre (optionnelle) */
.dark table {
  background: #111827;
  color: #f3f4f6;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.dark table thead {
  background: #111827;
  border-bottom-color: #374151;
}

.dark table td {
  border-bottom-color: #374151;
}

.dark table tbody tr:hover {
  background-color: #1f2937;
}

.dark table a {
  color: #f3f4f6;
  border-bottom-color: #4b5563;
}

.dark table a:hover {
  color: #ffffff;
  border-bottom-color: #f3f4f6;
}

/* Responsive */
@media (max-width: 768px) {
  table {
    font-size: 0.85rem;
  }
  
  table th, 
  table td {
    padding: 12px 15px;
  }
}