body{background-color:#EFE7DB;}
.home #main, .page #main, .site-content, #page{background-color:#EFE7DB;}
h1,h2,h3,h4,h5,h6{color:#2B2622;}
.stm_lms_account_dropdown .dropdown > button{min-width:300px;justify-content:center;}
.stm_lms_account_dropdown .dropdown > button .login_name{font-size:0 !important;}
.stm_lms_account_dropdown .dropdown > button .login_name::after{content:'Mein Konto';font-size:14px;font-weight:500;line-height:18px;}

/* Kurskarten: groesser, runde Ecken, hochwertiger */
.stm_lms_courses__grid_4 .stm_lms_courses__single {
  width: 45% !important;
  flex: 0 0 45% !important;
  max-width: 45% !important;
  padding: 15px !important;
}
.stm_lms_courses__single__inner {
  border-radius: 20px !important;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06) !important;
  box-shadow: 0 8px 24px rgba(43,38,34,.10) !important;
}
.stm_lms_courses__single--image,
.stm_lms_courses__single--image__container,
.stm_lms_courses__single--image img {
  border-radius: 20px 20px 0 0 !important;
}
.stm_lms_courses__single--image,
.stm_lms_courses__single--image__container {
  height: 260px !important;
}
.stm_lms_courses__single--inner {
  padding: 16px 14px;
  border-radius: 0 0 20px 20px;
}
.stm_lms_courses__single--info {
  border-radius: 20px !important;
  overflow: hidden;
}
.stm_lms_courses__single:hover {
  z-index: 10;
  position: relative;
}

/* Button Kursvorschau anzeigen im Hover-Fenster */
.stm_lms_courses__single--info a.heading_font {
  background-color: #5a4a3c !important;
  color: #fff !important;
  border-radius: 10px !important;
  transition: background-color .2s ease;
}
.stm_lms_courses__single--info a.heading_font:hover {
  background-color: #43362b !important;
}


/* Lupe im Header + Suchfeld-Button: dunkelbraun */
body .navigation .ms_lms_course_search_box__popup_button,
body .navigation .ms_lms_course_search_box__compact_button,
body .ms_lms_course_search_box__search_input_button {
  background-color: #5a4a3c !important;
  transition: background-color .2s ease;
}
body .navigation .ms_lms_course_search_box__popup_button:hover,
body .navigation .ms_lms_course_search_box__compact_button:hover,
body .ms_lms_course_search_box__search_input_button:hover {
  background-color: #43362b !important;
}

/* Sortierung ausblenden (Lupe im Header, siehe oben) */
.courses_filters__activities .lms_courses.sort {
  display: none !important;
}


/* Ueberschrift Kursliste: NiSV-Schulungen */
.courses_filters__title h1 {
  font-size: 0 !important;
  line-height: 0 !important;
}
.courses_filters__title h1::after {
  content: 'NiSV-Schulungen';
  font-size: 50px;
  line-height: 55px;
  font-weight: 300;
}
@media (max-width: 767px) {
  .courses_filters__title h1::after {
    font-size: 32px;
    line-height: 38px;
  }
}

/* Mehr Abstand zwischen den Hauptmenue-Punkten */
.starter-menu.menu > li {
  margin-right: 30px !important;
}
.starter-menu.menu > li:last-child {
  margin-right: 0 !important;
}


/* Ueberschrift nicht umbrechen */
.courses_filters__title {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
}
.courses_filters__title h1::after {
  white-space: nowrap;
}


/* Suchfeld Kursliste: runde Form, Lupe dunkelbraun, Text Kurs suchen */
.lms_courses.search {
  margin-left: 60px !important;
}
.stm_lms_courses__search {
  position: relative;
  border-radius: 999px;
  overflow: hidden;
}
.stm_lms_courses__search input {
  border-radius: 999px !important;
  padding-left: 24px !important;
  padding-right: 56px !important;
}
.stm_lms_courses__search input::placeholder {
  color: transparent !important;
}
.stm_lms_courses__search::before {
  content: 'Kurs suchen';
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  color: #757575;
  font-size: 16px;
  pointer-events: none;
  z-index: 2;
}
.stm_lms_courses__search:focus-within::before,
.stm_lms_courses__search:has(input:not(:placeholder-shown))::before {
  display: none;
}
.stm_lms_courses__search .lms-search-btn {
  background-color: #5a4a3c !important;
  border-radius: 999px !important;
  transition: background-color .2s ease;
}
.stm_lms_courses__search .lms-search-btn:hover {
  background-color: #43362b !important;
}


/* Lupe als Kreis am rechten Ende des Suchfelds */
.stm_lms_courses__search {
  width: 260px;
}
.stm_lms_courses__search input {
  width: 100% !important;
}
.stm_lms_courses__search .lms-search-btn {
  position: absolute !important;
  right: 0;
  top: 0;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}


/* Header-Lupe entfernt, Mein Konto rueckt nach links */
.navigation .stm_lms_courses_search {
  display: none !important;
}
.stm_lms_account_dropdown {
  margin-right: 80px !important;
}

/* KT-HINTERGRUND: edle Beige-Textur (Seide + Korn) */
body, #wrapper, #main, .site-content, .content-area, main {
  background-color: #eadfd1 !important;
  background-image:
    radial-gradient(ellipse 60% 45% at 12% 0%, rgba(255,252,247,.8), rgba(255,252,247,0) 70%),
    radial-gradient(ellipse 50% 45% at 100% 90%, rgba(201,171,143,.35), rgba(201,171,143,0) 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 0 0.25  0 0 0 0.10 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"), url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='1200' height='900'><filter id='s' x='0' y='0' width='100%' height='100%'><feTurbulence type='fractalNoise' baseFrequency='0.0025 0.006' numOctaves='4' seed='7'/><feColorMatrix values='0 0 0 0 0.55  0 0 0 0 0.42  0 0 0 0 0.32  0 0 0 1.1 -0.32'/></filter><rect width='100%' height='100%' filter='url(%23s)' opacity='0.55'/></svg>"),
    linear-gradient(165deg, #f4ece2 0%, #e9dccd 50%, #dfcdb9 100%) !important;
  background-size: auto, auto, 220px 220px, cover, auto !important;
  background-attachment: fixed !important;
}
.stm_lms_courses__single, .stm_lms_courses__single * { box-shadow: none !important; }
.stm_lms_courses__single__inner { box-shadow: 0 22px 45px -20px rgba(90,62,43,.38), 0 2px 8px rgba(90,62,43,.08) !important; border-radius: 16px; }

/* Login-Button: gleicher Stil wie "Mein Konto" im eingeloggten Zustand */
@media (min-width: 1026px) {
  body .navigation a.ms-lms-authorization { display: none !important; }
  body .navigation a.ms-lms-authorization + a {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; width: 300px; max-width: 100%; margin-left: 30px; padding: 15px;
    background-color: #f0f4fa; border-radius: 50px; text-decoration: none; cursor: pointer;
    font-family: Poppins, sans-serif; font-size: 14px; font-weight: 500; line-height: 23px;
  }
  body .navigation a.ms-lms-authorization + a .ms-lms-authorization-title { font-size: 0; text-transform: none; }
  body .navigation a.ms-lms-authorization + a .ms-lms-authorization-title::after {
    content: "Login"; font-family: Poppins, sans-serif; font-size: 20px; font-weight: 400; color: #2a3045;
  }
  body .navigation a.ms-lms-authorization + a:hover .ms-lms-authorization-title::after { color: #2a3045; }
}
@media (max-width: 1025px) {
  body .navigation a.ms-lms-authorization .ms-lms-authorization-icon {
    background-color: #f0f4fa; color: #385bce; width: 44px; height: 44px; border-radius: 50%;
  }
}
