/**
 * Biblioteca archive cards.
 *
 * The /biblioteca archive loop (Kadence Element) prints each item as
 * `.custom-archive-loop-item` inside `.ecomt_biblioteca-archive`. Cards in a row
 * are already equal height (CSS grid), but each card stacks its content
 * top-to-bottom, so a title that wraps to two lines pushes its download button
 * down and the buttons stop lining up. Making the card content a flex column and
 * giving the button block `margin-top:auto` pins every button to the bottom, so
 * they stay aligned across the row regardless of title length.
 */
.ecomt_biblioteca-archive .custom-archive-loop-item {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.ecomt_biblioteca-archive .custom-archive-loop-item > .wp-block-kadence-column {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

.ecomt_biblioteca-archive .kt-inside-inner-col {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	height: 100%;
}

.ecomt_biblioteca-archive .wp-block-kadence-advancedbtn {
	margin-top: auto;
}
