/* Vesica Blog Slider — font family inherits from theme */
.vbs-slider {
	--vbs-green: #1E3A2B;
	--vbs-orange: #D98A2B;
	--vbs-label: #B8692A;
	--vbs-gap: 24px;
	position: relative;
	width: 100%;
}
.vbs-slider *, .vbs-slider *::before, .vbs-slider *::after { box-sizing: border-box; }

.vbs-slider__viewport { overflow: hidden; padding: 8px 4px 30px; margin: -8px -4px -30px; touch-action: pan-y; }
.vbs-slider__track {
	display: flex;
	gap: var(--vbs-gap);
	will-change: transform;
	transition: transform .6s cubic-bezier(.25, .8, .25, 1);
}
.vbs-slider__track.no-anim { transition: none !important; }
.vbs-slide { flex: 0 0 calc((100% - var(--vbs-gap) * 2) / 3); min-width: 0; display: flex; }
.vbs-slider:not(.is-ready) .vbs-slide:nth-child(n+4) { display: none; }
.vbs-slider.is-dragging a { pointer-events: none; }
.vbs-slider img { -webkit-user-drag: none; user-select: none; }

/* Card */
.vbs-card {
	display: flex;
	flex-direction: column;
	width: 100%;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	box-shadow: 0 6px 24px rgba(60, 40, 20, .07);
	transition: transform .3s ease, box-shadow .3s ease;
}
.vbs-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(60, 40, 20, .12); }

.vbs-card__media {
	position: relative;
	display: block;
	height: 220px;
	overflow: hidden;
	background: #EADFCC;
}
.vbs-card__media img,
.vbs-card__noimg {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	object-fit: cover;
	transition: transform .6s ease;
}
.vbs-card__noimg { background: linear-gradient(135deg, #2A4A38, #1E3A2B); }
.vbs-card:hover .vbs-card__media img { transform: scale(1.06); }

.vbs-date {
	position: absolute;
	top: 14px; left: 14px; z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 46px;
	padding: 8px 10px;
	background: #fff;
	border-radius: 8px;
	color: var(--vbs-green);
	line-height: 1.05;
	text-align: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.vbs-date__d { font-size: 17px; font-weight: 700; }
.vbs-date__m { font-size: 10px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-top: 2px; }

.vbs-card__body { padding: 24px 24px 28px; flex: 1 1 auto; }
.vbs-card__cat {
	display: block;
	margin: 0 0 10px;
	color: var(--vbs-label);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 1.8px;
	line-height: 1.3;
	text-transform: uppercase;
}
.vbs-card .vbs-card__title {
	margin: 0 !important;
	padding: 0 !important;
	font-size: 19px !important;
	font-weight: 700 !important;
	line-height: 1.35 !important;
	letter-spacing: 0 !important;
	text-transform: none !important;
}
.vbs-card__title a { color: var(--vbs-green) !important; text-decoration: none !important; transition: color .2s ease; }
.vbs-card__title a:hover { color: var(--vbs-label) !important; }

/* Nav */
.vbs-slider__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.vbs-slider.is-static .vbs-slider__nav { display: none; }
.vbs-slider .vbs-arrow {
	display: inline-flex !important;
	align-items: center; justify-content: center;
	width: 44px; height: 44px; min-height: 0 !important;
	padding: 0 !important;
	border-radius: 50% !important;
	border: 1.5px solid var(--vbs-green) !important;
	background: transparent !important;
	color: var(--vbs-green) !important;
	box-shadow: none !important;
	cursor: pointer;
	transition: background .25s ease, color .25s ease;
}
.vbs-slider .vbs-arrow:hover, .vbs-slider .vbs-arrow:focus-visible { background: var(--vbs-green) !important; color: #fff !important; }
.vbs-dots { display: flex; gap: 8px; align-items: center; justify-content: center; flex-wrap: wrap; }
.vbs-dots span { width: 8px; height: 8px; border-radius: 20px; background: rgba(30, 58, 43, .2); transition: width .3s ease, background .3s ease; }
.vbs-dots span.is-active { width: 24px; background: var(--vbs-orange); }

.vbs-empty { text-align: center; color: #6B6A62; }

/* Responsive */
@media (max-width: 1024px) {
	.vbs-slide { flex-basis: calc((100% - var(--vbs-gap)) / 2); }
}
@media (max-width: 767px) {
	.vbs-slider { --vbs-gap: 16px; }
	.vbs-slide { flex-basis: 100%; }
	.vbs-card__media { height: 210px; }
	.vbs-card__body { padding: 20px 20px 24px; }
	.vbs-card .vbs-card__title { font-size: 17px !important; }
	.vbs-slider__nav { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
	.vbs-slider__track, .vbs-card, .vbs-card__media img { transition: none !important; }
}
