/*
 * Featured Sticky Content (a3f7c2d9)
 *
 * Base rules = STACKED layout (tablet/mobile, Elementor editor, and the
 * GSAP-failed fallback). The pinned two-column layout only applies at
 * min-width:1025px, when GSAP is present, and outside the editor. Keep the
 * 1025px breakpoint in sync with BREAKPOINT_QUERY in script.js.
 *
 * Per-element visual styling (colors, typography, spacing, link border, block
 * padding/border/background) comes from Elementor control selectors, so it is
 * deliberately NOT hardcoded here.
 */

.fsc-root-a3f7c2d9 {
	position: relative;
	width: 100%;
}

.fsc-stage-a3f7c2d9 {
	display: flex;
	flex-direction: column;
	width: 100%;
	box-sizing: border-box;
}

/* Left featured images only exist on the pinned desktop layout. */
.fsc-media-a3f7c2d9 {
	display: none;
}

.fsc-content-a3f7c2d9 {
	display: flex;
	flex-direction: column;
	justify-content: center;
	box-sizing: border-box;
	min-width: 0;
}

.fsc-heading-a3f7c2d9 {
	margin-top: 0;
	width: 100%;
}

.fsc-items-a3f7c2d9 {
	display: flex;
	flex-direction: column;
}

.fsc-item-a3f7c2d9 {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.fsc-title-a3f7c2d9 {
	margin-top: 0;
	width: 100%;
}

.fsc-image-wrap-a3f7c2d9 {
	max-width: 100%;
	overflow: hidden;
	flex: 0 0 auto;
}

.fsc-image-a3f7c2d9 {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.fsc-desc-a3f7c2d9 {
	width: 100%;
}

.fsc-desc-a3f7c2d9 > :first-child {
	margin-top: 0;
}

.fsc-desc-a3f7c2d9 > :last-child {
	margin-bottom: 0;
}

/* Outlined blocks (same behaviour as the Content Blocks widget): a flex row,
   each block grows to share the row and wraps when it no longer fits. */
.fsc-blocks-a3f7c2d9 {
	display: flex;
	align-items: stretch;
	width: 100%;
}

.fsc-block-a3f7c2d9 {
	flex: 1 1 auto;
	box-sizing: border-box;
	max-width: 100%;
}

.fsc-block-title-a3f7c2d9,
.fsc-block-desc-a3f7c2d9 {
	margin: 0;
}

.fsc-link-a3f7c2d9 {
	display: inline-block;
	text-decoration: none;
	border-bottom: 0 solid currentColor;
	transition: color 0.3s ease, border-color 0.3s ease;
}

.fsc-notice-a3f7c2d9 {
	padding: 24px;
	text-align: center;
	border: 1px dashed #c4c4c4;
	color: #666;
}

/* ------------------------------------------------------------------------
 * Pinned desktop layout
 * ---------------------------------------------------------------------- */
@media (min-width: 1025px) {

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-stage-a3f7c2d9 {
		display: grid;
		grid-template-columns: 1fr 1fr;
		min-height: 100vh; /* fallback */
		min-height: calc(100vh - var(--fsc-top-offset-a3f7c2d9, 0px));
		min-height: calc(100svh - var(--fsc-top-offset-a3f7c2d9, 0px));
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-media-a3f7c2d9 {
		display: block;
		position: relative;
		overflow: hidden;
		min-height: 0;
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-media-item-a3f7c2d9 {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		left: 0;
		opacity: 0;
		visibility: hidden;
		will-change: opacity, transform;
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-media-item-a3f7c2d9.fsc-is-active-a3f7c2d9 {
		opacity: 1;
		visibility: visible;
		z-index: 1;
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-media-img-a3f7c2d9 {
		display: block;
		width: 100%;
		height: 100%;
		object-fit: cover;
		object-position: center center;
	}

	/* All items share one grid cell: the block is as tall as the tallest item,
	   so heading and titles never shift when the active item changes. */
	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-items-a3f7c2d9 {
		display: grid;
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-item-a3f7c2d9 {
		grid-area: 1 / 1;
		align-self: start;
		opacity: 0;
		visibility: hidden;
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-item-a3f7c2d9.fsc-is-active-a3f7c2d9 {
		opacity: 1;
		visibility: visible;
	}

	body:not(.elementor-editor-active) .fsc-root-a3f7c2d9:not(.fsc-no-gsap-a3f7c2d9) .fsc-item-a3f7c2d9 > * {
		will-change: opacity, transform;
	}
}
