/**
 * PFC FSE — Elementor CSR visual parity CSS
 * Measured from /community-support/ (desktop ~1440, tablet ~768, mobile ~390).
 * Version tokens mirror theme.json navy #00162A.
 */

:root {
	--pfc-navy: #00162a;
	--pfc-white: #ffffff;
	--pfc-muted: #757575;
	--pfc-hero-line: #9a9a9a;
	--pfc-black: #0a0a0a;
	--pfc-hero-tint: rgba(0, 0, 0, 0.32);
	--pfc-content: 814px;
	--pfc-hero-h: 550px;
	--pfc-card-pad: 40px;
	--pfc-card-pad-tablet: 28px 20px;
	--pfc-card-pad-mobile: 24px 16px;
	--pfc-section-y: 60px;
	--pfc-section-x: 20px;
	--pfc-section-y-mobile: 40px;
	--pfc-section-x-mobile: 16px;
	--pfc-carousel-ratio: 16 / 9;
	--pfc-side-min-h: 420px;
	--pfc-side-min-h-tablet: 280px;
	--pfc-side-ratio-tablet: 4 / 3;
	--pfc-bp-tablet: 781px;
	--pfc-bp-mobile: 480px;
}

/* Site shell — approximate Elementor header chrome for side-by-side */
.pfc-fse-topbar {
	background: var(--pfc-navy);
	color: var(--pfc-white);
	font-family: "Rajdhani", sans-serif;
	font-size: 14px;
	line-height: 1;
	padding: 10px 24px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

.pfc-fse-topbar a {
	color: var(--pfc-white);
}

.pfc-fse-header {
	background: var(--pfc-white);
	border-bottom: 1px solid rgba(0, 22, 42, 0.08);
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.pfc-fse-header__logo img {
	display: block;
	height: 52px;
	width: auto;
}

.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part {
	line-height: 1.8;
}

.elementor-7968 .ekit-heading h6 {
	line-height: 1.2;
}

.elementor-7968 .elementor-heading-title a {
	color: inherit;
}

/* Remove the block theme's gap between the header and hero. */
.wp-site-blocks > header.wp-block-template-part + .pfc-csr-main {
	margin-block-start: 0;
}

/* Let Elementor size the 220×80 thumbnail to its column at each breakpoint. */
.ekit-template-content-header .elementor-element-66f59a49 img,
.elementor-7953 .elementor-element-66f59a49 img {
	display: inline-block;
	vertical-align: middle;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 80px;
	object-fit: contain;
	object-position: left center;
}

.ekit-template-content-header .elementor-element-49bad2df {
	min-height: 0 !important;
}

.ekit-template-content-header .elementor-element-49bad2df > .elementor-container,
.ekit-template-content-header .elementor-element-49bad2df .elementor-widget-wrap {
	min-height: 0 !important;
}

.pfc-fse-header__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 1.25rem;
	font-family: "Rajdhani", sans-serif;
	font-weight: 700;
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--pfc-navy);
}

.pfc-fse-footer {
	background: var(--pfc-navy);
	color: var(--pfc-white);
	font-family: "Rajdhani", sans-serif;
	font-size: 14px;
	padding: 28px 24px;
	text-align: center;
}

/* Kill default block vertical margins that Elementor sections do not have */
.pfc-csr-main > .wp-block-post-content > .wp-block-group,
.pfc-csr-main > .wp-block-post-content > .wp-block-cover,
.wp-block-post-content > .pfc-csr-story-band,
.wp-block-post-content > .pfc-csr-hero {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Hero — match Elementor section 44f173f */
.pfc-csr-hero.wp-block-cover,
.wp-block-cover.pfc-csr-hero {
	position: relative;
	min-height: var(--pfc-hero-h);
	padding: 0;
	align-items: center;
	margin: 0 !important;
	overflow: hidden;
}

/* Match Elementor overlay: navy gradient only (opacity from --pfc-hero-overlay-opacity). */
.pfc-csr-hero .wp-block-cover__background,
.pfc-csr-hero .wp-block-cover__image-background {
	z-index: 0;
}

.pfc-csr-hero .wp-block-cover__background {
	z-index: 1;
	background: linear-gradient(360deg, #00162a 0%, #00162a82 100%) !important;
	opacity: var(--pfc-hero-overlay-opacity, 0.4) !important;
}

/* Live appreciation hero is solid navy, no photo. */
.pfc-csr-hero--solid {
	background-color: var(--pfc-navy) !important;
}

.pfc-csr-hero--solid .wp-block-cover__image-background,
.pfc-csr-hero--solid .pfc-csr-hero-slides {
	display: none !important;
}

/* Elementor: boxed ~1140 container, left-aligned ~506px copy column */
.pfc-csr-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2 !important;
	max-width: 1140px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 48px 32px;
	text-align: left;
	box-sizing: border-box;
}

.pfc-csr-hero .wp-block-heading,
.pfc-csr-hero h1 {
	color: var(--pfc-white) !important;
	font-family: "Rajdhani", sans-serif !important;
	font-size: 52.8px !important;
	font-weight: 800 !important;
	line-height: 1 !important;
	text-transform: capitalize;
	margin: 0 0 16px !important;
	text-align: left !important;
	max-width: 506px;
}

.pfc-csr-hero-line {
	width: 100%;
	max-width: 506px;
	height: 1px;
	margin: 0 0 20px;
	background: var(--pfc-hero-line);
	border: 0;
}

.pfc-csr-hero .wp-block-paragraph,
.pfc-csr-hero p {
	color: var(--pfc-white) !important;
	font-family: "Rajdhani", sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	line-height: 1.125 !important;
	margin: 0 0 12px !important;
	text-align: justify !important;
	max-width: 506px;
}

.pfc-csr-hero .wp-block-paragraph:last-child,
.pfc-csr-hero p:last-child {
	margin-bottom: 0 !important;
}

.pfc-csr-hero-slides,
.pfc-csr-hero-slides img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pfc-csr-hero-slides {
	z-index: 0;
}

.pfc-csr-hero-slides img {
	object-fit: cover;
	opacity: 0;
}

.pfc-csr-hero-slides .is-current {
	opacity: 1;
}

.pfc-csr-hero-slides .is-entering {
	z-index: 1;
}

/* Story band — navy overlay section with white card */
.pfc-csr-story-band {
	background-color: var(--pfc-navy);
	background-image: url("../../../../uploads/2021/11/image-from-rawpixel-id-585155.jpg");
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	padding: var(--pfc-section-y) var(--pfc-section-x);
	position: relative;
	margin: 0 !important;
	overflow: hidden;
}

.pfc-csr-story-band.wp-block-group {
	margin-block-start: 0 !important;
	margin-block-end: 0 !important;
}

.pfc-csr-story-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 22, 42, 0.96);
	pointer-events: none;
}

/* Desktop content must not stay at the 814px tablet content size. */
@media (min-width: 782px) {
	.wp-block-post-content.is-layout-constrained,
	.pfc-csr-main .wp-block-post-content {
		max-width: none !important;
	}

	.pfc-csr-story-columns {
		flex-direction: row !important;
		flex-wrap: nowrap !important;
	}

	.pfc-csr-story-columns > .wp-block-column {
		flex: 1 1 50% !important;
		width: 50% !important;
		max-width: 50% !important;
		min-width: 0 !important;
	}
}

.page-id-13722 .wp-block-post-title,
body[class*="-fse"] .wp-block-post-title {
	display: none;
}

/* Text-only story band — full-width card, no side image column. */
.pfc-csr-story-band.pfc-csr-story-band--text-only .pfc-csr-story-columns {
	max-width: 900px;
}

.pfc-csr-story-band.pfc-csr-story-band--text-only .pfc-csr-col-text {
	flex: 1 1 100% !important;
	width: 100% !important;
	max-width: 100% !important;
}

/* Images-only story band — title + gallery, no body paragraphs. */
.pfc-csr-story-band.pfc-csr-story-band--images-only .pfc-csr-story-card p {
	display: none;
}

.pfc-csr-story-band.pfc-csr-story-band--images-only .pfc-csr-col-text,
.pfc-csr-story-band.pfc-csr-story-band--images-only .pfc-csr-col-image {
	flex: 1 1 50%;
}

/* 2-col story row matching Elementor 50/50 */
.pfc-csr-story-columns {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
	align-items: stretch !important;
	gap: 0 !important;
	width: 100%;
	min-width: 0;
}

.pfc-csr-story-columns .wp-block-column {
	margin: 0 !important;
	min-width: 0;
	max-width: 100%;
}

.pfc-csr-col-text .pfc-csr-story-card,
.pfc-csr-story-card {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: none;
	margin: 0;
	background: var(--pfc-white);
	padding: var(--pfc-card-pad);
	box-sizing: border-box;
	height: 100%;
}

.pfc-csr-col-image {
	display: flex;
	align-items: stretch;
	min-width: 0;
	width: 100%;
	max-width: 100%;
}

.pfc-csr-col-image .pfc-csr-side-image {
	position: relative;
	overflow: hidden;
	margin: 0;
	width: 100%;
	height: 100%;
	min-height: var(--pfc-side-min-h);
	background: var(--pfc-black);
	contain: layout size;
}

.pfc-csr-col-image .pfc-csr-side-image img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
	transform-origin: center center;
	transform: scale(1);
	transition: transform 1.4s ease;
}

/* Short Ken Burns. One direction. The text card is outside this frame. */
.pfc-csr-col-image .pfc-csr-side-image:hover img {
	transform: translate3d(0.5%, -0.375%, 0) scale(1.015);
	transition: transform 3.5s ease-out;
}

@media (prefers-reduced-motion: reduce) {
	.pfc-csr-col-image .pfc-csr-side-image img,
	.pfc-csr-col-image .pfc-csr-side-image:hover img {
		transform: none;
		transition: none;
	}
}

.pfc-csr-story-card .wp-block-heading,
.pfc-csr-story-card h2 {
	color: var(--pfc-navy) !important;
	font-family: "Rajdhani", sans-serif !important;
	font-size: 24px !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	line-height: 1 !important;
	margin: 0 0 20px !important;
	text-align: left;
}

.pfc-csr-story-divider {
	border: 0;
	border-top: 3px solid var(--pfc-navy);
	width: 100%;
	max-width: 100%;
	margin: 0 0 16px;
	height: 0;
}

.pfc-csr-story-card .wp-block-paragraph,
.pfc-csr-story-card p {
	color: var(--pfc-muted) !important;
	font-family: "Rajdhani", sans-serif !important;
	font-size: 14.4px !important;
	font-weight: 500 !important;
	line-height: 1.7 !important;
	margin: 0 0 20px !important;
}

.pfc-csr-story-card .wp-block-paragraph:last-of-type {
	margin-bottom: 30px !important;
}

/* Carousel — Elementor image-carousel chrome clone (box wins over image size) */
.pfc-csr-carousel {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin: 0;
	min-width: 0;
}

.pfc-csr-carousel__viewport {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	background: var(--pfc-black);
	aspect-ratio: var(--pfc-carousel-ratio);
	contain: layout size;
}

.pfc-csr-carousel__track {
	position: relative;
	width: 100%;
	height: 100%;
}

.pfc-csr-carousel__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 0;
	margin: 0;
	overflow: hidden;
	transition: opacity 700ms ease;
}

/* Current photo stays fully opaque. The next photo fades in on top. */
.pfc-csr-carousel__slide.is-active,
.pfc-csr-carousel.is-blending .pfc-csr-carousel__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

.pfc-csr-carousel.is-blending .pfc-csr-carousel__slide.is-active {
	transition: none;
}

.pfc-csr-carousel__slide.is-incoming {
	visibility: visible;
	z-index: 2;
	opacity: 0;
	transition: none;
}

.pfc-csr-carousel__slide.is-incoming.is-incoming-in {
	opacity: 1;
	transition: opacity 700ms ease;
}

.pfc-csr-carousel__slide img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
	object-position: center;
}

/* Lion mark while a frame has no photo yet. Mask clips a white sweep to the mark. */
.pfc-csr-carousel__slide.is-pending::after,
.pfc-csr-carousel__slide.is-failed::after,
.pfc-csr-carousel__viewport.is-pending::after,
.pfc-csr-carousel__viewport.is-failed::after,
.pfc-csr-side-image.is-pending::after,
.pfc-csr-side-image.is-failed::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	z-index: 2;
	width: 72px;
	height: 72px;
	transform: translate(-50%, -50%);
	pointer-events: none;
	background: var(--pfc-white);
	-webkit-mask-image: url("../img/pfc-lion.png");
	mask-image: url("../img/pfc-lion.png");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.pfc-csr-carousel__slide.is-pending::after,
.pfc-csr-carousel__slide.is-failed::after,
.pfc-csr-carousel__viewport.is-pending::after,
.pfc-csr-carousel__viewport.is-failed::after,
.pfc-csr-side-image.is-pending::after,
.pfc-csr-side-image.is-failed::after {
	background-color: transparent;
	background-image: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0.35) 0%,
		rgba(255, 255, 255, 0.35) 36%,
		var(--pfc-white) 50%,
		rgba(255, 255, 255, 0.35) 64%,
		rgba(255, 255, 255, 0.35) 100%
	);
	background-size: 220% 100%;
	background-repeat: no-repeat;
	animation: pfc-lion-sweep 1.6s linear infinite;
}

@keyframes pfc-lion-sweep {
	from {
		background-position: 100% 0;
	}
	to {
		background-position: -100% 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.pfc-csr-carousel__slide.is-pending::after,
	.pfc-csr-carousel__slide.is-failed::after,
	.pfc-csr-carousel__viewport.is-pending::after,
	.pfc-csr-carousel__viewport.is-failed::after,
	.pfc-csr-side-image.is-pending::after,
	.pfc-csr-side-image.is-failed::after {
		animation: none;
		background: var(--pfc-white);
	}

	.pfc-csr-carousel__slide,
	.pfc-csr-carousel__slide.is-incoming.is-incoming-in {
		transition: none;
	}
}

.pfc-csr-carousel__slide.is-pending img,
.pfc-csr-carousel__slide.is-failed img,
.pfc-csr-carousel__viewport.is-pending .pfc-csr-carousel__slide img,
.pfc-csr-carousel__viewport.is-failed .pfc-csr-carousel__slide img,
.pfc-csr-side-image.is-pending img,
.pfc-csr-side-image.is-failed img {
	opacity: 0;
}

/* A blend keeps the current photo. The lion must not cover it. */
.pfc-csr-carousel.is-blending .pfc-csr-carousel__viewport.is-pending::after,
.pfc-csr-carousel.is-blending .pfc-csr-carousel__viewport.is-failed::after {
	content: none;
}

.pfc-csr-carousel.is-blending .pfc-csr-carousel__slide.is-active img,
.pfc-csr-carousel.is-blending .pfc-csr-carousel__slide.is-incoming img {
	opacity: 1;
}

.pfc-csr-carousel__nav {
	position: absolute;
	pointer-events: auto;
	top: 50%;
	z-index: 3;
	transform: translateY(-50%);
	width: 27px;
	height: 27px;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(237, 237, 237, 0.9);
	font-size: 27px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pfc-csr-carousel__nav--prev {
	left: 10px;
}

.pfc-csr-carousel__nav--next {
	right: 10px;
}

.pfc-csr-carousel__nav:hover,
.pfc-csr-carousel__nav:focus-visible {
	color: var(--pfc-white);
}

.pfc-csr-carousel__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 8px;
	z-index: 3;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	pointer-events: none;
}

.pfc-csr-carousel__dot {
	pointer-events: auto;
	width: 8px;
	height: 8px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
}

.pfc-csr-carousel__dot.is-active {
	background: var(--pfc-white);
}

.pfc-csr-carousel--single .pfc-csr-carousel__nav,
.pfc-csr-carousel--single .pfc-csr-carousel__dots {
	display: none;
}

/* Tablet — Elementor stacks columns (~768); WP columns break at 781 */
@media (max-width: 781px) {
	.pfc-fse-header__nav {
		display: none;
	}

	.pfc-csr-hero .wp-block-heading,
	.pfc-csr-hero h1 {
		font-size: 36px !important;
		max-width: 100%;
	}

	.pfc-csr-hero-line,
	.pfc-csr-hero .wp-block-paragraph,
	.pfc-csr-hero p {
		max-width: 100%;
	}

	.pfc-csr-hero .wp-block-cover__inner-container {
		padding: 36px 20px;
	}

	.pfc-csr-story-columns {
		flex-direction: column !important;
	}

	.pfc-csr-story-columns .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}

	.pfc-csr-col-image .pfc-csr-side-image {
		min-height: var(--pfc-side-min-h-tablet);
		aspect-ratio: var(--pfc-side-ratio-tablet);
		height: auto;
	}

	.pfc-csr-carousel__viewport {
		aspect-ratio: var(--pfc-carousel-ratio);
		width: 100%;
	}

	.pfc-csr-col-text .pfc-csr-story-card,
	.pfc-csr-story-card {
		padding: var(--pfc-card-pad-tablet);
		height: auto;
	}

	.pfc-csr-story-card .wp-block-heading,
	.pfc-csr-story-card h2 {
		font-size: 20px !important;
		line-height: 1.15 !important;
	}
}

/* Mobile — Elementor phone (~390): tighter pad, full-bleed media */
@media (max-width: 480px) {
	:root {
		--pfc-hero-h: 420px;
	}

	.pfc-csr-story-band {
		padding: var(--pfc-section-y-mobile) var(--pfc-section-x-mobile);
	}

	.pfc-csr-hero .wp-block-heading,
	.pfc-csr-hero h1 {
		font-size: 28px !important;
	}

	.pfc-csr-hero .wp-block-cover__inner-container {
		padding: 28px 16px;
	}

	.pfc-csr-col-text .pfc-csr-story-card,
	.pfc-csr-story-card {
		padding: var(--pfc-card-pad-mobile);
	}

	.pfc-csr-story-card .wp-block-heading,
	.pfc-csr-story-card h2 {
		font-size: 18px !important;
		letter-spacing: 0.5px !important;
	}

	.pfc-csr-story-card .wp-block-paragraph,
	.pfc-csr-story-card p {
		font-size: 14px !important;
		line-height: 1.65 !important;
	}

	.pfc-csr-col-image .pfc-csr-side-image {
		min-height: 220px;
	}

	.pfc-csr-carousel__nav {
		width: 24px;
		height: 24px;
		font-size: 22px;
	}
}
