/**
 * NABL CMS — Other Schemes Frontend Styles
 */

/* Section Wrapper */
.other-schemes-section {
	position: relative;
	padding: 20px 0 0 0;
	background: #ffffff;
}

/* Optional Section Title */
.other-schemes-section .sec-heading-wrap {
	margin-bottom: 24px;
}

.other-schemes-section .event-title {
	font-size: 1.75rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0;
	line-height: 1.25;
}

/* Tab Navigation Bar (Screenshot Match) */
.other-schemes-tabs-wrapper {
	position: relative;
	margin-bottom: 32px;
	border-bottom: 2px solid #e2e8f0;
}

.other-schemes-tabs-nav {
	display: flex;
	align-items: center;
	gap: 32px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
	justify-content: space-around;
}

.other-schemes-tabs-nav::-webkit-scrollbar {
	display: none;
}

.other-schemes-tab-item {
	margin: 0;
	padding: 0;
	flex-shrink: 0;
}

.other-schemes-tab-btn {
	background: none;
	border: none;
	padding: 12px 6px 14px 6px;
	font-size: 1.05rem;
	font-weight: 700;
	color: #334155;
	cursor: pointer;
	position: relative;
	transition: color 0.2s ease;
	white-space: nowrap;
	display: inline-block;
}

.other-schemes-tab-btn:hover {
	color: #0079AF;
}

/* Active Tab: Blue text with solid rounded blue underline indicator */
.other-schemes-tab-btn.is-active {
	color: #0079AF;
}

.other-schemes-tab-btn.is-active::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 100%;
	height: 7px;
	background-color: #0079AF;
	border-radius: 4px 4px 0 0;
}

/* Tab Content Panes */
.other-schemes-pane {
	display: none;
	animation: otherSchemesFadeIn 0.3s ease forwards;
}

.other-schemes-pane.is-active {
	display: block;
}

@keyframes otherSchemesFadeIn {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Optional Group Heading & Description */
.other-schemes-group-header {
	margin-bottom: 24px;
}

.other-schemes-group-heading {
	font-size: 1.35rem;
	font-weight: 700;
	color: #1e293b;
	margin: 0 0 6px 0;
}

.other-schemes-group-desc {
	font-size: 0.95rem;
	color: #64748b;
	margin: 0;
	line-height: 1.5;
}

/* Logo Card Styling */
.other-scheme-logo-card {
	background: transparent !important;
	background-color: transparent !important;
	border: none !important;
	border-radius: 0;
	box-shadow: none !important;
	padding: 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: unset;
	height: auto;
	width: 100%;
	text-align: center;
	margin: 0 auto;
	transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
	position: relative;
	text-decoration: none !important;
	color: inherit;
}

.other-scheme-logo-card.has-link {
	cursor: pointer;
}

.other-scheme-logo-card:hover {
	transform: translateY(-4px);
	box-shadow: none !important;
	border-color: transparent !important;
	background: transparent !important;
}

.other-scheme-logo-wrapper {
	width: 100%;
	height: 95px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto;
}

.other-scheme-logo-img {
	max-width: 90%;
	max-height: 85px;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	margin: 0 auto;
	transition: transform 0.3s ease;
}

.other-scheme-logo-card:hover .other-scheme-logo-img {
	transform: scale(1.05);
}

.other-scheme-logo-name {
	display: none !important;
}

/* External Link Indicator Icon (Optional subtle badge) */
.other-scheme-link-icon {
	position: absolute;
	top: 12px;
	right: 12px;
	color: #94a3b8;
	font-size: 14px;
	width: 14px;
	height: 14px;
}

/* Static Grid Mode (Default 4 logos per row) */
.other-schemes-static-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	width: 100%;
	align-items: center;
	justify-items: center;
}

/* Carousel Mode (> 4 or per-group setting) */
.other-schemes-carousel-wrap {
	position: relative;
	width: 100%;
	padding: 0 48px; /* Outer clearance so arrow buttons do not overlap logos */
	box-sizing: border-box;
}

.other-schemes-swiper {
	width: 100%;
	overflow: hidden;
	position: relative;
	padding: 10px 0 14px 0 !important;
	cursor: grab;
	user-select: none;
	-webkit-user-select: none;
}

.other-schemes-swiper:active {
	cursor: grabbing;
}

.other-schemes-swiper .swiper-wrapper {
	display: flex;
	align-items: center;
	width: max-content;
	will-change: transform;
	transform: translate3d(0, 0, 0);
	transition: none !important;
}

.other-schemes-swiper .swiper-slide {
	flex: 0 0 auto;
	width: 250px;
	margin-right: 24px;
	height: auto;
	display: flex;
	box-sizing: border-box;
}

.other-schemes-swiper .swiper-slide .other-scheme-logo-card {
	width: 100%;
}

@media (max-width: 991px) {
	.other-schemes-carousel-wrap {
		padding: 0 40px;
	}
	.other-schemes-swiper .swiper-slide {
		width: 220px;
		margin-right: 18px;
	}
}

@media (max-width: 576px) {
	.other-schemes-carousel-wrap {
		padding: 0 34px;
	}
	.other-schemes-swiper .swiper-slide {
		width: 180px;
		margin-right: 14px;
	}
	.other-schemes-nav-btn {
		width: 32px;
		height: 32px;
	}
}

/* Carousel Navigation Chevrons (Screenshot Match) */
.other-schemes-nav-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	color: #334155;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	transition: all 0.2s ease;
	z-index: 10;
}

.other-schemes-nav-btn:hover {
	background: #0079AF;
	border-color: #0079AF;
	color: #ffffff;
	box-shadow: 0 4px 14px rgba(0, 121, 175, 0.35);
}

.other-schemes-nav-btn.swiper-button-disabled {
	opacity: 0.25;
	cursor: not-allowed;
	pointer-events: none;
}

.other-schemes-nav-btn.swiper-button-lock {
	display: none !important;
}

.other-schemes-nav-prev {
	left: 0;
}

.other-schemes-nav-next {
	right: 0;
}

.other-schemes-nav-btn svg {
	width: 18px;
	height: 18px;
	fill: currentColor;
}

/* Pagination Dots (Optional) */
.other-schemes-pagination {
	position: relative;
	margin-top: 18px;
	display: flex;
	justify-content: center;
	gap: 6px;
}

.other-schemes-pagination.swiper-pagination-lock {
	display: none !important;
}

.other-schemes-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #cbd5e1;
	opacity: 1;
	transition: all 0.2s ease;
}

.other-schemes-pagination .swiper-pagination-bullet-active {
	background: #0079AF;
	width: 22px;
	border-radius: 4px;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
	.other-schemes-static-grid {
		grid-template-columns: repeat(3, 1fr);
		gap: 20px;
	}
}

@media (max-width: 991px) {
	.other-schemes-tabs-nav {
		gap: 20px;
	}

	.other-schemes-tab-btn {
		font-size: 0.95rem;
	}

	.other-schemes-static-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 18px;
	}

	.other-schemes-carousel-wrap {
		padding: 0 38px;
	}
}

@media (max-width: 575px) {
	.other-schemes-section {
		padding: 10px 0 40px 0;
	}

	.other-schemes-tabs-wrapper {
		margin-bottom: 24px;
	}

	.other-schemes-tabs-nav {
		gap: 16px;
	}

	.other-schemes-tab-btn {
		font-size: 0.875rem;
		padding-bottom: 10px;
	}

	.other-schemes-static-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.other-schemes-carousel-wrap {
		padding: 0 32px;
	}

	.other-schemes-nav-btn {
		width: 32px;
		height: 32px;
	}

	.other-scheme-logo-card {
		min-height: unset;
		padding: 10px 8px;
	}

	.other-scheme-logo-wrapper {
		height: 80px;
	}

	.other-scheme-logo-img {
		max-height: 70px;
	}
}
