/*
Single blog post template.
Path: blog/single.css
Version: v4.8 — natural sticky sidebar + hover wheel control
*/

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

.blog-single {
	--single-blue: #064ea8;
	--single-blue-dark: #071f63;
	--single-cyan: #0b96c6;
	--single-graphite: #151b2a;
	--single-text: #071436;
	--single-muted: rgba(21, 27, 42, 0.68);
	--single-line: rgba(7, 31, 99, 0.14);
	--single-line-strong: rgba(7, 31, 99, 0.21);
	--single-soft: #f3f9ff;
	--single-card: #ffffff;

	min-height: 100vh;
	padding: 22px 0 58px;
	color: var(--single-text);
	font-family: Georgia, "Times New Roman", serif;
	background:
		radial-gradient(circle at 6% 0%, rgba(11, 150, 198, 0.08) 0, rgba(11, 150, 198, 0) 30%),
		linear-gradient(180deg, #f7fbff 0%, #ffffff 46%, #ffffff 100%);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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


.blog-single .site-breadcrumbs {
	margin: 0 0 24px;
	padding: 10px 0;
	background: transparent;
}

.blog-single .site-breadcrumbs__inner {
	display: flex;
	align-items: center;
	gap: 9px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	color: rgba(7, 20, 54, 0.58);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.35;
	white-space: nowrap;
	overflow: hidden;
}

.blog-single .site-breadcrumbs__link,
.blog-single .site-breadcrumbs__separator {
	flex: 0 0 auto;
}

.blog-single .site-breadcrumbs__link {
	color: rgba(6, 78, 168, 0.76);
	text-decoration: none;
}

.blog-single .site-breadcrumbs__link:hover {
	color: var(--single-blue);
}

.blog-single .site-breadcrumbs__separator {
	color: rgba(7, 20, 54, 0.36);
}

.blog-single .site-breadcrumbs__current {
	min-width: 0;
	color: rgba(7, 20, 54, 0.62);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


.blog-single__layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 340px;
	gap: 28px;
	align-items: start;
}

.blog-single__article {
	min-width: 0;
}

.blog-single__hero {
	position: relative;
	/*
	 * The Hero must be able to grow with its text. A fixed 2400 / 900 box
	 * clipped the upper meta pills when browser zoom or font metrics caused
	 * the heading to take one more line.
	 */
	min-height: 480px;
	height: auto;
	aspect-ratio: auto;
	display: flex;
	align-items: flex-end;
	padding: clamp(34px, 4.2vw, 58px) clamp(28px, 3.2vw, 42px) clamp(32px, 4vw, 56px);
	background:
		radial-gradient(circle at 10% 18%, rgba(11, 150, 198, 0.24), rgba(11, 150, 198, 0) 36%),
		linear-gradient(135deg, #082b75 0%, #071f63 100%);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 18px 38px rgba(7, 31, 99, 0.12);
}

/* The cover fills the content-driven Hero without affecting its height. */
.blog-single__hero-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	filter: saturate(0.92);
}

.blog-single__hero-overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(7, 31, 99, 0.78) 0%, rgba(7, 31, 99, 0.48) 45%, rgba(7, 31, 99, 0.04) 100%),
		linear-gradient(0deg, rgba(7, 20, 54, 0.18), rgba(7, 20, 54, 0.02));
}

.blog-single__hero-content {
	position: relative;
	z-index: 1;
	width: min(100%, 760px);
}

.blog-single__meta-pills {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin: 0 0 30px;
}

.blog-single__pill {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	min-height: 42px;
	padding: 10px 15px;
	color: rgba(255, 255, 255, 0.92);
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.20);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
	backdrop-filter: blur(10px);
}

.blog-single__pill:hover {
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.35);
	background: rgba(255, 255, 255, 0.12);
}

.blog-single__pill-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: currentColor;
}

.blog-single__title {
	max-width: 780px;
	margin: 0;
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 3.15vw, 44px);
	font-weight: 700;
	line-height: 1.14;
	letter-spacing: -0.036em;
}

.blog-single__lead {
	display: -webkit-box;
	max-width: 690px;
	margin: 22px 0 0;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.90);
	font-size: clamp(15px, 1.08vw, 17px);
	font-weight: 400;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.blog-single__content-card {
	padding: 46px 42px 42px;
	background: var(--single-card);
	border-radius: 0 0 12px 12px;
	box-shadow: 0 18px 42px rgba(7, 31, 99, 0.07);
}

.blog-single__content {
	color: var(--single-text);
	font-size: clamp(16px, 1.12vw, 18px);
	font-weight: 400;
	line-height: 1.72;
}

.blog-single__content > *:first-child {
	margin-top: 0;
}

.blog-single__content > *:last-child {
	margin-bottom: 0;
}

.blog-single__content p {
	margin: 0 0 24px;
}

.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
	color: var(--single-text);
	font-family: Georgia, "Times New Roman", serif;
	font-weight: 700;
	letter-spacing: -0.025em;
}

.blog-single__content h2 {
	margin: 42px 0 18px;
	font-size: clamp(26px, 2vw, 32px);
	line-height: 1.2;
}

.blog-single__content h3 {
	margin: 34px 0 16px;
	font-size: clamp(22px, 1.65vw, 26px);
	line-height: 1.24;
}

.blog-single__content h4 {
	margin: 28px 0 14px;
	font-size: 20px;
	line-height: 1.3;
}


.blog-single__content h2,
.blog-single__content h3,
.blog-single__content h4 {
	scroll-margin-top: 34px;
}

.blog-single__toc {
	width: 100%;
	margin: 16px 0 0;
	padding: 22px 24px 24px;
	text-align: center;
	background:
		radial-gradient(circle at 8% 0%, rgba(11, 150, 198, 0.06), rgba(11, 150, 198, 0) 34%),
		#ffffff;
	border: 1px solid rgba(7, 31, 99, 0.11);
	border-radius: 12px;
	box-shadow: 0 16px 34px rgba(7, 31, 99, 0.06);
}

.blog-single__toc-header {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
}

.blog-single__toc-title {
	display: block;
	width: 100%;
	margin: 0;
	text-align: center;
	color: var(--single-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(22px, 1.7vw, 28px);
	font-weight: 700;
	line-height: 1.18;
	letter-spacing: -0.024em;
}

.blog-single__toc-main-toggle {
	display: none;
}

.blog-single__toc-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	width: 80%;
	max-width: none;
	margin: 18px auto 0;
	padding: 0;
	list-style: none;
}

.blog-single__toc-item {
	min-width: 0;
	margin: 0;
	padding: 0;
}

.blog-single__toc-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	text-align: left;
	gap: 10px;
	min-height: 44px;
	padding: 10px 12px;
	background: rgba(243, 249, 255, 0.62);
	border: 1px solid rgba(7, 31, 99, 0.08);
	border-radius: 10px;
}

.blog-single__toc-link,
.blog-single__toc-sublink {
	position: relative;
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
	max-width: 100%;
	color: rgba(7, 20, 54, 0.80);
	font-size: 15.5px;
	font-weight: 650;
	line-height: 1.35;
	text-decoration: none;
}

.blog-single__toc-link {
	min-width: 0;
}

.blog-single__toc-link::before,
.blog-single__toc-sublink::before {
	content: "";
	flex: 0 0 6px;
	width: 6px;
	height: 6px;
	margin-top: 8px;
	border-radius: 999px;
	background: rgba(47, 128, 237, 0.72);
}

.blog-single__toc-link--static {
	cursor: default;
}

.blog-single__toc-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 25px;
	padding: 4px 8px;
	color: rgba(6, 78, 168, 0.78);
	background: rgba(255, 255, 255, 0.82);
	border: 1px solid rgba(47, 128, 237, 0.14);
	border-radius: 999px;
	font-family: inherit;
	font-size: 12px;
	font-weight: 650;
	line-height: 1;
	cursor: pointer;
}

.blog-single__toc-toggle-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	color: rgba(7, 31, 99, 0.62);
	background: rgba(238, 245, 255, 0.94);
	border-radius: 999px;
	font-size: 11px;
	font-weight: 760;
}

.blog-single__toc-toggle-icon,
.blog-single__toc-main-toggle-icon {
	display: inline-block;
	font-size: 14px;
	line-height: 1;
	transition: transform 0.16s ease;
}

.blog-single__toc-toggle[aria-expanded="true"] .blog-single__toc-toggle-icon,
.blog-single__toc-main-toggle[aria-expanded="true"] .blog-single__toc-main-toggle-icon {
	transform: rotate(180deg);
}

.blog-single__toc-sublist {
	display: grid;
	gap: 8px;
	margin: 9px 0 0;
	padding: 0 0 0 18px;
	list-style: none;
}

.blog-single__toc-sublist[hidden] {
	display: none;
}

.blog-single__toc-subitem {
	margin: 0;
	padding: 0;
}

.blog-single__toc-subitem--h4 {
	padding-left: 14px;
}

.blog-single__toc-sublink {
	color: rgba(7, 20, 54, 0.66);
	font-size: 14.5px;
	font-weight: 540;
	line-height: 1.38;
}

.blog-single__toc-link:hover,
.blog-single__toc-link:focus-visible,
.blog-single__toc-sublink:hover,
.blog-single__toc-sublink:focus-visible {
	color: var(--single-blue);
	text-decoration: none;
	outline: none;
}

.blog-single__toc-toggle:hover,
.blog-single__toc-toggle:focus-visible {
	color: var(--single-blue);
	background: #ffffff;
	border-color: rgba(47, 128, 237, 0.26);
	outline: none;
}

.blog-single__toc-link:hover::before,
.blog-single__toc-link:focus-visible::before,
.blog-single__toc-sublink:hover::before,
.blog-single__toc-sublink:focus-visible::before {
	background: var(--single-blue);
}

.blog-single__content a {
	color: var(--single-blue);
	font-weight: 650;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

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

.blog-single__content ul,
.blog-single__content ol {
	margin: 0 0 25px;
	padding-left: 25px;
}

.blog-single__content li {
	margin: 9px 0;
	padding-left: 2px;
}

.blog-single__content li::marker {
	color: #2f80ed;
	font-weight: 800;
}

.blog-single__content blockquote,
.blog-single__content .wp-block-quote {
	position: relative;
	margin: 30px 0;
	padding: 26px 30px 26px 74px;
	color: rgba(7, 20, 54, 0.84);
	background:
		radial-gradient(circle at 10% 20%, rgba(11, 150, 198, 0.10), rgba(11, 150, 198, 0) 32%),
		linear-gradient(135deg, #f2f8ff, #ffffff);
	border: 1px solid rgba(7, 31, 99, 0.08);
	border-left: 0;
	border-radius: 12px;
	box-shadow: 0 12px 28px rgba(7, 31, 99, 0.05);
}

.blog-single__content blockquote::before,
.blog-single__content .wp-block-quote::before {
	content: "“";
	position: absolute;
	left: 28px;
	top: 18px;
	color: #2f80ed;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 54px;
	font-weight: 700;
	line-height: 1;
}

.blog-single__content blockquote p,
.blog-single__content .wp-block-quote p {
	margin: 0;
}

.blog-single__content .wp-block-pullquote {
	margin: 30px 0;
	padding: 0;
	border: 0;
}

.blog-single__content .wp-block-group,
.blog-single__content .wp-block-media-text,
.blog-single__content .wp-block-columns {
	margin: 30px 0;
}

.blog-single__content .wp-block-group.has-background {
	padding: 24px 28px;
	border-radius: 12px;
}

.blog-single__content .wp-block-table {
	margin: 28px 0;
	overflow-x: auto;
}

.blog-single__content table {
	width: 100%;
	border-collapse: collapse;
	font-size: 15px;
	line-height: 1.45;
}

.blog-single__content th,
.blog-single__content td {
	padding: 13px 14px;
	border: 1px solid rgba(7, 31, 99, 0.12);
	vertical-align: top;
}

.blog-single__content th {
	color: var(--single-blue-dark);
	background: rgba(11, 150, 198, 0.06);
	font-weight: 750;
}

.blog-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.blog-single__footer {
	margin: 34px 0 0;
	padding-top: 28px;
	border-top: 1px solid rgba(7, 31, 99, 0.12);
}

.blog-single__tags,
.blog-single__share {
	display: flex;
	align-items: center;
	gap: 18px;
	margin: 0 0 24px;
}

.blog-single__tags-label,
.blog-single__share-label {
	flex: 0 0 auto;
	color: var(--single-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.2;
}

.blog-single__tags-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.blog-single__tags-list a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 37px;
	padding: 9px 18px;
	color: #226de5;
	background: #eef5ff;
	border: 1px solid rgba(47, 128, 237, 0.08);
	border-radius: 10px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.1;
	text-decoration: none;
}

.blog-single__tags-list a:hover {
	color: #ffffff;
	background: linear-gradient(135deg, var(--single-blue), var(--single-blue-dark));
}

.blog-single__share-list {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.blog-single__share-link {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	color: #2f80ed;
	background: #eef5ff;
	border: 1px solid rgba(47, 128, 237, 0.10);
	border-radius: 999px;
	font-family: inherit;
	font-size: 11px;
	font-weight: 850;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(7, 31, 99, 0.04);
	transition:
		color 0.16s ease,
		background 0.16s ease,
		border-color 0.16s ease,
		transform 0.16s ease,
		box-shadow 0.16s ease;
}

.blog-single__share-icon {
	display: block;
	width: 24px;
	height: 24px;
	object-fit: contain;
	pointer-events: none;
}

.blog-single__share-icon--twitter {
	width: 22px;
	height: 22px;
}

.blog-single__share-link--instagram {
	color: #c13584;
	background: #fff2f8;
	border-color: rgba(193, 53, 132, 0.14);
}

.blog-single__share-link--twitter {
	color: #111827;
	background: #f3f5f8;
	border-color: rgba(17, 24, 39, 0.10);
}

.blog-single__share-link--whatsapp {
	color: #128c7e;
	background: #effcf5;
	border-color: rgba(18, 140, 126, 0.14);
}

.blog-single__share-link--telegram {
	color: #229ed9;
	background: #eef8ff;
	border-color: rgba(34, 158, 217, 0.14);
}

.blog-single__share-link--max {
	color: #4f46e5;
	background: #f3f2ff;
	border-color: rgba(79, 70, 229, 0.14);
}

.blog-single__share-link--vk {
	color: #0077ff;
	background: #eef6ff;
	border-color: rgba(0, 119, 255, 0.14);
}

.blog-single__share-link--copy {
	color: #2f80ed;
	background: #eef5ff;
	border-color: rgba(47, 128, 237, 0.12);
}

.blog-single__share-link:hover,
.blog-single__share-link:focus-visible,
.blog-single__share-link.is-copied {
	color: #ffffff;
	background: #2f80ed;
	border-color: #2f80ed;
	box-shadow: 0 12px 24px rgba(47, 128, 237, 0.18);
	transform: translateY(-1px);
	outline: none;
}

.blog-single__share-link:not(.blog-single__share-link--copy):hover,
.blog-single__share-link:not(.blog-single__share-link--copy):focus-visible {
	background: #ffffff;
	border-color: rgba(47, 128, 237, 0.22);
}

.blog-single__sidebar {
	--blog-sidebar-height: 100vh;

	display: grid;
	gap: 28px;
	position: sticky;
	align-self: start;
	/*
	 * A short sidebar stays 24px below the top edge. A sidebar taller than
	 * the viewport scrolls naturally with the article until its bottom edge
	 * reaches 24px above the bottom of the viewport, then it stays there.
	 * JavaScript supplies its height and an optional manual top position while
	 * the user wheels directly over the sidebar.
	 */
	top: var(
		--blog-sidebar-manual-top,
		min(24px, calc(100vh - var(--blog-sidebar-height) - 24px))
	);
	top: var(
		--blog-sidebar-manual-top,
		min(24px, calc(100dvh - var(--blog-sidebar-height) - 24px))
	);
	max-height: none;
	overflow: visible;
}

.blog-single-sidebar-card {
	padding: 28px;
	background: rgba(255, 255, 255, 0.94);
	border: 1px solid rgba(7, 31, 99, 0.08);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(7, 31, 99, 0.07);
}

.blog-single-sidebar-card__title {
	display: block;
	margin: 0 0 24px;
	color: var(--single-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.022em;
}

.blog-single-author,
.blog-single-categories {
	background:
		radial-gradient(circle at 14% 14%, rgba(47, 128, 237, 0.12) 0, rgba(47, 128, 237, 0) 32%),
		linear-gradient(180deg, rgba(241, 248, 255, 0.98) 0%, rgba(250, 253, 255, 0.98) 100%);
	border-color: rgba(11, 150, 198, 0.14);
	box-shadow: 0 18px 40px rgba(7, 31, 99, 0.06);
}

.blog-single-sidebar-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 6px;
	color: rgba(11, 104, 216, 0.78);
	font-size: 15px;
	font-weight: 650;
	line-height: 1.2;
	text-decoration: none;
}

.blog-single-sidebar-card__more:hover {
	color: #0b68d8;
}

.blog-single-author__avatar {
	width: 185px;
	height: 185px;
	margin: 0 0 22px;
	border-radius: 999px;
	overflow: hidden;
	background: #dfe7f2;
}

.blog-single-author__avatar-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center center;
}

.blog-single-author__avatar-crop {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	background-color: #dfe7f2;
	overflow: hidden;
}

.blog-single-author__avatar-crop-stage {
	position: absolute;
	left: var(--serg-author-crop-left, -10.6061%);
	top: var(--serg-author-crop-top, 3.9394%);
	width: 121.212%;
	height: 121.212%;
	background-image: var(--serg-author-crop-image);
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

.blog-single-author__name {
	margin: 0;
	color: var(--single-text);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.2;
}

.blog-single-author__role {
	margin: 7px 0 0;
	color: rgba(21, 27, 42, 0.64);
	font-size: 15px;
	line-height: 1.35;
}

.blog-single-author__text {
	margin: 22px 0 20px;
	color: rgba(21, 27, 42, 0.68);
	font-size: 15px;
	line-height: 1.7;
}

.blog-single-categories__list {
	display: grid;
	gap: 15px;
	margin: 0 0 18px;
	padding: 0;
	list-style: none;
}

.blog-single-categories__list a {
	display: grid;
	grid-template-columns: 24px minmax(0, 1fr) auto;
	gap: 13px;
	align-items: center;
	color: var(--single-text);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.blog-single-categories__list a:hover {
	color: #0b68d8;
}

.blog-single-categories__icon {
	display: inline-block;
	width: 18px;
	height: 18px;
	color: #2f80ed;
	background-color: currentColor;
	-webkit-mask-image: url("../assets/images/icons/clients-moscow/tab-briefcase.svg");
	mask-image: url("../assets/images/icons/clients-moscow/tab-briefcase.svg");
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.blog-single-categories__name {
	min-width: 0;
}

.blog-single-categories__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 31px;
	height: 28px;
	padding: 0 9px;
	color: rgba(7, 31, 99, 0.58);
	background: #eef3fb;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
}

.blog-single-recent__list {
	display: grid;
	gap: 18px;
	margin: 0 0 22px;
}

.blog-single-recent__item {
	display: grid;
	grid-template-columns: 88px minmax(0, 1fr);
	gap: 14px;
	align-items: start;
	color: var(--single-text);
	text-decoration: none;
}

.blog-single-recent__item:hover .blog-single-recent__title {
	color: #0b68d8;
}

.blog-single-recent__thumb {
	display: block;
	width: 88px;
	height: 76px;
	border-radius: 8px;
	overflow: hidden;
	background: #eef3fb;
}

.blog-single-recent__image,
.blog-single-recent__placeholder {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-single-recent__placeholder {
	display: grid;
	place-items: center;
	color: rgba(7, 31, 99, 0.66);
	font-size: 16px;
	font-weight: 850;
	letter-spacing: 0.08em;
}

.blog-single-recent__body {
	display: block;
	min-width: 0;
}

.blog-single-recent__title {
	display: block;
	color: var(--single-text);
	font-size: 14px;
	font-weight: 780;
	line-height: 1.42;
	transition: color 0.16s ease;
}

.blog-single-recent__date {
	display: block;
	margin-top: 7px;
	color: rgba(21, 27, 42, 0.50);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.2;
}

.blog-single-sidebar-cta {
	position: relative;
	isolation: isolate;
	padding: 30px 22px 24px;
	color: #ffffff;
	background:
		radial-gradient(circle at 14% 7%, rgba(45, 132, 235, 0.42), transparent 34%),
		radial-gradient(circle at 94% 30%, rgba(21, 116, 211, 0.26), transparent 38%),
		linear-gradient(155deg, #0b56a8 0%, #06458f 46%, #052c6b 100%);
	border: 1px solid rgba(231, 190, 105, 0.24);
	border-radius: 16px;
	box-shadow:
		0 24px 52px rgba(5, 32, 86, 0.28),
		0 1px 0 rgba(255, 255, 255, 0.10) inset;
	overflow: hidden;
}

.blog-single-sidebar-cta::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -74px;
	top: -72px;
	width: 210px;
	height: 210px;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 50%;
	box-shadow:
		0 0 0 24px rgba(255, 255, 255, 0.025),
		0 0 0 52px rgba(255, 255, 255, 0.018);
	pointer-events: none;
}

.blog-single-sidebar-cta::after {
	content: "";
	position: absolute;
	z-index: -1;
	right: -40px;
	bottom: 78px;
	width: 170px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(231, 190, 105, 0.46));
	transform: rotate(-8deg);
	pointer-events: none;
}

.blog-single-sidebar-cta__eyebrow {
	display: inline-flex;
	align-items: center;
	min-height: 30px;
	margin: 0 0 24px;
	padding: 7px 12px;
	color: #fffaf0;
	background: linear-gradient(135deg, #e1b95f 0%, #c89435 44%, #b47a1f 100%);
	border: 1px solid rgba(255, 244, 214, 0.30);
	border-radius: 7px;
	box-shadow:
		0 10px 22px rgba(4, 28, 76, 0.20),
		0 1px 0 rgba(255, 248, 229, 0.34) inset,
		0 -1px 0 rgba(137, 90, 16, 0.22) inset;
	font-size: 10px;
	font-weight: 800;
	line-height: 1;
	letter-spacing: 0.035em;
	text-transform: uppercase;
}

.blog-single-sidebar-cta__title {
	display: block;
	max-width: 270px;
	margin: 0;
	color: #ffffff;
	font-size: clamp(26px, 2.25vw, 31px);
	font-weight: 800;
	line-height: 1.12;
	letter-spacing: -0.035em;
	text-wrap: balance;
}

.blog-single-sidebar-cta__text {
	max-width: 275px;
	margin: 20px 0 22px;
	color: rgba(255, 255, 255, 0.87);
	font-size: 15px;
	font-weight: 400;
	line-height: 1.65;
}

.blog-single-sidebar-cta__benefits {
	display: grid;
	gap: 0;
	margin: 0 0 24px;
	padding: 0;
	list-style: none;
	border: 1px solid rgba(255, 255, 255, 0.13);
	border-radius: 12px;
	overflow: hidden;
	background: rgba(2, 32, 87, 0.16);
	box-shadow: 0 12px 28px rgba(2, 23, 66, 0.12);
}

.blog-single-sidebar-cta__benefit {
	position: relative;
	display: grid;
	grid-template-columns: 26px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	min-height: 54px;
	margin: 0;
	padding: 12px 14px;
	color: rgba(255, 255, 255, 0.94);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.32;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
}

.blog-single-sidebar-cta__benefit + .blog-single-sidebar-cta__benefit {
	border-top: 1px solid rgba(255, 255, 255, 0.11);
}

.blog-single-sidebar-cta__benefit::after {
	content: "";
	position: absolute;
	right: 0;
	top: 50%;
	width: 42px;
	height: 1px;
	background: linear-gradient(90deg, transparent, rgba(231, 190, 105, 0.48));
}

.blog-single-sidebar-cta__benefit-icon,
.blog-single-sidebar-cta__security-icon {
	display: inline-block;
	flex: 0 0 auto;
	background-color: #e7bd69;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: contain;
	mask-size: contain;
}

.blog-single-sidebar-cta__benefit-icon {
	width: 24px;
	height: 24px;
}

.blog-single-sidebar-cta__benefit-icon--person {
	/*
	 * single.css лежит в /blog/, поэтому путь к папке темы
	 * указывается относительно CSS-файла: ../assets/images/icons/CTA_article/
	 */
	-webkit-mask-image: url("../assets/images/icons/CTA_article/tab-person-gold.svg");
	mask-image: url("../assets/images/icons/CTA_article/tab-person-gold.svg");
}

.blog-single-sidebar-cta__benefit-icon--risk {
	-webkit-mask-image: url("../assets/images/icons/CTA_article/risk-gold.svg");
	mask-image: url("../assets/images/icons/CTA_article/risk-gold.svg");
}

.blog-single-sidebar-cta__benefit-icon--lock {
	-webkit-mask-image: url("../assets/images/icons/CTA_article/benefit-lock-gold.svg");
	mask-image: url("../assets/images/icons/CTA_article/benefit-lock-gold.svg");
}

.blog-single-sidebar-cta__button {
	width: 100%;
	min-height: 54px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 20px;
	color: #ffffff;
	background:
		linear-gradient(135deg, #e2bc67 0%, #c99637 42%, #b77c22 100%);
	border: 1px solid rgba(255, 244, 214, 0.24);
	border-radius: 12px;
	box-shadow:
		0 18px 34px rgba(2, 26, 72, 0.28),
		0 1px 0 rgba(255, 248, 229, 0.34) inset,
		0 -1px 0 rgba(139, 92, 16, 0.22) inset;
	font-size: 15px;
	font-weight: 800;
	line-height: 1.1;
	text-decoration: none;
	text-shadow: 0 1px 1px rgba(93, 61, 9, 0.20);
	transition:
		transform 0.18s ease,
		box-shadow 0.18s ease,
		filter 0.18s ease;
}

.blog-single-sidebar-cta__button:hover,
.blog-single-sidebar-cta__button:focus-visible {
	color: #ffffff;
	filter: brightness(1.03);
	transform: translateY(-2px);
	box-shadow:
		0 22px 40px rgba(2, 26, 72, 0.34),
		0 1px 0 rgba(255, 248, 229, 0.38) inset,
		0 -1px 0 rgba(139, 92, 16, 0.24) inset;
	outline: none;
}

.blog-single-sidebar-cta__button-arrow {
	font-size: 20px;
	font-weight: 500;
	line-height: 1;
	transition: transform 0.18s ease;
}

.blog-single-sidebar-cta__button:hover .blog-single-sidebar-cta__button-arrow,
.blog-single-sidebar-cta__button:focus-visible .blog-single-sidebar-cta__button-arrow {
	transform: translateX(3px);
}

.blog-single-sidebar-cta__security {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 17px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.blog-single-sidebar-cta__security-icon {
	width: 15px;
	height: 15px;
	-webkit-mask-image: url("../assets/images/icons/CTA_article/audit-gold.svg");
	mask-image: url("../assets/images/icons/CTA_article/audit-gold.svg");
}

@media (max-width: 920px) {
	.blog-single-sidebar-cta {
		max-width: 620px;
		padding: 32px;
	}

	.blog-single-sidebar-cta__title,
	.blog-single-sidebar-cta__text {
		max-width: 430px;
	}
}

@media (max-width: 680px) {
	.blog-single-sidebar-cta {
		padding: 26px 20px 22px;
		border-radius: 14px;
	}

	.blog-single-sidebar-cta__eyebrow {
		margin-bottom: 21px;
	}

	.blog-single-sidebar-cta__title {
		font-size: 28px;
	}

	.blog-single-sidebar-cta__text {
		margin-top: 17px;
	}

	.blog-single-sidebar-cta__benefit {
		min-height: 52px;
		padding: 11px 13px;
		font-size: 13.5px;
	}
}

@media (max-width: 1100px) {
	.blog-single__layout {
		grid-template-columns: minmax(0, 1fr) 300px;
		gap: 22px;
	}

	.blog-single-sidebar-card {
		padding: 24px;
	}
}

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

	.blog-single__sidebar {
		position: static;
		top: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-height: none;
		overflow: visible;
		padding-right: 0;
		margin-right: 0;
	}

	.blog-single-sidebar-cta {
		grid-column: 1 / -1;
	}
}

@media (max-width: 680px) {
	.blog-single {
		padding: 22px 0 42px;
	}

	.blog-single__container {
		width: min(100% - 28px, 1200px);
	}

	.blog-single__hero {
		/*
		 * On mobile the hero content can be taller than 390px.
		 * A vertical flex layout lets the block grow with the title and lead,
		 * while keeping the content aligned to the bottom.
		 */
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: stretch;
		min-height: 390px;
		height: auto;
		aspect-ratio: auto;
		padding: clamp(34px, 8vw, 44px) 22px 34px;
		border-radius: 12px;
	}

	.blog-single__hero-content {
		width: 100%;
		max-width: 100%;
	}

	.blog-single__hero-overlay {
		background:
			linear-gradient(90deg, rgba(7, 31, 99, 0.82) 0%, rgba(7, 31, 99, 0.58) 100%),
			linear-gradient(0deg, rgba(7, 20, 54, 0.18), rgba(7, 20, 54, 0.02));
	}

	.blog-single__meta-pills {
		gap: 8px;
		margin-bottom: 22px;
	}

	.blog-single__pill {
		min-height: 38px;
		padding: 9px 11px;
		font-size: 12px;
		border-radius: 8px;
	}

	.blog-single__title {
		font-size: clamp(30px, 8vw, 38px);
		line-height: 1.16;
	}

	.blog-single__lead {
		margin-top: 18px;
		font-size: 15.5px;
		line-height: 1.62;
	}

	.blog-single__content-card {
		padding: 30px 22px 28px;
	}


	.blog-single__toc {
		width: 100%;
		margin-top: 14px;
		padding: 18px 18px 20px;
		border-radius: 12px;
	}

	.blog-single__toc-header {
		justify-content: space-between;
		text-align: left;
	}

	.blog-single__toc-title {
		width: auto;
		text-align: left;
	}

	.blog-single__toc-main-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		gap: 7px;
		min-height: 34px;
		padding: 7px 11px;
		color: rgba(6, 78, 168, 0.82);
		background: rgba(238, 245, 255, 0.86);
		border: 1px solid rgba(47, 128, 237, 0.14);
		border-radius: 999px;
		font-family: inherit;
		font-size: 13px;
		font-weight: 700;
		line-height: 1;
		cursor: pointer;
	}

	.blog-single__toc-main-toggle:hover,
	.blog-single__toc-main-toggle:focus-visible {
		color: var(--single-blue);
		background: #ffffff;
		border-color: rgba(47, 128, 237, 0.26);
		outline: none;
	}

	.blog-single__toc-list {
		grid-template-columns: 1fr;
		gap: 8px;
		width: 100%;
		margin-top: 14px;
	}

	.blog-single__toc-list[hidden] {
		display: none;
	}

	.blog-single__toc-row {
		min-height: 42px;
		padding: 9px 10px;
	}

	.blog-single__toc-link,
	.blog-single__toc-sublink {
		font-size: 14.5px;
		line-height: 1.38;
	}

	.blog-single__toc-toggle {
		padding: 4px 7px;
		font-size: 0;
	}

	.blog-single__toc-toggle-count,
	.blog-single__toc-toggle-icon {
		font-size: 11px;
	}

	.blog-single__toc-sublist {
		padding-left: 12px;
	}

	.blog-single__toc-subitem--h4 {
		padding-left: 10px;
	}

	.blog-single__content {
		font-size: 15.5px;
		line-height: 1.64;
	}

	.blog-single__content h2 {
		margin-top: 34px;
	}

	.blog-single__content blockquote,
	.blog-single__content .wp-block-quote {
		padding: 23px 22px 23px 58px;
	}

	.blog-single__content blockquote::before,
	.blog-single__content .wp-block-quote::before {
		left: 20px;
		font-size: 44px;
	}

	.blog-single__tags,
	.blog-single__share {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

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

	.blog-single-sidebar-card {
		padding: 22px;
	}

	.blog-single-author__avatar {
		width: 170px;
		height: 170px;
	}

	.blog-single-recent__item {
		grid-template-columns: 82px minmax(0, 1fr);
	}

	.blog-single-recent__thumb {
		width: 82px;
		height: 70px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-single__share-link,
	.blog-single-sidebar-cta__button {
		transition: none;
	}

	.blog-single__share-link:hover,
	.blog-single-sidebar-cta__button:hover {
		transform: none;
	}
}

/* Breadcrumbs priority fix for single blog post */
.blog-single {
	padding-top: 16px !important;
}

.blog-single__breadcrumbs {
	width: 100% !important;
	margin: 0 0 18px !important;
	padding: 0 !important;
	background: transparent !important;
}

.blog-single__breadcrumbs .site-breadcrumbs {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
}

.blog-single__breadcrumbs .site-breadcrumbs__inner {
	display: flex !important;
	align-items: center !important;
	flex-wrap: nowrap !important;
	gap: 10px !important;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	color: rgba(7, 20, 54, 0.62) !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	white-space: nowrap !important;
	overflow: hidden !important;
}

.blog-single__breadcrumbs .site-breadcrumbs__link,
.blog-single__breadcrumbs .site-breadcrumbs__separator {
	flex: 0 0 auto !important;
}

.blog-single__breadcrumbs .site-breadcrumbs__link {
	color: rgba(6, 78, 168, 0.76) !important;
	font-size: 16px !important;
	text-decoration: none !important;
}

.blog-single__breadcrumbs .site-breadcrumbs__separator {
	color: rgba(7, 20, 54, 0.36) !important;
	font-size: 16px !important;
}

.blog-single__breadcrumbs .site-breadcrumbs__current {
	min-width: 0 !important;
	color: rgba(7, 20, 54, 0.66) !important;
	font-size: 16px !important;
	overflow: hidden !important;
	text-overflow: ellipsis !important;
	white-space: nowrap !important;
}

/* TOC compact spacing fix: keep the white TOC card wide, but tighten rows. */
.blog-single__content .blog-single__toc-list {
	gap: 6px;
	margin: 14px auto 0;
	padding: 0;
}

.blog-single__content .blog-single__toc-item,
.blog-single__content .blog-single__toc-subitem {
	margin: 0;
	padding: 0;
}

.blog-single__content .blog-single__toc-row {
	min-height: 38px;
	padding: 7px 12px;
}

.blog-single__content .blog-single__toc-sublist {
	gap: 6px;
	margin: 7px 0 0;
	padding: 0 0 0 16px;
}

.blog-single__content .blog-single__toc-subitem--h4 {
	padding-left: 12px;
}

@media (max-width: 680px) {
	.blog-single__content .blog-single__toc-list {
		margin-top: 12px;
	}

	.blog-single__content .blog-single__toc-row {
		padding: 7px 10px;
	}

	.blog-single__content .blog-single__toc-sublist {
		gap: 5px;
		margin-top: 6px;
		padding-left: 12px;
	}

	.blog-single__content .blog-single__toc-subitem--h4 {
		padding-left: 10px;
	}
}

/*
 * Mobile fixed-header and breadcrumb layout.
 * Keeps the article below the fixed header and lets breadcrumbs wrap
 * as one continuous text flow from the left edge.
 */
@media (max-width: 767px) {
	/*
	 * Высота фиксированной мобильной шапки уже компенсируется
	 * глобальным body { padding-top: 72px; } в header-mobile.css.
	 * Поэтому второй отступ 88–108px здесь не нужен.
	 */
	.blog-single {
		padding-top: 16px !important;
	}

	.blog-single__container {
		position: relative !important;
		z-index: 1 !important;
		margin-top: 0 !important;
	}

	.blog-single__breadcrumbs {
		display: block !important;
		visibility: visible !important;
		opacity: 1 !important;
		margin-bottom: 16px !important;
		overflow: visible !important;
	}

	.blog-single__breadcrumbs .site-breadcrumbs {
		overflow: visible !important;
	}

	.blog-single__breadcrumbs .site-breadcrumbs__inner {
		display: block !important;
		width: 100% !important;
		font-size: 14px !important;
		line-height: 1.55 !important;
		white-space: normal !important;
		overflow: visible !important;
	}

	.blog-single__breadcrumbs .site-breadcrumbs__link,
	.blog-single__breadcrumbs .site-breadcrumbs__separator,
	.blog-single__breadcrumbs .site-breadcrumbs__current {
		display: inline !important;
		flex: none !important;
		width: auto !important;
		min-width: 0 !important;
		font-size: 14px !important;
		line-height: inherit !important;
		white-space: normal !important;
		overflow: visible !important;
		text-overflow: clip !important;
		overflow-wrap: anywhere !important;
	}

	.blog-single__breadcrumbs .site-breadcrumbs__separator {
		margin: 0 6px !important;
	}
}