/* Home section 12 — Blogs (Figma node 1:7353) */

.blogs {
	background: var( --color-white );
	padding: 40px 20px;
}

.blogs__header,
body .blogs__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 30px;
}

.blogs__intro,
body .blogs__intro {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.blogs__title {
	font-weight: 700;
	font-size: 40px;
	line-height: normal;
	color: var( --color-navy );
}

.blogs__subtitle p {
	font-weight: 400;
	font-size: 16px;
	line-height: normal;
	color: var( --color-text-body );
}

.blogs__cta {
	flex-shrink: 0;
	white-space: nowrap;
}

.blogs__grid,
body .blogs__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: 40px;
}

.blogs__card,
body .blogs__card {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.blogs__thumb {
	position: relative;
	width: 100%;
	height: 200px;
	border-radius: 8px;
	overflow: hidden;
}

.blogs__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blogs__thumb-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient( 119deg, rgba( 240, 84, 35, 0.2 ) 0%, rgba( 3, 19, 73, 0.2 ) 50%, rgba( 0, 174, 239, 0.2 ) 100% );
}

.blogs__card-title {
	font-weight: 700;
	font-size: 16px;
	line-height: normal;
	color: var( --color-navy );
}

.blogs__card-date p {
	font-weight: 600;
	font-size: 12px;
	line-height: normal;
	color: var( --color-navy );
}

@media ( max-width: 900px ) {
	.blogs__grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 640px ) {
	.blogs__header {
		flex-direction: column;
		align-items: flex-start;
	}

	.blogs__title {
		font-size: 30px;
	}

	.blogs__grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}
