/* Prime Pixel Creation - Team Member Cards for Elementor */
.rtm {
	width: 100%;
}

.rtm__card {
	display: block;
	overflow: hidden;
	width: 100%;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(20, 42, 74, 0.08);
	text-decoration: none;
	color: inherit;
	transition: transform .25s ease, box-shadow .25s ease;
}

.rtm__card--link:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 40px rgba(20, 42, 74, 0.13);
}

.rtm__image-wrap {
	height: 360px;
	width: 100%;
	overflow: hidden;
	background: #eef2f5;
}

.rtm .rtm__image {
	display: block !important;
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	object-fit: cover !important;
	object-position: center center;
	margin: 0 !important;
	padding: 0 !important;
}

.rtm__content {
	padding: 28px;
}

.rtm__name {
	margin: 0 0 3px;
	padding: 0;
	font-size: 24px;
	line-height: 1.25;
	font-weight: 700;
	color: #0d1b35;
}

.rtm__designation {
	margin: 0 0 17px;
	font-size: 16px;
	line-height: 1.45;
	font-weight: 600;
	color: #1677ff;
}

.rtm__description {
	margin: 0;
	max-width: 34em;
	font-size: 16px;
	line-height: 1.65;
	color: #667a99;
}

.rtm__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 19px;
}

.rtm__meta-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	line-height: 1.4;
	color: #8ea0bc;
	white-space: nowrap;
}

.rtm__meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 17px;
	height: 17px;
	flex: 0 0 17px;
}

.rtm__meta-icon i,
.rtm__meta-icon svg {
	width: 16px;
	height: 16px;
	font-size: 16px;
}

@media (max-width: 767px) {
	.rtm__image-wrap {
		height: 300px;
	}

	.rtm__content {
		padding: 22px;
	}

	.rtm__name {
		font-size: 21px;
	}

	.rtm__description {
		font-size: 15px;
	}

	.rtm__meta {
		gap: 10px 18px;
	}
}


/* Keep the photo area exactly the configured height with no internal gap. */
.rtm .rtm__image-wrap {
	display: block !important;
	position: relative;
	width: 100% !important;
	overflow: hidden !important;
	line-height: 0 !important;
	padding: 0 !important;
}
