/**
 * WAC Industries - frontend styles.
 * Layout-only rules live here; colors/sizes exposed as Elementor style
 * controls are applied inline via the widget's `selectors`.
 */

.wac-industries__head {
	margin-bottom: 40px;
}

.wac-industries__title {
	margin: 0;
	font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
	font-weight: 800;
	line-height: 1.2;
}

.wac-industries__carousel {
	position: relative;
}

.wac-industries__viewport {
	overflow: hidden;
}

.wac-industries__slide {
	height: auto;
	align-self: stretch;
}

.wac-industry-card {
	height: 100%;
	overflow: hidden;
}

.wac-industry-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.wac-industry-card__media {
	flex-shrink: 0;
	width: 100%;
}

.wac-industry-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wac-industry-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 8px;
}

.wac-industry-card__title {
	margin: 0;
	font-size: 1.05rem;
	font-weight: 700;
}

.wac-industry-card__desc {
	margin: 0;
	font-size: 0.85rem;
	line-height: 1.55;
}

/* Navigation arrows */
.wac-industries__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transform: translateY(-50%);
	box-shadow: 0 4px 14px rgba(20, 20, 43, 0.12);
}

.wac-industries__arrow--prev {
	left: -22px;
}

.wac-industries__arrow--next {
	right: -22px;
}

.wac-industries__arrow.swiper-button-disabled {
	opacity: 0.35;
	cursor: default;
}

/* Pagination dots */
.wac-industries__pagination {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin-top: 28px;
}

.wac-industries__pagination .swiper-pagination-bullet {
	width: 8px;
	height: 8px;
	margin: 0;
	opacity: 1;
	border-radius: 50%;
	cursor: pointer;
}

@media (max-width: 767px) {
	.wac-industries__arrow {
		display: none;
	}
}
