/**
 * tomedo.Campus — Subsite-spezifische Styles
 *
 * Wird nur auf der Subsite /tomedo/ geladen (siehe inc/subsite-styles.php).
 * Brand-Anpassungen, Layout-Overrides und tomedo-spezifische Komponenten
 * gehoeren hier rein.
 *
 * Ladereihenfolge: bricks-frontend → bricks-child (style.css) → bricks-child-tomedo
 * Damit ueberschreibt dieses Stylesheet sowohl Bricks-Defaults als auch
 * den Child-Theme-Standard.
 *
 * Basis: kopiert aus ../style.css am 2026-04-28. Hier werden tomedo-spezifische
 * Anpassungen drueberschreiben — bei Aenderungen an gemeinsamen Tokens lieber
 * in style.css aendern, damit es alle Subsites bekommen.
 */

:root {
  /* Kanzlei Farbpalette */
  --kanzlei-primary: #1a365d; /* Dunkles Marineblau - Hauptfarbe */
  --kanzlei-secondary: #9c162d; /* Gold - Akzentfarbe */
  --kanzlei-dark: #0f172a; /* Fast Schwarz - Text */
  --kanzlei-light: #f8fafc; /* Helles Grau - Hintergrund */
  --kanzlei-gray: #64748b; /* Mittelgrau - Sekundärtext */
  --kanzlei-border: #e2e8f0; /* Helle Border */
  --kanzlei-success: #10b981; /* Grün - Abgeschlossen */
  --kanzlei-info: #3b82f6; /* Blau - Information */
}

/******** GRASSBLADE IFRAME GRÖßE*****/
.grassblade_iframe {
  width: 100%;
  height: calc(99.6vh - 155px) !important;
}

/* Verstecke das Standard LifterLMS Syllabus */
.kurs-content__llms-course-syllabus {
  display: none !important;
}

/* Hauptcontainer für Kursinhalt */
.kurs-content__content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Section Container */
.kurs-content__content-wrapper > .brxe-block {
  margin-bottom: 40px;
  animation: fadeInUp 0.5s ease-out;
}

/* Section UL - Hauptliste */
.kurs-content__lessons-ul {
  background: white;
  border-radius: 12px;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  border: 1px solid var(--kanzlei-border);
  transition: all 0.3s ease;
}

.kurs-content__lessons-ul:hover {
  box-shadow:
    0 10px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  transform: translateY(-2px);
}

/* Section LI - Container für Section */
.kurs-content__lessons-li {
  padding: 0;
  border: none;
}

/* Section Überschrift */
.kurs-content__lessons-li > .kurs-content__heading {
  background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
  color: white;
  padding: 20px 30px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.kurs-content__lessons-li > .kurs-content__heading::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1));
  transform: skewX(-15deg);
}

/* Lessons Container */
.kurs-content__lesson-li-content {
  border-bottom: 1px solid var(--kanzlei-border);
  padding: 20px 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  background: white;
}

.kurs-content__lesson-li-content:last-child {
  border-bottom: none;
}

.kurs-content__lesson-li-content:hover {
  background: linear-gradient(90deg, var(--kanzlei-light) 0%, white 100%);
  padding-left: 40px;
}

.kurs-content__lesson-li-content::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 1.6rem;
  height: 1.2rem;
  background-color: var(--kanzlei-secondary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 768'%3E%3Cpath d='M1024 736q0 13-9.5 22.5T992 768t-22.5-9.5T960 736V315L607 492q-40 20-95 20t-95-20L39 303Q0 283 0 255.5T39 209L417 20q40-20 95-20t95 20l378 189q34 17 38 42q1 1 1 4zM639 556l193-97v141q0 43-93.5 73.5T512 704t-226.5-30.5T192 600V459l193 97q40 20 127 20t127-20'/%3E%3C/svg%3E")
    no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1024 768'%3E%3Cpath d='M1024 736q0 13-9.5 22.5T992 768t-22.5-9.5T960 736V315L607 492q-40 20-95 20t-95-20L39 303Q0 283 0 255.5T39 209L417 20q40-20 95-20t95 20l378 189q34 17 38 42q1 1 1 4zM639 556l193-97v141q0 43-93.5 73.5T512 704t-226.5-30.5T192 600V459l193 97q40 20 127 20t127-20'/%3E%3C/svg%3E")
    no-repeat center / contain;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.kurs-content__lesson-li-content:hover::before {
  opacity: 1;
}

/* Lektion Überschrift */
.kurs-content__lessons-heading {
  margin: 0 0 10px 0;
  font-size: 1.125rem;
  color: var(--kanzlei-dark);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Lektion Beschreibung */
.kurs-content__text-basic {
  margin: 0;
  color: var(--kanzlei-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/**
 * Lesson Completion Status Styles
 * Zeigt visuell den Abschluss-Status von Lektionen
 */

/* Abgeschlossene Lektionen */
.kurs-content__lesson-li-content.is-complete,
.kurs-content__lesson-li-content.completed {
  position: relative;
  opacity: 0.85;
  background: linear-gradient(
    90deg,
    rgba(16, 185, 129, 0.05) 0%,
    transparent 100%
  );
}

/* Durchgestrichener Text für abgeschlossene Lektionen (wie LifterLMS) */
.kurs-content__lesson-li-content.is-complete .kurs-content__lessons-heading,
.kurs-content__lesson-li-content.completed .kurs-content__lessons-heading {
  text-decoration: line-through;
  text-decoration-color: var(--kanzlei-success);
  text-decoration-thickness: 2px;
  opacity: 0.8;
}

/* Checkmark für abgeschlossene Lektionen */
/*.kurs-content__lesson-li-content.is-complete::after,
.kurs-content__lesson-li-content.completed::after {
  content: '✓';
  position: absolute;
  right: 30px;
  bottom: 50%;
  transform: translateY(-50%);
  color: var(--kanzlei-success);
  font-size: 1.5rem;
  font-weight: bold;
  background: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}*/

/* Unvollständige Lektionen mit Einschreibung */
.kurs-content__lesson-li-content.is-incomplete.has-icon {
  position: relative;
}

/* Kreis-Icon für unvollständige Lektionen */
/*.kurs-content__lesson-li-content.is-incomplete.has-icon::after {
  content: '○';
  position: absolute;
  right: 30px;
  bottom: 0%;
  transform: translateY(-50%);
  color: var(--kanzlei-gray);
  font-size: 1.5rem;
  opacity: 0.5;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}*/

/* Kostenlose Preview-Lektionen */
.kurs-content__lesson-li-content.is-free {
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 100%
  );
  border-left: 3px solid var(--kanzlei-info);
}

/* Hover-Effekt anpassen für Completion States */
.kurs-content__lesson-li-content.is-complete:hover {
  opacity: 0.95;
}

/* Icon-Styles wenn als separates Element verwendet */
.completion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  margin-left: 10px;
  font-weight: bold;
}

.completion-icon.complete {
  color: var(--kanzlei-success);
}

.completion-icon.incomplete {
  color: var(--kanzlei-gray);
  opacity: 0.5;
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
  .kurs-content__lesson-li-content.is-complete::after,
  .kurs-content__lesson-li-content.completed::after,
  .kurs-content__lesson-li-content.is-incomplete.has-icon::after {
    right: 15px;
    width: 28px;
    height: 28px;
    font-size: 1.2rem;
  }
}

/* Responsives Design */
@media (max-width: 768px) {
  .kurs-content__content-wrapper {
    padding: 20px 15px;
  }

  .kurs-content__lessons-li > .kurs-content__heading {
    padding: 15px 20px;
    font-size: 1.25rem;
  }

  .kurs-content__lesson-li-content {
    padding: 15px 20px;
  }

  .kurs-content__lesson-li-content:hover {
    padding-left: 30px;
  }

  .kurs-content__lessons-heading {
    font-size: 1rem;
  }

  .kurs-content__text-basic {
    font-size: 0.9rem;
  }
}

/* Animationen */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Zusätzliche Hover-Effekte für Links */
.kurs-content__lesson-li-content a {
  color: var(--primary);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.kurs-content__lesson-li-content a:hover {
  border-bottom-color: var(--kanzlei-secondary);
}

/* Quiz/Assignment Badges */
.kurs-content__lesson-li-content .badge-quiz,
.kurs-content__lesson-li-content .badge-assignment {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-left: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kurs-content__lesson-li-content .badge-quiz {
  background: var(--kanzlei-info);
  color: white;
}

.kurs-content__lesson-li-content .badge-assignment {
  background: var(--primary);
  color: var(--kanzlei-dark);
}

/**
 * LifterLMS Enrollment Button Customization
 * Zeigt nur den Button, versteckt alle anderen Pricing-Table Elemente
 */

/* Verstecke alle Pricing-Table Elemente außer dem Button */
.brxe-llms-pricing-table .llms-access-plan-featured,
.brxe-llms-pricing-table .llms-access-plan-title,
.brxe-llms-pricing-table .llms-access-plan-pricing,
.brxe-llms-pricing-table .llms-access-plan-description,
.brxe-llms-pricing-table .llms-access-plan-content {
  display: none !important;
}

/* Entferne unnötige Abstände vom Wrapper */
.brxe-llms-pricing-table {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.brxe-llms-pricing-table .llms-access-plans {
  margin: 0 !important;
  padding: 0 !important;
  display: block !important;
}

.brxe-llms-pricing-table .llms-access-plan {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
}

.brxe-llms-pricing-table .llms-access-plan-footer {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* Style für den Enrollment Button */
.brxe-llms-pricing-table .llms-button-action,
.brxe-llms-pricing-table .llms-button-action.button {
  /* Basis-Styles */
  display: inline-block !important;
  /*background: var(--kanzlei-secondary) !important;*/
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  /*padding: 16px 40px !important;*/
  font-size: 1.125rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3) !important;

  /* Entferne Default WordPress Button Styles */
  outline: none !important;
  vertical-align: middle !important;
  line-height: 1.2 !important;
  min-height: auto !important;
  width: auto !important;
  max-width: none !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Hover-Effekt */
.brxe-llms-pricing-table .llms-button-action:hover,
.brxe-llms-pricing-table .llms-button-action.button:hover {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    #b81f1f 100%
  ) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(212, 55, 55, 0.4) !important;
  color: white !important;
}

/* Active/Click-Effekt */
.brxe-llms-pricing-table .llms-button-action:active,
.brxe-llms-pricing-table .llms-button-action.button:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3) !important;
}

/* Focus-State für Accessibility */
.brxe-llms-pricing-table .llms-button-action:focus,
.brxe-llms-pricing-table .llms-button-action.button:focus {
  outline: 3px solid rgba(212, 175, 55, 0.5) !important;
  outline-offset: 2px !important;
}

/* Disabled State (falls benötigt) */
.brxe-llms-pricing-table .llms-button-action:disabled,
.brxe-llms-pricing-table .llms-button-action.button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* Loading State */
.brxe-llms-pricing-table .llms-button-action.loading::after {
  content: "...";
  animation: ellipsis 1.5s infinite;
}

@keyframes ellipsis {
  0% {
    content: ".";
  }
  33% {
    content: "..";
  }
  66% {
    content: "...";
  }
}

/* Alternative: Zentrierter Button */
.brxe-llms-pricing-table .llms-free-enroll-form {
  text-align: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .brxe-llms-pricing-table .llms-button-action,
  .brxe-llms-pricing-table .llms-button-action.button {
    padding: 14px 30px !important;
    font-size: 1rem !important;
    width: 100% !important;
    max-width: 400px !important;
  }
}
/*****FORUM******/
article.forum,
article.status-publish {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-block: var(--section-padding-block);
  padding-inline: var(--gutter);
}

article.forum > h1,
article.status-publish > h1 {
  margin-bottom: var(--space-s);
  font-size: var(--h2);
  max-width: var(--h2-max-width);
  line-height: var(--heading-line-height);
  font-weight: var(--heading-font-weight);
  text-wrap: var(--heading-text-wrap);
}

#bbpress-forums {
  max-width: 100%;
  width: 100%;
}

#bbpress-forums ul.bbp-forums,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums ul.bbp-topics,
#bbpress-forums {
  font-size: var(--text-m);
  border: none;
}

#bbpress-forums .bbp-forum-info .bbp-forum-content,
#bbpress-forums p.bbp-topic-meta,
#bbpress-forums .bbp-forums-list .bbp-forum,
div.bbp-template-notice li,
div.bbp-template-notice p {
  font-size: var(--text-s);
}

#bbpress-forums fieldset.bbp-form input[type="password"],
#bbpress-forums fieldset.bbp-form input[type="text"],
#bbpress-forums fieldset.bbp-form select {
  height: auto;
}

#bbpress-forums .bbp-forums-list {
  border-left: none;
}
/* ==========================================
   MODERN BBPRESS FORUM DESIGN 2025
   ========================================== */

/* Reset bbPress default styling */
#bbpress-forums {
  background: transparent !important;
}

#bbpress-forums ul {
  background: transparent !important;
}

/* Remove ALL gradient backgrounds except for list headers */
#bbpress-forums ul.bbp-replies,
#bbpress-forums ul.bbp-topics,
#bbpress-forums ul.bbp-lead-topic,
#bbpress-forums ul.bbp-search-results,
#bbpress-forums div.reply ul,
#bbpress-forums div.topic ul,
#bbpress-forums .bbp-reply-header,
#bbpress-forums .bbp-topic-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Specifically target the UL inside reply/topic headers */
#bbpress-forums .type-reply ul,
#bbpress-forums .type-topic ul,
#bbpress-forums ul.bbp-reply-header,
#bbpress-forums ul.bbp-topic-header {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Only forum/topic LIST headers should have gradients */
#bbpress-forums li.bbp-body > ul.bbp-reply-header,
#bbpress-forums li.bbp-body > ul.bbp-topic-header {
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Forum Lists & Topics - Modern Card Design */
/* Only apply gradient to LIST headers (in forum/topic lists) */
ul.bbp-forums > li.bbp-header,
ul.bbp-topics > li.bbp-header,
ul.bbp-replies > li.bbp-header {
  background: var(--primary) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  color: white !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px;
  padding: 8px 20px !important;
  min-height: auto !important;
  line-height: 1.4 !important;
}

#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  background: #fff !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transition: all 0.3s ease !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 16px !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 16px 20px !important;
  list-style: none !important;
}

#bbpress-forums li.bbp-body ul.forum:hover,
#bbpress-forums li.bbp-body ul.topic:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

/* Forum body items - match header column widths */
#bbpress-forums li.bbp-body ul.forum > .bbp-forum-info {
  flex: 1 !important;
}

#bbpress-forums li.bbp-body ul.forum > .bbp-forum-topic-count,
#bbpress-forums li.bbp-body ul.forum > .bbp-forum-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

#bbpress-forums li.bbp-body ul.forum > .bbp-forum-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

/* Topic body items - match header column widths */
#bbpress-forums li.bbp-body ul.topic > .bbp-topic-title {
  flex: 1 !important;
}

#bbpress-forums li.bbp-body ul.topic > .bbp-topic-voice-count,
#bbpress-forums li.bbp-body ul.topic > .bbp-topic-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

#bbpress-forums li.bbp-body ul.topic > .bbp-topic-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

/* Header Styling with Flexbox */
ul.bbp-forums > li.bbp-header,
ul.bbp-topics > li.bbp-header,
ul.bbp-replies > li.bbp-header {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

/* Inner UL in header also needs flex */
ul.bbp-forums > li.bbp-header > ul,
ul.bbp-topics > li.bbp-header > ul,
ul.bbp-replies > li.bbp-header > ul {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

ul.bbp-forums > li.bbp-header li,
ul.bbp-topics > li.bbp-header li,
ul.bbp-replies > li.bbp-header div {
  color: white !important;
  opacity: 0.95;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

/* Define column widths for forum header */
ul.bbp-forums > li.bbp-header .bbp-forum-info {
  flex: 1 !important;
}

ul.bbp-forums > li.bbp-header .bbp-forum-topic-count,
ul.bbp-forums > li.bbp-header .bbp-forum-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

ul.bbp-forums > li.bbp-header .bbp-forum-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

/* Define column widths for topics header */
ul.bbp-topics > li.bbp-header .bbp-topic-title {
  flex: 1 !important;
}

ul.bbp-topics > li.bbp-header .bbp-topic-voice-count,
ul.bbp-topics > li.bbp-header .bbp-topic-reply-count {
  flex: 0 0 100px !important;
  text-align: center !important;
}

ul.bbp-topics > li.bbp-header .bbp-topic-freshness {
  flex: 0 0 200px !important;
  text-align: right !important;
}

ul.bbp-replies > li.bbp-header {
  margin-bottom: 8px !important;
}

ul.bbp-replies > li.bbp-header div.bbp-reply-author {
  flex: 0 0 200px !important;
  max-width: 200px !important;
}

ul.bbp-replies > li.bbp-header div.bbp-reply-content {
  flex: 1 !important;
}

/* Footer styling with Flexbox */
ul.bbp-replies > li.bbp-footer {
  background: #f8f9fa !important;
  border-radius: 12px !important;
  padding: 12px 20px !important;
  margin-top: 16px !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

ul.bbp-replies > li.bbp-footer div {
  color: #666 !important;
  font-weight: 500;
  margin: 0 !important;
  padding: 0 !important;
}

ul.bbp-replies > li.bbp-footer div.bbp-reply-author {
  flex: 0 0 200px !important;
  max-width: 200px !important;
}

ul.bbp-replies > li.bbp-footer div.bbp-reply-content {
  flex: 1 !important;
}

/* Single Topic/Reply Header - Remove Gradient */
/* Target the DIV.bbp-reply-header that sits inside the reply body */
div.bbp-reply-header,
div.bbp-topic-header,
#bbpress-forums div.bbp-reply-header,
#bbpress-forums div.bbp-topic-header,
#bbpress-forums ul.bbp-reply-header,
#bbpress-forums ul.bbp-topic-header,
li.bbp-body div.bbp-reply-header,
li.bbp-body div.bbp-topic-header {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 16px 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* Remove default header styling from single posts */
#bbpress-forums .type-reply > .bbp-reply-header,
#bbpress-forums .type-topic > .bbp-topic-header {
  background: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

/* Forum & Topic Items */
#bbpress-forums li.bbp-body ul.forum,
#bbpress-forums li.bbp-body ul.topic {
  padding: 20px;
}

/* Forum Title & Links */
#bbpress-forums .bbp-forum-title,
#bbpress-forums .bbp-topic-title {
  font-size: 1.1em;
  font-weight: 600;
  color: #1a1a1a;
  transition: color 0.2s ease;
}

#bbpress-forums .bbp-forum-title:hover,
#bbpress-forums .bbp-topic-title:hover {
  color: var(--primary);
}

/* Forum Info & Meta */
#bbpress-forums .bbp-forum-info,
#bbpress-forums .bbp-topic-meta {
  line-height: 1.6;
}

#bbpress-forums .bbp-forum-content {
  color: #666;
  margin-top: 8px;
}

/* Buttons - Modern Style */
#bbpress-forums button,
#bbpress-forums input[type="submit"],
#bbpress-forums input[type="button"],
#bbpress-forums .bbp-submit-wrapper button,
#bbpress-forums #bbp-search-form #bbp_search_submit {
  background: var(--primary) !important;
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  cursor: pointer;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

#bbpress-forums button:hover,
#bbpress-forums input[type="submit"]:hover,
#bbpress-forums input[type="button"]:hover,
#bbpress-forums .bbp-submit-wrapper button:hover {
  background: var(--primary-hover) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* TinyMCE Editor Buttons - Keep them styled appropriately */
#bbpress-forums .mce-btn,
#bbpress-forums .mce-btn button {
  background: #f5f5f5 !important;
  color: #333 !important;
  border: 1px solid #ddd !important;
  padding: 4px 8px !important;
  font-size: 13px !important;
  box-shadow: none !important;
  border-radius: 4px !important;
}

#bbpress-forums .mce-btn:hover,
#bbpress-forums .mce-btn button:hover {
  background: #e8e8e8 !important;
  transform: none !important;
}

/* Form Inputs - Modern Style */
#bbpress-forums input[type="text"],
#bbpress-forums input[type="password"],
#bbpress-forums input[type="email"],
#bbpress-forums select,
#bbpress-forums textarea {
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #fafafa;
}

#bbpress-forums input[type="text"]:focus,
#bbpress-forums input[type="password"]:focus,
#bbpress-forums input[type="email"]:focus,
#bbpress-forums select:focus,
#bbpress-forums textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: white;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb, 59, 130, 246), 0.1);
}

/* Reply & Post Forms */
#bbpress-forums fieldset.bbp-form {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
}

#bbpress-forums fieldset.bbp-form legend {
  font-size: 1.3em;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 20px;
}

/* Breadcrumb */
#bbpress-forums div.bbp-breadcrumb {
  background: white !important;
  padding: 12px 20px !important;
  border-radius: 10px !important;
  margin-bottom: 12px !important;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

#bbpress-forums div.bbp-breadcrumb p {
  margin: 0 !important;
}

#bbpress-forums div.bbp-breadcrumb a {
  color: var(--primary) !important;
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 500;
}

#bbpress-forums div.bbp-breadcrumb a:hover {
  color: var(--primary-hover) !important;
}

#bbpress-forums div.bbp-breadcrumb .bbp-breadcrumb-sep {
  color: #999;
  margin: 0 8px;
}

#bbpress-forums div.bbp-breadcrumb .bbp-breadcrumb-current {
  color: #666;
  font-weight: 500;
}

/* Subscribe/Favorite Toggle Buttons - Simple inline style */
#bbpress-forums #subscription-toggle,
#bbpress-forums #favorite-toggle {
  display: inline-block;
  margin: 0 4px !important;
  font-size: 14px;
}

#bbpress-forums #subscription-toggle a,
#bbpress-forums #favorite-toggle a {
  color: var(--primary) !important;
  text-decoration: none !important;
  font-weight: 500;
  transition: color 0.2s ease;
}

#bbpress-forums #subscription-toggle a:hover,
#bbpress-forums #favorite-toggle a:hover {
  color: var(--primary-hover) !important;
  text-decoration: underline !important;
}

#bbpress-forums div.bbp-search-form {
  float: right;
  margin-bottom: 2rem;
}

/* Pagination */
#bbpress-forums .bbp-pagination {
  margin-top: 32px;
}

#bbpress-forums .bbp-pagination-links a,
#bbpress-forums .bbp-pagination-links span {
  background: white;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 8px 16px;
  margin: 0 4px;
  display: inline-block;
  transition: all 0.3s ease;
  color: #333;
  text-decoration: none;
}

#bbpress-forums .bbp-pagination-links a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-1px);
}

#bbpress-forums .bbp-pagination-links span.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* Search Form */
#bbpress-forums #bbp-search-form {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

#bbpress-forums #bbp-search-form input[type="text"] {
  width: 100%;
  max-width: 500px;
}

/* Topic Tags */
#bbpress-forums .bbp-topic-tags {
  margin-top: 12px;
}

#bbpress-forums .bbp-topic-tags a {
  background: #f0f0f0;
  color: #666;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  display: inline-block;
  margin-right: 6px;
  margin-top: 6px;
  transition: all 0.2s ease;
}

#bbpress-forums .bbp-topic-tags a:hover {
  background: var(--primary);
  color: white;
}

/* Notices & Alerts */
div.bbp-template-notice {
  background: white !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 10px !important;
  padding: 16px 20px !important;
  margin-bottom: 24px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-right: 1px solid rgba(0, 0, 0, 0.06) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
}

div.bbp-template-notice p {
  margin: 0 !important;
}

div.bbp-template-notice.info {
  border-left-color: #3b82f6 !important;
  background: #eff6ff !important;
}

div.bbp-template-notice.warning {
  border-left-color: #f59e0b !important;
  background: #fffbeb !important;
}

div.bbp-template-notice.error {
  border-left-color: #ef4444 !important;
  background: #fef2f2 !important;
}

/* Single Reply/Topic Content Wrapper - NO card styling, just flex */
#bbpress-forums li.bbp-body > div.loop-item-0,
#bbpress-forums li.bbp-body > div[class*="post-"],
#bbpress-forums div.reply,
#bbpress-forums div.topic {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Wrapper for entire reply including header - li.bbp-body is the card */
#bbpress-forums ul.bbp-replies > li.bbp-body {
  background: white !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  margin-bottom: 20px !important;
  overflow: hidden !important;
  padding: 0 !important;
}

/* Reply Content Wrapper - Flexbox Layout */
#bbpress-forums
  li.bbp-body
  > div:not(.bbp-reply-header):not(.bbp-topic-header) {
  display: flex !important;
  flex-direction: row !important;
}

/* Reply Author */
#bbpress-forums div.bbp-reply-author {
  border-radius: 0 !important;
  padding: 20px !important;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
  flex: 0 0 200px !important;
  max-width: 200px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

#bbpress-forums div.bbp-reply-author img.avatar {
  border-radius: 50% !important;
  border: 3px solid white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

#bbpress-forums div.bbp-reply-author a.bbp-author-name {
  font-weight: 600;
  color: #1a1a1a;
  font-size: 1.05em;
  text-decoration: none;
}

#bbpress-forums div.bbp-reply-author a.bbp-author-name:hover {
  color: var(--primary);
}

#bbpress-forums div.bbp-reply-author .bbp-author-role {
  font-size: 0.85em;
  color: #666;
  font-style: italic;
  word-wrap: break-word;
  word-break: break-all;
}

/* Reply Content */
#bbpress-forums div.bbp-reply-content {
  border-radius: 0 !important;
  padding: 24px;
  line-height: 1.7;
  flex: 1 !important;
  min-width: 0 !important;
  margin-left: 0;
}

/* Reply Meta (Date, Links) - in Header */
#bbpress-forums div.bbp-meta,
#bbpress-forums div.bbp-reply-meta,
#bbpress-forums div.bbp-topic-meta {
  background: #f8f9fa !important;
  padding: 12px 20px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.9em;
  color: #666;
  margin: 0 !important;
  border-radius: 0 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px 16px !important;
}

#bbpress-forums div.bbp-meta a,
#bbpress-forums div.bbp-reply-meta a,
#bbpress-forums div.bbp-topic-meta a {
  color: #666;
  text-decoration: none;
  margin-right: 0 !important;
  transition: color 0.2s ease;
  font-size: 0.9em;
}

#bbpress-forums div.bbp-meta a:hover,
#bbpress-forums div.bbp-reply-meta a:hover,
#bbpress-forums div.bbp-topic-meta a:hover {
  color: var(--primary);
}

/* Meta inside header gets no border-bottom */
div.bbp-reply-header div.bbp-meta,
div.bbp-topic-header div.bbp-meta {
  border-bottom: none !important;
}

#bbpress-forums div.bbp-meta span {
  margin: 0 !important;
}

/* Admin Links (BEARBEITEN, SPAM, etc.) */
#bbpress-forums span.bbp-admin-links {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
}

#bbpress-forums span.bbp-admin-links a {
  background: rgba(0, 0, 0, 0.05);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
  margin: 0 !important;
}

#bbpress-forums span.bbp-admin-links a:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-1px);
}

/* Forum Statistics */
#bbpress-forums .bbp-forum-freshness,
#bbpress-forums .bbp-topic-freshness {
  color: #666;
  font-size: 14px;
}

#bbpress-forums .bbp-forum-freshness a,
#bbpress-forums .bbp-topic-freshness a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

#bbpress-forums .bbp-forum-freshness a:hover,
#bbpress-forums .bbp-topic-freshness a:hover {
  color: var(--primary-hover);
}

/* Sticky Topics */
#bbpress-forums .bbp-topic-sticky,
#bbpress-forums .super-sticky {
  background: linear-gradient(135deg, #fff9e6 0%, #fff3d6 100%) !important;
  border-left: 4px solid var(--primary-hover);
}

/* Closed Topics */
#bbpress-forums .status-closed {
  opacity: 0.6;
}

/* Topic Info Box Styling */
#bbpress-forums .bbp-template-notice {
  line-height: 1.6;
}

#bbpress-forums .bbp-topic-title-meta {
  font-size: 0.95em;
}

/* Reply/Topic Permalink */
#bbpress-forums .bbp-reply-permalink,
#bbpress-forums .bbp-topic-permalink {
  color: var(--primary);
  font-size: 0.85em;
}

#bbpress-forums span.bbp-topic-started-by,
#bbpress-forums a.bbp-author-link {
  color: #999;
  text-decoration: none;
  font-size: 1.2rem;
}

#bbpress-forums span.bbp-author-name {
  font-size: 1.8rem;
}

#bbpress-forums ul.topic span.bbp-author-name {
  font-size: 1.2rem;
}

#bbpress-forums .bbp-reply-permalink:hover,
#bbpress-forums .bbp-topic-permalink:hover {
  color: var(--primary);
}

/* "Ansicht von X Beitrag" Text */
#bbpress-forums .bbp-pagination-count {
  color: #666;
  font-size: 0.95em;
  margin-bottom: 12px;
  display: block;
}

/* Profile Tabs (Autor/Beiträge) */
#bbpress-forums #bbp-user-navigation {
  background: white !important;
  border-radius: 10px !important;
  padding: 0 !important;
  margin-bottom: 24px !important;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

#bbpress-forums #bbp-user-navigation ul {
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  list-style: none !important;
}

#bbpress-forums #bbp-user-navigation li {
  flex: 1;
  margin: 0 !important;
  background: transparent !important;
  border-right: 1px solid rgba(0, 0, 0, 0.08);
}

#bbpress-forums #bbp-user-navigation li:last-child {
  border-right: none;
}

#bbpress-forums #bbp-user-navigation li a {
  display: block;
  padding: 16px 24px !important;
  text-align: center;
  color: #666 !important;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent !important;
}

#bbpress-forums #bbp-user-navigation li.current a,
#bbpress-forums #bbp-user-navigation li a:hover {
  background: var(--primary) !important;
  color: white !important;
}

#bbpress-forums #bbp-user-navigation li.current a {
  font-weight: 600;
}

/* WordPress Editor Styling */
#bbpress-forums .wp-editor-tabs button {
  background: #f5f5f5 !important;
  color: #666 !important;
  border: 1px solid #ddd !important;
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}

#bbpress-forums .wp-editor-tabs button:hover {
  background: #e8e8e8 !important;
  transform: none !important;
}

#bbpress-forums .wp-editor-tabs button.switch-tmce {
  border-radius: 6px 0 0 0 !important;
}

#bbpress-forums .wp-editor-tabs button.switch-html {
  border-radius: 0 6px 0 0 !important;
}

#bbpress-forums .wp-editor-tabs button[aria-pressed="true"] {
  background: white !important;
  border-bottom-color: white !important;
  color: #333 !important;
}

/* Quicktags Toolbar */
#bbpress-forums .quicktags-toolbar input {
  background: white !important;
  color: #666 !important;
  border: 1px solid #ddd !important;
  padding: 6px 10px !important;
  font-size: 12px !important;
  margin: 2px !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 400 !important;
  transition: all 0.2s ease !important;
}

#bbpress-forums .quicktags-toolbar input:hover {
  background: #f5f5f5 !important;
  border-color: #ccc !important;
  transform: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #bbpress-forums li.bbp-header,
  #bbpress-forums li.bbp-body ul.forum,
  #bbpress-forums li.bbp-body ul.topic {
    padding: 16px !important;
    flex-direction: column !important;
  }

  /* Stack author and content vertically on mobile */
  #bbpress-forums div.reply > div:not(.bbp-reply-header):not(.bbp-meta),
  #bbpress-forums div.topic > div:not(.bbp-topic-header):not(.bbp-meta) {
    flex-direction: column !important;
  }

  #bbpress-forums div.bbp-reply-author {
    border-right: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    flex: 1 !important;
    max-width: 100% !important;
    padding: 16px !important;
  }

  #bbpress-forums div.bbp-reply-content {
    padding: 16px !important;
  }

  ul.bbp-replies > li.bbp-header div.bbp-reply-author,
  ul.bbp-replies > li.bbp-footer div.bbp-reply-author {
    flex: 1 !important;
    max-width: 100% !important;
  }

  #bbpress-forums button,
  #bbpress-forums input[type="submit"] {
    width: 100%;
    padding: 14px;
  }

  #bbpress-forums .bbp-pagination-links a,
  #bbpress-forums .bbp-pagination-links span {
    padding: 6px 12px;
    font-size: 14px;
  }

  #bbpress-forums span.bbp-admin-links a {
    font-size: 0.8em;
    padding: 4px 8px;
  }
}

#bbpress-forums li.bbp-footer,
#bbpress-forums li.bbp-header {
  padding: 0 !important;
}

.bbp-header > .bbp-reply-content {
  padding-left: 0 !important;
}

#bbpress-forums li.bbp-header ul {
  overflow: hidden;
  padding: 8px 16px !important;
}

#brx-content.wordpress.forum {
  width: auto;
}

/* ==========================================
   MODERN LIFTERLMS DASHBOARD DESIGN 2025
   Nutzt CSS Variablen: --primary, --primary-light,
   --primary-dark, --primary, etc.
   ========================================== */

/* ===================
   DASHBOARD CONTAINER
   =================== */
.llms-sd-tab.dashboard {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem;
  font-size: 1.6rem; /* Basis für rem bei 62.5% root */
}

/* ===================
   HEADER BEREICH
   =================== */
.llms-sd-header {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  border-radius: 20px;
  padding: 2.5rem 3rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px var(--primary-trans-30);
}

.llms-sd-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--primary-trans-20);
  border-radius: 50%;
  pointer-events: none;
}

.llms-sd-header::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: 5%;
  width: 200px;
  height: 200px;
  background: var(--primary-light-trans-10);
  border-radius: 50%;
  pointer-events: none;
}

.llms-sd-header h1,
.llms-sd-header h2,
.llms-sd-header .llms-sd-title {
  color: white !important;
  font-size: 3.2rem;
  font-weight: 700;
  margin: 0;
  position: relative;
  z-index: 1;
}

.llms-sd-header p {
  color: var(--primary-ultra-light);
  margin-top: 0.5rem;
  position: relative;
  z-index: 1;
}

/* ===================
   NAVIGATION
   =================== */
.llms-sd-nav {
  background: white;
  border-radius: 16px;
  padding: 0.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--primary-trans-10);
}

.llms-sd-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.llms-sd-item {
  flex: 1;
  min-width: fit-content;
}

/* Verstecke die Standard Bullet-Separatoren */
.llms-sd-item .llms-sep {
  display: none;
}

.llms-sd-link {
  display: block;
  padding: 1.2rem 2rem;
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  font-size: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  border: 2px solid transparent;
}

.llms-sd-link:hover {
  background: var(--primary-ultra-light);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.llms-sd-item.current .llms-sd-link {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white;
  box-shadow: 0 4px 15px var(--primary-trans-30);
}

/* Mobile Navigation Select */
.llms-sd-nav select {
  display: none;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid var(--primary-trans-20);
  background: white;
  color: var(--primary);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
}

/* ===================
   DASHBOARD SECTIONS
   =================== */
.llms-sd-section {
  background: white;
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--primary-trans-10);
  transition: all 0.3s ease;
}

.llms-sd-section:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.llms-sd-section-title {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 2rem 0;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-trans-10);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.llms-sd-section-title::before {
  content: "";
  width: 4px;
  height: 1.5rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary) 100%);
  border-radius: 2px;
}

.llms-sd-section-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--primary-trans-10);
  text-align: center;
}

/* ===================
   KURS CARDS (Loop Items)
   =================== */
.llms-loop-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.llms-loop-item {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--primary-trans-10);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  list-style: none;
}

.llms-loop-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px var(--primary-trans-20);
}

.llms-loop-item-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Kurs Thumbnail */
.llms-loop-item .llms-thumbnail,
.llms-loop-item .llms-featured-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.llms-loop-item .llms-thumbnail img,
.llms-loop-item .llms-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.llms-loop-item:hover .llms-thumbnail img,
.llms-loop-item:hover .llms-featured-image img {
  transform: scale(1.05);
}

/* Progress Bar auf Thumbnail */
.llms-loop-item .llms-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-trans-20);
}

.llms-loop-item .llms-progress-bar .progress-bar-complete {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  transition: width 0.5s ease;
}

/* Kurs Titel */
.llms-loop-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0;
  padding: 1.5rem 1.5rem 1rem;
  line-height: 1.4;
}

.llms-loop-item a {
  text-decoration: none;
  color: inherit;
}

.llms-loop-item a:hover .llms-loop-title {
  color: var(--primary);
}

/* Kurs Footer/Meta */
.llms-loop-item-footer {
  padding: 0 1.5rem 1.5rem;
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.llms-loop-item-footer .llms-meta,
.llms-loop-item-footer span {
  font-size: 1.4rem;
  color: var(--primary-trans-60);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Autor */
.llms-loop-item-footer .llms-author {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.llms-loop-item-footer .llms-author img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

/* ===================
   PROGRESS BARS
   =================== */
.llms-progress {
  margin: 1rem 0;
}

.llms-progress .progress-bar-wrapper {
  background: var(--primary-trans-10);
  border-radius: 10px;
  height: 10px;
  overflow: hidden;
}

.llms-progress .progress-bar-complete {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 10px;
  transition: width 0.5s ease;
}

.llms-progress .llms-progress-text {
  display: flex;
  justify-content: space-between;
  margin-top: 0.75rem;
  font-size: 1.4rem;
  color: var(--primary-trans-60);
}

/* ===================
   BUTTONS
   =================== */
.llms-button-primary,
.llms-button-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2.4rem;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  color: white !important;
  font-weight: 600;
  font-size: 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px var(--primary-trans-30);
}

.llms-button-primary:hover,
.llms-button-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--primary-trans-40);
  background: linear-gradient(
    135deg,
    var(--primary-dark) 0%,
    var(--primary-ultra-dark) 100%
  );
}

.llms-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.2rem 2.4rem;
  background: white;
  color: var(--primary) !important;
  font-weight: 600;
  font-size: 1.5rem;
  border: 2px solid var(--primary);
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.llms-button-secondary:hover {
  background: var(--primary);
  color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px var(--primary-trans-30);
}

.llms-button-secondary.small {
  padding: 0.8rem 1.4rem;
  font-size: 1.3rem;
}

/* ===================
   TABELLEN
   =================== */
.llms-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.llms-table thead {
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
}

.llms-table thead th {
  color: white;
  font-weight: 600;
  padding: 1.4rem 1.6rem;
  text-align: left;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.llms-table tbody tr {
  background: white;
  transition: background 0.2s ease;
}

.llms-table tbody tr:nth-child(even) {
  background: var(--primary-ultra-light);
}

.llms-table tbody tr:hover {
  background: var(--primary-trans-10);
}

.llms-table tbody td {
  padding: 1.4rem 1.6rem;
  border-bottom: 1px solid var(--primary-trans-10);
  color: var(--primary-dark);
  font-size: 1.5rem;
}

.llms-table tbody tr:last-child td {
  border-bottom: none;
}

/* ===================
   FORMULARE
   =================== */
.llms-form-field {
  margin-bottom: 1.5rem;
}

.llms-form-field label {
  display: block;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
}

.llms-form-field input[type="text"],
.llms-form-field input[type="email"],
.llms-form-field input[type="password"],
.llms-form-field input[type="number"],
.llms-form-field textarea,
.llms-form-field select {
  width: 100%;
  padding: 1.2rem 1.4rem;
  border: 2px solid var(--primary-trans-20);
  border-radius: 12px;
  font-size: 1.6rem;
  color: var(--primary-dark);
  background: white;
  transition: all 0.3s ease;
}

.llms-form-field input:focus,
.llms-form-field textarea:focus,
.llms-form-field select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-trans-10);
}

/* ===================
   ACHIEVEMENTS & ZERTIFIKATE
   =================== */
.llms-achievement,
.llms-certificate {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: white;
  border-radius: 16px;
  border: 1px solid var(--primary-trans-10);
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.llms-achievement:hover,
.llms-certificate:hover {
  box-shadow: 0 8px 25px var(--primary-trans-10);
  transform: translateY(-2px);
  border-color: var(--primary-trans-30);
}

.llms-achievement img,
.llms-certificate img {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  object-fit: cover;
}

.llms-achievement .llms-achievement-title,
.llms-certificate .llms-certificate-title {
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--primary-dark);
  margin: 0 0 0.5rem 0;
}

.llms-achievement .llms-achievement-date,
.llms-certificate .llms-certificate-date {
  font-size: 1.4rem;
  color: var(--primary-trans-60);
}

/* ===================
   ORDERS / BESTELLUNGEN
   =================== */
.llms-order {
  background: white;
  border-radius: 16px;
  border: 1px solid var(--primary-trans-10);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.llms-order:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.llms-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  background: var(--primary-ultra-light);
  border-bottom: 1px solid var(--primary-trans-10);
}

.llms-order-status {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.llms-order-status.llms-active {
  background: var(--primary-trans-20);
  color: var(--primary-dark);
}

.llms-order-status.llms-pending {
  background: var(--primary-trans-20);
  color: var(--primary);
}

/* ===================
   NOTIFICATIONS / NOTICES
   =================== */
.llms-notice,
.llms-sd-notification {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.llms-notice.llms-info {
  background: var(--primary-ultra-light);
  border-left: 4px solid var(--primary);
  color: var(--primary-dark);
}

.llms-notice.llms-success {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  color: #065f46;
}

.llms-notice.llms-warning {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  color: #92400e;
}

.llms-notice.llms-error {
  background: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #991b1b;
}

/* ===================
   PAGINATION
   =================== */
.llms-pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.llms-pagination a,
.llms-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: 10px;
  background: white;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  border: 2px solid var(--primary-trans-20);
  transition: all 0.3s ease;
}

.llms-pagination a:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

.llms-pagination span.current {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}

/* ===================
   FAVORITES / FAVORITEN
   =================== */
.llms-favorite-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: white;
  border-radius: 12px;
  border: 1px solid var(--primary-trans-10);
  margin-bottom: 0.75rem;
  transition: all 0.3s ease;
}

.llms-favorite-item:hover {
  background: var(--primary-ultra-light);
  border-color: var(--primary-trans-20);
}

.llms-favorite-item .llms-favorite-icon {
  color: var(--primary);
  font-size: 1.25rem;
}

/* ===================
   EMPTY STATES
   =================== */
.llms-sd-section:empty::before,
.llms-sd-section .no-results {
  display: block;
  text-align: center;
  padding: 4rem;
  color: var(--primary-trans-50);
  font-size: 1.6rem;
}

/* ===================
   VOUCHER FORM
   =================== */
.llms-voucher-form {
  max-width: 500px;
  margin: 0 auto;
}

.llms-voucher-form input[type="text"] {
  text-align: center;
  font-size: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* ===================
   RESPONSIVE DESIGN
   =================== */
@media (max-width: 1024px) {
  .llms-sd-tab.dashboard {
    padding: 1.5rem;
  }

  .llms-loop-list {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .llms-sd-tab.dashboard {
    padding: 1.5rem;
  }

  .llms-sd-header {
    padding: 2rem;
    border-radius: 16px;
  }

  .llms-sd-header h1,
  .llms-sd-header h2 {
    font-size: 2.4rem;
  }

  /* Navigation wird vertikal */
  .llms-sd-items {
    flex-direction: column;
  }

  .llms-sd-item {
    width: 100%;
  }

  .llms-sd-link {
    padding: 1rem 1.2rem;
    font-size: 1.4rem;
  }

  /* Oder: Mobile Select anzeigen */
  .llms-sd-nav select {
    display: block;
    font-size: 1.5rem;
  }

  .llms-sd-nav .llms-sd-items {
    display: none;
  }

  .llms-sd-section {
    padding: 2rem;
    border-radius: 16px;
  }

  .llms-sd-section-title {
    font-size: 2rem;
  }

  .llms-loop-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .llms-loop-item {
    border-radius: 12px;
  }

  .llms-button-primary,
  .llms-button-action,
  .llms-button-secondary {
    width: 100%;
    padding: 1.4rem;
    font-size: 1.5rem;
  }

  .llms-achievement,
  .llms-certificate {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .llms-sd-tab.dashboard {
    padding: 1rem;
  }

  .llms-sd-header {
    padding: 1.5rem;
  }

  .llms-sd-header h1,
  .llms-sd-header h2 {
    font-size: 2rem;
  }

  .llms-sd-section {
    padding: 1.5rem;
  }

  .llms-sd-section-title {
    font-size: 1.8rem;
  }

  .llms-table {
    font-size: 1.4rem;
  }

  .llms-table thead th,
  .llms-table tbody td {
    padding: 1rem;
  }

  .llms-loop-title {
    font-size: 1.6rem;
  }
}

/* ==========================================
   DASHBOARD STATISTIK WIDGETS
   Moderne Kacheln, Donut-Chart, Fortschrittsbalken
   ========================================== */

/* Dashboard Widgets Container */
.llms-dashboard-widgets {
  margin-bottom: 3rem;
}

/* Begrüßung */
.llms-dashboard-greeting {
  margin-bottom: 2.5rem;
}

.llms-dashboard-greeting h2 {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin: 0 0 0.5rem 0;
}

.llms-dashboard-greeting p {
  font-size: 1.6rem;
  color: var(--primary-trans-60);
  margin: 0;
}

/* ===================
   STATISTIK KACHELN
   =================== */
.llms-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.llms-stat-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--primary-trans-10);
  transition: all 0.3s ease;
}

.llms-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.llms-stat-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.llms-stat-icon svg {
  width: 2.8rem;
  height: 2.8rem;
}

/* Kachel Farben */
.llms-stat-courses .llms-stat-icon {
  background: var(--primary-trans-10);
  color: var(--primary);
}

.llms-stat-completed .llms-stat-icon {
  background: var(--primary-trans-20);
  color: var(--primary-dark);
}

.llms-stat-certificates .llms-stat-icon {
  background: linear-gradient(
    135deg,
    var(--primary-trans-20) 0%,
    var(--primary-trans-10) 100%
  );
  color: var(--primary);
}

.llms-stat-achievements .llms-stat-icon {
  background: var(--primary-light-trans-20);
  color: var(--primary-light);
}

.llms-stat-content {
  display: flex;
  flex-direction: column;
}

.llms-stat-number {
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.llms-stat-label {
  font-size: 1.4rem;
  color: var(--primary-trans-60);
  font-weight: 500;
}

/* ===================
   FORTSCHRITTS-BEREICH
   =================== */
.llms-progress-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
}

/* Donut Chart Card */
.llms-progress-donut-card,
.llms-courses-progress-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--primary-trans-10);
}

.llms-progress-donut-card h3,
.llms-courses-progress-card h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin: 0 0 2rem 0;
}

/* Donut Chart */
.llms-donut-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.llms-donut {
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background: conic-gradient(
    var(--primary) 0deg calc(var(--progress) * 3.6deg),
    var(--primary-trans-10) calc(var(--progress) * 3.6deg) 360deg
  );
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.llms-donut-inner {
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.llms-donut-percent {
  font-size: 3.6rem;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1;
}

.llms-donut-label {
  font-size: 1.3rem;
  color: var(--primary-trans-60);
  margin-top: 0.3rem;
}

/* Legende */
.llms-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.llms-legend-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.4rem;
  color: var(--primary-trans-70);
}

.llms-legend-dot {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.llms-legend-completed {
  background: var(--primary);
}

.llms-legend-progress {
  background: var(--primary-trans-20);
}

/* ===================
   KURS FORTSCHRITTSBALKEN
   =================== */
.llms-courses-progress-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.llms-course-progress-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--primary-trans-10);
}

.llms-course-progress-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.llms-course-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.llms-course-progress-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.llms-course-progress-title:hover {
  color: var(--primary);
}

.llms-course-progress-percent {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--primary);
}

.llms-course-progress-bar {
  height: 0.8rem;
  background: var(--primary-trans-10);
  border-radius: 10px;
  overflow: hidden;
}

.llms-course-progress-fill {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
  border-radius: 10px;
  transition: width 0.5s ease;
}

.llms-course-progress-fill.is-complete {
  background: linear-gradient(
    90deg,
    var(--primary) 0%,
    var(--primary-light) 100%
  );
}

.llms-no-courses {
  text-align: center;
  color: var(--primary-trans-50);
  font-size: 1.5rem;
  padding: 3rem 0;
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 1200px) {
  .llms-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .llms-progress-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .llms-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .llms-stat-card {
    padding: 1.5rem;
  }

  .llms-stat-icon {
    width: 5rem;
    height: 5rem;
  }

  .llms-stat-icon svg {
    width: 2.4rem;
    height: 2.4rem;
  }

  .llms-stat-number {
    font-size: 2.6rem;
  }

  .llms-stat-label {
    font-size: 1.3rem;
  }

  .llms-progress-donut-card,
  .llms-courses-progress-card {
    padding: 2rem;
  }

  .llms-donut {
    width: 16rem;
    height: 16rem;
  }

  .llms-donut-inner {
    width: 11rem;
    height: 11rem;
  }

  .llms-donut-percent {
    font-size: 3rem;
  }

  .llms-dashboard-greeting h2 {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .llms-stat-card {
    gap: 1rem;
  }

  .llms-stat-icon {
    width: 4.5rem;
    height: 4.5rem;
  }

  .llms-stat-number {
    font-size: 2.2rem;
  }

  .llms-donut {
    width: 14rem;
    height: 14rem;
  }

  .llms-donut-inner {
    width: 10rem;
    height: 10rem;
  }

  .llms-donut-percent {
    font-size: 2.6rem;
  }
}
