/*
Theme Name: Open Hands
Theme URI: https://github.com/pursae/pursae-dev/tree/main/library/themes/open-hands
Author: Pursae
Description: A warm, hopeful theme for charities, community groups and nonprofits: a mission-statement hero with a hand-drawn highlight, impact numbers you set in the Customizer, a donate button in the header (and pinned on phones), an announcement bar, story cards with warm duotone images and a give-monthly band.
Version: 1.0.0
Requires Pursae: 0.1.0
License: GNU General Public License v2 or later
Text Domain: open-hands
Fonts: Fraunces and Nunito, SIL Open Font License 1.1
*/

@font-face { font-family: "Fraunces"; src: url("fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Nunito"; src: url("fonts/nunito.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }

:root {
	--c-accent: var(--oh-ember, #e8590c);
	--c-accent-text: color-mix(in srgb, var(--c-accent) 74%, #000);
	--c-link: var(--c-accent-text);
	--c-sun: var(--oh-sun, #fcc419);
	--c-fern: var(--oh-fern, #2f5d50);
	--c-bg: #fff8ef;
	--c-surface: #fcebdc;
	--c-clay: #f4d8c4;
	--c-text: #3a2a22;
	--c-heading: #2b1d16;
	--c-muted: #75625a;
	--c-border: #ecd9c9;
	--c-border-strong: #d9bfa9;
	--c-button: color-mix(in srgb, var(--c-accent) 84%, #000);
	--c-button-text: #fff;
	--c-button-hover: var(--c-heading);
	--c-button-hover-text: #fff;
	--font-body: "Nunito", "Avenir Next", "Segoe UI", system-ui, sans-serif;
	--font-heading: "Fraunces", "Iowan Old Style", Georgia, serif;
	--fw-heading: 650;
	--ls-heading: -.015em;
	--fs-h1: clamp(2.3rem, 5vw, 3.6rem);
	--measure: 42rem;
	--wide: 76rem;
	--radius: 14px;
	--radius-lg: 26px;
	--radius-btn: 999px;
	--radius-img: 18px;
	--btn-pad: .85em 1.7em;
	--sidebar-w: 300px;
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--font-body);
	font-size: var(--fs-base, 1.0625rem);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
.site { min-height: 100vh; display: flex; flex-direction: column; overflow-x: clip; }
.site-content { flex: 1 0 auto; }
img, video, svg { max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--c-link, var(--c-accent)); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--c-focus, var(--c-accent)); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--c-heading, var(--c-text)); line-height: 1.2; margin: 1.6em 0 .6em; font-weight: var(--fw-heading, 700); letter-spacing: var(--ls-heading, normal); overflow-wrap: break-word; }
h1 { font-size: var(--fs-h1, clamp(2.1rem, 4.5vw, 3.2rem)); }
h2 { font-size: var(--fs-h2, clamp(1.6rem, 3vw, 2.2rem)); }
h3 { font-size: var(--fs-h3, 1.45rem); }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1rem; }
p, ul, ol, dl, blockquote, figure, table, pre { margin: 0 0 1.25em; }
ul, ol { padding-left: 1.4em; }
li + li { margin-top: .3em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2.5em auto; }
small { font-size: .85em; }
code, kbd, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; }
pre { background: var(--c-surface); padding: 1em 1.2em; overflow: auto; border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: .6em .8em; border-bottom: 1px solid var(--c-border); text-align: left; vertical-align: top; }
th { font-weight: 700; }
blockquote { margin-left: 0; }

.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px;
	overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}
.screen-reader-text:focus {
	background: var(--c-surface); clip: auto !important; clip-path: none; color: var(--c-text); display: block;
	font-weight: 700; height: auto; left: 8px; padding: 1em 1.4em; top: 8px; width: auto; z-index: 100000;
}
.skip-link:focus { position: fixed !important; }

/* ------------------------------------------------------------------ forms & buttons */
input, textarea, select, button { font: inherit; color: inherit; }
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"],
input[type="number"], input[type="tel"], textarea, select {
	width: 100%; max-width: 100%; padding: .7em .9em; background: var(--c-input-bg, var(--c-bg));
	border: 1px solid var(--c-border-strong, var(--c-border)); border-radius: var(--radius-sm, var(--radius));
	line-height: 1.4; transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus, select:focus { border-color: var(--c-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-accent) 22%, transparent); outline: none; }
textarea { min-height: 9em; resize: vertical; }
label { font-weight: 600; }

.button, button[type="submit"], input[type="submit"], .wp-block-button__link, .wp-element-button, .search-submit, .menu-cta a {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: var(--btn-pad, .75em 1.5em); border: 2px solid var(--c-button, var(--c-accent));
	background: var(--c-button, var(--c-accent)); color: var(--c-button-text, #fff);
	border-radius: var(--radius-btn, var(--radius)); font-family: var(--font-button, var(--font-body));
	font-weight: 700; font-size: .95rem; line-height: 1.2; letter-spacing: var(--ls-button, .01em);
	text-transform: var(--tt-button, none); text-decoration: none; cursor: pointer;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.button:hover, button[type="submit"]:hover, input[type="submit"]:hover, .wp-block-button__link:hover, .search-submit:hover, .menu-cta a:hover {
	background: var(--c-button-hover, var(--c-text)); border-color: var(--c-button-hover, var(--c-text)); color: var(--c-button-hover-text, var(--c-bg));
	text-decoration: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link, .is-style-outline .wp-block-button__link {
	background: transparent; color: var(--c-button-outline, var(--c-button, var(--c-accent))); border-color: currentColor;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--c-button, var(--c-accent)); color: var(--c-button-text, #fff); border-color: var(--c-button, var(--c-accent)); }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75em; margin-bottom: 1.25em; }
.wp-block-buttons.is-content-justification-center { justify-content: center; }

.search-form { display: flex; gap: .5em; max-width: 34rem; }
.search-form__label { flex: 1; font-weight: 400; }
.search-form .search-submit { flex: none; }
.wp-block-search__inside-wrapper { display: flex; gap: .5em; }
.wp-block-search__label { display: block; margin-bottom: .4em; }
.wp-block-search__button { margin: 0; }

/* ------------------------------------------------------------------ layout */
.wrap, .content-wrap, .site-header__inner, .site-footer__inner {
	width: 100%; max-width: var(--wide); margin-inline: auto; padding-inline: var(--gutter, clamp(1rem, 4vw, 2.5rem));
}
.content-wrap { padding-block: var(--content-pad, clamp(2rem, 6vw, 4.5rem)); }
.content-wrap.is-front { padding-top: 0; }
.site-main { min-width: 0; outline: none; }
.content-wrap.has-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar-w, 300px); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.sidebar-left .content-wrap.has-sidebar { grid-template-columns: var(--sidebar-w, 300px) minmax(0, 1fr); }
.sidebar-left .content-wrap.has-sidebar .site-main { order: 2; }
.sidebar-none .content-wrap.has-sidebar { display: block; }
.sidebar-none .content-wrap.has-sidebar .widget-area { display: none; }
@media (max-width: 900px) {
	.content-wrap.has-sidebar, .sidebar-left .content-wrap.has-sidebar { display: block; }
	.content-wrap.has-sidebar .widget-area { margin-top: 3.5rem; }
}

/* Entry content: a readable measure with wide and full alignments on full-width screens. */
.entry-content > *, .page-header, .comments-area, .post-navigation, .entry--single > .entry-header, .entry--page > .entry-header, .entry-footer {
	max-width: var(--measure); margin-inline: auto;
}
.content-wrap:not(.has-sidebar) .entry-content > .alignwide { max-width: var(--wide-inner, calc(var(--wide) - 5rem)); }
.content-wrap:not(.has-sidebar) .entry-content > .alignfull { max-width: none; width: 100vw; margin-inline: calc(50% - 50vw); }
.content-wrap.has-sidebar .entry-content > *, .content-wrap.has-sidebar .page-header, .content-wrap.has-sidebar .comments-area,
.content-wrap.has-sidebar .post-navigation, .content-wrap.has-sidebar .entry--single > .entry-header, .content-wrap.has-sidebar .entry-footer { max-width: none; }
.has-sidebar .post-thumbnail--single { max-width: none; }
.entry-content > :first-child { margin-top: 0; }
.entry-content::after { content: ""; display: table; clear: both; }
.alignleft { float: left; margin: .3em 1.5em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.5em; max-width: 50%; }
.aligncenter { margin-inline: auto; text-align: center; }
@media (max-width: 600px) { .alignleft, .alignright { float: none; margin: 0 0 1.25em; max-width: 100%; } }

/* ------------------------------------------------------------------ navigation */
.main-navigation ul { list-style: none; margin: 0; padding: 0; }
.main-navigation li { margin: 0; position: relative; }
.main-navigation a { display: block; text-decoration: none; }
.menu-toggle { display: none; }
.menu-toggle__bars { display: inline-grid; gap: 4px; width: 20px; }
.menu-toggle__bars span { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 901px) {
	.main-navigation .primary-menu { display: flex; flex-wrap: wrap; align-items: center; gap: var(--nav-gap, .25rem 1.6rem); }
	.main-navigation .sub-menu {
		position: absolute; top: 100%; left: -1rem; z-index: 50; min-width: 13rem; padding: .5rem 0;
		background: var(--c-dropdown-bg, var(--c-bg)); color: var(--c-dropdown-text, var(--c-text));
		border-radius: var(--radius); box-shadow: 0 14px 40px rgba(0,0,0,.14);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
	}
	.main-navigation .sub-menu a { padding: .5rem 1.1rem; color: inherit; }
	.main-navigation .sub-menu a:hover { background: var(--c-surface); }
	.main-navigation li:hover > .sub-menu, .main-navigation li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.main-navigation .menu-item-has-children > a::after { content: ""; display: inline-block; width: .4em; height: .4em; margin-left: .45em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.2em) rotate(45deg); }
}
@media (max-width: 900px) {
	.menu-toggle {
		display: inline-flex; align-items: center; gap: .6em; padding: .55em .9em; border: 1.5px solid currentColor;
		background: transparent; color: inherit; border-radius: var(--radius-btn, var(--radius)); font-weight: 700; font-size: .9rem; cursor: pointer;
	}
	.menu-toggle:hover { background: transparent; color: inherit; border-color: currentColor; }
	.main-navigation .menu-wrap { display: none; }
	.main-navigation.toggled .menu-wrap {
		display: block; position: absolute; left: 0; right: 0; top: 100%; z-index: 60; max-height: calc(100vh - 5rem); overflow-y: auto;
		background: var(--c-mobile-nav-bg, var(--c-bg)); color: var(--c-mobile-nav-text, var(--c-text));
		padding: 1rem var(--gutter, 1.25rem) 1.5rem; box-shadow: 0 20px 40px rgba(0,0,0,.18);
	}
	.main-navigation .primary-menu a { padding: .7rem 0; border-bottom: 1px solid var(--c-border); color: inherit; font-size: 1.05rem; }
	.main-navigation .sub-menu { padding-left: 1rem; }
	.main-navigation .sub-menu a { font-size: .98rem; }
}

/* ------------------------------------------------------------------ entries */
.page-header { margin-bottom: clamp(2rem, 5vw, 3.25rem); }
.page-title { margin: 0; }
.page-kicker, .entry-kicker { margin: 0 0 .6rem; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.entry-kicker a { color: var(--c-accent-text, var(--c-accent)); text-decoration: none; }
.archive-description { margin-top: .9rem; color: var(--c-muted); font-size: 1.05rem; }
.archive-description p { margin: 0; }
.section-title { margin: 0; }
.entry-title { margin: 0 0 .5rem; }
.entry-title a { color: inherit; text-decoration: none; }
.entry-title a:hover { color: var(--c-accent-text, var(--c-accent)); }
.entry-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; font-size: .88rem; color: var(--c-muted); }
.entry-meta a { color: inherit; text-decoration: none; }
.entry-meta a:hover { color: var(--c-accent-text, var(--c-accent)); text-decoration: underline; }
body:not(.show-author) .byline { display: none; }
body:not(.show-thumbs) .post-thumbnail { display: none !important; }
.post-thumbnail img { display: block; width: 100%; height: auto; }
.post-thumbnail--single, .post-thumbnail--page { max-width: var(--wide-inner, calc(var(--wide) - 5rem)); margin: 0 auto clamp(2rem, 5vw, 3rem); }
.post-thumbnail--single img, .post-thumbnail--page img { border-radius: var(--radius-lg, var(--radius)); max-height: 640px; object-fit: cover; }
.entry--single > .entry-header, .entry--page > .entry-header { margin-bottom: clamp(1.5rem, 4vw, 2.5rem); }
.entry-footer { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--c-border); display: flex; flex-wrap: wrap; gap: 1rem; font-size: .9rem; }
.tags-links { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags-links a { display: inline-block; padding: .3em .85em; background: var(--c-surface); color: var(--c-text); border-radius: 999px; text-decoration: none; font-size: .85rem; }
.tags-links a:hover { background: var(--c-accent); color: var(--c-button-text, #fff); }
.sticky-badge { display: inline-block; margin-bottom: .5rem; padding: .2em .7em; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--c-accent); color: var(--c-button-text, #fff); border-radius: 999px; }
.more-link { font-weight: 700; text-decoration: none; }
.author-info, .author-bio { max-width: var(--measure); margin: 3rem auto 0; padding: 1.5rem; background: var(--c-surface); border-radius: var(--radius); display: flex; gap: 1.2rem; }
.author-info img, .author-bio img { border-radius: 50%; }

/* Post lists: list (default), grid and other layouts are set per theme through body classes. */
.post-list { display: grid; gap: var(--list-gap, clamp(2rem, 4vw, 3rem)); }
.post-list .entry { min-width: 0; }

/* ------------------------------------------------------------------ blocks */
.wp-block-image img { border-radius: var(--radius-img, var(--radius)); }
.wp-block-image figcaption, .wp-element-caption, .wp-block-gallery figcaption { font-size: .85rem; color: var(--c-muted); text-align: center; margin-top: .6em; }
.wp-block-quote { border-left: 4px solid var(--c-accent); padding: .2em 0 .2em 1.4em; font-size: 1.12em; }
.wp-block-quote p:last-of-type { margin-bottom: .5em; }
.wp-block-quote cite, .wp-block-pullquote cite { display: block; font-size: .85rem; font-style: normal; color: var(--c-muted); font-weight: 600; }
.wp-block-pullquote { border-block: 3px solid var(--c-accent); padding: 2em 1em; text-align: center; }
.wp-block-pullquote blockquote { margin: 0; }
.wp-block-pullquote p { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1.35; }
.wp-block-separator { border-top: 2px solid var(--c-border); max-width: 6rem !important; }
.wp-block-columns { display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 3vw, 2.5rem); margin-bottom: 1.75em; }
.wp-block-column { flex: 1 1 0; min-width: 0; }
.wp-block-column > :last-child { margin-bottom: 0; }
@media (max-width: 781px) { .wp-block-columns { flex-direction: column; } .wp-block-column { flex-basis: 100% !important; } }
.wp-block-gallery.has-nested-images { display: flex; flex-wrap: wrap; gap: .75rem; }
.wp-block-gallery.has-nested-images figure.wp-block-image { flex: 1 1 calc(33.333% - .75rem); margin: 0; }
.wp-block-gallery.columns-2 figure.wp-block-image { flex-basis: calc(50% - .75rem); }
.wp-block-gallery.has-nested-images img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 600px) { .wp-block-gallery.has-nested-images figure.wp-block-image { flex-basis: calc(50% - .75rem); } }
.wp-block-cover { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: clamp(2rem, 6vw, 4rem) clamp(1rem, 4vw, 2.5rem); color: #fff; }
.wp-block-cover__image-background { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; border-radius: 0; }
.wp-block-cover__background { position: absolute; inset: 0; background: #000; z-index: 1; }
.wp-block-cover .has-background-dim-20 { opacity: .2; } .wp-block-cover .has-background-dim-30 { opacity: .3; }
.wp-block-cover .has-background-dim-40 { opacity: .4; } .wp-block-cover .has-background-dim-50 { opacity: .5; }
.wp-block-cover .has-background-dim-60 { opacity: .6; } .wp-block-cover .has-background-dim-70 { opacity: .7; }
.wp-block-cover__inner-container { position: relative; z-index: 2; width: 100%; max-width: var(--measure); }
.wp-block-cover h2, .wp-block-cover h3, .wp-block-cover p, .wp-block-cover a:not(.wp-block-button__link) { color: #fff; }
.wp-block-media-text { display: grid; grid-template-columns: 50% 1fr; align-items: center; gap: 0; margin-bottom: 2em; }
.wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr 50%; }
.wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
.wp-block-media-text__media img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: var(--radius-img, var(--radius)); }
.wp-block-media-text__content { padding: clamp(1.25rem, 4vw, 3rem); }
@media (max-width: 600px) { .wp-block-media-text, .wp-block-media-text.has-media-on-the-right { grid-template-columns: 1fr; } .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 0; } .wp-block-media-text__content { padding: 1.25rem 0 0; } }
.wp-block-table table { font-size: .95rem; }
.wp-block-table thead th { border-bottom: 2px solid var(--c-text); }
.wp-block-details { border: 1px solid var(--c-border); border-radius: var(--radius); padding: .9em 1.2em; margin-bottom: .75em; }
.wp-block-details summary { font-weight: 700; cursor: pointer; }
.wp-block-details[open] summary { margin-bottom: .6em; }
.has-text-align-center { text-align: center; }
.has-text-align-right { text-align: right; }
.wp-block-latest-posts { list-style: none; padding: 0; }
.wp-block-latest-posts li { margin: 0 0 1em; }
.wp-block-latest-posts__post-title { font-weight: 700; text-decoration: none; color: var(--c-text); }
.wp-block-latest-posts__post-title:hover { color: var(--c-accent-text, var(--c-accent)); }
.wp-block-latest-posts__post-date { display: block; font-size: .82rem; color: var(--c-muted); }
.wp-block-latest-posts__post-excerpt { margin-top: .4em; font-size: .95rem; color: var(--c-muted); }
.wp-block-latest-posts.wp-block-latest-posts__list.is-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); gap: 1.5rem; }
.wp-block-latest-posts.is-grid li { margin: 0 !important; width: auto !important; }
@media (min-width: 782px) { .wp-block-latest-posts.is-grid.columns-2 { grid-template-columns: repeat(2, 1fr); } .wp-block-latest-posts.is-grid.columns-3 { grid-template-columns: repeat(3, 1fr); } .wp-block-latest-posts.is-grid.columns-4 { grid-template-columns: repeat(4, 1fr); } }

/* ------------------------------------------------------------------ widgets */
.widget-area { font-size: .95rem; }
.widget { margin: 0 0 2.5rem; }
.widget:last-child { margin-bottom: 0; }
.widget-title, .widget .wp-block-heading { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; font-family: var(--font-body); font-weight: 800; color: var(--c-heading, var(--c-text)); }
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: .45em 0; border-bottom: 1px solid var(--c-border); margin: 0; }
.widget li:last-child { border-bottom: 0; }
.widget a { color: var(--c-text); text-decoration: none; }
.widget a:hover { color: var(--c-accent-text, var(--c-accent)); text-decoration: underline; }
.widget .wp-block-latest-posts__post-title { font-weight: 600; }
.widget p:last-child { margin-bottom: 0; }
.widget .wp-block-group { margin: 0; }
.wp-block-tag-cloud, .tagcloud { display: flex; flex-wrap: wrap; gap: .4rem; }
.wp-block-tag-cloud a, .tagcloud a { font-size: .85rem !important; padding: .25em .75em; background: var(--c-surface); border-radius: 999px; text-decoration: none; color: var(--c-text); }

/* ------------------------------------------------------------------ pagination & post nav */
.pagination, .comments-navigation { margin-top: clamp(2.5rem, 5vw, 4rem); }
.pagination .nav-links { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; height: 2.75rem; padding: 0 .9rem; border: 1px solid var(--c-border-strong, var(--c-border)); border-radius: var(--radius-btn, var(--radius)); color: var(--c-text); text-decoration: none; font-weight: 600; }
.page-numbers.current { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-button-text, #fff); }
a.page-numbers:hover { border-color: var(--c-accent); color: var(--c-accent-text, var(--c-accent)); }
.page-numbers.dots { border: 0; }
.post-navigation { margin-top: 3.5rem; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation a { display: block; padding: 1.1rem 1.25rem; border: 1px solid var(--c-border); border-radius: var(--radius); text-decoration: none; color: var(--c-text); height: 100%; }
.post-navigation a:hover { border-color: var(--c-accent); }
.post-navigation .meta-nav { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); margin-bottom: .3rem; }
.post-navigation .post-title { font-family: var(--font-heading); font-weight: 700; }
@media (max-width: 600px) { .post-navigation .nav-links { grid-template-columns: 1fr; } .post-navigation .nav-next { grid-column: 1; } }

/* ------------------------------------------------------------------ comments */
.comments-area { margin-top: 4rem; padding-top: 2.5rem; border-top: 1px solid var(--c-border); }
.comments-title { margin-top: 0; font-size: 1.5rem; }
.comment-list, .comment-list .children { list-style: none; padding: 0; margin: 0; }
.comment-list .children { margin-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--c-border); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; margin-bottom: .6rem; font-size: .88rem; }
.comment-author { display: flex; align-items: center; gap: .7rem; }
.comment-author .avatar { border-radius: 50%; width: 44px; height: 44px; }
.comment-author .fn { font-style: normal; font-weight: 700; font-size: 1rem; }
.comment-author .says { display: none; }
.comment-metadata a { color: var(--c-muted); text-decoration: none; }
.comment-content p:last-child { margin-bottom: .5em; }
.reply a, .comment-reply-link { font-size: .85rem; font-weight: 700; text-decoration: none; }
.bypostauthor > .comment-body .fn::after { content: "Author"; margin-left: .5em; padding: .1em .55em; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--c-surface); border-radius: 999px; }
.comment-respond { margin-top: 2.5rem; }
.comment-reply-title { font-size: 1.35rem; margin-top: 0; }
.comment-form p { margin-bottom: 1rem; }
.comment-form label { display: block; margin-bottom: .35rem; font-size: .9rem; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: flex-start; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }
.comment-notes, .logged-in-as { font-size: .9rem; color: var(--c-muted); }
.required { color: var(--c-accent-text, var(--c-accent)); }

/* ------------------------------------------------------------------ 404 & empty states */
.error-404 { text-align: center; max-width: 40rem; margin: 0 auto; padding: clamp(1rem, 4vw, 3rem) 0; }
.error-404__code { font-family: var(--font-heading); font-size: clamp(5rem, 18vw, 10rem); line-height: 1; margin: 0 0 .5rem; color: var(--c-accent); font-weight: 800; }
.error-404__text { color: var(--c-muted); font-size: 1.1rem; margin: 1rem 0 2rem; }
.error-404 .search-form { margin: 0 auto 1.5rem; }
.no-results { max-width: var(--measure); margin: 0 auto; padding: 2rem; background: var(--c-surface); border-radius: var(--radius); }
.no-results__title { margin-top: 0; }

/* ------------------------------------------------------------------ footer basics */
.site-info { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; font-size: .85rem; }
.site-info a { color: inherit; }
.footer-navigation ul, .social-navigation ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; }
.footer-navigation li, .social-navigation li { margin: 0; }
.footer-navigation a, .social-navigation a { color: inherit; text-decoration: none; }
.footer-navigation a:hover, .social-navigation a:hover { text-decoration: underline; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 2rem 3rem; }
.footer-widgets .widget { margin: 0; }

/* ------------------------------------------------------------------ sticky header & motion */
.sticky-header .site-header { position: sticky; top: 0; z-index: 40; }
.admin-bar.sticky-header .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar.sticky-header .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar.sticky-header .site-header { top: 0; } }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html { scroll-behavior: auto; }
}
@media print {
	.site-header, .site-footer, .widget-area, .comments-area, .post-navigation, .menu-toggle { display: none !important; }
	body { background: #fff; color: #000; }
}

/* ================================================================== Open Hands */
.oh-fonts-modern { --font-heading: var(--font-body); --fw-heading: 800; --ls-heading: -.025em; }
.oh-heart { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }

/* Banner and header ------------------------------------------------------- */
.oh-banner-bar { display: none; margin: 0; background: var(--c-sun); text-align: center; font-weight: 700; font-size: .92rem; }
.oh-banner .oh-banner-bar { display: block; }
.oh-banner-bar a { display: block; padding: .6rem 1rem; color: var(--c-heading); text-decoration: none; }
.oh-banner-bar a:hover { text-decoration: underline; }
.site-header { background: var(--c-bg); }
.site-header__inner { display: flex; align-items: center; gap: 1.25rem 2rem; min-height: 5.5rem; position: relative; }
.site-branding { margin-right: auto; display: flex; align-items: center; gap: .8rem; }
.site-logo img { max-height: 56px; width: auto; display: block; }
.site-title { margin: 0; font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--c-heading); letter-spacing: -.02em; line-height: 1.05; }
.site-title a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; }
.site-title a::before { content: ""; width: 2rem; height: 2rem; flex: none; border-radius: 50%; background: radial-gradient(circle at 50% 120%, var(--c-accent) 0 45%, transparent 46%), radial-gradient(circle at 50% 38%, var(--c-sun) 0 32%, transparent 33%), var(--c-clay); }
.site-description { margin: .15rem 0 0; font-size: .85rem; color: var(--c-muted); max-width: 14rem; line-height: 1.35; }
.site-title { white-space: nowrap; }
@media (max-width: 1300px) { .oh-header-classic .site-description { display: none; } }
.main-navigation .primary-menu > li > a { color: var(--c-heading); font-weight: 700; padding: .45rem .1rem; background: linear-gradient(var(--c-sun), var(--c-sun)) 0 88% / 0 .35em no-repeat; transition: background-size .25s; }
.main-navigation .primary-menu > li > a:hover, .main-navigation .primary-menu > .current-menu-item > a, .main-navigation .primary-menu > .current-menu-ancestor > a { background-size: 100% .35em; }
.oh-donate { --btn-pad: .7em 1.4em; flex: none; box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--c-accent) 80%, transparent); }
.oh-donate:hover .oh-heart, .oh-pinned-donate:hover .oh-heart { animation: oh-beat .8s ease-in-out infinite; }
@keyframes oh-beat { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.25); } }
@media (min-width: 901px) {
	.oh-header-centered .site-header__inner { flex-wrap: wrap; justify-content: center; padding-top: 1.2rem; }
	.oh-header-centered .site-branding { margin: 0; width: 100%; justify-content: center; flex-direction: column; text-align: center; }
	.oh-header-centered .main-navigation { width: 100%; order: 3; padding: .4rem 0 .6rem; }
	.oh-header-centered .main-navigation .primary-menu { justify-content: center; }
	.oh-header-centered .oh-donate { position: absolute; right: var(--gutter, 2.5rem); top: 1.6rem; }
}
@media (max-width: 900px) {
	.site-description { display: none; }
	.site-header__inner { min-height: 4.5rem; }
	.oh-donate span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
	.oh-donate { --btn-pad: .7em; order: 2; }
	.main-navigation { order: 3; }
	.menu-toggle { color: var(--c-heading); }
}
.sticky-header .site-header { box-shadow: 0 1px 0 var(--c-border); }

/* Hero -------------------------------------------------------------------- */
.oh-hero { padding: clamp(2.5rem, 7vw, 5rem) var(--gutter, clamp(1rem, 4vw, 2.5rem)) 0; text-align: center; }
.oh-hero__statement { max-width: 56rem; margin: 0 auto; }
.oh-hero__kicker { display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.2rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .82rem; color: var(--c-accent-text); }
.oh-hero__kicker::before, .oh-hero__kicker::after { content: ""; width: 1.6rem; height: 2px; background: currentColor; }
.oh-hero__title { margin: 0; font-family: var(--font-heading); font-weight: var(--fw-heading); font-size: clamp(2.5rem, 6.4vw, 5rem); line-height: 1.04; letter-spacing: -.03em; color: var(--c-heading); font-variation-settings: "SOFT" 100, "WONK" 1; }
.oh-mark { position: relative; white-space: nowrap; color: var(--c-accent-text); font-style: italic; }
.oh-mark::after { content: ""; position: absolute; left: -.1em; right: -.1em; bottom: -.08em; height: .32em; z-index: -1; background: var(--c-sun); border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; transform: rotate(-1.5deg); }
.oh-hero__text { max-width: 38rem; margin: 1.5rem auto 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--c-muted); }
.oh-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2rem 0 0; }
.button--line { background: transparent; color: var(--c-heading); border-color: var(--c-heading); }
.oh-hero__visual { position: relative; max-width: var(--wide); margin: clamp(2.5rem, 6vw, 4rem) auto 0; }
.oh-hero__img { display: block; width: 100%; aspect-ratio: 16 / 7; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.oh-impact { list-style: none; margin: -3.5rem auto 0; padding: 1.5rem; position: relative; width: min(92%, 64rem); display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1rem; background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 60px -30px rgba(43,29,22,.35); }
.oh-impact li { margin: 0; padding: .5rem 1rem; text-align: center; border-left: 2px dotted var(--c-border-strong); }
.oh-impact li:first-child { border-left: 0; }
.oh-impact strong { display: block; font-family: var(--font-heading); font-size: clamp(1.9rem, 3.5vw, 2.6rem); line-height: 1.05; color: var(--c-accent-text); }
.oh-impact span { display: block; margin-top: .3rem; font-size: .9rem; color: var(--c-muted); font-weight: 600; }
@media (max-width: 640px) { .oh-impact { grid-template-columns: 1fr 1fr; margin-top: -2rem; } .oh-impact li { border-left: 0; } .oh-hero__img { aspect-ratio: 4 / 3; } }

/* Page headers ------------------------------------------------------------ */
.page-header { text-align: center; }
.page-header .page-title { font-size: var(--fs-h1); }
.page-header .search-form { margin: 1.5rem auto 0; }
.page-kicker { color: var(--c-accent-text); }
.page-header--front { text-align: left; }
.entry--page > .entry-header { text-align: center; }
.entry--page .entry-title { font-size: var(--fs-h1); }
.entry--page .entry-title::after, .page-header .page-title::after { content: ""; display: block; width: 4.5rem; height: .45rem; margin: 1rem auto 0; background: var(--c-sun); border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; }
.page-header--front .section-title::after { display: none; }

/* Story cards ------------------------------------------------------------- */
.oh-story { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 1px 0 var(--c-border), 0 20px 40px -30px rgba(43,29,22,.4); }
.oh-story__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-clay); }
.oh-story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s, filter .4s; }
.oh-story:hover .oh-story__media img { transform: scale(1.04); }
.oh-tone-warm .oh-story__media img { filter: sepia(.25) saturate(1.15); }
.oh-tone-duotone .oh-story__media img { filter: grayscale(1) contrast(1.1); mix-blend-mode: multiply; }
.oh-tone-duotone .oh-story__media { background: var(--c-accent); }
.oh-story:hover .oh-story__media img { filter: none; }
.oh-story__body { display: flex; flex-direction: column; flex: 1; padding: 1.5rem 1.6rem 1.6rem; }
.oh-story__meta { display: flex; gap: .6rem; align-items: center; margin: 0 0 .7rem; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.oh-story__meta a { color: var(--c-accent-text); text-decoration: none; }
.oh-story__meta .sticky-badge { margin: 0; background: var(--c-sun); color: var(--c-heading); }
.oh-story .entry-title { font-size: clamp(1.35rem, 2.2vw, 1.6rem); line-height: 1.2; }
.oh-story .entry-summary { color: var(--c-muted); }
.oh-story .entry-summary p { margin: 0 0 .7em; }
.oh-story .entry-summary .more-link { display: none; }
.entry-summary.is-full { max-height: 8em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.entry-summary.is-full figure, .entry-summary.is-full h2 { display: none; }
.oh-story__foot { margin: auto 0 0; padding-top: 1rem; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem; font-size: .85rem; color: var(--c-muted); }
.oh-story__foot .more-link { margin-left: auto; color: var(--c-accent-text); }
.oh-story__foot .more-link::after { content: " \2192"; }
.oh-layout-grid .post-list, .oh-layout-feature .post-list { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 1.75rem; }
@media (min-width: 820px) {
	.oh-layout-feature .post-list > .oh-story:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: 1.2fr 1fr; }
	.oh-layout-feature .post-list > .oh-story:first-child .oh-story__media { aspect-ratio: auto; min-height: 24rem; }
	.oh-layout-feature .post-list > .oh-story:first-child .oh-story__body { padding: clamp(2rem, 4vw, 3.5rem); justify-content: center; }
	.oh-layout-feature .post-list > .oh-story:first-child .entry-title { font-size: clamp(1.8rem, 3vw, 2.5rem); }
	.oh-layout-feature .post-list > .oh-story:first-child .entry-summary { font-size: 1.1rem; }
	.oh-layout-list .oh-story { display: grid; grid-template-columns: 22rem 1fr; }
	.oh-layout-list .oh-story__media { aspect-ratio: auto; }
	.oh-layout-list:not(.show-thumbs) .oh-story { grid-template-columns: 1fr; }
}

/* Single ------------------------------------------------------------------ */
.entry--single > .entry-header { text-align: center; }
.entry--single .entry-meta { justify-content: center; }
.entry--single .entry-title { font-size: var(--fs-h1); }
.entry-content { font-size: 1.1rem; }
.entry-content h2 { font-size: clamp(1.6rem, 3vw, 2rem); }
.entry-content .wp-block-quote { border: 0; padding: 0 0 0 1.5rem; font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.4; position: relative; }
.entry-content .wp-block-quote::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 6px; border-radius: 6px; background: var(--c-sun); }
.entry-content .wp-block-quote cite { font-family: var(--font-body); }
.entry-content .wp-block-pullquote { border: 0; background: var(--c-fern); color: #fff; border-radius: var(--radius-lg); padding: 2.5rem 2rem; }
.entry-content .wp-block-pullquote cite { color: rgba(255,255,255,.75); }
.post-thumbnail--single img, .post-thumbnail--page img { border-radius: var(--radius-lg); }

/* Front page / page sections --------------------------------------------- */
.entry--front .entry-content > .oh-section { padding-block: clamp(3rem, 8vw, 6rem); margin-bottom: 0; }
.oh-section > * { max-width: var(--wide-inner, calc(var(--wide) - 5rem)); margin-inline: auto; padding-inline: var(--gutter, clamp(1rem, 4vw, 2.5rem)); }
.oh-section > .wp-block-heading:first-of-type { margin-top: 0; }
.oh-section--clay { background: var(--c-surface); }
.oh-section--fern { background: var(--c-fern); color: #f3efe6; }
.oh-section--fern h2, .oh-section--fern h3 { color: #fff; }
.oh-section--fern a:not(.wp-block-button__link) { color: var(--c-sun); }
.oh-section--fern .wp-block-button__link { background: var(--c-sun); border-color: var(--c-sun); color: var(--c-heading); }
.oh-eyebrow { margin-bottom: .3rem; font-weight: 800; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--c-accent-text); }
.oh-section--fern .oh-eyebrow { color: var(--c-sun); }
.oh-programs { gap: 1.5rem !important; }
.oh-programs > .wp-block-column { background: #fff; border-radius: var(--radius-lg); overflow: hidden; padding-bottom: 1.5rem; box-shadow: 0 20px 40px -30px rgba(43,29,22,.4); }
.oh-programs > .wp-block-column > :not(figure) { padding-inline: 1.5rem; }
.oh-programs .wp-block-image { margin-bottom: 1.2rem; }
.oh-programs .wp-block-image img { border-radius: 0; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.oh-programs h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.oh-programs p { color: var(--c-muted); }
.oh-ways { gap: 1.25rem !important; }
.oh-ways > .wp-block-column { border: 2px dashed rgba(255,255,255,.3); border-radius: var(--radius-lg); padding: 1.75rem; }
.oh-ways h3 { margin-top: 0; }
.oh-amounts { gap: .75rem !important; }
.oh-amounts > .wp-block-column { background: #fff; border: 2px solid var(--c-border); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.oh-amounts .oh-amount { margin: 0; font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--c-accent-text); }
.oh-amounts p { margin-bottom: 0; font-size: .95rem; }
.oh-section .wp-block-latest-posts.is-grid li { background: #fff; border-radius: var(--radius-lg); padding: 1.5rem; }
.oh-section .wp-block-latest-posts__post-title { font-family: var(--font-heading); font-size: 1.3rem; }
.oh-section .wp-block-media-text__media img { border-radius: var(--radius-lg); }

/* Sidebar ----------------------------------------------------------------- */
.widget-area .widget { background: #fff; padding: 1.5rem; border-radius: var(--radius-lg); }
.widget-area .widget-title, .widget-area .widget .wp-block-heading { font-family: var(--font-heading); text-transform: none; letter-spacing: 0; font-size: 1.15rem; font-weight: 700; }

/* Give band & footer ----------------------------------------------------- */
.oh-give { background: var(--c-sun); color: var(--c-heading); padding: clamp(3rem, 7vw, 4.5rem) var(--gutter, clamp(1rem, 4vw, 2.5rem)); text-align: center; position: relative; overflow: hidden; }
.oh-give::before, .oh-give::after { content: ""; position: absolute; width: 18rem; height: 18rem; border-radius: 50%; border: 2px dashed rgba(43,29,22,.18); }
.oh-give::before { left: -6rem; top: -8rem; } .oh-give::after { right: -5rem; bottom: -9rem; }
.oh-give__inner { position: relative; max-width: 44rem; margin: 0 auto; }
.oh-give__title { margin: 0; font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.12; font-weight: 700; }
.oh-give__text { margin: 1rem 0 1.75rem; font-size: 1.08rem; }
.oh-give__button { background: var(--c-heading); border-color: var(--c-heading); }
.oh-give__button:hover { background: #fff; color: var(--c-heading); border-color: #fff; }
.site-footer { background: var(--c-fern); color: #e5ece6; padding: 4rem 0 2rem; }
.oh-footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 2.5rem 4rem; }
@media (max-width: 800px) { .oh-footer__grid { grid-template-columns: 1fr; } }
.oh-footer__name { margin: 0 0 .5rem; font-family: var(--font-heading); font-size: 1.6rem; color: #fff; font-weight: 700; }
.site-footer a { color: #fff; }
.site-footer .widget-title, .site-footer .widget .wp-block-heading { color: var(--c-sun); }
.site-footer .widget a { color: #e5ece6; }
.site-footer .widget li { border-color: rgba(255,255,255,.12); }
.oh-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.16); font-size: .9rem; }
.site-footer :focus-visible { outline-color: var(--c-sun); }
.oh-pinned-donate { display: none; }
@media (max-width: 700px) {
	.oh-pin-donate .oh-pinned-donate { display: inline-flex; position: fixed; right: 1rem; bottom: 1rem; z-index: 70; box-shadow: 0 12px 30px -8px rgba(43,29,22,.5); }
	.oh-pin-donate .site-footer { padding-bottom: 5.5rem; }
}
.error-404__code { font-family: var(--font-heading); color: var(--c-sun); -webkit-text-stroke: 2px var(--c-heading); }
.comment-respond { background: #fff; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--radius-lg); }
