/**
 * Página Blog.
 */

.fbb-main--blog {
	background: var( --fbb-color-white );
	color: var( --fbb-color-text );
}

.fbb-blog-container {
	width: 100%;
	max-width: var( --fbb-container-max-width );
	margin-inline: auto;
	padding-inline: var( --fbb-page-gutter );
}

.fbb-blog-eyebrow {
	margin: 0 0 14px;
	color: var( --fbb-color-red );
	font-size: 13px;
	font-weight: var( --fbb-font-weight-bold );
	letter-spacing: .14em;
	line-height: 1.35;
	text-transform: uppercase;
}

.fbb-blog-hero {
	padding: 74px 0 44px;
}

.fbb-blog-breadcrumb {
	display: flex;
	gap: 7px;
	margin-bottom: 22px;
	color: #9ca3af;
	font-size: 13px;
	font-weight: var( --fbb-font-weight-medium );
}

.fbb-blog-breadcrumb a {
	color: inherit;
	text-decoration: none;
}

.fbb-blog-hero h1,
.fbb-blog-featured-card h2,
.fbb-blog-card h3,
.fbb-blog-final-cta h2 {
	margin: 0;
	color: var( --fbb-color-navy );
	font-weight: var( --fbb-font-weight-bold );
	letter-spacing: 0;
}

.fbb-blog-hero h1 {
	max-width: 1040px;
	font-size: clamp( 34px, 4vw, 48px );
	line-height: 1.14;
}

.fbb-blog-hero .fbb-rich-text {
	max-width: 820px;
	margin: 22px 0 0;
	font-size: 18px;
	font-weight: var( --fbb-font-weight-medium );
	line-height: 1.7;
}

.fbb-blog-filters .fbb-blog-container {
	display: grid;
	gap: 16px;
	padding-bottom: 24px;
	border-bottom: 1px solid #e5e7eb;
}

.fbb-blog-filters__list {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.fbb-blog-filters__list a,
.fbb-blog-filters__list span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 45px;
	padding: 0 24px;
	color: #6b7280;
	font-size: 13px;
	font-weight: var( --fbb-font-weight-bold );
	text-decoration: none;
	text-transform: uppercase;
	border: 2px solid #d1d5db;
	border-radius: var( --fbb-radius-pill );
}

.fbb-blog-filters__list a.is-active {
	color: var( --fbb-color-white );
	background: var( --fbb-color-navy );
	border-color: var( --fbb-color-navy );
}

.fbb-blog-filters__count {
	justify-self: end;
	margin: 0;
	color: #9ca3af;
	font-size: 13px;
	font-weight: var( --fbb-font-weight-medium );
}

.fbb-blog-featured {
	padding: 60px 0 80px;
}

.fbb-blog-featured-card {
	display: grid;
	grid-template-columns: minmax( 0, 1.1fr ) minmax( 360px, .9fr );
	overflow: hidden;
	background: var( --fbb-color-white );
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba( 0, 0, 0, .1 );
}

.fbb-blog-featured-card__media,
.fbb-blog-card__media {
	position: relative;
	display: block;
	overflow: hidden;
	background: var( --fbb-color-gray-page-bg );
}

.fbb-blog-featured-card__media {
	height: clamp( 300px, 32vw, 420px );
}

.fbb-blog-featured-card__image,
.fbb-blog-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.fbb-blog-featured-card__media span,
.fbb-blog-card__media span {
	position: absolute;
	top: 18px;
	left: 18px;
	padding: 8px 13px;
	color: var( --fbb-color-white );
	background: var( --fbb-color-red );
	border-radius: var( --fbb-radius-pill );
	font-size: 11px;
	font-weight: var( --fbb-font-weight-bold );
	letter-spacing: .04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.fbb-blog-featured-card__content {
	display: grid;
	align-content: center;
	padding: 58px;
}

.fbb-blog-featured-card time,
.fbb-blog-card time {
	color: #9ca3af;
	font-size: 13px;
	font-weight: var( --fbb-font-weight-medium );
}

.fbb-blog-featured-card h2 {
	margin-top: 18px;
	font-size: clamp( 28px, 3vw, 36px );
	line-height: 1.25;
}

.fbb-blog-featured-card h2 a,
.fbb-blog-card h3 a {
	color: inherit;
	text-decoration: none;
}

.fbb-blog-featured-card p {
	margin: 24px 0 0;
	font-size: var( --fbb-body-size );
	font-weight: var( --fbb-font-weight-medium );
	line-height: 1.7;
}

.fbb-blog-featured-card__content > div {
	display: flex;
	gap: 20px;
	align-items: center;
	justify-content: space-between;
	margin-top: 28px;
	color: #9ca3af;
	font-size: 13px;
	font-weight: var( --fbb-font-weight-medium );
}

.fbb-blog-featured-card__content > div a,
.fbb-blog-card footer a {
	color: var( --fbb-color-navy );
	font-weight: var( --fbb-font-weight-bold );
	text-decoration: none;
}

.fbb-blog-posts {
	padding: 78px 0 88px;
	background: var( --fbb-color-gray-page-bg );
}

.fbb-blog-posts__grid {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 28px;
	margin-top: 42px;
}

.fbb-blog-card {
	overflow: hidden;
	background: var( --fbb-color-white );
	border-radius: 8px;
	box-shadow: 0 8px 22px rgba( 0, 35, 120, .08 );
}

.fbb-blog-card__media {
	aspect-ratio: 16 / 10;
}

.fbb-blog-card__body {
	display: grid;
	padding: 24px;
}

.fbb-blog-card h3 {
	margin-top: 12px;
	font-size: 18px;
	line-height: 1.45;
}

.fbb-blog-card p {
	margin: 12px 0 0;
	color: #6b7280;
	font-size: 14px;
	font-weight: var( --fbb-font-weight-medium );
	line-height: 1.7;
}

.fbb-blog-card footer {
	display: flex;
	gap: 16px;
	align-items: center;
	justify-content: space-between;
	margin-top: 24px;
	padding-top: 16px;
	color: #9ca3af;
	font-size: 12px;
	font-weight: var( --fbb-font-weight-medium );
	border-top: 1px solid #e5e7eb;
}

.fbb-blog-image-placeholder {
	width: 100%;
	height: 100%;
	min-height: inherit;
	background: linear-gradient( 135deg, #e8e8e8, #f5f5f5 );
}

.fbb-blog-final-cta {
	padding: 76px 0 88px;
	background: var( --fbb-color-gray-page-bg );
	text-align: center;
}

.fbb-blog-final-cta h2 {
	font-size: clamp( 30px, 3.2vw, 40px );
	line-height: 1.2;
}

.fbb-blog-final-cta > div > div {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
	margin-top: 32px;
}

/* Tablet e abaixo (≤1023px) */
@media ( max-width: 1023px ) {
	.fbb-blog-featured-card {
		grid-template-columns: 1fr;
	}

	.fbb-blog-posts__grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

/* Mobile (≤767px) */
@media ( max-width: 767px ) {
	.fbb-blog-featured-card {
		grid-template-columns: 1fr;
	}

	.fbb-blog-hero {
		padding-top: 54px;
	}

	.fbb-blog-hero h1 {
		font-size: 32px;
	}

	.fbb-blog-featured-card__content {
		padding: 30px;
	}

	.fbb-blog-featured-card__content > div,
	.fbb-blog-card footer {
		align-items: flex-start;
		flex-direction: column;
	}

	.fbb-blog-posts__grid {
		grid-template-columns: 1fr;
	}

	.fbb-blog-filters__count {
		justify-self: start;
	}
}
