/* Ganesha WebTech — blog performance & UX */

img {
	max-width: 100%;
	height: auto;
}

.blogbanner {
	background-position: center center !important;
	background-size: cover !important;
	position: relative;
}

.blogbanner::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(15, 23, 42, 0.72) 0%, rgba(97, 160, 214, 0.45) 100%);
	z-index: 0;
}

.blogbanner .container {
	position: relative;
	z-index: 1;
}

.post-title-heading h1.entry-title {
	color: #fff !important;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.post-date {
	color: #e8f4fc !important;
}

.inner-blog-sec {
	margin-top: -40px;
}

.blog-side-div .entry-content {
	font-size: 1.05rem;
	line-height: 1.75;
	color: #334155;
}

.blog-side-div .entry-content h2 {
	margin-top: 2rem;
	margin-bottom: 1rem;
	font-size: 1.6rem;
	color: #1a2b3c;
}

.blog-side-div .entry-content h3 {
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
	font-size: 1.25rem;
	color: #1e3a5f;
}

.blog-side-div .entry-content ul,
.blog-side-div .entry-content ol {
	margin-bottom: 1.25rem;
	padding-left: 1.5rem;
}

.blog-side-div .entry-content li {
	margin-bottom: 0.5rem;
}

.blog-side-div .entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
	font-size: 0.95rem;
}

.blog-side-div .entry-content th,
.blog-side-div .entry-content td {
	border: 1px solid #e2e8f0;
	padding: 10px 12px;
	text-align: left;
}

.blog-side-div .entry-content th {
	background: #f1f7fc;
	font-weight: 600;
}

.gws-post-image {
	margin: 1.75rem 0;
	text-align: center;
}

.gws-post-image img {
	border-radius: 12px;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.1);
}

.gws-post-image figcaption {
	font-size: 0.85rem;
	color: #64748b;
	margin-top: 8px;
}

.gws-cta-box {
	background: linear-gradient(135deg, #61a0d6 0%, #4a8ec4 100%);
	color: #fff;
	padding: 28px 24px;
	border-radius: 12px;
	margin: 2rem 0;
	text-align: center;
}

.gws-cta-box h3 {
	color: #fff !important;
	margin-top: 0 !important;
}

.gws-cta-box a.btn-cta {
	display: inline-block;
	background: #fff;
	color: #1e3a5f;
	padding: 12px 28px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	margin-top: 12px;
}

.gws-cta-box a.btn-cta:hover {
	background: #f0f7ff;
}

.build-form-sec h4 {
	line-height: 1.35;
}

#site-header {
	background: rgba(255, 255, 255, 0.97);
	backdrop-filter: blur(8px);
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.header-titles img {
	max-height: 52px;
	width: auto;
}

@media (max-width: 991px) {
	.blogbanner {
		height: auto !important;
		min-height: 280px;
		padding-top: 120px !important;
		padding-bottom: 48px !important;
		margin-top: 0 !important;
	}

	.post-title-heading h1.entry-title {
		font-size: 1.5rem !important;
		line-height: 1.35 !important;
	}

	.inner-blog-sec {
		margin-top: 0;
		padding-top: 24px;
	}

	.blog-sidebar {
		margin-top: 32px;
	}

	#blog-latest .vc_gitem-zone-c {
		margin-top: 0;
		padding-top: 16px;
	}

	#blog-latest .vc_gitem-zone {
		height: 200px !important;
	}
}

@media (max-width: 767px) {
	.blog-side-div .entry-content table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.gws-cta-box {
		padding: 22px 16px;
	}
}

.share-button {
	display: inline-block;
	position: relative;
	cursor: pointer;
	float: right;
	margin-right: 10px;
}

ul.social-buttons li {
	display: inline-block !important;
}

.share-button .social-buttons {
	position: absolute;
	opacity: 0;
	top: -23px;
	left: -120px;
	width: 150px;
	z-index: -1;
}

.share-button:hover .social-buttons {
	z-index: 999;
	opacity: 1;
}
