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

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

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

.wac-offices__carousel {
	position: relative;
}

.wac-offices__viewport {
	overflow: hidden;
}

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

.wac-office-card {
	display: flex;
	flex-wrap: wrap;
	height: 100%;
	overflow: hidden;
	background-color: #ffffff;
}

.wac-office-card__media {
	flex-shrink: 0;
	width: 38%;
}

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

.wac-office-card__body {
	display: flex;
	flex: 1 1 260px;
	flex-direction: column;
	gap: 16px;
}

.wac-office-card__title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	font-size: 1.25rem;
	font-weight: 700;
}

.wac-office-card__pin {
	display: inline-flex;
	font-size: 1rem;
	line-height: 1;
}

.wac-office-card__row {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.wac-office-card__label {
	font-size: 0.78rem;
}

.wac-office-card__value {
	font-size: 0.92rem;
	line-height: 1.45;
}

.wac-office-card__value a {
	text-decoration: none;
}

.wac-office-card__value a:hover {
	text-decoration: underline;
}

.wac-office-card__map {
	overflow: hidden;
}

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

.wac-office-card__map a {
	display: block;
	width: 100%;
	height: 100%;
}

.wac-office-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: auto;
}

.wac-office-card__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease;
}

/* Navigation arrows */
.wac-offices__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-offices__arrow--prev {
	left: -22px;
}

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

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

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

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

@media (max-width: 767px) {
	.wac-office-card {
		flex-direction: column;
	}

	.wac-office-card__media {
		width: 100%;
	}

	.wac-offices__arrow {
		display: none;
	}
}
