/*
 * Instituto Eucatex — structure only.
 * Fonts, colors, card backgrounds, borders and category badges inherit the theme.
 * Add your visual styling here or override these classes in a child theme.
 */
.iep-posts,
.iep-posts * {
	box-sizing: border-box;
}

.iep-posts .iep-posts__list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.iep-posts .iep-posts__item {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.iep-posts .iep-post-card,
.iep-posts .iep-post-card__link {
	height: 100%;
}

.iep-posts .iep-post-card__link {
	display: flex;
	flex-direction: column;
	color: inherit;
	text-decoration: none;
}

.iep-posts .iep-post-card__link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.iep-posts .iep-post-card__media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.iep-posts .iep-post-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.iep-posts .iep-post-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.75rem;
	padding-block: 1rem;
	overflow-wrap: anywhere;
}

.iep-posts .iep-post-card__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.iep-posts .iep-post-card__title,
.iep-posts .iep-post-card__date {
	margin: 0;
}

.iep-posts .iep-post-card__date {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	margin-block-start: auto;
}

.iep-posts .iep-post-card__date-icon {
	flex-shrink: 0;
}

@media (max-width: 800px) {
	.iep-posts .iep-posts__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 540px) {
	.iep-posts .iep-posts__list {
		grid-template-columns: minmax(0, 1fr);
	}
}
