.astroid-component-section {
	padding: 10px 0;
}

/* Alap betűméret beállítása */
body {
	font-size: 12px;
	/* alapértelmezett betűméret */
}

.responsive-image {
	width: 100%;
	max-width: 200px;
	height: auto;
	display: block;
	margin: 5px auto;
}

.table-container {
	display: flex;
	gap: 5px;
	flex-wrap: wrap;
	margin: 5px 0;
}

.table-wrapper {
	flex: 1;
	min-width: 50px;
	/* Minimum szélesség mobilon */
}

.responsive-table {
	width: 100%;
	border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
	padding: 12px;
	text-align: left;
	border: 1px solid #ddd;
}

.responsive-table th {
	background-color: #f4f4f4;
}

/* 1. Megoldás: Bootstrap változók felülírása (Modern és tiszta módszer) */
.table-hover>tbody>tr:hover>* {
	--bs-table-accent-bg: #d1ecf1;
	/* Itt állítsd be a kék színt */
	--bs-table-bg-state: #d1ecf1;
	color: #000;
	/* Fekete szöveg, hogy olvasható legyen */
	background-color: #d1ecf1 !important;
	/* Biztonsági háló a régebbi böngészőknek */
	box-shadow: inset 0 0 0 9999px #d1ecf1 !important;
	/* "Brutális" felülírás, ha semmi más nem hat */
}


@media screen and (max-width: 492px) {
	.table-wrapper {
		flex: 100%;
	}
}

@media screen and (max-width: 400px) {
	.responsive-table thead {
		display: none;
	}

	.responsive-table tr {
		display: block;
		margin-bottom: 5px;
		border: 1px solid #ddd;
	}

	.responsive-table td {
		display: block;
		text-align: right;
		border: none;
		position: relative;
		padding-left: 50%;
	}

	.responsive-table td:before {
		content: attr(data-label);
		position: absolute;
		left: 5px;
		font-weight: bold;
	}
}

.megamenu-block {
	padding-top: 3px !important;
	padding-bottom: 3px !important;
}
