.section-guestbook .guestbook-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
}

.guestbook-list {
    display: grid;
    gap: 18px;
}

.guestbook-card,
.guestbook-form-wrap,
.guestbook-empty {
    border: 1px solid rgba(30, 40, 25, 0.12);
    border-radius: 16px;
    background: var(--White, #fff);
}

.guestbook-card {
    padding: 24px;
}

.guestbook-form-wrap {
    padding: 28px;
    position: sticky;
    top: 110px;
}

.guestbook-empty {
    padding: 36px 24px;
    text-align: center;
}

.guestbook-card-head,
.guestbook-author {
    display: flex;
    align-items: center;
}

.guestbook-card-head {
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.guestbook-author {
    gap: 14px;
    min-width: 0;
}

.guestbook-avatar-image,
.guestbook-avatar-fallback {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    flex: 0 0 64px;
}

.guestbook-avatar-image {
    object-fit: cover;
}

.guestbook-avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef1e6;
    color: #5f742d;
    font-weight: 700;
    font-size: 20px;
}

.guestbook-rating {
    display: inline-flex;
    gap: 2px;
    white-space: nowrap;
}

.guestbook-rating span {
    color: #d5d7cf;
    font-size: 17px;
}

.guestbook-rating span.is-active {
    color: #c9962e;
}

.guestbook-comment {
    line-height: 1.75;
    overflow-wrap: anywhere;
}

@media (max-width: 991px) {
    .guestbook-form-wrap {
        position: static;
    }
}

@media (max-width: 575px) {
    .guestbook-card,
    .guestbook-form-wrap {
        padding: 20px;
    }

    .guestbook-card-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .guestbook-avatar-image,
    .guestbook-avatar-fallback {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }
}
