/* ==========================================================
   Blog styles - Reliance Force Security
   Used by blog.html and individual blog post pages
   ========================================================== */

/* ---------- Blog listing ---------- */
.blog-list-card {
	background-color: var(--white-color);
	box-shadow: 0px 6px 30px rgba(7, 36, 95, 0.08);
	margin-bottom: 40px;
	overflow: hidden
}

.blog-list-card .blog-img {
	position: relative;
	overflow: hidden;
	display: block
}

.blog-list-card .blog-img img {
	width: 100%;
	height: auto;
	display: block;
	-webkit-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out
}

.blog-list-card:hover .blog-img img {
	-webkit-transform: scale(1.05);
	transform: scale(1.05)
}

.blog-list-card .blog-category {
	position: absolute;
	top: 20px;
	left: 20px;
	background-color: var(--theme-color);
	color: var(--white-color);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	padding: 7px 16px;
	z-index: 2
}

.blog-list-card .blog-content {
	padding: 35px 40px 40px
}

.blog-list-card .blog-meta {
	margin-bottom: 15px
}

.blog-list-card .blog-title {
	font-size: 30px;
	font-weight: 700;
	line-height: 1.35;
	margin-bottom: 15px
}

.blog-list-card .blog-text {
	margin-bottom: 28px
}

/* ---------- Sidebar ---------- */
.blog-sidebar .widget {
	--widget-padding-y: 35px;
	--widget-padding-x: 30px
}

.blog-sidebar,
.bg-smoke2 .blog-sidebar p,
.blog-list-card .blog-meta {
	text-align: left
}

.blog-sidebar .widget_title {
	font-size: 22px
}

.blog-sidebar .recent-post .media-img {
	flex: 0 0 90px;
	width: 90px
}

.blog-sidebar .recent-post .post-title {
	font-size: 16px;
	line-height: 24px
}

.blog-sidebar .recent-post .post-title a {
	color: inherit
}

.blog-sidebar .recent-post .post-title a:hover {
	color: var(--theme-color)
}

.blog-cta-widget {
	padding: 0 !important;
	background-color: transparent !important
}

.blog-cta-widget img {
	width: 100%;
	height: auto;
	display: block
}

.blog-contact-widget p {
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 20px
}

.blog-contact-widget .contact-line {
	display: block;
	color: var(--white-color);
	font-weight: 600;
	margin-bottom: 10px
}

.blog-contact-widget .contact-line i {
	color: var(--theme-color);
	width: 22px
}

.blog-contact-widget .contact-line:hover {
	color: var(--theme-color)
}

@media (min-width: 992px) {
	.blog-sidebar.sticky {
		position: -webkit-sticky;
		position: sticky;
		top: 120px
	}
}

/* ---------- Single blog post ---------- */
.breadcumb-title.blog-hero-title {
	font-size: 40px;
	line-height: 1.25;
	text-transform: none
}

.breadcumb-menu li:last-child {
	max-width: 100%
}

.blog-post {
	background-color: var(--white-color);
	box-shadow: 0px 6px 30px rgba(7, 36, 95, 0.08);
	margin-bottom: 40px
}

.blog-post .blog-featured-img img {
	width: 100%;
	height: auto;
	display: block
}

.blog-post .blog-content {
	padding: 40px
}

.blog-post .blog-meta {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--smoke-color)
}

.blog-post .blog-body p {
	margin-bottom: 20px;
	line-height: 1.8
}

.blog-post .blog-body h2 {
	font-size: 32px;
	line-height: 1.3;
	margin: 45px 0 20px;
	padding-left: 18px;
	border-left: 4px solid var(--theme-color)
}

.blog-post .blog-body h3 {
	font-size: 24px;
	line-height: 1.35;
	margin: 30px 0 14px
}

.blog-post .blog-body h4 {
	font-size: 22px;
	line-height: 1.35;
	margin: 40px 0 16px
}

.blog-post .blog-body a:not(.as-btn) {
	color: var(--theme-color);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px
}

.blog-post .blog-body a:not(.as-btn):hover {
	color: var(--title-color)
}

.blog-post .blog-inline-img {
	display: block;
	margin: 30px 0 35px;
	overflow: hidden
}

.blog-post .blog-inline-img img {
	width: 100%;
	height: auto;
	display: block;
	-webkit-transition: 0.4s ease-in-out;
	transition: 0.4s ease-in-out
}

.blog-post .blog-inline-img:hover img {
	-webkit-transform: scale(1.02);
	transform: scale(1.02)
}

.blog-toc {
	background-color: var(--smoke-color);
	border-left: 4px solid var(--theme-color);
	padding: 25px 30px;
	margin: 0 0 35px
}

.blog-toc .toc-title {
	font-family: var(--title-font);
	font-size: 20px;
	font-weight: 700;
	color: var(--title-color);
	margin-bottom: 12px;
	display: block
}

.blog-toc ol {
	margin: 0;
	padding-left: 20px
}

.blog-toc li {
	margin-bottom: 6px
}

.blog-toc li:last-child {
	margin-bottom: 0
}

.blog-post .blog-body .blog-toc a {
	color: var(--title-color);
	font-weight: 500;
	text-decoration: none
}

.blog-post .blog-body .blog-toc a:hover {
	color: var(--theme-color)
}

.blog-checklist {
	background-color: var(--smoke-color);
	padding: 30px 35px;
	margin: 25px 0 30px
}

.blog-checklist ul {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px 30px
}

.blog-checklist li {
	margin-bottom: 0 !important
}

.blog-post .blog-conclusion {
	background-color: var(--title-color);
	padding: 35px 40px;
	margin-top: 40px
}

.blog-post .blog-conclusion h4 {
	color: var(--white-color);
	margin-top: 0
}

.blog-post .blog-conclusion p {
	color: rgba(255, 255, 255, 0.85)
}

.blog-post .blog-conclusion a:not(.as-btn) {
	color: var(--theme-color)
}

.blog-post .blog-conclusion a:not(.as-btn):hover {
	color: var(--white-color)
}

.blog-bottom-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid var(--smoke-color);
	padding-top: 25px;
	margin-top: 35px
}

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

.blog-share span {
	font-weight: 600;
	color: var(--title-color);
	margin-right: 5px
}

.blog-post .blog-body .blog-share a {
	width: 40px;
	height: 40px;
	line-height: 40px;
	text-align: center;
	border-radius: 50%;
	background-color: var(--smoke-color);
	color: var(--title-color);
	text-decoration: none;
	-webkit-transition: 0.3s;
	transition: 0.3s
}

.blog-post .blog-body .blog-share a:hover {
	background-color: var(--theme-color);
	color: var(--white-color)
}

.blog-back-link {
	font-weight: 600;
	color: var(--title-color)
}

.blog-back-link i {
	margin-right: 8px;
	color: var(--theme-color)
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
	.breadcumb-title.blog-hero-title {
		font-size: 34px
	}
}

@media (max-width: 767px) {
	.breadcumb-title.blog-hero-title {
		font-size: 26px
	}

	.blog-list-card .blog-content,
	.blog-post .blog-content {
		padding: 25px 20px
	}

	.blog-list-card .blog-title {
		font-size: 22px
	}

	.blog-post .blog-body h2 {
		font-size: 24px;
		margin-top: 35px
	}

	.blog-post .blog-body h3 {
		font-size: 20px
	}

	.blog-post .blog-body h4 {
		font-size: 19px
	}

	.blog-checklist {
		padding: 22px 20px
	}

	.blog-checklist ul {
		grid-template-columns: 1fr
	}

	.blog-post .blog-conclusion {
		padding: 25px 20px
	}
}
