/*
 * YacoNews TupaHost Pro — correções finais de compatibilidade de layout.
 * Este arquivo é carregado depois dos estilos de plugins e do tema anterior.
 */

/*
 * Alguns estilos residuais do SmartMag/Elementor transformam os cards em
 * flex/grid com altura total e distribuem título, categoria e resumo até o
 * fim da coluna. Os cards abaixo precisam manter fluxo editorial natural.
 */
body .yth-home .yth-general-main,
body .yth-home .yth-general-feature,
body .yth-home .yth-general-small-grid article,
body .yth-home .yth-general-center article,
body .yth-home .yth-most-read li,
body .yth-home .yth-grid-four article,
body .yth-home .yth-feature-grid-list article,
body .yth-home .yth-horizontal-five article,
body .yth-home .yth-ent-feature,
body .yth-home .yth-ent-small-grid article,
body .yth-home .yth-ent-rail article,
body .yth-home .yth-police-feature {
	height: auto !important;
	min-height: 0 !important;
	max-height: none !important;
	align-self: start !important;
	align-content: start !important;
	justify-content: flex-start !important;
}

body .yth-home .yth-general-feature,
body .yth-home .yth-general-small-grid article,
body .yth-home .yth-general-center article,
body .yth-home .yth-most-read li,
body .yth-home .yth-grid-four article,
body .yth-home .yth-feature-grid-list article,
body .yth-home .yth-horizontal-five article,
body .yth-home .yth-ent-feature,
body .yth-home .yth-ent-small-grid article,
body .yth-home .yth-ent-rail article,
body .yth-home .yth-police-feature {
	display: block !important;
	grid-template-columns: none !important;
	grid-template-rows: none !important;
	flex: none !important;
}

/* Geral: mantém imagem, título, categoria e resumo juntos. */
body .yth-home .yth-general-feature > a {
	margin: 0 !important;
}
body .yth-home .yth-general-feature h3 {
	margin: 14px 0 0 !important;
}
body .yth-home .yth-general-feature .yth-category {
	margin: 9px 0 0 !important;
}
body .yth-home .yth-general-feature p {
	margin: 12px 0 0 !important;
}

body .yth-home .yth-general-small-grid article > a {
	margin: 0 !important;
}
body .yth-home .yth-general-small-grid article .yth-category {
	margin: 8px 0 0 !important;
}
body .yth-home .yth-general-small-grid article h4 {
	margin: 8px 0 0 !important;
}

/* Coluna central do Geral. */
body .yth-home .yth-general-center article > a {
	margin: 0 !important;
}
body .yth-home .yth-general-center article .yth-category {
	margin: 12px 0 0 !important;
}
body .yth-home .yth-general-center article h3 {
	margin: 7px 0 0 !important;
}

/* Mais Lidas. */
body .yth-home .yth-most-read li > a {
	margin: 0 !important;
}
body .yth-home .yth-most-read li > div {
	display: block !important;
	height: auto !important;
	min-height: 0 !important;
	padding: 10px 0 0 32px !important;
}
body .yth-home .yth-most-read li h4 {
	margin: 0 !important;
}
body .yth-home .yth-most-read li .yth-category {
	margin: 8px 0 0 !important;
}
body .yth-home .yth-most-read li p {
	margin: 9px 0 0 !important;
}

/* Demais grades simples da capa. */
body .yth-home .yth-grid-four article h3,
body .yth-home .yth-feature-grid-list article h3,
body .yth-home .yth-horizontal-five article h3,
body .yth-home .yth-ent-small-grid article h4,
body .yth-home .yth-ent-rail article h4 {
	margin-top: 10px !important;
	margin-bottom: 0 !important;
}
body .yth-home .yth-grid-four article p,
body .yth-home .yth-horizontal-five article p,
body .yth-home .yth-ent-small-grid article p {
	margin-top: 10px !important;
	margin-bottom: 0 !important;
}

/* Não permite que linhas internas das grades sejam esticadas pela maior coluna. */
body .yth-home .yth-general-rank,
body .yth-home .yth-general-small-grid,
body .yth-home .yth-grid-four,
body .yth-home .yth-feature-grid-list,
body .yth-home .yth-ent-small-grid,
body .yth-home .yth-horizontal-five {
	align-items: start !important;
	align-content: start !important;
}
