/**
 * POST CONTENT
 *
 * Define los estilos específicos del contenido de las entradas de Carnimad, incluyendo la maquetación tipográfica del cuerpo del post, encabezados, listas, tablas, imágenes y elementos auxiliares del sidebar como el listado dinámico de categorías.
 *
 * @package Carnimad
 */

/* ------------------------------- SINGLE POST */
/* --------------- CONTENT */
.single-post .post-content figure {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px 0 40px;
}

.elementor-1018
	.elementor-element.elementor-element-8c42ffe
	.elementor-icon-list-text
	a {
	transition: var(--a-anim);
}

.elementor-1018
	.elementor-element.elementor-element-8c42ffe
	.elementor-icon-list-text
	a:hover {
	opacity: 0.5;
}

/* ------------------------------- POST CONTENT */
/* --------------- HEADINGS */
.single-post .post-content h2,
.single-post .post-content h3,
.single-post .post-content h4,
.single-post .post-content h5,
.single-post .post-content h6 {
	display: flex;
	margin-top: 1.4em;
	margin-bottom: 0.5em;
	font-family: 'Poppins';
	font-weight: 600;
	line-height: 1.2;
	color: var(--ca-secondary) !important;
	word-break: keep-all;
}

.single-post .post-content h2 {
	font-size: clamp(28px, 2.2vw, 40px);
}

.single-post .post-content h3 {
	font-size: clamp(24px, 1.8vw, 34px);
}

.single-post .post-content h4 {
	font-size: clamp(20px, 1.5vw, 28px);
}

.single-post .post-content h5 {
	font-size: clamp(18px, 1.25vw, 24px);
}

.single-post .post-content h6 {
	font-size: clamp(16px, 1.1vw, 22px);
}

/* --------------- P */
.single-post .post-content p {
	font-family: 'Inter';
	font-size: clamp(14px, 1.1vw + 10px, 22px);
	line-height: 1.5;
	color: var(--ca-secondary) !important;
}

/* --------------- LISTS */
.single-post .post-content ul,
.single-post .post-content ol {
	margin-bottom: 1.5em;
}

/* Evita espacio superior si el contenido comienza con un encabezado. */
.single-post .post-content > :first-child {
	margin-top: 0;
}

/* --------------- TABLES */
.single-post .post-content table h2,
.single-post .post-content table h3,
.single-post .post-content table h4,
.single-post .post-content table h5,
.single-post .post-content table h6 {
	margin-top: 0;
	margin-bottom: 0;
	font-size: inherit;
	line-height: inherit;
	text-wrap: initial;
}

/* --------------- POST CATEGORIES */
.post-categories {
	width: 100%;
}

.post-categories__list {
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: 1px solid #8a8a8a;
}

.post-categories__item {
	margin: 0;
	padding: 0;
	border-bottom: 1px solid #8a8a8a;
}

.post-categories__link {
	display: block;
	padding: 10px 0;
	color: var(--c-black);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.3;
	text-decoration: none;
	transition: color 0.2s ease;
}

.post-categories__link:hover,
.post-categories__link:focus {
	color: var(--ca-primary);
}
