/* =============================================================
   Single Post Layout — Hello Elementor Child Theme
   ============================================================= */

.vt-single-post {
	background: #ffffff;
	min-height: 60vh;
}

.vt-single-post{
	max-width: 1280px !important;
}

.vt-single-wrap {
	max-width: 100%;
	padding: 0 15px 60px;
}

/* ---- Breadcrumb ---- */
.vt-single-breadcrumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 0.82rem;
	color: #6b7280;
	padding: 20px 0 0;
	flex-wrap: wrap;
}

.vt-single-breadcrumb a {
	color: #6b7280;
	text-decoration: none;
	transition: color 0.2s;
}

.vt-single-breadcrumb a:hover { color: #002D8C; }

.vt-bc-sep { color: #9ca3af; }

.vt-bc-current {
	color: #374151;
	font-weight: 500;
}

/* ============================================================
   HERO
   ============================================================ */
.vt-single-hero {
	display: flex;
	flex-direction: column;
	background: #fff;
	margin: 20px 0 32px;
}

.vt-single-hero-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding-bottom: 30px;
}

.vt-single-hero-image {
	width: 100%;
	overflow: hidden;
	border-radius: 16px;
}

.vt-single-thumb {
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	display: block;
}

/* Category Badge */
.vt-single-cat-badge {
	display: inline-block;
	background: #dbeafe;
	color: #1d4ed8;
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: .08em;
	padding: 4px 12px;
	border-radius: 20px;
	text-decoration: none;
	text-transform: uppercase;
	align-self: flex-start;
	transition: background .2s;
}

.vt-single-cat-badge:hover { background: #bfdbfe; }

/* Title */
.vt-single-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #002D8C;
	line-height: 1.3;
	margin: 0;
}

/* Intro / excerpt */
.vt-single-intro {
	font-size: 0.95rem;
	color: #555e6e;
	line-height: 1.7;
	margin: 0;
}

/* Meta row */
.vt-single-meta {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 14px;
	font-size: 0.82rem;
	color: #6b7280;
}

.vt-single-meta-item {
	display: flex;
	align-items: center;
	gap: 5px;
}

.vt-single-meta-sep {
	color: #d1d5db;
	font-size: 1.1rem;
}

.vt-single-share-label {
	font-weight: 500;
	color: #374151;
}

/* Share buttons */
.vt-single-share {
	display: flex;
	align-items: center;
	gap: 6px;
}

.vt-share-btn,
.vt-single-share a.vt-share-btn,
.vt-single-share button.vt-share-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 32px !important;
	height: 32px !important;
	border-radius: 50% !important;
	border: none !important;
	padding: 0 !important;
	margin: 0 !important;
	cursor: pointer !important;
	text-decoration: none !important;
	transition: opacity .2s, transform .15s !important;
	color: #fff !important;
	line-height: 1 !important;
	font-size: 0 !important;
	flex-shrink: 0 !important;
}

.vt-share-btn svg,
.vt-single-share a.vt-share-btn svg,
.vt-single-share button.vt-share-btn svg {
	width: 15px !important;
	height: 15px !important;
	font-size: initial !important;
	display: block !important;
	flex-shrink: 0 !important;
}

.vt-share-btn:hover { opacity: .82 !important; transform: scale(1.1) !important; }
.vt-share-btn:focus { outline: none !important; }

.vt-share-fb,
a.vt-share-fb { background: #1877f2 !important; }

.vt-share-li,
a.vt-share-li { background: #0a66c2 !important; }

.vt-share-copy,
button.vt-share-copy { background: #6b7280 !important; }

/* ============================================================
   BODY: 2-COLUMN LAYOUT
   ============================================================ */
.vt-single-body {
	display: flex;
	align-items: flex-start;
	gap: 32px;
}

.vt-single-main {
	flex: 1;
	min-width: 0;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.vt-single-sidebar {
	flex: 0 0 300px;
	width: 300px;
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 90px;
}

/* Widget base */
.vt-widget {
	background: #fff;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	padding: 20px;
}

.vt-widget-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 14px;
}

.vt-widget-title {
	font-size: 1rem;
	font-weight: 700;
	color: #002D8C;
	margin: 0 0 14px;
}

.vt-widget-header .vt-widget-title { margin: 0; border: none; padding: 0; }

.vt-widget-see-all {
	font-size: 0.78rem;
	color: #1a56db;
	text-decoration: none;
	font-weight: 500;
}

.vt-widget-see-all:hover { text-decoration: underline; }

/* Search widget */
.vt-widget-search {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.vt-widget-search-input {
	width: 100%;
	padding: 9px 14px;
	border: 1.5px solid #d1d5db;
	border-radius: 8px;
	font-size: 0.875rem;
	color: #374151;
	outline: none;
	transition: border-color .2s;
	box-sizing: border-box;
}

.vt-widget-search-input:focus { border-color: #1a56db; }

.vt-widget-search-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 9px 14px;
	background: #1a56db;
	color: #fff;
	border: none;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}

.vt-widget-search-btn:hover { background: #1043a6; }

/* Categories widget */
.vt-widget-cats {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.vt-widget-cat-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 6px 0;
	border-bottom: 1px solid #f3f4f6;
}

.vt-widget-cat-item:last-child { border-bottom: none; }

.vt-widget-cat-item a {
	display: flex;
	align-items: center;
	gap: 4px;
	color: #374151;
	text-decoration: none;
	font-size: 0.875rem;
	transition: color .2s;
}

.vt-widget-cat-item a:hover { color: #1a56db; }

.vt-widget-cat-icon { color: #9ca3af; display: flex; }

.vt-widget-cat-count {
	font-size: 0.75rem;
	color: #9ca3af;
}

/* Popular posts widget */
.vt-widget-post {
	display: flex;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f3f4f6;
	text-decoration: none;
	align-items: flex-start;
}

.vt-widget-post:last-child { border-bottom: none; padding-bottom: 0; }
.vt-widget-post:first-of-type { padding-top: 0; }

.vt-widget-post-thumb {
	flex: 0 0 68px;
	width: 68px;
	height: 52px;
	border-radius: 6px;
	overflow: hidden;
}

.vt-widget-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.vt-widget-post-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
	min-width: 0;
}

.vt-widget-post-title {
	font-size: 0.82rem;
	font-weight: 600;
	color: #1e3a5f;
	line-height: 1.4;
	transition: color .2s;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vt-widget-post:hover .vt-widget-post-title { color: #1a56db; }

.vt-widget-post-date {
	font-size: 0.72rem;
	color: #9ca3af;
}

/* Popular tags widget */
.vt-widget-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.vt-widget-tag {
	display: inline-block;
	padding: 4px 12px;
	background: #f3f4f6;
	border-radius: 20px;
	color: #374151;
	font-size: 0.78rem;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.vt-widget-tag:hover {
	background: #dbeafe;
	color: #1d4ed8;
}

/* CTA widget */
.vt-widget-cta {
	background: linear-gradient(135deg, #1a56db 0%, #002D8C 100%);
	border: none;
	text-align: center;
	padding: 24px 20px;
}

.vt-widget-cta-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: #fff;
	margin: 0 0 10px;
	line-height: 1.4;
}

.vt-widget-cta-desc {
	font-size: 0.82rem;
	color: rgba(255,255,255,.85);
	line-height: 1.6;
	margin: 0 0 18px;
}

.vt-widget-cta-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 11px 16px;
	background: #fff;
	color: #002D8C;
	border-radius: 8px;
	font-size: 0.875rem;
	font-weight: 700;
	text-decoration: none;
	box-sizing: border-box;
	transition: background .2s, color .2s;
}

.vt-widget-cta-btn:hover {
	background: #dbeafe;
	color: #002D8C;
}

/* Responsive: collapse sidebar below 900px */
@media (max-width: 960px) {
	.vt-single-body { flex-direction: column; }
	.vt-single-sidebar { flex: none; width: 100%; position: static; }
	.vt-single-related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   ARTICLE CONTENT
   ============================================================ */
.vt-single-content-wrap {
	background: #fff;
	margin-bottom: 28px;
}

.vt-single-content {
	font-size: 1rem;
	line-height: 1.8;
	color: #374151;
	max-width: 100%;
}

.vt-single-content h2,
.vt-single-content h3,
.vt-single-content h4 {
	color: #002D8C;
	font-weight: 700;
	margin-top: 1.8em;
	margin-bottom: .6em;
	line-height: 1.35;
}

.vt-single-content h2 { font-size: 1.35rem; }
.vt-single-content h3 { font-size: 1.15rem; }

.vt-single-content p { margin-bottom: 1.2em; }

.vt-single-content ul,
.vt-single-content ol {
	padding-left: 1.4em;
	margin-bottom: 1.2em;
}

.vt-single-content li { margin-bottom: .4em; }

.vt-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 8px;
	margin: 1em 0;
}

.vt-single-content blockquote {
	border-left: 4px solid #1a56db;
	background: #eff6ff;
	margin: 1.5em 0;
	padding: 18px 24px;
	border-radius: 0 8px 8px 0;
	font-style: italic;
	color: #1e40af;
}

.vt-single-content a {
	color: #1a56db;
	text-decoration: underline;
}

/* ============================================================
   TAGS
   ============================================================ */
.vt-single-tags {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 28px;
	font-size: 0.88rem;
}

.vt-single-tags-label {
	font-weight: 600;
	color: #374151;
}

.vt-single-tag {
	display: inline-block;
	padding: 5px 16px;
	background: #dbeafe;
	border: none;
	border-radius: 20px;
	color: #1d4ed8;
	font-size: 0.82rem;
	font-weight: 500;
	text-decoration: none;
	transition: background .2s, color .2s;
}

.vt-single-tag:hover {
	background: #bfdbfe;
	color: #1e3a8a;
}

/* ============================================================
   POST NAVIGATION
   ============================================================ */
.vt-single-postnav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
	padding: 20px 0;
	margin-bottom: 40px;
}

.vt-postnav-prev,
.vt-postnav-next {
	flex: 1;
	max-width: 48%;
}

.vt-postnav-next { text-align: right; }

.vt-postnav-prev a,
.vt-postnav-next a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	text-decoration: none;
}

.vt-postnav-label {
	font-size: 0.78rem;
	color: #6b7280;
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: .05em;
}

.vt-postnav-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #002D8C;
	line-height: 1.4;
	transition: color .2s;
}

.vt-postnav-prev a:hover .vt-postnav-title,
.vt-postnav-next a:hover .vt-postnav-title {
	color: #1a56db;
}

.vt-postnav-next a { align-items: flex-end; }

/* ============================================================
   RELATED POSTS
   ============================================================ */
.vt-single-related-heading {
	font-size: 1.8rem;
	font-weight: 700;
	color: #002D8C;
	margin-bottom: 20px;
}

input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea{
	border-color: #eee;
}

.vt-single-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
	.vt-single-title { font-size: 1.4rem; }
}

@media (max-width: 700px) {
	.vt-single-related-grid {
		grid-template-columns: 1fr;
	}

	.vt-single-postnav {
		flex-direction: column;
		gap: 12px;
	}

	.vt-postnav-prev,
	.vt-postnav-next {
		max-width: 100%;
	}

	.vt-postnav-next { text-align: left; }
	.vt-postnav-next a { align-items: flex-start; }
}

@media (max-width: 500px) {
	.vt-single-wrap { padding: 0 5px 60px; }
}
