/* ============ Design tokens ============ */
:root {
	--cream: #fffbea;
	--white: #ffffff;
	--slate: #36454f;
	--gray: #797f7d;
	--gray-dark: #6b716f;
	--sage: #aab890;
	--sage-dark: #83906b;
	--sage-darker: #66714f;
	--olive: #dadacd;
	--gray-light: #c4c4bc;
	--ink: #0a0a0a;

	--font-heading: serif;
	--font-body: serif;
}

* { box-sizing: border-box; }

html, body {
	margin: 0;
	padding: 0;
}

body {
	font-family: var(--font-body);
	font-size: 18px;
	font-weight: 300;
	color: var(--ink);
	background: var(--cream);
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 400;
	margin: 0 0 0.6em;
	line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); text-align: center; }

h2 { font-size: clamp(1.75rem, 4vw, 3.125rem); }

p { margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

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

.container {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 24px;
}

.container--narrow {
	max-width: 1080px;
}

.divider {
	border: none;
	border-top: 2px solid var(--sage-dark);
	width: 80px;
	margin: 0 auto 2.5em;
}

.divider--full {
	width: 100%;
}

/* ============ Buttons ============ */
.btn.btn--pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--sage-dark);
	color: var(--white);
	padding: 12px 24px;
	border-radius: 100px;
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: normal;
	transition: background 0.2s ease, transform 0.15s ease;
	margin: 0.35em 0.35em 0.35em 0;
}

.btn.btn--pill:hover {
	background: var(--sage-darker);
	transform: translateY(-1px);
}

/* ============ Cards ============ */
.card {
	background: var(--white);
	border-radius: 15px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	padding: 2.5em;
}

.card--outline {
	background: transparent;
	border: 1.5px solid rgba(255, 251, 234, 0.4);
}

/* ============ Header ============ */
.site-header {
	background: var(--cream);
	box-shadow: 0 2px 12px rgba(10, 10, 10, 0.08);
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
}

.site-header__inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 16px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
}

.site-logo img {
	height: 77px;
	width: auto;
}

.site-nav {
	display: flex;
	align-items: center;
	gap: 2em;
	font-size: 21px;
	font-weight: 300;
}

.site-nav a:hover { color: var(--sage-dark); }

.site-nav a.site-nav__cta {
	font-size: inherit;
	margin: 0;
	padding: 0.4em 1.2em;
}

.site-nav a.site-nav__cta:hover { color: var(--white); }

/* ============ Diagonal section dividers ============ */
.diagonal-top {
	clip-path: polygon(0 3vw, 100% 0, 100% 100%, 0 100%);
	margin-top: -3vw;
}

.diagonal-bottom {
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 3vw));
}

/* ============ Hero sections ============ */
.hero {
	position: relative;
	min-height: 550px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	text-align: center;
	overflow: hidden;
}

.hero--contact { min-height: 450px; }

.hero--home {
	flex-direction: column;
	gap: 1.5em;
}

.hero .hero__cta {
	position: relative;
	z-index: 1;
	margin: 0;
	padding: 14px 32px;
	font-size: 18px;
}

.hero__overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.45);
}

.hero__title {
	position: relative;
	z-index: 1;
	color: var(--cream);
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 400;
	max-width: 900px;
	padding: 0 24px;
}

/* ============ Service / Donate row ============ */
.service-donate {
	background: var(--slate);
	color: var(--cream);
	padding: 4em 0;
}

.service-donate__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5em;
}

.card--outline .eyebrow {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-size: 25px;
	font-weight: 400;
	color: var(--cream);
	margin-bottom: 0.5em;
}

.info-row {
	display: flex;
	gap: 1em;
	align-items: flex-start;
	margin-bottom: 1.2em;
}

.info-row strong {
	display: block;
	font-size: 25px;
	font-weight: 400;
	font-family: var(--font-heading);
}

.info-row__icon {
	font-size: 1.4rem;
	display: inline-flex;
	color: var(--cream);
	flex-shrink: 0;
}

.info-row__icon--badge {
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--cream);
	color: var(--slate);
}

.card--donate {
	background: transparent;
	box-shadow: none;
	text-align: center;
	color: var(--cream);
}

.card--donate img {
	border-radius: 14px;
	margin-bottom: 1.2em;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
}

.card--donate hr {
	border: none;
	border-top: 2px solid var(--cream);
	width: 60px;
	margin: 0.8em auto 1.2em;
}

/* ============ Sermons preview ============ */
.sermons-preview {
	background: var(--gray);
	color: var(--cream);
	padding: 4em 0;
	text-align: center;
}

.sermons-preview h2 { color: var(--cream); }

.sermons-preview__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
}

.sermon-card {
	background: var(--cream);
	border-radius: 15px;
	padding: 2em;
	text-align: center;
	color: var(--ink);
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	display: flex;
	flex-direction: column;
}

.sermon-card .btn.btn--pill {
	margin-top: auto;
	align-self: center;
}

.sermon-card h3 {
	color: var(--ink);
	font-size: 30px;
	font-weight: 400;
}

.sermon-card p { font-size: 18px; font-weight: 300; }

.sermons-preview__all {
	background: var(--slate);
	padding: 2.5em 24px;
	text-align: center;
}

.sermons-preview__all h2 { color: var(--cream); margin-bottom: 1em; }

/* ============ About Us section ============ */
.about-us {
	background: var(--sage);
	padding: 5em 0 6em;
	position: relative;
	z-index: 1;
}

.about-us__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5em;
	align-items: center;
}

.about-us__image img {
	border-radius: 15px;
	width: 100%;
	height: 100%;
	object-fit: cover;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
}

.about-us__card {
	background: var(--cream);
	text-align: center;
}

.about-us__buttons {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
}

.about-us__buttons .btn { margin: 0; }

/* ============ Elders ============ */
.elders-section {
	background: var(--olive);
	padding: 5em 0;
	text-align: center;
}

.section-intro {
	max-width: 800px;
	margin: 0 auto 2em;
}

.elders-grid {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.75em;
	text-align: left;
}

.elder-card {
	flex: 0 1 calc((100% - 2 * 1.75em) / 3);
	background: var(--white);
	border-radius: 15px;
	padding: 15px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
}

.elder-card__photo {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 12px;
	margin-bottom: 1em;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
}

.elder-card__name { font-size: 19px; font-weight: 700; margin-bottom: 0.15em; }

.elder-card__role {
	color: var(--ink);
	font-weight: 700;
	font-size: 20px;
	text-transform: none;
	letter-spacing: normal;
	margin-bottom: 0.8em;
}

.elder-card__more summary {
	cursor: pointer;
	list-style: none;
}

.elder-card__more summary::-webkit-details-marker { display: none; }

.elder-card__bio-preview {
	position: relative;
	font-size: 0.92rem;
	margin-bottom: 0.5em;
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.elder-card__bio-preview::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 1.4em;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--white));
	pointer-events: none;
}

.elder-card__more.is-open .elder-card__bio-preview { display: none; }

/* The top toggle (in summary) only shows while collapsed — once open,
   the bottom "Read Less" trigger takes over so the control sits after
   the full bio text instead of staying pinned above it. */
.elder-card__more.is-open summary .elder-card__toggle { display: none; }

.elder-card__toggle {
	display: inline-block;
	color: var(--sage-dark);
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
}

.elder-card__toggle--close { margin-top: 0.6em; }

.elder-card__toggle::after { content: " \2304"; transition: transform 0.3s ease; display: inline-block; }

.elder-card__more.is-open .elder-card__toggle::after { transform: rotate(180deg); }

.elder-card__full {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}

.elder-card__full p { font-size: 0.92rem; margin-bottom: 0.8em; }

/* ============ Leadership (About page) ============ */
.leadership-section {
	background: var(--gray-light);
	color: var(--ink);
	padding: 5em 0;
	text-align: center;
}

/* ============ About intro (About page) ============ */
.about-intro {
	background: var(--olive);
	padding: 5em 0;
	text-align: center;
}

/* ============ Statement of Faith ============ */
.faith-section {
	background: var(--olive);
	padding: 5em 0;
	text-align: center;
}

.faith-list { text-align: left; }

.faith-item {
	background: var(--white);
	border: 1px solid rgba(10, 10, 10, 0.1);
	border-radius: 12px;
	margin-bottom: 1em;
	padding: 1.2em 1.5em;
}

.faith-item summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	cursor: pointer;
	list-style: none;
	text-align: left;
}

.faith-item__title {
	font-family: var(--font-heading);
	font-weight: 400;
	font-size: 25px;
}

.faith-item summary::-webkit-details-marker { display: none; }

.faith-item__icon {
	transition: transform 0.3s ease;
	color: var(--sage-dark);
	font-size: 1.4rem;
}

.faith-item.is-open .faith-item__icon { transform: rotate(45deg); }

.scripture-ref {
	color: var(--sage-dark);
	text-decoration: underline dotted;
	text-decoration-thickness: 1px;
	cursor: help;
}

.scripture-ref:hover { color: var(--sage-darker); }

.scripture-popup {
	display: none;
	position: fixed;
	width: 340px;
	height: 280px;
	background: var(--white);
	border-radius: 10px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	z-index: 9999;
	overflow: hidden;
}

.scripture-popup iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.faith-item__body {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}

.faith-item__body > p:first-child { margin-top: 1em; }

/* ============ Get in touch CTA ============ */
.cta-touch {
	position: relative;
	background-size: cover;
	background-position: center;
	padding: 6em 24px;
	display: flex;
	justify-content: center;
}

.cta-touch__card {
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 600px;
}

/* ============ Speakers & Events page ============ */
.events-intro {
	background: var(--olive);
	padding: 5em 0;
	text-align: center;
}

.events-list {
	background: var(--cream);
	padding: 5em 0;
}

.events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
	gap: 2em;
}

.event-card {
	display: flex;
	gap: 1.5em;
	background: var(--white);
	border-radius: 15px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	padding: 1.75em;
}

.event-card__date {
	flex-shrink: 0;
	width: 120px;
	background: var(--sage-dark);
	color: var(--white);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 1em;
}

.event-card__date-label {
	font-family: var(--font-heading);
	font-size: 28px;
	line-height: 1.1;
}

.event-card__time {
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-top: 0.4em;
}

.event-card__body h3 { font-size: 28px; margin-bottom: 0.3em; }

.event-card__location {
	color: var(--sage-dark);
	font-weight: 700;
	font-size: 15px;
	margin-bottom: 0.6em;
}

.event-card--empty {
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 480px;
	margin: 0 auto;
}

.event-card--empty a { color: var(--sage-dark); text-decoration: underline; }

.events-service {
	background: var(--slate);
	color: var(--cream);
	padding: 5em 0;
}

.events-service__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2.5em;
}

.events-cta-card { text-align: center; color: var(--ink); }

/* ============ Single post (article) ============ */
.container--article {
	max-width: 700px;
}

.article__header {
	background: var(--olive);
	padding: 4em 0 3em;
	text-align: left;
}

.article__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 14px;
	font-weight: 700;
	color: var(--sage-darker);
	margin-bottom: 0.6em;
}

.article__title {
	font-size: clamp(2rem, 4.5vw, 3rem);
	text-align: left;
	margin-bottom: 0.5em;
}

.article__thumb {
	margin-top: -2.5em;
	margin-bottom: 3em;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
}

.article__thumb img {
	width: 100%;
	height: auto;
}

.article__video {
	margin-top: -2.5em;
	margin-bottom: 3em;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	aspect-ratio: 16 / 9;
}

.article__video iframe {
	width: 100%;
	height: 100%;
	display: block;
	border: none;
}

.article__transcript {
	padding: 3em 0 1em;
}

.article__transcript summary {
	list-style: none;
	cursor: pointer;
}

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

.article__transcript-preview {
	position: relative;
	max-height: 8.6em;
	overflow: hidden;
	margin-bottom: 0.8em;
}

.article__transcript-preview::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3em;
	background: linear-gradient(to bottom, rgba(255, 251, 234, 0), var(--cream));
	pointer-events: none;
}

.article__transcript.is-open .article__transcript-preview { display: none; }

.article__transcript-full {
	overflow: hidden;
	max-height: 0;
	transition: max-height 0.35s ease;
}

.article__toggle {
	display: inline-block;
	color: var(--sage-dark);
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
}

.article__toggle--close { margin-top: 1em; }

.article__toggle::after { content: " \2304"; transition: transform 0.3s ease; display: inline-block; }

.article__transcript.is-open .article__toggle::after { transform: rotate(180deg); }

.article__body {
	padding: 0;
}

.article__body p {
	margin-bottom: 1.3em;
}

.article__body p:first-of-type {
	font-size: 1.3em;
	line-height: 1.6;
	color: var(--ink);
}

.article__body h2,
.article__body h3 {
	text-align: left;
	margin-top: 1.6em;
}

.article__body h2 { font-size: 1.8rem; }

.article__body h3 { font-size: 1.4rem; font-weight: 700; }

.article__body blockquote {
	margin: 1.6em 0;
	padding: 0.2em 1.5em;
	border-left: 3px solid var(--sage-dark);
	font-style: italic;
	color: var(--sage-darker);
}

.article__back {
	display: inline-block;
	margin-bottom: 4em;
	color: var(--sage-dark);
	font-weight: 600;
	transition: color 0.2s ease;
}

.article__back:hover { color: var(--sage-darker); }

/* ============ Sermons archive (posts page + category archive) ============ */
.sermons-hero {
	background: var(--olive);
	padding: 4em 0 3em;
	text-align: center;
}

.sermons-hero__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.12em;
	font-size: 14px;
	font-weight: 700;
	color: var(--sage-darker);
	margin-bottom: 0.6em;
}

.sermons-archive {
	background: var(--gray);
	padding: 5em 0 6em;
}

.sermons-archive > .container > h2 { color: var(--cream); text-align: center; }

.sermons-archive__grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 2.5em;
	align-items: start;
	margin-top: 2.5em;
}

.sermon-list-card {
	background: var(--white);
	border-radius: 15px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	padding: 1.75em 2em;
	margin-bottom: 1.75em;
}

.sermon-list-card__title {
	font-size: 1.6rem;
	text-align: left;
	margin-bottom: 0.3em;
}

.sermon-list-card__title a {
	transition: color 0.2s ease;
}

.sermon-list-card__title a:hover { color: var(--sage-dark); }

.sermon-list-card__date {
	color: var(--sage-dark);
	font-weight: 700;
	font-size: 14px;
	margin-bottom: 0.8em;
}

.sermon-list-card__excerpt {
	color: var(--ink);
	margin-bottom: 0.8em;
}

.sermon-list-card__more {
	color: var(--sage-dark);
	font-weight: 600;
	transition: color 0.2s ease;
}

.sermon-list-card__more:hover { color: var(--sage-darker); }

.sermons-pagination {
	display: flex;
	justify-content: space-between;
	margin-top: 2em;
}

.sermons-pagination a {
	color: var(--cream);
	font-weight: 600;
	transition: color 0.2s ease;
}

.sermons-pagination a:hover { color: var(--sage); }

.sermon-sidebar {
	background: var(--cream);
	border-radius: 15px;
	box-shadow: 6px 6px 18px rgba(0, 0, 0, 0.3);
	padding: 2em;
	text-align: center;
}

.sermon-sidebar h2 { font-size: 1.6rem; margin-bottom: 0.6em; }

.sermon-sidebar__links {
	display: flex;
	flex-direction: column;
	gap: 0.75em;
}

.sermon-sidebar__link { margin: 0; }

.sermons-archive .article__back {
	display: inline-block;
	margin-top: 1em;
	color: var(--cream);
	font-weight: 600;
}

.sermons-archive .article__back:hover { color: var(--sage); }

/* ============ Contact page ============ */
.contact-info {
	background: var(--cream);
	padding: 4em 0;
}

.contact-info__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 2em;
	margin-bottom: 2em;
}

.contact-info__grid h2 { font-size: 40px; }

.card--donate-strip {
	text-align: center;
}

.contact-link { color: var(--sage-dark); }

/* ============ Privacy page ============ */
.privacy-section {
	background: var(--olive);
	padding: 4em 0 6em;
}

.privacy-section h1 { margin-bottom: 1.2em; }

.privacy-section h3 {
	margin-top: 1.6em;
	font-size: 24px;
	font-weight: 700;
	text-align: left;
}

.privacy-section ul { padding-left: 1.4em; }

/* ============ Footer ============ */
.site-footer {
	background: var(--sage);
	padding: 4em 24px;
}

.site-footer__card {
	max-width: 1200px;
	margin: 0 auto;
	background: var(--cream);
	border-radius: 24px;
	padding: 3em;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 2.5em;
}

.footer-col--logo img { height: 140px; width: auto; }

.footer-col h4 {
	font-size: 25px;
	font-weight: 400;
	text-decoration: underline;
	margin-bottom: 0.8em;
}

.footer-col ul,
.footer-col a { font-size: 18px; font-weight: 300; }

.footer-col ul a {
	transition: color 0.2s ease;
}

.footer-col ul a:hover {
	color: var(--sage-darker);
	text-decoration: underline;
}

.footer-col ul {
	list-style: none;
	padding: 0;
	margin: 0 0 1em;
}

.footer-col li { margin-bottom: 0.5em; }

.footer-social-row {
	display: flex;
	gap: 0.6em;
	margin-bottom: 1em;
}

.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 8px;
	background: var(--sage-dark);
	color: var(--white);
	transition: background 0.2s ease, transform 0.15s ease;
}

.footer-social:hover {
	background: var(--sage-darker);
	transform: translateY(-1px);
}

/* ============ Responsive ============ */
@media (max-width: 900px) {
	.service-donate__grid,
	.sermons-preview__grid,
	.about-us__grid,
	.contact-info__grid,
	.events-service__grid,
	.sermons-archive__grid {
		grid-template-columns: 1fr;
	}

	.event-card {
		flex-direction: column;
	}

	.event-card__date {
		width: 100%;
		flex-direction: row;
		gap: 0.6em;
	}

	.site-footer__card {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer-col--logo { display: flex; justify-content: center; }
}

@media (max-width: 560px) {
	.elder-card {
		flex-basis: 100%;
	}

	.site-nav {
		gap: 1.2em;
		font-size: 0.9rem;
	}
}

/* CRAFT build */
.bg-home { background-image: url('/assets/images/heroes/hero-home-e1f5b931e0c8faf0.jpg'); }
.bg-about { background-image: url('/assets/images/heroes/hero-about-34bd0c6924a68f19.jpg'); }
.bg-contact { background-image: url('/assets/images/heroes/hero-contact-1ec7f77394a34f50.jpg'); }
.site-footer__credit { max-width: 1200px; margin: 1.5em auto 0; text-align: center; font-size: 0.9rem; color: var(--ink); }
.site-footer__credit a { color: inherit; }
body.page--ui:has(#gtcc-page) { margin: 0; padding: 0; font-family: var(--font-body); font-size: 18px; font-weight: 300; color: var(--ink); background: var(--cream); line-height: 1.8; }
