.fbps-wrapper {
	--fbps-slides: 3;
	position: relative;
}

/* Tabs */
.fbps-tabs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0 0 28px;
}

.fbps-tab {
	appearance: none;
	border: none;
	cursor: pointer;
	background-color: #f0f0ee;
	color: #4a4a4a;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	padding: 10px 20px;
	border-radius: 20px;
	transition: background-color 0.2s ease, color 0.2s ease;
	white-space: nowrap;
}

.fbps-tab:hover {
	background-color: #e2e2df;
}

.fbps-tab.is-active {
	background-color: #1f5fd6;
	color: #ffffff;
}

/* Slider shell */
.fbps-slider {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px;
}

.fbps-viewport {
	overflow: hidden;
	width: 100%;
}

.fbps-track {
	display: flex;
	gap: 24px;
	transition: transform 0.4s ease;
	will-change: transform;
}

.fbps-slide {
	flex: 0 0 calc((100% - (var(--fbps-slides) - 1) * 24px) / var(--fbps-slides));
	box-sizing: border-box;
}

.fbps-wrapper.is-loading .fbps-track {
	opacity: 0.4;
	pointer-events: none;
}

.fbps-slider-loading {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 34px;
	margin: -17px 0 0 -17px;
	border: 3px solid #e0e0e0;
	border-top-color: #1f5fd6;
	border-radius: 50%;
	animation: fbps-spin 0.7s linear infinite;
	z-index: 2;
}

.fbps-wrapper.is-loading .fbps-slider-loading {
	display: block;
}

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

/* Card */
.fbps-card {
	background-color: #ffffff;
	border-radius: 12px;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.fbps-card-image {
	display: block;
	height: 220px;
	background-size: cover;
	background-position: center;
	background-color: #e8e8e6;
}

.fbps-card-body {
	padding: 18px 4px 4px;
}

.fbps-card-meta {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	color: #1f5fd6;
	margin-bottom: 8px;
}

.fbps-card-title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.35;
	font-weight: 700;
}

.fbps-card-title a {
	color: #181818;
	text-decoration: none;
}

.fbps-card-title a:hover {
	color: #1f5fd6;
}

.fbps-card-excerpt {
	font-size: 14px;
	line-height: 1.5;
	color: #666666;
}

/* Arrows */
.fbps-arrow {
	flex: 0 0 auto;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background-color: #ffffff;
	color: #181818;
	font-size: 20px;
	line-height: 1;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
	transition: background-color 0.2s ease;
	z-index: 1;
}

.fbps-arrow:hover {
	background-color: #f0f0ee;
}

.fbps-arrow:disabled {
	opacity: 0.35;
	cursor: default;
}

/* Dots */
.fbps-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 20px;
}

.fbps-dots .fbps-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	background-color: #d8d8d5;
	cursor: pointer;
	padding: 0;
}

.fbps-dots .fbps-dot.is-active {
	background-color: #1f5fd6;
}

.fbps-empty {
	color: #666666;
}

/* Responsive slide counts (JS keeps --fbps-slides in sync; these are a no-JS fallback) */
@media (max-width: 1024px) {
	.fbps-wrapper { --fbps-slides: 2; }
}

@media (max-width: 767px) {
	.fbps-wrapper { --fbps-slides: 1; }
	.fbps-arrow { width: 34px; height: 34px; font-size: 16px; }
}
