/*
 * Gradespace Church blocks. Coloured by the theme's palette (navy = ink,
 * slate = muted text, white = surface, sky/sky-deep/sky-tint = accent, line,
 * stone, mist, red) with neutral fallbacks, and by each church's colour pair
 * (--gsc-location-fill / -deep / -tint, from Gradespace Core).
 */
.gsch-latest,
.gsch-sermon-cards,
.gsch-churches,
.gsch-services,
.gsch-events,
.gsch-programmes,
.gsch-form,
.gsch-voices,
.gsch-story-cats,
.gsch-give,
.gsch-chips {
	--gsch-ink: var(--wp--preset--color--navy, #0b1b33);
	--gsch-muted: var(--wp--preset--color--slate, #3a4660);
	--gsch-surface: var(--wp--preset--color--white, #fff);
	--gsch-line: var(--wp--preset--color--line, #e1e7f2);
	--gsch-soft: var(--wp--preset--color--stone, #f6f4ef);
	--gsch-fill: var(--gsc-location-fill, var(--wp--preset--color--sky, #2ea3f2));
	--gsch-deep: var(--gsc-location-deep, var(--wp--preset--color--sky-deep, #1a73c0));
	--gsch-tint: var(--gsc-location-tint, var(--wp--preset--color--sky-tint, #e8f4fd));
	--gsch-band: var(--gsch-band-bg, var(--wp--preset--color--navy, #0b1b33));
	--gsch-band-ink: var(--gsch-band-text, #fff);
	--gsch-radius: var(--wp--custom--radius--md, 24px);
}

.gsch-empty,
.gsch-events__empty {
	margin: 0;
	padding: 1.5rem;
	border: 1.5px dashed var(--wp--preset--color--line, #d5dbe5);
	border-radius: 20px;
	color: var(--wp--preset--color--slate, #3a4660);
	text-align: center;
}

/* Tile for posts without a picture. */
.gsch-tile {
	position: relative;
	display: block;
	width: 100%;
	margin: 0;
	overflow: hidden;
	border-radius: var(--wp--custom--radius--sm, 14px);
	background-color: var(--gsch-band-bg, var(--wp--preset--color--navy, #0b1b33));
	background-image:
		radial-gradient(circle at 85% 15%, color-mix(in srgb, var(--wp--preset--color--sky, #2ea3f2) 55%, transparent) 0, transparent 45%),
		radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
	background-size: auto, 18px 18px;
	aspect-ratio: 16 / 10;
}
.gsch-tile a {
	display: contents;
	text-decoration: none;
}
.gsch-tile__label {
	position: absolute;
	top: 1rem;
	left: 1rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--wp--preset--color--sky, #2ea3f2);
	color: var(--wp--preset--color--navy, #0b1b33);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.gsch-tile__icon {
	position: absolute;
	right: 1.25rem;
	bottom: 1rem;
	color: rgba(255, 255, 255, 0.5);
}

/* Chips */
.gsch-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem;
}
.gsch-chip {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	min-height: 44px;
	padding: 0 1rem;
	border: 1.5px solid var(--gsch-line);
	border-radius: 999px;
	background: var(--gsch-surface);
	color: var(--gsch-ink);
	font-size: 0.9375rem;
	font-weight: 700;
	text-decoration: none !important;
	transition: border-color 0.2s, background 0.2s;
}
.gsch-chip:hover,
.gsch-chip:focus-visible {
	border-color: var(--gsch-fill);
	color: var(--gsch-ink);
}
.gsch-chip.is-current {
	border-color: var(--gsch-ink);
	background: var(--gsch-ink);
	color: var(--gsch-surface);
}
.gsch-chip__count {
	font-size: 0.75rem;
	opacity: 0.65;
}

/* Latest sermon */
.gsch-latest {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: clamp(1.5rem, 5vw, 4.5rem);
	align-items: center;
	padding: clamp(1rem, 4vw, 3.5rem);
	border-radius: var(--wp--custom--radius--lg, 36px);
	background: var(--gsch-soft);
	box-sizing: border-box;
}
.gsch-latest__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: var(--gsch-radius);
	background: var(--gsch-band);
	box-shadow: 0 24px 60px rgba(11, 27, 51, 0.18);
}
.gsch-latest__media img,
.gsch-latest__media .gsch-tile {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gsch-latest__media:hover img {
	transform: scale(1.04);
}
.gsch-latest__play {
	position: absolute;
	bottom: 1.25rem;
	left: 1.25rem;
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.85rem 1.3rem;
	border-radius: 999px;
	background: #fff;
	color: #0b1b33;
	font-size: 0.9375rem;
	font-weight: 700;
}
.gsch-latest__play svg {
	color: var(--wp--preset--color--red, #d42a3c);
}
.gsch-latest__eyebrow {
	margin: 0;
	color: var(--wp--preset--color--red, #d42a3c);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.gsch-latest__title {
	margin: 0.9rem 0 0;
	font-size: var(--wp--preset--font-size--xx-large, 2.75rem);
	line-height: 1;
	text-wrap: balance;
	overflow-wrap: break-word;
}
.gsch-latest__title a {
	color: inherit;
	text-decoration: none;
}
.gsch-latest__meta,
.gsch-latest__summary {
	margin: 1rem 0 0;
	color: var(--gsch-muted);
}
.gsch-latest__meta {
	font-size: 0.9375rem;
	font-weight: 600;
}
.gsch-latest__more {
	margin: 1.5rem 0 0;
	font-weight: 700;
}
@media (max-width: 781px) {
	.gsch-latest {
		grid-template-columns: 1fr;
	}
}

/* Sermon cards */
.gsch-sermon-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(16rem, calc((100% - 3rem) / 3))), 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gsch-sermon-card a {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	color: var(--gsch-ink);
	text-decoration: none;
}
.gsch-sermon-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	margin-bottom: 0.6rem;
	border-radius: 20px;
	background: var(--gsch-band);
}
.gsch-sermon-card__media img,
.gsch-sermon-card__media .gsch-tile {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 0;
	transition: transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gsch-sermon-card a:hover .gsch-sermon-card__media img {
	transform: scale(1.05);
}
.gsch-sermon-card__play {
	position: absolute;
	right: 0.9rem;
	bottom: 0.9rem;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border-radius: 50%;
	background: #fff;
	color: var(--wp--preset--color--red, #d42a3c);
}
.gsch-sermon-card__eyebrow {
	color: var(--gsch-deep);
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}
.gsch-sermon-card__title {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.15;
}
.gsch-sermon-card__meta {
	color: var(--gsch-muted);
	font-size: 0.875rem;
}
.has-navy-background-color .gsch-sermon-card a {
	color: var(--gsch-band-ink);
}
.has-navy-background-color .gsch-sermon-card__meta {
	color: var(--gsch-band-soft, #c9d6ea);
}

/* Video player */
.gsch-video {
	margin: 0;
}
.gsch-video__frame {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	border-radius: var(--wp--custom--radius--md, 24px);
	background: #0b1b33;
	box-shadow: 0 30px 80px rgba(11, 27, 51, 0.28);
}
.gsch-video__frame img,
.gsch-video__frame iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
	object-fit: cover;
}
.gsch-video__play {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 88px;
	height: 88px;
	margin: auto;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #d42a3c;
	cursor: pointer;
	box-shadow: 0 0 0 12px rgba(255, 255, 255, 0.25);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gsch-video__play svg {
	margin-left: 4px;
}
.gsch-video:hover .gsch-video__play,
.gsch-video__play:focus-visible {
	transform: scale(1.08);
	box-shadow: 0 0 0 18px rgba(255, 255, 255, 0.3);
	outline: none;
}
.gsch-video__note {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	text-align: right;
}
.gsch-video__consent {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	gap: 1rem;
	padding: 1.25rem;
	background: rgba(11, 27, 51, 0.88);
	color: #fff;
	text-align: center;
}
.gsch-video__consent p {
	margin: 0;
}
.gsch-video__consent-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
}
.gsch-video__consent-btn {
	min-height: 44px;
	padding: 0 1.1rem;
	border: 1.5px solid #fff;
	border-radius: 999px;
	background: transparent;
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}
.gsch-video__consent-btn.is-primary {
	background: #fff;
	color: #0b1b33;
}
.gsch-video.is-empty {
	padding: 2rem;
	border: 1.5px dashed var(--wp--preset--color--line, #e1e7f2);
	border-radius: 24px;
	text-align: center;
}

/* Our churches */
.gsch-churches ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.gsch-churches.is-layout-chips ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 10.5rem), 1fr));
	gap: 0.5rem;
}
.gsch-churches.is-layout-chips a {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 2.9rem;
	padding: 0 1rem;
	border-radius: 14px;
	background: var(--wp--preset--color--sky-tint, #e8f4fd);
	color: var(--gsch-ink);
	font-weight: 600;
	text-decoration: none;
}
.gsch-churches.is-tone-dark.is-layout-chips a {
	background: rgba(255, 255, 255, 0.08);
	color: var(--gsch-band-ink);
}
.gsch-churches.is-layout-chips a:hover,
.gsch-churches.is-layout-chips a:focus-visible {
	outline: 2px solid var(--gsch-fill);
	outline-offset: 1px;
}
.gsch-dot {
	flex: none;
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--gsch-fill);
}
.gsch-churches.is-layout-links li + li {
	margin-top: 0.35rem;
}
.gsch-churches.is-layout-links a {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: inherit;
	text-decoration: none;
}
.gsch-churches.is-layout-links a:hover {
	text-decoration: underline;
}
.gsch-churches.is-layout-cards ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr));
	gap: 1.5rem;
}
.gsch-church-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border: 1.5px solid var(--gsch-line);
	border-radius: var(--gsch-radius);
	background: var(--gsch-surface);
	color: var(--gsch-ink);
	text-decoration: none !important;
	transition: border-color 0.2s, transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.gsch-church-card:hover,
.gsch-church-card:focus-visible {
	border-color: var(--gsch-fill);
	transform: translateY(-3px);
}
.gsch-church-card__media {
	position: relative;
	display: block;
	flex: none;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-bottom: 6px solid var(--gsch-fill);
	background: var(--gsch-tint);
}
.gsch-church-card__media img,
.gsch-church-card__media .gsc-photo-placeholder {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	min-height: 0;
	max-width: none;
	object-fit: cover;
	border: 0;
	border-radius: 0;
}
.gsch-church-card__badge {
	position: absolute;
	top: 0.9rem;
	left: 0.9rem;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--gsch-fill);
	color: #0b1b33;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.gsch-church-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.3rem;
	padding: 1.25rem 1.4rem 1.5rem;
}
.gsch-church-card__name {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.6rem;
	font-weight: 800;
	line-height: 1.1;
}
.gsch-church-card__addr {
	color: var(--gsch-muted);
	font-size: 0.9375rem;
}
.gsch-church-card__time {
	margin-top: 0.4rem;
	color: var(--gsch-deep);
	font-size: 0.9375rem;
	font-weight: 700;
}
.gsc-photo-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	height: 100%;
	min-height: 200px;
	box-sizing: border-box;
	border: 2px dashed var(--gsc-location-fill, var(--wp--preset--color--sky, #2ea3f2));
	background: var(--gsc-location-tint, var(--wp--preset--color--sky-tint, #e8f4fd));
	color: var(--gsc-location-deep, var(--wp--preset--color--sky-deep, #1a73c0));
	font-weight: 700;
	text-align: center;
}

/* Service times */
.gsch-services {
	margin: 0;
	padding: 0;
	list-style: none;
}
.gsch-services.is-layout-cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 10rem), 1fr));
	gap: 0.875rem;
}
.gsch-service {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	box-sizing: border-box;
}
.gsch-services.is-layout-cards .gsch-service {
	height: 100%;
	padding: 1.3rem;
	border-radius: var(--gsch-radius);
	background: var(--gsch-surface);
	box-shadow: 0 1px 2px rgba(11, 27, 51, 0.06), 0 8px 24px rgba(11, 27, 51, 0.06);
}
.gsch-service__day {
	color: var(--gsch-deep);
	font-family: var(--wp--preset--font-family--display, inherit);
	font-weight: 800;
}
.gsch-service__name {
	color: var(--gsch-ink);
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.2;
}
.gsch-service__time {
	color: var(--gsch-muted);
	font-size: 0.9375rem;
}
.gsch-service__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin-top: auto;
	padding-top: 0.3rem;
}
.gsch-service__tags > span {
	padding: 0.25rem 0.6rem;
	border-radius: 999px;
	background: var(--wp--preset--color--red-tint, #fde7ea);
	color: var(--wp--preset--color--red, #d42a3c);
	font-size: 0.75rem;
	font-weight: 700;
}
.gsch-service.is-online .gsch-service__mode {
	background: var(--wp--preset--color--sky-tint, #e8f4fd);
	color: var(--wp--preset--color--sky-deep, #1a73c0);
}
.gsch-service__tags > .gsch-service__where {
	background: var(--gsch-tint);
	color: var(--gsch-deep);
}
.gsch-services.is-layout-list .gsch-service {
	display: grid;
	grid-template-columns: 8rem minmax(0, 1fr) auto;
	align-items: baseline;
	gap: 0.25rem 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--gsch-line);
}
.gsch-services.is-layout-list .gsch-service__time {
	grid-column: 2;
}
.gsch-services.is-layout-list .gsch-service__tags {
	grid-column: 3;
	grid-row: 1 / span 2;
	margin: 0;
	padding: 0;
}
@media (max-width: 600px) {
	.gsch-services.is-layout-list .gsch-service {
		grid-template-columns: minmax(0, 1fr);
	}
	.gsch-services.is-layout-list .gsch-service__time,
	.gsch-services.is-layout-list .gsch-service__tags {
		grid-column: 1;
		grid-row: auto;
	}
}

/* Events */
.gsch-events__list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.gsch-event__when {
	margin: 0;
	color: var(--gsch-deep);
	font-size: 0.875rem;
	font-weight: 800;
}
.gsch-event__title {
	margin: 0;
	font-size: var(--wp--preset--font-size--large, 1.25rem);
	line-height: 1.2;
	overflow-wrap: break-word;
}
.gsch-event__title a {
	color: inherit;
	text-decoration: none;
}
.gsch-event__title a:hover {
	text-decoration: underline;
}
.gsch-event__where,
.gsch-event__repeat {
	margin: 0;
	color: var(--gsch-muted);
	font-size: 0.875rem;
}
.gsch-event__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.5rem 1rem;
	margin: 0.5rem 0 0;
}
.gsch-event__button.wp-element-button {
	padding: 0.7rem 1.3rem;
	font-size: 0.9375rem;
	text-decoration: none;
}
.gsch-event__online {
	font-weight: 700;
}
.gsch-event__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	min-width: 0;
}
.gsch-events.is-layout-cards .gsch-events__list {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, max(16rem, calc((100% - 3rem) / 3))), 1fr));
	gap: 1.5rem;
}
.gsch-events.is-layout-cards .gsch-event {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1.5px solid var(--gsch-line);
	border-radius: var(--gsch-radius);
	background: var(--gsch-surface);
}
.gsch-events.is-layout-cards .gsch-event__body {
	padding: 1rem 1.25rem 1.4rem;
}
.gsch-event__media {
	aspect-ratio: 16 / 9;
	margin: 0.75rem 0.75rem 0;
	overflow: hidden;
	border-radius: 14px;
	background: var(--gsch-tint);
}
.gsch-event__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.gsch-event__art {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	box-sizing: border-box;
	padding: 1.1rem 1.25rem;
	background-color: var(--gsch-band);
	background-image:
		radial-gradient(circle at 88% 12%, color-mix(in srgb, var(--gsch-fill) 70%, transparent) 0, transparent 50%),
		radial-gradient(rgba(255, 255, 255, 0.12) 1.2px, transparent 1.2px);
	background-size: auto, 18px 18px;
	color: var(--gsch-band-ink);
	line-height: 1;
}
.gsch-event__art-type {
	align-self: flex-start;
	padding: 0.35rem 0.75rem;
	border-radius: 999px;
	background: var(--gsch-fill);
	color: #0b1b33;
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}
.gsch-event__art-date {
	display: flex;
	align-items: flex-end;
	gap: 0.75rem;
}
.gsch-event__art-day {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 4.25rem;
	font-weight: 800;
	line-height: 0.8;
}
.gsch-event__art-month {
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}
.gsch-events.is-layout-list .gsch-event {
	display: grid;
	grid-template-columns: 4.25rem minmax(0, 1fr);
	gap: 1.25rem;
	align-items: start;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--gsch-line);
}
.gsch-event__cal {
	display: grid;
	place-items: center;
	margin: 0;
	padding: 0.55rem 0 0.65rem;
	border-radius: 16px;
	background: var(--gsch-tint);
	color: var(--gsch-deep);
	line-height: 1;
	text-align: center;
}
.gsch-event__cal span {
	font-size: 0.75rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gsch-event__cal strong {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.75rem;
	font-weight: 800;
}

/* Events from the church app: "Registration closed" / "All welcome" */
.gsch-event__note {
	margin: 0.25rem 0 0;
	color: var(--gsch-muted);
	font-size: 0.875rem;
	font-weight: 600;
}

/* Special programmes from the church app, above the events */
.gsch-programmes {
	display: grid;
	gap: 1rem;
	margin-bottom: var(--wp--preset--spacing--50, 2.5rem);
}
.gsch-programme {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 1.5rem 2.5rem;
	align-items: center;
	overflow: hidden;
	padding: clamp(1.4rem, 3.5vw, 2.4rem);
	border-radius: var(--wp--custom--radius--lg, 28px);
	background:
		radial-gradient(120% 140% at 100% 0%, color-mix(in srgb, var(--gsch-fill) 35%, transparent), transparent 55%),
		var(--gsch-band);
	color: var(--gsch-band-ink);
}
.gsch-programme p {
	margin: 0;
}
.gsch-programme__main {
	display: grid;
	gap: 0.6rem;
	min-width: 0;
}
.gsch-programme__kicker {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 0.75rem;
	align-items: center;
	color: var(--gsch-fill);
	font-size: 0.8125rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}
.gsch-programme__type {
	padding: 0.2rem 0.65rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.12);
	color: var(--gsch-band-ink);
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: none;
}
.gsch-programme__live {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--gsch-band-ink);
}
.gsch-programme__live span {
	width: 0.6rem;
	height: 0.6rem;
	border-radius: 50%;
	background: var(--wp--preset--color--red, #d42a3c);
	box-shadow: 0 0 0 0 rgba(212, 42, 60, 0.7);
	animation: gsch-programme-pulse 1.8s infinite;
}
@keyframes gsch-programme-pulse {
	70% {
		box-shadow: 0 0 0 10px rgba(212, 42, 60, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(212, 42, 60, 0);
	}
}
@media (prefers-reduced-motion: reduce) {
	.gsch-programme__live span {
		animation: none;
	}
}
.gsch-programme__title {
	margin: 0;
	color: inherit;
	font-size: var(--wp--preset--font-size--xx-large, 2.25rem);
	line-height: 1.05;
	overflow-wrap: break-word;
}
.gsch-programme__when {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.1rem;
	font-weight: 600;
	opacity: 0.9;
}
.gsch-programme__when span + span::before {
	content: "·";
	margin-right: 1.1rem;
	opacity: 0.5;
}
.gsch-programme__text {
	max-width: 46rem;
	opacity: 0.8;
}
.gsch-programme__actions {
	display: grid;
	gap: 0.6rem;
	min-width: 15rem;
}
.gsch-programme__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0.7rem 1.4rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	color: var(--gsch-band-ink);
	font: inherit;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.2s, transform 0.2s;
}
.gsch-programme__btn:hover,
.gsch-programme__btn:focus-visible {
	background: rgba(255, 255, 255, 0.24);
	color: var(--gsch-band-ink);
	transform: translateY(-1px);
}
.gsch-programme__btn.is-primary {
	background: var(--gsch-fill);
	color: #0b1b33;
}
.gsch-programme__btn[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}
.gsch-programme__note {
	max-width: 15rem;
	font-size: 0.8125rem;
	opacity: 0.75;
}
.gsch-programme__join {
	display: grid;
	gap: 0.5rem;
}
.gsch-programme__join a:not(.gsch-programme__btn) {
	color: inherit;
}
.gsch-programme__details {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.2rem 0.75rem;
	margin: 0;
	font-size: 0.9375rem;
}
.gsch-programme__details dt {
	opacity: 0.75;
}
.gsch-programme__details dd {
	margin: 0;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
@media (max-width: 781px) {
	.gsch-programme {
		grid-template-columns: 1fr;
	}
	.gsch-programme__actions {
		min-width: 0;
	}
	.gsch-programme__note {
		max-width: none;
	}
	.gsch-programme__when {
		flex-direction: column;
		gap: 0.15rem;
	}
	.gsch-programme__when span + span::before {
		content: none;
	}
}

/* Forms: Plan a visit and Prayer request */
.gsch-form {
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(1.75rem, 4vw, 4rem);
	align-items: start;
	padding: clamp(1.25rem, 4vw, 3.5rem);
	border-radius: var(--wp--custom--radius--lg, 28px);
	background: var(--gsch-tint);
	color: var(--gsch-ink);
	box-sizing: border-box;
}
.gsch-visit__intro > * {
	margin: 0;
}
.gsch-visit__intro > * + * {
	margin-top: 1rem;
}
.gsch-visit__title {
	font-size: var(--wp--preset--font-size--xx-large, 2.5rem);
	line-height: 1.05;
	overflow-wrap: break-word;
}
.gsch-visit__lead {
	color: var(--gsch-muted);
	font-size: var(--wp--preset--font-size--large, 1.2rem);
}
.gsch-visit__points {
	display: grid;
	gap: 0.6rem;
	padding: 0;
	list-style: none;
}
.gsch-visit__points li {
	position: relative;
	padding-left: 1.9rem;
	font-weight: 500;
}
.gsch-visit__points li::before {
	content: "";
	position: absolute;
	top: 0.2em;
	left: 0;
	width: 1.2rem;
	height: 1.2rem;
	border-radius: 50%;
	background: var(--gsch-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}
.gsch-visit__alt {
	color: var(--gsch-muted);
}
.gsch-visit__alt a {
	color: var(--gsch-deep);
	font-weight: 700;
}
.gsch-form__panel {
	padding: clamp(1.1rem, 3vw, 2rem);
	border-radius: var(--gsch-radius);
	background: var(--gsch-surface);
	box-shadow: 0 1px 2px rgba(11, 27, 51, 0.06), 0 18px 40px -18px rgba(11, 27, 51, 0.25);
}
.gsch-form__form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}
.gsch-form__form[hidden],
.gsch-form__done[hidden] {
	display: none;
}
.gsch-form__field {
	display: grid;
	gap: 0.4rem;
	min-width: 0;
	margin: 0;
	padding: 0;
	border: 0;
}
.gsch-form .is-wide {
	grid-column: 1 / -1;
}
.gsch-form__field label,
.gsch-form__field legend {
	color: var(--gsch-ink);
	font-size: 0.9375rem;
	font-weight: 600;
}
.gsch-form__field label span {
	color: var(--gsch-muted);
	font-weight: 400;
}
.gsch-form__field :is(input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
	height: 50px;
	margin: 0;
	padding: 0.7rem 0.9rem;
	border: 1.5px solid var(--gsch-line);
	border-radius: 12px;
	background: var(--gsch-surface);
	color: var(--gsch-ink);
	font: inherit;
	font-size: 1rem; /* 16px stops iOS zooming in. */
	line-height: 1.3;
}
.gsch-form__field select {
	appearance: none;
	padding-right: 2.5rem;
	background: var(--gsch-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.8rem center / 1.1rem no-repeat;
}
.gsch-form__field textarea {
	height: auto;
	min-height: 96px;
	resize: vertical;
}
.gsch-form__field :is(input, select, textarea):focus {
	outline: none;
	border-color: var(--gsch-deep);
	box-shadow: 0 0 0 4px color-mix(in srgb, var(--gsch-deep) 18%, transparent);
}
.gsch-form__choice label,
.gsch-form__check label {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	min-height: 44px;
	font-weight: 500;
}
.gsch-form__choice input,
.gsch-form__check input {
	width: 1.2rem;
	height: 1.2rem;
	margin: 0;
	accent-color: var(--gsch-deep);
}
.gsch-form__hp {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.gsch-form__submit {
	display: grid;
	gap: 0.75rem;
	margin-top: 0.25rem;
}
.gsch-form__submit button {
	width: 100%;
	min-height: 52px;
	border: 0;
	background: var(--gsch-deep);
	color: #fff;
	cursor: pointer;
}
.gsch-form__submit button.is-busy {
	cursor: progress;
	opacity: 0.6;
}
.gsch-form__note,
.gsch-form__error {
	margin: 0;
	color: var(--gsch-muted);
	font-size: 0.875rem;
}
.gsch-form__error {
	color: var(--wp--preset--color--red, #d42a3c);
	font-weight: 600;
}
.gsch-form__done {
	padding: 1.5rem 0.5rem;
	outline: none;
	text-align: center;
}
.gsch-form__done h3 {
	margin: 1rem 0 0.5rem;
	font-size: var(--wp--preset--font-size--x-large, 1.75rem);
}
.gsch-form__done p {
	max-width: 30rem;
	margin: 0 auto;
	color: var(--gsch-muted);
}
.gsch-form__tick {
	display: inline-grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gsch-deep);
	color: #fff;
	animation: gsch-pop 0.45s cubic-bezier(0.2, 0.9, 0.3, 1.3);
}
@keyframes gsch-pop {
	from {
		opacity: 0;
		transform: scale(0.4);
	}
}
@media (prefers-reduced-motion: reduce) {
	.gsch-form__tick {
		animation: none;
	}
}
@media (max-width: 900px) {
	.gsch-form {
		grid-template-columns: 1fr;
	}
}
@media (max-width: 520px) {
	.gsch-form__form {
		grid-template-columns: 1fr;
	}
	.gsch-form {
		padding: 1.1rem;
	}
}

/* Voices */
.gsch-voices {
	padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3.5rem);
	overflow: hidden;
	border-radius: var(--wp--custom--radius--lg, 36px);
	background: var(--gsch-band);
	color: var(--gsch-band-ink);
	box-sizing: border-box;
}
.gsch-voices.alignfull {
	border-radius: 0;
}
.gsch-voices__inner {
	max-width: var(--wp--style--global--wide-size, 1328px);
	margin: 0 auto;
}
.gsch-voices__eyebrow {
	margin: 0;
	color: var(--wp--preset--color--sky, #2ea3f2);
	font-size: 0.8125rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.gsch-voices__title {
	margin: 0.6rem 0 1.5rem;
	color: inherit;
}
.gsch-voices__list {
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0.5rem 0 1rem;
	overflow-x: auto;
	list-style: none;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}
.gsch-voice {
	display: flex;
	flex: 0 0 min(380px, 80vw);
	flex-direction: column;
	gap: 1rem;
	box-sizing: border-box;
	padding: 1.75rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 24px;
	background: rgba(255, 255, 255, 0.06);
	scroll-snap-align: start;
}
.gsch-voice__mark {
	color: var(--wp--preset--color--sky, #2ea3f2);
}
.gsch-voice__text {
	margin: 0;
	padding: 0;
	border: 0;
}
.gsch-voice__text p {
	margin: 0;
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.4;
}
.gsch-voice__meta {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	margin: auto 0 0;
	color: var(--gsch-band-soft, #c9d6ea);
	font-size: 0.875rem;
}
.gsch-voice__meta a {
	color: inherit;
}

/* Story categories */
.gsch-story-cats {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr));
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}
.gsch-story-cat {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	height: 100%;
	box-sizing: border-box;
	padding: 1.6rem;
	border-radius: var(--gsch-radius);
	background: var(--gsch-tint);
	color: var(--gsch-ink);
	text-decoration: none !important;
	transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s;
}
.gsch-story-cat:hover,
.gsch-story-cat:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 16px 40px rgba(11, 27, 51, 0.1);
}
.gsch-story-cat__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin-bottom: 0.4rem;
	border-radius: 16px;
	background: var(--gsch-fill);
	color: #0b1b33;
}
.gsch-story-cat__name {
	font-family: var(--wp--preset--font-family--display, inherit);
	font-size: 1.4rem;
	font-weight: 800;
	line-height: 1.1;
}
.gsch-story-cat__desc {
	color: var(--gsch-muted);
	font-size: 0.9375rem;
	line-height: 1.5;
}
.gsch-story-cat__count {
	margin-top: auto;
	padding-top: 0.6rem;
	color: var(--gsch-deep);
	font-size: 0.875rem;
	font-weight: 800;
}

/* Give */
.gsch-give {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
	gap: 1.25rem;
}
.gsch-give__card {
	padding: clamp(1.25rem, 3vw, 2rem);
	border: 1.5px solid var(--gsch-line);
	border-radius: var(--gsch-radius);
	background: var(--gsch-surface);
	color: var(--gsch-ink);
}
.gsch-give__card.is-online {
	border-color: transparent;
	background: var(--gsch-tint);
}
.gsch-give__card > * {
	margin: 0;
}
.gsch-give__card > * + * {
	margin-top: 0.9rem;
}
.gsch-give__title {
	font-size: var(--wp--preset--font-size--large, 1.3rem);
}
.gsch-give__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.gsch-give__button.wp-element-button {
	text-decoration: none;
}
.gsch-give__button.is-secondary {
	border: 1.5px solid currentColor;
	background: transparent;
	color: var(--gsch-ink);
}
.gsch-give__bank {
	display: grid;
	gap: 0.6rem;
}
.gsch-give__bank div {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 0.25rem 1rem;
	padding-bottom: 0.6rem;
	border-bottom: 1px solid var(--gsch-line);
}
.gsch-give__bank dt {
	color: var(--gsch-muted);
}
.gsch-give__bank dd {
	margin: 0;
	font-weight: 700;
	font-variant-numeric: tabular-nums;
	overflow-wrap: anywhere;
}
.gsch-give__aid,
.gsch-give__charity {
	color: var(--gsch-muted);
	font-size: 0.9375rem;
}

/* Items that wear their own church's colour re-resolve the colour tokens. */
.gsch-churches li,
.gsch-event,
.gsch-service,
.gsch-story-cats li {
	--gsch-fill: var(--gsc-location-fill, var(--wp--preset--color--sky, #2ea3f2));
	--gsch-deep: var(--gsc-location-deep, var(--wp--preset--color--sky-deep, #1a73c0));
	--gsch-tint: var(--gsc-location-tint, var(--wp--preset--color--sky-tint, #e8f4fd));
}

/* Meeting notes and online links (0.6.0) */
.gsch-service__note {
	color: var(--gsch-muted);
	font-size: 0.875rem;
	line-height: 1.4;
}
.gsch-service__link {
	color: var(--gsch-deep);
	font-size: 0.875rem;
	font-weight: 700;
}
.gsch-services.is-layout-list .gsch-service__note,
.gsch-services.is-layout-list .gsch-service__link {
	grid-column: 2;
}

/* Congregation photos (0.6.0) */
.gsch-church-photos__title {
	margin-bottom: var(--wp--preset--spacing--40, 1.5rem);
}
.gsch-church-photos .wp-block-gallery {
	margin: 0;
}
