/**
 * Our Programs: two photo cards with text overlay (no icons).
 * Theme assets/css/main.css is not writable via WebDAV — override lives in uploads.
 */
.tca-cards {
	grid-template-columns: 1fr 1fr;
	align-items: stretch;
}

.tca-card--photo {
	position: relative;
	min-height: 17.5rem;
	padding: 0;
	overflow: hidden;
	border: none;
	background-color: #053a1c;
	background-image: var(--tca-card-bg);
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-shadow: 0 8px 24px rgba(13, 26, 18, 0.12);
}

.tca-card--photo .tca-card__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(12, 8, 6, 0.28) 0%,
		rgba(12, 8, 6, 0.55) 42%,
		rgba(12, 8, 6, 0.88) 100%
	);
	pointer-events: none;
}

.tca-card--photo .tca-card__content {
	position: relative;
	z-index: 1;
	padding: 1.75rem 1.5rem 1.55rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
}

.tca-card--photo h3 {
	margin: 0;
	color: #fff;
	font-size: 1.35rem;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.tca-card--photo p {
	margin: 0;
	color: rgba(247, 244, 236, 0.94);
	font-size: 1.02rem;
	line-height: 1.5;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

@media (max-width: 900px) {
	.tca-cards {
		grid-template-columns: 1fr;
	}

	.tca-card--photo {
		min-height: 15.5rem;
	}
}
