.feed-filter-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%); /* Schöner, sanfter Verlauf */
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    border-left: 5px solid #4a90e2; /* Setzt einen farbigen Akzent an der Seite */
}

/* Ein kleiner Trick: Ein subtiler Kreis im Hintergrund für mehr Tiefe */
.feed-filter-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.banner-icon {
    font-size: 2.5rem;
    background: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.banner-text {
    display: flex;
    flex-direction: column;
}

.banner-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7b93;
    font-weight: bold;
    margin-bottom: 2px;
}

.banner-title {
    margin: 0;
    font-size: 1.4rem;
    color: #2c3e50;
    font-weight: 700;
}

.banner-meta {
    margin: 4px 0 0 0;
    font-size: 0.9rem;
    color: #5a6b82;
}

.banner-close {
    font-size: 1.8rem;
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 5px 10px;
    line-height: 1;
}

.banner-close:hover {
    color: #c0392b;
    transform: scale(1.1);
}

/* Responsiv für Mobilgeräte */
@media (max-width: 600px) {
    .feed-filter-banner {
        padding: 15px;
    }
    .banner-icon {
        display: none; /* Auf dem Handy Platz sparen */
    }
    .banner-title {
        font-size: 1.1rem;
    }
    .banner-meta {
        font-size: 0.8rem;
    }
}

/* Haupt-Container des Profils */
.profile-container {
    width: 100vw !important;
    max-width: 1400px;
    margin: 0 auto 30px auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

/* Individualisierbarer Banner */
.profile-banner {
    height: 250px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    background-color: #cfdef3; /* Fallback-Farbe */
}

/* Button zum Bearbeiten des Banners */
.edit-banner-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.edit-banner-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* Kopfbereich unter dem Banner */
.profile-header {
    padding: 0 30px 30px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Avatar-Wrapper für die Überlagerung */
.avatar-wrapper {
    position: relative;
    margin-top: -75px; /* Zieht den Avatar exakt zur Hälfte auf den Banner hoch */
    margin-bottom: 15px;
    display: inline-block;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #ffffff; /* Weißer Rand trennt den Avatar optisch vom Banner */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
}

/* Plus-Button auf dem Avatar */
.edit-avatar-btn {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: #4a90e2;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}
.edit-avatar-btn:hover {
    background: #357abd;
}

/* Profil-Textdaten */
.profile-info {
    width: 100%;
}

.profile-username {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    color: #2c3e50;
    font-weight: 700;
}

.profile-bio {
    margin: 0;
    font-size: 1rem;
    color: #5a6b82;
    line-height: 1.6;
    max-width: 700px; /* Begrenzt die Breite für bessere Lesbarkeit */
}

/* --- Responsive Anpassungen für Smartphones --- */
@media (max-width: 600px) {
    .profile-banner {
        height: 160px; /* Flacherer Banner auf dem Handy */
    }
    
    .profile-header {
        padding: 0 20px 20px 20px;
        align-items: center; /* Zentriert Avatar & Text auf Mobilgeräten */
        text-align: center;
    }
    
    .avatar-wrapper {
        margin-top: -60px;
    }
    
    .profile-avatar {
        width: 120px;
        height: 120px;
    }
    
    .profile-username {
        font-size: 1.5rem;
    }
    
    .profile-bio {
        font-size: 0.95rem;
    }
}