/*
 * Our beliefs (slug "our-beliefs"). One long reading column, measured on eaglesnestmn.org at 1920–360px:
 * 850px wide (full width at 768px, 88vw on phones), 48px above the title (32px on phones), 64px below.
 * Three parts (intro, the gospel, the Baptist Faith & Message) are groups: 32px between the first two, 96px before the third.
 * Each h2 carries its anchor (belief-…) for the "Explore our beliefs" links; Reftagger turns the Bible references into links.
 * Type (h1, h2, body) comes from the inner-page scale in site.css.
 */
.enc-p-beliefs { box-sizing: border-box; margin: 0; padding: 48px 0 64px; }
.enc-p-beliefs > * { max-width: 850px; margin: 0 auto !important; }
.enc-p-beliefs > * + * { margin-top: 32px !important; }
.enc-p-beliefs > .enc-p-beliefs__bfm { margin-top: 96px !important; }
.enc-p-beliefs__intro > *, .enc-p-beliefs__gospel > *, .enc-p-beliefs__bfm > * { margin: 16px 0; }
.enc-p-beliefs > * > :first-child { margin-top: 0; }
.enc-p-beliefs > * > :last-child { margin-bottom: 0; }
.enc-p-beliefs h1 { margin: 0 0 32px; white-space: pre-wrap; }
.enc-p-beliefs h2 { margin: 32px 0; text-align: left; white-space: pre-wrap; scroll-margin-top: 130px; }
.enc-p-beliefs p { font-size: inherit; line-height: inherit; white-space: pre-wrap; }
.enc-p-beliefs__gospel p > strong { font-weight: 600; }
.enc-p-beliefs a { color: var(--enc-button); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
/* The contents links are 2px taller tap targets, as on the original page. */
.enc-p-beliefs a[href^="#belief-"] { display: inline-block; max-width: 100%; vertical-align: top; padding: 2px 0; }

@media (max-width: 767px) {
  .enc-p-beliefs { padding-top: 32px; }
  .enc-p-beliefs > * { max-width: none; width: 88vw; }
}
