/* =============================================================
   Classic – Bildkommentare
   ============================================================= */
.gallery-comments {
    margin: 36px 0 22px;
    padding: 26px;
    border: 1px solid #dfe7eb;
    border-radius: 16px;
    background: #fff;
}
.gallery-comments-heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.gallery-comments-heading h2 {
    margin: 0;
}
.gallery-comments-heading span {
    display: inline-flex;
    justify-content: center;
    min-width: 29px;
    padding: 4px 8px;
    border-radius: 20px;
    background: #e9f1f4;
    color: #355d70;
}
/* =============================================================
   Einzelne Kommentare – KPI-Kartenoptik
   ============================================================= */
.gallery-comments-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.gallery-comments-list .gallery-comment {
    padding: 17px 20px;
    border: 1px solid #dce6eb;
    border-left: 5px solid #628494;
    border-radius: 12px;
    background: #f9fbfc;
    box-shadow: 0 2px 8px rgba(18, 50, 66, 0.05);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-comments-list .gallery-comment:hover {
    border-left-color: #267347;
    box-shadow: 0 5px 16px rgba(18, 50, 66, 0.10);
    transform: translateY(-2px);
}

.gallery-comments-list .gallery-comment p {
    margin-bottom: 0;
}

@media (prefers-reduced-motion: reduce) {
    .gallery-comments-list .gallery-comment {
        transition: none;
    }

    .gallery-comments-list .gallery-comment:hover {
        transform: none;
    }
}
.gallery-comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.gallery-comment-meta time, .gallery-comment-form p, .gallery-comments-empty {
    color: #718692;
    font-size: .9rem;
}
.gallery-comment p {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.65;
}
.gallery-comment-form {
    display: flex;
    flex-direction: column;
    gap: 11px;
    margin-top: 26px;
}
.gallery-comment-form label {
    font-weight: 700;
}
.gallery-comment-form textarea {
    width: 100%;
    min-height: 110px;
    box-sizing: border-box;
    padding: 13px 15px;
    border: 1px solid #c8d9e1;
    border-radius: 11px;
    background: #fff;
    color: #193847;
    font: inherit;
}
.gallery-comment-form textarea:focus {
    outline: 3px solid rgb(98 132 148 / 20%);
    border-color: #628494;
}
.gallery-comment-form button {
    width: fit-content;
    padding: 11px 20px;
}
.gallery-comment-notice {
    padding: 12px 14px;
    background: #eaf3f6;
    border-radius: 9px;
}
@media (max-width: 600px) {
    .gallery-comments {
        padding: 16px;
    }
}
