.shell-grid {
	padding-top: 0;
	padding-bottom: 0;
}

.shell-card {
	background: var(--bg-card, #fff);
	border-radius: 12px;
	box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shell-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.shell-card-thumb {
	display: block;
	overflow: hidden;
	background: #eef2f7;
}

.shell-card-thumb img {
	width: 100%;
	height: 170px;
	object-fit: cover;
	display: block;
}

.shell-card-body {
	padding: 16px 16px 12px;
	flex: 1 1 auto;
}

.shell-card-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.shell-card-title {
	margin: 0;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--text-primary, #1f2937);
}

.shell-card-title a {
	color: inherit;
	text-decoration: none;
}

.shell-card-title a:hover {
	color: var(--brand-primary, #28a745);
}

.shell-card-badge {
	flex-shrink: 0;
	background: #f5c518;
	color: #5c4a00;
	font-size: 11px;
	font-weight: 700;
	line-height: 1;
	padding: 5px 8px;
	border-radius: 999px;
	white-space: nowrap;
}

.shell-card-meta {
	margin: 0 0 10px;
	font-size: 13px;
	color: var(--text-muted, #6b7280);
}

.shell-card-desc {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: var(--text-primary, #374151);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 65px;
}

.shell-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 16px;
	border-top: 1px solid var(--border-color, #e5e7eb);
	font-size: 13px;
}

.shell-card-downloads {
	color: var(--text-muted, #6b7280);
}

.shell-card-downloads i {
	margin-right: 4px;
}

.shell-card-action {
	color: var(--brand-primary, #28a745);
	font-weight: 600;
	text-decoration: none;
}

.shell-card-action i {
	margin-right: 4px;
}

.shell-card-action:hover {
	color: var(--brand-primary-dark, #136225);
	text-decoration: none;
}

[data-theme="dark"] .shell-card {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .shell-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .shell-card-thumb {
	background: #111827;
}

[data-theme="dark"] .shell-card-badge {
	background: #ca8a04;
	color: #fff;
}

[data-theme="dark"] .shell-card-action {
	color: #7dd87d;
}

[data-theme="dark"] .shell-card-action:hover {
	color: #5cb85c;
}

[data-theme="dark"] .shell-card-title a:hover {
	color: #7dd87d;
}
