/* Styles pour le contenu Markdown */

.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--app-primary-color);
  font-weight: 700;
  line-height: 1.3;
}

.post-content h2 {
  font-size: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(61, 75, 126, 0.1);
}

.post-content h3 {
  font-size: 1.25rem;
  color: var(--app-primary-light-color);
}

.post-content h4 {
  font-size: 1.1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #334155;
}

.post-content ul,
.post-content ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  line-height: 1.8;
}

.post-content li {
  margin-bottom: 0.5rem;
}

.post-content blockquote {
  border-left: 4px solid var(--app-primary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #64748b;
  font-style: italic;
  background: rgba(61, 75, 126, 0.03);
  padding: 1rem 1.5rem;
  border-radius: 0 8px 8px 0;
}

.post-content code {
  background: rgba(61, 75, 126, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: "Monaco", "Courier New", monospace;
  font-size: 0.9em;
  color: var(--app-primary-color);
}

.post-content pre {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-left: 4px solid var(--app-primary-color);
}

.post-content pre code {
  background: none;
  padding: 0;
  color: #334155;
  font-size: 0.9rem;
}

.post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.post-content a {
  color: var(--app-primary-color);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.post-content a:hover {
  border-bottom-color: var(--app-primary-color);
}

.post-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}

.post-content th {
  background: linear-gradient(135deg,
      rgba(61, 75, 126, 0.1),
      rgba(90, 111, 168, 0.05));
  padding: 1rem;
  text-align: left;
  font-weight: 700;
  color: var(--app-primary-color);
  border-bottom: 2px solid rgba(61, 75, 126, 0.2);
}

.post-content td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(61, 75, 126, 0.1);
}

.post-content tr:hover {
  background: rgba(61, 75, 126, 0.02);
}

.post-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(61, 75, 126, 0.3),
      transparent);
  margin: 2rem 0;
}

.post-content strong {
  font-weight: 700;
  color: var(--app-primary-color);
}

.post-content em {
  font-style: italic;
  color: #64748b;
}.post-article[data-astro-cid-hujup262] {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.post-header[data-astro-cid-hujup262] {
  border-bottom: 2px solid #3d4b7e1a;
  padding-bottom: 2rem;
}

.post-title[data-astro-cid-hujup262] {
  color: var(--app-primary-color);
  margin: 0 0 1rem;
  padding: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
}

.post-description[data-astro-cid-hujup262] {
  color: #64748b;
  margin: 0 0 .5rem;
  padding: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.post-meta[data-astro-cid-hujup262] {
  display: block;
  color: #94a3b8;
  font-size: .95rem;
  font-style: italic;
  margin: 0;
  padding: 0;
}

.post-content[data-astro-cid-hujup262] {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.post-content[data-astro-cid-hujup262] h2 {
  color: var(--app-primary-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.post-content[data-astro-cid-hujup262] h3 {
  color: var(--app-primary-light-color);
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.post-content[data-astro-cid-hujup262] p {
  margin-bottom: 1.5rem;
}

.post-content[data-astro-cid-hujup262] ul, .post-content[data-astro-cid-hujup262] ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.post-content[data-astro-cid-hujup262] li {
  margin-bottom: .5rem;
}

.post-content[data-astro-cid-hujup262] blockquote {
  border-left: 4px solid var(--app-primary-color);
  padding-left: 1.5rem;
  margin: 1.5rem 0;
  color: #64748b;
  font-style: italic;
}

.post-content[data-astro-cid-hujup262] code {
  background: #3d4b7e14;
  padding: .2rem .5rem;
  border-radius: 4px;
  font-family: Monaco, Courier New, monospace;
  font-size: .9em;
  color: var(--app-primary-color);
}

.post-content[data-astro-cid-hujup262] pre {
  background: #f1f5f9;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-left: 4px solid var(--app-primary-color);
}

.post-content[data-astro-cid-hujup262] pre code {
  background: none;
  padding: 0;
  color: #334155;
}

.post-footer[data-astro-cid-hujup262] {
  border-top: 2px solid #3d4b7e1a;
  padding-top: 2rem;
  display: flex;
  gap: 1rem;
}

@media (width <= 768px) {
  .post-article[data-astro-cid-hujup262] {
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .post-title[data-astro-cid-hujup262] {
    font-size: 1.5rem;
  }

  .post-description[data-astro-cid-hujup262] {
    font-size: 1rem;
  }

  .post-content[data-astro-cid-hujup262] {
    font-size: 1rem;
  }

  .post-content[data-astro-cid-hujup262] h2 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
  }

  .post-content[data-astro-cid-hujup262] h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
  }
}
