/*
Theme Name: New Home Church
Theme URI: https://nhccanton.org
Author: Berenson Mansfield
Author URI: https://berensonmansfield.com
Description: A warm, accessible WordPress theme built for New Home Church of North Canton, Ohio. Includes a home page, about page, photo gallery, prayer request form and contact page, with service times, address and YouTube link editable in the Customizer. No page builder or plugins required.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-home-church
Tags: church, nonprofit, one-column, custom-menu, custom-logo, featured-images, accessibility-ready
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--nhc-navy: #0e4562;
	--nhc-navy-deep: #082f44;
	--nhc-navy-soft: #16587c;
	--nhc-blue: #2a6e99;
	--nhc-teal: #03999d;
	--nhc-teal-dark: #027a7d;
	--nhc-gold: #d99a2b;

	--nhc-ink: #17262f;
	--nhc-body: #39505d;
	--nhc-muted: #647985;
	--nhc-line: #dde6ec;
	--nhc-cream: #f4f7f9;
	--nhc-white: #ffffff;

	--nhc-font-head: "Oswald", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
	--nhc-font-body: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

	--nhc-wrap: 1160px;
	--nhc-wrap-narrow: 820px;
	--nhc-gutter: 24px;
	--nhc-radius: 14px;
	--nhc-radius-sm: 8px;

	--nhc-shadow: 0 2px 6px rgba(8, 47, 68, .06), 0 12px 32px rgba(8, 47, 68, .09);
	--nhc-shadow-sm: 0 1px 2px rgba(8, 47, 68, .06), 0 4px 14px rgba(8, 47, 68, .07);
}

/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--nhc-white);
	color: var(--nhc-body);
	font-family: var(--nhc-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--nhc-blue);
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--nhc-navy);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--nhc-font-head);
	color: var(--nhc-navy);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: .005em;
	margin: 0 0 .5em;
}

h1 { font-size: clamp(2.1rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.25em; }

blockquote {
	margin: 1.5em 0;
	padding: .25em 0 .25em 1.25em;
	border-left: 4px solid var(--nhc-teal);
	font-size: 1.15rem;
	font-style: italic;
	color: var(--nhc-navy);
}

blockquote cite {
	display: block;
	margin-top: .5em;
	font-size: .95rem;
	font-style: normal;
	color: var(--nhc-muted);
}

:focus-visible {
	outline: 3px solid var(--nhc-teal);
	outline-offset: 2px;
	border-radius: 2px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--nhc-navy);
	color: #fff;
	padding: 12px 20px;
	border-radius: 0 0 var(--nhc-radius-sm) 0;
}

.skip-link:focus {
	left: 0;
	color: #fff;
}

/* ==========================================================================
   3. Layout helpers
   ========================================================================== */

.nhc-wrap {
	width: 100%;
	max-width: var(--nhc-wrap);
	margin-inline: auto;
	padding-inline: var(--nhc-gutter);
}

.nhc-wrap--narrow {
	max-width: var(--nhc-wrap-narrow);
}

.nhc-section {
	padding-block: clamp(48px, 7vw, 86px);
}

.nhc-section--tight {
	padding-block: clamp(36px, 5vw, 58px);
}

.nhc-section--cream { background: var(--nhc-cream); }
.nhc-section--navy  { background: var(--nhc-navy); color: #dce8ef; }
.nhc-section--navy h2,
.nhc-section--navy h3 { color: #fff; }
.nhc-section--navy a { color: #9fd9db; }

.nhc-section-head {
	max-width: 720px;
	margin: 0 auto clamp(28px, 4vw, 48px);
	text-align: center;
}

.nhc-section-head p {
	font-size: 1.1rem;
	color: var(--nhc-muted);
}

.nhc-section--navy .nhc-section-head p { color: #b6cdd9; }

.nhc-eyebrow {
	display: block;
	font-family: var(--nhc-font-head);
	font-size: .85rem;
	font-weight: 500;
	letter-spacing: .18em;
	text-transform: uppercase;
	color: var(--nhc-teal);
	margin-bottom: .6em;
}

.nhc-section--navy .nhc-eyebrow { color: #52c6c9; }

.nhc-grid {
	display: grid;
	gap: clamp(20px, 3vw, 32px);
}

.nhc-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.nhc-grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.nhc-grid--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.nhc-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: .55em;
	font-family: var(--nhc-font-head);
	font-size: 1rem;
	font-weight: 500;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 14px 28px;
	border: 2px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.nhc-btn svg {
	width: 1.15em;
	height: 1.15em;
	flex: none;
}

.nhc-btn:hover,
.nhc-btn:focus-visible {
	transform: translateY(-1px);
}

.nhc-btn--primary {
	background: var(--nhc-teal);
	border-color: var(--nhc-teal);
	color: #fff;
}

.nhc-btn--primary:hover,
.nhc-btn--primary:focus-visible {
	background: var(--nhc-teal-dark);
	border-color: var(--nhc-teal-dark);
	color: #fff;
}

.nhc-btn--solid {
	background: var(--nhc-navy);
	border-color: var(--nhc-navy);
	color: #fff;
}

.nhc-btn--solid:hover,
.nhc-btn--solid:focus-visible {
	background: var(--nhc-navy-deep);
	border-color: var(--nhc-navy-deep);
	color: #fff;
}

.nhc-btn--ghost {
	background: transparent;
	border-color: rgba(255, 255, 255, .7);
	color: #fff;
}

.nhc-btn--ghost:hover,
.nhc-btn--ghost:focus-visible {
	background: #fff;
	border-color: #fff;
	color: var(--nhc-navy);
}

.nhc-btn--outline {
	background: transparent;
	border-color: var(--nhc-navy);
	color: var(--nhc-navy);
}

.nhc-btn--outline:hover,
.nhc-btn--outline:focus-visible {
	background: var(--nhc-navy);
	color: #fff;
}

.nhc-btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

/* ==========================================================================
   5. Header
   ========================================================================== */

.nhc-topbar {
	background: var(--nhc-navy);
	color: #cfe2ec;
	font-size: .92rem;
}

.nhc-topbar .nhc-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 26px;
	align-items: center;
	justify-content: center;
	padding-block: 9px;
	text-align: center;
}

.nhc-topbar span {
	display: inline-flex;
	align-items: center;
	gap: .45em;
}

.nhc-topbar a {
	color: #cfe2ec;
	text-decoration: none;
}

.nhc-topbar a:hover,
.nhc-topbar a:focus { color: #fff; text-decoration: underline; }

.nhc-topbar svg {
	width: 15px;
	height: 15px;
	flex: none;
	opacity: .85;
}

.nhc-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: rgba(255, 255, 255, .97);
	backdrop-filter: saturate(140%) blur(6px);
	border-bottom: 1px solid var(--nhc-line);
}

.nhc-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 12px;
}

.nhc-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	flex: none;
}

.nhc-brand img {
	height: 62px;
	width: auto;
}

.nhc-brand__text {
	font-family: var(--nhc-font-head);
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--nhc-navy);
	line-height: 1.1;
}

.nhc-brand__text small {
	display: block;
	font-size: .62rem;
	letter-spacing: .22em;
	color: var(--nhc-teal);
	font-weight: 400;
}

.nhc-nav-toggle {
	display: none;
	align-items: center;
	gap: .5em;
	background: var(--nhc-navy);
	color: #fff;
	border: 0;
	border-radius: 999px;
	padding: 10px 18px;
	font-family: var(--nhc-font-head);
	font-size: .95rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}

.nhc-nav-toggle svg { width: 18px; height: 18px; }

.nhc-nav ul {
	list-style: none;
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
}

.nhc-nav a {
	display: block;
	font-family: var(--nhc-font-head);
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--nhc-navy);
	text-decoration: none;
	padding: 10px 14px;
	border-radius: var(--nhc-radius-sm);
	transition: background-color .18s ease, color .18s ease;
}

.nhc-nav a:hover,
.nhc-nav a:focus-visible {
	background: var(--nhc-cream);
	color: var(--nhc-navy-deep);
}

.nhc-nav .current-menu-item > a,
.nhc-nav .current_page_item > a {
	color: var(--nhc-teal-dark);
	box-shadow: inset 0 -3px 0 var(--nhc-teal);
}

.nhc-header__cta {
	flex: none;
}

.nhc-header__cta .nhc-btn {
	padding: 11px 22px;
	font-size: .92rem;
}

@media (max-width: 1040px) {
	.nhc-header__cta { display: none; }
}

@media (max-width: 900px) {
	.nhc-nav-toggle { display: inline-flex; }

	.nhc-nav {
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: #fff;
		border-bottom: 1px solid var(--nhc-line);
		box-shadow: var(--nhc-shadow);
		padding: 10px var(--nhc-gutter) 22px;
	}

	.nhc-nav.is-open { display: block; }

	.nhc-nav ul {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.nhc-nav a {
		padding: 14px 6px;
		border-bottom: 1px solid var(--nhc-line);
		border-radius: 0;
		font-size: 1.05rem;
	}

	.nhc-brand img { height: 52px; }
}

/* ==========================================================================
   6. Hero
   ========================================================================== */

.nhc-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: min(78vh, 660px);
	padding-block: clamp(64px, 10vw, 120px);
	background: var(--nhc-navy-deep) center/cover no-repeat;
	color: #fff;
	isolation: isolate;
}

.nhc-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(105deg, rgba(8, 47, 68, .93) 0%, rgba(8, 47, 68, .78) 48%, rgba(8, 47, 68, .45) 100%);
}

.nhc-hero__inner {
	max-width: 680px;
}

.nhc-hero h1 {
	color: #fff;
	font-size: clamp(2.4rem, 6vw, 4rem);
	margin-bottom: .3em;
	text-wrap: balance;
}

.nhc-hero__tag {
	font-family: var(--nhc-font-head);
	font-size: .9rem;
	letter-spacing: .3em;
	text-transform: uppercase;
	color: #6fd0d3;
	margin-bottom: 1.1em;
	display: block;
}

.nhc-hero p.nhc-hero__lead {
	font-size: clamp(1.05rem, 2vw, 1.3rem);
	color: #d9e7ef;
	max-width: 36em;
	margin-bottom: 1.8em;
}

/* ==========================================================================
   7. Service times card
   ========================================================================== */

.nhc-times {
	position: relative;
	margin-top: -58px;
	z-index: 2;
}

.nhc-times__card {
	background: #fff;
	border-radius: var(--nhc-radius);
	box-shadow: var(--nhc-shadow);
	border-top: 5px solid var(--nhc-teal);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.nhc-times__item {
	padding: 30px 28px;
	text-align: center;
	border-right: 1px solid var(--nhc-line);
}

.nhc-times__item:last-child { border-right: 0; }

@media (max-width: 760px) {
	.nhc-times__item { border-right: 0; border-bottom: 1px solid var(--nhc-line); }
	.nhc-times__item:last-child { border-bottom: 0; }
	.nhc-times { margin-top: -34px; }
}

.nhc-times__item svg {
	width: 26px;
	height: 26px;
	color: var(--nhc-teal);
	margin: 0 auto .6em;
}

.nhc-times__label {
	display: block;
	font-family: var(--nhc-font-head);
	font-size: .8rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--nhc-muted);
	margin-bottom: .35em;
}

.nhc-times__value {
	font-family: var(--nhc-font-head);
	font-size: 1.3rem;
	color: var(--nhc-navy);
	line-height: 1.3;
}

.nhc-times__value a { color: inherit; text-decoration: none; }
.nhc-times__value a:hover { color: var(--nhc-teal-dark); }

.nhc-times__note {
	display: block;
	font-size: .92rem;
	color: var(--nhc-muted);
	margin-top: .3em;
	font-family: var(--nhc-font-body);
	letter-spacing: 0;
	text-transform: none;
}

/* ==========================================================================
   8. Cards / content blocks
   ========================================================================== */

.nhc-card {
	background: #fff;
	border: 1px solid var(--nhc-line);
	border-radius: var(--nhc-radius);
	padding: 30px 28px;
	box-shadow: var(--nhc-shadow-sm);
	height: 100%;
}

.nhc-card h3 { margin-bottom: .45em; }

.nhc-card--teal {
	border: 0;
	background: linear-gradient(160deg, var(--nhc-teal) 0%, var(--nhc-teal-dark) 100%);
	color: #e6fbfc;
}

.nhc-card--teal h3 { color: #fff; }

.nhc-card__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--nhc-cream);
	color: var(--nhc-navy);
	font-family: var(--nhc-font-head);
	font-size: 1.2rem;
	margin-bottom: .7em;
}

.nhc-card__icon {
	width: 46px;
	height: 46px;
	color: var(--nhc-teal);
	margin-bottom: .6em;
}

.nhc-split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: clamp(28px, 5vw, 60px);
	align-items: center;
}

.nhc-split__media img {
	width: 100%;
	border-radius: var(--nhc-radius);
	box-shadow: var(--nhc-shadow);
}

.nhc-split--form {
	align-items: start;
}

/* A long text column beside an image that follows you down the page. */

.nhc-split--sticky {
	align-items: start;
}

@media (min-width: 940px) {
	.nhc-split--sticky {
		grid-template-columns: minmax(0, 1.5fr) minmax(260px, 1fr);
	}

	.nhc-split--sticky .nhc-split__media {
		position: sticky;
		top: 112px;
	}
}

@media (min-width: 940px) {
	.nhc-split--form {
		grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
	}
}

.nhc-prose > :first-child { margin-top: 0; }

.nhc-prose .nhc-lead,
.nhc-lead {
	font-size: 1.2rem;
	color: var(--nhc-ink);
}

/* Core values written as a list inside page content */

.nhc-prose .nhc-values-list {
	list-style: none;
	padding: 0;
	margin: 1.2em 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2px;
	background: var(--nhc-line);
	border: 1px solid var(--nhc-line);
	border-radius: var(--nhc-radius);
	overflow: hidden;
}

.nhc-prose .nhc-values-list li {
	background: #fff;
	margin: 0;
	padding: 14px 20px;
}

.nhc-prose .nhc-values-list strong {
	color: var(--nhc-navy);
	font-family: var(--nhc-font-head);
	font-weight: 500;
}
.nhc-prose h2 { margin-top: 1.5em; }
.nhc-prose h3 { margin-top: 1.4em; }
.nhc-prose ul li { margin-bottom: .4em; }

/* Verse / pull quote */

.nhc-verse {
	background: var(--nhc-cream);
	border-left: 5px solid var(--nhc-teal);
	border-radius: 0 var(--nhc-radius) var(--nhc-radius) 0;
	padding: 28px 32px;
	font-size: 1.2rem;
	font-style: italic;
	color: var(--nhc-navy);
}

.nhc-verse cite {
	display: block;
	margin-top: .6em;
	font-size: .95rem;
	font-style: normal;
	font-family: var(--nhc-font-head);
	letter-spacing: .1em;
	text-transform: uppercase;
	color: var(--nhc-teal-dark);
}

/* Core values list */

.nhc-values {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
	gap: 2px;
	background: var(--nhc-line);
	border: 1px solid var(--nhc-line);
	border-radius: var(--nhc-radius);
	overflow: hidden;
}

.nhc-values li {
	background: #fff;
	padding: 18px 22px;
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
}

.nhc-values strong {
	font-family: var(--nhc-font-head);
	font-weight: 500;
	font-size: 1.08rem;
	color: var(--nhc-navy);
}

.nhc-values span {
	font-size: .92rem;
	color: var(--nhc-teal-dark);
	white-space: nowrap;
	font-weight: 600;
}

/* ==========================================================================
   9. Photo gallery
   ========================================================================== */

.nhc-gallery {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	gap: 18px;
}

.nhc-gallery__item {
	position: relative;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--nhc-cream);
	border-radius: var(--nhc-radius-sm);
	overflow: hidden;
	cursor: zoom-in;
	aspect-ratio: 4 / 3;
	display: block;
	width: 100%;
}

.nhc-gallery__item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .5s ease;
}

.nhc-gallery__item:hover img,
.nhc-gallery__item:focus-visible img {
	transform: scale(1.05);
}

.nhc-gallery__item figcaption,
.nhc-gallery__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 16px 12px;
	background: linear-gradient(to top, rgba(8, 47, 68, .85), rgba(8, 47, 68, 0));
	color: #fff;
	font-size: .92rem;
	text-align: left;
	pointer-events: none;
}

/* Lightbox */

.nhc-lightbox {
	position: fixed;
	inset: 0;
	z-index: 999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
	background: rgba(6, 31, 45, .93);
}

.nhc-lightbox.is-open { display: flex; }

.nhc-lightbox img {
	max-width: min(1200px, 94vw);
	max-height: 84vh;
	width: auto;
	border-radius: var(--nhc-radius-sm);
	box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
}

.nhc-lightbox__cap {
	position: absolute;
	bottom: 26px;
	left: 0;
	right: 0;
	text-align: center;
	color: #d9e7ef;
	font-size: .95rem;
	padding-inline: 70px;
}

.nhc-lightbox__btn {
	position: absolute;
	background: rgba(255, 255, 255, .12);
	border: 1px solid rgba(255, 255, 255, .3);
	color: #fff;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	display: grid;
	place-items: center;
}

.nhc-lightbox__btn:hover { background: rgba(255, 255, 255, .25); }
.nhc-lightbox__close { top: 20px; right: 20px; }
.nhc-lightbox__prev { left: 20px; top: 50%; transform: translateY(-50%); }
.nhc-lightbox__next { right: 20px; top: 50%; transform: translateY(-50%); }

/* ==========================================================================
   10. Forms
   ========================================================================== */

.nhc-form {
	display: grid;
	gap: 18px;
}

.nhc-form__row {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 18px;
}

.nhc-field label,
.nhc-form label {
	display: block;
	font-family: var(--nhc-font-head);
	font-size: .9rem;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--nhc-navy);
	margin-bottom: .45em;
}

.nhc-form .nhc-req { color: #b23b3b; }

.nhc-form input[type="text"],
.nhc-form input[type="email"],
.nhc-form input[type="tel"],
.nhc-form select,
.nhc-form textarea {
	width: 100%;
	font-family: inherit;
	font-size: 1rem;
	color: var(--nhc-ink);
	background: #fff;
	border: 1px solid #c3d2db;
	border-radius: var(--nhc-radius-sm);
	padding: 13px 15px;
	transition: border-color .15s ease, box-shadow .15s ease;
}

.nhc-form textarea { min-height: 170px; resize: vertical; }

.nhc-form input:focus,
.nhc-form select:focus,
.nhc-form textarea:focus {
	outline: 0;
	border-color: var(--nhc-teal);
	box-shadow: 0 0 0 3px rgba(3, 153, 157, .18);
}

.nhc-form__check {
	display: flex;
	align-items: flex-start;
	gap: 11px;
	background: var(--nhc-cream);
	border-radius: var(--nhc-radius-sm);
	padding: 14px 16px;
}

.nhc-form__check input { margin-top: .3em; flex: none; }

.nhc-form__check label {
	text-transform: none;
	letter-spacing: 0;
	font-family: var(--nhc-font-body);
	font-size: .98rem;
	color: var(--nhc-body);
	margin: 0;
	font-weight: 400;
}

.nhc-form__hp {
	position: absolute !important;
	left: -9999px;
	opacity: 0;
	height: 0;
	overflow: hidden;
}

.nhc-note {
	font-size: .92rem;
	color: var(--nhc-muted);
}

.nhc-alert {
	border-radius: var(--nhc-radius-sm);
	padding: 16px 20px;
	margin-bottom: 24px;
	border-left: 4px solid;
}

.nhc-alert--ok {
	background: #e8f7f2;
	border-color: #1f9d6c;
	color: #14543c;
}

.nhc-alert--error {
	background: #fdeded;
	border-color: #c0392b;
	color: #7b241c;
}

.nhc-alert ul { margin: .5em 0 0; }

/* ==========================================================================
   11. Footer
   ========================================================================== */

.nhc-footer {
	background: var(--nhc-navy-deep);
	color: #b8cdd9;
	padding-block: clamp(44px, 6vw, 70px) 0;
	font-size: .98rem;
}

.nhc-footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 36px;
	padding-bottom: 42px;
}

.nhc-footer h4 {
	font-family: var(--nhc-font-head);
	font-size: .9rem;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 1em;
}

.nhc-footer a { color: #b8cdd9; text-decoration: none; }
.nhc-footer a:hover,
.nhc-footer a:focus { color: #fff; text-decoration: underline; }

.nhc-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nhc-footer li { margin-bottom: .5em; }

.nhc-footer__logo {
	background: #fff;
	border-radius: var(--nhc-radius-sm);
	padding: 12px 14px;
	display: inline-block;
	margin-bottom: 18px;
}

.nhc-footer__logo img { height: 66px; width: auto; }

.nhc-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, .13);
	padding-block: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	justify-content: space-between;
	font-size: .9rem;
	color: #8aa6b6;
}

.nhc-social {
	display: inline-flex;
	gap: 10px;
	margin-top: 4px;
}

.nhc-social a {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .1);
	color: #fff;
}

.nhc-social a:hover { background: var(--nhc-teal); }
.nhc-social svg { width: 20px; height: 20px; }

/* ==========================================================================
   12. Page header (interior pages)
   ========================================================================== */

.nhc-pagehead {
	background: var(--nhc-navy) center/cover no-repeat;
	color: #fff;
	padding-block: clamp(52px, 8vw, 92px);
	position: relative;
	isolation: isolate;
	text-align: center;
}

.nhc-pagehead::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 47, 68, .82), rgba(8, 47, 68, .92));
}

.nhc-pagehead h1 { color: #fff; margin-bottom: .25em; }

.nhc-pagehead p {
	max-width: 44em;
	margin-inline: auto;
	color: #cfe2ec;
	font-size: 1.1rem;
}

/* ==========================================================================
   13. Utilities & WordPress core classes
   ========================================================================== */

.nhc-center { text-align: center; }
.nhc-mt-0 { margin-top: 0; }
.nhc-mb-0 { margin-bottom: 0; }

.nhc-embed {
	position: relative;
	padding-top: 56.25%;
	border-radius: var(--nhc-radius);
	overflow: hidden;
	box-shadow: var(--nhc-shadow);
	background: #000;
}

.nhc-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { margin-inline: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: .9rem; color: var(--nhc-muted); }

.nhc-prose img { border-radius: var(--nhc-radius-sm); }

.nhc-prose .wp-block-gallery,
.nhc-prose .wp-block-image { margin-block: 1.5em; }

table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

th, td {
	border: 1px solid var(--nhc-line);
	padding: 10px 14px;
	text-align: left;
}

th { background: var(--nhc-cream); font-family: var(--nhc-font-head); font-weight: 500; }

@media print {
	.nhc-header, .nhc-topbar, .nhc-footer, .nhc-nav-toggle { display: none !important; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .001ms !important;
		transition-duration: .001ms !important;
	}
}
