/* Rmh Card
 * Structural styles only. Every visual property (colors, typography, spacing,
 * borders, shadows) is controlled from the Elementor Style tab and defaults
 * to none / the browser default.
 */
.rmh-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	width: 100%;
	background-color: var(--rmh-aqua);
	border-radius: 16px;
	overflow: hidden;
	height: 100%;
}

.rmh-card__image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
	object-position: center;
}

.rmh-card-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	padding: 30px clamp(20px,2.08vw,30px);
}

.rmh-card-content--inner {
	flex: 1;
}

.rmh-card__sub-title,
.rmh-card__title,
.rmh-card__text {
	margin: 0;
}

.rmh-card__sub-title {
	font-size: 13px;
}

.rmh-card__title {
	font-size: clamp(20px,2.08vw,30px);
	text-transform: capitalize;
	line-height: 1.267;
}

.rmh-card__text > :first-child {
	margin-top: 0;
}

.rmh-card__text > :last-child {
	margin-bottom: 0;
}

.rmh-card__link {
	margin-top: 16px;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 16px;
	font-family: var(--ffont-display);
	text-decoration: none;
	font-weight: bold;
}

.rmh-card__link:not(:hover) {
	color: inherit;
}
