/* wall.css — styles for the Wall feed. All classes prefixed with `wall-`.
   Matches the site's dark editorial aesthetic: near-black maroon page,
   Bodoni Moda serif for prose, Jost sans for meta, gold + red accents. */

.wall-feed {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 16px 64px;
  font-family: 'Jost', -apple-system, 'Segoe UI', sans-serif;
  color: #f3e9e2;
}

.wall-error {
  background: #3a1414;
  border: 1px solid #e5484d;
  color: #ffd7d7;
  border-radius: 10px;
  padding: 14px 18px;
  margin: 16px 0;
  font-size: 15px;
}

/* ---------- post card ---------- */

.wall-post {
  background: #241414; /* slightly lighter than the near-black maroon page */
  border: 1px solid rgba(201, 169, 106, 0.18);
  border-radius: 14px;
  padding: 20px 22px 14px;
  margin: 0 0 22px;
}

.wall-post-meta {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 10px;
}

.wall-post-author {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #c9a96a; /* gold */
}

.wall-post-time {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(243, 233, 226, 0.45);
}

.wall-post-text {
  font-family: 'Bodoni Moda', Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  color: #f3e9e2;
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0 0 12px;
}

.wall-post-text a {
  color: #c9a96a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.wall-post-image {
  display: block;
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 10px;
  margin: 4px 0 12px;
}

.wall-post-link {
  display: block;
  border: 1px solid rgba(201, 169, 106, 0.35);
  border-radius: 10px;
  padding: 10px 14px;
  margin: 0 0 12px;
  color: #c9a96a;
  font-size: 14px;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wall-post-link:hover {
  background: rgba(201, 169, 106, 0.08);
}

/* ---------- action row ---------- */

.wall-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(201, 169, 106, 0.15);
  padding-top: 12px;
}

.wall-like-btn,
.wall-comments-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(243, 233, 226, 0.6);
  font-family: inherit;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 4px;
}

.wall-like-btn:hover,
.wall-comments-btn:hover {
  color: #f3e9e2;
}

.wall-like-btn .wall-heart {
  font-size: 18px;
  line-height: 1;
  transition: transform 0.15s ease;
}

.wall-like-btn.wall-liked {
  color: #e5484d; /* red when active */
}

.wall-like-btn.wall-liked .wall-heart {
  transform: scale(1.15);
}

/* ---------- comments ---------- */

.wall-comments {
  margin-top: 12px;
  border-top: 1px solid rgba(201, 169, 106, 0.15);
  padding-top: 12px;
}

.wall-comments[hidden] {
  display: none;
}

.wall-comment {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.5;
}

.wall-comment-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
}

.wall-comment-name {
  font-weight: 600;
  color: #f3e9e2;
}

.wall-comment-verified {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #160d0d;
  background: #c9a96a;
  border-radius: 20px;
  padding: 2px 8px;
}

.wall-comment-time {
  font-size: 12px;
  color: rgba(243, 233, 226, 0.4);
}

.wall-comment-text {
  color: rgba(243, 233, 226, 0.88);
  white-space: pre-wrap;
  word-wrap: break-word;
  margin: 0;
}

.wall-comments-empty {
  font-size: 14px;
  font-style: italic;
  color: rgba(243, 233, 226, 0.45);
  margin: 0 0 12px;
}

.wall-comment-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.wall-comment-form input,
.wall-comment-form textarea {
  background: #160d0d;
  border: 1px solid rgba(201, 169, 106, 0.3);
  border-radius: 8px;
  color: #f3e9e2;
  font-family: inherit;
  font-size: 15px;
  padding: 10px 12px;
  width: 100%;
  box-sizing: border-box;
}

.wall-comment-form input::placeholder,
.wall-comment-form textarea::placeholder {
  color: rgba(243, 233, 226, 0.35);
}

.wall-comment-form textarea {
  min-height: 64px;
  resize: vertical;
}

.wall-comment-form button {
  align-self: flex-start;
  background: #c9a96a;
  border: none;
  border-radius: 8px;
  color: #160d0d;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  padding: 9px 22px;
  cursor: pointer;
}

.wall-comment-form button:hover {
  background: #d8bc82;
}

.wall-comment-form button:disabled {
  opacity: 0.5;
  cursor: default;
}

.wall-form-error {
  font-size: 14px;
  color: #ff9d9d;
}

/* ---------- load more ---------- */

.wall-load-more {
  display: block;
  margin: 8px auto 0;
  background: transparent;
  border: 1px solid #c9a96a;
  border-radius: 999px;
  color: #c9a96a;
  font-family: inherit;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 36px;
  cursor: pointer;
}

.wall-load-more:hover {
  background: rgba(201, 169, 106, 0.12);
}

.wall-load-more:disabled {
  opacity: 0.5;
  cursor: default;
}

.wall-end {
  text-align: center;
  font-family: 'Bodoni Moda', Georgia, serif;
  font-style: italic;
  color: rgba(201, 169, 106, 0.6);
  margin-top: 24px;
  font-size: 17px;
}
