.ways-to-invest {
	padding: 100px 0;
	background: linear-gradient(
		180deg,
		rgba(245, 243, 239, 0.7) 0%,
		rgba(255, 255, 255, 1) 100%
	);
}

.ways-to-invest .section-inner {
	max-width: var(--content-width);
	margin: auto;
	padding: 0 32px;
}

.ways-to-invest .section-heading {
	max-width: 760px;
	margin: 0 auto 64px;
	text-align: center;
}

.ways-to-invest .section-heading h2 {
	margin: 0 0 18px;
	font-size: clamp(2.4rem, 4vw, 4rem);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--color-primary);
}

.ways-to-invest .section-heading p {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.8;
	color: var(--color-text-light);
}

.ways-to-invest .card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 32px;
}

.ways-to-invest .card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: 28px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.ways-to-invest .card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 50px rgba(22, 50, 79, 0.12);
	border-color: rgba(77, 140, 163, 0.25);
}

.ways-to-invest .card-image {
	position: relative;
	height: 260px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
}

.ways-to-invest .card-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(22, 50, 79, 0.05) 0%,
		rgba(22, 50, 79, 0.28) 100%
	);
}

.ways-to-invest .card-content {
	padding: 32px;
	display: flex;
	flex-direction: column;
	gap: 16px;
	flex: 1;
}

.ways-to-invest .card-content h3 {
	margin: 0;
	font-size: 1.4rem;
	line-height: 1.3;
	font-weight: 700;
	color: var(--color-primary);
}

.ways-to-invest .card-content p {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.7;
	color: var(--color-text-light);
	flex: 1;
}

.ways-to-invest .card-content a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--color-accent);
	text-decoration: none;
	transition: color 0.2s ease;
}

.ways-to-invest .card-content a:hover {
	color: var(--color-primary);
}

.ways-to-invest .exchange-investments {
	background-image: url('/resources/1031-exchange-investments.webp');
}

.ways-to-invest .joint-ventures-and-institutional-opportunities {
	background-image: url('/resources/joint-ventures-and-institutional-opportunities.webp');
}

.ways-to-invest .accredited-investors {
	background-image: url('/resources/accredited-investors.webp');
}

.ways-to-invest .investing-through-your-ira {
	background-image: url('/resources/investing-through-your-ira.webp');
}

@media (max-width: 900px) {
	.ways-to-invest {
		padding: 80px 0;
	}

	.ways-to-invest .card-grid {
		grid-template-columns: 1fr;
	}

	.ways-to-invest .section-heading {
		margin-bottom: 48px;
	}

	.ways-to-invest .card-image {
		height: 240px;
	}
}

@media (max-width: 640px) {
	.ways-to-invest .section-inner {
		padding: 0 20px;
	}

	.ways-to-invest .card-image {
		height: 220px;
	}

	.ways-to-invest .card-content {
		padding: 24px;
	}

	.ways-to-invest .section-heading h2 {
		font-size: 2.2rem;
	}

	.ways-to-invest .section-heading p {
		font-size: 1rem;
		line-height: 1.7;
	}
}