/* redwoodcountrychurch.com — the one stylesheet.
   The reset lives in a low-priority layer so every unlayered style below wins over it regardless of order. */
@layer reset {
/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
2. [UnoCSS]: allow to override the default border color with css var `--default-border-color`
*/

*,
::before,
::after {
	box-sizing: border-box; /* 1 */
	border-width: 0; /* 2 */
	border-style: solid; /* 2 */
	border-color: var(--default-border-color, #e5e7eb); /* 2 */
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS.
*/

html,
:host {
	line-height: 1.5; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
	-moz-tab-size: 4; /* 3 */
	tab-size: 4; /* 3 */
	font-family:
		ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
		'Noto Color Emoji'; /* 4 */
	font-feature-settings: normal; /* 5 */
	font-variation-settings: normal; /* 6 */
	-webkit-tap-highlight-color: transparent; /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
	margin: 0; /* 1 */
	line-height: inherit; /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
	height: 0; /* 1 */
	color: inherit; /* 2 */
	border-top-width: 1px; /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
	text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
	font-size: inherit;
	font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
	color: inherit;
	text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
	font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
	font-family:
		ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
		monospace; /* 1 */
	font-feature-settings: normal; /* 2 */
	font-variation-settings: normal; /* 3 */
	font-size: 1em; /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
	font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
	text-indent: 0; /* 1 */
	border-color: inherit; /* 2 */
	border-collapse: collapse; /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
	font-family: inherit; /* 1 */
	font-feature-settings: inherit; /* 1 */
	font-variation-settings: inherit; /* 1 */
	font-size: 100%; /* 1 */
	font-weight: inherit; /* 1 */
	line-height: inherit; /* 1 */
	color: inherit; /* 1 */
	margin: 0; /* 2 */
	padding: 0; /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
	text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
	-webkit-appearance: button; /* 1 */
	background-color: transparent; /* 2 */
	background-image: none; /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
	outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
	box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
	vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
	height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
	-webkit-appearance: textfield; /* 1 */
	outline-offset: -2px; /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
	-webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
	-webkit-appearance: button; /* 1 */
	font: inherit; /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
	display: list-item;
}

/*
Removes the default spacing for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
	margin: 0;
}

fieldset {
	margin: 0;
	padding: 0;
}

legend {
	padding: 0;
}

ol,
ul,
menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

dialog {
	padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
	resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::placeholder,
textarea::placeholder {
	opacity: 1; /* 1 */
	color: #9ca3af; /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role='button'] {
	cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
	cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
video,
canvas,
audio,
iframe,
embed,
object {
	display: block; /* 1 */
	vertical-align: middle; /* 2 */
}

/*
unplugin-icons renders icons as real <svg> elements (UnoCSS presetIcons used
inline-block <span>s). Keeping svg as inline-block + middle alignment lets icons
sit inline with text and respects per-icon `vertical-align` style hints, while
avoiding a baseline descender gap. Hand-authored chart svgs set explicit sizes,
so this doesn't affect them.
*/
svg {
	display: inline-block;
	vertical-align: middle;
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
	max-width: 100%;
	height: auto;
}

/*
Make elements with the HTML hidden attribute stay hidden by default.
*/

[hidden]:where(:not([hidden='until-found'])) {
	display: none;
}
}

/* hidden stays hidden, even on elements whose class sets a display */
[hidden] {
	display: none !important;
}

body {
	font-family:
		ui-sans-serif,
		system-ui,
		-apple-system,
		'Segoe UI',
		Roboto,
		'Helvetica Neue',
		Arial,
		sans-serif;
	color: #1f2937;
	background: white;
}

/* The page wrapper: a full-height column so the footer sits at the bottom of short pages. */
body > div {
	display: flex;
	flex-direction: column;
	min-height: 100dvh;
}

a {
	color: inherit;
}

/* Buttons and fields — only editors see most of these. */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.45rem 0.9rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	background: white;
	color: #1f2937;
	font-size: 0.95rem;
	font-weight: 500;
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
}
.btn:hover {
	background: #f9fafb;
}
.btn:disabled {
	opacity: 0.6;
	cursor: default;
}
.btn.primary {
	background: #e07400;
	border-color: #e07400;
	color: white;
}
.btn.primary:hover {
	background: #c96800;
}
.btn.danger {
	color: #b91c1c;
	border-color: #fca5a5;
}
.btn.small {
	padding: 0.25rem 0.6rem;
	font-size: 0.85rem;
}
.field {
	display: block;
	width: 100%;
	padding: 0.5rem 0.65rem;
	border: 1px solid #d1d5db;
	border-radius: 0.5rem;
	background: white;
	font-size: 1rem; /* 16px keeps iOS from zooming into the field */
}
.field:focus {
	outline: 2px solid #f6b26b;
	border-color: #e07400;
}
.form-error {
	color: #b91c1c;
	font-size: 0.9rem;
}

.tw-prose {
  color: var(--tw-prose-body);
}
.tw-prose :where([class~="lead"]):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-lead);
  font-size: 1.25em;
  line-height: 1.6;
  margin-top: 1.2em;
  margin-bottom: 1.2em;
}
.tw-prose :where(a):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-links);
  text-decoration: underline;
  font-weight: 500;
}
.tw-prose :where(strong):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-bold);
  font-weight: 600;
}
.tw-prose :where(ol):not(:where([class~="not-prose"] *)) {
  list-style-type: decimal;
  padding-left: 1.625em;
}
.tw-prose :where(ol[type="A"]):not(:where([class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.tw-prose :where(ol[type="a"]):not(:where([class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.tw-prose :where(ol[type="A" s]):not(:where([class~="not-prose"] *)) {
  list-style-type: upper-alpha;
}
.tw-prose :where(ol[type="a" s]):not(:where([class~="not-prose"] *)) {
  list-style-type: lower-alpha;
}
.tw-prose :where(ol[type="I"]):not(:where([class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.tw-prose :where(ol[type="i"]):not(:where([class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.tw-prose :where(ol[type="I" s]):not(:where([class~="not-prose"] *)) {
  list-style-type: upper-roman;
}
.tw-prose :where(ol[type="i" s]):not(:where([class~="not-prose"] *)) {
  list-style-type: lower-roman;
}
.tw-prose :where(ol[type="1"]):not(:where([class~="not-prose"] *)) {
  list-style-type: decimal;
}
.tw-prose :where(ul):not(:where([class~="not-prose"] *)) {
  list-style-type: disc;
  padding-left: 1.625em;
}
.tw-prose :where(ol > li):not(:where([class~="not-prose"] *))::marker {
  font-weight: 400;
  color: var(--tw-prose-counters);
}
.tw-prose :where(ul > li):not(:where([class~="not-prose"] *))::marker {
  color: var(--tw-prose-bullets);
}
.tw-prose :where(hr):not(:where([class~="not-prose"] *)) {
  border-color: var(--tw-prose-hr);
  border-top-width: 1px;
  margin-top: 3em;
  margin-bottom: 3em;
}
.tw-prose :where(blockquote):not(:where([class~="not-prose"] *)) {
  font-weight: 500;
  font-style: italic;
  color: var(--tw-prose-quotes);
  border-left-width: 0.25rem;
  border-left-color: var(--tw-prose-quote-borders);
  quotes: "\201C""\201D""\2018""\2019";
  margin-top: 1.6em;
  margin-bottom: 1.6em;
  padding-left: 1em;
}
.tw-prose :where(blockquote p:first-of-type):not(:where([class~="not-prose"] *))::before {
  content: open-quote;
}
.tw-prose :where(blockquote p:last-of-type):not(:where([class~="not-prose"] *))::after {
  content: close-quote;
}
.tw-prose :where(h1):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}
.tw-prose :where(h1 strong):not(:where([class~="not-prose"] *)) {
  font-weight: 900;
}
.tw-prose :where(h2):not(:where([class~="not-prose"] *)) {
  /* the page has one h1; section titles are h2 but look like the old h1s */
  color: var(--tw-prose-headings);
  font-weight: 800;
  font-size: 2.25em;
  margin-top: 0;
  margin-bottom: 0.8888889em;
  line-height: 1.1111111;
}
.tw-prose :where(h2 strong):not(:where([class~="not-prose"] *)) {
  font-weight: 800;
}
.tw-prose :where(h3):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 700;
  font-size: 1.5em;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.3333333;
}
.tw-prose :where(h3 strong):not(:where([class~="not-prose"] *)) {
  font-weight: 700;
}
.tw-prose :where(h4):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  font-size: 1.25em;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.6;
}
.tw-prose :where(h4 strong):not(:where([class~="not-prose"] *)) {
  font-weight: 700;
}
.tw-prose :where(figure > *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
  margin-bottom: 0;
}
.tw-prose :where(figcaption):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-captions);
  font-size: 0.875em;
  line-height: 1.4285714;
  margin-top: 0.8571429em;
}
.tw-prose :where(code):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-code);
  font-weight: 600;
  font-size: 0.875em;
  /* below is added */
  background: #e6e6e6; 
  padding: '1px 4px';
  border-radius: '4px';
}
/* .tw-prose :where(code):not(:where([class~="not-prose"] *))::before {
  content: "`";
} */
/* .tw-prose :where(code):not(:where([class~="not-prose"] *))::after {
  content: "`";
} */
.tw-prose :where(a code):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-links);
}
.tw-prose :where(pre):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-pre-code);
  background-color: var(--tw-prose-pre-bg);
  overflow-x: auto;
  font-weight: 400;
  font-size: 0.875em;
  line-height: 1.7142857;
  margin-top: 1.7142857em;
  margin-bottom: 1.7142857em;
  border-radius: 0.375rem;
  padding-top: 0.8571429em;
  padding-right: 1.1428571em;
  padding-bottom: 0.8571429em;
  padding-left: 1.1428571em;
}
.tw-prose :where(pre code):not(:where([class~="not-prose"] *)) {
  background-color: transparent;
  border-width: 0;
  border-radius: 0;
  padding: 0;
  font-weight: inherit;
  color: inherit;
  font-size: inherit;
  font-family: inherit;
  line-height: inherit;
}
/* .tw-prose :where(pre code):not(:where([class~="not-prose"] *))::before {
  content: none;
}
.tw-prose :where(pre code):not(:where([class~="not-prose"] *))::after {
  content: none;
} */
.tw-prose :where(table):not(:where([class~="not-prose"] *)) {
  width: 100%;
  table-layout: auto;
  text-align: left;
  margin-top: 2em;
  margin-bottom: 2em;
  font-size: 0.875em;
  line-height: 1.7142857;
}
.tw-prose :where(thead):not(:where([class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-th-borders);
}
.tw-prose :where(thead th):not(:where([class~="not-prose"] *)) {
  color: var(--tw-prose-headings);
  font-weight: 600;
  vertical-align: bottom;
  padding-right: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-left: 0.5714286em;
}
.tw-prose :where(tbody tr):not(:where([class~="not-prose"] *)) {
  border-bottom-width: 1px;
  border-bottom-color: var(--tw-prose-td-borders);
}
.tw-prose :where(tbody tr:last-child):not(:where([class~="not-prose"] *)) {
  border-bottom-width: 0;
}
.tw-prose :where(tbody td):not(:where([class~="not-prose"] *)) {
  vertical-align: baseline;
  padding-top: 0.5714286em;
  padding-right: 0.5714286em;
  padding-bottom: 0.5714286em;
  padding-left: 0.5714286em;
}
.tw-prose {
  --tw-prose-body: #374151;
  --tw-prose-headings: #e07400; /* #111827; */
  --tw-prose-lead: #4b5563;
  --tw-prose-links: #111827;
  --tw-prose-bold: #111827;
  --tw-prose-counters: #6b7280;
  --tw-prose-bullets: #d1d5db;
  --tw-prose-hr: #e5e7eb;
  --tw-prose-quotes: #111827;
  --tw-prose-quote-borders: #e5e7eb;
  --tw-prose-captions: #6b7280;
  --tw-prose-code: #111827;
  --tw-prose-pre-code: #e5e7eb;
  /* --tw-prose-pre-bg: #1f2937; */
  --tw-prose-pre-bg: #1e1e1e;
  --tw-prose-th-borders: #d1d5db;
  --tw-prose-td-borders: #e5e7eb;
  --tw-prose-invert-body: #d1d5db;
  --tw-prose-invert-headings: #fff;
  --tw-prose-invert-lead: #9ca3af;
  --tw-prose-invert-links: #fff;
  --tw-prose-invert-bold: #fff;
  --tw-prose-invert-counters: #9ca3af;
  --tw-prose-invert-bullets: #4b5563;
  --tw-prose-invert-hr: #374151;
  --tw-prose-invert-quotes: #f3f4f6;
  --tw-prose-invert-quote-borders: #374151;
  --tw-prose-invert-captions: #9ca3af;
  --tw-prose-invert-code: #fff;
  --tw-prose-invert-pre-code: #d1d5db;
  --tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);
  --tw-prose-invert-th-borders: #4b5563;
  --tw-prose-invert-td-borders: #374151;
  font-size: 1rem;
  line-height: 1.75;
}
.tw-prose :where(p):not(:where([class~="not-prose"] *)) {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.tw-prose :where(img):not(:where([class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.tw-prose :where(video):not(:where([class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.tw-prose :where(figure):not(:where([class~="not-prose"] *)) {
  margin-top: 2em;
  margin-bottom: 2em;
}
.tw-prose :where(h2 code):not(:where([class~="not-prose"] *)) {
  font-size: 0.875em;
}
.tw-prose :where(h3 code):not(:where([class~="not-prose"] *)) {
  font-size: 0.9em;
}
.tw-prose :where(li):not(:where([class~="not-prose"] *)) {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}
.tw-prose :where(ol > li):not(:where([class~="not-prose"] *)) {
  padding-left: 0.375em;
}
.tw-prose :where(ul > li):not(:where([class~="not-prose"] *)) {
  padding-left: 0.375em;
}
.tw-prose > :where(ul > li p):not(:where([class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.tw-prose > :where(ul > li > *:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.tw-prose > :where(ul > li > *:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.tw-prose > :where(ol > li > *:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 1.25em;
}
.tw-prose > :where(ol > li > *:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 1.25em;
}
.tw-prose :where(ul ul, ul ol, ol ul, ol ol):not(:where([class~="not-prose"] *)) {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}
.tw-prose :where(hr + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.tw-prose :where(h2 + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.tw-prose :where(h3 + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.tw-prose :where(h4 + *):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.tw-prose :where(thead th:first-child):not(:where([class~="not-prose"] *)) {
  padding-left: 0;
}
.tw-prose :where(thead th:last-child):not(:where([class~="not-prose"] *)) {
  padding-right: 0;
}
.tw-prose :where(tbody td:first-child):not(:where([class~="not-prose"] *)) {
  padding-left: 0;
}
.tw-prose :where(tbody td:last-child):not(:where([class~="not-prose"] *)) {
  padding-right: 0;
}
.tw-prose > :where(:first-child):not(:where([class~="not-prose"] *)) {
  margin-top: 0;
}
.tw-prose > :where(:last-child):not(:where([class~="not-prose"] *)) {
  margin-bottom: 0;
}

/* ── the frame: header, main column, footer ─────────────────────────────── */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1;
	width: 100%;
	margin-bottom: 1rem;
	background: white;
	border-bottom: 1px solid #e5e7eb;
}
.site-header nav {
	display: flex;
	align-items: center;
	max-width: 920px;
	margin: 0 auto;
}
.site-header nav a {
	padding: 0.75rem;
}
.site-header nav a svg {
	display: inline-block;
	vertical-align: middle;
}
.site-header .brand {
	font-weight: 600;
	color: #e07400;
}
.site-header .label {
	display: none;
	margin-left: 0.25rem;
}
@media (min-width: 768px) {
	.site-header .brand {
		font-size: 1.25rem;
		line-height: 1.75rem;
	}
	.site-header .label {
		display: inline;
	}
}
.site-main {
	flex: 1;
	width: 100%;
	max-width: 920px;
	margin: 0 auto;
	padding: 1.25rem 0.75rem;
}

.site-footer {
	margin-top: 3rem;
	padding: 2.75rem 1rem 1.5rem;
	background: #2a211b;
	color: #efe6dc;
	line-height: 1.6;
}
.site-footer .inner,
.site-footer .fine {
	max-width: 896px;
	margin: 0 auto;
}
.site-footer .inner {
	display: grid;
	gap: 1.75rem;
}
@media (min-width: 768px) {
	.site-footer .inner {
		grid-template-columns: 1fr 1fr;
	}
}
.site-footer .name {
	color: #fbbf68;
	font-size: 1.5rem;
	font-weight: 800;
	line-height: 1.3;
	margin-bottom: 0.4rem;
}
.site-footer .muted {
	color: #c8b9aa;
}
.site-footer ul a {
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
	padding: 0.25rem 0;
	overflow-wrap: anywhere;
}
.site-footer ul a svg {
	flex: none;
	margin-top: 0.3em;
	font-size: 1.1rem;
	color: #fbbf68;
}
.site-footer ul a:hover span {
	text-decoration: underline;
}
.site-footer .fine {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	margin-top: 2.25rem;
	font-size: 0.8rem;
	color: #8f8174;
}
.site-footer .fine a {
	text-decoration: underline;
}

/* ── the page ─────────────────────────────────────────────────────────── */
.editor-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.5rem 1rem;
	margin-bottom: 1rem;
	padding: 0.6rem 0.9rem;
	border-radius: 0.5rem;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	color: #065f46;
	font-size: 0.9rem;
}
.editor-msg {
	margin: -0.5rem 0 1rem;
}
.banner {
	width: 100%;
	height: auto;
	margin-bottom: 2rem;
}
.prayer {
	margin-top: 2.5rem;
}
.divider {
	border-top: 1px solid #d1d5db;
	margin-top: 50px;
	padding-top: 60px;
}
/* missionary photos sit beside their story on wide screens */
.missionaries img {
	border-radius: 0.5rem;
	margin: 0.25rem 0 1rem;
}
@media (min-width: 640px) {
	.missionaries p:has(> img) {
		float: right;
		width: 38%;
		margin: 0.25rem 0 1rem 1.5rem;
	}
	.missionaries p:has(> img) img {
		margin: 0;
	}
	.missionaries h3 {
		clear: both;
	}
}
/* the sticky header shouldn't cover a section the page scrolls to */
section[id],
.divider[id] {
	scroll-margin-top: 3.5rem;
}

/* ── announcements ────────────────────────────────────────────────────── */
.announcements {
	display: grid;
	gap: 0.75rem;
	margin: 1.5rem 0 2.5rem;
}
.announcements article {
	border-left: 4px solid #e07400;
	background: #fff7ed;
	border-radius: 0 0.5rem 0.5rem 0;
	padding: 0.85rem 1rem;
	color: #1f2937;
	font-size: 1.05rem;
	line-height: 1.6;
}
.announcements article.expired {
	opacity: 0.55;
}
.announcements article a {
	text-decoration: underline;
	word-break: break-word;
}
.announcements .meta {
	margin-top: 0.5rem;
	font-size: 0.85rem;
	color: #6b7280;
}
.announcements .meta span {
	margin-right: auto;
}
.announcements .row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.announcements .edit-form {
	display: grid;
	gap: 0.75rem;
	padding: 1rem;
	border: 1px solid #fed7aa;
	border-radius: 0.5rem;
	background: #fffbf5;
}
.announcements .edit-form label span {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.announcements .until {
	max-width: 16rem;
}

/* ── join us: the events list and the address ─────────────────────────── */
.visit {
	margin: 0 0 1rem;
	padding: 1.5rem;
	border: 1px solid #fed7aa;
	border-radius: 0.75rem;
	background: #fffbf5;
}
.visit h2 {
	color: #e07400;
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
}
.visit h3 {
	color: #9a5000;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0.25rem 0 0.4rem;
}
.visit .schedule {
	display: grid;
	gap: 1.25rem;
}
@media (min-width: 640px) {
	.visit .schedule {
		grid-template-columns: 3fr 2fr;
	}
}
.visit .event {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0 1rem;
	padding: 0.45rem 0;
	border-bottom: 1px solid #fde4c8;
}
.visit dt {
	font-weight: 600;
	color: #1f2937;
}
.visit dd {
	color: #4b5563;
}
.visit .edit-list {
	margin-top: 1rem;
}
.visit .where {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 1.5rem;
	padding-top: 1.25rem;
	border-top: 1px solid #fde4c8;
	color: #374151;
	line-height: 1.5;
}
.visit .links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.visit .events-editor {
	display: grid;
	gap: 0.6rem;
	justify-items: start;
}
.visit .events-editor .group {
	display: contents;
}
.visit .events-editor h3 {
	margin-top: 0.75rem;
}
.visit .edit-row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0.4rem;
	width: 100%;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid #fde4c8;
}
@media (min-width: 640px) {
	.visit .edit-row {
		grid-template-columns: 3fr 2fr auto;
		align-items: center;
		border-bottom: 0;
		padding-bottom: 0;
	}
}
.visit .row-buttons,
.visit .actions {
	display: flex;
	gap: 0.4rem;
}
.visit .actions {
	margin-top: 0.75rem;
}

/* ── coming up (the church calendar's one-off events) ─────────────────── */
.coming-up {
	margin: 2.5rem 0 1rem;
}
.coming-up h2 {
	color: #e07400;
	font-size: 1.875rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
}
.coming-up ol {
	display: grid;
	gap: 0.6rem;
}
@media (min-width: 720px) {
	.coming-up ol {
		grid-template-columns: 1fr 1fr;
	}
}
.coming-up li {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	padding: 0.6rem 0.75rem;
	border: 1px solid #e5e7eb;
	border-radius: 0.6rem;
}
.coming-up .date {
	flex: none;
	display: grid;
	place-items: center;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 0.5rem;
	background: #e07400;
	color: white;
	line-height: 1;
}
.coming-up .month {
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}
.coming-up .day {
	font-size: 1.35rem;
	font-weight: 800;
}
.coming-up .title {
	font-weight: 600;
	color: #1f2937;
	line-height: 1.35;
}
.coming-up .when {
	font-size: 0.9rem;
	color: #6b7280;
}
.coming-up .all {
	display: inline-block;
	margin-top: 0.75rem;
	font-weight: 600;
	text-decoration: underline;
}

/* ── the Google Calendar embed ────────────────────────────────────────── */
.calendar {
	margin-top: 1rem;
}
.calendar iframe {
	display: block;
	width: 100%;
	height: 600px;
	border: 0;
}

/* ── photos ───────────────────────────────────────────────────────────── */
.gallery {
	margin: 0 0 1rem;
}
.gallery h2 {
	color: #e07400;
	font-size: 2.25em;
	font-weight: 800;
	line-height: 1.11;
	margin-bottom: 1.25rem;
}
.gallery .add {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-bottom: 1rem;
}
.gallery .add .disabled {
	opacity: 0.6;
	pointer-events: none;
}
.gallery .status {
	color: #6b7280;
	font-size: 0.9rem;
}
.gallery ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 0.5rem;
}
.gallery li button {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	overflow: hidden;
	border-radius: 0.5rem;
	background: #f3f4f6;
	cursor: zoom-in;
}
.gallery li img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.2s;
}
.gallery li button:hover img {
	transform: scale(1.04);
}
.gallery .empty {
	color: #6b7280;
}
.photo-dialog {
	width: min(100vw - 1rem, 1100px);
	max-height: calc(100dvh - 1rem);
	margin: auto;
	padding: 0.75rem;
	border: 0;
	border-radius: 0.75rem;
	background: #111;
	color: white;
}
.photo-dialog::backdrop {
	background: rgb(0 0 0 / 0.8);
}
.photo-dialog figure img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100dvh - 9rem);
	margin: 0 auto;
	border-radius: 0.4rem;
}
.photo-dialog figcaption {
	margin-top: 0.6rem;
	text-align: center;
}
.photo-dialog .caption-form {
	display: flex;
	gap: 0.5rem;
	margin-top: 0.6rem;
}
.photo-dialog .caption-form .field {
	color: #111;
}
.photo-dialog .controls {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 0.6rem;
}
.photo-dialog .close {
	margin-left: auto;
}

/* ── sign in ──────────────────────────────────────────────────────────── */
.signin {
	max-width: 26rem;
	margin: 2rem auto 4rem;
	color: #374151;
	line-height: 1.6;
}
.signin h1 {
	color: #e07400;
	font-size: 1.75rem;
	font-weight: 800;
	line-height: 1.2;
	margin-bottom: 1rem;
}
.signin form {
	display: grid;
	gap: 0.9rem;
	margin-top: 1.25rem;
	justify-items: start;
}
.signin label {
	width: 100%;
}
.signin label span {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}
.signin .note {
	margin-top: 1rem;
	font-size: 0.9rem;
	color: #6b7280;
}
.signin .back a {
	text-decoration: underline;
}
.signin .back {
	margin-top: 2rem;
	font-size: 0.9rem;
}
