.contact-list-page .resource-header, .contact-list-content { max-width: 850px; margin-inline: auto; }
.contact-list-content { width: 100%; min-width: 0; }
.contact-list-card { padding: 0; overflow: hidden; }
.contact-name-list { list-style: none; margin: 0; padding: 0; }
.contact-name-list li + li { border-top: 1px solid var(--line, #e1e7ee); }
.contact-name-link { display: block; padding: 18px 22px; min-height: 54px; color: #244d62; text-decoration: none; font-size: 16px; font-weight: 600; overflow-wrap: anywhere; }
.contact-name-link:hover { background: #f0f7f5; color: #17634c; }
.contact-list-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px; padding-block: 18px; }
.contact-profile-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.contact-profile-status { padding: 9px 14px; border-radius: 24px; background: #eef3f5; color: #425969; font-size: 14px; }
.contact-profile-actions form { margin: 0; }
.contact-profile-message { background: #187558; color: #fff; border: 1px solid #187558; border-radius: 10px; min-height: 46px; padding: 12px 24px; font: inherit; font-weight: 600; cursor: pointer; }
.contact-profile-message:hover { background: #125f47; }
.contact-profile-section { padding: 24px; margin-bottom: 16px; }
.contact-profile-section h2 { font-size: 15px; margin: 0 0 14px; color: #506479; }
.contact-profile-section p { margin-bottom: 0; }
.contact-faith-stage { color: #225e4a; font-size: 18px; font-weight: 700; }
.contact-profile-text { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.9; text-align: start; }
.contact-profile-page h1 { overflow-wrap: anywhere; }
.contact-list-page :is(a, button, input):focus-visible { outline: 3px solid #23775e; outline-offset: 3px; }
@media (max-width: 600px) {
  .contact-name-link { padding: 16px; }
  .contact-profile-section { padding: 18px; }
  .contact-profile-actions { align-items: stretch; }
  .contact-profile-actions form, .contact-profile-message { width: 100%; }
}
