/* Extend or override styles here if needed */

.cat-header {
	background: var(--primary);
	color: var(--primary-foreground, #fff);
	padding: 1.5rem 2rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cat-back {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: none;
	border: none;
	color: inherit;
	font: inherit;
	cursor: pointer;
}

.cat-lang {
	padding: 0.3rem 1rem;
	border-radius: 0.5rem;
	background: #fff2;
	border: none;
	cursor: pointer;
	font-weight: 500;
}

.cat-hero {
	margin: 2rem 0;
	border-radius: 1rem;
	overflow: hidden;
	box-shadow: 0 2px 12px #0001;
	height: 24rem;
}

.cat-hero img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cat-title {
	font-size: 2.5rem;
	font-weight: bold;
	margin-bottom: 1rem;
	color: var(--primary);
}

.cat-desc {
	font-size: 1.2rem;
	color: var(--foreground, #222);
	opacity: 0.7;
	margin-bottom: 1.5rem;
}

.cat-content {
	font-size: 1.1rem;
	margin-bottom: 2.5rem;
}

.cat-modules {
	margin-bottom: 2.5rem;

}

.cat-modules-title {
	font-size: 2rem;
	font-weight: bold;
	margin-bottom: 1.5rem;
	color: var(--primary);
}

.cat-modules-grid {
	display: grid;
	gap: 1.5rem;
	grid-template-columns: 1fr;
}

@media (min-width: 768px) {
	.cat-modules-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.cat-module-card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 2px 8px #0001;
	padding: 2rem;
	transition: box-shadow 0.2s;
}

.cat-module-card:hover {
	box-shadow: 0 6px 24px #0002;
}

.cat-module-num {
	width: 2.5rem;
	height: 2.5rem;
	background: var(--accent, #eee);
	border-radius: 0.5rem;
	font-size: 1.2rem;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: bold;
	color: #fff;
	margin-bottom: 1rem;
}

.cat-module-title {
	font-size: 1.1rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	color: var(--primary);
}

.cat-module-desc {
	color: var(--foreground, #444);
	opacity: 0.7;
}

.cat-cta {
	text-align: center;
	padding: 3rem 1rem;
	background: var(--primary);
	color: var(--primary-foreground, #fff);
	border-radius: 1rem;
}

.cat-cta-btn {
	margin-top: 1.5rem;
	padding: 1rem 3rem;
	font-size: 1.2rem;
	font-weight: 600;
	border: none;
	border-radius: 0.5rem;
	background: var(--accent, #ffd700);
	color: var(--primary, #222);
	cursor: pointer;
	transition: background 0.2s;
}

.cat-cta-btn:hover {
	background: #ffec80;
}

.cat-notfound {
	min-height: 60vh;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cat-notfound-inner {
	text-align: center;
}

.cat-notfound-btn {
	margin-top: 2rem;
	padding: 0.8rem 2rem;
	font-size: 1rem;
	border-radius: 0.5rem;
	background: var(--accent, #ffd700);
	color: var(--primary, #222);
	border: none;
	cursor: pointer;
}