/* Deze stijl staat sinds augustus 2026 in de hoofdmap; zie course-engine-dynamic.js.
   Gebruikt door: cursus-ict, cursus-ai-kennis, cursus-ondernemen, ondernemen-lab. */
@import url("cursus-nlp/course.css?v=20260807");

.course-hero-figure--image {
  display: grid;
  place-items: center;
}

.course-hero-figure--image img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.course-hero-figure--image figcaption {
  width: 100%;
}

.course-overview-section .course-progress-card + .section-head {
  margin-top: 2.5rem;
}

.course-start-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: 1.75rem 0 2rem;
  padding: 1.4rem 1.5rem;
  background: var(--navy-wash);
  border: 1px solid var(--line);
  border-left: 3px solid var(--navy);
  border-radius: 8px;
}

.course-start-panel h2,
.course-start-panel p,
.course-bottom-start p,
.course-related-panel p {
  margin-top: 0;
}

.course-start-panel h2 {
  margin-bottom: .45rem;
}

.course-start-panel p:last-child,
.course-related-panel p:last-of-type {
  margin-bottom: 0;
}

.course-start-panel .course-button {
  flex: 0 0 auto;
}

.course-module-action {
  display: block;
  margin-top: .75rem;
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .2em;
}

.course-bottom-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding: 1.25rem 1.5rem;
  background: #f7f7fb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.course-bottom-start p {
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.course-related-panel {
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.course-related-panel .course-support-links {
  gap: .75rem 1.5rem;
  margin-top: .9rem;
}

.course-worksheet {
  margin-bottom: 2.5rem;
}

.course-code--template pre {
  padding: 3.1rem 1.25rem 1.35rem;
  color: var(--text);
  background: #fbfbfd;
  border: 1px solid var(--line);
  font-family: var(--sans);
  font-size: .94rem;
  line-height: 1.75;
}

.course-code--template .copy-code-button {
  color: var(--white);
  background: var(--navy);
  border-color: var(--navy);
}

.course-nav-details > summary {
  display: none;
}

@media (max-width: 820px) {
  .course-start-panel,
  .course-bottom-start {
    align-items: flex-start;
    flex-direction: column;
  }

  .course-nav-details {
    margin-top: 1rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .course-nav-details > summary {
    display: block;
    padding: .9rem 0;
    color: var(--navy);
    font-weight: 700;
    cursor: pointer;
  }

  .course-nav-details[open] > summary {
    border-bottom: 1px solid var(--line);
  }

  .course-nav-details .course-nav-title {
    margin-top: 1rem;
  }
}

.course-richttijd {
  margin: -.4rem 0 1.4rem;
  font-size: .92rem;
  color: var(--muted, #5b5b6b);
}

.course-reflection {
  max-width: 850px;
  margin: 1.6rem 0;
  padding: 1.25rem 1.4rem;
  background: #fbfaf6;
  border: 1px solid var(--line);
  border-left: 4px solid #b08b2e;
  border-radius: 7px;
}

.course-reflection h2,
.course-reflection h3 {
  margin-top: 0;
}

.course-reflection p {
  margin: 0 0 .8rem;
}

.course-reflection textarea {
  width: 100%;
  min-height: 8.5rem;
  padding: .7rem .8rem;
  font: inherit;
  font-size: .95rem;
  line-height: 1.55;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
  resize: vertical;
}

.course-reflection textarea:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.course-reflection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
  margin-top: .8rem;
}

.course-reflection-message {
  margin: 0;
  font-size: .9rem;
  color: var(--muted, #5b5b6b);
}

.course-order {
  max-width: 850px;
  margin: 1.6rem 0;
  padding: 1.25rem 1.4rem;
  background: #f5f8f5;
  border: 1px solid var(--line);
  border-left: 4px solid #2f6f4f;
  border-radius: 7px;
}

.course-order h2 {
  margin-top: 0;
}

.course-order-list {
  list-style: none;
  margin: 1rem 0;
  padding: 0;
  display: grid;
  gap: .55rem;
}

.course-order-item {
  display: flex;
  gap: .8rem;
  align-items: flex-start;
  padding: .6rem .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 5px;
}

.course-order-item select {
  flex: 0 0 auto;
  min-width: 4rem;
  padding: .3rem .4rem;
  font: inherit;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.course-order-item select:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 1px;
}

.course-order-item span {
  line-height: 1.5;
}
