/* Full Course Guide — SEO / longform reading page */
body.fullCoursePage {
  overflow-y: auto;
  overflow-x: hidden;
}
.fullCoursePage .bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 8, 12, 0.5), rgba(4, 8, 12, 0.85)),
              url("assets/bakgrund2.webp") center/cover no-repeat;
  z-index: 0;
}
.fullCourseTopBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: calc(10px + env(safe-area-inset-top)) 20px 10px;
  background: rgba(8, 16, 24, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.fullCourseTopBarLink {
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
  transition: border-color 160ms, background 160ms;
}
.fullCourseTopBarLink:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: color-mix(in srgb, var(--accent) 60%, transparent);
}
.fullCourseTopBarLabel {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--accent) 60%, white);
}
.fullCourseTopBarText {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
}
.fullCourseTocWrap {
  position: relative;
}
.fullCourseTocToggle {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  cursor: pointer;
  transition: background 140ms, border-color 140ms;
}
.fullCourseTocToggle:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}
.fullCourseTocDropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 6px;
  min-width: 220px;
  max-height: 70vh;
  overflow-y: auto;
  padding: 10px 0;
  background: rgba(12, 22, 32, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 180ms, visibility 180ms, transform 180ms;
}
.fullCourseTocDropdown.isOpen {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.fullCourseTocDropdown ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.fullCourseTocDropdown li {
  margin: 0;
}
.fullCourseTocDropdown a {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: background 120ms, color 120ms;
}
.fullCourseTocDropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent);
}

.fullCourseShell {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  padding: calc(56px + env(safe-area-inset-top)) 20px calc(40px + env(safe-area-inset-bottom));
}

.fullCourseHeader {
  margin-bottom: 32px;
}
.fullCourseHeader h1 {
  margin: 0 0 14px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  line-height: 1.2;
}
.fullCourseTagline {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.fullCourseIngress {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  font-weight: 500;
}
.fullCourseIntro {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.fullCourseNote {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.fullCourseNote a {
  color: color-mix(in srgb, var(--accent) 80%, white);
  text-decoration: none;
}
.fullCourseNote a:hover {
  text-decoration: underline;
}

.fullCourseMain {
  margin-bottom: 48px;
}

.fullCourseBlock {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.fullCourseBlock:last-of-type {
  border-bottom: none;
}
.fullCourseBlock > h2 {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 600;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--text);
  scroll-margin-top: calc(70px + env(safe-area-inset-top));
}

.fullCourseCard {
  margin-bottom: 28px;
}
.fullCourseCard:last-child {
  margin-bottom: 0;
}
.fullCourseCard > h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  scroll-margin-top: calc(70px + env(safe-area-inset-top));
}

.fullCourseLesson {
  margin-bottom: 24px;
}
.fullCourseLesson:last-child {
  margin-bottom: 0;
}
.fullCourseLesson > h4 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  scroll-margin-top: calc(70px + env(safe-area-inset-top));
}
.fullCourseLesson .lessonBody {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}
.fullCourseLesson .lessonDeepDive {
  margin-top: 14px;
  padding-left: 0;
}
.fullCourseLesson .lessonDeepDive h5 {
  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.7);
}
.fullCourseLesson .lessonDeepDive h5:first-child {
  margin-top: 0;
}
.fullCourseLesson .lessonDeepDive p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.fullCourseLesson .lessonDeepDive ul {
  margin: 0 0 12px 20px;
  padding: 0;
}
.fullCourseLesson .lessonDeepDive li {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.fullCourseFaq {
  margin-bottom: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.fullCourseFaq h2 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
}
.faqItem {
  margin-bottom: 20px;
}
.faqItem:last-child {
  margin-bottom: 0;
}
.faqItem h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}
.faqItem p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.faqItem a {
  color: color-mix(in srgb, var(--accent) 80%, white);
  text-decoration: none;
}
.faqItem a:hover {
  text-decoration: underline;
}

.fullCourseFooter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}
.fullCourseFooter a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
}
.fullCourseFooter a:hover {
  color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 600px) {
  .fullCourseTopBar {
    padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
    gap: 12px;
  }
  .fullCourseTopBarLink {
    padding: 5px 10px;
  }
  .fullCourseTopBarLabel {
    font-size: 8px;
  }
  .fullCourseTopBarText {
    font-size: 12px;
  }
  .fullCourseTocToggle {
    padding: 6px 12px;
    font-size: 12px;
  }
  .fullCourseTocDropdown {
    min-width: 200px;
    max-height: 60vh;
  }
  .fullCourseShell {
    padding: calc(48px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom));
  }
  .fullCourseBlock > h2 {
    font-size: 20px;
  }
  .fullCourseCard > h3 {
    font-size: 16px;
  }
  .fullCourseLesson > h4 {
    font-size: 15px;
  }
}
