.webgyakorlo-account {
	margin-top: 1.5rem;
}

.webgyakorlo-section + .webgyakorlo-section {
	margin-top: 2.25rem;
}

.webgyakorlo-section-heading {
	align-items: center;
	display: flex;
	gap: 12px;
	justify-content: space-between;
	margin-bottom: 14px;
}

.webgyakorlo-section-heading h2 {
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0;
}

.webgyakorlo-section-heading span {
	align-items: center;
	background: #f6f7f7;
	border: 1px solid #dcdcde;
	border-radius: 999px;
	color: #1d2327;
	display: inline-flex;
	font-size: 0.85rem;
	font-weight: 700;
	height: 28px;
	justify-content: center;
	min-width: 28px;
	padding: 0 9px;
}

.webgyakorlo-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 18px;
}

.webgyakorlo-card {
	background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
	border: 1px solid #d7dee8;
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba(20, 31, 43, 0.08);
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 240px;
	overflow: hidden;
	padding: 18px;
	position: relative;
}

.webgyakorlo-card::before {
	content: "";
	height: 4px;
	left: 0;
	position: absolute;
	right: 0;
	top: 0;
}

.webgyakorlo-card.is-owned::before,
.webgyakorlo-card.is-bundle::before {
	background: #198754;
}

.webgyakorlo-card.is-free::before {
	background: #0d6efd;
}

.webgyakorlo-card.is-paid::before {
	background: #b35c00;
}

.webgyakorlo-card-top {
	display: flex;
	justify-content: flex-start;
}

.webgyakorlo-card h3 {
	font-size: 1.08rem;
	line-height: 1.3;
	margin: 0;
}

.webgyakorlo-card p {
	color: #50575e;
	line-height: 1.5;
	margin: 0;
}

.webgyakorlo-badge {
	align-self: flex-start;
	border-radius: 999px;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1;
	padding: 6px 9px;
}

.webgyakorlo-badge.is-owned {
	background: #d1e7dd;
	color: #0f5132;
}

.webgyakorlo-badge.is-free {
	background: #dbeafe;
	color: #0b4a8f;
}

.webgyakorlo-badge.is-paid {
	background: #fff1db;
	color: #7a3d00;
}

.webgyakorlo-price {
	font-weight: 700;
	margin-top: auto;
}

.webgyakorlo-button {
	align-self: flex-start;
	max-width: 100%;
	text-align: center;
	white-space: normal;
}

.webgyakorlo-empty {
	background: #f6f7f7;
	border: 1px dashed #c3c4c7;
	border-radius: 8px;
	color: #50575e;
	margin: 0;
	padding: 16px;
}

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

	.webgyakorlo-section-heading {
		align-items: flex-start;
		flex-direction: column;
	}
}
