/*
 * Feature Cards for Elementor – base styles
 *
 * Every visual value below is only a fallback. Anything the user sets in the
 * Elementor panel is written to the page with a higher specificity and wins.
 * Selectors are prefixed with the widget class so theme / Elementor global
 * image rules (".elementor img { height:auto }") cannot break the layout.
 */

/* ---------- Layout shell ------------------------------------------------ */

.elementor-widget-fce_feature_cards .fcs-wrap {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	gap: 24px;
	width: 100%;
}

.elementor-widget-fce_feature_cards .fcs-wrap *,
.elementor-widget-fce_feature_cards .fcs-wrap *::before,
.elementor-widget-fce_feature_cards .fcs-wrap *::after {
	box-sizing: border-box;
}

/* ---------- Main image -------------------------------------------------- */

.elementor-widget-fce_feature_cards .fcs-main {
	position: relative;
	flex: 0 0 auto;
	width: 50%;
	min-height: 420px;
	overflow: hidden;
	border-radius: 8px;
}

.elementor-widget-fce_feature_cards .fcs-main img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	transition: filter 0.3s ease;
}

/* Colour overlay – transparent until a colour is chosen in the panel. */
.elementor-widget-fce_feature_cards .fcs-main::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	transition: opacity 0.3s ease;
}

/* ---------- Cards column ------------------------------------------------ */

.elementor-widget-fce_feature_cards .fcs-cards {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.elementor-widget-fce_feature_cards .fcs-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	flex: 1 1 auto;
	gap: 0;
	color: inherit;
	text-decoration: none;
	transition-property: transform;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

.elementor-widget-fce_feature_cards a.fcs-card:hover,
.elementor-widget-fce_feature_cards a.fcs-card:focus {
	text-decoration: none;
	color: inherit;
}

.elementor-widget-fce_feature_cards a.fcs-card:focus-visible {
	outline: 2px solid #1d5bd8;
	outline-offset: 3px;
	border-radius: 8px;
}

/* ---------- Card image -------------------------------------------------- */

.elementor-widget-fce_feature_cards .fcs-card-media {
	position: relative;
	flex: 0 0 auto;
	width: 42%;
	min-height: 120px;
	overflow: hidden;
	border-radius: 8px 0 0 8px;
}

.elementor-widget-fce_feature_cards .fcs-card-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	transition-property: transform, filter;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

/* ---------- Card text box ----------------------------------------------- */

.elementor-widget-fce_feature_cards .fcs-content {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	padding: 18px 20px 16px;
	background-color: #f2f7fd;
	border: 1px solid #d9e6f6;
	border-radius: 0 8px 8px 0;
	text-align: left;
	transition-property: background-color, border-color, box-shadow;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

.elementor-widget-fce_feature_cards .fcs-text {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.elementor-widget-fce_feature_cards .fcs-title {
	margin: 0 0 6px;
	padding: 0;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3em;
	color: #1d5bd8;
	transition: color 0.3s ease;
}

.elementor-widget-fce_feature_cards .fcs-desc {
	margin: 0;
	padding: 0;
	font-size: 15px;
	line-height: 1.5em;
	color: #5a6474;
	transition: color 0.3s ease;
}

/* ---------- Arrow ------------------------------------------------------- */

.elementor-widget-fce_feature_cards .fcs-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	align-self: flex-end;
	flex: 0 0 auto;
	margin-top: 10px;
	font-size: 18px;
	line-height: 1;
	color: #1d5bd8;
	transition-property: transform, color, background-color;
	transition-duration: 0.3s;
	transition-timing-function: ease;
}

.elementor-widget-fce_feature_cards .fcs-arrow i {
	display: block;
	font-size: inherit;
	line-height: 1;
}

.elementor-widget-fce_feature_cards .fcs-arrow svg {
	display: block;
	width: 1em;
	height: 1em;
	fill: currentColor;
}

/* ---------- Reduced motion --------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	.elementor-widget-fce_feature_cards .fcs-wrap *,
	.elementor-widget-fce_feature_cards .fcs-wrap *::before,
	.elementor-widget-fce_feature_cards .fcs-wrap *::after {
		transition: none !important;
		transform: none !important;
	}
}
