/* Elementor Cards Widget
 * Defaults match the AUM Wellbeing reference card. Everything is overridable
 * from the widget's Style tab (Elementor selectors are more specific).
 */

.ecards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	column-gap: 30px;
	row-gap: 30px;
	align-items: start;
}
.ecards--equal { align-items: stretch; }

@media (max-width: 1024px) {
	.ecards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.ecards { grid-template-columns: minmax(0, 1fr); }
}

.ecards__item {
	display: flex;
	min-width: 0;
}

/* Card */
.ecards .ecards__card {
	position: relative;
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	box-sizing: border-box;
	margin: 0;
	overflow: hidden;
	background-color: #ffffff;
	border: 1px solid #d6d6d6;
	border-radius: 1px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
	font-family: 'Lato', sans-serif;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background-color 0.25s ease;
}

/* Image (optional, above title) */
.ecards__media {
	display: block;
	margin: 0;
	line-height: 0;
}
.ecards .ecards__img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	border: 0;
	border-radius: 0;
	box-shadow: none;
}

/* Body */
.ecards__body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	padding: 30px 30px 32px;
	text-align: left;
}

.ecards .ecards__title {
	margin: 0 0 16px;
	padding: 0;
	font-family: 'Lato', sans-serif;
	font-size: 22px;
	font-weight: 400;
	font-style: normal;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9b9b9b;
	transition: color 0.25s ease;
}

.ecards .ecards__text {
	font-family: 'Lato', sans-serif;
	font-size: 17px;
	font-weight: 400;
	line-height: 1.7;
	color: #9b9b9b;
}
.ecards .ecards__text p { margin: 0 0 1em; font: inherit; color: inherit; }
.ecards .ecards__text p:last-child { margin-bottom: 0; }

/* Button */
.ecards__footer {
	margin-top: auto;
	padding-top: 40px;
	text-align: center;
}
.ecards .ecards__button {
	display: var(--ecards-btn-display, inline-block);
	width: var(--ecards-btn-width, auto);
	box-sizing: border-box;
	padding: 9px 24px;
	font-family: 'Lato', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	text-decoration: none;
	text-align: center;
	color: #ffffff;
	background-color: #d6c7a3;
	border: 0;
	border-radius: 3px;
	box-shadow: none;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ecards .ecards__button:hover,
.ecards .ecards__button:focus-visible {
	color: #ffffff;
	background-color: #c4b28a;
	text-decoration: none;
}
.ecards .ecards__button:focus-visible {
	outline: 2px solid #9b9b9b;
	outline-offset: 3px;
}

/* Whole-card link */
.ecards--linked .ecards__card { cursor: pointer; }
.ecards--linked .ecards__button::after,
.ecards--linked .ecards__stretch::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}
.ecards--linked .ecards__card:focus-within {
	outline: 2px solid #9b9b9b;
	outline-offset: 3px;
}
.ecards--linked .ecards__button:focus-visible { outline: none; }

@media (prefers-reduced-motion: reduce) {
	.ecards .ecards__card,
	.ecards .ecards__title,
	.ecards .ecards__button { transition: none; }
	.ecards .ecards__card:hover { transform: none !important; }
}
