/* Specialty EHR solution landings — deep-dive blocks on hub chrome */

/* Specificity must beat .tc-ehr-sol-head p { margin: 0 } so the intro stays centered */
.tc-ehr-sol-head .tc-ehr-sol-deep__intro {
	max-width: 42rem;
	margin: 0.75rem auto 0;
	text-align: center;
	color: var(--tc-ehr-muted, #5b6472);
	font-size: 1.05rem;
	line-height: 1.55;
}

.tc-ehr-sol-deep__list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	margin-top: 2.5rem;
}

.tc-ehr-sol-deep__row {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 2rem;
	align-items: center;
}

.tc-ehr-sol-deep__row--flip {
	direction: rtl;
}

.tc-ehr-sol-deep__row--flip > * {
	direction: ltr;
}

.tc-ehr-sol-deep__media {
	position: relative;
	min-height: 16rem;
	border-radius: 1.25rem;
	overflow: hidden;
	background: linear-gradient(135deg, rgba(119, 182, 36, 0.12), rgba(15, 40, 60, 0.08));
	box-shadow: 0 18px 40px rgba(15, 40, 60, 0.12);
}

.tc-ehr-sol-deep__media img {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 16rem;
	object-fit: cover;
}

.tc-ehr-sol-deep__copy {
	padding: 0.25rem 0.5rem;
}

.tc-ehr-sol-deep__heading {
	display: flex;
	align-items: center;
	gap: 0.85rem;
	margin-bottom: 0.75rem;
}

.tc-ehr-sol-deep__icon {
	display: inline-flex;
	flex-shrink: 0;
	width: 3.5rem;
	height: 3.5rem;
	align-items: center;
	justify-content: center;
	border-radius: 0.9rem;
	background: rgba(119, 182, 36, 0.12);
	color: #4f8a12;
}

.tc-ehr-sol-deep__icon svg {
	width: 1.85rem;
	height: 1.85rem;
}

.tc-ehr-sol-deep__copy h3 {
	margin: 0;
	font-size: clamp(1.35rem, 2.2vw, 1.75rem);
	font-weight: 700;
	color: #142033;
	line-height: 1.25;
}

.tc-ehr-sol-deep__copy p {
	margin: 0;
	color: var(--tc-ehr-muted, #5b6472);
	font-size: 1.02rem;
	line-height: 1.6;
	max-width: 34rem;
}

@media (max-width: 900px) {
	.tc-ehr-sol-deep__row,
	.tc-ehr-sol-deep__row--flip {
		grid-template-columns: 1fr;
		direction: ltr;
		gap: 1.25rem;
	}

	.tc-ehr-sol-deep__media,
	.tc-ehr-sol-deep__media img {
		min-height: 12.5rem;
	}
}
