/* =========================================
   2UFi Single Blog Post
   ========================================= */

/* =========================================
   Layout Containers
   ========================================= */
.twoUfi-single {
	background: #FFFFFF;
	overflow: hidden;
}

.twoUfi-single__nav {
	max-width: 768px;
	margin: 0 auto;
	padding: 92px 16px 0;
}

@media (min-width: 768px) {
	.twoUfi-single__nav {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (min-width: 1024px) {
	.twoUfi-single__nav {
		padding-top: 92px;
		padding-left: 32px;
		padding-right: 32px;
	}
}

.twoUfi-single__header {
	max-width: 768px;
	margin: 0 auto;
	padding: 32px 16px 0;
}

@media (min-width: 768px) {
	.twoUfi-single__header {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (min-width: 1024px) {
	.twoUfi-single__header {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.twoUfi-single__image-wrap {
	max-width: 896px;
	margin: 48px auto;
	padding: 0 16px;
}

@media (min-width: 768px) {
	.twoUfi-single__image-wrap {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (min-width: 1024px) {
	.twoUfi-single__image-wrap {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.twoUfi-single__content {
	max-width: 768px;
	margin: 0 auto;
	padding: 0 16px 64px;
}

@media (min-width: 768px) {
	.twoUfi-single__content {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (min-width: 1024px) {
	.twoUfi-single__content {
		padding-left: 32px;
		padding-right: 32px;
	}
}

/* =========================================
   Back Link
   ========================================= */
.twoUfi-single__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #091C30;
	text-decoration: none;
	transition: color 0.2s ease;
}

.twoUfi-single__back:hover {
	color: #3677D7;
	text-decoration: none;
}

.twoUfi-single__back svg {
	flex-shrink: 0;
}

/* =========================================
   Meta Row (category badge + read time)
   ========================================= */
.twoUfi-single__meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 24px;
}

.twoUfi-single__cat {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 12px;
	border-radius: 9999px;
	line-height: 1.4;
}

.twoUfi-single__read-time {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: rgba(9, 28, 48, 0.6);
	display: flex;
	align-items: center;
	gap: 4px;
}

/* =========================================
   Title
   ========================================= */
.twoUfi-single__title {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: 36px;
	line-height: 1.1;
	color: #091C30;
	margin: 0 0 24px;
}

@media (min-width: 768px) {
	.twoUfi-single__title {
		font-size: 48px;
	}
}

@media (min-width: 1024px) {
	.twoUfi-single__title {
		font-size: 60px;
	}
}

/* =========================================
   Excerpt
   ========================================= */
.twoUfi-single__excerpt {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.6;
	color: rgba(9, 28, 48, 0.7);
	margin: 0 0 16px;
}

/* =========================================
   Date
   ========================================= */
.twoUfi-single__date {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: rgba(9, 28, 48, 0.6);
	padding-bottom: 32px;
	border-bottom: 2px solid #F2F1FF;
	margin: 0;
}

/* =========================================
   Featured Image
   ========================================= */
.twoUfi-single__image-wrap img {
	display: block;
	width: 100%;
	aspect-ratio: 2 / 1;
	object-fit: cover;
	border-radius: 16px;
}

/* =========================================
   Article Content — Prose Typography
   ========================================= */
.twoUfi-single__content p {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.7;
	color: rgba(9, 28, 48, 0.7);
	margin: 0 0 24px;
}

.twoUfi-single__content h2 {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: 24px;
	line-height: 1.3;
	color: #091C30;
	margin: 48px 0 16px;
}

.twoUfi-single__content h3 {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: 20px;
	line-height: 1.3;
	color: #091C30;
	margin: 32px 0 12px;
}

.twoUfi-single__content blockquote {
	border-left: 4px solid #3677D7;
	padding: 24px;
	margin: 32px 0;
	background: #F2F1FF;
	border-radius: 0 16px 16px 0;
}

.twoUfi-single__content blockquote p {
	font-style: italic;
	font-weight: 700;
	font-size: 18px;
	color: #091C30;
	margin: 0;
}

.twoUfi-single__content ul,
.twoUfi-single__content ol {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 18px;
	line-height: 1.7;
	color: rgba(9, 28, 48, 0.7);
	margin: 0 0 24px;
	padding-left: 24px;
}

.twoUfi-single__content li {
	margin-bottom: 8px;
}

.twoUfi-single__content a {
	color: #3677D7;
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.2s ease;
}

.twoUfi-single__content a:hover {
	color: #091C30;
}

.twoUfi-single__content img {
	max-width: 100%;
	height: auto;
	border-radius: 16px;
	margin: 32px 0;
}

/* =========================================
   Related Posts Section
   ========================================= */
.twoUfi-single__related {
	background: #F2F1FF;
	padding: 96px 16px;
}

@media (min-width: 768px) {
	.twoUfi-single__related {
		padding-left: 24px;
		padding-right: 24px;
	}
}

@media (min-width: 1024px) {
	.twoUfi-single__related {
		padding-left: 32px;
		padding-right: 32px;
	}
}

.twoUfi-single__related-inner {
	max-width: 1280px;
	margin: 0 auto;
}

.twoUfi-single__related-heading {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: 24px;
	color: #091C30;
	margin: 0 0 32px;
}

.twoUfi-single__related-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}

@media (min-width: 768px) {
	.twoUfi-single__related-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* =========================================
   Related Post Card
   ========================================= */
.twoUfi-single__related-card {
	display: block;
	background: #FFFFFF;
	border-radius: 16px;
	border: 2px solid rgba(9, 28, 48, 0.1);
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.2s ease;
}

.twoUfi-single__related-card:hover {
	border-color: rgba(9, 28, 48, 0.3);
	text-decoration: none;
	color: inherit;
}

.twoUfi-single__related-card__image {
	height: 160px;
	overflow: hidden;
}

.twoUfi-single__related-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	margin: 0;
}

.twoUfi-single__related-card__placeholder {
	height: 160px;
	background-color: #80A3FC;
	display: flex;
	align-items: center;
	justify-content: center;
}

.twoUfi-single__related-card__placeholder span {
	color: rgba(9, 28, 48, 0.6);
	font-family: 'Inter', sans-serif;
	font-weight: 700;
}

.twoUfi-single__related-card__body {
	padding: 20px;
}

.twoUfi-single__related-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 8px;
}

.twoUfi-single__related-card__cat {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 2px 8px;
	border-radius: 9999px;
	line-height: 1.4;
}

.twoUfi-single__related-card__time {
	font-family: 'Inter', sans-serif;
	font-weight: 500;
	font-size: 12px;
	color: rgba(9, 28, 48, 0.6);
}

.twoUfi-single__related-card__title {
	font-family: 'Inter', sans-serif;
	font-weight: 900;
	font-size: 16px;
	color: #091C30;
	margin: 0;
	line-height: 1.3;
	transition: color 0.2s ease;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.twoUfi-single__related-card:hover .twoUfi-single__related-card__title {
	color: #3677D7;
}
