/* ============================================================
   SPOMENAR — guestbook styling
   ============================================================ */

.gb-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}
.gb-form-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text);
}

.gb-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gb-entry {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  position: relative;
}

.gb-entry-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.gb-entry-body { flex: 1; min-width: 0; }

.gb-entry-head {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.gb-entry-name { font-weight: 700; color: var(--text); font-size: 0.9375rem; }
.gb-entry-date { font-size: 0.78rem; color: var(--text-muted); }

.gb-entry-message {
  color: var(--text);
  font-size: 0.9375rem;
  line-height: 1.55;
  word-wrap: break-word;
  margin-bottom: 0.5rem;
}

.gb-reply-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}
.gb-reply-btn:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .gb-entry[style] { margin-left: 0.75rem !important; }
}
