/*
 * Homepage duo — What’s happening (inside the gatherings band).
 */

html body.fpc-public-home-duo:not(.fpc-leader-portal) #page #content .elementor-element.elementor-element-7b1e960 {
	background-color: var(--fpc-live-page-blend-mid) !important;
	background-image: none !important;
}

html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) #page #content .elementor-element.elementor-element-7b1e960 {
	background-color: var(--fpc-home-duo-chrome-ink) !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) #content .elementor-element-7b1e960 .fpc-flow-lines {
	padding-top: calc(var(--fpc-home-gatherings-pad) + 16px) !important;
	padding-bottom: calc(var(--fpc-home-gatherings-pad) + 48px) !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen {
	font-family: Inter, sans-serif;
	font-size: 1.0625rem;
	color: var(--fpc-text);
	padding-bottom: 16px;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
	gap: 32px;
	align-items: stretch;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen--gatherings-only .fpc-happen__grid {
	grid-template-columns: minmax(0, 1fr);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__lead {
	display: flex;
	min-height: 100%;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-title,
body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature-title {
	font-family: Montserrat, Inter, sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature-title {
	color: var(--fpc-text);
}

html body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-title {
	color: var(--fpc-home-duo-chrome-ink) !important;
	-webkit-text-fill-color: currentColor !important;
}

html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-title {
	color: var(--fpc-live-page-canvas) !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature,
body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row {
	background: var(--fpc-sermon-card-canvas);
	color: var(--fpc-text);
	border: 1px solid var(--fpc-home-card-border);
	box-shadow: 0 16px 32px -16px rgb(var(--fpc-sermon-card-surface-dark-rgb) / 0.16);
}

html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature,
html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row {
	background: var(--fpc-sermon-card-surface-dark);
	border-color: var(--fpc-home-card-border-dark);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	height: 100%;
	min-height: 320px;
	padding: 40px;
	border-radius: 16px;
	background-color: var(--fpc-sermon-card-canvas) !important;
	box-shadow: 0 16px 32px -16px rgb(var(--fpc-sermon-card-surface-dark-rgb) / 0.16);
}

html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature {
	background-color: var(--fpc-sermon-card-surface-dark) !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink {
	margin-top: auto;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature--empty {
	align-items: center;
	justify-content: center;
	text-align: center;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__empty {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	width: 100%;
	font-family: Montserrat, Inter, sans-serif;
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--fpc-text);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row--empty {
	min-height: 88px;
	padding: 24px;
	pointer-events: none;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__empty--row {
	font-size: 1.25rem;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__kicker {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	width: 100%;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__kicker-label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--fpc-text-muted);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__icon {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__badge {
	display: inline-flex;
	align-items: center;
	min-height: 24px;
	padding: 0 8px;
	border-radius: 8px;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__badge--pinned {
	background: rgb(var(--fpc-accent-rgb) / 0.16);
	color: var(--fpc-accent-text);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__badge--new {
	background: var(--fpc-sys-ok-soft);
	color: var(--fpc-sys-ok);
	border: 1px solid var(--fpc-sys-ok-border);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature-title {
	margin: 0;
	font-size: 2.125rem;
	line-height: 1.2;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__excerpt {
	margin: 0;
	font-size: 1.125rem;
	line-height: 1.5;
	color: var(--fpc-text-soft);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink,
body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 600;
	text-decoration: none;
	transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink {
	color: var(--fpc-text);
}

html body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link {
	color: var(--fpc-home-duo-chrome-ink) !important;
}

html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link {
	color: var(--fpc-live-page-canvas) !important;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink:hover,
body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link:hover {
	opacity: 0.8;
	transform: translateX(4px);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__block + .fpc-happen__block {
	margin-top: 32px;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 8px;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-title {
	margin: 0;
	font-size: 1.5rem;
	line-height: 1.2;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row {
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 56px;
	padding: 16px 16px 16px 24px;
	border-radius: 16px;
	text-decoration: none;
	color: inherit;
	transition: opacity 200ms cubic-bezier(0.4, 0, 0.2, 1), transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row:hover {
	opacity: 0.92;
	transform: translateY(-2px);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen a:focus-visible {
	outline: 3px solid var(--fpc-focus);
	outline-offset: 2px;
	box-shadow: 0 0 0 4px var(--fpc-focus-ring);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 64px;
	min-height: 56px;
	padding: 8px;
	border-radius: 8px;
	background: var(--fpc-text);
	color: var(--fpc-canvas);
	line-height: 1.1;
	text-align: center;
}

html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__date,
html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__chev,
html.dark body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__mini-icon {
	background: var(--fpc-raised);
	color: var(--fpc-text);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__date-month {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__date-day {
	font-family: Montserrat, Inter, sans-serif;
	font-size: 1rem;
	font-weight: 700;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row-copy {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1 1 auto;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row-title {
	font-family: Montserrat, Inter, sans-serif;
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.3;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row-meta {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	font-size: 1rem;
	color: var(--fpc-text-muted);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__pin {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__chev,
body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__mini-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 48px;
	height: 48px;
	border-radius: 999px;
	background: var(--fpc-text);
	color: var(--fpc-canvas);
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__chev-icon {
	width: 16px;
	height: 16px;
}

body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row--compact .fpc-happen__mini-icon {
	width: 40px;
	height: 40px;
	background: var(--fpc-surface-deep);
	color: var(--fpc-text);
}

@media (max-width: 921px) {
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__grid {
		grid-template-columns: minmax(0, 1fr);
	}

	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__feature {
		height: auto;
	}

	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__kicker-label {
		min-height: 48px;
	}

	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__chev {
		width: 48px;
		height: 48px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link {
		transition: none;
	}

	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__row:hover,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__textlink:hover,
	body.fpc-public-home-duo:not(.fpc-leader-portal) .fpc-happen__head-link:hover {
		transform: none;
	}
}
