/* Stack Page Styles */

/* Stack-specific: Tool grid and cards */
.stack-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
	gap: 2rem;
}

.tool-card {
	background: #fff;
	padding: 2.5rem;
	border-radius: 12px;
	border: 1px solid var(--border);
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
	transition:
		transform 0.2s,
		box-shadow 0.2s;
	display: flex;
	flex-direction: column;
	height: 100%;
}

.tool-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 20px -8px rgba(0, 0, 0, 0.1);
}

.tool-card h3 {
	font-size: 1.4rem;
}

.tool-card p {
	flex-grow: 1;
	font-size: 1rem;
}

.github-link {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	font-size: 0.95rem;
}

.github-link svg {
	width: 1.2em;
	height: 1.2em;
	margin-right: 0.5em;
	fill: currentColor;
}

/* Stack page section header has more margin */
.section-header {
	margin-bottom: 3rem;
}

@media (max-width: 600px) {
	.stack-grid {
		grid-template-columns: 1fr;
	}
}
