body.background-image::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
  pointer-events: none;
}

body.background-image > .container,
body.background-image .wrapper {
  position: relative;
  z-index: 1;
}

.home-announcement {
  max-width: 640px;
  margin: 2.5rem auto;
  padding: 1.75rem 2rem;
  background: rgba(0, 0, 0, 0.65);
  border-radius: 6px;
  color: #f5f5f5;
  text-align: left;
  line-height: 1.6;
}

.home-announcement h2 {
  margin-top: 0;
  margin-bottom: 1rem;
  font-size: 1.6rem;
}

.home-announcement h2 a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.home-announcement h2 a:hover {
  border-bottom-color: #fff;
}

.home-announcement .post-content p {
  margin: 0 0 1rem;
}

.home-announcement .post-content p:last-child {
  margin-bottom: 0;
}

.home-announcement a {
  color: #ffd27f;
}

.condoleance-form {
  max-width: 600px;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(127, 127, 127, 0.08);
  border-radius: 6px;
}

.condoleance-form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.condoleance-form input[type="text"],
.condoleance-form input[type="email"],
.condoleance-form textarea {
  display: block;
  width: 100%;
  margin-top: 0.35rem;
  padding: 0.55rem 0.75rem;
  font: inherit;
  color: inherit;
  border: 1px solid rgba(127, 127, 127, 0.5);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  box-sizing: border-box;
}

@media (prefers-color-scheme: dark) {
  .condoleance-form input[type="text"],
  .condoleance-form input[type="email"],
  .condoleance-form textarea {
    background: rgba(0, 0, 0, 0.35);
    color: #eee;
  }
}

.condoleance-form textarea {
  resize: vertical;
  min-height: 120px;
}

.condoleance-form button {
  padding: 0.6rem 1.4rem;
  font: inherit;
  font-weight: 600;
  color: #fff;
  background: #555;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.condoleance-form button:hover {
  background: #333;
}

.condoleance-list {
  margin-top: 3rem;
}

.condoleance-entry {
  margin: 1.5rem 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid currentColor;
  background: rgba(127, 127, 127, 0.08);
}

.condoleance-entry header {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.condoleance-entry header strong {
  color: inherit;
}

.condoleance-entry header time {
  opacity: 0.65;
}

.condoleance-message p:last-child {
  margin-bottom: 0;
}
