/* Blog listing — desktop lock. Tablet/mobile after desktop QA. */

.blog-page {
	overflow: hidden;
}

/* ---------- Hero ---------- */
.blog-hero {
	background: #012e55;
	padding: 56px 0;
}

.blog-hero .page-width-boxed {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	position: relative;
	z-index: 1;
}

.blog-hero-crumb {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	color: #c7d2de;
	margin: 0;
}

.blog-hero-crumb a,
.blog-hero-crumb a:visited,
.blog-hero-crumb a:hover,
.blog-hero-crumb a:focus {
	color: #c7d2de;
}

.blog-hero .theme-title-xl {
	margin: 0;
	max-width: 100%;
}

.blog-hero-lead {
	max-width: 820px;
	width: 100%;
	margin: 0;
	color: #c7d2de;
}

/* ---------- Posts ---------- */
.blog-posts {
	background: #fff;
	padding: 88px 0 96px;
}

.blog-posts .page-width-boxed {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 32px;
	position: relative;
	z-index: 1;
}

.blog-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
}

.search .blog-toolbar {
	justify-content: flex-start;
}

.blog-empty {
	margin: 0;
	width: 100%;
	text-align: center;
	color: #9e9e9e;
}

.blog-toolbar-search {
	display: flex;
	align-items: center;
	gap: 12px;
	width: 380px;
	max-width: 100%;
	padding: 14px 18px;
	border: 1px solid #e4e8ec;
	border-radius: 10px;
	background: #fff;
	box-sizing: border-box;
}

.blog-toolbar-search img {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

.blog-toolbar-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	outline: none;
	padding: 0;
	margin: 0;
	background: transparent;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.5;
	color: #012e55;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}

.blog-toolbar-search input[type="search"]::placeholder {
	color: #9e9e9e;
}

.blog-toolbar-search input[type="search"]::-webkit-search-decoration,
.blog-toolbar-search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}

.blog-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 10px;
}

.blog-chip,
.blog-chip:visited,
.blog-chip:hover,
.blog-chip:focus,
.blog-chip:active {
	display: inline-flex;
	align-items: center;
	padding: 10px 18px;
	border: 1px solid #e4e8ec;
	border-radius: 22px;
	background: #fff;
	color: #012e55;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	white-space: nowrap;
	box-sizing: border-box;
}

.blog-chip:hover,
.blog-chip:focus {
	background: #f4f6f8;
	color: #012e55;
}

.blog-chip.is-active,
.blog-chip.is-active:visited,
.blog-chip.is-active:hover,
.blog-chip.is-active:focus,
.blog-chip.is-active:active {
	background: #f04;
	border-color: #f04;
	color: #fff;
}

.blog-chip.is-active:hover,
.blog-chip.is-active:focus {
	background: #e0003c;
	border-color: #e0003c;
	color: #fff;
}

.blog-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	width: 100%;
}

.blog-card,
.blog-card:visited,
.blog-card:hover,
.blog-card:focus,
.blog-card:active {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	min-width: 0;
	background: #fff;
	border: 1px solid #edf0f3;
	border-radius: 16px;
	box-shadow: 0 10px 26px 0 rgba(1, 46, 84, 0.07);
	overflow: hidden;
	color: #012e55;
	text-decoration: none;
}

.blog-card.is-soon {
	border-color: #e4e8ec;
	box-shadow: 0 8px 20px 0 rgba(1, 46, 84, 0.05);
	pointer-events: none;
}

.blog-card.is-hidden {
	display: none;
}

.blog-card-media {
	height: 220px;
	width: 100%;
	flex-shrink: 0;
	background: #dce3ea;
}

.blog-card-body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	padding: 26px 28px 30px;
	min-width: 0;
}

.blog-card-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 20px;
	background: #ffe3ea;
	color: #f04;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.blog-card-tag.is-soon {
	background: #edf0f3;
	color: #9e9e9e;
}

.blog-card .theme-title-sm {
	margin: 0;
	max-width: 100%;
	font-size: 26px;
	line-height: 1.3;
	text-transform: none;
}

.blog-card .theme-text {
	margin: 0;
	color: #333;
}

.blog-card-more,
.blog-card-more:visited,
.blog-card-more:hover,
.blog-card-more:focus {
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	color: #f04;
}

.blog-card-soon-title {
	margin: 0;
	font-family: "Cal Sans", "Source Sans 3", sans-serif;
	font-weight: 400;
	font-size: 26px;
	line-height: 1.3;
	color: #9e9e9e;
}

.blog-load {
	display: flex;
	justify-content: center;
	width: 100%;
	padding-top: 8px;
}

.blog-load[hidden],
.blog-load-more[hidden] {
	display: none;
}

/* ---------- Single post (Figma 1162:950) ---------- */
.blog-single .blog-hero {
	padding: 54px 0;
}

.blog-single .blog-hero .page-width-boxed {
	align-items: center;
	gap: 16px;
}

.blog-single .blog-hero .theme-title-lg {
	margin: 0;
	max-width: 960px;
	color: #fff;
}

.blog-single-tag {
	display: inline-flex;
	align-items: center;
	padding: 6px 12px;
	border-radius: 20px;
	background: #f04;
	color: #fff;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
}

.blog-single-meta {
	margin: 0;
	font-family: "Source Sans 3", sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4;
	color: #c7d2de;
}

.blog-featured {
	background: #fff;
	padding: 48px 0 8px;
}

.blog-featured-media {
	height: 400px;
	width: 100%;
	border-radius: 16px;
	background: #dce3ea;
}

.blog-article {
	background: #fff;
	padding: 48px 0 96px;
}

.blog-article-col {
	width: 840px;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 22px;
	position: relative;
	z-index: 1;
}

@media (max-width: 1024px) {
	.blog-toolbar {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.blog-toolbar-search {
		width: 100%;
	}

	.blog-chips {
		justify-content: flex-start;
	}

	.blog-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.blog-single .blog-hero .theme-title-lg {
		font-size: 40px;
	}

	.blog-article-col {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.blog-hero {
		padding: 40px 0;
	}

	.blog-hero .theme-title-xl {
		font-size: 32px;
		line-height: 1.1;
	}

	.blog-hero-lead {
		max-width: none;
	}

	.blog-posts {
		padding: 32px 0 40px;
	}

	.blog-posts .page-width-boxed {
		gap: 24px;
	}

	.blog-chip,
	.blog-chip:visited,
	.blog-chip:hover,
	.blog-chip:focus,
	.blog-chip:active {
		padding: 6px 14px;
		border-radius: 999px;
	}

	.blog-grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.blog-card-soon-title {
		color: #6b6b6b;
	}

	.blog-card-tag.is-soon {
		color: #6b6b6b;
	}

	.blog-single .blog-hero {
		padding: 54px 0;
	}

	.blog-single .blog-hero .theme-title-lg {
		font-size: 32px;
		line-height: 1.15;
	}

	.blog-single-tag {
		padding: 6px 14px;
		border-radius: 999px;
		line-height: 1;
	}

	.blog-article {
		padding: 48px 0 96px;
	}
}
