/*
Theme Name: Single Parent Fellowship
Theme URI: https://www.singleparentfellowship.com/
Description: Child theme of Hello Elementor for Single Parent Fellowship, Inc. Page templates are driven by ACF Pro fields and events use The Events Calendar. New sites: `wp iq-import run`. Upgrading a site built by an earlier version: `wp iq-import revise`.
Author: IQnection
Author URI: https://www.iqnection.com/
Template: hello-elementor
Version: 2.3.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Tokens — warm, welcoming palette built on the original gold, olive and
   parchment colours
   ========================================================================== */

:root {
	--spf-olive: #3d331a;
	--spf-olive-soft: #5a4a1f;
	--spf-gold: #f1d570;
	--spf-gold-light: #f8e7a6;
	--spf-parchment: #fbf7d9;
	--spf-cream: #fdfaf0;
	--spf-sand: #efe6c8;
	--spf-terracotta: #b5532a;
	--spf-terracotta-dark: #93421f;
	--spf-sage: #6f7a4a;
	--spf-ink: #2b2414;
	--spf-muted: #6a5f45;
	--spf-white: #fff;

	--font-heading: "Lora", Georgia, "Times New Roman", serif;
	--font-body: "Nunito", "Trebuchet MS", Arial, sans-serif;

	--container: 1140px;
	--container-narrow: 860px;
	--gutter: clamp(16px, 4vw, 40px);
	--section-space: clamp(40px, 6vw, 72px);
	--radius: 16px;
	--shadow: 0 10px 30px rgba(61, 51, 26, .10);
	--shadow-lift: 0 16px 36px rgba(61, 51, 26, .16);
}

/* ==========================================================================
   Base
   ========================================================================== */

body {
	margin: 0;
	background: var(--spf-cream);
	color: var(--spf-ink);
	font-family: var(--font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
}

/* Hello Elementor boxes these at 1140px; this theme's sections manage their own widths. */
body .site-header:not(.dynamic-header),
body .site-footer:not(.dynamic-footer),
body:not([class*="elementor-page-"]) .site-main {
	max-width: none;
	padding-inline: 0;
}

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

a {
	color: var(--spf-terracotta-dark);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

a:hover,
a:focus {
	color: var(--spf-olive);
}

h1, h2, h3, h4 {
	font-family: var(--font-heading);
	font-weight: 600;
	line-height: 1.25;
	color: var(--spf-olive);
	margin: 0 0 .6em;
}

p {
	margin: 0 0 1em;
}

:focus-visible {
	outline: 3px solid var(--spf-terracotta);
	outline-offset: 3px;
}

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

.skip-link:focus {
	clip: auto;
	width: auto;
	height: auto;
	z-index: 1000;
	top: 8px;
	left: 8px;
	padding: 8px 16px;
	background: var(--spf-white);
}

.container {
	width: 100%;
	max-width: var(--container);
	margin: 0 auto;
	padding: 0 var(--gutter);
	box-sizing: border-box;
}

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

.text-center,
.has-text-align-center {
	text-align: center;
}

svg {
	flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--spf-olive-soft);
	color: var(--spf-white);
	font-family: var(--font-body);
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
}

.button svg {
	width: 18px;
	height: 18px;
}

.button:hover,
.button:focus {
	transform: translateY(-1px);
	box-shadow: var(--shadow);
	color: var(--spf-white);
	text-decoration: none;
}

.button--accent {
	background: var(--spf-terracotta);
}

.button--accent:hover,
.button--accent:focus {
	background: var(--spf-terracotta-dark);
}

.button--olive {
	background: var(--spf-olive);
}

.button--olive:hover,
.button--olive:focus {
	background: var(--spf-olive-soft);
}

.button--light {
	background: var(--spf-gold);
	color: var(--spf-olive);
}

.button--light:hover,
.button--light:focus {
	background: var(--spf-gold-light);
	color: var(--spf-olive);
}

.button--outline {
	background: transparent;
	border-color: var(--spf-olive-soft);
	color: var(--spf-olive);
}

.button--outline:hover,
.button--outline:focus {
	background: var(--spf-olive-soft);
	color: var(--spf-white);
}

.button--large {
	padding: 15px 30px;
	font-size: 1.08rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
	position: relative;
	z-index: 10;
	background: linear-gradient(180deg, #f5df86 0%, var(--spf-gold) 100%);
	border-bottom: 4px solid var(--spf-olive-soft);
	box-shadow: 0 4px 18px rgba(61, 51, 26, .12);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px 24px;
	max-width: 1260px;
	margin: 0 auto;
	padding: 12px var(--gutter);
	box-sizing: border-box;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--spf-olive);
	text-decoration: none;
}

.brand:hover,
.brand:focus {
	color: var(--spf-olive);
}

.brand__logo {
	width: 56px;
	height: 56px;
	border-radius: 12px;
}

.brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.2;
}

.brand__name {
	white-space: nowrap;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.brand__tagline {
	font-size: .85rem;
	color: var(--spf-muted);
}

.site-nav__toggle {
	display: none;
}

.site-nav__menu {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	justify-content: flex-end;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav__menu a {
	display: block;
	padding: 8px 10px;
	border-radius: 999px;
	color: var(--spf-olive);
	font-weight: 700;
	font-size: .93rem;
	white-space: nowrap;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.site-nav__menu a:hover,
.site-nav__menu a:focus {
	background: rgba(255, 255, 255, .55);
	color: var(--spf-olive);
}

.site-nav__menu .current-menu-item > a {
	background: var(--spf-olive);
	color: var(--spf-gold);
}

.site-nav__menu .is-cta > a {
	margin-left: 6px;
	padding: 8px 18px;
	background: var(--spf-terracotta);
	color: var(--spf-white);
}

.site-nav__menu .is-cta > a:hover,
.site-nav__menu .is-cta > a:focus,
.site-nav__menu .is-cta.current-menu-item > a {
	background: var(--spf-terracotta-dark);
	color: var(--spf-white);
}

.site-nav__menu .is-cta--secondary > a {
	background: var(--spf-olive);
	color: var(--spf-gold);
}

.site-nav__menu .is-cta--secondary > a:hover,
.site-nav__menu .is-cta--secondary > a:focus,
.site-nav__menu .is-cta--secondary.current-menu-item > a {
	background: var(--spf-olive-soft);
	color: var(--spf-white);
}

@media (max-width: 1180px) {
	.site-header__inner {
		flex-wrap: wrap;
	}

	.site-nav {
		margin-left: auto;
	}

	.site-nav__toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 16px;
		border: 2px solid var(--spf-olive);
		border-radius: 999px;
		background: transparent;
		color: var(--spf-olive);
		font-family: var(--font-body);
		font-weight: 700;
		font-size: 1rem;
		cursor: pointer;
	}

	.site-nav__toggle svg {
		width: 20px;
		height: 20px;
	}

	/* Overrides Hello Elementor's pink button:hover/focus reset. */
	.site-nav__toggle:hover,
	.site-nav__toggle:focus,
	.site-nav.is-open .site-nav__toggle {
		border-color: var(--spf-olive);
		background: var(--spf-olive);
		color: var(--spf-gold);
	}

	/* The open menu drops down below the header so the toggle never moves. */
	.site-nav__menu {
		display: none;
		position: absolute;
		top: calc(100% + 4px);
		left: 0;
		right: 0;
		padding: 10px var(--gutter) 16px;
		background: var(--spf-gold);
		box-shadow: 0 14px 24px rgba(61, 51, 26, .18);
	}

	.site-nav.is-open .site-nav__menu {
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
	}

	.site-nav__menu a {
		padding: 12px 16px;
		border-radius: 10px;
	}

	.site-nav__menu .is-cta > a {
		margin: 6px 0 0;
		text-align: center;
	}
}

/* Keep the logo, name and menu button on one row on phones. */
@media (max-width: 520px) {
	.site-header__inner {
		flex-wrap: nowrap;
		gap: 12px;
	}

	.brand {
		gap: 10px;
		min-width: 0;
	}

	.brand__logo {
		width: 44px;
		height: 44px;
	}

	.brand__name {
		white-space: normal;
		font-size: 1rem;
	}

	.brand__tagline {
		display: none;
	}

	.site-nav__toggle {
		padding: 10px 12px;
	}

	.site-nav__toggle span {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(1px, 1px, 1px, 1px);
		white-space: nowrap;
	}
}

/* ==========================================================================
   Sections, cards, page hero
   ========================================================================== */

.section {
	padding: var(--section-space) 0;
}

.section--tight {
	padding-top: clamp(24px, 4vw, 40px);
}

.section-title {
	font-size: clamp(1.6rem, 3.4vw, 2.15rem);
}

.card {
	border-radius: var(--radius);
	padding: clamp(24px, 4vw, 44px);
	box-shadow: var(--shadow);
	box-sizing: border-box;
}

.card--parchment {
	background: var(--spf-parchment);
	border: 1px solid var(--spf-sand);
}

.card--white {
	background: var(--spf-white);
}

.page-hero {
	padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 5vw, 48px);
	background:
		radial-gradient(circle at 15% 20%, rgba(241, 213, 112, .45), transparent 55%),
		radial-gradient(circle at 85% 0%, rgba(181, 83, 42, .12), transparent 45%),
		var(--spf-cream);
	text-align: center;
}

.page-hero__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3rem);
}

.page-hero__lead {
	max-width: 620px;
	margin: 12px auto 0;
	font-size: 1.15rem;
	color: var(--spf-muted);
}

.page-hero__lead p:last-child {
	margin-bottom: 0;
}

.entry__content > :last-child {
	margin-bottom: 0;
}

.cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 22px;
	margin-top: 1.6em;
}

.cta-row__note {
	flex: 1 1 260px;
	font-size: .95rem;
	color: var(--spf-muted);
}

.cta-row__note p:last-child {
	margin: 0;
}

/* ==========================================================================
   Home
   ========================================================================== */

.home-hero {
	padding: clamp(36px, 6vw, 64px) 0 clamp(28px, 4vw, 40px);
	background:
		radial-gradient(circle at 10% 10%, rgba(241, 213, 112, .55), transparent 50%),
		radial-gradient(circle at 90% 30%, rgba(181, 83, 42, .14), transparent 45%),
		var(--spf-cream);
}

.home-hero__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(16px, 4vw, 32px);
	text-align: left;
}

.home-hero__logo {
	width: clamp(96px, 14vw, 150px);
	height: auto;
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.home-hero__title {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3.2rem);
}

.home-hero__tagline {
	margin: 4px 0 0;
	font-size: clamp(1.05rem, 2vw, 1.25rem);
	color: var(--spf-muted);
}

.quick-links {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: clamp(14px, 2.5vw, 24px);
	margin: clamp(28px, 4vw, 44px) 0 0;
	padding: 0;
	list-style: none;
}

.quick-link {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--spf-white);
	border: 1px solid var(--spf-sand);
	box-shadow: var(--shadow);
	color: var(--spf-ink);
	text-decoration: none;
	box-sizing: border-box;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.quick-link:hover,
.quick-link:focus {
	transform: translateY(-3px);
	box-shadow: var(--shadow-lift);
	border-color: var(--spf-gold);
	color: var(--spf-ink);
}

.quick-link__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--spf-gold-light);
	color: var(--spf-terracotta-dark);
}

.quick-link__icon svg {
	width: 26px;
	height: 26px;
}

.quick-link__title {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--spf-olive);
}

.quick-link__text {
	flex: 1;
	margin: 6px 0 14px;
	color: var(--spf-muted);
	font-size: .98rem;
}

.quick-link__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 800;
	color: var(--spf-terracotta-dark);
}

.quick-link__cta svg {
	width: 18px;
	height: 18px;
	transition: transform .18s ease;
}

.quick-link:hover .quick-link__cta svg {
	transform: translateX(3px);
}

.section--spotlight {
	padding-top: clamp(16px, 3vw, 32px);
	padding-bottom: 0;
}

.section--spotlight .section-title {
	text-align: center;
}

.event-card {
	display: flex;
	gap: clamp(16px, 3vw, 28px);
	padding: clamp(20px, 3.5vw, 32px);
	border-radius: var(--radius);
	background: var(--spf-white);
	border-left: 6px solid var(--spf-terracotta);
	box-shadow: var(--shadow);
}

.event-card__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 86px;
	height: 96px;
	border-radius: 14px;
	background: var(--spf-olive);
	color: var(--spf-gold);
	line-height: 1.1;
}

.event-card__month,
.event-card__weekday {
	font-size: .8rem;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.event-card__day {
	font-family: var(--font-heading);
	font-size: 2.2rem;
	font-weight: 700;
	color: var(--spf-white);
}

.event-card__title {
	margin-bottom: .3em;
	font-size: clamp(1.3rem, 2.6vw, 1.6rem);
}

.event-card__title a {
	color: var(--spf-olive);
	text-decoration: none;
}

.event-card__title a:hover,
.event-card__title a:focus {
	text-decoration: underline;
}

.event-card__meta {
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	color: var(--spf-muted);
}

.event-card__meta li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.event-card__meta svg {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	color: var(--spf-terracotta);
}

.event-card__excerpt {
	margin-bottom: 16px;
}

@media (max-width: 560px) {
	.event-card {
		flex-direction: column;
	}

	.event-card__date {
		flex-direction: row;
		gap: 8px;
		height: auto;
		padding: 8px 14px;
		align-self: flex-start;
	}

	.event-card__day {
		font-size: 1.4rem;
	}
}

.deadline-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 8px 14px;
	border-radius: 999px;
	background: #fbe3d6;
	color: var(--spf-terracotta-dark);
	font-weight: 800;
	font-size: .95rem;
	line-height: 1.35;
}

.deadline-pill svg {
	width: 18px;
	height: 18px;
}

.about__header {
	text-align: center;
	margin-bottom: 1.2em;
}

.about__eyebrow {
	margin: 0;
	font-family: var(--font-heading);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--spf-muted);
}

.about__intro p {
	text-indent: 1.4em;
}

.offerings {
	margin-top: 2em;
	padding-top: 1.6em;
	border-top: 1px dashed var(--spf-sand);
}

.offerings__title {
	font-style: italic;
	font-size: 1.25rem;
}

.offerings ul {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 10px 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.offerings li {
	position: relative;
	padding-left: 32px;
	font-weight: 600;
}

.offerings li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .35em;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--spf-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a4a1f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.section--donate {
	padding: clamp(32px, 5vw, 56px) 0;
	background: var(--spf-olive);
	color: var(--spf-parchment);
}

.donate-band {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px 28px;
	text-align: center;
}

.donate-band__icon {
	display: inline-flex;
	color: var(--spf-gold);
}

.donate-band__icon svg {
	width: 44px;
	height: 44px;
}

.donate-band__text {
	font-family: var(--font-heading);
	font-style: italic;
	font-size: clamp(1.1rem, 2.2vw, 1.35rem);
}

.donate-band__text p {
	margin: 0;
}

.contact-card {
	text-align: center;
}

.contact-card__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin-top: 1em;
}

.contact-card__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 24px;
	border-radius: var(--radius);
	background: var(--spf-white);
	border: 1px solid var(--spf-sand);
	box-shadow: var(--shadow);
}

.contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	margin-bottom: 12px;
	border-radius: 50%;
	background: var(--spf-gold-light);
	color: var(--spf-terracotta-dark);
}

.contact-card__icon svg {
	width: 24px;
	height: 24px;
}

.contact-card__item p {
	margin: 0 0 .5em;
}

/* ==========================================================================
   Content with Image
   ========================================================================== */

.feature--beside {
	display: grid;
	grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 36px);
	align-items: center;
	margin-bottom: 2em;
}

.feature__figure {
	margin: 0;
}

.feature__figure img {
	display: block;
	width: 100%;
}

.feature__figure--after {
	max-width: 440px;
	margin: 2em auto 0;
}

.feature__figure--after img {
	border-radius: var(--radius);
	box-shadow: var(--shadow-lift);
}

.feature__intro > :last-child {
	margin-bottom: 0;
}

.entry .indented p {
	text-indent: 1.4em;
}

.entry__content .is-alert,
.entry__content .is-alert a {
	color: var(--spf-terracotta-dark);
	font-weight: 700;
	font-size: 1.1rem;
}

.entry__content hr {
	margin: 2em 0 0;
	border: 0;
	border-top: 2px solid var(--spf-sand);
}

@media (max-width: 640px) {
	.feature--beside {
		grid-template-columns: 1fr;
		justify-items: center;
	}

	.feature--beside .feature__figure {
		max-width: 220px;
	}
}

/* ==========================================================================
   Volunteer
   ========================================================================== */

.volunteer__banner {
	margin: 0 0 clamp(20px, 3vw, 32px);
}

.volunteer__banner img {
	display: block;
	width: 100%;
	max-height: 280px;
	object-fit: cover;
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.day-list {
	display: grid;
	gap: 12px;
	margin: 0 0 1.6em;
	padding: 0;
	list-style: none;
}

.day-list__item {
	display: grid;
	grid-template-columns: auto minmax(180px, 280px) 1fr;
	align-items: center;
	gap: 6px 16px;
	padding: 14px 18px;
	border-radius: 12px;
	background: var(--spf-white);
	border: 1px solid var(--spf-sand);
}

.day-list__icon {
	display: inline-flex;
	color: var(--spf-terracotta);
}

.day-list__icon svg {
	width: 24px;
	height: 24px;
}

.day-list__date {
	font-weight: 800;
	color: var(--spf-olive);
}

@media (max-width: 640px) {
	.day-list__item {
		grid-template-columns: auto 1fr;
	}

	.day-list__task {
		grid-column: 2;
	}
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
	gap: clamp(20px, 4vw, 36px);
	align-items: start;
}

.contact-layout__details p {
	margin: 0 0 1em;
}

.contact-layout__details strong {
	font-family: var(--font-heading);
	color: var(--spf-olive);
}

@media (max-width: 820px) {
	.contact-layout {
		grid-template-columns: 1fr;
	}
}

.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="tel"],
.gform_wrapper textarea {
	border-radius: 10px !important;
	border: 1px solid #d9cfac !important;
	background: var(--spf-cream) !important;
	padding: 12px 14px !important;
	font-family: var(--font-body) !important;
	font-size: 1rem !important;
}

.gform_wrapper .gfield_label {
	font-weight: 700 !important;
	color: var(--spf-olive) !important;
}

.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_footer button {
	padding: 13px 30px !important;
	border: 0 !important;
	border-radius: 999px !important;
	background: var(--spf-terracotta) !important;
	color: var(--spf-white) !important;
	font-family: var(--font-body) !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	cursor: pointer;
}

/* ==========================================================================
   The Events Calendar
   ========================================================================== */

.tribe-events-pg-template,
#tribe-events-pg-template {
	max-width: var(--container) !important;
	margin: 0 auto !important;
	padding: clamp(28px, 4vw, 48px) var(--gutter) var(--section-space) !important;
	box-sizing: border-box;
}

body .tribe-common .tribe-common-l-container,
body .tribe-events .tribe-events-l-container {
	max-width: var(--container) !important;
	margin: 0 auto !important;
	padding: clamp(28px, 4vw, 48px) var(--gutter) var(--section-space) !important;
	box-sizing: border-box;
}

.tribe-events-before-html .events-intro {
	margin-bottom: 1.5em;
	text-align: center;
}

.tribe-events-before-html .events-intro h1 {
	margin: 0;
	font-size: clamp(2rem, 5vw, 3rem);
}

.tribe-events-before-html .events-intro p {
	margin: .3em 0 0;
	font-size: 1.15rem;
	color: var(--spf-muted);
}

.tribe-common .tribe-common-c-btn,
.tribe-common a.tribe-common-c-btn {
	border-radius: 999px !important;
}

.tribe-events .tribe-events-header {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.tribe-events .tribe-events-calendar-list__event-row {
	margin-left: 0 !important;
	margin-right: 0 !important;
	margin-bottom: 20px;
	padding: 20px;
	border-radius: var(--radius);
	background: var(--spf-white);
	box-shadow: var(--shadow);
}

.tribe-events .tribe-events-calendar-list__event-title a,
.tribe-events .tribe-events-calendar-list__event-title-link {
	font-family: var(--font-heading) !important;
	color: var(--spf-olive) !important;
}

.tribe-events .tribe-events-calendar-list__event-row .deadline-pill {
	margin-top: 10px;
}

/* Single event */
.single-tribe_events .tribe-events-single {
	max-width: 900px;
	margin: 0 auto;
}

.single-tribe_events .tribe-events-before-html {
	display: none;
}

.single-tribe_events .tribe-events-single-event-title {
	font-family: var(--font-heading);
	font-size: clamp(2rem, 5vw, 2.8rem);
	color: var(--spf-olive);
}

.single-tribe_events .tribe-events-schedule {
	margin-bottom: 1.2em;
}

.single-tribe_events .tribe-events-schedule h2 {
	font-family: var(--font-body);
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--spf-muted);
}

.single-tribe_events .tribe-events-single-event-description {
	font-size: 1.1rem;
}

.deadline-banner {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 1.4em;
	padding: 16px 20px;
	border-radius: 12px;
	background: #fbe3d6;
	border: 2px solid var(--spf-terracotta);
	color: var(--spf-terracotta-dark);
	font-size: clamp(1.05rem, 2.2vw, 1.25rem);
}

.deadline-banner svg {
	width: 28px;
	height: 28px;
}

.event-details {
	margin-top: 2em;
}

.event-details__section {
	margin-bottom: 2em;
}

.event-details__title {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(1.4rem, 3vw, 1.75rem);
}

.event-details__title svg {
	width: 26px;
	height: 26px;
	color: var(--spf-terracotta);
}

.schedule {
	margin: 0;
	padding: 0;
	list-style: none;
	border-radius: var(--radius);
	background: var(--spf-white);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.schedule__item {
	display: grid;
	grid-template-columns: minmax(110px, 160px) 1fr;
	gap: 12px;
	padding: 14px 20px;
	border-bottom: 1px solid var(--spf-sand);
}

.schedule__item:last-child {
	border-bottom: 0;
}

.schedule__item:nth-child(odd) {
	background: var(--spf-cream);
}

.schedule__time {
	font-weight: 800;
	color: var(--spf-terracotta-dark);
}

.registration-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 20px;
}

.registration-card {
	display: flex;
	flex-direction: column;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--spf-parchment);
	border: 1px solid var(--spf-sand);
	box-shadow: var(--shadow);
}

.registration-card__step {
	align-self: flex-start;
	margin-bottom: 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--spf-olive);
	color: var(--spf-gold);
	font-size: .78rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.registration-card__title {
	font-size: 1.35rem;
}

.registration-card__details {
	flex: 1;
}

.registration-card__details ul {
	padding-left: 1.2em;
}

.registration-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.registration-card__pending {
	margin: 0;
	padding: 10px 14px;
	border-radius: 10px;
	background: var(--spf-white);
	border: 1px dashed var(--spf-muted);
	font-weight: 700;
	color: var(--spf-muted);
}

.volunteer-callout {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 24px;
	padding: 24px;
	border-radius: var(--radius);
	background: var(--spf-olive);
	color: var(--spf-parchment);
}

.volunteer-callout__icon {
	display: inline-flex;
	color: var(--spf-gold);
}

.volunteer-callout__icon svg {
	width: 40px;
	height: 40px;
}

.volunteer-callout__text {
	flex: 1 1 280px;
}

.volunteer-callout__text p:last-child {
	margin: 0;
}

.volunteer-callout .button--olive {
	background: var(--spf-gold);
	color: var(--spf-olive);
}

.volunteer-callout .button--olive:hover,
.volunteer-callout .button--olive:focus {
	background: var(--spf-gold-light);
	color: var(--spf-olive);
}

.event-details__questions {
	padding: 18px 22px;
	border-left: 4px solid var(--spf-gold);
	background: var(--spf-white);
	border-radius: 0 12px 12px 0;
}

.event-details__questions p:last-child {
	margin: 0;
}

@media (max-width: 560px) {
	.schedule__item {
		grid-template-columns: 1fr;
		gap: 2px;
	}

	.registration-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
	margin-top: var(--section-space);
	background: var(--spf-olive);
	color: var(--spf-parchment);
}

.site-main + .site-footer {
	margin-top: 0;
}

.site-footer__inner {
	display: grid;
	grid-template-columns: 1.3fr 1.2fr 1fr 1fr;
	gap: 28px clamp(20px, 4vw, 48px);
	max-width: var(--container);
	margin: 0 auto;
	padding: clamp(40px, 6vw, 64px) var(--gutter) 28px;
	box-sizing: border-box;
}

.site-footer__name {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.3rem;
	color: var(--spf-gold);
}

.site-footer__heading {
	margin-bottom: .8em;
	font-family: var(--font-body);
	font-size: .85rem;
	font-weight: 800;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--spf-gold);
}

.site-footer a {
	color: var(--spf-parchment);
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus {
	color: var(--spf-gold);
	text-decoration: underline;
}

.contact-list,
.footer-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-list li {
	display: flex;
	gap: 10px;
	margin-bottom: 10px;
}

.contact-list svg {
	width: 18px;
	height: 18px;
	margin-top: 4px;
	color: var(--spf-gold);
}

.footer-menu li {
	margin-bottom: 6px;
}

.site-footer__hours p {
	margin: 0;
}

.site-footer__legal {
	margin: 0;
	padding: 18px var(--gutter);
	border-top: 1px solid rgba(251, 247, 217, .15);
	text-align: center;
	font-size: .85rem;
	color: rgba(251, 247, 217, .7);
}

@media (max-width: 900px) {
	.site-footer__inner {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.site-footer__inner {
		grid-template-columns: 1fr;
	}
}
