/*
 * A Filament RichEditorből érkező tartalom tipográfiája.
 *
 * A szerkesztő sima <p>, <h2>, <ul> stb. elemeket ad vissza osztályok nélkül,
 * ezért itt tükrözzük a téma .font-22 / .mb-30 / .font-w-* utility-jeit,
 * hogy a CMS-ből szerkesztett szöveg ugyanúgy nézzen ki, mint a statikus.
 */

.rich-content p {
	font-size: 22px;
	margin-bottom: 30px;
}

.rich-content p:last-child {
	margin-bottom: 0;
}

.rich-content h2 {
	font-weight: 700;
	margin-top: 40px;
	margin-bottom: 20px;
}

.rich-content h3 {
	font-weight: 600;
	margin-top: 30px;
	margin-bottom: 15px;
	color: #6e6e6e;
}

.rich-content h4 {
	font-weight: 600;
	margin-top: 25px;
	margin-bottom: 15px;
}

.rich-content ul,
.rich-content ol {
	font-size: 22px;
	margin-bottom: 30px;
	padding-left: 25px;
}

.rich-content ul {
	list-style: disc;
}

.rich-content ol {
	list-style: decimal;
}

.rich-content li {
	margin-bottom: 10px;
}

.rich-content blockquote {
	border-left: 5px solid var(--zold);
	padding-left: 10px;
	font-size: 22px;
	margin-bottom: 30px;
}

.rich-content img {
	max-width: 100%;
	height: auto;
	border-radius: 10px;
	margin-bottom: 30px;
}

.rich-content strong,
.rich-content b {
	font-weight: 700;
}

@media (max-width: 575px) {
	.rich-content p,
	.rich-content ul,
	.rich-content ol,
	.rich-content blockquote {
		font-size: 18px;
	}
}

/* A t-card belsejében a lead szöveg megtartja a saját méretét. */
.t-card .rich-content p {
	font-size: inherit;
}

/*
 * Táblázatok a szerkesztett tartalomban (pl. összehasonlító táblák a blogban).
 * Kis kijelzőn vízszintesen görgethető, hogy ne törje szét az oldalt.
 */

.rich-content table {
	width: 100%;
	margin-bottom: 30px;
	border-collapse: collapse;
	font-size: 18px;
	background-color: #fff;
	border-radius: 10px;
	overflow: hidden;
}

.rich-content table th,
.rich-content table td {
	padding: 14px 16px;
	border: 1px solid #e6e6e6;
	vertical-align: top;
	text-align: left;
}

.rich-content table th {
	background-color: var(--zold, #8cc63f);
	color: #fff;
	font-weight: 700;
}

.rich-content table tr:nth-child(even) td {
	background-color: #fafafa;
}

.rich-content .table-scroll {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

@media (max-width: 767px) {
	.rich-content table {
		font-size: 16px;
		min-width: 560px;
	}
}
