/*
Single blog post template.
Path: blog/single.css
Version: v4.5 — full TOC block with narrower inner list
*/

.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;
	min-height: 0;
	aspect-ratio: 2400 / 900;
	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 hero keeps the same 2400x900 ratio as article cover images.
   With object-fit: cover and the same ratio, the image is not vertically expanded
   or shown with blue empty bands on normal desktop widths. */
.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;
	max-width: 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 {
	display: grid;
	gap: 28px;
	position: sticky;
	top: 24px;
	max-height: calc(100vh - 48px);
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: auto;
	padding-right: 8px;
	margin-right: -8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(47, 128, 237, 0.28) transparent;
}

.blog-single__sidebar::-webkit-scrollbar {
	width: 6px;
}

.blog-single__sidebar::-webkit-scrollbar-track {
	background: transparent;
}

.blog-single__sidebar::-webkit-scrollbar-thumb {
	background: rgba(47, 128, 237, 0.22);
	border-radius: 999px;
}

.blog-single__sidebar:hover::-webkit-scrollbar-thumb {
	background: rgba(47, 128, 237, 0.34);
}

.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-flex;
	align-items: center;
	justify-content: center;
	color: #2f80ed;
}

.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 {
	padding: 30px 24px 26px;
	color: #ffffff;
	background:
		radial-gradient(circle at 18% 18%, rgba(47, 128, 237, 0.88), rgba(47, 128, 237, 0) 25%),
		linear-gradient(135deg, #0b4faa 0%, #071f63 100%);
	border-radius: 12px;
	box-shadow: 0 18px 40px rgba(7, 31, 99, 0.18);
	overflow: hidden;
}

.blog-single-sidebar-cta__icon {
	width: 68px;
	height: 68px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 18px;
	color: #ffffff;
	background: linear-gradient(135deg, #2f80ed, #0b96c6);
	border-radius: 999px;
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

.blog-single-sidebar-cta__title {
	display: block;
	max-width: 250px;
	color: #ffffff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.16;
	letter-spacing: -0.02em;
}

.blog-single-sidebar-cta__text {
	max-width: 260px;
	margin: 14px 0 22px;
	color: rgba(255, 255, 255, 0.88);
	font-size: 15px;
	line-height: 1.55;
}

.blog-single-sidebar-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 47px;
	padding: 13px 23px;
	color: #0a3b83;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0 14px 26px rgba(0, 0, 0, 0.12);
	font-size: 15px;
	font-weight: 780;
	line-height: 1.1;
	text-decoration: none;
	transition:
		transform 0.16s ease,
		box-shadow 0.16s ease;
}

.blog-single-sidebar-cta__button:hover,
.blog-single-sidebar-cta__button:focus-visible {
	color: #071f63;
	transform: translateY(-2px);
	box-shadow: 0 18px 30px rgba(0, 0, 0, 0.18);
	outline: none;
}

@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;
		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 {
		min-height: 390px;
		aspect-ratio: auto;
		padding: 34px 22px 34px;
		border-radius: 12px;
	}

	.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;
}

@media (max-width: 767px) {
	.blog-single {
		padding-top: 14px !important;
	}

	.blog-single__breadcrumbs {
		margin-bottom: 16px !important;
	}

	.blog-single__breadcrumbs .site-breadcrumbs__inner,
	.blog-single__breadcrumbs .site-breadcrumbs__link,
	.blog-single__breadcrumbs .site-breadcrumbs__separator,
	.blog-single__breadcrumbs .site-breadcrumbs__current {
		font-size: 14px !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 {
		gap: 6px;
		margin-top: 12px;
	}

	.blog-single__content .blog-single__toc-row {
		min-height: 38px;
		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;
	}
}
