/**
 * Tenbit Addon - Single Blog Post Stylesheet
 * Author: Team Tenbit Solutions
 */

/* ==========================================================================
   1. Single Post Hero & Header
   ========================================================================== */

.tenbit-single-post-hero {
	padding-top: 30px;
	padding-bottom: 20px;
	box-sizing: border-box;
}

.tenbit-single-post-badge {
	display: inline-flex;
	align-items: center;
	background-color: #FF5A00;
	color: #FFFFFF !important;
	font-family: inherit;
	font-size: 12px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.6px;
	padding: 6px 14px;
	border-radius: 20px;
	line-height: 1;
	margin-bottom: 16px;
	text-decoration: none;
	box-shadow: 0 4px 10px rgba(255, 90, 0, 0.25);
}

.tenbit-single-post-title {
	color: #0B2B5C;
	font-family: inherit;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.25;
	margin: 0 0 16px 0;
	letter-spacing: -0.02em;
}

.tenbit-single-post-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
	color: #7B8BA0;
	font-size: 13.5px;
	font-weight: 500;
	margin-bottom: 28px;
}

.tenbit-single-post-meta span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.tenbit-single-post-meta i,
.tenbit-single-post-meta svg {
	color: #FF5A00;
	fill: #FF5A00;
	font-size: 14px;
}

.tenbit-single-featured-img {
	width: 100%;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(11, 43, 92, 0.08);
	margin-bottom: 40px;
	background-color: #F0F6FC;
}

.tenbit-single-featured-img img {
	width: 100%;
	height: auto;
	max-height: 520px;
	object-fit: cover;
	display: block;
}


/* ==========================================================================
   2. Post Body Content Typography & Elements
   ========================================================================== */

.tenbit-single-content-body {
	color: #37475B;
	font-family: inherit;
	font-size: 16.5px;
	line-height: 1.75;
	box-sizing: border-box;
}

.tenbit-single-content-body p {
	margin-top: 0;
	margin-bottom: 22px;
}

.tenbit-single-content-body p:first-of-type {
	font-size: 18px;
	font-weight: 500;
	line-height: 1.7;
	color: #0B2B5C;
}

.tenbit-single-content-body h2 {
	position: relative;
	color: #0B2B5C;
	font-size: 26px;
	font-weight: 800;
	line-height: 1.35;
	margin-top: 40px;
	margin-bottom: 18px;
	padding-left: 16px;
	border-left: 4px solid #FF5A00;
}

.tenbit-single-content-body h3 {
	color: #0B2B5C;
	font-size: 21px;
	font-weight: 700;
	line-height: 1.4;
	margin-top: 32px;
	margin-bottom: 14px;
}

.tenbit-single-content-body blockquote {
	position: relative;
	background-color: #FFF7F2;
	border-left: 4px solid #FF5A00;
	border-radius: 0 12px 12px 0;
	padding: 22px 28px;
	margin: 32px 0;
	font-size: 17px;
	font-style: italic;
	color: #0B2B5C;
	line-height: 1.6;
}

.tenbit-single-content-body ul,
.tenbit-single-content-body ol {
	margin: 20px 0 24px 20px;
	padding-left: 10px;
}

.tenbit-single-content-body li {
	margin-bottom: 10px;
	line-height: 1.6;
}

.tenbit-single-content-body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 24px 0;
}


/* ==========================================================================
   3. Author Bio Box & Post Navigation
   ========================================================================== */

.tenbit-author-box-card {
	display: flex;
	align-items: center;
	gap: 22px;
	background-color: #F8FAFD;
	border: 1px solid #E5EFF8;
	border-radius: 14px;
	padding: 28px 26px;
	margin-top: 44px;
	margin-bottom: 36px;
	box-sizing: border-box;
}

.tenbit-author-avatar img {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	object-fit: cover;
	border: 3px solid #FFFFFF;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tenbit-author-info {
	flex: 1;
}

.tenbit-author-name {
	color: #0B2B5C;
	font-size: 18px;
	font-weight: 800;
	margin: 0 0 4px 0;
}

.tenbit-author-role {
	color: #FF5A00;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.tenbit-author-bio {
	color: #5A6B82;
	font-size: 14px;
	line-height: 1.5;
	margin: 0;
}

/* Post Next/Prev Nav */
.tenbit-post-navigation-bar {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	gap: 16px;
	border-top: 1px solid #E5EFF8;
	border-bottom: 1px solid #E5EFF8;
	padding: 20px 0;
	margin-bottom: 50px;
}

.tenbit-post-nav-item {
	display: flex;
	flex-direction: column;
	max-width: 48%;
	text-decoration: none;
	color: #0B2B5C;
	transition: color 0.25s ease;
}

.tenbit-post-nav-item:hover {
	color: #FF5A00;
}

.tenbit-post-nav-sub {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: #8A99AD;
	margin-bottom: 4px;
}

.tenbit-post-nav-title {
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
}


/* ==========================================================================
   4. Sidebar Cards (Sticky Sidebar)
   ========================================================================== */

.tenbit-sidebar-sticky-wrap {
	position: sticky;
	top: 90px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	box-sizing: border-box;
}

/* 24/7 Emergency Callout Card */
.tenbit-sidebar-emergency-card {
	background: linear-gradient(135deg, #0B2B5C 0%, #163C78 100%);
	border-radius: 14px;
	padding: 28px 24px;
	color: #FFFFFF;
	text-align: center;
	box-shadow: 0 10px 28px rgba(11, 43, 92, 0.18);
	box-sizing: border-box;
}

.tenbit-emergency-badge-tag {
	display: inline-block;
	background-color: rgba(255, 90, 0, 0.18);
	border: 1px solid #FF5A00;
	color: #FF9B66;
	font-size: 11.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.8px;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 12px;
}

.tenbit-emergency-title {
	color: #FFFFFF;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 10px 0;
}

.tenbit-emergency-desc {
	color: #D2DEED;
	font-size: 13.5px;
	line-height: 1.5;
	margin: 0 0 20px 0;
}

.tenbit-emergency-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: #FF5A00;
	color: #FFFFFF !important;
	font-size: 16px;
	font-weight: 800;
	text-decoration: none;
	padding: 14px 22px;
	border-radius: 10px;
	box-shadow: 0 6px 16px rgba(255, 90, 0, 0.35);
	transition: background-color 0.25s ease, transform 0.2s ease;
}

.tenbit-emergency-btn:hover {
	background-color: #E04E00;
	transform: translateY(-2px);
}

/* Sidebar Services Nav Card */
.tenbit-sidebar-services-card {
	background-color: #FFFFFF;
	border: 1px solid #E5EFF8;
	border-radius: 14px;
	padding: 26px 22px;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
	box-sizing: border-box;
}

.tenbit-sidebar-card-title {
	color: #0B2B5C;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.3;
	margin: 0 0 18px 0;
	padding-bottom: 12px;
	border-bottom: 2px solid #F0F6FC;
}

.tenbit-sidebar-service-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.tenbit-sidebar-service-list li {
	margin-bottom: 10px;
}

.tenbit-sidebar-service-list li:last-child {
	margin-bottom: 0;
}

.tenbit-sidebar-service-list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: #F8FAFD;
	color: #0B2B5C;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
	padding: 11px 16px;
	border-radius: 8px;
	transition: all 0.25s ease;
}

.tenbit-sidebar-service-list a:hover {
	background-color: #FF5A00;
	color: #FFFFFF;
	transform: translateX(4px);
}

.tenbit-sidebar-service-list a i {
	font-size: 12px;
	color: #FF5A00;
	transition: color 0.25s ease;
}

.tenbit-sidebar-service-list a:hover i {
	color: #FFFFFF;
}

/* Trust Badges Card */
.tenbit-sidebar-trust-card {
	background-color: #F8FAFD;
	border: 1px solid #E5EFF8;
	border-radius: 14px;
	padding: 22px 20px;
	box-sizing: border-box;
}

.tenbit-trust-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
	color: #0B2B5C;
	font-size: 13.5px;
	font-weight: 700;
}

.tenbit-trust-item:last-child {
	margin-bottom: 0;
}

.tenbit-trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background-color: #E6F8EE;
	color: #0E8044;
	font-size: 13px;
	flex-shrink: 0;
}

@media (max-width: 1024px) {
	.tenbit-single-post-title {
		font-size: 30px;
	}

	.tenbit-sidebar-sticky-wrap {
		position: static;
		margin-top: 30px;
	}
}

@media (max-width: 767px) {
	.tenbit-single-post-title {
		font-size: 24px;
	}

	.tenbit-author-box-card {
		flex-direction: column;
		text-align: center;
		padding: 22px 18px;
	}

	.tenbit-post-navigation-bar {
		flex-direction: column;
	}

	.tenbit-post-nav-item {
		max-width: 100%;
	}
}
