/*
Theme Name: Hope and Verse
Theme URI: https://hopeandverse.com
Description: A calm, editorial child theme of Twenty Twenty-Five for Hope and Verse. Prayers and scripture for every season.
Author: Melissa Walker
Template: twentytwentyfive
Version: 1.7.16
Requires at least: 6.7
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hopeandverse
*/

/* ---------- Tokens ---------- */
:root {
	--hv-navy: #24305E;
	--hv-blue: #374785;
	--hv-butter: #F8E9A1;
	--hv-sky: #A8D0E6;
	--hv-sky-pale: #ECF5FA;
	--hv-coral: #F76C6C;
	--hv-white: #FFFFFF;
	--hv-line: rgba(36, 48, 94, 0.14);
	--hv-radius: 12px;
	--hv-section: clamp(3rem, 2.25rem + 3vw, 5rem);

	/* Parent theme color slugs, mapped to the brand so any Twenty Twenty-Five
	   pattern that slips in still uses the palette. */
	--wp--preset--color--base: #FFFFFF;
	--wp--preset--color--contrast: #24305E;
	--wp--preset--color--accent-1: #F8E9A1;
	--wp--preset--color--accent-2: #A8D0E6;
	--wp--preset--color--accent-3: #374785;
	--wp--preset--color--accent-4: #24305E;
	--wp--preset--color--accent-5: #FFFFFF;
	--wp--preset--color--accent-6: rgba(36, 48, 94, 0.14);
}

body {
	background: var(--hv-white);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

a {
	text-underline-offset: 0.18em;
	text-decoration-thickness: 1px;
}

:where(a, button, input, .wp-element-button):focus-visible {
	outline: 2px solid var(--hv-blue);
	outline-offset: 3px;
}

.hv-eyebrow {
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0;
}

/* ---------- Wordmark ---------- */
.hv-wordmark {
	margin: 0;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: clamp(1.375rem, 1.1rem + 1vw, 1.75rem);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: 0.005em;
	white-space: nowrap;
}

.hv-wordmark a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-wordmark em {
	color: var(--hv-blue);
	font-style: italic;
}

/* ---------- Header (Hales-style: nav left, name centered, search right) ---------- */
.hv-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--hv-white);
	border-bottom: 1px solid var(--hv-line);
}

body.admin-bar .hv-site-header {
	top: 32px;
}

@media (max-width: 782px) {
	body.admin-bar .hv-site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	body.admin-bar .hv-site-header {
		top: 0;
	}
}

.hv-header__inner {
	display: grid !important;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 1rem;
	padding-top: 0.875rem;
	padding-bottom: 0.875rem;
}

.hv-header__inner > * {
	margin: 0 !important;
}

.hv-header__inner .hv-wordmark {
	grid-column: 2;
	text-align: center;
}

.hv-header__inner .wp-block-navigation {
	grid-column: 1;
	grid-row: 1;
	justify-self: start;
	font-size: 0.9375rem;
	font-weight: 500;
	letter-spacing: 0.04em;
	gap: 1.75rem;
}

.hv-header__inner .wp-block-navigation a {
	text-decoration: none;
	color: var(--hv-navy);
}

.hv-header__inner .wp-block-navigation a:hover,
.hv-header__inner .wp-block-navigation .current-menu-item > a {
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.4em;
}

.hv-header__inner .wp-block-search {
	grid-column: 3;
	grid-row: 1;
	justify-self: end;
}

.hv-header__inner .wp-block-search__button {
	background: transparent;
	color: var(--hv-navy);
	padding: 0.5rem;
	border: 0;
}

.hv-header__inner .wp-block-search__button svg {
	width: 1.375rem;
	height: 1.375rem;
	fill: currentColor;
}

.hv-header__inner .wp-block-search.wp-block-search__searchfield-hidden .wp-block-search__inside-wrapper {
	border: 0;
}

.hv-header__inner .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
	border: 1px solid var(--hv-line);
	border-radius: 4px;
	font-size: 1rem;
	min-width: 12rem;
}

/* Mobile overlay menu */
.hv-header__inner .wp-block-navigation__responsive-container-open {
	color: var(--hv-navy);
	padding: 0.25rem;
}

.hv-header__inner .wp-block-navigation__responsive-container-open svg {
	width: 1.75rem;
	height: 1.75rem;
}

.hv-header__inner .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--hv-white);
	color: var(--hv-navy);
	padding: 1.5rem 1.25rem;
}

.hv-header__inner .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 1.25rem;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 1.75rem;
	letter-spacing: 0;
}

@media (max-width: 599px) {
	.hv-header__inner {
		grid-template-columns: 2.75rem 1fr 2.75rem;
		gap: 0.5rem;
	}
	.hv-header__inner .hv-wordmark {
		font-size: 1.375rem;
	}
	/* While the search field is open, give it the full bar. */
	.hv-header__inner .wp-block-search:not(.wp-block-search__searchfield-hidden) {
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		right: 0;
		width: auto !important;
		padding: 0 1rem;
		display: flex;
		align-items: center;
		background: var(--hv-white);
		z-index: 2;
	}
	.hv-header__inner .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__inside-wrapper {
		width: 100% !important;
		max-width: none !important;
	}
	.hv-header__inner .wp-block-search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input {
		flex: 1 1 auto;
		min-width: 0;
	}
}

/* ---------- Sections ---------- */
.hv-section {
	padding-top: var(--hv-section) !important;
	padding-bottom: var(--hv-section) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

main.wp-block-group {
	margin-top: 0 !important;
}

main > .alignfull:first-child {
	margin-top: 0 !important;
}

.hv-divider {
	width: 2.5rem;
	height: 2px;
	border: 0;
	background: var(--hv-coral);
	margin: 0 !important;
	opacity: 1;
}

.hv-divider.is-centered {
	margin: 1.5rem auto 0 !important;
}

/* ---------- Article card grid ---------- */
.hv-card-grid .wp-block-post-template {
	display: grid !important;
	grid-template-columns: 1fr;
	gap: clamp(2.25rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 600px) {
	.hv-card-grid .wp-block-post-template {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.hv-card-grid .wp-block-post-template {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.hv-card-grid .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	margin: 0;
}

.hv-card-grid .wp-block-post > * {
	margin: 0 !important;
}

.hv-card-grid .wp-block-post-featured-image {
	overflow: hidden;
	border-radius: 8px;
	margin-bottom: 0.5rem !important;
}

.hv-card-grid .wp-block-post-featured-image img {
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	display: block;
}

.hv-card-grid .wp-block-post-title {
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.3;
}

.hv-card-grid .wp-block-post-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
}

.hv-card-grid .wp-block-post-excerpt__excerpt {
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hv-card-grid .wp-block-post-excerpt__more-text {
	display: none;
}

.hv-card-grid .wp-block-query-pagination {
	margin-top: 3rem;
	font-weight: 600;
}

/* ---------- Sky band and boxes ---------- */
.hv-signup-band {
	background: var(--hv-sky);
	color: var(--hv-navy);
}

.hv-signup-band h2,
.hv-signup-box h2 {
	margin: 0;
}

.hv-signup-band .hv-signup__inner {
	text-align: center;
}

.hv-signup-band .hv-signup__inner > * {
	margin-left: auto !important;
	margin-right: auto !important;
}

.hv-signup-band h2 {
	font-size: var(--wp--preset--font-size--xx-large);
}

.is-style-sky-box,
.hv-signup-box,
.hv-related {
	background: var(--hv-sky);
	color: var(--hv-navy);
	border-radius: var(--hv-radius);
	padding: 2rem !important;
}

.hv-signup-box > *,
.hv-related > * {
	margin-top: 0;
}

.hv-signup-box .hv-heart,
.hv-related h2 {
	margin-bottom: 0.25rem;
}

/* Kit form placeholder and Kit embed styling */
.hv-kit-form {
	max-width: 32rem;
	width: 100%;
	margin-top: 1.5rem !important;
}

.hv-kit-preview {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.hv-kit-preview label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.hv-kit-preview input[type="email"],
.hv-kit-form .formkit-input {
	flex: 1 1 14rem;
	min-height: 3.125rem;
	padding: 0.75rem 1rem !important;
	border: 1px solid var(--hv-navy) !important;
	border-radius: 4px !important;
	background: var(--hv-white) !important;
	color: var(--hv-navy) !important;
	font: inherit;
	font-size: 1rem !important;
}

.hv-kit-preview input::placeholder,
.hv-kit-form .formkit-input::placeholder {
	color: #4F5A80;
	opacity: 1;
}

.hv-kit-preview button,
.hv-kit-form .formkit-submit {
	flex: 0 0 auto;
	min-height: 3.125rem;
	padding: 0.75rem 1.5rem !important;
	border: 0 !important;
	border-radius: 4px !important;
	background: var(--hv-blue) !important;
	color: var(--hv-white) !important;
	font-family: var(--wp--preset--font-family--source-sans-3) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	cursor: pointer;
}

.hv-kit-preview button:hover,
.hv-kit-form .formkit-submit:hover {
	background: var(--hv-navy) !important;
}

.hv-kit-form .formkit-submit > span {
	padding: 0 !important;
	background: none !important;
}

.hv-signup-band .hv-kit-preview {
	justify-content: center;
}

.hv-fine-print {
	font-size: var(--wp--preset--font-size--small);
	margin-top: 0.75rem !important;
}

@media (max-width: 480px) {
	.hv-kit-preview button {
		width: 100%;
	}
}

/* ---------- Footer ---------- */
.hv-site-footer {
	background: var(--hv-navy);
	color: var(--hv-white);
	margin-top: 0 !important;
}

.hv-site-footer a {
	color: var(--hv-white);
	text-decoration: none;
}

.hv-site-footer a:hover,
.hv-site-footer a:focus {
	color: var(--hv-white);
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
}

.hv-site-footer :focus-visible {
	outline-color: var(--hv-butter);
}

.hv-site-footer .hv-wordmark a {
	color: var(--hv-white);
}

.hv-site-footer .hv-wordmark em {
	color: var(--hv-butter);
}

.hv-site-footer h2 {
	color: var(--hv-white);
	font-family: var(--wp--preset--font-family--source-sans-3);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	margin: 0 0 1rem;
}

.hv-footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.5rem;
}

.hv-site-footer .hv-divider {
	width: 100%;
	height: 1px;
	opacity: 0.6;
	margin: 3rem 0 2rem !important;
}

.hv-legal {
	font-size: 0.875rem;
	line-height: 1.6;
}

.hv-legal p {
	margin: 0 0 0.75rem;
}

/* ---------- Articles ---------- */
.hv-article-header {
	text-align: center;
}

.hv-article-header .wp-block-post-title {
	font-size: clamp(2.125rem, 1.6rem + 2.2vw, 3.25rem);
	line-height: 1.12;
	letter-spacing: -0.01em;
}

.hv-article-meta {
	font-size: var(--wp--preset--font-size--small);
	letter-spacing: 0.04em;
}

.hv-article-meta a {
	color: var(--hv-navy);
	text-decoration: none;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 0.8125rem;
}

.hv-article-body > .wp-block-post-content > * + h2 {
	margin-top: 3rem;
}

/* Bible verse: Lora italic, 3px blue left border, reference in small caps. */
.wp-block-quote.is-style-verse {
	border: 0;
	border-left: 3px solid var(--hv-blue);
	padding: 0.25rem 0 0.25rem 1.5rem;
	margin: 2.25rem 0 0.5rem;
	font-family: var(--wp--preset--font-family--lora);
	font-style: italic;
	font-size: var(--wp--preset--font-size--prayer);
	line-height: 1.6;
	color: var(--hv-navy);
}

.wp-block-quote.is-style-verse p {
	margin: 0;
}

.wp-block-quote.is-style-verse cite {
	display: block;
	margin-top: 0.625rem;
	font-family: var(--wp--preset--font-family--source-sans-3);
	font-style: normal;
	font-size: 1rem;
	font-weight: 600;
	font-variant-caps: all-small-caps;
	letter-spacing: 0.08em;
	color: var(--hv-blue);
}

.wp-block-quote.is-style-verse + p {
	margin-top: 0.5rem;
	padding-left: calc(1.5rem + 3px);
}

/* Pin slot */
.hv-pin h3 {
	margin-bottom: 1rem;
}

.hv-pin .wp-block-image {
	max-width: 420px;
	margin-left: auto;
	margin-right: auto;
}

.hv-pin .wp-block-image img {
	border-radius: 8px;
}

/* Related prayers */
.hv-related .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0;
}

.hv-related .wp-block-post {
	margin: 0;
	padding: 0.875rem 0;
	border-top: 1px solid rgba(36, 48, 94, 0.2);
}

.hv-related .wp-block-post:first-child {
	border-top: 0;
}

.hv-related .wp-block-post-title {
	font-size: 1.1875rem;
	font-weight: 500;
	margin: 0;
}

.hv-related .wp-block-post-title a {
	color: var(--hv-navy);
	text-decoration: underline;
	text-decoration-color: rgba(36, 48, 94, 0.35);
}

.hv-related .wp-block-post-title a:hover {
	text-decoration-color: var(--hv-navy);
}

/* ---------- Hub and cornerstone pages (hero-lite) ---------- */
.hv-hero-lite {
	text-align: center;
}

.hv-hero-lite :where(h1, .wp-block-post-title, .wp-block-query-title) {
	font-size: clamp(2.375rem, 1.6rem + 3.2vw, 4rem);
	line-height: 1.1;
	letter-spacing: -0.012em;
	margin: 0;
}

.hv-hero-lite .wp-block-post-content,
.hv-hero-lite .wp-block-term-description {
	font-size: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
}

.hv-hero-lite .wp-block-post-content > *,
.hv-hero-lite .wp-block-term-description > * {
	margin-left: auto;
	margin-right: auto;
}

.hv-page-body {
	text-align: left;
}

/* ---------- Magazine header: name left, menu beside it, search right ---------- */
@media (min-width: 600px) {
	.hv-header__inner {
		grid-template-columns: auto 1fr auto;
		gap: 2.5rem;
		padding-top: 0.625rem;
		padding-bottom: 0.625rem;
	}
	.hv-header__inner .hv-wordmark {
		grid-column: 1;
		text-align: left;
	}
	.hv-header__inner .wp-block-navigation {
		grid-column: 2;
		text-transform: uppercase;
		font-size: 0.8125rem;
		font-weight: 600;
		letter-spacing: 0.08em;
	}
}

/* ---------- Card details: category label and byline ---------- */
.hv-label {
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hv-label a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-label a:hover {
	text-decoration: underline;
}

.hv-label a:not(:first-child),
.hv-label .wp-block-post-terms__separator {
	display: none;
}

.hv-byline {
	font-size: 0.8125rem;
	line-height: 1.3;
}

.hv-byline::before {
	content: "By ";
}

.hv-byline a {
	color: var(--hv-navy);
	text-decoration: underline;
	text-decoration-color: rgba(36, 48, 94, 0.3);
}

.wp-block-post-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
}

.hv-section-title {
	font-size: clamp(1.625rem, 1.4rem + 0.8vw, 2rem) !important;
	margin-bottom: clamp(1.5rem, 2.5vw, 2.25rem) !important;
}

.hv-section-title a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-section-title a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
}

/* ---------- Tagline and lead story ---------- */
.hv-home-top {
	padding-top: clamp(1.5rem, 3vw, 2.5rem);
	padding-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.hv-tagline-row {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 0.25rem 2rem;
	margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
	padding-bottom: clamp(0.875rem, 1.5vw, 1.25rem);
	border-bottom: 1px solid var(--hv-line);
}

.hv-tagline-row > * {
	margin: 0 !important;
}

.hv-tagline-row h1 {
	font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem);
	line-height: 1.2;
}

.hv-tagline-row h1 em {
	color: var(--hv-blue);
	font-style: italic;
}

.hv-tagline-row p {
	font-size: 1rem;
	line-height: 1.5;
}

.hv-lead-grid,
.hv-moment-grid,
.hv-list-grid,
.hv-mission-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.25rem;
}

.hv-lead-grid > *,
.hv-moment-grid > *,
.hv-list-grid > *,
.hv-mission-grid > * {
	margin: 0 !important;
	min-width: 0;
}

.hv-lead .wp-block-post-template,
.hv-spotlight .wp-block-post-template,
.hv-thumb-list .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hv-lead .wp-block-post,
.hv-spotlight .wp-block-post {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	margin: 0;
}

.hv-lead .wp-block-post > *,
.hv-spotlight .wp-block-post > * {
	margin: 0 !important;
}

.hv-lead .wp-block-post-featured-image {
	margin-bottom: 0.375rem !important;
}

.hv-lead .wp-block-post-title {
	font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
	line-height: 1.15;
}

.hv-lead .wp-block-post-featured-image img,
.hv-spotlight .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.hv-lead .wp-block-post-excerpt__excerpt,
.hv-spotlight .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 1rem;
	line-height: 1.5;
}

.hv-lead .wp-block-post-excerpt__more-text,
.hv-spotlight .wp-block-post-excerpt__more-text {
	display: none;
}

/* ---------- Small thumbnail rows ---------- */
.hv-side-title {
	font-size: 1.375rem !important;
	font-weight: 500 !important;
	margin: 0 0 0.25rem !important;
}

.hv-thumb-list .wp-block-post {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 84px;
	column-gap: 1rem;
	row-gap: 0.25rem;
	align-content: start;
	margin: 0;
	padding: 1rem 0;
	border-top: 1px solid var(--hv-line);
}

.hv-thumb-list .wp-block-post:first-child {
	border-top: 0;
}

.hv-thumb-list .wp-block-post > * {
	grid-column: 1;
	margin: 0 !important;
}

.hv-thumb-list .wp-block-post-featured-image {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: start;
}

.hv-thumb-list .wp-block-post-featured-image img {
	display: block;
	width: 84px;
	height: 84px;
	object-fit: cover;
}

.hv-thumb-list .wp-block-post-title {
	font-size: 1.0625rem;
	font-weight: 500;
	line-height: 1.3;
}

.hv-thumb-list--large .wp-block-post {
	grid-template-columns: 110px minmax(0, 1fr);
}

.hv-thumb-list--large .wp-block-post > * {
	grid-column: 2;
}

.hv-thumb-list--large .wp-block-post-featured-image {
	grid-column: 1;
}

.hv-thumb-list--large .wp-block-post-featured-image img {
	width: 110px;
	height: 110px;
}

.hv-thumb-list--large .wp-block-post-title {
	font-size: 1.1875rem;
}

/* ---------- Spotlight and 2 x 2 ---------- */
.hv-spotlight {
	background: var(--hv-sky);
	padding: 1.25rem;
}

.hv-spotlight .wp-block-post-title {
	font-size: 1.5rem;
	line-height: 1.2;
}

.hv-spotlight .wp-block-post-featured-image {
	margin-bottom: 0.375rem !important;
}

/* ---------- Article cards ---------- */
.hv-card-grid .wp-block-post-featured-image {
	border-radius: 0;
}

.hv-card-grid .wp-block-post {
	gap: 0.375rem;
}

.hv-card-grid .wp-block-post-title {
	font-size: 1.1875rem;
	line-height: 1.28;
}

.hv-card-grid--two .wp-block-post-template {
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

@media (max-width: 599px) {
	.hv-card-grid--two .wp-block-post-template {
		column-gap: 1rem;
	}
	.hv-card-grid--two .wp-block-post-title {
		font-size: 1.0625rem;
	}
}

/* ---------- Full-width photo breaks ---------- */
.hv-photo-break {
	padding: 0 !important;
	align-items: flex-end !important;
	min-height: min(640px, 80vh) !important;
	margin: 0 !important;
}

.hv-photo-break .wp-block-cover__inner-container {
	padding: 0 clamp(1rem, 4vw, 2.5rem) clamp(1.25rem, 3vw, 2.5rem);
	box-sizing: border-box;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
}

.hv-photo-card {
	background: var(--hv-white);
	color: var(--hv-navy);
	padding: 1.25rem 1.5rem;
	max-width: 22rem;
	margin: 0 !important;
}

.hv-photo-card > * {
	margin: 0 0 0.375rem !important;
	color: var(--hv-navy);
}

.hv-photo-card > :last-child {
	margin-bottom: 0 !important;
}

.hv-photo-card h2 {
	font-size: 1.5rem;
	line-height: 1.2;
}

.hv-photo-card h2 a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-photo-card h2 a:hover {
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
}

.hv-photo-card p:not(.hv-eyebrow) {
	font-size: 0.9375rem;
	line-height: 1.45;
}

/* ---------- Sky band, mission, and team ---------- */
.hv-sky-band {
	background: var(--hv-sky);
}

.hv-sky-band .wp-block-post-title a,
.hv-sky-band .hv-byline a,
.hv-sky-band .hv-label a,
.hv-sky-band .hv-section-title a {
	color: var(--hv-navy);
}

.hv-sky-band .hv-thumb-list .wp-block-post {
	border-top-color: rgba(36, 48, 94, 0.2);
}

.hv-mission-box {
	border: 1px solid var(--hv-navy);
	padding: clamp(1.75rem, 3vw, 2.75rem);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hv-mission-box > * {
	margin: 0 0 0.75rem !important;
}

.hv-mission-box > :last-child {
	margin-bottom: 0 !important;
}

.hv-mission-box h2 {
	font-size: 1.75rem;
}

.hv-mission-box--sky {
	background: var(--hv-sky);
	border-color: var(--hv-sky);
}

.hv-mission-box--sky a {
	color: var(--hv-navy);
}

/* ---------- Start here sidebar ---------- */
.hv-start-here {
	border-top: 3px solid var(--hv-coral);
	padding-top: 1rem;
	align-self: start;
}

.hv-start-here > * {
	margin: 0 0 0.5rem !important;
}

.hv-start-here h3 {
	margin-top: 1.25rem !important;
	font-weight: 500;
}

.hv-start-here h3 a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-start-here p:not(.hv-eyebrow) {
	font-size: 0.9375rem;
	line-height: 1.5;
}

/* ---------- Homepage grids at wider screens ---------- */
@media (min-width: 782px) {
	.hv-lead-grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
		gap: 2.5rem;
	}
	.hv-lead-grid--flip {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	}
	.hv-moment-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
		gap: 2.5rem;
	}
	.hv-list-grid {
		grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr);
		gap: 3.5rem;
	}
	.hv-mission-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

/* ---------- Article header ---------- */
.hv-article-header {
	text-align: left;
}

.hv-article-header > * {
	margin-left: 0 !important;
}

.hv-article-dek .wp-block-post-excerpt__excerpt {
	margin: 0;
	font-size: 1.1875rem;
	line-height: 1.5;
}

.hv-article-dek .wp-block-post-excerpt__more-text {
	display: none;
}

.hv-article-byline {
	gap: 0.25rem 1rem;
	padding-top: 0.75rem;
	border-top: 1px solid var(--hv-line);
	font-size: 0.8125rem;
}

.hv-article-byline > * {
	margin: 0 !important;
}

.hv-updated::before {
	content: "Updated ";
}

.hv-article-photo {
	margin: 0 0 2rem !important;
}

.hv-article-photo img {
	display: block;
	width: 100%;
}

/* ---------- Key takeaways ---------- */
.is-style-key-takeaways {
	border: 1px solid var(--hv-navy);
	border-top: 3px solid var(--hv-coral);
	padding: 1.5rem 1.5rem 1.25rem !important;
	margin-bottom: 2.25rem !important;
}

.is-style-key-takeaways h2 {
	font-size: 1.375rem;
	margin: 0 0 0.75rem;
}

.is-style-key-takeaways ul {
	margin: 0;
	padding-left: 1.25rem;
}

.is-style-key-takeaways li {
	margin-bottom: 0.5rem;
	line-height: 1.5;
}

/* ---------- Expert box ---------- */
.is-style-expert-box {
	border-top: 1px solid var(--hv-navy);
	border-bottom: 1px solid var(--hv-navy);
	padding: 1.5rem 0 !important;
	margin-top: 2.5rem !important;
	margin-bottom: 2.5rem !important;
}

.is-style-expert-box > * {
	margin: 0 0 0.75rem !important;
}

.is-style-expert-box > :last-child {
	margin-bottom: 0 !important;
}

.hv-expert-quote {
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 1.375rem;
	line-height: 1.4;
}

.hv-expert-name {
	font-size: 0.9375rem;
	line-height: 1.45;
}

/* ---------- No motion for readers who turn it off ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		scroll-behavior: auto !important;
	}
}

/* ---------- Layout fixes ---------- */
.hv-signup-box .hv-kit-form {
	margin-left: 0 !important;
	margin-right: auto !important;
}

.hv-site-footer .hv-divider {
	margin: 3rem auto 2rem !important;
}

.hv-article-photo img {
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

/* On phones, keep photos and color alternating instead of two photos in a row. */
@media (max-width: 781px) {
	.wp-block-columns.hv-feature-split--flip > .hv-feature-photo {
		order: -1;
	}
}

/* Family feature: half photo, half navy panel, so the faces show smaller. */
.wp-block-columns.hv-feature-split {
	gap: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	flex-wrap: wrap !important;
	align-items: stretch !important;
}

.wp-block-columns.hv-feature-split > .wp-block-column {
	flex: 1 1 100% !important;
	min-width: 0;
	margin: 0 !important;
	box-sizing: border-box;
}

.hv-feature-photo .wp-block-image {
	margin: 0;
	height: 100%;
}

.hv-feature-photo img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 560px;
	object-fit: cover;
	object-position: 50% 45%;
}

.hv-feature-split .hv-feature-text {
	align-self: stretch !important;
	display: flex;
	flex-direction: column;
	justify-content: center;
	background: var(--hv-navy);
	color: var(--hv-white);
	padding: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 4vw, 4.5rem) !important;
}

.hv-feature-text > * {
	max-width: 30rem;
	margin: 0 0 0.75rem !important;
	color: var(--hv-white);
}

.hv-feature-text > :last-child {
	margin-bottom: 0 !important;
}

.hv-feature-text h2 {
	font-size: var(--wp--preset--font-size--xx-large);
}

.hv-feature-text a {
	color: var(--hv-white);
}

.hv-feature-text h2 a {
	text-decoration: none;
}

.hv-feature-text a:hover,
.hv-feature-text a:focus {
	color: var(--hv-white);
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
}

.hv-feature-text :focus-visible {
	outline-color: var(--hv-butter);
}

@media (min-width: 782px) {
	.wp-block-columns.hv-feature-split {
		flex-wrap: nowrap !important;
	}
	.wp-block-columns.hv-feature-split > .wp-block-column {
		flex: 0 0 50% !important;
	}
}

/* Wide screens crop these photos top and bottom, so keep the people's heads in frame. */
.hv-photo-break .wp-block-cover__image-background {
	object-position: 50% 12% !important;
}

/* ---------- Full-width signup band under the lead story ---------- */
.hv-signup-wide {
	background: var(--hv-sky);
	color: var(--hv-navy);
	padding-top: clamp(1.75rem, 3vw, 2.5rem) !important;
	padding-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
	margin: 0 !important;
}

.hv-signup-wide__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
	align-items: center;
}

.hv-signup-wide__inner > * {
	margin: 0 !important;
	min-width: 0;
}

.hv-signup-wide__text > * {
	margin: 0 !important;
}

.hv-signup-wide h2 {
	font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem);
	margin-bottom: 0.375rem !important;
}

.hv-signup-wide__text p {
	font-size: 1rem;
	line-height: 1.5;
}

.hv-signup-wide .hv-kit-form {
	max-width: none;
	margin: 0 !important;
}

.hv-signup-wide .hv-fine-print {
	margin: 0.5rem 0 0 !important;
	font-size: 0.8125rem;
	line-height: 1.4;
}

@media (min-width: 900px) {
	.hv-signup-wide__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 3rem;
	}
}

.hv-home-top {
	padding-bottom: clamp(1.75rem, 3vw, 2.5rem) !important;
}

/* ---------- Strength feature: sky panel beside the greenhouse photo ---------- */
.hv-feature-split .hv-feature-text--sky {
	background: var(--hv-sky);
	color: var(--hv-navy);
}

.hv-feature-text--sky > *,
.hv-feature-text--sky a,
.hv-feature-text--sky a:hover,
.hv-feature-text--sky a:focus {
	color: var(--hv-navy);
}

.hv-feature-text--sky :focus-visible {
	outline-color: var(--hv-blue);
}

.hv-feature-split--flip .hv-feature-photo img {
	object-position: 55% 35%;
}

/* ---------- One spacing rule for the whole homepage ---------- */
/* Every gap between sections is --hv-section. Two plain sections in a row share one gap. */
.hv-section + .hv-section {
	padding-top: 0 !important;
}

.hv-home-top {
	padding-bottom: var(--hv-section) !important;
}

/* ---------- Readable small text: nothing under 14px, tap targets at least 24px ---------- */
.hv-label,
.hv-eyebrow,
.hv-site-footer h2 {
	font-size: 0.875rem !important;
	letter-spacing: 0.08em;
}

.hv-byline,
.hv-article-byline,
.hv-signup-wide .hv-fine-print,
.hv-fine-print,
.hv-legal {
	font-size: 0.875rem !important;
}

@media (min-width: 600px) {
	.hv-header__inner .wp-block-navigation {
		font-size: 1rem;
	}
}

.hv-label a,
.hv-byline a,
.hv-footer-links a {
	display: inline-block;
	min-height: 24px;
	line-height: 24px;
}

.wp-block-post-title a {
	display: inline-block;
	min-height: 24px;
}

.hv-header__inner .wp-block-navigation a {
	min-height: 24px;
	display: inline-flex;
	align-items: center;
}

.hv-start-here > :last-child {
	margin-bottom: 0 !important;
}

.hv-tagline-row a {
	display: inline-block;
	min-height: 24px;
	line-height: 24px;
}
/* ---------- Topic icons row ---------- */
.hv-topics__row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem clamp(0.5rem, 3vw, 3rem);
}

.hv-topic {
	position: relative;
	width: clamp(96px, 27vw, 140px);
	text-align: center;
	margin: 0 !important;
}

.hv-topic > * {
	margin: 0 !important;
}

.hv-topic img {
	display: block;
	width: 100%;
	height: auto;
}

.hv-topic p {
	margin-top: 0.5rem !important;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.3;
}

.hv-topic a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-topic a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.hv-topic:hover a,
.hv-topic a:focus {
	text-decoration: underline;
	text-decoration-color: var(--hv-coral);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.2em;
}
/* The lead story and the icon row share one gap. */
.hv-home-top + .hv-topics {
	padding-top: 0 !important;
}

/* All nine topic icons fit on one line on desktop. */
@media (min-width: 1100px) {
	.hv-topics__row {
		flex-wrap: nowrap;
		column-gap: 1.25rem;
	}
	.hv-topic {
		width: 112px;
		flex: 0 1 112px;
		min-width: 0;
	}
	.hv-topic p {
		font-size: 1rem;
	}
}
/* ---------- Article blocks: prayer card, printable, question box, FAQ ---------- */
.hv-prayer {
	background: var(--hv-white);
	border: 8px solid var(--hv-sky);
	outline: 1px solid var(--hv-navy);
	outline-offset: -14px;
	border-radius: 4px;
	padding: 36px 32px;
	margin-top: 3em;
	margin-bottom: 3em;
}

.hv-prayer + .hv-prayer {
	margin-top: 1.75em;
}

.hv-prayer > :first-child,
.hv-printable > :first-child {
	margin-top: 0;
}

.hv-prayer > :last-child,
.hv-printable > :last-child {
	margin-bottom: 0;
}

.hv-prayer h3 {
	color: var(--hv-navy);
	font-family: var(--wp--preset--font-family--playfair-display);
	font-weight: 700;
	text-align: center;
}

.hv-prayer blockquote {
	border-left: 3px solid var(--hv-coral);
	padding-left: 18px;
}

.hv-printable {
	background: var(--hv-navy);
	color: var(--hv-white);
	border-radius: var(--hv-radius);
	padding: 36px 32px;
	margin-top: 3em;
	margin-bottom: 3em;
	text-align: center;
}

.hv-printable h2 {
	color: var(--hv-white);
	font-family: var(--wp--preset--font-family--playfair-display);
}

.is-style-hv-question {
	position: relative;
	background: var(--hv-sky-pale);
	border-radius: var(--hv-radius);
	padding: 34px 24px 24px;
	margin: 3.5em 0 2.5em;
}

.is-style-hv-question::before {
	content: "?";
	position: absolute;
	top: -25px;
	left: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 55px;
	height: 55px;
	border-radius: 50%;
	background: var(--hv-sky-pale);
	color: var(--hv-navy);
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 26px;
	font-weight: 700;
}

.is-style-hv-question > h2 {
	margin-top: 0;
}

.is-style-hv-question .hv-answer {
	border-left: 3px solid var(--hv-coral);
	background: none;
	padding: 4px 0 4px 16px;
	margin: 0 0 1.4em;
	font-style: italic;
	font-size: 1em;
}

.is-style-hv-question .hv-answer p {
	margin: 0;
}

.wp-block-yoast-faq-block .schema-faq-section {
	background: var(--hv-sky);
	border-radius: 8px;
	margin: 0 0 14px;
	overflow: hidden;
}

.wp-block-yoast-faq-block .schema-faq-question {
	display: block;
	cursor: pointer;
	padding: 18px 20px;
	color: var(--hv-navy);
	font-weight: 700;
	font-size: 18px;
	line-height: 1.35;
}

.wp-block-yoast-faq-block .schema-faq-question::before {
	content: "+";
	color: var(--hv-coral);
	font-weight: 700;
	display: inline-block;
	width: 18px;
	margin-right: 8px;
}

.wp-block-yoast-faq-block .schema-faq-section.is-open .schema-faq-question::before {
	content: "\2212";
}

.wp-block-yoast-faq-block .schema-faq-answer {
	display: none;
	margin: 0;
	padding: 0 20px 18px 46px;
	color: var(--hv-navy);
}

.wp-block-yoast-faq-block .schema-faq-section.is-open .schema-faq-answer {
	display: block;
}

@media (max-width: 600px) {
	.hv-prayer {
		border-width: 6px;
		outline-offset: -11px;
		padding: 28px 20px;
	}
	.hv-printable {
		padding: 28px 20px;
	}
	.is-style-hv-question {
		padding: 32px 16px 20px;
	}
}

/* ---------- Article sidebar ---------- */
/* The 92px offsets below clear the 68px sticky header plus 24px of space. */
.wp-block-group.hv-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 720px) 320px;
	justify-content: space-between;
	column-gap: 48px;
}

.hv-article-layout > * {
	margin-block-start: 0;
}

.hv-article {
	min-width: 0;
}

.hv-sidebar {
	display: flex;
	flex-direction: column;
	gap: 32px;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--hv-navy);
}

.hv-sidebar > * {
	margin: 0;
}

.hv-sidebar p {
	margin: 0;
}

.hv-sidebar a {
	color: var(--hv-navy);
}

.hv-sb-heading,
.hv-toc summary {
	font-family: var(--wp--preset--font-family--playfair-display);
	font-weight: 700;
	font-size: 1.5rem;
	line-height: 1.25;
	letter-spacing: 0;
	color: var(--hv-navy);
}

.hv-sidebar .hv-sb-heading {
	margin: 0 0 14px;
}

.hv-sb-about {
	background: var(--hv-sky-pale);
	border-radius: var(--hv-radius);
	padding: 24px;
}

.hv-sb-links {
	list-style: none;
	margin: 14px 0 0;
	padding: 0;
}

.hv-sb-links li {
	margin: 6px 0 0;
}

.hv-sb-links a {
	font-weight: 600;
	text-decoration-color: var(--hv-coral);
}

.hv-sb-search .wp-block-search__inside-wrapper {
	border: 0;
	padding: 0;
	gap: 8px;
}

.hv-sb-search .wp-block-search__input {
	min-width: 0;
	border: 1px solid var(--hv-sky);
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 1rem;
	color: var(--hv-navy);
}

.hv-sb-search .wp-block-search__button {
	margin: 0;
	background: var(--hv-navy);
	color: var(--hv-white);
	border: 0;
	border-radius: 8px;
	padding: 10px 14px;
	font-size: 1rem;
	font-weight: 600;
}

.hv-sb-topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px 12px;
}

.hv-sidebar a.hv-sb-topic {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-align: center;
	text-decoration: none;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 1rem;
	line-height: 1.25;
}

.hv-sb-topic img {
	width: 56px;
	height: 56px;
	object-fit: contain;
}

.hv-sidebar a.hv-sb-topic:hover span,
.hv-sidebar a.hv-sb-topic:focus-visible span {
	text-decoration: underline;
}

.hv-sb-latest:not(:has(.wp-block-post)) {
	display: none;
}

.hv-sb-latest .wp-block-post-template {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hv-sb-latest .wp-block-post {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr);
	column-gap: 14px;
	align-items: start;
	margin: 0 0 16px;
}

.hv-sb-latest .wp-block-post-featured-image {
	margin: 0;
}

.hv-sb-latest .wp-block-post-featured-image img {
	width: 84px !important;
	height: 84px !important;
	aspect-ratio: 1 !important;
	object-fit: cover;
	border-radius: 8px;
}

.hv-sb-latest .wp-block-post-title {
	margin: 0;
	font-family: inherit;
	font-size: 1.0625rem;
	font-weight: 600;
	line-height: 1.35;
	letter-spacing: 0;
}

.hv-sb-latest .wp-block-post-title a {
	text-decoration: none;
}

.hv-sb-latest .wp-block-post-title a:hover {
	text-decoration: underline;
}

.hv-sb-sticky {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 92px);
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.hv-toc[hidden],
.hv-sb-printable[hidden] {
	display: none;
}

.hv-toc summary {
	list-style: none;
	margin: 0 0 12px;
}

.hv-toc summary::-webkit-details-marker {
	display: none;
}

.hv-toc ol {
	list-style: none;
	position: relative;
	margin: 0;
	padding: 0;
	border-left: 2px solid var(--hv-sky);
	max-height: calc(100vh - 440px);
	min-height: 160px;
	overflow-y: auto;
}

.hv-toc li {
	margin: 0;
}

.hv-toc a {
	display: block;
	margin-left: -2px;
	border-left: 2px solid transparent;
	padding: 6px 0 6px 14px;
	font-size: 1rem;
	line-height: 1.35;
	text-decoration: none;
	color: var(--hv-navy);
}

.hv-toc a:hover {
	text-decoration: underline;
}

.hv-toc a[aria-current] {
	border-left-color: var(--hv-coral);
	font-weight: 700;
}

.hv-sb-printable {
	background: var(--hv-navy);
	color: var(--hv-white);
	border-radius: var(--hv-radius);
	padding: 20px;
	text-align: center;
}

.hv-sidebar .hv-sb-printable-label {
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--hv-sky);
}

.hv-sidebar .hv-sb-printable-title {
	margin: 4px 0 12px;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-weight: 700;
	font-size: 1.3125rem;
	line-height: 1.3;
}

.hv-sidebar .hv-sb-printable a {
	display: inline-block;
	background: var(--hv-white);
	color: var(--hv-navy);
	border-radius: 8px;
	padding: 8px 16px;
	font-size: 1rem;
	font-weight: 700;
	text-decoration: none;
}

.wp-block-post-content h2,
.hv-printable {
	scroll-margin-top: calc(var(--wp-admin--admin-bar--height, 0px) + 92px);
}

/* Phones and small tablets: sidebar under the article, contents list above it. */
@media (max-width: 999px) {
	.wp-block-group.hv-article-layout {
		display: block;
	}
	.hv-sidebar {
		margin-top: 3rem;
		padding-top: 2rem;
		border-top: 1px solid var(--hv-line);
	}
	.hv-sb-sticky {
		position: static;
	}
	.hv-article .hv-toc {
		background: var(--hv-sky-pale);
		border-radius: var(--hv-radius);
		padding: 14px 18px;
		margin: 0 0 1.5em;
		font-size: 1.125rem;
		color: var(--hv-navy);
	}
	.hv-article .hv-toc summary {
		margin: 0;
		cursor: pointer;
		font-size: 1.25rem;
		list-style: revert;
	}
	.hv-article .hv-toc ol {
		margin-top: 10px;
		max-height: none;
		min-height: 0;
		overflow: visible;
	}
}

/* ---------- Article sections: hatched border, plain prayers, verse rows, pins ---------- */
.hv-hatch {
	padding: 18px;
	background: repeating-linear-gradient(135deg, var(--hv-sky) 0 1px, var(--hv-white) 1px 5px);
	margin-top: 3rem !important;
	margin-bottom: 3rem !important;
}

.hv-hatch__inner {
	background: var(--hv-white);
	padding: 2rem;
	margin: 0 !important;
}

.hv-hatch__inner > :first-child {
	margin-top: 0 !important;
}

.hv-hatch__inner > :last-child {
	margin-bottom: 0 !important;
}

.hv-prayer-item {
	border-top: 1px solid var(--hv-line);
	padding-top: 1.75rem;
	margin-top: 1.75rem !important;
}

.hv-prayer-item h3 {
	margin: 0 0 0.75rem;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: var(--wp--preset--font-size--large);
	color: var(--hv-navy);
}

.hv-prayer-item .wp-block-quote,
.hv-verse-row .wp-block-quote {
	border: 0;
	padding: 0;
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--lora);
	font-style: normal;
	font-size: 1.125rem;
	line-height: 1.65;
	color: var(--hv-navy);
}

.hv-prayer-item .wp-block-quote p,
.hv-verse-row .wp-block-quote p {
	margin: 0;
}

.hv-verse-row {
	display: grid;
	grid-template-columns: 132px minmax(0, 1fr);
	gap: 1.5rem;
	align-items: start;
	margin-top: 2.25rem !important;
	margin-bottom: 2.25rem !important;
}

.hv-verse-ref {
	margin: 0 !important;
	text-align: center;
}

.hv-verse-num {
	display: block;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 2.5rem;
	font-weight: 500;
	line-height: 1.05;
}

.hv-verse-book {
	display: block;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 1.3;
	text-transform: uppercase;
}

.hv-verse-row__text {
	min-width: 0;
	margin: 0 !important;
}

.hv-verse-row__text > p {
	margin: 0.625rem 0 0 !important;
	font-size: 1.125rem;
	line-height: 1.6667;
}

.hv-article-pin {
	max-width: 340px;
	margin: 3rem auto !important;
}

.hv-article-pin img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

@media (max-width: 600px) {
	.hv-hatch {
		padding: 12px;
	}
	.hv-hatch__inner {
		padding: 1.25rem;
	}
	.hv-verse-row {
		grid-template-columns: minmax(0, 1fr);
		gap: 0.75rem;
	}
	.hv-verse-ref {
		text-align: left;
	}
}

/* ---------- Jump links ---------- */
.hv-jump__title {
	margin: 0 0 1rem !important;
	font-family: var(--wp--preset--font-family--playfair-display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--hv-navy);
}

.hv-jump-list {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 2rem;
	margin: 0 !important;
	padding: 0;
}

.hv-jump-list li {
	margin: 0;
	border-top: 1px solid var(--hv-line);
}

.hv-jump-list a {
	display: block;
	padding: 0.8125rem 0;
	font-weight: 600;
	line-height: 1.35;
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-jump-list a:hover,
.hv-jump-list a:focus-visible {
	text-decoration: underline;
}

@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

@media (max-width: 600px) {
	.hv-jump-list {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ---------- Text sizes: reading text 18px, supporting text 16px, labels and fine print 14px ---------- */
.hv-sidebar .hv-sb-printable-label {
	font-size: 0.875rem !important;
}

.hv-article-byline,
.hv-article-byline a,
.hv-article-meta,
.hv-article-meta a,
.hv-published,
.hv-disclosure,
.hv-disclosure p,
.hv-photo-card p:not(.hv-eyebrow),
.hv-start-here p:not(.hv-eyebrow),
.hv-expert-name {
	font-size: 1rem !important;
}

/* ---------- What's Next carousel ---------- */
.hv-next {
	margin-top: clamp(3rem, 5vw, 4rem);
}

.hv-next h2 {
	margin-bottom: 1.5rem;
}

.hv-next .wp-block-post-template {
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.hv-next .wp-block-post-template::-webkit-scrollbar {
	display: none;
}

.hv-next .wp-block-post {
	flex: 0 0 calc((100% - 2.5rem) / 3);
	min-width: 0;
	margin: 0;
	scroll-snap-align: start;
}

.hv-next .wp-block-post-featured-image {
	margin: 0;
}

.hv-next .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3 !important;
	object-fit: cover;
}

.hv-next .wp-block-post-title {
	margin: 0.75rem 0 0;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.3;
}

.hv-next .wp-block-post-title a {
	color: var(--hv-navy);
	text-decoration: none;
}

.hv-next .wp-block-post-title a:hover {
	text-decoration: underline;
}

.hv-next__nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 1.25rem;
}

.hv-next__nav[hidden] {
	display: none;
}

.hv-next__arrow {
	width: 2.5rem;
	height: 2.5rem;
	padding: 0;
	border: 1px solid var(--hv-navy);
	border-radius: 50%;
	background: transparent;
	color: var(--hv-navy);
	font-size: 1.125rem;
	line-height: 1;
	cursor: pointer;
}

.hv-next__arrow:hover:not(:disabled) {
	background: var(--hv-navy);
	color: #fff;
}

.hv-next__arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

.hv-next__dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

.hv-next__dot {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.hv-next__dot::before {
	content: "";
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: rgba(36, 48, 94, 0.3);
}

.hv-next__dot[aria-current]::before {
	background: var(--hv-navy);
}

@media (max-width: 600px) {
	.hv-next .wp-block-post {
		flex-basis: 62%;
	}
}

/* ---------- Comments (no avatars, so commenters' emails never go to Gravatar) ---------- */
.hv-comments {
	margin-top: clamp(3rem, 5vw, 4rem);
}

.hv-comments .wp-block-comment-template {
	margin: 1.5rem 0 2.5rem;
	padding: 0;
	list-style: none;
}

.hv-comments .wp-block-comment-template ol {
	margin: 0;
	padding-left: 1.25rem;
	list-style: none;
}

.hv-comment {
	padding: 1.25rem 0;
	border-top: 1px solid rgba(36, 48, 94, 0.2);
}

.hv-comment__meta {
	gap: 0.25rem 0.75rem;
	align-items: baseline;
}

.hv-comment .wp-block-comment-author-name {
	font-weight: 600;
}

.hv-comment .wp-block-comment-date,
.hv-comment .wp-block-comment-reply-link {
	font-size: 1rem;
}

.hv-comment .wp-block-comment-content p {
	margin: 0.5rem 0;
}

.hv-comments .comment-reply-title {
	margin: 0 0 0.75rem;
	font-size: var(--wp--preset--font-size--x-large);
}

.hv-comment-invite {
	margin: 0 0 1.25rem;
}

.hv-comments .comment-form label {
	display: block;
	margin-bottom: 0.25rem;
	font-weight: 600;
}

.hv-comments .comment-form input[type="text"],
.hv-comments .comment-form input[type="email"],
.hv-comments .comment-form textarea {
	box-sizing: border-box;
	width: 100%;
	padding: 0.75rem;
	border: 1px solid rgba(36, 48, 94, 0.5);
	border-radius: 8px;
	background: #fff;
	color: var(--hv-navy);
	font: inherit;
}

.hv-comments .comment-form-cookies-consent,
.hv-comments .comment-subscription-form {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
	margin: 0.5rem 0;
}

.hv-comments .comment-form-cookies-consent label,
.hv-comments .comment-subscription-form label {
	margin: 0;
	font-size: 1rem;
	font-weight: 400;
}

.hv-comments .form-submit input[type="submit"] {
	padding: 0.75rem 1.5rem;
	border: 0;
	border-radius: 8px;
	background: var(--hv-navy);
	color: #fff;
	font: inherit;
	font-weight: 600;
	cursor: pointer;
}

/* ---------- Upper journal card and comment form: same text size rules as everything else ---------- */
body .wp-block-group.hv-journal-card .hv-card-text {
	font-size: 1rem !important;
	line-height: 1.5 !important;
}

body .wp-block-group.hv-journal-card .hv-kit-form .formkit-input,
body .wp-block-group.hv-journal-card .hv-kit-form .formkit-submit,
body .wp-block-group.hv-journal-card .hv-kit-form .formkit-submit span {
	font-size: 1rem !important;
}

body .wp-block-group.hv-journal-card .hv-privacy-note {
	font-size: 0.875rem !important;
	line-height: 1.45 !important;
}

.hv-comments .comment-form label {
	font-size: 1rem;
}

/* Show the whole journal image however tall the card gets, instead of zooming to fill it */
body .hv-journal-card::before {
	background-size: contain !important;
	background-position: center bottom !important;
}

/* ---------- Numbered steps: butter circle behind the number ---------- */
.hv-step {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.hv-step__num {
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 50%;
	background: #F8E9A1;
	color: var(--hv-navy);
	font-size: 1.125rem;
	font-weight: 600;
	font-variant-numeric: lining-nums;
	line-height: 1;
}

/* Editor only: the canvas is far wider than the article, so the card's 40% side padding squeezed its text to one letter per line. Stack it there instead. */
.wp-block-group.hv-journal-card.block-editor-block-list__block {
	padding: calc(210px + 1.25rem) 1.25rem 1.25rem !important;
}

.wp-block-group.hv-journal-card.block-editor-block-list__block::before {
	width: 100%;
	height: 210px;
	bottom: auto;
}

/* ---------- Article top: title, sentence, byline, photo, then the affiliate note ---------- */
.hv-published::before {
	content: "Published on ";
}

.hv-article-byline .hv-byline {
	font-size: 1rem !important;
}

.hv-article-byline .hv-updated,
.hv-article-byline .hv-published {
	padding-left: 1rem;
	border-left: 1px solid var(--hv-line);
}

.hv-article-photo:has(+ .wp-block-template-part) {
	margin-bottom: 0.75rem !important;
}

.hv-article > .wp-block-template-part {
	margin-top: 0;
	margin-bottom: 1.5rem;
}

/* Source links fill each line instead of dropping to a new line at the question mark */
.wp-block-details ol a {
	word-break: break-all;
}

/* Big verse number links to the verse, with a soft underline on hover */
.hv-verse-ref a {
	display: inline-block;
	color: inherit;
	text-decoration: none;
}

.hv-verse-ref a:hover .hv-verse-num,
.hv-verse-ref a:focus-visible .hv-verse-num {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}
