/* ==========================================================================
   SVC inner pages (every page except Home). Loaded after the theme.
   Same family as the homepage: theme fonts (Gilda Display / Inter), bronze
   #ab815a, dark #1e232b, cream #faf8f5 / stone #e8e2da, logo orange #f16923
   for focus rings only. Colours, the type scale and the spacing rhythm are the
   site-wide tokens from svc-site-improvements.css (--svc-*). Rules are scoped
   to body.svc-page.
   ========================================================================== */

/* ---------- focus rings (keyboard users) ---------- */
body.svc-page #Content a:focus-visible,
body.svc-page #Content button:focus-visible,
body.svc-page #Content input:focus-visible,
body.svc-page #Content textarea:focus-visible {
	outline: 3px solid var(--svc-orange);
	outline-offset: 3px;
}

/* ==========================================================================
   1. Theme banner (#Subheader) - Kids Club, Media, Media Centre, Blogs,
      blog posts and archives. Made to look like the dark builder banners on
      About / Leadership / Ministries / Gallery / Contact.
   ========================================================================== */
body.svc-page #Subheader {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(300px, 36vw, 460px);
	padding: 160px 0 70px !important;      /* room for the transparent header on desktop */
	box-sizing: border-box;
	background-color: var(--svc-ink);
	background-size: cover !important;
	background-position: center center !important;
}
body.svc-page #Subheader::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(to bottom, rgba(30, 35, 43, .55) 0%, rgba(30, 35, 43, .35) 45%, rgba(30, 35, 43, .9) 100%),
		linear-gradient(to right, rgba(30, 35, 43, .45), rgba(30, 35, 43, 0) 60%);
}
body.svc-page #Subheader::after {
	display: none;                          /* theme's 3px inner shadow line */
}
body.svc-page #Subheader .container {
	position: relative;
	z-index: 1;
}
body.svc-page #Subheader .title {
	width: 100%;
	margin: 0;
	text-align: center;
	text-transform: uppercase;
	letter-spacing: var(--svc-ls-display);
	font-weight: 400;
	font-size: var(--svc-fs-h1);
	line-height: var(--svc-lh-display);
	color: var(--svc-bronze);
	text-wrap: balance;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .45);
}
@media only screen and (max-width: 767px) {
	body.svc-page #Subheader {
		min-height: 240px;
		padding: 56px 0 44px !important;      /* header is a solid bar above the banner on phones */
	}
}

/* ---------- builder banners and page text: the same rhythm on every page ---------- */
body.svc-page .mcb-section h1 {
	font-size: var(--svc-fs-h1);
	line-height: var(--svc-lh-display);
	letter-spacing: var(--svc-ls-display);
}
body.svc-page #Content .column_attr h2,
body.svc-page #Content .column_heading h2 {
	font-size: var(--svc-fs-h2);
	line-height: var(--svc-lh-display);
}
body.svc-page #Content .column_attr p,
body.svc-page #Content .column_column p,
body.svc-page #Content .column_plain_text,
body.svc-page #Content .the_content_wrapper p,
body.svc-page #Content .the_content_wrapper li {
	font-size: var(--svc-fs-body);
	line-height: var(--svc-lh-body);
	color: var(--svc-text);
}
/* Bold text takes the colour of its paragraph: dark on light sections, white on dark ones
   (a fixed dark colour made "Assemblies of God UK" invisible on the dark About banner). */
body.svc-page #Content .column_attr strong,
body.svc-page #Content .column_attr b,
body.svc-page #Content .the_content_wrapper strong {
	color: inherit;
}
/* small headings on white/cream (the theme's light bronze is 3.5:1 under 24px) */
body.svc-page #Content .column_heading h3.title,
body.svc-page #Content .column_heading h4.title,
body.svc-page #Content .hover_color h4,
body.svc-page #Content .accordion .title.heading,
body.svc-page #Content .column_attr h5 {
	color: var(--svc-bronze-deep);
}
body.svc-page #Content .column_heading h3.title {
	margin-bottom: var(--svc-space-2);
}
/* uppercase Inter labels (h6) */
body.svc-page #Content .column_attr h6 {
	letter-spacing: 2px;
	line-height: 1.6;
}
@media only screen and (max-width: 767px) {
	body.svc-page #Content .column_image {
		margin-bottom: var(--svc-space-4);   /* headings no longer touch the photo above them */
	}
	body.svc-page #Content .column_attr h1 + p,
	body.svc-page #Content .column_attr h2 + p {
		margin-top: var(--svc-space-2);
	}
}

/* ==========================================================================
   2. Photos: rounded corners like the homepage cards, correct scaling.
   ========================================================================== */
body.svc-page #Content .column_image .image_wrapper,
body.svc-page #Content .column_image .image_frame,
body.svc-page #Content .column_image .image_frame .image_wrapper img {
	border-radius: var(--svc-radius);
}
body.svc-page #Content .column_image .image_frame {
	overflow: hidden;
}
body.svc-page #Content .column_image img {
	max-width: 100%;
	height: auto;
}
body.svc-page #Content .image_gallery .image_frame,
body.svc-page #Content .image_gallery .image_frame img {
	border-radius: var(--svc-radius-sm);
}

/* ==========================================================================
   3. Leadership - social links: 44px tap targets, theme bronze outline
   ========================================================================== */
body.svc-page .svc-social {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 22px 0 10px;
}
body.svc-page .svc-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(171, 129, 90, .6);
	border-radius: 50%;
	color: var(--svc-bronze-deep);
	font-size: 20px;
	line-height: 1;
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .3s var(--svc-ease);
}
body.svc-page .svc-social a:hover,
body.svc-page .svc-social a:focus-visible {
	background: var(--svc-bronze);
	border-color: var(--svc-bronze);
	color: #ffffff;
	transform: translateY(-2px);
}
body.svc-page .svc-social a i {
	line-height: 1;
}
body.svc-page .svc-social a i::before {
	margin: 0;
}
/* role line under each name */
body.svc-page.page-id-11 #Content .column_attr h6 {
	color: var(--svc-muted);
	margin-bottom: var(--svc-space-3);
}

/* ==========================================================================
   4. Our Ministries - each ministry is a row; make the rows read as cards
   ========================================================================== */
body.svc-page.page-id-229 #Content .column_column h2 {
	margin-bottom: 4px;
}
body.svc-page.page-id-229 #Content .column_column h6 {
	color: var(--svc-bronze-deep);
	letter-spacing: 2px;
	text-transform: uppercase;
	margin-bottom: var(--svc-space-3);
}
body.svc-page.page-id-229 #Content .column_column b i,
body.svc-page.page-id-229 #Content .column_column strong i {
	color: var(--svc-bronze);
	margin-right: 4px;
}
body.svc-page.page-id-229 #Content .column_column b i::before,
body.svc-page.page-id-229 #Content .column_column strong i::before {
	margin: 0;
}
body.svc-page.page-id-229 #Content .column_button .button {
	margin-top: 6px;
}
/* filled bronze buttons: dark label (white on bronze was 3.5:1) */
body.svc-page.page-id-229 #Content .column_button .button .button_label {
	color: var(--svc-ink);
}
body.svc-page.page-id-229 #Content .column_button .button:hover .button_label {
	color: #ffffff;
}
@media only screen and (max-width: 767px) {
	body.svc-page.page-id-229 #Content .mcb-section {
		padding-top: 50px !important;
		padding-bottom: 20px !important;
	}
	body.svc-page.page-id-229 #Content .column_image {
		margin-bottom: 24px;
	}
}

/* ==========================================================================
   5. About - "A place to belong" list was pale grey on beige; stats boxes
   ========================================================================== */
body.svc-page.page-id-13 #Content .mcb-item-x4xlhrka3 ul {
	margin-top: 8px;
}
body.svc-page.page-id-13 #Content .mcb-item-x4xlhrka3 ul li {
	color: var(--svc-text);
	line-height: var(--svc-lh-body);
	margin-bottom: 8px;
}
body.svc-page.page-id-13 #Content .mcb-item-x4xlhrka3 ul li::before {
	color: var(--svc-bronze);
}
body.svc-page.page-id-13 #Content .mcb-item-x4xlhrka3 p {
	color: var(--svc-ink);
	font-weight: 500;
}
body.svc-page.page-id-13 #Content .hover_color {
	transition: transform .3s var(--svc-ease), box-shadow .3s var(--svc-ease);
}
body.svc-page.page-id-13 #Content .hover_color:hover {
	transform: translateY(-3px);
	box-shadow: var(--svc-shadow);
}
body.svc-page #Content .hover_color h4 {
	line-height: 1.3;
	letter-spacing: .02em;
	margin-bottom: var(--svc-space-2);
}
body.svc-page #Content .hover_color p {
	color: var(--svc-text);
	line-height: 1.6;
}

/* ==========================================================================
   6. Contact - readable details panel, tap-to-call links, full-width map
   ========================================================================== */
body.svc-page.page-id-15 #Content .mcb-item-az6s6a85t h3,
body.svc-page.page-id-15 #Content .mcb-item-az6s6a85t h4 {
	color: var(--svc-bronze-deep);
	line-height: 1.35;
}
body.svc-page.page-id-15 #Content .mcb-item-az6s6a85t h3 a {
	display: inline-block;
	padding: 10px 0;                        /* tap-to-call: 44px tall */
	margin: -10px 0;
	color: inherit;
	text-decoration: none;
}
body.svc-page.page-id-15 #Content .mcb-item-az6s6a85t h3 a:hover {
	text-decoration: underline;
}
body.svc-page.page-id-15 #Content .mcb-item-az6s6a85t p {
	color: var(--svc-ink);
	font-size: var(--svc-fs-sm);
	white-space: nowrap;                     /* "Sunday Services 08:15 AM - 10:30 AM" stays on one line */
}
body.svc-page.page-id-15 #Content .svc-contact-links {
	margin-top: 14px;
	line-height: 2.2;
}
body.svc-page.page-id-15 #Content .svc-contact-links a {
	display: inline-block;
	padding: 8px 0;
	color: var(--svc-bronze-deep);
	font-weight: 500;
	text-decoration: none;
}
body.svc-page.page-id-15 #Content .svc-contact-links a:hover {
	text-decoration: underline;
}
body.svc-page.page-id-15 #Content .svc-contact-links i {
	color: var(--svc-bronze);
	margin-right: 2px;
}
body.svc-page.page-id-15 #Content .mcb-item-z0qlas5hv h3 {
	color: var(--svc-bronze-deep);
}
body.svc-page.page-id-15 #Content .column_map_basic iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: var(--svc-radius);
}
/* form fields on the stone panel */
body.svc-page.page-id-15 #Content .wpcf7 input:not([type="submit"]),
body.svc-page.page-id-15 #Content .wpcf7 textarea {
	font-size: var(--svc-fs-body);
	color: var(--svc-ink);
}
body.svc-page.page-id-15 #Content .wpcf7 input::placeholder,
body.svc-page.page-id-15 #Content .wpcf7 textarea::placeholder {
	color: var(--svc-bronze-deep);
	opacity: 1;
}
@media only screen and (max-width: 767px) {
	body.svc-page.page-id-15 #Content .mcb-item-az6s6a85t {
		padding: 30px 6% !important;
	}
}

/* ==========================================================================
   7. Media - responsive video, YouTube channel block
   ========================================================================== */
body.svc-page.page-id-287 #Content .mcb-section {
	padding-top: 60px;
	padding-bottom: 60px;
}
body.svc-page.page-id-287 #Content .column_video .content_video {
	max-width: 960px;
	margin: 0 auto;
	border-radius: var(--svc-radius);
	overflow: hidden;
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .6);
	background: #000;
}
body.svc-page.page-id-287 #Content .column_video .content_video iframe {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
}
body.svc-page.page-id-287 #Content .column_heading {
	margin-top: 50px;
}
body.svc-page.page-id-287 #Content .column_heading h2 {
	text-align: center;
}
body.svc-page.page-id-287 #Content .column_plain_text {
	max-width: 640px;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	color: var(--svc-text);
}
body.svc-page.page-id-287 #Content .column_button {
	text-align: center;
}
body.svc-page.page-id-287 #Content .column_button .button_icon i {
	color: inherit;
}

/* ==========================================================================
   8. Media Centre - two link cards (Sermons & Videos, Photo Gallery)
   ========================================================================== */
body.svc-page #Content .svc-media-cards {
	padding-top: 80px;
	padding-bottom: 80px;
	background: var(--svc-cream);
}
body.svc-page #Content .svc-media-cards .svc-card {
	padding: 0 1.5%;
	box-sizing: border-box;
}
body.svc-page #Content .svc-media-cards .svc-card .mcb-wrap-inner {
	height: 100%;
	padding: 18px 18px 28px;
	box-sizing: border-box;
	background: #ffffff;
	border: 1px solid var(--svc-stone);
	border-radius: var(--svc-radius);
	transition: transform .4s var(--svc-ease), box-shadow .4s var(--svc-ease);
}
body.svc-page #Content .svc-media-cards .svc-card .mcb-wrap-inner:hover {
	transform: translateY(-4px);
	box-shadow: var(--svc-shadow);
}
body.svc-page #Content .svc-media-cards .svc-card .column_image {
	margin-bottom: 22px;
}
body.svc-page #Content .svc-media-cards .svc-card .column_image .image_frame,
body.svc-page #Content .svc-media-cards .svc-card .column_image .image_wrapper,
body.svc-page #Content .svc-media-cards .svc-card .column_image img {
	border-radius: var(--svc-radius-sm);
}
body.svc-page #Content .svc-media-cards .svc-card .column_image img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}
body.svc-page #Content .svc-media-cards .svc-card .column_heading,
body.svc-page #Content .svc-media-cards .svc-card .column_plain_text,
body.svc-page #Content .svc-media-cards .svc-card .column_button {
	padding: 0 12px;
}
body.svc-page #Content .svc-media-cards .svc-card .column_heading h2 {
	font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.2rem);
	line-height: 1.15;
	margin-bottom: 10px;
}
body.svc-page #Content .svc-media-cards .svc-card .column_plain_text {
	color: var(--svc-text);
	margin-bottom: 22px;
}
body.svc-page #Content .svc-media-cards .svc-card .column_button {
	margin-bottom: 0;
}
body.svc-page #Content .svc-media-cards .svc-card .column_button .button_icon i {
	color: inherit;
}
@media only screen and (max-width: 767px) {
	body.svc-page #Content .svc-media-cards {
		padding-top: 40px;
		padding-bottom: 30px;
	}
	body.svc-page #Content .svc-media-cards .svc-card {
		padding: 0;
		margin-bottom: 20px;
	}
}

/* ==========================================================================
   9. Kids Club - tidy on phones, Google Form and map embeds
   ========================================================================== */
body.svc-page.page-id-371 #Content .column_map_basic iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: var(--svc-radius);
}
body.svc-page.page-id-371 #Content .column_plain_text {
	line-height: 1.75;
}
body.svc-page.page-id-371 #Content iframe[src*="docs.google.com/forms"] {
	display: block;
	width: 100%;
	max-width: 760px;
	margin: 0 auto;
	border: 0;
}
@media only screen and (max-width: 767px) {
	body.svc-page.page-id-371 #Content .mcb-section {
		padding-top: 30px !important;
		padding-bottom: 10px !important;
	}
	body.svc-page.page-id-371 #Content .column_image {
		margin-bottom: 24px;
	}
	body.svc-page.page-id-371 #Content .column_heading h2 {
		font-size: 2rem;
	}
	body.svc-page.page-id-371 #Content iframe[src*="docs.google.com/forms"] {
		height: 2450px;                      /* the form is taller on a narrow screen */
	}
}

/* ==========================================================================
   10. Blog list, posts and archives - readable meta, bigger tap targets
   ========================================================================== */
body.svc-page .post-meta,
body.svc-page .post-meta a,
body.svc-page .post-meta .author-date .label,
body.svc-page .post-meta .date .post-date,
body.svc-page .post-footer,
body.svc-page .post-footer a,
body.svc-page .fixed-nav .desc .date {
	color: var(--svc-muted) !important;
}
body.svc-page .post-meta .author-date {
	font-size: 14px;                        /* "Name on date" fits on one line in the 3-column grid */
	line-height: 1.7;
}
@media only screen and (max-width: 767px) {
	body.svc-page .post-meta .author-date {
		font-size: 13px;                    /* the date no longer wraps onto its own line on phones */
	}
}
body.svc-page .post-meta a,
body.svc-page .post-footer a,
body.svc-page .post-footer .button-love a {
	display: inline-block;
	padding: 12px 0;                        /* 44px tall hit area without moving the layout */
	margin: -12px 0;
	text-decoration: none;
}
body.svc-page .post-footer a,
body.svc-page .post-footer .button-love a {
	padding: 12px 18px;                     /* comment count / read more: at least 44 x 44 */
	margin: -12px -10px;
}
body.svc-page .post-footer .button-love a.mfn-love .label {
	color: var(--svc-muted);                /* the like count was pale grey (2.4:1) */
}
body.svc-page .wpulike .wp_ulike_btn,
body.svc-page .mfn-share-post-button {
	min-width: 44px;
	min-height: 44px;
	box-sizing: border-box;
}
body.svc-page .post-meta a:hover,
body.svc-page .post-footer a:hover {
	color: var(--svc-bronze-deep) !important;
	text-decoration: underline;
}
body.svc-page .post-footer .post-links .post-more {
	font-weight: 500;
}
body.svc-page .post-title h4,
body.svc-page .post-title h5 {
	font-family: var(--svc-display);
	font-weight: 400;
	font-size: var(--svc-fs-h3);
	line-height: var(--svc-lh-heading);
	letter-spacing: .01em;
	margin-bottom: var(--svc-space-2);
}
body.svc-page .post-title h4 a,
body.svc-page .post-title h5 a {
	color: var(--svc-bronze-deep);
}
body.svc-page .post-title h4 a:hover,
body.svc-page .post-title h5 a:hover {
	color: var(--svc-ink);
}
body.svc-page .post-item .post-excerpt,
body.svc-page .post-item .post-excerpt p {
	color: var(--svc-text);
	line-height: var(--svc-lh-body);
}
body.svc-page .post-item .image_frame,
body.svc-page .post-item .image_frame img {
	border-radius: var(--svc-radius-sm);
}
body.svc-page .post-item .post-desc-wrapper {
	background: #ffffff;
}
/* share buttons: the theme's own pill outline in bronze instead of orange squares */
body.svc-page .mfn-share-post {
	gap: 8px;
}
body.svc-page .mfn-share-post-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 8px 16px;
	border: 1px solid var(--svc-bronze);
	border-radius: 24px;
	color: var(--svc-bronze-deep);
	font-size: var(--svc-fs-sm);
	transition: background-color .2s ease, color .2s ease;
}
body.svc-page .mfn-share-post-button:hover,
body.svc-page .mfn-share-post-button:focus-visible {
	background: var(--svc-bronze);
	color: #ffffff;
}
body.svc-page .mfn-share-post-button .mfn-share-post-button-label {
	color: inherit;
}

/* single post: text and comments (block comments) */
body.svc-page.single-post .the_content_wrapper {
	max-width: 72ch;
}
body.svc-page .wp-block-comments-title,
body.svc-page .wp-block-comments h2 {
	font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem);
	line-height: 1.25;
	letter-spacing: 0;
	text-transform: none;
	color: var(--svc-bronze-deep);
	margin-bottom: var(--svc-space-4);
}
body.svc-page .wp-block-comment-author-name,
body.svc-page .wp-block-comment-author-name a {
	color: var(--svc-ink);
	font-weight: 600;
}
body.svc-page .wp-block-comment-content p {
	color: var(--svc-text);
	font-size: var(--svc-fs-body);
	line-height: var(--svc-lh-body);
}
body.svc-page .wp-block-comments .has-small-font-size,
body.svc-page .wp-block-comment-date,
body.svc-page .wp-block-comment-date a {
	color: var(--svc-muted);
	font-size: 14px;
}
body.svc-page .wp-block-comment-date a,
body.svc-page .comment-reply-link,
body.svc-page .wp-block-comment-edit-link a {
	display: inline-block;
	min-height: 44px;
	line-height: 44px;
	padding: 0 10px;
	margin-left: -10px;
	color: var(--svc-bronze-deep);
	font-weight: 500;
}
body.svc-page #reply-title {
	font-size: var(--svc-fs-h3);
	line-height: var(--svc-lh-heading);
	color: var(--svc-bronze-deep);
	margin-bottom: var(--svc-space-2);
}
body.svc-page .comment-form label,
body.svc-page .comment-notes {
	color: var(--svc-text);
}
body.svc-page .wp-block-post-comments-form input[type="checkbox"],
body.svc-page .comment-form-cookies-consent input[type="checkbox"] {
	width: 22px;
	height: 22px;
	margin-right: 8px;
	accent-color: var(--svc-bronze);
}
body.svc-page .comment-form-cookies-consent label {
	display: inline-block;
	padding: 10px 0;
	color: var(--svc-ink);
}
body.svc-page .wp-block-post-comments-form input[type="submit"],
body.svc-page .comment-form .submit {
	min-height: 46px;
}
body.svc-page .fixed-nav .desc h6 {
	color: var(--svc-ink);
}

/* ---------- 10b. Blog tidy-up (1.5.3) ---------- */

/* list: each post is a card like the homepage cards */
body.svc-page .post-item .post-desc-wrapper {
	border: 1px solid var(--svc-stone);
	border-top: 0;
	border-radius: 0 0 var(--svc-radius-sm) var(--svc-radius-sm);
}
body.svc-page .post-item .image_frame,
body.svc-page .post-item .image_frame img {
	border-radius: var(--svc-radius-sm) var(--svc-radius-sm) 0 0;
}
/* list: excerpts cut to 4 lines so the three cards end at nearly the same height */
body.svc-page .post-item .post-excerpt {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
	min-height: calc(4 * 1.65em);            /* short excerpts still fill 4 lines, so the cards line up */
	margin-bottom: var(--svc-space-4);
}
/* list: like, comments and read more on one tidy line (the like count dropped below the heart) */
body.svc-page .post-item .post-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--svc-space-2);
	padding: 4px 20px;
	border-top: 1px solid var(--svc-stone);
	background: transparent;
}
body.svc-page .post-item .post-footer .button-love,
body.svc-page .post-item .post-footer .post-links {
	position: static;
	float: none;
	width: auto;
	margin: 0;
	padding: 0;
	border: 0;
	display: flex;
	align-items: center;
}
body.svc-page .post-item .post-footer .button-love .love-text {
	display: none;
}
body.svc-page .post-item .post-footer .button-love a.mfn-love {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}
body.svc-page .post-item .post-footer .button-love a.mfn-love .icons-wrapper {
	position: relative;
	display: inline-block;
	width: 16px;
	height: 20px;
	margin: 0;
}
body.svc-page .post-item .post-footer .button-love a.mfn-love .label {
	position: static;
	display: inline;
	margin: 0;
}
body.svc-page .post-item .post-footer .post-links i {
	color: var(--svc-bronze);
}
/* list: no dotted theme underline under the author's name */
body.svc-page .post-item .post-meta a {
	border-bottom: 0;
}
/* list: less empty space around the share bar under the posts */
body.svc-page #Content .mcb-section:has(.column_share) {
	padding-top: var(--svc-space-3) !important;
	padding-bottom: var(--svc-space-6) !important;
}

/* post: the text column sits in the middle of the page, not on the left */
body.svc-page.single-post .the_content_wrapper {
	margin-left: auto;
	margin-right: auto;
}
@media only screen and (min-width: 768px) {
	body.svc-page.single-post #Content .the_content_wrapper p,
	body.svc-page.single-post #Content .the_content_wrapper li {
		font-size: 1.0625rem;                   /* 17px: easier reading for long posts and poems */
		line-height: 1.75;
	}
}
body.svc-page.single-post #Content .the_content_wrapper > p {
	margin-bottom: var(--svc-space-4);
}
/* post: banner title smaller and easier to read on the photo */
body.svc-page.single-post #Subheader::before {
	background: linear-gradient(to bottom, rgba(30, 35, 43, .82) 0%, rgba(30, 35, 43, .76) 50%, rgba(30, 35, 43, .92) 100%);
}
body.svc-page.single-post #Subheader .title {
	max-width: 22ch;
	margin: 0 auto;
	font-size: var(--svc-fs-h2);
}
/* post: share icons in the site's bronze outline style (were Facebook blue / Pinterest red squares) */
body.svc-page.single-post .wp-block-uagb-social-share {
	display: flex;
	justify-content: flex-start;
	gap: 8px;
	margin: 0 0 var(--svc-space-5);
}
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss-repeater {
	margin: 0 !important;
	padding: 0 !important;
}
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0 !important;
	border: 1px solid var(--svc-bronze);
	border-radius: 50%;
	background: transparent !important;
	cursor: pointer;
	transition: background-color .2s ease;
}
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__source-wrap,
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__source-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
}
body.svc-page.single-post .wp-block-uagb-social-share svg {
	width: 16px !important;
	height: 16px !important;
	fill: var(--svc-bronze-deep) !important;
}
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__link:hover,
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__link:focus-visible {
	background: var(--svc-bronze) !important;
}
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__link:hover svg,
body.svc-page.single-post .wp-block-uagb-social-share .uagb-ss__link:focus-visible svg {
	fill: #ffffff !important;
}
/* post: the line above the comments */
body.svc-page.single-post .the_content_wrapper hr.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--svc-stone);
	margin: var(--svc-space-6) 0 var(--svc-space-5);
	opacity: 1;
}
/* post: comment form - the "save my name" line was squeezed into a 1px column, leaving a big gap */
body.svc-page .comment-form .comment-form-cookies-consent,
body.svc-page .comment-form .form-submit {
	clear: both;
	float: none;
	width: 100%;
}
body.svc-page .comment-form .form-submit::after {
	content: "";
	display: table;
	clear: both;
}
/* post: typed text in dark ink (was bronze) and the fields visible on white */
body.svc-page .comment-form textarea,
body.svc-page .comment-form input[type="text"],
body.svc-page .comment-form input[type="email"],
body.svc-page .comment-form input[type="url"] {
	color: var(--svc-ink);
	background: var(--svc-cream);
	padding: 12px 14px;
	border-radius: var(--svc-radius-sm) var(--svc-radius-sm) 0 0;
	box-sizing: border-box;
}
body.svc-page .comment-form textarea {
	height: 160px;
}
/* post: like buttons in bronze outline instead of grey squares */
body.svc-page .wpulike-default .wp_ulike_btn {
	background-color: transparent !important;
	border: 1px solid var(--svc-bronze) !important;
	border-radius: 50% !important;
}
body.svc-page .wpulike-default .wp_ulike_btn:hover {
	background-color: var(--svc-cream) !important;
}
body.svc-page .wpulike-default .count-box {
	color: var(--svc-muted);
	border-color: var(--svc-stone-2);
}
body.svc-page.single-post .the_content_wrapper > .wpulike {
	margin-top: var(--svc-space-5);
}

/* ---------- 10c. Blog posts: the finished look for every post, old and new (1.5.5) ---------- */

/* author / date / reading time line above the text */
body.svc-page.single-post #Content .the_content_wrapper p.svc-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 10px;
	margin: 0 0 var(--svc-space-3);
	font-family: var(--svc-label);
	font-size: var(--svc-fs-xs);
	line-height: 1.6;
	letter-spacing: var(--svc-ls-caps);
	text-transform: uppercase;
	color: var(--svc-bronze-deep);
}
body.svc-page.single-post .svc-blog-meta__author {
	font-weight: 600;
}
body.svc-page.single-post .svc-blog-meta__dot {
	color: var(--svc-bronze);
}
/* the first paragraph reads as an introduction */
body.svc-page.single-post #Content .the_content_wrapper > p.svc-blog-meta + .wp-block-uagb-social-share + p,
body.svc-page.single-post #Content .the_content_wrapper > p.svc-blog-meta + p {
	font-size: var(--svc-fs-lede);
	color: var(--svc-ink);
}
/* headings, quotes, lists, links and pictures written in the post editor */
body.svc-page.single-post #Content .the_content_wrapper h2,
body.svc-page.single-post #Content .the_content_wrapper h3,
body.svc-page.single-post #Content .the_content_wrapper h4 {
	font-family: var(--svc-display);
	font-weight: 400;
	color: var(--svc-bronze-deep);
	letter-spacing: 0;
	text-transform: none;
}
body.svc-page.single-post #Content .the_content_wrapper h2 {
	font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem);
	line-height: 1.25;
	margin: var(--svc-space-6) 0 var(--svc-space-3);
}
body.svc-page.single-post #Content .the_content_wrapper h3 {
	font-size: var(--svc-fs-h3);
	line-height: var(--svc-lh-heading);
	margin: var(--svc-space-5) 0 var(--svc-space-2);
}
body.svc-page.single-post #Content .the_content_wrapper h4 {
	font-size: var(--svc-fs-h4);
	margin: var(--svc-space-4) 0 var(--svc-space-2);
}
body.svc-page.single-post #Content .the_content_wrapper blockquote,
body.svc-page.single-post #Content .the_content_wrapper .wp-block-quote,
body.svc-page.single-post #Content .the_content_wrapper .wp-block-pullquote {
	margin: var(--svc-space-5) 0;
	padding: var(--svc-space-4) var(--svc-space-5);
	border: 0;
	border-left: 3px solid var(--svc-bronze);
	border-radius: 0 var(--svc-radius-sm) var(--svc-radius-sm) 0;
	background: var(--svc-cream);
	text-align: left;
	quotes: none;
}
body.svc-page.single-post #Content .the_content_wrapper blockquote::before,
body.svc-page.single-post #Content .the_content_wrapper blockquote::after {
	content: none;                          /* theme's big quote marks */
}
body.svc-page.single-post #Content .the_content_wrapper blockquote p {
	font-family: var(--svc-display);
	font-style: normal;
	font-size: 1.25rem;
	line-height: 1.55;
	color: var(--svc-ink);
	margin: 0 0 var(--svc-space-2);
}
body.svc-page.single-post #Content .the_content_wrapper blockquote cite,
body.svc-page.single-post #Content .the_content_wrapper blockquote footer {
	display: block;
	font-family: var(--svc-body);
	font-style: normal;
	font-size: var(--svc-fs-sm);
	color: var(--svc-bronze-deep);
	margin-top: var(--svc-space-1);
}
body.svc-page.single-post #Content .the_content_wrapper ul,
body.svc-page.single-post #Content .the_content_wrapper ol {
	margin: 0 0 var(--svc-space-4) 1.25em;
}
body.svc-page.single-post #Content .the_content_wrapper li {
	margin-bottom: var(--svc-space-1);
}
body.svc-page.single-post #Content .the_content_wrapper li::marker {
	color: var(--svc-bronze);
}
body.svc-page.single-post #Content .the_content_wrapper p a,
body.svc-page.single-post #Content .the_content_wrapper li a {
	color: var(--svc-bronze-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.svc-page.single-post #Content .the_content_wrapper .wp-block-image,
body.svc-page.single-post #Content .the_content_wrapper figure {
	margin: var(--svc-space-5) 0;
}
body.svc-page.single-post #Content .the_content_wrapper .wp-block-image img,
body.svc-page.single-post #Content .the_content_wrapper figure img {
	height: auto;
	border-radius: var(--svc-radius-sm);
}
body.svc-page.single-post #Content .the_content_wrapper figcaption {
	font-size: var(--svc-fs-sm);
	color: var(--svc-muted);
	text-align: center;
	margin-top: var(--svc-space-1);
}

/* New posts use the theme's standard post layout (the three 2025 posts use a builder layout).
   The banner already shows the title and our line shows author + date, so the theme's second
   title, "Published by" line, Categories/Tags menus and back arrow are hidden (still in the page
   for search engines). The photo, share row, author box and comments line up with the text. */
body.svc-page.single-post .section-post-header .post-header,
body.svc-page.single-post .section-post-header .post-nav {
	display: none;
}
body.svc-page.single-post .section-post-header {
	padding-top: var(--svc-space-6);
}
body.svc-page.single-post .section-post-header .single-photo-wrapper,
body.svc-page.single-post .section-post-intro-share .column.one,
body.svc-page.single-post .section-post-about .section_wrapper,
body.svc-page.single-post .section-post-comments .section_wrapper {
	float: none;
	width: auto;
	max-width: 72ch;
	margin-left: auto;
	margin-right: auto;
}
body.svc-page.single-post .section-post-header .single-photo-wrapper .image_frame,
body.svc-page.single-post .section-post-header .single-photo-wrapper img {
	border: 0;
	border-radius: var(--svc-radius-sm);
	overflow: hidden;
}
body.svc-page.single-post .section-post-header .single-photo-wrapper img {
	display: block;
	width: 100%;
	max-height: 560px;
	object-fit: cover;
}
/* "Save my name..." checkbox on the same line as its text, on phones too */
body.svc-page .comment-form .comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 4px;
}
body.svc-page .comment-form .comment-form-cookies-consent input[type="checkbox"] {
	flex: 0 0 22px;
	margin-top: 12px;
}

/* "More from the blog" cards under the text */
body.svc-page .svc-blog-more {
	margin: var(--svc-space-6) 0 var(--svc-space-5);
	padding-top: var(--svc-space-5);
	border-top: 1px solid var(--svc-stone);
}
body.svc-page .svc-blog-more__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: var(--svc-space-3);
	margin-bottom: var(--svc-space-4);
}
body.svc-page #Content .svc-blog-more__head h2 {
	margin: 0;
	font-size: var(--svc-fs-h3);
	line-height: var(--svc-lh-heading);
}
body.svc-page #Content .svc-blog-more__all {
	display: inline-block;
	padding: 10px 0;
	font-size: var(--svc-fs-sm);
	font-weight: 500;
	color: var(--svc-bronze-deep);
	text-decoration: underline;
	text-underline-offset: 3px;
}
body.svc-page .svc-blog-more__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--svc-space-3);
}
body.svc-page #Content a.svc-blog-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--svc-stone);
	border-radius: var(--svc-radius-sm);
	background: #ffffff;
	text-decoration: none;
	transition: box-shadow .2s ease, transform .2s ease;
}
body.svc-page #Content a.svc-blog-card:hover,
body.svc-page #Content a.svc-blog-card:focus-visible {
	box-shadow: var(--svc-shadow);
	transform: translateY(-2px);
}
body.svc-page #Content .svc-blog-card__img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	margin: 0;
	border-radius: 0;
}
body.svc-page .svc-blog-card__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: var(--svc-space-2) var(--svc-space-3) var(--svc-space-3);
}
body.svc-page .svc-blog-card__date {
	font-size: var(--svc-fs-xs);
	color: var(--svc-muted);
}
body.svc-page .svc-blog-card__title {
	font-family: var(--svc-display);
	font-size: 1.125rem;
	line-height: 1.3;
	color: var(--svc-bronze-deep);
}

/* phones */
@media only screen and (max-width: 767px) {
	body.svc-page.single-post #Subheader {
		min-height: 200px;
	}
	body.svc-page.single-post #Subheader .title {
		font-size: clamp(1.75rem, 1.2rem + 3vw, 2.2rem);
		padding: 0 8px;
	}
	body.svc-page.single-post #Content .the_content_wrapper blockquote {
		padding: var(--svc-space-3) var(--svc-space-4);
	}
	body.svc-page .svc-blog-more__grid {
		grid-template-columns: 1fr;
	}
	body.svc-page #Content a.svc-blog-card {
		flex-direction: row;
		align-items: stretch;
	}
	body.svc-page #Content .svc-blog-card__img {
		width: 104px;
		height: 104px;
		flex: 0 0 104px;
		aspect-ratio: auto;
	}
	body.svc-page .svc-blog-card__body {
		justify-content: center;
	}
	/* list page: comfortable card text on a narrow screen */
	body.svc-page .post-item .post-desc {
		padding: 16px 18px 0;
	}
	body.svc-page .post-item .post-footer {
		padding: 4px 12px;
	}
}
@media (prefers-reduced-motion: reduce) {
	body.svc-page #Content a.svc-blog-card {
		transition: none;
	}
	body.svc-page #Content a.svc-blog-card:hover {
		transform: none;
	}
}

/* ==========================================================================
   11. Gallery page
   ========================================================================== */
body.svc-page.page-id-17 #Content .image_gallery .image_frame {
	overflow: hidden;
}

/* ==========================================================================
   12. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	body.svc-page .svc-social a,
	body.svc-page #Content .hover_color,
	body.svc-page #Content .svc-media-cards .svc-card .mcb-wrap-inner,
	body.svc-page .mfn-share-post-button {
		transition: none;
	}
	body.svc-page .svc-social a:hover,
	body.svc-page #Content .hover_color:hover,
	body.svc-page #Content .svc-media-cards .svc-card .mcb-wrap-inner:hover {
		transform: none;
	}
}

/* ==========================================================================
   13. Leadership page (page 11): easier to read, photos the same shape (1.6.0)
   ========================================================================== */
/* the text column used 4/5 of its half, so names broke onto four lines */
body.svc-page.page-id-11 #Content .equal-height-wrap .column_column.four-fifth {
	width: 100%;
}
body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr h2 {
	font-size: clamp(2rem, 1.4rem + 1.6vw, 2.9rem);
	line-height: 1.1;
	letter-spacing: .02em;
	text-wrap: balance;
	margin-bottom: var(--svc-space-2);
}
body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr h2 br {
	display: none;                            /* "SIMON <br> VARGHESE" -> one line when it fits */
}
body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr h6 {
	display: inline-block;
	margin: 0 0 var(--svc-space-4);
	padding-bottom: 6px;
	border-bottom: 2px solid var(--svc-bronze);
	font-size: var(--svc-fs-xs);
	letter-spacing: var(--svc-ls-caps);
	text-transform: uppercase;
	color: var(--svc-bronze-deep);
}
body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr p {
	font-size: 1.0625rem;
	line-height: 1.75;
	color: var(--svc-ink);
	margin-bottom: var(--svc-space-3);
}
body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr p b,
body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr p strong {
	color: var(--svc-bronze-deep);
}
/* photos: same 4:3 shape, rounded, soft shadow, faces kept in view */
body.svc-page.page-id-11 #Content .equal-height-wrap .column_image .image_frame,
body.svc-page.page-id-11 #Content .equal-height-wrap .column_image .image_wrapper {
	border-radius: var(--svc-radius);
	overflow: hidden;
	box-shadow: var(--svc-shadow);
}
body.svc-page.page-id-11 #Content .equal-height-wrap .column_image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 30%;
}
/* every other leader on a soft cream band, so each person reads as their own section */
body.svc-page.page-id-11 #Content .mcb-section.equal-height-wrap:nth-of-type(odd) {
	background-color: var(--svc-cream);
}
body.svc-page.page-id-11 #Content .mcb-section.equal-height-wrap {
	padding-top: var(--svc-section) !important;
	padding-bottom: var(--svc-section) !important;
}
body.svc-page.page-id-11 #Content .mcb-section.equal-height-wrap .section_wrapper:empty {
	display: none;
}
@media only screen and (max-width: 767px) {
	body.svc-page.page-id-11 #Content .mcb-section.equal-height-wrap {
		padding-top: var(--svc-space-6) !important;
		padding-bottom: var(--svc-space-6) !important;
	}
	body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr {
		text-align: left;                     /* long paragraphs read better left-aligned on phones */
	}
	body.svc-page.page-id-11 #Content .equal-height-wrap .column_attr p {
		font-size: 1rem;
	}
	/* photo first, then the name and text, for every leader */
	body.svc-page.page-id-11 #Content .equal-height-wrap .section_wrapper {
		display: flex;
		flex-direction: column;
	}
	body.svc-page.page-id-11 #Content .equal-height-wrap .section_wrapper > .wrap:has(.column_image) {
		order: -1;
		margin-bottom: var(--svc-space-4);
	}
}

/* About page (page 13): credit for the chapel photo (licence CC BY-SA 2.0 requires it) */
body.svc-page.page-id-13 #Content .mcb-item-pqbe1tff8 .mcb-column-inner::after {
	content: "Photo: Nigel Cox (geograph.org.uk), CC BY-SA 2.0";
	display: block;
	margin-top: .5rem;
	font-size: 12px;
	line-height: 1.5;
	color: var(--svc-muted);
}
/* Leadership: an empty builder section after the last leader showed as a blank cream band */
body.svc-page.page-id-11 #Content .mcb-section-g975sxp6g {
	display: none;
}
