
/* ============================================
   CRANE BABY - HOMEPAGE BANNER SLIDER
   Font: Montserrat Light
   ============================================ */
.banner-slider {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: #000;
	font-family: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.slide-content .h1 {
	font-family: Montserrat_Light;
	font-size: 60px;
	line-height: 44px;
	letter-spacing: normal;
	color: #0d0d0d;
	margin: 0;
	font-weight: 600;
}

/* .slide-content .btn {
  padding-bottom: 13px !important;
} */
.banner-slider.height-full {
	height: 100vh;
	min-height: 500px;
	max-height: none;
}

.banner-slider.height-large {
	height: 80vh;
	min-height: 400px;
	max-height: 900px;
}

.banner-slider.height-medium {
	height: 60vh;
	min-height: 350px;
	max-height: 700px;
}

.banner-slider.height-custom {
	min-height: 300px;
}

.slides-container {
	position: relative;
	width: 100%;
	height: 100%;
}

.slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease-in-out, visibility .8s ease-in-out;
	z-index: 1;
}

.slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
}

.slide-media {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	overflow: hidden;
}

.slide-media img, .slide-media video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	display: block;
}

.slide-video {
	position: absolute;
	top: 50%;
	left: 50%;
	min-width: 100%;
	min-height: 100%;
	width: auto;
	height: auto;
	transform: translate(-50%, -50%);
}

.slide-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
	z-index: 2;
	pointer-events: none;
}

.slide-content {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 3;
	padding: 40px;
	box-sizing: border-box;
}

.slide-content-inner {
	text-align: center;
	color: #fff;
	transform: translateY(30px);
	opacity: 0;
	transition: transform .7s cubic-bezier(.25, .46, .45, .94) .3s, opacity .7s cubic-bezier(.25, .46, .45, .94) .3s;
}

.slide.active .slide-content-inner {
	transform: translateY(0);
	opacity: 1;
}

.slide-heading {
	font-family: "Montserrat_Light", "Montserrat Light", "Montserrat", sans-serif;
	font-size: clamp(2rem, 5vw, 4.5rem);
	font-weight: 300;
	margin: 0 0 16px 0;
	line-height: 1.15;
	text-shadow: 0 2px 20px rgba(0, 0, 0, .4);
	letter-spacing: .02em;
}

.slide-subheading {
	font-family: "Montserrat_Light", "Montserrat Light", "Montserrat", sans-serif;
	font-size: clamp(2rem, 2.2vw, 1.4rem);
	font-weight: 300;
	margin: 28px 0 0px 0;
	line-height: 1.6;
	opacity: .95;
	text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
	letter-spacing: .02em;
}

.slide-button {
	font-family: "Montserrat_Light", "Montserrat Light", "Montserrat", sans-serif;
	display: inline-block;
	padding: 16px 40px;
	background: #fff;
	color: #000;
	text-decoration: none;
	font-weight: 300;
	font-size: 1rem;
	border-radius: 4px;
	transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
	letter-spacing: .04em;
	text-transform: uppercase;
}

.slide-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, .25);
	background: #f8f8f8;
}

.slide-button:active {
	transform: translateY(-1px);
}

/* Center Bottom alignment */
.slide-content.align-center-bottom {
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 10%;
	padding-top: 0;
}

.slide-content.align-center-bottom .slide-content-inner {
	text-align: center;
}

/* Alignments */
.slide-content.align-left {
	justify-content: flex-start;
	padding-left: 8%;
	text-align: left;
}

.slide-content.align-left .slide-content-inner {
	text-align: left;
}

.slide-content.align-right {
	justify-content: flex-end;
	padding-right: 8%;
	text-align: right;
}

.slide-content.align-right .slide-content-inner {
	text-align: right;
}

.slide-content.align-bottom-left {
	align-items: flex-end;
	justify-content: flex-start;
	padding: 0 0 8% 8%;
	text-align: left;
}

.slide-content.align-bottom-left .slide-content-inner {
	text-align: left;
}

.slide-content.align-bottom-right {
	align-items: flex-end;
	justify-content: flex-end;
	padding: 0 8% 8% 0;
	text-align: right;
}

.slide-content.align-bottom-right .slide-content-inner {
	text-align: right;
}

.slide-content a {
	margin-top: 30px;
}

.text-light .h1 {
	color: #f8f9fa !important;
}

/* Text color */
.slide-content.text-dark .slide-heading, .slide-content.text-dark .slide-subheading {
	color: #000;
	text-shadow: none;
}

.slide-content.text-dark .slide-button {
	background: #000;
	color: #fff;
}

.slide-content.text-dark .slide-button:hover {
	background: #222;
	box-shadow: 0 12px 30px rgba(0, 0, 0, .15);
}

/* Navigation arrows */
.slider-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 52px;
	height: 52px;
	background: rgba(255, 255, 255, .2);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	z-index: 10;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .3s ease, transform .3s ease, opacity .3s ease;
	padding: 0;
	outline: none;
}

.slider-nav:hover {
	background: rgba(255, 255, 255, .4);
	transform: translateY(-50%) scale(1.1);
}

.slider-nav:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.slider-nav svg {
	width: 22px;
	height: 22px;
	pointer-events: none;
}

.slider-prev {
	left: 24px;
}

.slider-next {
	right: 24px;
}

/* Slider controls - dots + pause button */
.slider-controls {
	position: absolute;
	bottom: 32px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	z-index: 10;
}

.slider-dots {
	display: flex;
	gap: 14px;
	padding: 8px 16px;
	background: rgba(0, 0, 0, .2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border-radius: 30px;
}

.slider-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .4);
	border: 2px solid transparent;
	cursor: pointer;
	transition: all .3s ease;
	padding: 0;
	outline: none;
	position: relative;
}

.slider-dot:hover {
	background: rgba(255, 255, 255, .7);
	transform: scale(1.2);
}

.slider-dot:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.slider-dot.active {
	background: #fff;
	transform: scale(1.3);
	box-shadow: 0 0 10px rgba(255, 255, 255, .5);
}

/* Pause button */
.slider-pause-btn {
	width: 36px;
	height: 36px;
	background: rgba(0, 0, 0, .2);
	backdrop-filter: blur(5px);
	-webkit-backdrop-filter: blur(5px);
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 50%;
	color: #fff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background .3s ease, transform .3s ease;
	padding: 0;
	outline: none;
}

.slider-pause-btn:hover {
	background: rgba(0, 0, 0, .4);
	transform: scale(1.1);
}

.slider-pause-btn:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 2px;
}

.slider-pause-btn svg {
	width: 14px;
	height: 14px;
	pointer-events: none;
}

/* Progress bar */
.slider-progress {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: rgba(255, 255, 255, .15);
	z-index: 10;
	overflow: hidden;
}

.slider-progress-bar {
	height: 100%;
	width: 0%;
	background: linear-gradient(90deg, #fff, rgba(255, 255, 255, .8));
	transition: width linear;
	border-radius: 0 2px 2px 0;
}

/* Transitions */
.banner-slider[data-transition="fade"] .slide {
	transition: opacity .8s ease-in-out, visibility .8s ease-in-out;
}

.banner-slider[data-transition="slide"] .slides-container {
	display: flex;
	transition: transform .6s cubic-bezier(.25, .46, .45, .94);
}

.banner-slider[data-transition="slide"] .slide {
	position: relative;
	opacity: 1;
	visibility: visible;
	min-width: 100%;
	flex-shrink: 0;
}

.banner-slider[data-transition="slide"] .slide-overlay, .banner-slider[data-transition="slide"] .slide-media, .banner-slider[data-transition="slide"] .slide-content {
	position: absolute;
}

/* Responsive */
@media (min-width: 1440px) {
	.banner-slider.height-large {
		max-height: 850px;
	}
	
	.slide-content {
		padding: 60px;
	}
}

@media (max-width: 1439px) {
	.banner-slider.height-large {
		max-height: 750px;
	}
}

@media (max-width: 1439px) and (min-width: 1024px) {
	.slide-content.align-center-bottom {
		padding-bottom: 15%;
	}
}

@media (max-width: 1023px) {
	.slide-content.align-center-bottom {
		padding-bottom: 18%;
	}
	
	.banner-slider.height-full {
		min-height: 450px;
	}
	
	.banner-slider.height-large {
		max-height: 600px;
		min-height: 350px;
	}
	
	.banner-slider.height-medium {
		max-height: 500px;
		min-height: 300px;
	}
	
	.slide-content {
		padding: 30px;
	}
	
	.slide-heading {
		font-size: clamp(1.8rem, 5.5vw, 3rem);
	}
	
	.slide-subheading {
		font-size: clamp(.95rem, 3.5vw, 1.2rem);
	}
	
	.slider-nav {
		width: 46px;
		height: 46px;
	}
	
	.slider-nav svg {
		width: 18px;
		height: 18px;
	}
	
	.slider-prev {
		left: 18px;
	}
	
	.slider-next {
		right: 18px;
	}
	
	.slider-controls {
		bottom: 24px;
		gap: 10px;
	}
	
	.slider-dots {
		gap: 12px;
		padding: 6px 12px;
	}
	
	.slider-pause-btn {
		width: 32px;
		height: 32px;
	}
	
	.slider-pause-btn svg {
		width: 12px;
		height: 12px;
	}
	
	.slide-content.align-left, .slide-content.align-bottom-left {
		padding-left: 6%;
	}
	
	.slide-content.align-right, .slide-content.align-bottom-right {
		padding-right: 6%;
	}
}

@media (max-width: 767px) {
	.banner-slider.height-full {
		height: 70vh;
		min-height: 400px;
	}
	
	.slide-content.align-center-bottom {
		padding-bottom: 20%;
	}
	
	.banner-slider.height-large {
		height: 55vh;
		max-height: 500px;
		min-height: 300px;
	}
	
	.banner-slider.height-medium {
		height: 45vh;
		max-height: 400px;
		min-height: 250px;
	}
	
	.slide-content {
		padding: 20px;
	}
	
	.slide-heading {
		font-size: clamp(1.6rem, 6vw, 2.5rem);
		margin-bottom: 12px;
		line-height: 1.15;
	}
	
	.slide-subheading {
		font-size: clamp(.9rem, 4vw, 1.1rem);
		margin-bottom: 20px;
		line-height: 1.5;
		margin-top: 0px;
	}
	
	.slide-content a {
		margin-top: 0px;
	}
	
	.slide-button {
		padding: 12px 28px;
		font-size: .9rem;
	}
	
	.slider-nav {
		width: 42px;
		height: 42px;
	}
	
	.slider-prev {
		left: 12px;
		display: none;
	}
	
	.slider-next {
		right: 12px;
		display: none;
	}
	
	/* .slider-controls {
    bottom: 18px;
    gap: 10px;
  } */
	.slider-controls {
		bottom: 18px;
		gap: 10px;
		display: flex;
		flex-direction: row;
	}
	
	.slider-dots {
		gap: 10px;
		padding: 6px 12px;
	}
	
	.slider-dot {
		width: 10px;
		height: 10px;
	}
	
	.slider-pause-btn {
		width: 32px;
		height: 32px;
	}
	
	.slider-pause-btn svg {
		width: 12px;
		height: 12px;
	}
	
	.slider-progress {
		height: 3px;
	}
	
	.slide-content.align-left, .slide-content.align-right, .slide-content.align-bottom-left, .slide-content.align-bottom-right {
		justify-content: center;
		align-items: center;
		padding: 20px;
		text-align: center;
	}
	
	.slide-content.align-left .slide-content-inner, .slide-content.align-right .slide-content-inner, .slide-content.align-bottom-left .slide-content-inner, .slide-content.align-bottom-right .slide-content-inner {
		text-align: center;
	}
}

@media (max-width: 479px) {
	.slide-content a {
		margin-top: 0px;
	}
	
	.banner-slider.height-full {
		height: 60vh;
		min-height: 350px;
	}
	
	.banner-slider.height-large {
		height: 50vh;
		min-height: 280px;
	}
	
	.slide-content.align-center-bottom {
		padding-bottom: 24%;
	}
	
	.banner-slider.height-medium {
		height: 40vh;
		min-height: 220px;
	}
	
	.slide-content {
		padding: 16px;
	}
	
	.slide-heading {
		font-size: clamp(1.4rem, 7vw, 2rem);
		margin-bottom: 10px;
		letter-spacing: .01em;
	}
	
	.slide-subheading {
		font-size: 1rem;
		/* margin-bottom: 16px; */
		line-height: 1.5;
		margin-top: 10px;
	}
	
	.btn {
		padding: 10px 16px;
	}
	
	.slide-button {
		padding: 10px 24px;
		font-size: .85rem;
		letter-spacing: .03em;
	}
	
	.slider-nav {
		display: none;
	}
	
	.slider-controls {
		bottom: 14px;
		gap: 8px;
	}
	
	.slider-dots {
		gap: 8px;
		padding: 5px 10px;
	}
	
	.slider-dot {
		width: 8px;
		height: 8px;
	}
	
	.slider-pause-btn {
		width: 28px;
		height: 28px;
	}
	
	.slider-pause-btn svg {
		width: 11px;
		height: 11px;
	}
	
	.slider-progress {
		height: 2px;
	}
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
	.slide, .slide-content-inner, .slider-progress-bar, .slides-container, .slider-nav, .slider-dot {
		transition: none !important;
		animation: none !important;
	}
	
	.slider-progress-bar {
		display: none;
	}
	
	.banner-slider[data-transition="slide"] .slides-container {
		transition: none !important;
	}
}

@media (prefers-contrast: high) {
	.slide-overlay {
		opacity: .7 !important;
	}
	
	.slider-dot.active {
		border-color: #fff;
		border-width: 3px;
	}
	
	.slider-nav {
		border-width: 2px;
		background: rgba(0, 0, 0, .6);
	}
	
	.slide-button {
		border: 2px solid currentColor;
	}
}

.slider-nav:focus-visible, .slider-dot:focus-visible, .slide-button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Mobile: 480px and below */
@media (max-width: 480px) {
	.slide-content .h1 {
		font-size: 28px;
		line-height: 32px;
		margin-bottom: 16px;
	}
}

/* Large Mobile / Small Tablet: 481px - 767px */
@media (min-width: 481px) and (max-width: 767px) {
	.slide-content .h1 {
		font-size: 36px;
		line-height: 38px;
		margin-bottom: 20px;
	}
}

/* Tablet: 768px - 991px */
@media (min-width: 768px) and (max-width: 991px) {
	.slide-content .h1 {
		font-size: 44px;
		line-height: 40px;
	}
}

/* Small Desktop / Large Tablet: 992px - 1199px */
@media (min-width: 992px) and (max-width: 1199px) {
	.slide-content .h1 {
		font-size: 52px;
		line-height: 42px;
	}
}

/* Desktop: 1200px - 1399px */
@media (min-width: 1200px) and (max-width: 1399px) {
	.slide-content .h1 {
		font-size: 56px;
		line-height: 43px;
	}
}

/* Large Desktop: 1400px and above */
@media (min-width: 1400px) {
	.slide-content .h1 {
		font-size: 64px;
		line-height: 46px;
	}
}

@media (max-width: 509px) {
	.page-id-43 .section_1 .banner-slider {
		margin-top: 18px;
	}
}
