/* #MARKS • Últimos artigos do blog — secção transparente; só os cards têm fundo */
.marks___ultimos-artigos-section {
	box-sizing: border-box;
	background: transparent;
	padding: 0;
	margin: 0;
	width: 100%;
}

.marks___ultimos-artigos-section *,
.marks___ultimos-artigos-section *::before,
.marks___ultimos-artigos-section *::after {
	box-sizing: border-box;
}

.marks___ultimos-artigos-heading {
	text-align: center;
	font-family: inherit;
	font-size: clamp(1.15rem, 2.5vw, 1.45rem);
	font-weight: 600;
	line-height: 1.35;
	margin: 0 0 2rem;
	padding: 0 0.5rem;
	letter-spacing: 0.01em;
}

.marks___ultimos-artigos-heading-muted {
	color: #d1d5dc;
}

.marks___ultimos-artigos-heading-accent {
	color: #f5d742;
}

/* Largura 100% do contentor pai (coluna VC, etc.) — sem max-width nem centragem */
.marks___ultimos-artigos.iqb-ultimos-artigos {
	display: grid !important;
	gap: 1.5rem;
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	min-width: 0;
}

@media (min-width: 900px) {
	.marks___ultimos-artigos--count-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.marks___ultimos-artigos--count-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.marks___ultimos-artigos--count-1 {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 899px) {
	.marks___ultimos-artigos.iqb-ultimos-artigos {
		grid-template-columns: 1fr;
	}
}

.marks___card.iqb-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
	margin: 0;
	height: 100%;
	min-width: 0;
}

.marks___card__top {
	position: relative;
	overflow: hidden;
	border-radius: 10px 10px 0 0;
	background: #2d3542;
	isolation: isolate;
}

.marks___card__media.iqb-card__media {
	display: block;
	position: relative;
	line-height: 0;
	overflow: hidden;
	aspect-ratio: 16 / 9;
}

.marks___card__media.iqb-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	vertical-align: top;
}

/* Alinhado ao “ghost” .meta-category do Salient (classic_enhanced) */
.marks___card__tag.iqb-card__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	display: inline-block;
	padding: 0 10px;
	margin: 0;
	line-height: 20px;
	font-size: 12px;
	text-transform: uppercase;
	font-weight: 700;
	letter-spacing: 0.03em;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	background: transparent;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
	transition: all 0.2s ease;
}

.marks___card:hover .marks___card__tag.iqb-card__tag {
	border-color: rgba(255, 255, 255, 0.85);
}

.marks___card__wave {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 22px;
	z-index: 1;
	pointer-events: none;
	display: block;
	width: 100%;
}

.marks___card__wave svg {
	display: block;
	width: 100%;
	height: 100%;
}

.marks___card__body.iqb-card__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 1.35rem 1.35rem 1.5rem;
	text-align: left;
}

.marks___card__date.iqb-card__date {
	margin: 0 0 0.65rem;
	font-size: 0.85rem;
	font-weight: 400;
	color: #999999;
	line-height: 1.4;
}

.marks___card__title.iqb-card__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.05rem, 2vw, 1.2rem);
	font-weight: 700;
	line-height: 1.3;
	color: #333333;
}

.marks___card__title.iqb-card__title a {
	color: inherit;
	text-decoration: none;
	transition: color 0.15s ease;
}

.marks___card__title.iqb-card__title a:hover,
.marks___card__title.iqb-card__title a:focus {
	color: #1a1a1a;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.marks___card__excerpt.iqb-card__excerpt {
	margin: 0;
	font-size: 0.92rem;
	line-height: 1.55;
	font-weight: 400;
	color: #666666;
	flex: 1;
}

/* WPBakery / colunas: evita que o tema force 100% por card */
.wpb_content_element .marks___ultimos-artigos-section {
	max-width: none;
}

.vc_row .marks___ultimos-artigos-section .marks___ultimos-artigos.iqb-ultimos-artigos {
	display: grid !important;
}
