/* ===================== BASE LAYOUT ===================== */
.ais-widget-wrap {
	position: relative;
	width: 100%;
}
.ais-swiper {
	width: 100%;
	height: 500px;
	position: relative;
	/* NOTE: no "overflow" declared here on purpose. Swiper's own bundled CSS
	   sets ".swiper { overflow:hidden }" for the normal slide effect, and
	   overrides it per-effect (e.g. ".swiper-cube{overflow:visible}",
	   ".swiper-flip{overflow:visible}") so 3D effects render correctly.
	   Declaring our own overflow here at the same specificity would load
	   after Swiper's CSS and silently break Fade/Cube/Coverflow/Flip. */
}
.ais-slide {
	position: relative;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	overflow: hidden;
}
.ais-bg-video,
.ais-bg-video-media {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	border: 0;
	z-index: 0;
}
.ais-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 1;
}

/* Whole-slide clickable link. Sits ABOVE background/overlay but BELOW the
   content block, so buttons and text inside .ais-slide-content (which sits
   on top) remain individually clickable with no invalid nested <a> tags -
   clicking anywhere else on the slide follows this link instead. */
.ais-slide-link-overlay {
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 100%;
	z-index: 2;
	display: block;
	text-decoration: none;
}

.ais-slide-content {
	position: relative;
	z-index: 3;
	padding: 40px 60px;
	max-width: 60%;
	color: #fff;
	width: 100%;
}
/* Side-by-side layouts need more horizontal room than the default 60% text
   column. The "Content Max Width" Style control still overrides this if set. */
.ais-slide-content.ais-layout-side-image-left,
.ais-slide-content.ais-layout-side-image-right {
	max-width: 90%;
}

.ais-align-left   { margin-right: auto; text-align: left; }
.ais-align-center { margin: 0 auto; text-align: center; }
.ais-align-right  { margin-left: auto; text-align: right; }

/* =====================================================================
   CONTENT LAYOUT SYSTEM
   One consistent markup (.ais-content-row > .ais-content-media +
   .ais-content-text) - the layout choice only changes flex-direction, so
   Image-Top/Text-Top/Image-Left/Image-Right all reuse the same HTML.
   ===================================================================== */
.ais-content-row {
	display: flex;
	align-items: center;
	gap: 30px;
	width: 100%;
}
.ais-content-row-textonly { display: block; }

.ais-content-media,
.ais-content-text {
	min-width: 0;
}

/* Stacked layouts - each block takes the full width, one above the other */
.ais-layout-stack-image-top .ais-content-row { flex-direction: column; align-items: flex-start; }
.ais-layout-stack-text-top  .ais-content-row { flex-direction: column-reverse; align-items: flex-start; }
.ais-layout-stack-image-top .ais-content-media,
.ais-layout-stack-image-top .ais-content-text,
.ais-layout-stack-text-top .ais-content-media,
.ais-layout-stack-text-top .ais-content-text {
	flex: 1 1 100%;
	width: 100%;
}
.ais-align-center.ais-layout-stack-image-top .ais-content-row,
.ais-align-center.ais-layout-stack-text-top .ais-content-row {
	align-items: center;
}
.ais-align-right.ais-layout-stack-image-top .ais-content-row,
.ais-align-right.ais-layout-stack-text-top .ais-content-row {
	align-items: flex-end;
}

/* Side-by-side layouts - image and text share the row */
.ais-layout-side-image-left  .ais-content-row { flex-direction: row; }
.ais-layout-side-image-right .ais-content-row { flex-direction: row-reverse; }
.ais-layout-side-image-left .ais-content-media,
.ais-layout-side-image-left .ais-content-text,
.ais-layout-side-image-right .ais-content-media,
.ais-layout-side-image-right .ais-content-text {
	flex: 1 1 50%;
}

@media (max-width: 767px) {
	/* Side-by-side collapses to a simple stack on small screens */
	.ais-layout-side-image-left .ais-content-row,
	.ais-layout-side-image-right .ais-content-row {
		flex-direction: column;
		align-items: flex-start;
	}
	.ais-layout-side-image-left .ais-content-media,
	.ais-layout-side-image-left .ais-content-text,
	.ais-layout-side-image-right .ais-content-media,
	.ais-layout-side-image-right .ais-content-text {
		flex: 1 1 100%;
		width: 100%;
	}
}

.ais-slide-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 40px;
	width: 40px;
	height: 40px;
	margin-bottom: 16px;
}
.ais-slide-icon svg { width: 100%; height: 100%; fill: currentColor; }

.ais-slide-fg-image {
	max-width: 100%;
	height: auto;
	display: block;
}
.ais-align-center .ais-content-media .ais-slide-fg-image { margin-left: auto; margin-right: auto; }

.ais-slide-fg-video,
.ais-fg-video-media {
	width: 100%;
	max-width: 480px;
	aspect-ratio: 16/9;
	border: 0;
	display: block;
}

.ais-slide-subheading {
	font-size: 16px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 10px;
}
.ais-slide-heading {
	font-size: 42px;
	line-height: 1.2;
	margin: 0 0 16px;
	font-weight: 700;
}
.ais-slide-text {
	font-size: 16px;
	line-height: 1.6;
	margin-bottom: 22px;
}
.ais-slide-text p { margin: 0 0 10px; }

/* ===================== BUTTONS ===================== */
.ais-buttons-wrap {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.ais-buttons-align-left   { justify-content: flex-start; }
.ais-buttons-align-center { justify-content: center; }
.ais-buttons-align-right  { justify-content: flex-end; }

/* Fixed bottom bar placement - independent of the text content block above */
.ais-buttons-bar {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 4;
	padding: 20px 40px;
	background: linear-gradient(to top, rgba(0,0,0,0.35), transparent);
}

.ais-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	border-radius: 4px;
	border: 2px solid transparent;
	font-weight: 600;
	text-decoration: none;
	transition: all .25s ease;
	line-height: 1.2;
}
.ais-btn.solid {
	background-color: #ff5a5f;
	border-color: #ff5a5f;
	color: #fff;
}
.ais-btn.solid:hover { background-color: #e14448; border-color: #e14448; }

.ais-btn.outline {
	background-color: transparent;
	border-color: #ff5a5f;
	color: #fff;
}
.ais-btn.outline:hover { background-color: #ff5a5f; }

.ais-btn.text {
	background: transparent;
	border-color: transparent;
	padding: 12px 6px;
	color: #fff;
	text-decoration: underline;
}

.ais-btn.icon-only {
	width: 48px;
	height: 48px;
	padding: 0;
	border-radius: 50%;
	justify-content: center;
	background-color: #ff5a5f;
	color: #fff;
}
.ais-btn-icon svg,
.ais-btn.icon-only svg { width: 18px; height: 18px; fill: currentColor; }

/* =====================================================================
   ARROWS
   Box size is fully derived from icon-size + padding (both editable from
   Style tab), instead of one fixed "size" value - so the box and the
   glyph inside it can be sized independently.
   ===================================================================== */
.ais-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: content-box;
	cursor: pointer;
	color: #fff;
	background-color: rgba(255,255,255,0.2);
	border: 2px solid transparent;
	padding: 12px;
	border-radius: 50%;
	transition: all .25s ease;
}
.ais-arrow svg { width: 18px; height: 18px; flex-shrink: 0; }
.ais-arrow-prev { left: 20px; }
.ais-arrow-next { right: 20px; }

/* Arrow position: Outside Edges pulls the arrows just past the slider
   boundary; Inside Edges (default) keeps them overlaid on the image. */
.ais-arrow-pos-outside .ais-arrow-prev { left: -22px; }
.ais-arrow-pos-outside .ais-arrow-next { right: -22px; }

/* Style 1: Circle outline */
.ais-arrow-style-1 .ais-arrow {
	border-radius: 50%;
	border: 2px solid rgba(255,255,255,0.7);
	background-color: rgba(0,0,0,0.15);
}

/* Style 2: Filled square */
.ais-arrow-style-2 .ais-arrow {
	border-radius: 6px;
	border-color: transparent;
	background-color: rgba(0,0,0,0.45);
}

/* Style 3: Minimal chevron (no background) */
.ais-arrow-style-3 .ais-arrow {
	background: transparent;
	border-color: transparent;
}
.ais-arrow-style-3 .ais-arrow:hover { background: transparent; opacity: 0.7; }

/* Style 4: Bold filled circle */
.ais-arrow-style-4 .ais-arrow {
	border-radius: 50%;
	border-color: transparent;
	background-color: #ff5a5f;
	color: #fff;
	box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* =====================================================================
   DOTS (Pagination) - overlaid on the slider, positioned via a grid of
   6 corner/edge classes on the outer widget wrapper.
   ===================================================================== */
.ais-pagination {
	position: absolute;
	z-index: 10;
}
.ais-dots-pos-bottom-center .ais-pagination { bottom: 18px; left: 50%; transform: translateX(-50%); }
.ais-dots-pos-bottom-left   .ais-pagination { bottom: 18px; left: 24px; }
.ais-dots-pos-bottom-right  .ais-pagination { bottom: 18px; right: 24px; }
.ais-dots-pos-top-center    .ais-pagination { top: 18px; left: 50%; transform: translateX(-50%); }
.ais-dots-pos-top-left      .ais-pagination { top: 18px; left: 24px; }
.ais-dots-pos-top-right     .ais-pagination { top: 18px; right: 24px; }

.swiper-pagination-bullet {
	display: inline-block;
	width: 10px;
	height: 10px;
	background: rgba(255,255,255,0.5);
	opacity: 1;
	margin: 0 5px;
	border-radius: 50%;
	cursor: pointer;
	transition: all .25s ease;
}
.swiper-pagination-bullet-active {
	background: #fff;
}

/* Dots design - square */
.ais-dots-square .swiper-pagination-bullet { border-radius: 2px; }

/* Dots design - line */
.ais-dots-line .swiper-pagination-bullet {
	width: 22px;
	height: 4px;
	border-radius: 2px;
}

/* =====================================================================
   FRACTION - either overlaid INSIDE the slider (6-position grid, same
   pattern as Dots) or rendered OUTSIDE the slider entirely in normal
   document flow, below the swiper, aligned left/center/right.
   ===================================================================== */
.ais-fraction {
	color: #fff;
	font-weight: 600;
	font-size: 15px;
	letter-spacing: .5px;
	display: inline-block;
}
.ais-fraction-pill .ais-fraction {
	background: rgba(0,0,0,0.4);
	padding: 6px 16px;
	border-radius: 20px;
}

/* Inside (overlay) positions */
.ais-fraction-pos-bottom-center .ais-swiper > .ais-fraction { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 10; }
.ais-fraction-pos-bottom-left   .ais-swiper > .ais-fraction { position: absolute; bottom: 18px; left: 24px; z-index: 10; }
.ais-fraction-pos-bottom-right  .ais-swiper > .ais-fraction { position: absolute; bottom: 18px; right: 24px; z-index: 10; }
.ais-fraction-pos-top-center    .ais-swiper > .ais-fraction { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); z-index: 10; }
.ais-fraction-pos-top-left      .ais-swiper > .ais-fraction { position: absolute; top: 18px; left: 24px; z-index: 10; }
.ais-fraction-pos-top-right     .ais-swiper > .ais-fraction { position: absolute; top: 18px; right: 24px; z-index: 10; }

/* Outside (below the slider, normal document flow) */
.ais-fraction-outside {
	width: 100%;
	margin-top: 14px;
}
.ais-fraction-outside-align-left   .ais-fraction-outside { text-align: left; }
.ais-fraction-outside-align-center .ais-fraction-outside { text-align: center; }
.ais-fraction-outside-align-right  .ais-fraction-outside { text-align: right; }
/* Outside the (usually dark) slide image, default to a dark, readable color
   unless the Style tab's Fraction Text Color control overrides it. */
.ais-fraction-outside .ais-fraction { color: #333; }
.ais-fraction-outside .ais-fraction-pill .ais-fraction { color: #fff; }

/* ===================== PROGRESS BAR ===================== */
.ais-progressbar-track {
	position: absolute;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgba(255,255,255,0.25);
	z-index: 10;
	overflow: hidden;
}
.ais-progressbar-pos-top .ais-progressbar-track { top: 0; }
.ais-progressbar-pos-bottom .ais-progressbar-track { bottom: 0; }

.ais-progressbar-fill {
	height: 100%;
	width: 0%;
	background: #ff5a5f;
	transition: width .2s linear;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 767px) {
	.ais-slide-content { max-width: 90%; padding: 24px; }
	.ais-slide-heading { font-size: 28px; }
}
