/* Beiträge: leicht abgerundete Ecken */
#es#es .es-stream {
    border-radius: 8px !important;
    border-color: #d6e6ee !important;
}

/* Öffentliche Namen und Beitragstitel */
#es#es .es-stream-title a,
#es#es .es-stream-meta a,
#es#es .es-container__sidebar a {
    color: #006c9c !important;
}

#es#es .es-stream-title a:hover,
#es#es .es-stream-meta a:hover,
#es#es .es-container__sidebar a:hover {
    color: #004b75 !important;
}

/* Hauptbuttons */
#es#es .btn-es-primary {
    background: #007aa3 !important;
    border-color: #007aa3 !important;
    color: #ffffff !important;
    border-radius: 6px !important;
}

#es#es .btn-es-primary:hover,
#es#es .btn-es-primary:focus {
    background: #005d85 !important;
    border-color: #005d85 !important;
}

/* Eingabebereich für neue Beiträge */
#es#es .es-story {
    border-radius: 8px !important;
    border-color: #cce7ef !important;
}
/* Module in der Seitenleiste */
#es#es .es-side-widget.is-module {
    border: 1px solid #d6e6ee !important;
    border-radius: 8px !important;
}

#es#es .es-side-widget.is-module .es-side-widget__hd {
    border-radius: 8px 8px 0 0 !important;
}
/* Trennlinie unter Profilbild und Name */
#es#es .es-stream > .es-stream-meta {
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
    border-bottom: 1px solid #d6e6ee !important;
}

/* Mehr Abstand für den Beitragstext */
#es#es .es-stream > .es-stream-content {
    padding-top: 4px !important;
    padding-bottom: 12px !important;
}

/* Trennlinie über Gefällt / Kommentieren / Teilen */
#es#es .es-stream > .es-actions {
    margin-top: 12px !important;
    border-top: 1px solid #d6e6ee !important;
}

#es#es .es-stream > .es-actions > .es-actions__item-action {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
/* Kommentare: Name und Text voneinander trennen */
#es#es .es-comment .es-comment__author {
    display: block;
    border-bottom: 1px solid #d6e6ee;
    padding-bottom: 8px;
    margin-bottom: 8px;
}
/* Eingabefeld für neue Beiträge hervorheben */
#es#es .es-story {
    background: #eef9fc !important;
    border: 2px solid #008bb5 !important;
    border-radius: 8px !important;
}

#es#es .es-story .es-story-textfield {
    background: #eef9fc !important;
    color: #173d50 !important;
}

#es#es .es-story .es-story-textfield::placeholder {
    color: #456575 !important;
    opacity: 1;
}

/* Beim Hineinklicken zusätzlich hervorheben */
#es#es .es-story:focus-within {
    border-color: #005d85 !important;
    box-shadow: 0 0 0 3px rgba(0, 139, 181, 0.15);
}
/* Filterleiste: gleicher Hintergrund wie Beitragseditor */
#es#es .es-stream-filter-bar {
    background: #eef9fc !important;
    border: 1px solid #d6e6ee !important;
    border-radius: 8px !important;
}

/* Kommentarbereich: sehr helles Blau */
#es#es .es-actions__item-comment,
#es#es .es-actions__item-comment .es-comments-wrapper,
#es#es .es-actions__item-comment .es-comments-wrap,
#es#es .es-actions__item-comment .es-comment,
#es#es .es-actions__item-comment .es-comments-form {
    background: #f7fcfe !important;
}
/* Linke Modulspalte auf Computern verbreitern */
@media (min-width: 992px) {
    #es#es .es-dashboard > .es-container > .es-container__sidebar {
        width: 350px !important;
        min-width: 350px !important;
        flex: 0 0 350px !important;
    }
}
/* Hintergrund der Modultitel */
#es#es .es-side-widget.is-module .es-side-widget__hd {
    background: linear-gradient(
        to bottom,
        #b500c5 0%,
        #381078 45%,
        #004c97 70%,
        #00c9eb 100%
    ) !important;
    padding: 10px 14px !important;
    border-radius: 7px 7px 0 0 !important;
}

/* Weiße, kräftige Titel */
#es#es .es-side-widget.is-module .es-side-widget__title,
#es#es .es-side-widget.is-module .es-side-widget__title a {
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}
/* CRE8-Anmeldebereich für Gäste ausblenden */
#es#es [data-dashboard-guest-login] {
    display: none !important;
}