/* === Locati Slider CSS (clean + responsive) === */
/* Fullscreen modal */
.locati-modal{
	position:fixed;
	inset:0;
	background:#111;
	z-index:99999;
	/* no vertical centering – slider handles layout */
	display:block;
	padding:0;
}

/* Open button (if used) */
.locati-open{
	display:inline-block;
	padding:10px 16px;
	background:#222;
	color:#fff;
	border:0;
	cursor:pointer;
}

/* Close button */
.locati-close{
	position:absolute;
	top:38px;
	right:38px;
	font-size:58px;
	line-height:1;
	background:transparent;
	color:#fff;
	border:0;
	cursor:pointer;
	opacity:.7;
	transition:opacity .25s ease, transform .25s ease;
	z-index:60;
}
.locati-close:hover{
	opacity:1;
	transform:scale(1.1);
}

/* Swiper container */
.locati-swiper{
	position:relative;
	width:100vw;
	height:100vh;          /* full viewport height */
	padding-bottom:0;      /* dots sit over the image, no reserved space */
}

/* Wrapper & slides should match viewport height */
.locati-swiper .swiper-wrapper,
.locati-swiper .swiper-slide{
	height:100vh;
}

.locati-swiper .swiper{
	padding-left:16px;
	padding-right:16px;
}

/* Slides */
.swiper-slide{
	display:flex;
	align-items:center;
	justify-content:center;
	transition:filter .35s ease, opacity .35s ease, transform .35s ease;
	filter:grayscale(100%);
	opacity:.35;
	transform:none;
}

/* Images – JS sets exact width/height but keep safety rules */
.swiper-slide img{
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.swiper-slide.swiper-slide-active{
	filter:none;
	opacity:1;
	transform:none;
}
.swiper-slide.swiper-slide-prev,
.swiper-slide.swiper-slide-next{
	filter:grayscale(100%);
	opacity:.55;
}

/* Arrows (Enfold icon font) */
.locati-nav{
	position:absolute;
	top:50%;
	transform:translateY(-50%);
	width:70px;
	height:70px;
	cursor:pointer;
	z-index:30;
	background:none;
	border:0;
	opacity:.6;
	transition:opacity .25s ease;
	font-family:'entypo-fontello-enfold';
	font-size:60px;
	line-height:70px;
	text-align:center;
	color:#fff;
}
.locati-nav:hover{
	opacity:1;
}
.locati-prev::before{
	content:'\E87c';
}
.locati-next::before{
	content:'\E87d';
}
.locati-prev{
	left:20px;
}
.locati-next{
	right:20px;
}

/* Title (on image) */
.locati-title{
	position:absolute;
	left:0;
	right:0;
	bottom:48px;
	text-align:center;
	color:#fff;
	z-index:50;
	pointer-events:none;
	font-family:"Playfair Display", serif;
	font-weight:600;
	text-transform:capitalize;
	letter-spacing:none;
	font-size:clamp(2.2rem, 3.5vw, 3.4rem);
	text-shadow:0 2px 6px rgba(0,0,0,.55);
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
	margin: 0 var(--swiper-pagination-bullet-horizontal-gap,0px) !important;
}

/* Pagination (flex, can wrap on small) */
.locati-swiper .swiper-pagination{
	position:absolute;
	left:0;
	right:0;
	bottom:16px !important;
	z-index:20;
	display:flex;
	flex-wrap:wrap;
	justify-content:center;
	gap:6px;
}
.swiper-pagination-bullet{
	width:14px;
	height:14px;
	border:1px solid #fff !important;
	border-radius:3px;
	background:transparent;
	opacity:.6;
	transition:all .25s ease;
	cursor:pointer;
}
.swiper-pagination-bullet:hover,
.swiper-pagination-bullet-active{
	background:#fff;
	opacity:1;
}

/* ===== Desktop containment (≥1025px): title + dots inside image ===== */
@media (min-width:1025px){
	/* no extra padding-bottom; everything is on top of the image */
	.locati-title{
		bottom:88px;
	}
	.locati-swiper .swiper-pagination{
		bottom:28px !important;
		flex-wrap:nowrap;
		gap:8px;
	}
}

/* ===== Responsive sizing ===== */
@media (max-width:1224px){
	.locati-title{
		bottom:56px;
	}
}
@media (max-width:1024px){
	.locati-title{
		bottom:58px;
	}
}
@media (max-width:990px){
	.locati-title{
		bottom:64px;
	}
}
@media (max-width:767px){
	.locati-swiper{
		padding-bottom:0px;
	}
	/* extra for wrapped dots */
	.locati-title{
		bottom:64px;
		letter-spacing:.16em;
	}
	.swiper-pagination-bullet{
		width:12px;
		height:12px;
	}
	.locati-nav{
		width:48px;
		height:48px;
		font-size:40px;
		line-height:48px;
	}
	.locati-prev{
		left:12px;
	}
	.locati-next{
		right:12px;
	}
}

/* ===== Mobile tune — 480px and below ===== */
@media (max-width: 480px) {
  .locati-swiper .swiper { padding-left: 8px; padding-right: 8px; }

  .swiper-slide-prev,
  .swiper-slide-next {
    opacity: 0 !important;
    filter: none !important;
    transform: none !important;
    pointer-events: none !important;
    visibility: hidden;
  }

  .locati-title {
    bottom: 106px;
    letter-spacing: .14em;
  }

  .locati-swiper .swiper-pagination {
    display:none;
  }
  .swiper-pagination-bullet {
    width: 13px;
    height: 13px;
  }

  .locati-close {
    top: 56px;
    right: 16px;
    font-size: 52px;
  }
}
