/* Homepage Expert Psychiatric Services — static vertical list */

.tc-home-services {
	--tc-hs-ink: #042f23;
	--tc-hs-text: #3f524b;
	--tc-hs-sage: #536b5e;
	--tc-hs-line: rgba(4, 47, 35, 0.12);
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 10px 20px 40px;
	flex: 1 1 100%;
}

.tc-home-services-row {
	display: grid;
	grid-template-columns: minmax(180px, 0.9fr) minmax(220px, 1.1fr) minmax(220px, 1.1fr);
	gap: 28px 36px;
	align-items: center;
	padding: 36px 0;
	border-bottom: 1px solid var(--tc-hs-line);
	position: relative;
	z-index: 0;
	visibility: visible;
}

.tc-home-services-lead,
.tc-home-services-media,
.tc-home-services-copy {
	min-width: 0;
}

.tc-home-services-row:last-child {
	border-bottom: 0;
}

.tc-home-services-lead {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
}

.tc-home-services-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 42px;
	line-height: 1;
	color: var(--tc-hs-sage);
}

.tc-home-services-title {
	margin: 0;
	font-size: clamp(22px, 2.2vw, 30px);
	font-weight: 700;
	line-height: 1.25;
	color: var(--tc-hs-ink);
}

.tc-home-services-title a {
	color: inherit;
	text-decoration: none;
}

.tc-home-services-title a:hover,
.tc-home-services-title a:focus {
	color: var(--tc-hs-sage);
}

.tc-home-services-media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: 16px;
	background: #eef4f0;
}

.tc-home-services-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tc-home-services-badge {
	position: absolute;
	left: 16px;
	bottom: 16px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 52px;
	height: 44px;
	padding: 0 12px;
	border-radius: 10px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(4, 47, 35, 0.28);
	backdrop-filter: blur(16px);
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

.tc-home-services-copy p {
	margin: 0 0 18px;
	color: var(--tc-hs-text);
	font-size: 16px;
	line-height: 1.7;
}

.tc-home-services-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--tc-hs-sage);
	font-weight: 700;
	text-decoration: none;
}

.tc-home-services-link:hover,
.tc-home-services-link:focus {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.tc-home-services-row {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			"lead lead"
			"media copy";
	}

	.tc-home-services-lead {
		grid-area: lead;
		flex-direction: row;
		align-items: center;
	}

	.tc-home-services-media {
		grid-area: media;
	}

	.tc-home-services-copy {
		grid-area: copy;
	}
}

@media (max-width: 767px) {
	.tc-home-services-row {
		grid-template-columns: 1fr;
		grid-template-areas:
			"lead"
			"media"
			"copy";
		gap: 18px;
		padding: 28px 0;
	}

	.tc-home-services-lead {
		flex-direction: column;
		align-items: flex-start;
	}
}
