/*
Blog page template.
Path: blog/blog.css
Version: v8
*/

.blog-page,
.blog-page * {
	box-sizing: border-box;
}

.blog-page {
	--blog-blue: #064ea8;
	--blog-blue-dark: #071f63;
	--blog-cyan: #0b96c6;
	--blog-graphite: #1f2937;
	--blog-text: #071436;
	--blog-muted: rgba(21, 27, 42, 0.72);
	--blog-line: rgba(7, 31, 99, 0.18);
	--blog-line-strong: rgba(7, 31, 99, 0.26);
	--blog-card: #ffffff;
	--blog-soft: #f3f9ff;

	color: var(--blog-text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background:
		radial-gradient(circle at 10% 4%, rgba(11, 150, 198, 0.09) 0, rgba(11, 150, 198, 0) 28%),
		linear-gradient(180deg, #f7fbff 0%, #ffffff 42%, #ffffff 100%);
}

.blog-page__container {
	width: min(1180px, calc(100% - 40px));
	margin: 0 auto;
}

.blog-page__hero {
	position: relative;
	padding: 28px 0 34px;
	overflow: hidden;
}

.blog-page__hero::after {
	content: "";
	position: absolute;
	right: -110px;
	top: -120px;
	width: 520px;
	height: 340px;
	border-radius: 999px;
	background: rgba(11, 150, 198, 0.08);
	pointer-events: none;
}

.blog-page__breadcrumbs {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 34px;
	color: rgba(7, 31, 99, 0.58);
	font-size: 14px;
	line-height: 1.2;
}

.blog-page__breadcrumbs a {
	color: var(--blog-blue);
	text-decoration: none;
}

.blog-page__breadcrumbs a:hover {
	color: var(--blog-cyan);
}

.blog-page__hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1.42fr) minmax(260px, 0.58fr);
	gap: 36px;
	align-items: center;
}

.blog-page__title {
	max-width: none;
	margin: 14px 0 0;
	color: var(--blog-graphite);
	font-size: clamp(40px, 4.05vw, 58px);
	font-weight: 820;
	line-height: 1.06;
	letter-spacing: -0.045em;
}

@media (min-width: 900px) {
	.blog-page__title {
		white-space: nowrap;
	}
}

.blog-page__lead {
	max-width: 780px;
	margin: 24px 0 0;
	color: rgba(31, 41, 55, 0.86);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(17px, 1.55vw, 19px);
	font-weight: 400;
	line-height: 1.64;
	letter-spacing: -0.006em;
}

.blog-page__sublead {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	gap: 12px;
	margin: 0;
	color: rgba(11, 150, 198, 0.82);
	font-family: inherit;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0.095em;
	text-transform: uppercase;
}

.blog-page__sublead::before,
.blog-page__sublead::after {
	content: "";
	flex: 0 0 44px;
	height: 1px;
	background: linear-gradient(90deg, rgba(11, 150, 198, 0), rgba(11, 150, 198, 0.42));
}

.blog-page__sublead::after {
	background: linear-gradient(90deg, rgba(11, 150, 198, 0.42), rgba(11, 150, 198, 0));
}

.blog-page__sublead span {
	display: inline-block;
	white-space: nowrap;
}

.blog-page__hero-art {
	min-height: 250px;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	pointer-events: none;
}

.blog-page__hero-image {
	display: block;
	width: min(430px, 100%);
	max-width: 100%;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 22px 34px rgba(7, 31, 99, 0.13));
	transform: translate3d(8px, 0, 0);
}

.blog-page__search {
	position: relative;
	z-index: 1;
	max-width: 920px;
	margin: 34px 0 0;
}

.blog-page__search-shell {
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr) auto auto;
	gap: 10px;
	align-items: center;
	padding: 8px;
	background: rgba(255, 255, 255, 0.74);
	border: 1px solid rgba(7, 31, 99, 0.16);
	border-radius: 14px;
	box-shadow:
		0 16px 34px rgba(7, 31, 99, 0.07),
		0 1px 0 rgba(255, 255, 255, 0.82) inset;
	backdrop-filter: blur(10px);
}

.blog-page__search-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	color: rgba(7, 31, 99, 0.54);
}

.blog-page__search-input {
	width: 100%;
	min-width: 0;
	min-height: 46px;
	padding: 0 8px;
	color: var(--blog-text);
	background: transparent;
	border: 0;
	font-family: inherit;
	font-size: 16px;
	font-weight: 560;
	line-height: 1.2;
	outline: none;
}

.blog-page__search-input::placeholder {
	color: rgba(7, 20, 54, 0.46);
}

.blog-page__search-shell:focus-within {
	border-color: rgba(11, 150, 198, 0.42);
	box-shadow:
		0 18px 38px rgba(7, 31, 99, 0.09),
		0 0 0 4px rgba(11, 150, 198, 0.08);
}

.blog-page__search-clear {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	padding: 0 12px;
	color: rgba(7, 31, 99, 0.66);
	background: rgba(238, 245, 252, 0.78);
	border: 1px solid rgba(7, 31, 99, 0.10);
	border-radius: 9px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
}

.blog-page__search-clear:hover,
.blog-page__search-clear:focus-visible {
	color: var(--blog-blue);
	background: rgba(230, 244, 255, 0.96);
	outline: none;
}

.blog-page__search-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	min-height: 46px;
	padding: 0 22px;
	color: rgba(255, 255, 255, 0.94);
	background: linear-gradient(135deg, var(--blog-blue), var(--blog-blue-dark));
	border: 0;
	border-radius: 10px;
	box-shadow: 0 12px 24px rgba(7, 31, 99, 0.18);
	font-family: inherit;
	font-size: 15px;
	font-weight: 760;
	line-height: 1;
	cursor: pointer;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease;
}

.blog-page__search-button:hover,
.blog-page__search-button:focus-visible {
	color: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 16px 30px rgba(7, 31, 99, 0.25);
	outline: none;
}

.blog-page__filters {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 22px 0 0;
}

.blog-page__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 46px;
	padding: 12px 20px;
	color: rgba(7, 31, 99, 0.72);
	background: rgba(255, 255, 255, 0.58);
	border: 1px solid rgba(7, 31, 99, 0.16);
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.15;
	text-decoration: none;
	transform: translate3d(0, 0, 0);
	transition:
		color 0.16s ease,
		background 0.16s ease,
		border-color 0.16s ease,
		box-shadow 0.16s ease,
		transform 0.16s ease;
}

.blog-page__filter:hover,
.blog-page__filter:focus-visible {
	color: var(--blog-graphite);
	background: linear-gradient(135deg, rgba(236, 249, 255, 0.96) 0%, rgba(205, 235, 255, 0.94) 100%);
	border-color: rgba(11, 150, 198, 0.30);
	box-shadow: 0 10px 22px rgba(7, 31, 99, 0.08);
	transform: translate3d(0, -1px, 0);
	outline: none;
}

.blog-page__filter.is-active {
	color: rgba(255, 255, 255, 0.92);
	background: linear-gradient(135deg, #0959b8 0%, #082b75 100%);
	border-color: transparent;
	box-shadow: 0 12px 24px rgba(7, 31, 99, 0.18);
	font-weight: 700;
}

.blog-page__filter.is-active:hover,
.blog-page__filter.is-active:focus-visible {
	color: #ffffff;
	background: linear-gradient(135deg, #0a66cc 0%, #071f63 100%);
	box-shadow: 0 16px 30px rgba(7, 31, 99, 0.25);
	transform: translate3d(0, -2px, 0);
}

.blog-page__list {
	padding: 22px 0 54px;
}

.blog-page__results-note {
	margin: 0 0 18px;
	padding: 13px 16px;
	color: rgba(7, 20, 54, 0.68);
	background: rgba(241, 248, 255, 0.82);
	border: 1px solid rgba(11, 150, 198, 0.12);
	border-radius: 12px;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
}

.blog-page__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.blog-page__posts-stage {
	position: relative;
	overflow: visible;
}

.blog-page__posts-stage.is-ready {
	transition: max-height 0.32s ease;
}

.blog-page__posts-stage.is-collapsed {
	overflow: hidden;
}

.blog-page__posts-fade {
	display: none;
}

.blog-page__posts-stage.is-collapsed .blog-page__posts-fade {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: block;
	height: 230px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 252, 255, 0.82) 58%, #ffffff 100%);
	pointer-events: none;
	z-index: 2;
}

.blog-page__load-more-wrap {
	display: flex;
	justify-content: center;
	margin: 22px 0 10px;
}

.blog-page__load-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 210px;
	min-height: 52px;
	padding: 14px 26px;
	color: rgba(255, 255, 255, 0.94);
	background: linear-gradient(135deg, var(--blog-blue), var(--blog-blue-dark));
	border: 0;
	border-radius: 9px;
	box-shadow: 0 14px 28px rgba(7, 31, 99, 0.20);
	font-family: inherit;
	font-size: 16px;
	font-weight: 760;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease;
}

.blog-page__load-more:hover,
.blog-page__load-more:focus-visible {
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(7, 31, 99, 0.28);
	outline: none;
}

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

.blog-card {
	display: flex;
	flex-direction: column;
	height: 545px;
	min-height: 0;
	background: var(--blog-card);
	border: 1px solid var(--blog-line-strong);
	border-radius: 15px;
	box-shadow:
		0 10px 28px rgba(7, 31, 99, 0.07),
		0 1px 0 rgba(255, 255, 255, 0.90) inset;
	overflow: hidden;
	transition:
		transform 0.18s ease,
		border-color 0.18s ease,
		box-shadow 0.18s ease;
}

.blog-card:hover {
	transform: translateY(-3px);
	border-color: rgba(11, 150, 198, 0.42);
	box-shadow:
		0 18px 40px rgba(7, 31, 99, 0.12),
		0 0 0 3px rgba(11, 150, 198, 0.055);
}

.blog-card__image-link {
	display: block;
	flex: 0 0 auto;
	text-decoration: none;
}

.blog-card__image {
	display: block;
	width: 100%;
	height: 178px;
	object-fit: cover;
	background: var(--blog-soft);
}

.blog-card__image--placeholder {
	display: grid;
	place-items: center;
	color: rgba(7, 31, 99, 0.72);
	font-size: 32px;
	font-weight: 850;
	letter-spacing: 0.08em;
	background:
		radial-gradient(circle at 20% 20%, rgba(11, 150, 198, 0.18), rgba(11, 150, 198, 0) 35%),
		linear-gradient(135deg, #eaf7ff 0%, #f8fcff 100%);
}

.blog-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
	padding: 18px 18px 16px;
}

.blog-card__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin: 0 0 13px;
}

.blog-card__category {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	margin: 0;
	padding: 6px 9px;
	color: rgba(0, 83, 166, 0.78);
	background: rgba(11, 150, 198, 0.055);
	border: 1px solid rgba(11, 150, 198, 0.10);
	border-radius: 6px;
	font-size: 12px;
	font-weight: 650;
	line-height: 1.1;
	text-decoration: none;
}

.blog-card__category:hover {
	color: rgba(0, 83, 166, 0.92);
	background: rgba(11, 150, 198, 0.09);
}

.blog-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--blog-text);
	font-size: 20px;
	font-weight: 800;
	line-height: 1.28;
	letter-spacing: -0.018em;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

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

.blog-card__title a:hover {
	color: var(--blog-blue);
}

.blog-card__excerpt {
	display: -webkit-box;
	margin: 14px 0 0;
	overflow: hidden;
	color: rgba(7, 20, 54, 0.82);
	font-size: 15px;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 7;
}

.blog-card__meta {
	display: flex;
	align-items: center;
	gap: 9px;
	margin-top: auto;
	padding-top: 20px;
	color: rgba(7, 20, 54, 0.58);
	font-size: 13px;
	line-height: 1.2;
}

.blog-card__read {
	margin-left: auto;
	color: var(--blog-blue);
	font-weight: 750;
	text-decoration: none;
	white-space: nowrap;
}

.blog-card__read:hover {
	color: var(--blog-cyan);
}

.blog-page__cta {
	position: relative;
	display: grid;
	grid-template-columns: 150px minmax(0, 1fr) minmax(300px, 360px);
	gap: 28px;
	align-items: center;
	margin: 28px 0 24px;
	padding: 26px 28px;
	background:
		radial-gradient(circle at 8% 35%, rgba(11, 150, 198, 0.13) 0, rgba(11, 150, 198, 0) 30%),
		linear-gradient(135deg, rgba(239, 249, 255, 0.96), rgba(250, 253, 255, 0.98));
	border: 1px solid rgba(7, 31, 99, 0.22);
	border-radius: 14px;
	box-shadow: 0 14px 34px rgba(7, 31, 99, 0.08);
	overflow: hidden;
}

.blog-page__cta-art {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 0;
}

.blog-page__cta-image {
	display: block;
	width: min(132px, 100%);
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 18px 28px rgba(7, 31, 99, 0.13));
}

.blog-page__cta-title {
	margin: 0;
	color: var(--blog-text);
	font-size: clamp(22px, 2.1vw, 28px);
	font-weight: 820;
	line-height: 1.18;
	letter-spacing: -0.025em;
}

.blog-page__cta-text {
	max-width: 680px;
	margin: 10px 0 0;
	color: rgba(7, 20, 54, 0.76);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}

.blog-page__cta-status {
	margin: 14px 0 0;
	padding: 10px 12px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 650;
	line-height: 1.35;
}

.blog-page__cta-status--success {
	color: #047857;
	background: rgba(16, 185, 129, 0.10);
	border: 1px solid rgba(16, 185, 129, 0.18);
}

.blog-page__cta-status--error,
.blog-page__cta-status--empty,
.blog-page__cta-status--agreement-required,
.blog-page__cta-status--mail-error {
	color: #9b1c1c;
	background: rgba(239, 68, 68, 0.09);
	border: 1px solid rgba(239, 68, 68, 0.16);
}

.blog-page__cta-form {
	display: grid;
	gap: 10px;
	min-width: 0;
}

.blog-page__cta-field {
	display: grid;
	gap: 7px;
	margin: 0;
}

.blog-page__cta-field-label {
	color: rgba(7, 31, 99, 0.70);
	font-size: 13px;
	font-weight: 700;
	line-height: 1.2;
}

.blog-page__cta-input {
	width: 100%;
	min-height: 50px;
	padding: 0 15px;
	color: var(--blog-text);
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(7, 31, 99, 0.18);
	border-radius: 10px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	outline: none;
	transition:
		border-color 0.15s ease,
		box-shadow 0.15s ease;
}

.blog-page__cta-input:focus {
	border-color: rgba(11, 150, 198, 0.66);
	box-shadow: 0 0 0 4px rgba(11, 150, 198, 0.10);
}

.blog-page__cta-form .form-consent {
	display: grid;
	grid-template-columns: 16px minmax(0, 1fr);
	gap: 8px;
	align-items: start;
	margin: 0;
	color: rgba(7, 20, 54, 0.62);
	font-size: 10px;
	font-weight: 400;
	line-height: 1.32;
	cursor: pointer;
}

.blog-page__cta-form .form-consent input {
	width: 15px;
	height: 15px;
	min-height: 15px;
	margin: 1px 0 0;
	accent-color: var(--blog-cyan);
	cursor: pointer;
}

.blog-page__cta-form .form-consent span {
	display: block;
	min-width: 0;
}

.blog-page__cta-form .form-consent a {
	color: var(--blog-blue);
	font-weight: 650;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.blog-page__cta-form .form-consent a:hover {
	color: var(--blog-cyan);
}

.blog-page__cta-button {
	width: 100%;
	min-height: 52px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	color: rgba(255, 255, 255, 0.92);
	background: linear-gradient(135deg, var(--blog-blue), var(--blog-blue-dark));
	border: 0;
	border-radius: 8px;
	box-shadow: 0 14px 28px rgba(7, 31, 99, 0.22);
	font-family: inherit;
	font-size: 16px;
	font-weight: 720;
	line-height: 1.15;
	text-decoration: none;
	cursor: pointer;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease,
		background-color 0.16s ease;
}

.blog-page__cta-button:hover,
.blog-page__cta-button:focus-visible {
	color: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 18px 34px rgba(7, 31, 99, 0.28);
	outline: none;
}

.blog-page__cta-note {
	justify-self: center;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: rgba(7, 20, 54, 0.60);
	font-size: 13px;
	line-height: 1.25;
	white-space: nowrap;
}

.blog-page__cta-note-icon {
	display: block;
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	object-fit: contain;
	transform: translateY(1px);
}

.blog-page__pagination {
	margin: 8px 0 0;
}

.blog-page__pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 9px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.blog-page__pagination a,
.blog-page__pagination span {
	min-width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0 12px;
	color: var(--blog-blue);
	background: #ffffff;
	border: 1px solid rgba(7, 31, 99, 0.14);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.blog-page__pagination .prev,
.blog-page__pagination .next {
	min-width: auto;
	border-color: transparent;
	background: transparent;
}

.blog-page__pagination .current {
	color: #ffffff;
	background: linear-gradient(135deg, var(--blog-blue), var(--blog-blue-dark));
	border-color: transparent;
	box-shadow: 0 10px 18px rgba(7, 31, 99, 0.16);
}

.blog-page__pagination a:hover {
	color: var(--blog-cyan);
	border-color: rgba(11, 150, 198, 0.28);
}

.blog-page__empty {
	padding: 48px 24px;
	text-align: center;
	background: #ffffff;
	border: 1px solid var(--blog-line);
	border-radius: 16px;
	box-shadow: 0 12px 28px rgba(7, 31, 99, 0.06);
}

.blog-page__empty h2 {
	margin: 0;
	font-size: 28px;
	line-height: 1.2;
}

.blog-page__empty p {
	margin: 12px 0 0;
	color: var(--blog-muted);
	font-size: 16px;
	line-height: 1.5;
}

.blog-page__empty-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-top: 20px;
	padding: 0 20px;
	color: #ffffff;
	background: linear-gradient(135deg, var(--blog-blue), var(--blog-blue-dark));
	border-radius: 9px;
	font-size: 15px;
	font-weight: 750;
	line-height: 1;
	text-decoration: none;
}

.blog-page__empty-link:hover,
.blog-page__empty-link:focus-visible {
	color: #ffffff;
	transform: translateY(-1px);
	outline: none;
}

@media (max-width: 1024px) {
	.blog-page__hero-grid {
		grid-template-columns: 1fr;
	}

	.blog-page__hero-art {
		display: none;
	}

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

	.blog-page__cta {
		grid-template-columns: minmax(0, 1fr);
		gap: 18px;
	}

	.blog-page__cta-art {
		display: none;
	}
}

@media (max-width: 680px) {
	.blog-page__container {
		width: min(100% - 28px, 1180px);
	}

	.blog-page__hero {
		padding-top: 20px;
	}

	.blog-page__breadcrumbs {
		margin-bottom: 24px;
	}

	.blog-page__lead {
		margin-top: 18px;
	}

	.blog-page__sublead {
		gap: 8px;
		font-size: 10px;
		letter-spacing: 0.07em;
	}

	.blog-page__sublead::before,
	.blog-page__sublead::after {
		flex-basis: 22px;
	}

	.blog-page__sublead span {
		white-space: normal;
	}

	.blog-page__sublead {
		font-size: 15px;
	}

	.blog-page__search {
		margin-top: 24px;
	}

	.blog-page__search-shell {
		grid-template-columns: 24px minmax(0, 1fr);
		gap: 8px;
		padding: 8px;
	}

	.blog-page__search-input {
		min-height: 42px;
		font-size: 15px;
	}

	.blog-page__search-clear,
	.blog-page__search-button {
		grid-column: 1 / -1;
		width: 100%;
		min-height: 42px;
	}

	.blog-page__filters {
		gap: 8px;
		margin-top: 18px;
	}

	.blog-page__filter {
		min-height: 40px;
		padding: 10px 13px;
		font-size: 13px;
		border-radius: 7px;
	}

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

	.blog-card {
		height: 545px;
		border-radius: 13px;
	}

	.blog-card__image {
		height: 178px;
	}

	.blog-card__body {
		padding: 16px;
	}

	.blog-card__title {
		font-size: 18px;
	}

	.blog-card__meta {
		flex-wrap: wrap;
	}

	.blog-card__read {
		width: 100%;
		margin-left: 0;
		padding-top: 4px;
	}

	.blog-page__cta {
		margin-top: 20px;
		padding: 20px;
		border-radius: 13px;
	}

	.blog-page__cta-button {
		width: 100%;
		min-width: 0;
	}

	.blog-page__cta-form {
		gap: 9px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-card,
	.blog-page__filter,
	.blog-page__cta-button,
	.blog-page__load-more,
	.blog-page__search-button,
	.blog-page__posts-stage.is-ready {
		transition: none;
	}

	.blog-card:hover,
	.blog-page__cta-button:hover,
	.blog-page__load-more:hover,
	.blog-page__search-button:hover {
		transform: none;
	}
}

/* Search result note: shown when an article is found only by matching tags. */
.blog-card__search-note {
	display: inline-flex;
	align-items: center;
	width: fit-content;
	max-width: 100%;
	margin: -3px 0 12px;
	padding: 5px 9px;
	color: rgba(7, 31, 99, 0.62);
	background: rgba(47, 128, 237, 0.075);
	border: 1px solid rgba(47, 128, 237, 0.10);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.2;
}

/* Keep article-card title readable when the search-by-tag note appears.
   The card height stays fixed; the excerpt becomes the flexible part. */
.blog-card__body {
	display: grid;
	grid-template-rows: auto auto auto minmax(0, 1fr) auto;
	align-content: stretch;
}

.blog-card__categories {
	margin-bottom: 10px;
}

.blog-card__search-note {
	margin: -1px 0 10px;
}

.blog-card__title {
	-webkit-line-clamp: 4;
}

.blog-card__excerpt {
	min-height: 0;
	max-height: 100%;
	margin-top: 12px;
}

.blog-card__meta {
	margin-top: 0;
	padding-top: 18px;
}

@media (max-width: 768px) {
	.blog-card__title {
		-webkit-line-clamp: 4;
	}
}
