/* =========================================
   Schwarzes Brett – Optisch optimiert
   ========================================= */

/* Container */
.blackboard-container {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: flex-start;
    align-items: stretch;
    margin-top: 20px;
    text-align: left !important;   /* <<< DAS FEHLTE */
}

/* Zettel */
.blackboard-note {
    background: var(--note-color, #fff9b0);
    padding: 18px 18px 70px 18px;
    width: 330px;                     /* <-- BREITER! */
    min-height: 180px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    transform: rotate(var(--note-rotation, 0deg));
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    text-align: left !important;   /* <<< DAS FEHLTE */
}

/* Bild oben */
.blackboard-image-container {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.note-image-preview {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

/* Inhalt */
.blackboard-note-content {
    flex: 1;
    white-space: pre-wrap;
    font-size: 1.05em;
    margin-bottom: 15px;
    text-align: left !important;
}

/* Footer */
.blackboard-note-footer {
    position: absolute;
    bottom: 12px;
    left: 18px;
    right: 18px;

    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 10px;

    border-top: 1px solid rgba(0,0,0,0.2);
    font-size: 0.9em;
}

.blackboard-note-footer span:first-child {
    color: #444;
}

/* Buttons */
.blackboard-button {
    display: inline-block;
    padding: 6px 10px;
    font-size: 0.85em;
    border-radius: 5px;
    text-decoration: none;
    margin-left: 5px;
    cursor: pointer;
    color: #fff;
}

/* Einzelne Farben */
.blackboard-button.contact  { background: #1e88e5; }
.blackboard-button.edit     { background: #43a047; }
.blackboard-button.delete   { background: #e53935; }

/* Hover */
.blackboard-button:hover {
    opacity: 0.85;
}

/* Admin-Anzeige (Autor) */
.admin-author-info {
    margin-top: 8px;
    font-size: 0.85em;
    color: #333;
    opacity: 0.8;
    border-top: 1px dashed rgba(0,0,0,0.3);
    padding-top: 5px;
}