.minga-single-post {
	--minga-single-header-offset: 50px;
	--minga-single-toc-min-height: 15vh;
	--minga-single-toc-max-height: calc(100vh - var(--minga-single-header-offset) - 5rem);
	background: #ffffff;
}

@media screen and (min-width: 601px) {
	.minga-single-post {
		--minga-single-header-offset: 85px;
	}
}

.minga-single-post .l-section.minga-single-post__hero {
	padding-top: calc(24px + var(--minga-single-header-offset));
	padding-bottom: 48px;
	background: #f3f5f8;
}

.minga-single-post__breadcrumbs {
	margin-bottom: 24px;
}

.minga-single-post__breadcrumbs_list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #718499;
	font-size: 13px;
	line-height: 1.4;
}

.minga-single-post__breadcrumbs_item:not(:last-child)::after {
	content: ">";
	margin-left: 8px;
	color: #a8b3c2;
}

.minga-single-post__breadcrumbs_item a {
	color: inherit;
	text-decoration: underline;
}

.minga-single-post__breadcrumbs_item span {
	color: inherit;
	text-decoration: none;
}

.minga-single-post__breadcrumbs_item a:hover {
	color: #003366;
	text-decoration: underline;
}

.minga-single-post__hero_layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	align-items: center;
}

.minga-single-post__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
	margin-bottom: 20px;
	color: #718499;
	font-size: 14px;
	line-height: 1.2;
}

.minga-single-post__meta_item,
.minga-single-post__related_meta_item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.minga-single-post__meta_author {
	color: #33485d;
	font-weight: 700;
	text-decoration: none;
}

.minga-single-post__meta_author:hover {
	color: #003366;
}

.minga-single-post__avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.minga-single-post__meta_icon {
	flex-shrink: 0;
	display: block;
}

.minga-single-post__title {
	margin: 0 0 20px;
	padding-top: 0;
	color: #003366;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 800;
	line-height: 1.15;
}

.minga-single-post__excerpt {
	margin-bottom: 24px;
	color: #5d6b7a;
	font-size: 18px;
	line-height: 1.6;
}

.minga-single-post__excerpt p {
	margin: 0;
}

.minga-single-post__tags_share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px;
}

.minga-single-post__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.minga-single-post__tag {
	display: inline-flex;
	align-items: center;
	padding: 8px 16px;
	border-radius: 999px;
	background: #e8edf2;
	color: #33485d;
	font-size: 13px;
	font-weight: 700;
	line-height: 1;
	text-decoration: none;
}

.minga-single-post__tag:hover {
	background: #dce4ec;
	color: #003366;
}

.minga-single-post__share {
	position: relative;
	z-index: 30;
}

.minga-single-post__share_btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #33485d;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.minga-single-post__share_btn:hover,
.minga-single-post__share_btn[aria-expanded="true"] {
	color: #003366;
}

.minga-single-post__share_icon {
	display: block;
}

.minga-single-post__share_popup {
	position: absolute;
	top: calc(100% + 10px);
	right: 0;
	z-index: 200;
	display: flex;
	flex-direction: column;
	min-width: 180px;
	padding: 8px;
	border: 1px solid rgba(51, 72, 93, 0.12);
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.minga-single-post__share_popup[hidden] {
	display: none !important;
}

.minga-single-post__share_popup.is-open {
	display: flex;
}

.minga-single-post__share_option {
	display: block;
	width: 100%;
	padding: 10px 12px;
	border: 0;
	border-radius: 8px;
	background: transparent;
	color: #33485d;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

.minga-single-post__share_option:hover {
	background: #f3f5f8;
	color: #003366;
}

.minga-single-post__hero_media {
	position: relative;
}

.minga-single-post__featured_image {
	overflow: hidden;
	border-radius: 16px;
}

.minga-single-post__featured_image img {
	display: block;
	width: 100%;
	height: auto;
	object-fit: cover;
}

.minga-single-post__video_trigger {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	text-decoration: none;
}

.minga-single-post__body {
	padding: 48px 0 72px;
	background: #ffffff;
}

.minga-single-post__layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.minga-single-post__tldr {
	margin-bottom: 40px;
	padding: 28px 28px 24px;
	border-radius: 16px;
	background: #f2f5f7;
}

.minga-single-post__tldr_title {
	margin: 0 0 18px;
	padding-top: 0;
	color: #003366;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.2;
}

.minga-single-post__tldr_list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.minga-single-post__tldr_item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	margin-bottom: 14px;
	color: #33485d;
	font-size: 16px;
	line-height: 1.5;
}

.minga-single-post__tldr_item:last-child {
	margin-bottom: 0;
}

.minga-single-post__tldr_icon {
	flex-shrink: 0;
	margin-top: 2px;
}

.minga-single-post__content {
	color: #33485d;
	font-size: 18px;
	line-height: 1.7;
}

.minga-single-post__content > :first-child {
	margin-top: 0;
}

.minga-single-post__content h2 {
	margin: 48px 0 20px;
	padding-top: 0;
	color: #003366;
	font-size: 28px;
	font-weight: 800;
	line-height: 1.25;
	scroll-margin-top: calc(var(--minga-single-header-offset) + 16px);
}

.minga-single-post__content h3 {
	margin: 32px 0 16px;
	padding-top: 0;
	color: #003366;
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

.minga-single-post__content p,
.minga-single-post__content ul,
.minga-single-post__content ol {
	margin-bottom: 20px;
}

.minga-single-post__content a {
	color: #4ba0cb;
	text-decoration: underline;
}

.minga-single-post__inline_cta {
	margin-top: 48px;
	padding-top: 40px;
	border-top: 1px solid #e8edf2;
}

.minga-single-post__inline_cta_title {
	margin: 0 0 16px;
	padding-top: 0;
	color: #003366;
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 800;
	line-height: 1.25;
}

.minga-single-post__inline_cta_content {
	margin-bottom: 28px;
	color: #5d6b7a;
	font-size: 18px;
	line-height: 1.6;
}

.minga-single-post__inline_cta_content > :first-child {
	margin-top: 0;
}

.minga-single-post__inline_cta_content > :last-child {
	margin-bottom: 0;
}

.minga-single-post__inline_cta_content a {
	color: inherit;
	text-decoration: underline;
}

.minga-single-post__inline_cta_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 16px 32px;
	border-radius: 999px;
	background: #003366;
	color: #ffffff!important;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none!important;
	transition: background-color 0.2s ease;
}

.minga-single-post__inline_cta_btn:hover {
	background: #002244;
	color: #ffffff;
}

.minga-single-post__sidebar {
	align-self: start;
}

.minga-single-post__toc {
	margin-bottom: 32px;
}

.minga-single-post__toc_nav {
	max-height: 50vh;
	overflow-y: auto;
	overscroll-behavior: contain;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: #c2ceda transparent;
}

.minga-single-post__toc_nav::-webkit-scrollbar {
	width: 6px;
}

.minga-single-post__toc_nav::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: #c2ceda;
}

.minga-single-post__toc_title {
	margin: 0 0 18px;
	padding-top: 0;
	color: #33485d;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.minga-single-post__toc_list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.minga-single-post__toc_item {
	border-top: 1px solid #e8edf2;
}

.minga-single-post__toc_item:last-child {
	border-bottom: 1px solid #e8edf2;
}

.minga-single-post__toc_link {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	padding: 16px 0;
	color: #718499;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.2s ease;
}

.minga-single-post__toc_link:hover,
.minga-single-post__toc_link.is-active {
	color: #003366;
}

.minga-single-post__toc_icon {
	flex-shrink: 0;
	margin-top: 6px;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.minga-single-post__toc_icon_svg {
	display: block;
}

.minga-single-post__toc_link.is-active .minga-single-post__toc_icon {
	opacity: 1;
}

.minga-single-post__sidebar_widgets > .widget + .widget {
	margin-top: 24px;
}

.minga-single-post__widget_title {
	margin: 0 0 12px;
	padding-top: 0;
	color: #33485d;
	font-size: 16px;
	font-weight: 800;
}

.minga-single-post__related {
	padding: 56px 0 80px;
	background: #ffffff;
}

.minga-single-post__related_title {
	margin: 0 0 32px;
	padding: 0 0 20px;
	padding-top: 0;
	border-bottom: 1px solid #718499;
	color: #33485d;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.minga-single-post__related_grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.minga-single-post__related_card {
	height: 100%;
}

.minga-single-post__related_link {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 12px;
	background: #f3f5f8;
	text-decoration: none;
	color: inherit;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.minga-single-post__related_media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.minga-single-post__related_media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.minga-single-post__related_body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 16px;
	padding: 20px;
	background: #f3f5f8;
	transition: background-color 0.2s ease;
}

.minga-single-post__related_card_title {
	margin: 0;
	padding-top: 0;
	color: #003366;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
	transition: color 0.2s ease;
}

.minga-single-post__related_meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: auto;
	color: #718499;
	font-size: 13px;
	line-height: 1.2;
	transition: color 0.2s ease;
}

.minga-single-post__related_author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.minga-single-post__related_avatar {
	width: 24px;
	height: 24px;
	border-radius: 50%;
}

.minga-single-post__related_link:hover .minga-single-post__related_body {
	background: #003366;
}

.minga-single-post__related_link:hover .minga-single-post__related_card_title,
.minga-single-post__related_link:hover .minga-single-post__related_meta,
.minga-single-post__related_link:hover .minga-single-post__related_author,
.minga-single-post__related_link:hover .minga-single-post__related_meta_item {
	color: #ffffff;
}

.minga-single-post__related_footer {
	display: flex;
	justify-content: center;
	margin-top: 40px;
}

.minga-single-post__related_btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 240px;
	padding: 16px 32px;
	border: 2px solid #003366;
	border-radius: 999px;
	background: #ffffff;
	color: #003366;
	font-size: 16px;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease;
}

.minga-single-post__related_btn:hover {
	background: #003366;
	color: #ffffff!important;
}

@media screen and (min-width: 768px) {
	.minga-single-post__related_grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (min-width: 1024px) {
	.minga-single-post {
		--minga-single-header-offset: 120px;
	}

	.minga-single-post .l-section.minga-single-post__hero {
		padding-top: calc(40px + var(--minga-single-header-offset));
		padding-bottom: 56px;
	}

	.minga-single-post__hero_layout {
		grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
		gap: 48px;
	}

	.minga-single-post__layout {
		grid-template-columns: minmax(0, 1fr) 320px;
		gap: 64px;
	}

	.minga-single-post__sidebar {
		position: sticky;
		top: calc(var(--minga-single-header-offset) + 16px);
	}

	.minga-single-post__toc {
		display: flex;
		flex-direction: column;
		min-height: var(--minga-single-toc-min-height);
	}

	.minga-single-post__toc_nav {
		flex: 1 1 auto;
		min-height: 0;
		max-height: var(--minga-single-toc-max-height);
	}

	.minga-single-post__related_grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}
}

@media screen and (max-width: 767px) {
	.minga-single-post__excerpt {
		font-size: 16px;
	}

	.minga-single-post__content {
		font-size: 16px;
	}
}
