/* Course content styles for HTML rendered from CKEditor */
.course-description {
  font-family: 'Helvetica', 'Arial', sans-serif;
  line-height: 1.6;
}

.course-description h1,
.course-description h2,
.course-description h3,
.course-description h4,
.course-description h5,
.course-description h6 {
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #1a365d;
}

.course-description p {
  margin-bottom: 1rem;
}

.course-description ul,
.course-description ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.course-description li {
  margin-bottom: 0.5rem;
}

.course-description a {
  color: #1a365d;
  text-decoration: underline;
}

.course-description a:hover {
  text-decoration: none;
}

.course-description blockquote {
  border-left: 4px solid #e9ecef;
  padding-left: 1rem;
  margin-left: 0;
  margin-bottom: 1rem;
  font-style: italic;
}

.course-description img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.course-description table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

.course-description table th,
.course-description table td {
  padding: 0.5rem;
  border: 1px solid #dee2e6;
}

.course-description table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

/* Add responsive styling for tables */
@media (max-width: 768px) {
  .course-description table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}
