:root {
	--navy: #17324d;
	--blue: #2d5d83;
	--gold: #d5a646;
	--white: #ffffff;
	--light: #f6f8fa;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	color: var(--navy);
	background: var(--light);
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 112px;
	padding: 0 5vw;
	background: var(--white);
	border-bottom: 1px solid #e4e9ee;
	box-shadow: 0 2px 12px rgba(23, 50, 77, 0.08);
}

.brand {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.brand img {
	display: block;
	width: 220px;
	height: auto;
	max-height: 88px;
	object-fit: contain;
}

.menu-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	padding: 0;
	color: var(--navy);
	background: transparent;
	border: 1px solid #cbd6de;
	border-radius: 2px;
	cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
	display: block;
	width: 1.25rem;
	height: 2px;
	background: currentColor;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle span {
	position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
	position: absolute;
	content: "";
	left: 0;
}

.menu-toggle span::before { transform: translateY(-0.4rem); }
.menu-toggle span::after { transform: translateY(0.4rem); }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: rotate(-45deg); }

.main-nav {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nav-item,
.nav-link {
	position: relative;
}

.nav-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	padding: 1.1rem 0.85rem;
	color: var(--navy);
	font-size: 0.88rem;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-decoration: none;
	white-space: nowrap;
	transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
	color: var(--blue);
}

.nav-item > .nav-link::after {
	content: "";
	width: 0.42rem;
	height: 0.42rem;
	margin-top: -0.25rem;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
}

.dropdown {
	position: absolute;
	z-index: 10;
	top: calc(100% - 0.25rem);
	left: 0;
	min-width: 190px;
	padding: 0.5rem 0;
	margin: 0;
	background: var(--white);
	border-top: 3px solid var(--gold);
	box-shadow: 0 10px 24px rgba(23, 50, 77, 0.16);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.5rem);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.dropdown a {
	display: block;
	padding: 0.7rem 1rem;
	color: var(--navy);
	font-size: 0.86rem;
	text-decoration: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
	color: var(--blue);
	background: #f0f4f7;
}

.give-link {
	margin-left: 0.75rem;
	padding: 0.75rem 1.3rem;
	color: var(--white);
	background: var(--gold);
	border-radius: 2px;
}

.give-link:hover,
.give-link:focus-visible {
	color: var(--white);
	background: #bd8e2f;
}

.hero {
	display: grid;
	min-height: calc(100vh - 112px);
	place-items: center;
	padding: 4rem 1.5rem;
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.72), rgba(23, 50, 77, 0.72)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.hero h1 {
	margin: 0 0 0.8rem;
	color: var(--white);
	font-size: clamp(2.25rem, 6vw, 4.5rem);
	font-weight: 400;
}

.hero h2 {
	margin: 0 0 0.5rem;
	color: var(--gold);
	text-align: center;
}

.hero p {
	max-width: 620px;
	margin: 0 auto;
	color: #eef3f7;
	font-size: 1.15rem;
	line-height: 1.6;
	text-align: center;
}

.hero-address {
	margin-top: 1rem;
	text-align: center;
}

.hero-address p {
	margin: 0 auto;
	color: var(--gold);
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.7;
	text-align: center;
}

.live-home {
	padding: 6rem 1.5rem;
	text-align: center;
	background: var(--white);
}

.live-home h1 {
	margin: 0 0 1rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3.25rem);
}

.live-home p {
	margin: 0;
	color: var(--navy);
	font-size: 1.15rem;
	line-height: 1.6;
}

.recent-videos {
	padding: 5rem 5vw 6rem;
	background: #eef2f5;
}

.section-heading {
	margin: 0 auto 2.5rem;
	text-align: center;
}

.section-heading h2 {
	margin: 0 0 0.75rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
}

.section-heading p {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
}

.video-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.video-card {
	overflow: hidden;
	background: var(--white);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 10px;
	box-shadow: 0 8px 0 rgba(23, 50, 77, 0.04), 0 16px 28px rgba(23, 50, 77, 0.18);
	transform: translateY(0);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.video-card:hover {
	box-shadow: 0 10px 0 rgba(23, 50, 77, 0.04), 0 22px 34px rgba(23, 50, 77, 0.22);
	transform: translateY(-5px);
}

.video-frame {
	position: relative;
	aspect-ratio: 16 / 9;
	background: #172f46;
}

.video-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.video-card h3 {
	margin: 0;
	padding: 1rem 1.1rem 1.2rem;
	color: var(--navy);
	font-size: 1rem;
}

.upcoming-events-home {
	padding: 5rem 5vw 6rem;
	background: var(--white);
}

.upcoming-events-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.events-carousel-shell {
	max-width: 960px;
	margin: 0 auto;
	padding: 1rem;
	background: #eef2f5;
	border: 1px solid #d9e1e7;
	border-radius: 10px;
	box-shadow: 0 10px 28px rgba(23, 50, 77, 0.12);
}

.events-carousel-frame {
	overflow: hidden;
	background: #172f46;
	border-radius: 8px;
	aspect-ratio: 4 / 3;
}

.events-carousel-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.events-carousel-note {
	margin: 0.9rem 0 0;
	color: #52677a;
	font-size: 0.92rem;
	text-align: center;
}

.events-carousel-link-wrap {
	margin: 1rem 0 0;
	text-align: center;
}

.events-carousel-link {
	display: inline-block;
	padding: 0.7rem 1.1rem;
	color: var(--navy);
	background: var(--gold);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.2s ease;
}

.events-carousel-link:hover,
.events-carousel-link:focus-visible {
	background: #e2b95f;
}

.events-carousel-note.is-error {
	color: #8b1e1e;
	font-weight: 700;
}

.site-footer {
	color: var(--white);
	background: var(--navy);
}

.footer-content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
	padding: 3rem 5vw 2.5rem;
}

.footer-brand img {
	display: block;
	width: 190px;
	height: auto;
	max-height: 72px;
	object-fit: contain;
}

.footer-nav {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
}

.footer-nav a {
	color: var(--white);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
	color: var(--gold);
}

.footer-nav .footer-give {
	padding: 0.65rem 1rem;
	color: var(--navy);
	background: var(--gold);
	border-radius: 2px;
}

.footer-nav .footer-give:hover,
.footer-nav .footer-give:focus-visible {
	color: var(--navy);
	background: #e2b95f;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	text-align: center;
}

.footer-bottom p {
	margin: 0;
	padding: 1.25rem 1.5rem;
	color: #dce5ec;
	font-size: 0.8rem;
}

.beliefs-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.beliefs-hero .eyebrow,
.beliefs-intro .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.beliefs-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.beliefs-hero > p:last-child {
	max-width: 640px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.beliefs-intro {
	max-width: 780px;
	margin: 0 auto;
	padding: 5rem 1.5rem 3rem;
	text-align: center;
}

.beliefs-intro h2 {
	margin: 0 0 1.25rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.beliefs-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.beliefs-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 5vw 5rem;
}

.belief-card {
	position: relative;
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.belief-number {
	display: block;
	margin-bottom: 1rem;
	color: var(--gold);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.belief-card h2 {
	margin: 0 0 0.8rem;
	color: var(--navy);
	font-size: 1.45rem;
}

.belief-card p {
	margin: 0;
	color: #52677a;
	font-size: 0.98rem;
	line-height: 1.75;
}

.beliefs-cta {
	padding: 5rem 1.5rem;
	color: var(--white);
	text-align: center;
	background: var(--blue);
}

.beliefs-cta h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 400;
}

.beliefs-cta p {
	margin: 0 0 1.75rem;
	color: #edf3f7;
	font-size: 1.05rem;
}

.cta-button {
	display: inline-block;
	padding: 0.8rem 1.4rem;
	color: var(--navy);
	background: var(--gold);
	font-weight: 700;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.2s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
	background: #e2b95f;
}

.history-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.history-hero .eyebrow,
.history-intro .eyebrow,
.history-list-card .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.history-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.history-hero > p:last-child {
	max-width: 650px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.history-intro {
	max-width: 780px;
	margin: 0 auto;
	padding: 5rem 1.5rem 3rem;
	text-align: center;
}

.history-intro h2 {
	margin: 0 0 1.25rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.history-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.history-timeline {
	max-width: 900px;
	margin: 0 auto;
	padding: 1rem 5vw 5rem;
}

.history-entry {
	display: grid;
	grid-template-columns: 135px 1fr;
	gap: 2rem;
	padding: 2rem 0;
	border-top: 1px solid #d9e1e7;
}

.history-entry:last-child {
	border-bottom: 1px solid #d9e1e7;
}

.history-year {
	color: var(--gold);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.history-entry h2 {
	margin: 0 0 0.65rem;
	color: var(--navy);
	font-size: 1.4rem;
}

.history-entry p {
	margin: 0;
	color: #52677a;
	line-height: 1.75;
}

.history-leaders {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 5vw 5rem;
}

.history-list-card {
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.history-list-card h2 {
	margin: 0 0 1.25rem;
	color: var(--navy);
	font-size: 1.6rem;
}

.history-list-card ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.65rem 1.25rem;
	margin: 0;
	padding-left: 1.1rem;
	color: #52677a;
	line-height: 1.45;
}

.history-list-card li::marker {
	color: var(--gold);
}

.history-list-card strong {
	color: var(--blue);
	font-size: 0.8rem;
}

.history-cta {
	padding: 5rem 1.5rem;
	color: var(--white);
	text-align: center;
	background: var(--blue);
}

.history-cta h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 400;
}

.history-cta p {
	margin: 0 0 1.75rem;
	color: #edf3f7;
	font-size: 1.05rem;
}

.contact-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.contact-hero .eyebrow,
.contact-intro .eyebrow,
.visitors-card .eyebrow,
.map-heading .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.contact-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.contact-hero > p:last-child {
	max-width: 620px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.contact-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 5rem 5vw;
}

.contact-intro {
	max-width: 700px;
	margin: 0 auto 3rem;
	text-align: center;
}

.contact-intro h2 {
	margin: 0 0 1rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.contact-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.contact-card,
.visitors-card {
	margin-top: 0.75rem;
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.contact-card h2,
.visitors-card h2 {
	margin: 0 0 1.25rem;
	color: var(--navy);
	font-size: 1.55rem;
}

.service-times {
	margin: 0;
	padding: 0;
	list-style: none;
}

.service-times li {
	display: flex;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0;
	color: #52677a;
	border-bottom: 1px solid #e4e9ee;
}

.service-times li:last-child { border-bottom: 0; }
.service-times span { color: var(--blue); font-weight: 700; }
.service-times strong { text-align: right; }

.contact-card address {
	font-style: normal;
	line-height: 1.7;
}

.contact-card a {
	color: var(--blue);
	font-weight: 700;
	text-decoration: none;
}

.contact-card a:hover,
.contact-card a:focus-visible {
	color: var(--gold);
	text-decoration: underline;
}

.phone-label {
	margin: 1.5rem 0 0.25rem;
	color: #52677a;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.phone-number { font-size: 1.25rem; }

.online-card,
.contact-grid > .visitors-card {
	grid-column: 1 / -1;
}

.contact-links {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
}

.email-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 2rem;
}

.email-links a {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
}

.email-links span {
	color: #52677a;
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.45;
}

.visitors-card {
	margin-top: 1.5rem;
	background: #f7f9fa;
}

.visitors-card ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem 2rem;
	margin: 0;
	padding-left: 1.2rem;
	color: #52677a;
	line-height: 1.65;
}

.visitors-card li::marker { color: var(--gold); }

.map-section {
	padding: 5rem 5vw 0;
	background: #eef2f5;
}

.map-heading {
	max-width: 1100px;
	margin: 0 auto 2rem;
	text-align: center;
}

.map-heading h2 {
	margin: 0 0 0.6rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.map-heading > p:last-child {
	margin: 0;
	color: #52677a;
}

.map-frame {
	max-width: 1100px;
	height: 420px;
	margin: 0 auto;
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.15);
}

.map-frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.events-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.events-hero .eyebrow,
.events-intro .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.events-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.events-hero > p:last-child {
	max-width: 650px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.events-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 5rem 5vw 6rem;
}

.events-intro {
	max-width: 700px;
	margin: 0 auto 3rem;
	text-align: center;
}

.events-intro h2 {
	margin: 0 0 1rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.events-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.calendar-placeholder {
	min-height: 640px;
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.12);
}

.calendar-placeholder-content {
	display: grid;
	min-height: 560px;
	place-items: center;
	align-content: center;
	gap: 0.75rem;
	padding: 3rem;
	text-align: center;
	border: 2px dashed #cbd6de;
	background: #f7f9fa;
}

.calendar-icon {
	color: var(--gold);
	font-size: 4rem;
	line-height: 1;
}

.calendar-placeholder h2 {
	margin: 0;
	color: var(--navy);
	font-size: 1.8rem;
}

.calendar-placeholder p {
	max-width: 430px;
	margin: 0;
	color: #52677a;
	line-height: 1.7;
}

.calendar-placeholder iframe {
	width: 100%;
	min-height: 680px;
	border: 0;
}

.jotform-placeholder {
	margin-top: 2rem;
	min-height: 380px;
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.12);
}

.jotform-placeholder-content {
	display: grid;
	min-height: 300px;
	place-items: center;
	align-content: center;
	gap: 0.75rem;
	padding: 2.5rem;
	text-align: center;
	border: 2px dashed #cbd6de;
	background: #f7f9fa;
}

.jotform-placeholder .eyebrow {
	margin: 0;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.jotform-placeholder h2 {
	margin: 0;
	color: var(--navy);
	font-size: 1.8rem;
}

.jotform-placeholder p {
	max-width: 430px;
	margin: 0;
	color: #52677a;
	line-height: 1.7;
}

.events-signup-header {
	max-width: 700px;
	margin: 3rem auto 1.25rem;
	text-align: center;
}

.events-signup-header .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.events-signup-header h2 {
	margin: 0 0 0.75rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.events-signup-header p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.leadership-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.leadership-hero .eyebrow,
.leadership-intro .eyebrow,
.leaders-section-heading .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.leadership-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.leadership-hero > p:last-child {
	max-width: 620px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.leadership-intro {
	max-width: 760px;
	margin: 0 auto;
	padding: 5rem 1.5rem 3rem;
	text-align: center;
}

.leadership-intro h2 {
	margin: 0 0 1rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.leadership-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.leaders-section {
	max-width: 1100px;
	margin: 0 auto;
	padding: 1rem 5vw 5rem;
}

.deacons-section {
	max-width: none;
	background: #eef2f5;
}

.leaders-section-heading {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 3rem;
	max-width: 1100px;
	margin: 0 auto 2rem;
	padding: 0 0 1.5rem;
	border-bottom: 1px solid #d9e1e7;
}

.leaders-section-heading h2 {
	margin: 0;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.leaders-section-heading img {
	display: block;
	width: 240px;
	height: 130px;
	object-fit: cover;
	border-radius: 4px;
	box-shadow: 0 6px 16px rgba(23, 50, 77, 0.15);
}

.leader-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
}

.leader-card {
	overflow: hidden;
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.leader-card-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.15rem;
}

.leader-role {
	color: var(--blue);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.leader-initial {
	display: grid;
	width: 2.4rem;
	height: 2.4rem;
	flex-shrink: 0;
	place-items: center;
	color: var(--white);
	background: var(--navy);
	font-size: 0.72rem;
	font-weight: 700;
	border-radius: 50%;
}

.leader-photo {
	display: block;
	width: 100%;
	height: 230px;
	margin: 0 0 1.25rem;
	object-fit: contain;
	object-position: center;
	background: #ffffff;
}

.leader-card h3 {
	margin: 0 0 0.8rem;
	color: var(--navy);
	font-size: 1.5rem;
}

.leader-card p {
	margin: 0 0 0.9rem;
	color: #52677a;
	font-size: 0.96rem;
	line-height: 1.75;
}

.leader-card p:last-child { margin-bottom: 0; }

.staff-section {
	padding-top: 1rem;
	padding-bottom: 5rem;
}

.staff-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
	max-width: 1100px;
	margin: 0 auto;
}

.staff-card {
	overflow: hidden;
	background: var(--white);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.staff-card > img {
	display: block;
	width: 100%;
	height: 230px;
	object-fit: cover;
	background: #dce5ec;
}

.staff-card > img.kirk-photo {
	object-fit: contain;
	background: #ffffff;
}

.staff-card-content {
	padding: 2rem;
	border-top: 4px solid var(--gold);
}

.staff-card-content .eyebrow {
	margin-bottom: 0.75rem;
	font-size: 0.72rem;
}

.staff-card h3 {
	margin: 0 0 0.8rem;
	color: var(--navy);
	font-size: 1.5rem;
}

.staff-card p:not(.eyebrow) {
	margin: 0 0 0.9rem;
	color: #52677a;
	font-size: 0.96rem;
	line-height: 1.75;
}

.staff-card p:last-of-type { margin-bottom: 1.25rem; }

.staff-email {
	color: var(--blue);
	font-weight: 700;
	text-decoration: none;
}

.staff-email:hover,
.staff-email:focus-visible {
	color: var(--gold);
	text-decoration: underline;
}

.leadership-cta {
	padding: 5rem 1.5rem;
	color: var(--white);
	text-align: center;
	background: var(--blue);
}

.leadership-cta h2 {
	margin: 0 0 0.75rem;
	font-size: clamp(1.8rem, 4vw, 2.6rem);
	font-weight: 400;
}

.leadership-cta p {
	margin: 0 0 1.75rem;
	color: #edf3f7;
	font-size: 1.05rem;
}

.ministry-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.ministry-hero .eyebrow,
.ministry-intro .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ministry-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.ministry-hero > p:last-child {
	max-width: 650px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.ministry-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 5rem 5vw 6rem;
}

.ministry-intro {
	max-width: 720px;
	margin: 0 auto 3rem;
	text-align: center;
}

.ministry-intro h2 {
	margin: 0 0 1rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.ministry-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.ministry-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.ministry-cards article {
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.ministry-cards .center-card {
	grid-column: 2;
}

.ministry-cards h2 {
	margin: 0 0 0.8rem;
	color: var(--navy);
	font-size: 1.4rem;
}

.ministry-cards p {
	margin: 0;
	color: #52677a;
	line-height: 1.75;
}

.ministry-cards .calendar-button {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.65rem 1rem;
	color: var(--navy);
	background: var(--gold);
	font-weight: 700;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.2s ease;
}

.ministry-cards .calendar-button:hover,
.ministry-cards .calendar-button:focus-visible {
	background: #e2b95f;
}

.members-page {
	background: #f5f7f9;
}

.members-shell {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.members-locked .members-shell {
	display: none;
}

.members-hero {
	padding: 7rem 1.5rem 6rem;
	color: var(--white);
	text-align: center;
	background: linear-gradient(rgba(23, 50, 77, 0.88), rgba(23, 50, 77, 0.88)),
		url("Images/Kannapolis Church family.png") center / cover;
}

.members-hero .eyebrow,
.members-intro .eyebrow {
	margin: 0 0 1rem;
	color: var(--gold);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.members-hero h1 {
	margin: 0 0 1rem;
	font-size: clamp(2.7rem, 6vw, 5rem);
	font-weight: 400;
}

.members-hero > p:last-child {
	max-width: 650px;
	margin: 0 auto;
	color: #edf3f7;
	font-size: 1.15rem;
	line-height: 1.7;
}

.members-content {
	max-width: 1100px;
	margin: 0 auto;
	padding: 5rem 5vw 6rem;
}

.members-intro {
	max-width: 720px;
	margin: 0 auto 3rem;
	text-align: center;
}

.members-intro h2 {
	margin: 0 0 1rem;
	color: var(--navy);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 400;
}

.members-intro > p:last-child {
	margin: 0;
	color: #52677a;
	font-size: 1.05rem;
	line-height: 1.8;
}

.members-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.member-card {
	padding: 2rem;
	background: var(--white);
	border-top: 4px solid var(--gold);
	box-shadow: 0 8px 24px rgba(23, 50, 77, 0.1);
}

.member-card h2 {
	margin: 0 0 0.8rem;
	color: var(--navy);
	font-size: 1.4rem;
}

.member-card p {
	margin: 0;
	color: #52677a;
	line-height: 1.75;
}

.member-link-button {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.65rem 1rem;
	color: var(--navy);
	background: var(--gold);
	font-weight: 700;
	text-decoration: none;
	border-radius: 2px;
	transition: background 0.2s ease;
}

.member-link-button:hover,
.member-link-button:focus-visible {
	background: #e2b95f;
}

.member-email-card {
	grid-column: 1 / -1;
}

.member-email-card .email-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin-top: 0.75rem;
}

.member-email-card .email-links a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 1rem 1.1rem;
	color: var(--navy);
	background: #f7f9fb;
	border: 1px solid #e4e9ee;
	border-left: 4px solid var(--blue);
	border-radius: 6px;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.member-email-card .email-links a:hover,
.member-email-card .email-links a:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(23, 50, 77, 0.08);
	border-color: var(--gold);
}

.member-email-card .email-links span {
	color: #52677a;
	font-size: 0.84rem;
	font-weight: 400;
	line-height: 1.45;
}

@media (max-width: 900px) {
	.site-header { position: relative; min-height: 88px; padding: 0.75rem 5vw; }
	.brand img { width: 180px; max-height: 72px; }
	.menu-toggle { display: inline-flex; }
	.main-nav { position: absolute; z-index: 20; top: 100%; right: 5vw; left: 5vw; display: none; width: auto; margin: 0; padding: 0.5rem; background: var(--white); box-shadow: 0 10px 24px rgba(23, 50, 77, 0.16); }
	.main-nav.is-open { display: block; }
	.nav-item,
	.nav-link { display: block; width: 100%; }
	.nav-link { padding: 0.85rem 0.75rem; }
	.nav-item > .nav-link::after { position: absolute; right: 0.9rem; top: 1.1rem; }
	.dropdown { position: static; display: none; min-width: 0; padding: 0 0 0.25rem 0.75rem; border-top: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
	.nav-item:hover .dropdown,
	.nav-item:focus-within .dropdown { display: block; }
	.dropdown a { padding: 0.65rem 0.75rem; }
	.give-link { margin-left: 0; }
	.video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.upcoming-events-home { padding-right: 5vw; padding-left: 5vw; }
	.footer-content { align-items: flex-start; flex-direction: column; }
	.footer-nav { justify-content: flex-start; }
	.beliefs-grid { grid-template-columns: 1fr; }
	.history-leaders { grid-template-columns: 1fr; }
	.contact-content { padding-right: 5vw; padding-left: 5vw; }
	.events-content { padding-right: 5vw; padding-left: 5vw; }
	.leader-grid { grid-template-columns: 1fr; }
	.staff-grid { grid-template-columns: 1fr; }
	.ministry-cards { grid-template-columns: 1fr; }
	.ministry-cards .center-card { grid-column: auto; }
	.members-grid { grid-template-columns: 1fr; }
}

@media (max-width: 540px) {
	.site-header { min-height: 76px; }
	.brand img { width: 160px; max-height: 60px; }
	.main-nav { right: 1.25rem; left: 1.25rem; }
	.nav-link { padding: 0.75rem 0.55rem; font-size: 0.86rem; }
	.give-link { padding: 0.65rem 0.8rem; }
	.brand img { width: 160px; }
	.recent-videos { padding-right: 1.25rem; padding-left: 1.25rem; }
	.video-grid { grid-template-columns: 1fr; gap: 1.5rem; }
	.upcoming-events-home { padding-right: 1.25rem; padding-left: 1.25rem; }
	.events-carousel-shell { padding: 0.6rem; }
	.footer-content { padding-right: 1.25rem; padding-left: 1.25rem; }
	.footer-brand img { width: 160px; }
	.beliefs-hero { padding-top: 5rem; padding-bottom: 4rem; }
	.beliefs-grid { padding-right: 1.25rem; padding-left: 1.25rem; }
	.belief-card { padding: 1.5rem; }
	.history-hero { padding-top: 5rem; padding-bottom: 4rem; }
	.history-timeline { padding-right: 1.25rem; padding-left: 1.25rem; }
	.history-entry { grid-template-columns: 1fr; gap: 0.65rem; }
	.history-leaders { padding-right: 1.25rem; padding-left: 1.25rem; }
	.history-list-card { padding: 1.5rem; }
	.history-list-card ul { grid-template-columns: 1fr; }
	.contact-hero { padding-top: 5rem; padding-bottom: 4rem; }
	.contact-content { padding-right: 1.25rem; padding-left: 1.25rem; }
	.contact-grid { grid-template-columns: 1fr; }
	.online-card,
	.contact-grid > .visitors-card { grid-column: auto; }
	.contact-card,
	.visitors-card { padding: 1.5rem; }
	.service-times li { align-items: flex-start; flex-direction: column; gap: 0.25rem; }
	.service-times strong { text-align: left; }
	.email-links,
	.visitors-card ul { grid-template-columns: 1fr; }
	.map-section { padding-right: 1.25rem; padding-left: 1.25rem; }
	.map-frame { height: 320px; }
	.events-hero { padding-top: 5rem; padding-bottom: 4rem; }
	.events-content { padding-right: 1.25rem; padding-left: 1.25rem; }
	.calendar-placeholder { min-height: 540px; padding: 1rem; }
	.calendar-placeholder-content { min-height: 440px; padding: 2rem 1rem; }
	.calendar-placeholder iframe { min-height: 500px; }
	.leadership-hero { padding-top: 5rem; padding-bottom: 4rem; }
	.leaders-section { padding-right: 1.25rem; padding-left: 1.25rem; }
	.leaders-section-heading { align-items: flex-start; flex-direction: column; gap: 1.5rem; }
	.leaders-section-heading img { width: 100%; height: 180px; }
	.leader-card { padding: 1.5rem; }
	.leader-photo { width: 100%; height: 200px; margin: 0 0 1.1rem; }
	.staff-card > img { height: 200px; }
	.staff-card-content { padding: 1.5rem; }
	.ministry-hero { padding-top: 5rem; padding-bottom: 4rem; }
	.ministry-content { padding-right: 1.25rem; padding-left: 1.25rem; }
	.ministry-cards article { padding: 1.5rem; }
}
