.section {
	display: grid;
	gap: 1.05rem;
}

.header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;

	h2 {
		font-size: 1.25rem;
		line-height: 1.1;
		letter-spacing: -0.03em;
	}

	a {
		color: var(--primary);
		font-weight: 500;
		font-size: 0.9rem;
	}
}

.list {
	display: grid;
	gap: 0.85rem;
}

.card {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.85rem;
	padding: 0.95rem;
	border-radius: 1.25rem;
	background: var(--surface-panel);
	border: 1px solid var(--border-soft);
	box-shadow: var(--shadow-soft);

	@media (min-width: 720px) {
		grid-template-columns: auto 1fr auto;
		align-items: center;
	}

	.actionLink {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 100%;
		padding: 0.7rem 0.95rem;
		border: none;
		border-radius: 9999px;
		background: var(--surface-soft);
		color: var(--text-muted);
		font-weight: 500;
		font-size: 0.88rem;
		cursor: pointer;
		transition:
			transform 0.2s ease,
			background-color 0.2s ease,
			color 0.2s ease;

		&:hover {
			transform: translateY(-1px);
			background: var(--surface-info);
			color: var(--info);
			text-decoration: none;
		}
	}
}

@media (min-width: 720px) {
	.card .actionLink {
		width: auto;
	}
}

.avatar {
	width: 3rem;
	height: 3rem;
	display: grid;
	place-items: center;
	border-radius: 9999px;
	background: linear-gradient(135deg, var(--surface-accent-soft), var(--surface-info));
	color: var(--primary);
	font-weight: 600;
}

.copy {
	display: grid;
	gap: 0.2rem;

	h3 {
		font-size: 0.98rem;
		font-weight: 500;
	}

	p {
		font-size: 0.9rem;
		color: var(--text-muted);
	}
}
