/* Import des styles de base pour le contenu CKEditor */
/* Adapté de training_sessions.css */

/* Typography for CKEditor content */
.service-content h1 {
  font-size: 1.875rem;
  font-weight: 700;
  margin-bottom: 1rem;
  margin-top: 1.5rem;
  color: #111827;
}

.dark .service-content h1 {
  color: #ffffff;
}

.service-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  margin-top: 1.25rem;
  color: #111827;
}

.dark .service-content h2 {
  color: #ffffff;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  margin-top: 1rem;
  color: #111827;
}

.dark .service-content h3 {
  color: #ffffff;
}

.service-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
  color: #374151;
}

.dark .service-content p {
  color: #d1d5db;
}

.service-content ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.service-content ul li {
  margin-bottom: 0.5rem;
  color: #374151;
}

.dark .service-content ul li {
  color: #d1d5db;
}

.service-content ul li::marker {
  color: #00b38a;
}

.service-content ol {
  list-style-type: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.75;
}

.service-content ol li {
  margin-bottom: 0.5rem;
  color: #374151;
}

.dark .service-content ol li {
  color: #d1d5db;
}

/* Tables */
.service-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  display: block;
  overflow-x: auto;
}

@media (min-width: 1024px) {
  .service-content table {
    display: table;
  }
}

.service-content table td,
.service-content table th {
  border: 1px solid #d1d5db;
  padding: 0.75rem;
}

.dark .service-content table td,
.dark .service-content table th {
  border-color: #4b5563;
}

.service-content table th {
  background-color: #f3f4f6;
  font-weight: 600;
  text-align: left;
}

.dark .service-content table th {
  background-color: #1f2937;
}

/* Images */
.service-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1rem auto;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Blockquotes */
.service-content blockquote {
  border-left: 4px solid #00b38a;
  padding-left: 1rem;
  font-style: italic;
  margin: 1rem 0;
  color: #374151;
  background-color: #f9fafb;
  padding: 0.75rem 1rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.dark .service-content blockquote {
  color: #d1d5db;
  background-color: rgba(31, 41, 55, 0.5);
}

/* Links */
.service-content a {
  color: #00b38a;
  text-decoration: underline;
  transition: color 0.15s;
}

.service-content a:hover {
  color: #059669;
}

/* Strong emphasis */
.service-content strong,
.service-content b {
  font-weight: 600;
  color: #111827;
}

.dark .service-content strong,
.dark .service-content b {
  color: #ffffff;
}
