/*
Theme Name: Kadence Child - EC Prótese Capilar
Description: Tema filho do Kadence para o site da EC Prótese Capilar. Alterações de código protegidas contra atualizações do tema pai.
Author: Familia Toniolo
Template: kadence
Version: 1.0.2
Text Domain: kadence-child
*/

/* =========================================================
   1. META DO POST - oculta autor e data
   ========================================================= */

.loop-entry .entry-meta,
.blog .entry-meta,
.archive .entry-meta,
.kadence-posts .entry-meta,
.single-post .entry-meta,
.single .entry-meta {
	display: none;
}

/* =========================================================
   2. CARDS DO BLOG - padronização
   ========================================================= */

.loop-entry .entry-content-wrap,
.kadence-posts .entry-content-wrap {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.loop-entry .entry-title,
.kadence-posts .entry-title {
	min-height: 2.8em;
	display: flex;
	align-items: flex-start;
}

.loop-entry .entry-summary,
.kadence-posts .entry-summary {
	min-height: 4.5em;
	overflow: hidden;
}

.loop-entry .entry-summary p:last-child,
.kadence-posts .entry-summary p:last-child {
	margin-bottom: 0;
}

.loop-entry .entry-taxonomies,
.kadence-posts .entry-taxonomies {
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* =========================================================
   3. IMAGENS - evita salto de layout (CLS)
   ========================================================= */

.loop-entry .post-thumbnail img,
.kadence-posts .post-thumbnail img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

/* =========================================================
   4. NAVEGAÇÃO ENTRE POSTS
   ========================================================= */

.post-navigation .nav-previous,
.post-navigation .nav-next {
	font-size: 0.9rem;
}

.post-navigation .post-title {
	font-weight: 600;
}

/* =========================================================
   5. READ MORE - fallback visual
   Só age se o texto ainda vier em inglês do bloco de posts.
   ========================================================= */

.loop-entry .entry-content-wrap .entry-summary + a,
.kadence-posts .entry-content-wrap .entry-summary + a {
	font-size: 0;
}

.loop-entry .entry-content-wrap .entry-summary + a::after,
.kadence-posts .entry-content-wrap .entry-summary + a::after {
	content: "Saiba mais →";
	font-size: 1rem;
}
