.sidebar p {
    margin: 0 0 2px; /* Reduziert den Abstand zum nächsten Absatz auf 2 Pixel */
    line-height: 1.0;
}

/*
.sidebar h2 {
margin-top: 9px;
border-bottom: 1px solid var(--color-border-light);
padding-bottom: 0.2px;
color: var(--color-heading);
font-weight: 500;
font-size: var(--font-size-sidebar-h2); 
}

.sidebar .pagetitle + a, 
.sidebar .pagetitle + span {
  margin-left: 10px;
  vertical-align: middle;
}
*/


.sidebar-title-wrapper {
  display: flex;
  align-items: center;
  
  background: url("/images/htag-heading-bg.png") repeat-x left bottom transparent;
  
  margin-top: 20px;
  padding-bottom: 2px;
  width: 100%;
  margin-bottom: 10px;
}

.sidebar-title-wrapper:first-of-type {
  margin-top: 6px; 
}

.sidebar-pagetitle {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
  color: var(--color-heading);
  font-weight: 500;
  font-size: var(--font-size-sidebar-h2);
  line-height: 1;
}

.sidebar .title-link {
  flex-shrink: 0;
  width: 25px;
  text-align: right;
  font-size: 0.9em;
  line-height: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}


/* -----------------------------------------------------------------------------
 * Hintergrundfarben (BG)
 * ----------------------------------------------------------------------------- */

.sidebar .sidebar-header {
	margin:0;
}

.sidbar .sidebar-content {
	margin:0;
}
.sidebar .urgency-box {
	padding: 2px 4px;
	margin-bottom: 2px;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

/* Level 1: LOW (Routine) */
.sidebar .urgency-low-bg {
    background-color: #10B981; /* Tailwind green-500 */
}
/* Level 2: MED (Standard) */
.sidebar .urgency-med-bg {
    background-color: #F59E0B; /* Tailwind yellow-500 */
}
/* Level 3: HIGH (Kritisch) */
.sidebar .urgency-high-bg {
    background-color: #DC2626; /* Tailwind red-600 */
}
/* Level 4: URGENT (Dringend) */
.sidebar .urgency-urgent-bg {
    background-color: #9333EA; /* Tailwind purple-600 */
}
/* Level 5: CRASH (Totalausfall) */
.sidebar .urgency-crash-bg {
    background-color: #1F2937; /* Tailwind gray-800 */
}


/* -----------------------------------------------------------------------------
 * Textfarben (TEXT)
 * ----------------------------------------------------------------------------- */

/* Level 1: LOW Text */
.sidebar .urgency-low-text {
    color: #FFFFFF;
}

/* Level 2: MED Text */
.sidebar .urgency-med-text {
    color: #111827; /* Tailwind gray-900 */
}

/* Level 3: HIGH Text */
.sidebar .urgency-high-text {
    color: #FFFFFF;
}

/* Level 4: URGENT Text */
.sidebar .urgency-urgent-text {
    color: #FFFFFF;
}

/* Level 5: CRASH Text */
.sidebar .urgency-crash-text {
    color: #FFFFFF;
}