/* Front: Cases — matched to totop-site-main final editorial columns */

body.totop-front-page .totop-front .cases.totop-section {
	padding: 96px 0;
	background: transparent;
}

body.totop-front-page .totop-front .case-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

body.totop-front-page .totop-front .case-card {
	background: transparent;
	border: none;
	border-top: 2px solid var(--totop-ink);
	border-radius: 0;
	padding: 24px 4px 0;
}

body.totop-front-page .totop-front .case-tag {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0 0 14px;
	padding: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--totop-teal-ink);
}

body.totop-front-page .totop-front .case-tag span {
	font-size: 11.5px;
	font-weight: 400;
	color: var(--totop-gray);
}

body.totop-front-page .totop-front .case-card h3 {
	font-family: var(--totop-head);
	font-weight: 700;
	font-size: 16.5px;
	line-height: 1.7;
	letter-spacing: 0.03em;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
	background: none;
	word-break: auto-phrase;
}

body.totop-front-page .totop-front .case-card h3::after,
body.totop-front-page .totop-front .case-card h3:after {
	content: none;
	display: none;
}

body.totop-front-page .totop-front .case-card p {
	margin: 0;
	font-size: 13.5px;
	color: var(--totop-ink-soft);
	line-height: 1.9;
}

@media (max-width: 900px) {
	body.totop-front-page .totop-front .case-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	body.totop-front-page .totop-front .cases.totop-section {
		padding: 68px 0;
	}
}
