/* GraceCall Global Ministries: the site's look, rebuilt light.
   Palette and type are the ones the site already uses (Avada "Influencer" settings),
   kept so the new site reads as the same house. */

@font-face {
	font-family: "Rubik";
	src: url("../fonts/rubik.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: "Sacramento";
	src: url("../fonts/sacramento.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

:root {
	--blush: #eae1e4;   /* header, footer, page titles */
	--mist: #f6f4f5;    /* quiet section backgrounds */
	--paper: #ffffff;
	--flame: #ff3501;   /* the brand's orange-red */
	--flame-deep: #d92c00;
	--gold: #fbcf38;    /* light */
	--plum: #44405a;    /* body text, menu */
	--dusk: #625e7b;    /* secondary text */
	--ink: #2c293d;     /* deepest text, night sky */
	--night: #1b1828;
	--radius: 14px;
	--wrap: 1240px;
	--display: "Rubik", system-ui, -apple-system, "Segoe UI", sans-serif;
	--script: "Sacramento", "Brush Script MT", cursive;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-padding-top: 20px;
}

body {
	margin: 0;
	font-family: var(--display);
	font-size: 18px;
	line-height: 1.7;
	color: var(--plum);
	background: var(--paper);
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

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

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

a:hover {
	color: var(--flame);
}

:focus-visible {
	outline: 3px solid var(--gold);
	outline-offset: 3px;
	border-radius: 4px;
}

.wrap {
	width: min(var(--wrap), 100% - 40px);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

.skip-link:focus {
	left: 16px;
	top: 16px;
	z-index: 100;
	padding: 10px 16px;
	background: var(--paper);
}

/* ------------------------------------------------------------------ top bar: the notice and the social icons */
.topbar {
	background: var(--night);
	color: rgba(255, 255, 255, 0.86);
	font-size: 14px;
	line-height: 1.4;
}

.topbar .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 42px;
	padding: 6px 0;
}

.topbar-note {
	margin: 0;
}

.topbar-note a {
	color: var(--gold);
	font-weight: 600;
	text-decoration: none;
}

.topbar-note a:hover {
	text-decoration: underline;
	color: var(--gold);
}

.socials {
	display: flex;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.socials a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	color: rgba(255, 255, 255, 0.8);
}

.socials a:hover {
	color: var(--gold);
	background: rgba(255, 255, 255, 0.08);
}

.socials svg {
	width: 16px;
	height: 16px;
	fill: currentColor;
}

/* ------------------------------------------------------------------ header: logo, menu, Give */
.site-header {
	position: sticky;
	top: 0;
	z-index: 40;
	background: var(--blush);
	box-shadow: 0 1px 0 rgba(44, 41, 61, 0.08);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header > .wrap {
	display: flex;
	align-items: center;
	gap: 20px;
	min-height: 96px;
}

.brand {
	margin-right: auto;
}

.brand img {
	width: clamp(170px, 18vw, 236px);
}

.main-nav .menu {
	display: flex;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.main-nav .menu > li {
	position: relative;
}

.main-nav .menu > li > a {
	position: relative;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 10px 14px;
	border-radius: 999px;
	font-size: 17px;
	font-weight: 500;
	color: var(--ink);
	text-decoration: none;
}

.main-nav .menu > li > a:hover {
	background: rgba(255, 255, 255, 0.65);
	color: var(--ink);
}

.main-nav .menu > .current > a,
.main-nav .menu > .current-menu-ancestor > a {
	color: var(--flame);
}

.main-nav .menu > .current > a::before,
.main-nav .menu > .current-menu-ancestor > a::before {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	border-radius: 2px;
	background: var(--flame);
}

.main-nav .has-sub > a::after {
	content: "";
	width: 7px;
	height: 7px;
	border-right: 1.7px solid currentColor;
	border-bottom: 1.7px solid currentColor;
	transform: rotate(45deg) translate(-2px, -2px);
}

.main-nav .sub {
	position: absolute;
	top: calc(100% + 8px);
	left: 0;
	z-index: 20;
	min-width: 270px;
	margin: 0;
	padding: 10px;
	list-style: none;
	background: var(--paper);
	border-radius: 16px;
	box-shadow: 0 22px 50px rgba(44, 41, 61, 0.18);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}

.main-nav .sub::before {
	/* Keeps the menu open while the pointer crosses the gap. */
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 10px;
}

.main-nav .has-sub:hover > .sub,
.main-nav .has-sub:focus-within > .sub {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.main-nav .sub a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-size: 16px;
	color: var(--ink);
	text-decoration: none;
}

.main-nav .sub a:hover,
.main-nav .sub .current > a {
	background: var(--mist);
	color: var(--flame);
}

.main-nav .sub li:last-child:not(:first-child) {
	margin-top: 6px;
	padding-top: 6px;
	border-top: 1px solid var(--mist);
}

.btn-give {
	display: inline-flex;
	align-items: center;
	padding: 12px 24px;
	border-radius: 999px;
	background: var(--flame);
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 8px 20px rgba(255, 53, 1, 0.25);
}

.btn-give:hover {
	background: var(--flame-deep);
	color: #fff;
}

.nav-toggle,
.mobile-socials {
	display: none;
}

/* ------------------------------------------------------------------ buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-family: var(--display);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
}

.btn-flame {
	background: var(--flame);
	color: #fff;
}

.btn-flame:hover {
	background: var(--flame-deep);
	color: #fff;
}

.btn-glass {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.06);
}

.btn-glass:hover {
	color: var(--ink);
	background: var(--gold);
	border-color: var(--gold);
}

/* ------------------------------------------------------------------ the 2026 hero: dawn breaking
   Isaiah 60:1, "Arise, shine; for thy light is come". The section is a night sky; light rises
   from the horizon at its foot and lights the year from below. */
.dawn {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #fff;
	text-align: center;
	background:
		radial-gradient(120% 70% at 50% 118%, rgba(251, 207, 56, 0.55) 0%, rgba(255, 53, 1, 0.38) 26%, rgba(255, 53, 1, 0) 56%),
		linear-gradient(180deg, var(--night) 0%, var(--ink) 58%, #3a2338 100%);
	padding: clamp(70px, 10vw, 128px) 0 clamp(170px, 21vw, 250px);
}

/* Stars: three layers of tiny points, faint near the horizon. */
.dawn::before {
	content: "";
	position: absolute;
	inset: 0 0 35% 0;
	z-index: -1;
	background-image:
		radial-gradient(1.2px 1.2px at 12% 18%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 27% 42%, rgba(255, 255, 255, 0.8) 50%, transparent 51%),
		radial-gradient(1.4px 1.4px at 41% 12%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 58% 30%, rgba(255, 255, 255, 0.7) 50%, transparent 51%),
		radial-gradient(1.3px 1.3px at 73% 16%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 86% 38%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
		radial-gradient(1.1px 1.1px at 93% 9%, #fff 50%, transparent 51%),
		radial-gradient(1px 1px at 5% 48%, rgba(255, 255, 255, 0.6) 50%, transparent 51%),
		radial-gradient(1.2px 1.2px at 66% 52%, rgba(255, 255, 255, 0.55) 50%, transparent 51%),
		radial-gradient(1px 1px at 34% 60%, rgba(255, 255, 255, 0.45) 50%, transparent 51%);
	-webkit-mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 30%, transparent 100%);
}

/* The sun at the horizon, with its rays turning very slowly. */
.dawn-sun {
	position: absolute;
	left: 50%;
	bottom: calc(-1 * clamp(330px, 46vw, 600px));
	z-index: -1;
	width: clamp(560px, 74vw, 980px);
	aspect-ratio: 1;
	translate: -50% 0;
	pointer-events: none;
}

.dawn-sun::before {
	content: "";
	position: absolute;
	inset: -42%;
	border-radius: 50%;
	background: repeating-conic-gradient(from 0deg, rgba(251, 207, 56, 0.16) 0deg 3deg, rgba(251, 207, 56, 0) 3deg 12deg);
	-webkit-mask-image: radial-gradient(closest-side, #000 38%, transparent 100%);
	mask-image: radial-gradient(closest-side, #000 38%, transparent 100%);
	animation: rays 140s linear infinite;
}

.dawn-sun::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: 50%;
	background: radial-gradient(circle at 50% 50%, #fff4c8 0%, var(--gold) 20%, #ff9a2e 40%, #ff5a14 56%, rgba(255, 53, 1, 0.55) 64%, rgba(255, 53, 1, 0) 72%);
	filter: blur(2px);
	box-shadow: 0 0 140px 50px rgba(255, 140, 31, 0.28);
}

@keyframes rays {
	to {
		rotate: 360deg;
	}
}

.dawn-inner {
	position: relative;
	max-width: 900px;
	margin-inline: auto;
	padding-inline: 20px;
}

.dawn-script {
	margin: 0;
	font-family: var(--script);
	font-size: clamp(44px, 6.4vw, 78px);
	line-height: 0.9;
	color: var(--gold);
	text-transform: lowercase;
}

.dawn-year {
	margin: 0;
	font-size: clamp(110px, 21vw, 250px);
	font-weight: 800;
	line-height: 0.86;
	letter-spacing: -0.055em;
	/* Lit from below: dark at the top of each figure, catching the dawn at its foot. */
	background: linear-gradient(180deg, #ffffff 0%, #fff3c4 38%, var(--gold) 62%, #ff8a1f 82%, var(--flame) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	filter: drop-shadow(0 10px 40px rgba(251, 207, 56, 0.25));
}

.dawn-title {
	margin: 10px 0 0;
	font-size: clamp(30px, 4.6vw, 54px);
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.025em;
	color: #fff;
}

.dawn-verse {
	max-width: 640px;
	margin: clamp(22px, 3vw, 32px) auto 0;
	font-size: clamp(18px, 2vw, 21px);
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.86);
}

.dawn-verse cite {
	display: block;
	margin-top: 6px;
	font-style: normal;
	font-weight: 600;
	color: var(--gold);
}

.dawn-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: clamp(28px, 4vw, 40px);
}

/* One orchestrated moment: the light rises once as the page opens. */
@media (prefers-reduced-motion: no-preference) {
	.dawn-sun {
		animation: rise 1.8s cubic-bezier(0.22, 0.8, 0.24, 1) both;
	}

	.dawn-year {
		animation: glow 1.8s ease-out both;
	}
}

@keyframes rise {
	from {
		transform: translateY(18%);
		opacity: 0.35;
	}
}

@keyframes glow {
	from {
		filter: drop-shadow(0 10px 40px rgba(251, 207, 56, 0)) brightness(0.55);
	}
}

@media (prefers-reduced-motion: reduce) {
	.dawn-sun::before {
		animation: none;
	}
}

/* ------------------------------------------------------------------ small screens: the menu opens as a panel
   (below 1100px wide, where seven menu items and Give no longer sit comfortably on one line) */
@media (max-width: 1100px) {
	.topbar .socials {
		display: none;
	}

	.topbar .wrap {
		justify-content: center;
		text-align: center;
	}

	.site-header > .wrap {
		flex-wrap: wrap;
		gap: 10px;
		min-height: 74px;
	}

	.brand img {
		width: 150px;
	}

	.btn-give {
		padding: 10px 18px;
		font-size: 15px;
		box-shadow: none;
	}

	.nav-toggle {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 10px 16px;
		border: 0;
		border-radius: 999px;
		background: var(--paper);
		color: var(--ink);
		font: 600 15px var(--display);
		cursor: pointer;
	}

	.nav-toggle span {
		display: block;
		width: 18px;
		height: 2px;
		background: currentColor;
		box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
	}

	.main-nav {
		display: none;
		order: 10;
		flex-basis: 100%;
		max-height: calc(100vh - 140px);
		overflow-y: auto;
		margin-bottom: 14px;
		padding: 8px;
		border-radius: 18px;
		background: var(--paper);
		box-shadow: 0 20px 40px rgba(44, 41, 61, 0.15);
	}

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

	.main-nav .menu {
		display: block;
	}

	.main-nav .menu > li > a {
		display: flex;
		padding: 13px 16px;
		border-radius: 12px;
		font-size: 18px;
	}

	.main-nav .has-sub > a::after,
	.main-nav .menu > .current > a::before,
	.main-nav .menu > .current-menu-ancestor > a::before {
		display: none;
	}

	.main-nav .sub {
		position: static;
		min-width: 0;
		padding: 0 0 6px 12px;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-radius: 0;
		background: none;
	}

	.main-nav .sub::before {
		display: none;
	}

	.main-nav .sub a {
		padding: 9px 16px;
		color: var(--plum);
	}

	.main-nav .sub li:last-child:not(:first-child) {
		margin-top: 0;
		padding-top: 0;
		border-top: 0;
	}

	.main-nav .mobile-socials {
		display: flex;
		justify-content: center;
		gap: 4px;
		padding: 10px 0 4px;
		border-top: 1px solid var(--mist);
		margin-top: 6px;
	}

	.main-nav .mobile-socials a {
		width: 42px;
		height: 42px;
		color: var(--plum);
	}

	.main-nav .mobile-socials svg {
		width: 19px;
		height: 19px;
	}
}

@media (max-width: 782px) {
	.admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 600px) {
	.admin-bar .site-header {
		top: 0;
	}
}

@media (max-width: 520px) {
	body {
		font-size: 17px;
	}

	.dawn-actions .btn {
		width: 100%;
	}
}


@media (max-width: 520px) {
	body {
		font-size: 17px;
	}

	.dawn-actions .btn {
		width: 100%;
	}
}

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

.dawn-year + .dawn-script {
	margin-top: clamp(-34px, -2.6vw, -18px);
}

/* ------------------------------------------------------------------ sections
   The site's own pattern, kept: a Rubik heading with a handwritten Sacramento line under it. */
.band {
	padding: clamp(64px, 8vw, 110px) 0;
}

.band-mist {
	background: var(--mist);
}

.band-blush {
	background: var(--blush);
}

.band-head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 18px 40px;
	margin-bottom: clamp(30px, 4vw, 48px);
}

.band-head h2 {
	margin: 0;
	font-size: clamp(38px, 5.2vw, 60px);
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: -0.04em;
	color: var(--ink);
}

.band-head .script {
	display: block;
	margin-top: 2px;
	font-family: var(--script);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 400;
	line-height: 1.1;
	letter-spacing: 0;
	color: var(--flame);
	text-transform: lowercase;
}

.band-head p {
	max-width: 520px;
	margin: 0;
	color: var(--dusk);
}

.link-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: var(--ink);
	text-decoration: none;
	border-bottom: 2px solid var(--flame);
	padding-bottom: 2px;
}

.link-more:hover {
	color: var(--flame);
}

/* Programs: the flyers, as they are designed (portrait), side by side. */
.flyers {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px;
}

.flyer {
	position: relative;
	display: block;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--ink);
	aspect-ratio: 4 / 5;
	box-shadow: 0 1px 0 rgba(44, 41, 61, 0.06);
}

.flyer img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.flyer:hover img {
	transform: scale(1.03);
}

.flyer .flyer-cta {
	position: absolute;
	left: 14px;
	bottom: 14px;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-size: 15px;
	font-weight: 600;
}

.flyer:hover .flyer-cta {
	background: var(--flame);
	color: #fff;
}

/* What's new: the latest Daily Words. */
.posts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.post-card {
	display: flex;
	flex-direction: column;
	background: var(--paper);
	border-radius: var(--radius);
	overflow: hidden;
}

.post-card .thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--blush);
}

.post-card .thumb img {
	width: 100%;
	height: 100%;
	object-fit: contain; /* Daily Word pictures carry their titles: never cut them. */
}

.post-card .body {
	padding: 20px 22px 24px;
}

.post-card .when {
	margin: 0 0 6px;
	font-size: 14px;
	font-weight: 500;
	color: var(--dusk);
}

.post-card h3 {
	margin: 0;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.01em;
	text-transform: none;
}

.post-card h3 a {
	color: var(--ink);
	text-decoration: none;
}

.post-card h3 a:hover {
	color: var(--flame);
}

/* Inspiring Messages: a listening room. Dark, like the hero, with the five series as tiles. */
.listen {
	background: var(--ink);
	color: #fff;
}

.listen .band-head h2 {
	color: #fff;
}

.listen .band-head p {
	color: rgba(255, 255, 255, 0.75);
}

.listen .link-more {
	color: #fff;
}

.series {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 18px;
}

.series a {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	min-height: 260px;
	padding: 20px;
	border-radius: var(--radius);
	overflow: hidden;
	color: #fff;
	text-decoration: none;
	isolation: isolate;
}

.series img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.series a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(27, 24, 40, 0) 30%, rgba(27, 24, 40, 0.9) 100%);
}

.series a:hover img {
	transform: scale(1.05);
}

.series strong {
	font-size: 20px;
	line-height: 1.2;
}

.series span {
	margin-top: 4px;
	font-size: 15px;
	color: var(--gold);
}

.play {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: auto;
	border-radius: 50%;
	background: var(--flame);
}

.play::before {
	content: "";
	margin-left: 3px;
	border-left: 13px solid #fff;
	border-top: 8px solid transparent;
	border-bottom: 8px solid transparent;
}

/* The store: three items, each with its way to buy. */
.shop {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.shop-item {
	display: flex;
	flex-direction: column;
}

.shop-item .thumb {
	aspect-ratio: 4 / 5;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--mist);
}

.shop-item .thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.shop-item h3 {
	margin: 18px 0 2px;
	font-size: 21px;
	line-height: 1.3;
	color: var(--ink);
}

.shop-item .price {
	margin: 0 0 14px;
	font-weight: 600;
	color: var(--flame);
}

.shop-item .btn {
	align-self: flex-start;
	padding: 12px 22px;
	font-size: 16px;
}

.btn-ink {
	background: var(--ink);
	color: #fff;
}

.btn-ink:hover {
	background: var(--flame);
	color: #fff;
}

/* About. */
.about {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: clamp(30px, 6vw, 80px);
	align-items: center;
}

.about-pic {
	border-radius: 50%;
	overflow: hidden;
	aspect-ratio: 1;
	max-width: 520px;
	background: var(--blush);
}

.about-pic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about h2 {
	margin: 0;
	font-size: clamp(38px, 5.2vw, 60px);
	letter-spacing: -0.04em;
	line-height: 1.05;
	color: var(--ink);
}

.about .script {
	display: block;
	font-family: var(--script);
	font-weight: 400;
	font-size: clamp(30px, 3.6vw, 44px);
	letter-spacing: 0;
	color: var(--flame);
	text-transform: lowercase;
}

.about p {
	max-width: 56ch;
}

/* Community: the two channels with their numbers, as on the current site. */
.community {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	text-align: center;
}

.community > div {
	padding: clamp(34px, 5vw, 56px) 24px;
	border-radius: 22px;
	background: var(--paper);
}

.community .big {
	display: block;
	font-size: clamp(64px, 9vw, 120px);
	font-weight: 800;
	line-height: 0.9;
	letter-spacing: -0.06em;
	color: var(--blush);
	-webkit-text-stroke: 2px var(--flame);
}

.community .script {
	display: block;
	margin-top: -6px;
	font-family: var(--script);
	font-size: clamp(40px, 5vw, 60px);
	line-height: 1.1;
	color: var(--ink);
}

.community .btn {
	margin-top: 18px;
}

.btn-whatsapp {
	background: #1f8f4e;
	color: #fff;
}

.btn-whatsapp:hover {
	background: #187a41;
	color: #fff;
}

.btn-telegram {
	background: #2a9ed8;
	color: #fff;
}

.btn-telegram:hover {
	background: #1f88bd;
	color: #fff;
}

.btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* Partner: the call to belong. */
.partner {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding: clamp(46px, 6vw, 80px) clamp(24px, 6vw, 80px);
	border-radius: 26px;
	color: #fff;
	background: radial-gradient(90% 140% at 100% 100%, rgba(251, 207, 56, 0.35) 0%, rgba(255, 53, 1, 0) 55%), var(--flame);
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 30px;
	align-items: center;
}

.partner h2 {
	margin: 0;
	font-size: clamp(40px, 5.4vw, 64px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: #fff;
}

.partner .script {
	display: block;
	font-family: var(--script);
	font-weight: 400;
	font-size: clamp(30px, 3.4vw, 42px);
	letter-spacing: 0;
	color: var(--gold);
	text-transform: lowercase;
}

.partner p {
	margin: 14px 0 0;
	max-width: 46ch;
	color: rgba(255, 255, 255, 0.92);
}

.partner-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: stretch;
}

.btn-white {
	background: #fff;
	color: var(--flame);
}

.btn-white:hover {
	background: var(--ink);
	color: #fff;
}

.btn-line {
	color: #fff;
	border-color: rgba(255, 255, 255, 0.7);
}

.btn-line:hover {
	background: #fff;
	color: var(--flame);
}

/* ------------------------------------------------------------------ footer */
.site-footer {
	background: var(--blush);
	text-align: center;
	padding: clamp(56px, 7vw, 80px) 0 28px;
}

.site-footer .brand img {
	width: clamp(220px, 28vw, 330px);
	margin-inline: auto;
}

.site-footer .socials {
	justify-content: center;
	margin-top: 26px;
	gap: 10px;
}

.site-footer .socials a {
	width: 44px;
	height: 44px;
	background: var(--plum);
	color: #fff;
}

.site-footer .socials a:hover {
	background: var(--flame);
	color: #fff;
}

.footer-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 40px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.footer-links a {
	text-decoration: none;
	font-size: 16px;
}

.copyright {
	margin: 34px 0 0;
	padding-top: 22px;
	border-top: 1px solid rgba(68, 64, 90, 0.18);
	font-size: 15px;
	color: var(--dusk);
}

/* The WhatsApp button, always at hand. */
.wa-float {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 50;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: #25d366;
	color: #fff;
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.wa-float svg {
	width: 30px;
	height: 30px;
	fill: currentColor;
}

/* ------------------------------------------------------------------ smaller screens */
@media (max-width: 1100px) {
	.series {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 960px) {
	.flyers {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.posts,
	.shop {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.about,
	.partner {
		grid-template-columns: 1fr;
	}

	.about-pic {
		max-width: 360px;
	}
}

@media (max-width: 640px) {
	.flyers {
		display: flex;
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		padding-bottom: 6px;
	}

	.flyer {
		flex: 0 0 74%;
		scroll-snap-align: start;
	}

	.posts,
	.shop,
	.community {
		grid-template-columns: 1fr;
	}

	.series {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.series a {
		min-height: 200px;
	}
}

/* ------------------------------------------------------------------ page titles and content */
.title-band {
	background: var(--blush);
	padding: clamp(46px, 7vw, 96px) 0 clamp(40px, 6vw, 80px);
	text-align: center;
}

.title-band h1 {
	margin: 0;
	font-size: clamp(42px, 7vw, 80px);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.04em;
	color: var(--flame);
}

.title-band .script {
	margin: 4px 0 0;
	font-family: var(--script);
	font-size: clamp(30px, 3.8vw, 46px);
	line-height: 1.1;
	color: var(--plum);
	text-transform: lowercase;
}

.prose {
	max-width: 760px;
}

.prose h2,
.prose h3 {
	margin: 1.6em 0 0.5em;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.prose h2 {
	font-size: clamp(26px, 3vw, 34px);
}

.prose h3 {
	font-size: 22px;
}

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

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

.prose iframe,
.prose video {
	width: 100%;
	max-width: 100%;
	border: 0;
	border-radius: var(--radius);
}

.prose iframe {
	aspect-ratio: 16 / 9;
	height: auto;
}

.center {
	text-align: center;
	margin-inline: auto;
}

.empty {
	color: var(--dusk);
}

/* Builder pages: Avada's rows and columns, read as plain flex rows. */
.fb-page .fb-section {
	padding: clamp(40px, 5vw, 70px) 0;
}

.fb-page .fb-section:nth-child(even) {
	background: var(--mist);
}

.fb-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0 4%;
}

.fb-col {
	flex: 0 0 calc(var(--w, 100%) - 4%);
	min-width: 0;
}

.fb-col[style*="--w:100%"] {
	flex-basis: 100%;
}

.fb-title {
	margin: 0.6em 0 0.4em;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: var(--ink);
}

h2.fb-title {
	font-size: clamp(30px, 4vw, 46px);
}

.fb-image {
	border-radius: var(--radius);
	margin: 10px 0 20px;
}

.fb-check {
	padding-left: 1.2em;
}

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

.fb-box,
.fb-person {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--paper);
}

/* Team photos: portrait cards, framed from the top so heads are never cut. */
.fb-person {
	display: flex;
	flex-direction: column;
	height: calc(100% - 20px);
	margin-bottom: 20px;
	padding: 12px 12px 18px;
}

.fb-person img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: 50% 12%;
	border-radius: 10px;
	margin-bottom: 14px;
	background: var(--blush);
}

.fb-person strong,
.fb-person span,
.fb-person p {
	padding-inline: 6px;
}

.fb-person strong {
	font-size: 18px;
	line-height: 1.3;
}

.fb-person p {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.5;
	color: var(--dusk);
}

.fb-person span:empty {
	display: none;
}

.fb-person strong {
	display: block;
	color: var(--ink);
}

.fb-person span {
	color: var(--dusk);
	font-size: 15px;
}

@media (max-width: 760px) {
	.fb-col {
		flex-basis: 100%;
	}
}

/* ------------------------------------------------------------------ listings */
.listing-head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 24px;
	margin-bottom: 30px;
}

.listing-head h2 {
	margin: 0;
	font-size: clamp(28px, 3.4vw, 40px);
	letter-spacing: -0.03em;
	color: var(--ink);
}

.listing-head .count {
	margin: 0;
	color: var(--dusk);
	font-weight: 500;
}

.search {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
	width: min(420px, 100%);
	padding: 0 18px;
	border-radius: 999px;
	background: var(--paper);
	border: 2px solid transparent;
}

.search:focus-within {
	border-color: var(--flame);
}

.search svg {
	width: 20px;
	height: 20px;
	color: var(--dusk);
	flex: 0 0 auto;
}

.search input {
	width: 100%;
	padding: 14px 0;
	border: 0;
	outline: 0;
	background: none;
	font: 400 17px var(--display);
	color: var(--ink);
}

.pager ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.pager a,
.pager span {
	display: inline-grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 14px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.pager .current {
	background: var(--flame);
	color: #fff;
}

/* Hubs. */
.hubs {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
	gap: 18px;
}

.hub {
	padding: 24px;
	border-radius: var(--radius);
	background: var(--mist);
}

.hub h3 {
	margin: 0 0 14px;
	font-size: 22px;
	color: var(--ink);
}

.hub-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hub-links .btn {
	padding: 10px 16px;
	font-size: 15px;
}

/* ------------------------------------------------------------------ a single post */
.single-head {
	background: var(--blush);
	padding: clamp(40px, 6vw, 80px) 0 clamp(30px, 4vw, 50px);
}

.narrow {
	width: min(820px, 100% - 40px);
}

.chip {
	display: inline-block;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--paper);
	color: var(--flame);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.single-head h1 {
	margin: 14px 0 6px;
	font-size: clamp(36px, 5.6vw, 62px);
	line-height: 1.05;
	letter-spacing: -0.035em;
	color: var(--ink);
}

.single-head .when {
	margin: 0;
	color: var(--dusk);
}

.single-pic {
	margin: clamp(28px, 4vw, 44px) 0;
}

.single-pic img {
	width: 100%;
	border-radius: 18px;
}

.single .prose {
	max-width: none;
	font-size: 19px;
	line-height: 1.8;
}

.share {
	margin: 40px 0 24px;
}

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: clamp(50px, 7vw, 90px);
}

.post-nav a {
	display: block;
	padding: 18px 20px;
	border-radius: var(--radius);
	background: var(--mist);
	color: var(--ink);
	font-weight: 600;
	text-decoration: none;
}

.post-nav a:hover {
	background: var(--blush);
}

.post-nav .next {
	grid-column: 2;
	text-align: right;
}

.post-nav span {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--dusk);
}

/* ------------------------------------------------------------------ give */
.give-layout {
	display: grid;
	grid-template-columns: 1fr minmax(320px, 440px);
	gap: clamp(30px, 6vw, 80px);
	align-items: start;
}

.give-form {
	position: sticky;
	top: 20px;
	padding: clamp(24px, 3vw, 34px);
	border-radius: 22px;
	background: var(--mist);
}

.give-form h2 {
	margin: 0;
	font-size: 32px;
	letter-spacing: -0.03em;
	color: var(--ink);
}

.give-note {
	margin: 4px 0 18px;
	color: var(--dusk);
	font-size: 16px;
}

.chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.chips legend {
	margin-bottom: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.chips label {
	cursor: pointer;
}

.chips input {
	position: absolute;
	opacity: 0;
}

.chips span {
	display: inline-block;
	padding: 8px 16px;
	border-radius: 999px;
	background: var(--paper);
	border: 2px solid transparent;
	font-size: 15px;
	font-weight: 500;
}

.chips input:checked + span {
	border-color: var(--flame);
	color: var(--flame);
}

.chips input:focus-visible + span {
	outline: 3px solid var(--gold);
}

.field {
	display: block;
	margin-bottom: 14px;
}

.field span {
	display: block;
	margin-bottom: 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.field em {
	font-style: normal;
	font-weight: 400;
	color: var(--dusk);
}

.field input {
	width: 100%;
	padding: 14px 16px;
	border: 2px solid transparent;
	border-radius: 12px;
	background: var(--paper);
	font: 400 17px var(--display);
	color: var(--ink);
}

.field input:focus {
	outline: 0;
	border-color: var(--flame);
}

.field.amount input {
	font-size: 26px;
	font-weight: 700;
}

.field-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.give-form .btn {
	width: 100%;
	margin-top: 6px;
}

.give-error {
	margin: 0 0 12px;
	color: #b3261e;
	font-weight: 600;
}

.give-done {
	margin: 0;
	padding: 18px;
	border-radius: 12px;
	background: var(--paper);
	color: var(--ink);
	font-weight: 600;
}

.give-accounts h2 {
	margin-top: 1.4em;
}

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

	.give-form {
		position: static;
	}
}

@media (max-width: 520px) {
	.field-row,
	.post-nav {
		grid-template-columns: 1fr;
	}

	.post-nav .next {
		grid-column: auto;
	}

	.search {
		margin-left: 0;
	}
}

.shop-item .thumb {
	display: block;
}

.shop-item .price.is-quiet {
	color: var(--dusk);
	font-weight: 500;
}

.shop-item .btn svg {
	width: 18px;
	height: 18px;
}

.dawn-verse p {
	margin: 0;
}

/* Message series without any picture: a designed tile in the series' own colours. */
.series a.no-pic {
	background: linear-gradient(150deg, var(--tile-a, #3a2f5c) 0%, var(--tile-b, #ff3501) 130%);
}

.series a.no-pic::after {
	background: linear-gradient(180deg, rgba(27, 24, 40, 0) 40%, rgba(27, 24, 40, 0.55) 100%);
}

.series a.no-pic .tile-mark {
	position: absolute;
	right: -6px;
	top: 6px;
	z-index: -1;
	font-size: 150px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.06em;
	color: rgba(255, 255, 255, 0.1);
}

/* The highlighted word in an Avada "highlight" heading ("Our Vision"), marked as Avada marks it. */
.fb-title .fb-hl {
	background: linear-gradient(transparent 62%, rgba(251, 207, 56, 0.55) 62%);
	padding: 0 2px;
}

/* ------------------------------------------------------------------ Evening Church on the home page */
.band-ec {
	padding-bottom: 0;
}

.ec-card {
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: clamp(24px, 5vw, 70px);
	padding: clamp(28px, 5vw, 56px);
	border-radius: 26px;
	background: radial-gradient(80% 120% at 100% 0%, rgba(251, 207, 56, 0.28) 0%, rgba(251, 207, 56, 0) 60%), var(--blush);
}

.ec-kicker {
	margin: 0 0 6px;
	font-size: 15px;
	font-weight: 600;
	color: var(--flame);
}

.ec-card h2 {
	margin: 0;
	font-size: clamp(40px, 5.6vw, 66px);
	line-height: 1;
	letter-spacing: -0.04em;
	color: var(--ink);
}

.ec-card h2 .script {
	display: block;
	margin-top: 4px;
	font-family: var(--script);
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--flame);
	text-transform: lowercase;
}

.ec-where {
	max-width: 52ch;
	margin: 16px 0 0;
	color: var(--plum);
}

.ec-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 24px;
}

.btn-ink-line {
	color: var(--ink);
	border-color: rgba(44, 41, 61, 0.35);
}

.btn-ink-line:hover {
	background: var(--ink);
	border-color: var(--ink);
	color: #fff;
}

.ec-date {
	display: grid;
	justify-items: center;
	min-width: 190px;
	padding: 22px 30px 24px;
	border-radius: 22px;
	background: var(--ink);
	color: #fff;
	text-align: center;
	box-shadow: 0 24px 50px rgba(44, 41, 61, 0.22);
}

.ec-day {
	font-size: 15px;
	font-weight: 600;
	color: var(--gold);
}

.ec-num {
	font-size: 86px;
	font-weight: 800;
	line-height: 0.95;
	letter-spacing: -0.05em;
}

.ec-mon {
	font-size: 18px;
	font-weight: 500;
}

.ec-time {
	margin-top: 10px;
	padding: 5px 14px;
	border-radius: 999px;
	background: var(--flame);
	font-size: 15px;
	font-weight: 600;
}

@media (max-width: 720px) {
	.ec-card {
		grid-template-columns: 1fr;
	}

	.ec-date {
		grid-row: 1;
		justify-self: start;
		grid-template-columns: auto auto auto;
		align-items: baseline;
		gap: 0 10px;
		min-width: 0;
		padding: 12px 18px;
		border-radius: 16px;
	}

	.ec-num {
		font-size: 34px;
	}

	.ec-time {
		margin: 0;
		grid-column: 1 / -1;
		justify-self: start;
		margin-top: 8px;
	}
}

/* Between a small laptop and a wide screen, the menu tightens a little so it stays on one line. */
@media (min-width: 1101px) and (max-width: 1280px) {
	.main-nav .menu > li > a {
		padding: 10px 10px;
		font-size: 16px;
	}

	.site-header > .wrap {
		gap: 14px;
	}

	.brand img {
		width: 190px;
	}
}

/* ------------------------------------------------------------------ GraceHub Abuja's Evening Church pages, in the site's look
   The plugin's landing and registration blocks take the site's font, ink and night sky. */
:root {
	--ghr-font: var(--display);
}

body .ghl {
	--ghl-ink: #2c293d;
	--ghl-navy: #1b1828;
	color: var(--plum);
}
