/*
Theme Name: Rehoboth International Church
Theme URI: https://richurch.us/
Author: Floulex Web
Author URI: https://floulexweb.com/
Description: Built from scratch for Rehoboth International Church, Lancaster, Pennsylvania.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: rehoboth
*/

/*
 * Colour, by elimination and from the logo only.
 *   blue  #2f56a5  the logo's wordmark, sampled. Links, buttons, rules.
 *   deep  #1b3570  the same hue darkened, for the one dark band (service times).
 *   flame #bf0201 to #e05000  the flame inside the logo's globe. Spent in ONE place:
 *         the year theme, plus the hairline tick on the eyebrow labels. Never as text
 *         on a light ground below 18px, where only flame-text (#b3400a) passes.
 * The ground is a warm paper, not grey, so the blue does not read as corporate.
 * Type: Archivo, condensed and heavy, echoes the logo's "Rehoboth" wordmark;
 * Montserrat is the logo's own "International Church".
 */

@font-face { font-family: "Archivo"; src: url("assets/fonts/archivo-normal.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("assets/fonts/montserrat-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	--rh-blue: #2f56a5;
	--rh-blue-dark: #24468c;
	--rh-deep: #1b3570;
	--rh-ink: #15213f;
	--rh-muted: #4c566b;
	--rh-paper: #f7f5f0;
	--rh-white: #ffffff;
	--rh-tint: #edf1f9;
	--rh-line: #d8dde8;
	--rh-flame-a: #bf0201;
	--rh-flame-b: #e05000;
	--rh-flame-text: #b3400a;
	--rh-on-deep: #ffffff;
	--rh-on-deep-soft: #c9d5f0;
	--rh-on-deep-flame: #ffa95e;
	--rh-display: "Archivo", "Arial Narrow", sans-serif;
	--rh-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--rh-pad: clamp(1.25rem, 4vw, 2.5rem);
	--rh-sec: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 6rem; }
body {
	margin: 0;
	background: var(--rh-paper);
	color: var(--rh-ink);
	font-family: var(--rh-body);
	font-size: 1.0625rem;
	line-height: 1.68;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; }
a { color: var(--rh-blue); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--rh-blue-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--rh-flame-b); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--rh-display);
	font-stretch: 72%;
	font-weight: 800;
	line-height: 1.02;
	letter-spacing: -.005em;
	color: var(--rh-ink);
	margin: 0;
	text-wrap: balance;
}
h1 { font-size: clamp(2.7rem, 6.4vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-size: clamp(1.45rem, 2.2vw, 1.8rem); font-stretch: 80%; font-weight: 750; line-height: 1.1; }
p { margin: 0; }

/* WordPress gives every flow child a top margin; sections set their own space. */
.wp-site-blocks > *, .rh-main > * { margin-block: 0; }
.rh-main .wp-block-post-content > * { margin-block: 0; }
.rh-main .wp-block-post-content > .rh-sec + .rh-sec { margin-top: 0; }
.wp-block-group.rh-sec, .wp-block-group.rh-wrap { margin-block: 0; }

.rh-wrap { max-width: 76rem; margin-inline: auto; padding-inline: var(--rh-pad); }
.rh-wrap > * + * { margin-top: 1.15rem; }
.rh-sec { padding-block: var(--rh-sec); }
.rh-sec-white { background: var(--rh-white); }
.rh-sec-tint { background: var(--rh-tint); }
.rh-sec-tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.rh-measure { max-width: 44rem; }
.rh-measure > * + * { margin-top: 1.1rem; }

.rh-eyebrow {
	font-family: var(--rh-body);
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--rh-blue);
	display: flex;
	align-items: center;
	gap: .7rem;
}
.rh-eyebrow::before {
	content: "";
	width: 1.6rem;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--rh-flame-a), var(--rh-flame-b));
	flex: none;
}
.rh-lede { font-size: clamp(1.12rem, 1.6vw, 1.3rem); line-height: 1.6; color: var(--rh-muted); max-width: 40rem; }
.rh-small { font-size: .95rem; color: var(--rh-muted); }

/* --------------------------------------------------------------- buttons */
.rh-btns { display: flex; flex-wrap: wrap; gap: .75rem; }
.rh-btn {
	display: inline-flex;
	align-items: center;
	gap: .55rem;
	min-height: 3rem;
	padding: .7rem 1.35rem;
	border: 2px solid var(--rh-blue);
	border-radius: 2px;
	font-family: var(--rh-body);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.rh-btn-solid { background: var(--rh-blue); color: var(--rh-white); }
.rh-btn-solid:hover { background: var(--rh-deep); border-color: var(--rh-deep); color: var(--rh-white); }
.rh-btn-line { background: transparent; color: var(--rh-blue); }
.rh-btn-line:hover { background: var(--rh-blue); color: var(--rh-white); }
.rh-ico { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------------------------------------------------------------- header */
.rh-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.rh-head {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--rh-white);
	border-bottom: 1px solid var(--rh-line);
	transition: box-shadow .25s ease;
}
.rh-head.is-stuck { box-shadow: 0 6px 22px rgba(21, 33, 63, .1); }
.rh-bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 5.25rem; position: relative; }
.rh-bar > * + * { margin-top: 0; }
.rh-logo { display: block; flex: none; line-height: 0; }
.rh-logo img { width: clamp(10.5rem, 17vw, 13.5rem); height: auto; }
.rh-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.9rem, 1.9vw, 1.8rem); }
.rh-nav a {
	display: block;
	padding: .5rem 0;
	font-weight: 600;
	font-size: 1rem;
	color: var(--rh-ink);
	text-decoration: none;
	position: relative;
	white-space: nowrap;
}
.rh-nav a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: .15rem;
	height: 3px;
	background: var(--rh-blue);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.rh-nav a:hover::after, .rh-nav a[aria-current="page"]::after, .rh-nav a.is-section::after { transform: scaleX(1); }
.rh-nav a[aria-current="page"], .rh-nav a.is-section { color: var(--rh-blue); }
.rh-menu { display: none; }
.rh-menu summary {
	list-style: none;
	display: inline-flex;
	align-items: center;
	gap: .6rem;
	padding: .65rem .9rem;
	border: 2px solid var(--rh-blue);
	border-radius: 2px;
	font-weight: 700;
	color: var(--rh-blue);
	cursor: pointer;
}
.rh-menu summary::-webkit-details-marker { display: none; }
.rh-burger, .rh-burger::before, .rh-burger::after { display: block; width: 1.1rem; height: 2px; background: currentColor; position: relative; }
.rh-burger::before, .rh-burger::after { content: ""; position: absolute; left: 0; }
.rh-burger::before { top: -6px; }
.rh-burger::after { top: 6px; }
.rh-menu[open] .rh-burger { background: transparent; }
.rh-menu[open] .rh-burger::before { top: 0; transform: rotate(45deg); }
.rh-menu[open] .rh-burger::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 939px) {
	.rh-menu { display: block; }
	.rh-nav { display: none; }
	.rh-menu[open] ~ .rh-nav {
		display: block;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--rh-white);
		border-bottom: 1px solid var(--rh-line);
		box-shadow: 0 18px 30px rgba(21, 33, 63, .12);
		padding: .5rem var(--rh-pad) 1.25rem;
	}
	.rh-menu[open] ~ .rh-nav ul { flex-direction: column; gap: 0; }
	.rh-menu[open] ~ .rh-nav a { padding: .85rem 0; font-size: 1.1rem; border-bottom: 1px solid var(--rh-line); }
	.rh-menu[open] ~ .rh-nav a::after { display: none; }
	.rh-bar { min-height: 4.5rem; }
}

/* ------------------------------------------------------------- page head */
.rh-pagehead { background: var(--rh-tint); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--rh-line); }
.rh-pagehead-in { max-width: 52rem; }
.rh-pagehead-in > * + * { margin-top: 1rem; }
.rh-crumb { font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rh-muted); }
.rh-crumb a { text-decoration: none; }
.rh-crumb a::before { content: "\2190\00a0"; }

/* ------------------------------------------------------------------ hero */
.rh-hero { background: var(--rh-white); padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 6vw, 5.5rem); }
.rh-hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rh-hero-grid > * + * { margin-top: 0; }
.rh-hero-text > * + * { margin-top: 1.35rem; }
.rh-hero-text h1 span { display: block; color: var(--rh-blue); }
.rh-hero-grid .wp-block-image img { aspect-ratio: 5 / 4; object-fit: cover; }

/* ------------------------------------------------------------ figures */
.rh-main .wp-block-image { margin: 0; }
.rh-main .wp-block-image img { display: block; width: 100%; height: auto; }
.rh-main .wp-block-image figcaption { margin: .6rem 0 0; font-size: .9rem; color: var(--rh-muted); text-align: left; }
.rh-frame img { box-shadow: 14px 14px 0 var(--rh-tint); }
.rh-sec-tint .rh-frame img { box-shadow: 14px 14px 0 var(--rh-white); }

/* ------------------------------------------------------------ service times */
.rh-band { background: var(--rh-deep); color: var(--rh-on-deep); }
.rh-band h2 { color: var(--rh-on-deep); }
.rh-band p { color: var(--rh-on-deep-soft); }
.rh-band a { color: var(--rh-on-deep); }
.rh-band .rh-eyebrow { color: var(--rh-on-deep-flame); }
.rh-band-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1.5rem; }
.rh-band-head > * + * { margin-top: 0; }
.rh-band-title > * + * { margin-top: .9rem; }
.rh-band .rh-btn-solid { background: var(--rh-white); border-color: var(--rh-white); color: var(--rh-deep); }
.rh-band .rh-btn-solid:hover { background: var(--rh-tint); border-color: var(--rh-tint); color: var(--rh-deep); }
.rh-band .rh-btn-line { border-color: var(--rh-on-deep-soft); color: var(--rh-on-deep); }
.rh-band .rh-btn-line:hover { background: var(--rh-white); color: var(--rh-deep); }

.rh-times ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-times li { display: flex; flex-direction: column; gap: .2rem; padding: 1.6rem 1.5rem 1.6rem 0; }
.rh-times-day { font-weight: 700; font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; }
.rh-times-time { font-family: var(--rh-display); font-stretch: 70%; font-weight: 800; font-size: clamp(2.8rem, 5vw, 4.2rem); line-height: 1; font-variant-numeric: tabular-nums; }
.rh-times-name { font-weight: 600; font-size: 1.05rem; }
.rh-times-band li { border-top: 2px solid rgba(255, 255, 255, .28); }
.rh-times-band li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .18); }
.rh-times-band .rh-times-day { color: var(--rh-on-deep-flame); }
.rh-times-band .rh-times-time { color: var(--rh-on-deep); }
.rh-times-band .rh-times-name { color: var(--rh-on-deep-soft); }
.rh-times-list ol { grid-template-columns: 1fr; border-top: 1px solid var(--rh-line); }
.rh-times-list li { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: .4rem 1.25rem; padding: 1.1rem 0; border-bottom: 1px solid var(--rh-line); }
.rh-times-list .rh-times-day { color: var(--rh-blue); min-width: 7.5rem; }
.rh-times-list .rh-times-time { font-size: clamp(2rem, 3.4vw, 2.6rem); min-width: 7rem; }
.rh-times-list .rh-times-name { color: var(--rh-ink); }
.rh-band-where { display: flex; flex-wrap: wrap; gap: .5rem 2rem; align-items: center; padding-top: 1.75rem; border-top: 1px solid rgba(255, 255, 255, .18); }
.rh-band-where > * + * { margin-top: 0; }

/* -------------------------------------------------------------- two-up */
.rh-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.rh-split > * + * { margin-top: 0; }
.rh-split-text > * + * { margin-top: 1.15rem; }
.rh-split-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.rh-split-top { align-items: start; }

.rh-quote { margin: 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--rh-blue); }
.rh-quote p { font-style: italic; font-size: clamp(1.15rem, 1.8vw, 1.35rem); line-height: 1.6; color: var(--rh-ink); }
.rh-quote p + p { margin-top: 1rem; }
.rh-quote cite { display: block; margin-top: 1rem; font-style: normal; font-weight: 700; font-size: .95rem; color: var(--rh-muted); }

/* ------------------------------------------------------- year theme (flame) */
.rh-year { background: var(--rh-white); border-block: 1px solid var(--rh-line); }
.rh-year-grid { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1rem clamp(2rem, 5vw, 4rem); align-items: center; }
.rh-year-grid > * + * { margin-top: 0; }
.rh-year-num { font-family: var(--rh-display); font-stretch: 62%; font-weight: 900; font-size: clamp(4.5rem, 11vw, 8.5rem); line-height: .85; color: var(--rh-ink); }
.rh-year-text > * + * { margin-top: .6rem; }
.rh-year-words {
	font-family: var(--rh-display);
	font-stretch: 70%;
	font-weight: 850;
	font-size: clamp(2.3rem, 5.2vw, 4.2rem);
	line-height: .98;
	color: var(--rh-flame-a);
	background: linear-gradient(95deg, var(--rh-flame-a), #c63a06 70%);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

/* ----------------------------------------------------------------- cards */
.rh-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.rh-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rh-cards > * + * { margin-top: 0; }
.rh-card { background: var(--rh-white); border: 1px solid var(--rh-line); border-top: 4px solid var(--rh-blue); padding: 1.6rem 0 1.75rem; }
.rh-card > .wp-block-image:first-child { margin-top: -1.6rem; }
.rh-card > * + * { margin-top: .85rem; }
.rh-card > :not(.wp-block-image) { padding-inline: 1.6rem; }
.rh-card .wp-block-image img { aspect-ratio: 16 / 10; object-fit: cover; }
.rh-card > .wp-block-image + h3 { margin-top: 1.4rem; }
.rh-more { font-weight: 700; }
.rh-more a { text-decoration: none; }
.rh-more a::after { content: "\00a0\2192"; transition: margin .2s ease; }
.rh-more a:hover::after { margin-left: .25rem; }

/* ---------------------------------------------------------------- photos */
.rh-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.rh-strip > * + * { margin-top: 0; }
.rh-strip .wp-block-image img { aspect-ratio: 4 / 3; object-fit: cover; }
.rh-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; }
.rh-gallery > * + * { margin-top: 0; }
.rh-gallery .wp-block-image img { aspect-ratio: 1 / 1; object-fit: cover; }
.rh-gallery-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.rh-gallery-head > * + * { margin-top: 0; }

/* -------------------------------------------------------------- pastors */
.rh-person { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.rh-person > * + * { margin-top: 0; }
.rh-person-text > * + * { margin-top: 1.1rem; }
.rh-person .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; }
.rh-person-role { font-weight: 700; color: var(--rh-blue); font-size: 1rem; letter-spacing: .04em; }
.rh-person-flip { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.rh-person-flip .wp-block-image { order: 2; }

/* --------------------------------------------------------------- values */
.rh-values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(1.5rem, 4vw, 3rem); }
.rh-values li { padding: .85rem 0 .85rem 1.6rem; border-bottom: 1px solid var(--rh-line); position: relative; font-weight: 600; }
.rh-values li::before { content: ""; position: absolute; left: 0; top: 1.45rem; width: .6rem; height: .6rem; background: var(--rh-blue); transform: rotate(45deg); }
.rh-focus { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.rh-focus li { background: var(--rh-white); border-left: 4px solid var(--rh-blue); padding: 1.25rem 1.4rem; font-weight: 600; font-size: 1.08rem; }
.rh-verse { font-family: var(--rh-display); font-stretch: 78%; font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; color: var(--rh-ink); }
.rh-verse-ref { font-weight: 700; color: var(--rh-blue); }

/* ------------------------------------------------------------- facts, map */
.rh-facts { list-style: none; margin: 0; padding: 0; }
.rh-facts li { display: flex; gap: .9rem; align-items: flex-start; padding: .9rem 0; border-bottom: 1px solid var(--rh-line); font-weight: 500; }
.rh-facts li:first-child { padding-top: 0; }
.rh-facts .rh-ico { color: var(--rh-blue); margin-top: .25rem; }
.rh-map { border: 1px solid var(--rh-line); background: var(--rh-white); padding: .5rem; margin-top: 2rem; }
.rh-map iframe { display: block; width: 100%; aspect-ratio: 16 / 10; max-height: 32rem; border: 0; }
.rh-video { position: relative; background: var(--rh-ink); }
.rh-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; }
.rh-social { display: flex; flex-wrap: wrap; gap: .75rem; }
.rh-callout { background: var(--rh-white); border: 1px solid var(--rh-line); border-left: 4px solid var(--rh-blue); padding: 1.4rem 1.6rem; }
.rh-callout > * + * { margin-top: .6rem; }

/* ----------------------------------------------------------------- give */
.rh-give { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.rh-give-card { background: var(--rh-white); border: 1px solid var(--rh-line); border-top: 4px solid var(--rh-blue); padding: 1.6rem; display: flex; flex-direction: column; gap: .4rem; align-items: flex-start; }
.rh-give-to { font-size: .85rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--rh-muted); margin-top: .6rem; }
.rh-give-num { font-family: var(--rh-display); font-stretch: 72%; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.rh-give-link { font-size: clamp(1.45rem, 2.4vw, 1.8rem); overflow-wrap: anywhere; }
.rh-give-card .rh-btn { margin-top: auto; }
.rh-copy { margin-top: auto; font: inherit; font-weight: 700; font-size: .95rem; background: transparent; border: 2px solid var(--rh-blue); color: var(--rh-blue); border-radius: 2px; padding: .55rem 1rem; cursor: pointer; }
.rh-copy:hover { background: var(--rh-blue); color: var(--rh-white); }

/* ----------------------------------------------------------------- forms */
.rh-form-box > * + * { margin-top: 1rem; }
.rh-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1.25rem; background: var(--rh-white); border: 1px solid var(--rh-line); padding: clamp(1.25rem, 3vw, 2rem); }
.rh-form p { display: flex; flex-direction: column; gap: .35rem; }
.rh-form-wide { grid-column: 1 / -1; }
.rh-form label { font-weight: 700; font-size: .95rem; }
.rh-form label span { font-weight: 500; color: var(--rh-muted); }
.rh-form input, .rh-form textarea { font: inherit; color: var(--rh-ink); background: var(--rh-paper); border: 1px solid #9aa3b5; border-radius: 2px; padding: .75rem .85rem; width: 100%; }
.rh-form input:focus, .rh-form textarea:focus { outline: 3px solid var(--rh-blue); outline-offset: 0; border-color: var(--rh-blue); }
.rh-form-foot { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem !important; }
.rh-form-foot span { font-size: .92rem; color: var(--rh-muted); }
.rh-note { padding: 1rem 1.25rem; font-weight: 600; border-left: 4px solid; background: var(--rh-white); }
.rh-note-ok { border-color: #1f7a4a; color: #155c37; }
.rh-note-err { border-color: var(--rh-flame-a); color: #8f1406; }

/* ---------------------------------------------------------- post (credit) */
.rh-prose { max-width: 44rem; }
.rh-main .wp-block-post-content.rh-prose > * + * { margin-top: 1.2rem; }
.rh-main .wp-block-post-content.rh-prose > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 2.6rem; }
.rh-prose ul { padding-left: 1.2rem; }
.rh-prose li + li { margin-top: .4rem; }
.rh-main .rh-prose > .wp-block-image { margin-block: 2.2rem; }
.rh-prose .fx-credit-about { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--rh-line); font-size: .95rem; color: var(--rh-muted); }
.rh-main .wp-block-post-content > .fx-credit-about {
	margin: 0;
	background: var(--rh-tint);
	border-top: 1px solid var(--rh-line);
	padding: 1.25rem max(var(--rh-pad), calc((100% - 76rem) / 2 + var(--rh-pad)));
	font-size: .95rem;
	color: var(--rh-muted);
}

/* ---------------------------------------------------------------- footer */
.rh-foot { background: var(--rh-white); border-top: 4px solid var(--rh-blue); padding-top: clamp(3rem, 6vw, 4.5rem); font-size: .97rem; }
.rh-foot-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 2rem; }
.rh-foot-grid > * + * { margin-top: 0; }
.rh-foot-id > * + * { margin-top: 1rem; }
.rh-foot-id img { width: 12.5rem; }
.rh-foot-id p { color: var(--rh-muted); }
.rh-foot-addr { color: var(--rh-ink) !important; font-weight: 500; }
.rh-foot-h { font-family: var(--rh-body); font-stretch: 100%; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--rh-blue); margin-bottom: .9rem; }
.rh-foot ul { list-style: none; margin: 0; padding: 0; }
.rh-foot li + li { margin-top: .45rem; }
.rh-foot-col a { color: var(--rh-ink); text-decoration: none; }
.rh-foot-col a:hover { color: var(--rh-blue); text-decoration: underline; }
.rh-foot-times li span { display: block; font-weight: 700; }
.rh-foot-times li { color: var(--rh-muted); }
.rh-foot-times li + li { margin-top: .8rem; }
.rh-foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; margin-top: 3rem; padding-block: 1.4rem; background: linear-gradient(var(--rh-line), var(--rh-line)) center top / calc(100% - 2 * var(--rh-pad)) 1px no-repeat; color: var(--rh-muted); font-size: .92rem; }
.rh-foot-base > * + * { margin-top: 0; }
.rh-foot-social { display: flex; gap: 1.25rem; }
.rh-foot-social a { display: inline-flex; align-items: center; gap: .4rem; color: var(--rh-ink); text-decoration: none; font-weight: 600; }
.fx-credit { margin: 0; }
.fx-credit a { color: var(--rh-muted); }

/* ---------------------------------------------------------------- motion */
.js .rh-rev { opacity: 0; transform: translateY(16px); transition: opacity .6s ease var(--d, 0ms), transform .6s ease var(--d, 0ms); }
.js .rh-rev.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.js .rh-rev { opacity: 1; transform: none; transition: none; }
	* { scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ responsive */
@media (max-width: 1100px) {
	.rh-foot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rh-foot-id { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.rh-hero-grid, .rh-split, .rh-split-wide, .rh-person, .rh-person-flip { grid-template-columns: 1fr; }
	.rh-person-flip .wp-block-image { order: 0; }
	.rh-person .wp-block-image { max-width: 26rem; }
	.rh-cards-3, .rh-give { grid-template-columns: 1fr; }
	.rh-year-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
	.rh-times ol { grid-template-columns: 1fr; }
	.rh-times-band li + li { padding-left: 0; border-left: 0; }
	.rh-times-band li { padding: 1.1rem 0; }
	.rh-cards, .rh-values, .rh-focus, .rh-strip { grid-template-columns: 1fr; }
	.rh-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rh-gallery > :last-child:nth-child(odd) { grid-column: 1 / -1; }
	.rh-gallery > :last-child:nth-child(odd) img { aspect-ratio: 2 / 1; }
	.rh-form { grid-template-columns: 1fr; }
	.rh-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rh-quote { padding-left: 1.1rem; }
}
@media (max-width: 420px) {
	.rh-bar { gap: .75rem; }
	.rh-logo img { width: 9.5rem; }
	.rh-menu summary { padding: .6rem .75rem; }
	.rh-foot-grid { grid-template-columns: 1fr; }
	.rh-btn { width: 100%; justify-content: center; }
}
