.community-section {
  position: relative;
  overflow: hidden;
  padding: 2.4rem 0;
  border-block: 1px solid var(--line);
  background: linear-gradient(115deg, #eee3d7 0%, #f8f3ea 52%, #e2e7dc 100%);
}
.community-section::after {
  content: "❧";
  position: absolute;
  right: 3%;
  top: -2.5rem;
  color: rgba(88, 99, 76, .1);
  font: 400 11rem/1 var(--serif);
  transform: rotate(18deg);
  pointer-events: none;
}
.community-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}
.community-intro h2 { max-width: 9ch; margin-top: .2rem; }
.community-intro p { max-width: 58ch; margin: 0; color: #5c5044; }
.community-app {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, .72fr) minmax(0, 1.28fr);
  gap: .85rem;
  align-items: start;
}
.community-form,
.community-board {
  border: 1px solid var(--line);
  background: rgba(251, 247, 239, .95);
}
.community-form { display: grid; gap: .75rem; padding: 1rem; }
.community-form h3 { font-size: 2rem; }
.community-form > p { margin: -.25rem 0 0; color: #655a52; font-size: .8rem; }
.community-field { display: grid; gap: .3rem; }
.community-field label,
.community-consent { font-size: .72rem; font-weight: 700; letter-spacing: .045em; }
.community-field input,
.community-field textarea {
  width: 100%;
  border: 1px solid #bdb3a6;
  border-radius: 0;
  background: #fffdf8;
  color: var(--brown);
  padding: .72rem;
  font: inherit;
}
.community-field textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.community-field small { color: #756960; font-size: .68rem; }
.community-anonymous,
.community-consent { display: flex; align-items: flex-start; gap: .5rem; color: #5c5044; }
.community-anonymous input,
.community-consent input { flex: 0 0 auto; width: 1rem; height: 1rem; margin-top: .16rem; accent-color: var(--olive); }
.community-form button {
  justify-self: start;
  min-height: 43px;
  border: 0;
  background: var(--olive);
  color: var(--cream);
  padding: .68rem 1rem;
  font: 700 .7rem var(--sans);
  letter-spacing: .09em;
  text-transform: uppercase;
  cursor: pointer;
}
.community-form button:disabled { opacity: .58; cursor: wait; }
.community-message { min-height: 1.3rem; margin: 0; color: var(--olive); font-size: .78rem; }
.community-message.is-error { color: #8d3f3a; }
.community-honeypot { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.community-board { position: relative; min-height: 320px; padding: 1rem; overflow: hidden; }
.community-board-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: .75rem; }
.community-board-head h3 { font-size: 2rem; }
.community-board-head span { color: var(--olive); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.community-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
.community-note {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 155px;
  padding: .9rem;
  border: 1px solid rgba(73, 63, 57, .17);
  border-radius: 44px 6px 44px 6px;
  background: #f4e3df;
}
.community-note:nth-child(3n+2) { background: #e2e7dc; border-radius: 6px 44px 6px 44px; }
.community-note:nth-child(3n) { background: #eee2d2; }
.community-note::before { content: "✦"; color: var(--clay); font-size: .65rem; }
.community-note p { margin: .45rem 0 .9rem; color: #504740; font-size: .88rem; line-height: 1.55; white-space: pre-wrap; }
.community-note footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; margin-top: auto; padding: 0; background: transparent; color: #6a5f56; font-size: .68rem; }
.community-note footer strong { color: var(--olive); }
.community-pray {
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: var(--olive);
  padding: .2rem 0;
  font: 700 .68rem var(--sans);
  cursor: pointer;
}
.community-empty { grid-column: 1 / -1; margin: 0; padding: 2.2rem 1rem; color: #6a5f56; text-align: center; }
.prayer-tree .community-board::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2rem;
  width: 18px;
  height: 95%;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(90deg, #786554, #a98b6e 48%, #6d5d4f);
  transform: translateX(-50%);
  opacity: .17;
}
.prayer-tree .community-board::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 42%;
  height: 2px;
  background: #7a6755;
  box-shadow: 2rem -4.2rem 0 #7a6755, -2rem 4.2rem 0 #7a6755;
  transform: rotate(-7deg);
  opacity: .14;
}
@media (max-width: 760px) {
  .community-section { padding: 2rem 0; }
  .community-intro,
  .community-app { grid-template-columns: 1fr; gap: .85rem; }
  .community-intro { margin-bottom: 1rem; }
  .community-intro h2 { max-width: 12ch; }
  .community-list { grid-template-columns: 1fr; }
  .community-board { min-height: 260px; }
}
