/* ================================================================
   Industry Slider Widget — industrySlider.css
   ================================================================ */

.isl-wrapper {
	position: relative;
}

.isl-swiper {
	overflow: hidden;
}

/* ── Card ── */
.isl-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	background: #fff;
	border-radius: 0px !important;
	border: 1px solid #e8e8e8;
}

/* Card as link */
a.isl-card {
	text-decoration: none;
	color: inherit;
	cursor:pointer;
}

a.isl-card:hover {
	text-decoration: none;
}

/* ── Card image ── */
.isl-card-image {
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f0f0f0;
	flex-shrink: 0;
}

.isl-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.32s ease;
}

.isl-card:hover .isl-card-image img {
	transform: scale(1.04);
}

.isl-card-image-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #e8edf2, #cdd5df);
}

/* ── Card content ── */
.isl-card-content {
	padding: 16px 16px 20px;
	flex: 1;
}

.isl-card-title {
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #1a1a1a;
	margin: 0 0 8px;
	line-height: 1.4;
}

.isl-card-desc {
	font-size: 14px;
	color: #666;
	margin: 0;
	line-height: 1.55;
}

/* ================================================================
   Arrows
   Positioned absolute inside .isl-wrapper (outside the swiper).
   Ensure the containing Elementor section has enough horizontal
   padding so the arrows don't clip outside the viewport.
   ================================================================ */
.isl-arrow {
	position: absolute;
	top: 35%;
	transform: translateY(-50%);
	z-index: 10;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 50%;
	color: #333;
	cursor: pointer;
	transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	outline: none;
	padding:0;
}

.isl-arrow:hover {
	background: #f5f5f5;
	border-color: #ccc;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.isl-arrow:focus-visible {
	box-shadow: 0 0 0 3px rgba(26, 82, 118, 0.3);
}

.isl-arrow.swiper-button-disabled {
	opacity: 0.3;
	pointer-events: none;
}

/* Not a carousel at this breakpoint (Swiper watchOverflow lock):
   hide arrows and pagination so the cards render as a static grid. */
.isl-arrow.swiper-button-lock {
	display: none;
}

.isl-pagination.swiper-pagination-lock {
	display: none;
}

.isl-pagination-wrap:has(.swiper-pagination-lock) {
	display: none;
}

.isl-prev { left: -22px; }
.isl-next { right: -22px; }

.isl-arrow i {
	font-size: 16px;
	line-height: 1;
	display: block;
}

.isl-arrow svg {
	width: 16px;
	height: 16px;
	display: block;
}

/* ================================================================
   Pagination
   ================================================================ */
.isl-pagination-wrap {
	margin-top: 20px;
	display: flex;
	justify-content: start;
}

/* Pull pagination out of Swiper's default absolute positioning */
.isl-pagination {
	position: static !important;
	width: auto !important;
}

/* Bullets */
.isl-pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	background: #ccc;
	opacity: 1;
	transition: background 0.18s, transform 0.18s;
}

.isl-pagination .swiper-pagination-bullet-active {
	background: var(--e-global-color-primary);
	width: 28px;
    border-radius: 4px;
}
.isl-swiper .swiper-slide {
  height: auto;
}

/* Progress bar */
.isl-pagination.swiper-pagination-progressbar {
	height: 3px;
	background: #e0e0e0;
	border-radius: 2px;
	width: 100% !important;
}

.isl-pagination .swiper-pagination-progressbar-fill {
	background: #1a5276;
	border-radius: 2px;
}

/* Fraction */
.isl-pagination.swiper-pagination-fraction {
	font-size: 14px;
	color: #888;
}

/* ================================================================
   Responsive
   ================================================================ */
@media (max-width: 600px) {
	.isl-prev { left: -12px; }
	.isl-next { right: -12px; }

	.isl-arrow {
		width: 36px;
		height: 36px;
	}
}
