/* Scripture in Context / EWCRS WordPress palette */
html,
body,
body.custom-background,
#page,
.site,
#masthead,
.site-header,
.site-branding,
.main-navigation,
.navigation-top,
#content,
.site-content,
.content-area,
#primary,
#main,
.hentry,
.entry-header,
.entry-content,
.featured-content,
.featured-page-area,
.quaternary,
.widget-area,
#colophon,
.site-footer,
.site-info {
	background: #061349 !important;
	background-color: #061349 !important;
	color: #ffffff !important;
}

.entry-content .wp-block-group.has-background {
	background: #061349 !important;
	background-color: #061349 !important;
	color: #ffffff !important;
}

.site-title,
.site-title a,
.site-description,
.main-navigation a,
.navigation-top a,
.entry-title,
.entry-title a,
.entry-content,
.entry-content p,
.entry-content li,
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-content strong,
.featured-content,
.featured-content h1,
.featured-content h2,
.featured-content h3,
.featured-content p,
.featured-content a,
.quaternary,
.quaternary h1,
.quaternary h2,
.quaternary h3,
.quaternary p,
.widget-area,
.widget-area h1,
.widget-area h2,
.widget-area h3,
.widget-area p,
#colophon,
#colophon p,
.site-footer,
.site-info {
	color: #ffffff !important;
}

.entry-content a:not(.wp-block-button__link),
#colophon a,
.site-footer a,
.site-info a {
	color: #8fc2ff !important;
}

hr,
.wp-block-separator {
	border-color: rgba(255, 255, 255, 0.28) !important;
}

/* The hero artwork contains the two visible calls to action. */
body.home #site-navigation {
	display: none !important;
}

body.home .entry-content {
	position: relative;
}

body.home .entry-content > .wp-block-image:first-child {
	width: 100%;
	margin: 0 !important;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group {
	position: absolute !important;
	z-index: 5;
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 1918 / 820;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	pointer-events: none;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-group__inner-container,
body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-buttons {
	position: relative;
	display: block !important;
	width: 100%;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-button {
	position: static;
	margin: 0 !important;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-button__link {
	position: absolute;
	z-index: 6;
	display: block;
	margin: 0;
	padding: 0 !important;
	overflow: hidden;
	border: 0;
	border-radius: clamp(6px, 1.1vw, 20px);
	color: transparent !important;
	background: transparent !important;
	box-shadow: none;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	pointer-events: auto;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-button:first-child .wp-block-button__link {
	left: 46.6%;
	top: 72.8%;
	width: 39.3%;
	height: 27.2%;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-button:nth-child(2) .wp-block-button__link {
	left: 10.7%;
	top: 79.5%;
	width: 35.1%;
	height: 20.5%;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08) !important;
}

body.home .entry-content > .wp-block-image:first-child + .wp-block-group .wp-block-button__link:focus-visible {
	outline: 4px solid #ffffff;
	outline-offset: -5px;
	box-shadow: inset 0 0 0 7px #1565c0;
}

/* Yeshua's Way Group picture-link gallery */
.yw-group-library {
	max-width: 1180px;
	margin: 0 auto;
	padding: .5rem 0 2rem;
}

.yw-group-intro {
	margin-bottom: 1.5rem;
	color: #ffffff !important;
	font-size: clamp(1rem, 1.5vw, 1.2rem);
}

.yw-group-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: clamp(1.1rem, 2.5vw, 2rem);
	align-items: start;
	overflow: visible;
}

.yw-group-card {
	position: relative;
	z-index: 1;
	margin: 0;
	overflow: hidden;
	border: 2px solid #75b5ff;
	border-radius: 14px;
	background: #0a1f63;
	box-shadow: 0 8px 22px rgba(0, 0, 0, 0.34);
	transition: transform 180ms ease, box-shadow 180ms ease;
	transform-origin: center;
}

.yw-group-card:hover,
.yw-group-card:focus-within {
	z-index: 20;
	transform: scale(1.12);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
}

.yw-group-card-link,
.yw-group-card-link:visited {
	display: flex;
	flex-direction: column;
	color: #ffffff !important;
	text-decoration: none !important;
}

.yw-group-card-link:focus-visible {
	outline: 4px solid #ffd25c;
	outline-offset: -4px;
}

.yw-group-card img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 2;
	object-fit: cover;
}

.yw-group-card-title {
	display: block;
	padding: .9rem 1rem 1rem;
	color: #ffffff !important;
	font-size: clamp(1rem, 1.25vw, 1.15rem);
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
}

@media (hover: none) {
	.yw-group-card:hover {
		transform: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.yw-group-card {
		transition: none;
	}
	
	.yw-group-card:hover,
							.yw-group-card:focus-within {
		transform: none;
	}
}

/* Full-width Yeshua's Way Group library */
body.page-id-117 .content-wrapper {
	background: #061349 !important;
}

body.page-id-117 #secondary {
	display: none !important;
}

body.page-id-117 #primary {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

body.page-id-117 .yw-group-grid {
	grid-template-columns: repeat(auto-fill, minmax(220px, 280px));
	justify-content: start;
}

@media (max-width: 560px) {
	body.page-id-117 .content-wrapper {
		padding-left: 1.1rem !important;
		padding-right: 1.1rem !important;
	}
	
	body.page-id-117 .yw-group-grid {
		grid-template-columns: 1fr;
	}
}

/* Shared YWCM page presentation — September 13, 2026 */
html,
body,
body.custom-background,
#page,
.site,
#masthead,
.site-header,
.site-branding,
#content,
.site-content,
.content-wrapper,
.content-area,
#primary,
#main,
.hentry,
.entry-header,
.entry-content,
#secondary,
.widget-area,
.widget,
#colophon,
.site-footer,
.site-info {
	background-color: #061349 !important;
	color: #ffffff !important;
}

body.page .wp-block-group.has-background,
body.page .wp-block-columns.has-background,
body.page .wp-block-cover,
body.page .wp-block-cover-image {
	background-color: #061349 !important;
	color: #ffffff !important;
}

body.page .entry-content h1,
body.page .entry-content h2,
body.page .entry-content h3,
body.page .entry-content h4,
body.page .entry-content p,
body.page .entry-content li {
	color: #ffffff !important;
}

body.page .entry-content a:not(.wp-block-button__link),
body.page .entry-content a:not(.wp-block-button__link):visited {
	color: #b9d9ff !important;
}

.site-description,
#site-navigation,
body.page .entry-header {
	display: none !important;
}

.site-header {
	padding-top: 24px !important;
	padding-right: 18px !important;
	padding-bottom: 4px !important;
	padding-left: 18px !important;
	text-align: center !important;
}

.site-branding {
	margin: 0 auto !important;
	padding: 0 !important;
}

.site-title {
	margin: 0 !important;
	color: #ffffff !important;
	font-family: Yrsa, Georgia, serif !important;
	font-size: 64px !important;
	font-weight: 300 !important;
	line-height: 1.08 !important;
	text-align: center !important;
}

.site-title a,
.site-title a:visited {
	color: #ffffff !important;
	text-decoration: none !important;
}

body.page #page #secondary {
	display: none !important;
}

body.page #page #primary {
	float: none !important;
	width: 100% !important;
	max-width: none !important;
}

.yw-page-heading {
	box-sizing: border-box;
	width: 100%;
	max-width: 1200px;
	margin: 0 auto !important;
	padding-top: 8px !important;
	padding-right: 20px !important;
	padding-bottom: 22px !important;
	padding-left: 20px !important;
	color: #ffffff !important;
	background-color: #061349 !important;
	text-align: center;
}

.yw-page-heading h1 {
	margin-top: 0 !important;
	margin-bottom: 12px !important;
	color: #ffffff !important;
	font-family: Yrsa, Georgia, serif !important;
	font-size: 48px !important;
	font-weight: 400 !important;
	line-height: 1.12 !important;
}

.yw-page-heading .yw-page-kicker {
	margin-top: 0 !important;
	margin-bottom: 18px !important;
	color: #ffffff !important;
	font-size: 20px !important;
	font-weight: 400 !important;
	letter-spacing: .04em;
	line-height: 1.25 !important;
	text-transform: uppercase;
}

.yw-page-nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 18px;
	color: #ffffff !important;
}

.yw-page-nav a,
.yw-page-nav a:visited {
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	letter-spacing: .08em;
	text-decoration: none !important;
	text-transform: uppercase;
}

.yw-page-nav a:hover,
.yw-page-nav a:focus-visible {
	color: #ffd25c !important;
	text-decoration: underline !important;
}

.yw-page-nav-dot {
	color: #75b5ff !important;
}

body.page-id-128 #primary .yw-sponsor-hero > .yw-sponsor-kicker {
	display: none !important;
}

/* Keep the two graphical Home links aligned with their artwork after the shared heading. */
body.home .entry-content {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

body.home .entry-content > .yw-page-heading {
	grid-column: 1;
	grid-row: 1;
}

body.home .entry-content > .yw-page-heading + .wp-block-image {
	width: 100%;
	margin: 0 !important;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group {
	position: absolute !important;
	z-index: 5;
	top: 0;
	left: 0;
	width: 100%;
	aspect-ratio: 1918 / 820;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	pointer-events: none;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-group__inner-container,
body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-buttons {
	position: relative;
	display: block !important;
	width: 100%;
	max-width: none !important;
	height: 100%;
	margin: 0 !important;
	padding: 0 !important;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-button {
	position: static;
	margin: 0 !important;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-button__link {
	position: absolute;
	z-index: 6;
	display: block;
	margin: 0;
	padding: 0 !important;
	overflow: hidden;
	border: 0;
	border-radius: clamp(6px, 1.1vw, 20px);
	color: transparent !important;
	background: transparent !important;
	box-shadow: none;
	font-size: 0;
	line-height: 0;
	cursor: pointer;
	pointer-events: auto;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-button:first-child .wp-block-button__link {
	left: 46.6%;
	top: 72.8%;
	width: 39.3%;
	height: 27.2%;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-button:nth-child(2) .wp-block-button__link {
	left: 10.7%;
	top: 79.5%;
	width: 35.1%;
	height: 20.5%;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.08) !important;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group .wp-block-button__link:focus-visible {
	outline: 4px solid #ffffff;
	outline-offset: -5px;
	box-shadow: inset 0 0 0 7px #1565c0;
}

body.home .entry-content > .yw-page-heading + .wp-block-image {
	grid-column: 1;
	grid-row: 2;
}

body.home .entry-content > .yw-page-heading + .wp-block-image + .wp-block-group {
	position: relative !important;
	grid-column: 1;
	grid-row: 2;
	align-self: stretch;
	top: auto !important;
	left: auto !important;
}

@media (max-width: 700px) {
	.site-title {
		font-size: 42px !important;
	}
	
	.yw-page-heading h1 {
		font-size: 36px !important;
	}
	
	.yw-page-heading .yw-page-kicker {
		font-size: 17px !important;
	}
	
	.yw-page-nav {
		gap: 10px;
	}
}

/* 2026-09-13 — Centered three-across study and sponsor galleries */
body.page-id-117 .yw-group-grid,
body.page-id-128 .yw-sponsor-grid,
body.page-id-128 .yw-sponsors__grid {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
	gap: clamp(1.1rem, 2.5vw, 2rem);
	max-width: 904px;
}

body.page-id-117 .yw-group-card,
body.page-id-128 .yw-sponsor-card {
	box-sizing: border-box;
	flex: 0 1 280px;
	width: min(100%, 280px);
}

.yw-site-updated {
	margin: .85rem 0 0;
	color: #b9d9ff;
	font-size: .9rem;
	font-weight: 600;
}

.yw-study-categories {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
	margin: 1.5rem auto 2.25rem;
}

.yw-study-categories a {
	display: flex;
	min-height: 7rem;
	flex-direction: column;
	justify-content: center;
	gap: .35rem;
	padding: 1rem 1.25rem;
	border: 1px solid #4f83c9;
	border-radius: 12px;
	background: #0b2364;
	color: #fff !important;
	text-align: center;
	text-decoration: none;
}

.yw-study-categories a:hover,
.yw-study-categories a:focus-visible {
	background: #143985;
	transform: translateY(-2px);
}

.yw-study-categories span {
	color: #cfe2ff;
}

.yw-study-query {
	margin: 0 auto 2.5rem;
}

.yw-study-grid {
	gap: clamp(1.1rem, 2.5vw, 2rem);
}

.yw-study-card {
	height: 100%;
	padding: 1rem;
	border: 1px solid #4f83c9;
	border-radius: 12px;
	background: #0b2364;
}

.yw-study-card .wp-block-post-featured-image img {
	border-radius: 8px;
	object-fit: cover;
}

.yw-no-studies {
	margin: 1.5rem auto 2.5rem;
	max-width: 48rem;
}

.yw-continue-scripture {
	margin: 2rem auto 0;
	padding: 2rem;
	border: 1px solid #4f83c9;
	border-radius: 14px;
	background: #0b2364;
	text-align: center;
}

.yw-continue-scripture h2 {
	margin-top: 0;
}

.yw-continue-scripture > a {
	display: inline-block;
	margin-top: .5rem;
	padding: .85rem 1.2rem;
	border-radius: 8px;
	background: #efc568;
	color: #071735 !important;
	font-weight: 800;
	text-decoration: none;
	text-transform: uppercase;
}

@media (max-width: 720px) {
	.yw-study-categories {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 560px) {
	body.page-id-117 .yw-group-card,
			  body.page-id-128 .yw-sponsor-card {
		flex-basis: 100%;
		max-width: 100%;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.yw-study-categories a {
		transition: background-color 160ms ease, transform 160ms ease;
	}
}

/* 2026-09-13 — site-wide ministry links and study discussions */
body #site-navigation.main-navigation {
	display: block !important;
	width: 100% !important;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 10px 18px !important;
	border-top: 1px solid #315ea4;
	border-bottom: 1px solid #315ea4;
	background: #061349 !important;
	text-align: center;
}

body #site-navigation.main-navigation .menu-toggle {
	display: none !important;
}

body #site-navigation.main-navigation .menu-main-navigation-container,
body #site-navigation.main-navigation .nav-menu {
	display: block !important;
	width: 100% !important;
}

body #site-navigation.main-navigation .nav-menu {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 12px;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

body #site-navigation.main-navigation .nav-menu > li {
	display: flex !important;
	float: none !important;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
}

body #site-navigation.main-navigation .nav-menu > li + li::before {
	content: "·";
	margin-right: 12px;
	color: #75b5ff;
	font-weight: 800;
}

body #site-navigation.main-navigation .nav-menu a,
.yw-site-link-line a {
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .035em;
	text-decoration: none !important;
}

body #site-navigation.main-navigation .nav-menu a:hover,
body #site-navigation.main-navigation .nav-menu a:focus-visible,
.yw-site-link-line a:hover,
.yw-site-link-line a:focus-visible {
	color: #efc568 !important;
	text-decoration: underline !important;
}

.yw-site-link-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 12px;
	width: min(1200px, 100%);
	margin: 0 auto;
	padding: 14px 18px;
	border-top: 1px solid #315ea4;
	border-bottom: 1px solid #315ea4;
	background: #061349 !important;
	text-align: center;
}

.yw-site-link-line span {
	color: #75b5ff;
	font-weight: 800;
}

#colophon .widget-area,
#colophon .footer-widget-area,
.site-footer .widget-area,
.site-footer .footer-widget-area {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

#colophon .yw-site-link-line-bottom {
	margin-top: 18px;
	margin-bottom: 18px;
}

body.single-post #comments,
body.single-post #respond {
	box-sizing: border-box;
	max-width: 1000px;
	margin: 28px auto;
	padding: 24px;
	border: 1px solid #315ea4;
	border-radius: 12px;
	background: #0b2364 !important;
	color: #ffffff !important;
}

body.single-post #comments h2,
body.single-post #comments h3,
body.single-post #respond h2,
body.single-post #respond h3,
body.single-post #comments label,
body.single-post #respond label {
	color: #ffffff !important;
}

body.single-post #comments a,
body.single-post #respond a {
	color: #b9d9ff !important;
}

body.single-post #respond input[type="text"],
body.single-post #respond input[type="email"],
body.single-post #respond input[type="url"],
body.single-post #respond textarea {
	background: #ffffff !important;
	color: #071735 !important;
}

@media (max-width: 720px) {
	body #site-navigation.main-navigation,
		  .yw-site-link-line {
	}
	
	body #site-navigation.main-navigation .nav-menu,
		  .yw-site-link-line {
		gap: 7px 10px;
	}
	
	body #site-navigation.main-navigation .nav-menu a,
		  .yw-site-link-line a {
		font-size: 14px;
	}
}

/* The full global link line replaces the older three-link page rows. */
.yw-page-heading .yw-page-nav {
	display: none !important;
}

/* 2026-09-13 final global navigation override */
#site-navigation.main-navigation {
	box-sizing: border-box;
	display: block !important;
	width: 100% !important;
	max-width: 1200px;
	margin: 0 auto !important;
	padding: 10px 18px !important;
	border-top: 1px solid #315ea4;
	border-bottom: 1px solid #315ea4;
	background: #061349 !important;
	text-align: center;
}

#site-navigation.main-navigation .menu-toggle {
	display: none !important;
}

#site-navigation.main-navigation .menu-main-navigation-container {
	display: block !important;
	width: 100% !important;
}

#site-navigation.main-navigation ul.nav-menu {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 12px;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#site-navigation.main-navigation ul.nav-menu > li {
	display: flex !important;
	float: none !important;
	align-items: center;
	margin: 0 !important;
	padding: 0 !important;
}

#site-navigation.main-navigation ul.nav-menu > li + li::before {
	content: "·";
	margin-right: 12px;
	color: #75b5ff;
	font-weight: 800;
}

#site-navigation.main-navigation ul.nav-menu a,
.yw-site-link-line a {
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .035em;
	text-decoration: none !important;
}

#site-navigation.main-navigation ul.nav-menu a:hover,
#site-navigation.main-navigation ul.nav-menu a:focus-visible,
.yw-site-link-line a:hover,
.yw-site-link-line a:focus-visible {
	color: #efc568 !important;
	text-decoration: underline !important;
}

.yw-page-heading .yw-page-nav {
	display: none !important;
}

@media (max-width: 720px) {
	#site-navigation.main-navigation,
		  .yw-site-link-line {
	}
	
	#site-navigation.main-navigation ul.nav-menu,
		  .yw-site-link-line {
		gap: 7px 10px;
	}
	
	#site-navigation.main-navigation ul.nav-menu a,
		  .yw-site-link-line a {
		font-size: 14px;
	}
}

/* Footer widget markup is sanitized by WordPress, so style its retained block wrapper. */
#widget-area-2,
#widget-area-2 #block-2 {
	box-sizing: border-box;
	width: 100% !important;
	max-width: none !important;
	float: none !important;
}

#widget-area-2 #block-2 {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 12px;
	margin: 18px auto !important;
	padding: 14px 18px !important;
	border-top: 1px solid #315ea4;
	border-bottom: 1px solid #315ea4;
	background: #061349 !important;
	text-align: center;
}

#widget-area-2 #block-2 a {
	color: #ffffff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .035em;
	text-decoration: none !important;
}

#widget-area-2 #block-2 a:hover,
#widget-area-2 #block-2 a:focus-visible {
	color: #efc568 !important;
	text-decoration: underline !important;
}

#widget-area-2 #block-2 span {
	color: #75b5ff;
	font-weight: 800;
}

@media (max-width: 720px) {
	#widget-area-2 #block-2 {
		gap: 7px 10px;
	}
	
	#widget-area-2 #block-2 a {
		font-size: 14px;
	}
}

/* Readable timestamps and sponsor form entries */
.yw-site-updated,
.yw-site-updated time {
	font-size: clamp(16px, 1.5vw, 19px) !important;
	line-height: 1.5 !important;
	font-weight: 700 !important;
}

body.page-id-128 .contact-form input.grunion-field,
body.page-id-128 .contact-form textarea.grunion-field,
body.page-id-128 .contact-form select.grunion-field {
	color: #10162b !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}

body.page-id-128 .contact-form input.grunion-field::placeholder,
body.page-id-128 .contact-form textarea.grunion-field::placeholder {
	color: #4b5563 !important;
	font-weight: 500 !important;
	opacity: 1 !important;
}