/* ── Vittus Blog Widget — Front-End Styles ────────────────────────────────── */
*,
*::before,
*::after {
	box-sizing: border-box;
}
h4.vbw-card-title a {
    font-size: 18px;
}

.vbw-tabs {
	margin-bottom: 39px;
}
h2.vbw-featured-title a {
    font-size: 28px !important;
    line-height: 40px;
}
.vbw-featured:hover .vbw-featured-title a {
  color: #FF4A01 !important;
}
.vbw-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.vbw-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.vbw-card-img img {
  transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.vbw-card:hover .vbw-card-img img {
  transform: scale(1.06);
}
.vbw-featured-img {
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 16px 0 0 16px;
}

.vbw-tab:hover {
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
	transform: translateY(-2px);
}

.vbw-featured-img:hover img {
	transform: scale(1.08);
}

.vbw-featured-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.vbw-newsletter {
	display: none;
}

.vbw-featured-meta {
	display: flex;
	justify-content: left;
	/* center horizontally */
	align-items: center;
	gap: 20px;
	/* spacing between items */
	text-align: center;
	flex-wrap: wrap;
	/* mobile friendly */
}

.vbw-featured-meta span {
	display: flex;
	align-items: center;
	gap: 6px;
	/* space between icon & text */
}

.vbw-search-wrap {
	display: flex !important;
	justify-content: center !important;
	align-items: center;
	margin: 20px auto;
}

svg.lucide.lucide-user.w-4.h-4 {
	width: 16px;
	height: 16px;
	color: #FF4A01;
}

input.vbw-search-input {
	MARGIN-LEFT: 40PX !IMPORTANT;
}

svg.lucide.lucide-calendar.w-4.h-4 {
	width: 16px;
	height: 16px;
	color: #FF4A01;
}

svg.lucide.lucide-clock.w-4.h-4 {
	width: 16px;
	height: 16px;
	color: #FF4A01;
}


svg.lucide.lucide-calendar.w-3.h-3 {
	width: 14px;
	height: 14px;
}

svg.lucide.lucide-clock.w-3.h-3 {
	width: 14px;
	height: 14px;
}


.vbw-featured-img {
	overflow: hidden;
}


.vbw-wrap {
	font-family:
		"Inter",
		-apple-system,
		BlinkMacSystemFont,
		sans-serif;
	background: #f8fafc;
	color: #1e293b;
	line-height: 1.6;
}

/* input[type=text] {
   
    border-radius: 16px !important;
    transition: all .3s;
    width: 100%;
        padding: 0px !important;
    max-width: 672px !important;
    height: 51.2px !important;
 }
 input.vbw-search-input {
    padding-left: 64px !important;
}
 */
/* WRAPPER */
.vbw-search-wrap {
	position: relative;
	width: 100%;
	max-width: 700px;
	margin: 0 auto;

	border: 2px solid #cfe0ff;
	border-radius: 16px;
	background: #fff;

	transition: all 0.25s ease;
}

/* OUTER GLOW BORDER */
.vbw-search-wrap::after {
	content: "";
	position: absolute;
	inset: -5px;
	border: 2px solid #196FE0;
	border-radius: inherit;
	opacity: 0;
	transition: 0.25s;
	pointer-events: none;
}

/* INPUT */
.vbw-search-input {
	width: 100%;
	height: 64px;
	border: none;
	outline: none;
	background: transparent;

	padding: 0 20px 0 52px;
	font-size: 16px;
	color: #334155;
}

/* PLACEHOLDER */
.vbw-search-input::placeholder {
	color: #9ca3af;
}

/* FOCUS */
.vbw-search-wrap:focus-within {
	border-color: #196FE0;
}

.vbw-search-wrap:focus-within::after {
	opacity: 1;
}

/* ICON */
.vbw-search-icon {
	position: absolute;
	top: 50%;
	margin-left: 10px;
	margin-top: 1px;
	transform: translateY(-50%);
	font-size: 16px;
	pointer-events: none;
}

/* ── Hero ──────────────────────────────────────────────────────────────────── */
.vbw-hero {

	padding: 60px 20px 40px;
	background: #fff;
}

.vbw-hero-title {
	font-size: clamp(28px, 4vw, 46px);
	font-weight: 800;
	margin: 0 0 16px;
	line-height: 1.2;
	color: #1e293b;
}

.vbw-hero-subtitle {
	font-size: 16px;
	color: #64748b;
	max-width: 580px;
	margin: 0 auto 32px;
}

/* ── Search ────────────────────────────────────────────────────────────────── */
.vbw-search-wrap {
	position: relative;
	display: inline-block;
	width: 100%;
}

.vbw-search-wrap {
	border: 2px solid #cfe0ff;
	border-radius: 10px;
	transition: all 0.25s ease;
}

/* OUTER BORDER */
.vbw-search-wrap::after {
	content: "";
	position: absolute;
	inset: -4px;
	border: 2px solid #196FE0;
	border-radius: inherit;
	opacity: 0;
	transition: opacity 0.25s ease;
	pointer-events: none;
}


.vbw-search-wrap:focus-within::after {
	opacity: 1;
}

/* ICON */
.vbw-search-icon {
	position: absolute;
	left: 15px;
	top: 50%;
	transform: translateY(-50%);
	color: #9ca3af;
	pointer-events: none;
}

.vbw-search-icon {
	position: absolute;
	top: 50%;
	margin-left: 10px;
	margin-top: 5px;
	transform: translateY(-50%);
	font-size: 16px;
	pointer-events: none;
}

.vbw-search-input {
	width: 100%;
	height: 64px;
	border: none !important;
	outline: none !important;
	box-shadow: none !important;
	background: transparent;

	padding: 0 20px 0 52px;
	font-size: 16px;
	color: #334155;
}

.vbw-search-input:focus {
	border-color: #196FE0;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Search dropdown */
.vbw-search-results-dropdown {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
	max-height: 380px;
	overflow-y: auto;
	z-index: 9999;
	padding: 8px 0;
}

.vbw-drop-item {
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 10px 16px;
	cursor: pointer;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s;
}

.vbw-drop-item:hover {
	background: #f1f5f9;
}

.vbw-drop-thumb {
	width: 52px;
	height: 40px;
	object-fit: cover;
	border-radius: 6px;
	flex-shrink: 0;
	background: #e2e8f0;
}

.vbw-drop-info {
	flex: 1;
	min-width: 0;
}

.vbw-drop-title {
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.vbw-drop-cat {
	font-size: 11px;
	color: #94a3b8;
	margin-top: 2px;
}

.vbw-drop-no-results {
	padding: 16px;
	text-align: center;
	color: #94a3b8;
	font-size: 14px;
}

/* ── Category Tabs ─────────────────────────────────────────────────────────── */
.vbw-tabs {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 24px;

}

.vbw-tab {
	padding: 7px 18px;
	border: 1.5px solid #d8d8d8;
	background: #ffffff;
	font-size: 13.5px;
	font-weight: 500;
	cursor: pointer;
	color: #090a0d;
	transition: all 0.2s;
	white-space: nowrap;
	border-radius: 100px;
}

button.vbw-tab {
	border-radius: 100px !important;
	font-size: 13.5px !important;
	font-weight: 500 !important;
	cursor: pointer !important;
	background-color: white !important;
	color: black !important;
}

.vbw-tab:hover {
	background-color: #f97316 !important;
	color: #fff !important;
}

.vbw-tab.active {
	background: #196FE0 !important;
	color: #fff !important;
	border-color: 1.5px solid #8e9398;
}

/* ── Featured Post ─────────────────────────────────────────────────────────── */


.vbw-featured {
	background: #fff;
	max-width: 1250px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 48px;
	border: 1px solid rgb(226, 228, 233);
	border-radius: 16px;
	align-items: center;
	margin: 0 auto;

}

.vbw-featured-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px 0 0 16px !important;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.vbw-placeholder-img {
	width: 100%;
	height: 320px;
	background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
	border-radius: 16px;
}

.vbw-cat-badge {
	display: inline-block;
	padding: 4px 12px;
	font-size: 12px;
	font-weight: 500;
	border-radius: 50px;
	text-transform: capitalize;
	letter-spacing: 0.5px;
	margin-bottom: 12px;
	border: 0.8px solid rgb(26, 93, 230);
	background-color: #f9731600 !important;
	color: rgb(26, 93, 230);
}

.vbw-featured-title {
	font-size: clamp(20px, 2.5vw, 30px);
	font-weight: bold;
	line-height: 1.25;
	margin: 0 0 12px;
}

.vbw-featured-title a {
	color: inherit;
	text-decoration: none;
}

.vbw-featured-title a:hover {
	color: #FF4A01;
}

.vbw-featured-excerpt {
	color: #676f7e;
	font-size: 16px;
	margin: 0 0 18px;
	font-family: "Inter", system-ui, sans-serif;
	font-feature-settings: "kern", "liga";
	font-variation-settings: normal;

	height: 72px;
	line-height: 24px;

	margin-block-end: 24px;
	margin-block-start: 0px;

	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	margin-left: 0px;
}

.vbw-featured-meta {
	display: flex;
	gap: 16px;
	font-size: 14px;
	height: 20px;
	line-height: 20px;
	color: #676f7e;
	margin-bottom: 24px;
	flex-wrap: wrap;
}


.vbw-featured-read-btn{
    background: linear-gradient(90deg, #FF4A01 0%, #196FE0 100%) !important;
    border-bottom: 3px solid var(--btn-border-red, #A73200) !important;
    padding: 10px 24px !important;
    height: 36px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50px !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    white-space: nowrap !important;
    font-size: 14px !important;
    color: #FFFFFF !important;
    font-weight: 500 !important;
    line-height: 20px !important;
    letter-spacing: 0 !important;
    position: relative !important;
    overflow: hidden !important;
    gap: 0px !important;
    transition: gap 0.3s ease !important;
    isolation: isolate !important;
}

.vbw-featured-read-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 33%;
    height: 300%;
    background: linear-gradient( 90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100% );
    transform: skewX(20deg) translateX(-160%);
    pointer-events: none;
    z-index: 2;
}

.vbw-featured-read-btn:hover::before {
    transform: skewX(20deg) translateX(360%) !important;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.vbw-featured-read-btn::before {
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}



/* ── Latest Articles ───────────────────────────────────────────────────────── */
.vbw-latest-section {
	max-width: 1250px;
	margin: 0 auto;

}

.vbw-latest-heading {
	font-family: "Inter", system-ui, sans-serif;
	font-feature-settings: "kern", "liga";
	font-size: 30px;
	font-variation-settings: normal;
	font-weight: 700;
	height: 36px;
	line-height: 36px;
	margin-block-end: 32px;
	margin-block-start: 0px;
	margin-bottom: 32px;
	margin-inline-end: 0px;
	margin-inline-start: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-top: 50px;
}

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

/* ── Card ──────────────────────────────────────────────────────────────────── */
.vbw-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
	transition:
		box-shadow 0.2s,
		transform 0.2s;
	display: flex;
	flex-direction: column;
}

.vbw-card:hover {
	box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
	transform: translateY(-2px);
}

.vbw-card-img {
	position: relative;
	height: 180px;
	overflow: hidden;
}

.vbw-card-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}




.vbw-card-img .vbw-placeholder-img {
	height: 180px;
	border-radius: 0;
}

button.vbw-tab {
	padding: 7px 14px 7px 14px !important;
}

.vbw-card-cat-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 3px 10px;
	background: rgba(37, 99, 235, 0.85);
	color: #fff;
	font-size: 10px;
	font-weight: 500;
	border-radius: 50px;
	text-transform: capitalize;
	letter-spacing: 0.4px;
	backdrop-filter: blur(4px);
}

.vbw-card-body {
	padding: 16px 18px 18px;
	flex: 1;
	gap: 6px;
	display: flex;
	flex-direction: column;
}

.vbw-card-title {
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
	margin: 0 0 8px;
}

.vbw-card-title a {
	color: inherit;
	text-decoration: none;
}

.vbw-card-title a:hover {
	color: #FF4A01;
}

.vbw-card-excerpt {
	color: #6A7381;
	flex: 1;
	font-family: "Inter", system-ui, sans-serif;
	font-feature-settings: "kern", "liga";
	font-size: 14px;
	font-variation-settings: normal;
	height: 40px;
	line-height: 20px;
	margin-block-end: 16px;
	margin-block-start: 0px;
	margin-bottom: 16px;
	margin-inline-end: 0px;
	margin-inline-start: 0px;
	margin-left: 0px;

}

.vbw-card-meta {
	display: flex;
	gap: 14px;
	font-size: 12px;
	color: #6A7381;
	justify-content: space-between;
	padding-top: 15px;
	border-top: 1px solid rgb(226, 228, 233);
}

.vbw-card-meta span {
	display: flex;
	align-items: center;
	gap: 2px;
}

/* ── Newsletter ────────────────────────────────────────────────────────────── */
.vbw-newsletter {
	text-align: center;
	padding: 56px 20px;
	background: #fff;
	border-radius: 20px;
	max-width: 600px;
	margin: 0 auto 60px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.vbw-nl-title {
	font-size: clamp(22px, 3vw, 32px);
	font-weight: 800;
	margin: 0 0 10px;
}

.vbw-nl-subtitle {
	font-size: 14px;
	color: #64748b;
	margin: 0 0 28px;
}

.vbw-nl-form {
	display: flex;
	gap: 8px;
	max-width: 400px;
	margin: 0 auto;
}

.vbw-nl-input {
	flex: 1;
	padding: 11px 18px;
	border: 1.5px solid #e2e8f0;
	border-radius: 50px;
	font-size: 14px;
	outline: none;
	transition: border-color 0.2s;
}

.vbw-nl-input:focus {
	border-color: #196FE0;

	.vbw-newsletter-btn {
		padding: 11px 24px;
		background: #196FE0;
		color: #fff;
		border: none;
		border-radius: 50px;
		font-size: 14px;
		font-weight: 600;
		cursor: pointer;
		transition: background 0.2s;
		white-space: nowrap;
	}

	.vbw-newsletter-btn:hover {
		background: #1d4ed8;
	}

	/* ── Search result count badge ─────────────────────────────────────────────── */
	.vbw-result-count {
		font-size: 15px;
		font-weight: 400;
		color: #94a3b8;
	}

	.vbw-no-results {
		color: #94a3b8;
		font-size: 15px;
		padding: 32px 0;
		text-align: center;
	}

	/* ── Loading spinner ───────────────────────────────────────────────────────── */
	.vbw-loading {
		text-align: center;
		padding: 40px;
		color: #94a3b8;
		font-size: 14px;
	}

	.vbw-loading::before {
		content: "";
		display: inline-block;
		width: 24px;
		height: 24px;
		border: 3px solid #e2e8f0;
		border-top-color: #196FE0;
		border-radius: 50%;
		animation: vbw-spin 0.7s linear infinite;
		vertical-align: middle;
		margin-right: 8px;
	}

	@keyframes vbw-spin {
		to {
			transform: rotate(360deg);
		}
	}

	/* ── Search results page layout ────────────────────────────────────────────── */
	.vbw-search-results-section {
		max-width: 1100px;
		margin: 0 auto;
		padding: 32px 32px 56px;
	}

	.vbw-search-results-section .vbw-latest-heading {
		margin-bottom: 24px;
	}

	/* ── Responsive ────────────────────────────────────────────────────────────── */
	@media (max-width: 900px) {
		.vbw-featured {
			grid-template-columns: 1fr;
			gap: 24px;
			border-radius: 16px 16px 0 0 !important;
			margin-left: 10px;
			margin-right: 10px;
			margin-bottom: 30px;
		}

		.vbw-grid {
			grid-template-columns: repeat(2, 1fr);
		}

		.vbw-latest-section {
			padding: 0 20px 40px;
		}
	}

	@media (max-width: 768px) {
	 .vbw-grid {
    grid-template-columns: repeat(2, 1fr) !important;
}
.vbw-featured {
    background: #fff;
    max-width: 1250px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    border: 1px solid rgb(226, 228, 233);
    border-radius: 16px;
    align-items: center;
    margin: 0 auto;
}
		.vbw-featured-img img {
			border-radius: 16px 16px 0 0 !important;

		}
	}

	@media (max-width: 580px) {
		.vbw-grid {
			grid-template-columns: 1fr;
		}

		.vbw-nl-form {
			flex-direction: column;
		}

		.vbw-newsletter-btn {
			width: 100%;
		}

		.vbw-featured {
			grid-template-columns: 1fr;
			gap: 24px;
			border-radius: 16px 16px 0 0 !important;
			margin-left: 10px;
			margin-right: 10px;
			margin-bottom: 30px;
		}

		.vbw-featured-content {
			padding: 20px;
		}

		.vbw-featured-img {

			border-radius: 16px;
		}

	}