/* ---------------------------------------------------------
 * Sen Pro FSE - Hero Slider
 * Full Width Frontend Slider
 * --------------------------------------------------------- */


/* ---------------------------------------------------------
 * Slider Wrapper
 * --------------------------------------------------------- */

.st-hero-slider,
.st-slider {
	position: relative;

	width: 100vw;
	max-width: none;

	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);

	padding: 0;

	overflow: hidden;
}


/* ---------------------------------------------------------
 * Slides
 * --------------------------------------------------------- */

.st-hero-slider > .st-hero-slide,
.st-slider > .st-slider-slide {
	position: absolute;
	inset: 0;

	width: 100%;
	max-width: none;

	margin: 0;

	display: flex;
	align-items: center;

	min-height: 580px;

	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;

	opacity: 0;
	visibility: hidden;

	transition:
		opacity 0.7s ease,
		visibility 0.7s ease;
}


/* Active slide */

.st-hero-slider > .st-hero-slide.is-active,
.st-slider > .st-slider-slide.is-active {
	position: relative;

	opacity: 1;
	visibility: visible;

	z-index: 2;
}


/* ---------------------------------------------------------
 * Overlay
 * --------------------------------------------------------- */

.st-hero-overlay {
	position: absolute;

	inset: 0;

	width: 100%;
	height: 100%;

	background: rgba(0, 0, 0, 0.58);

	z-index: 1;

	pointer-events: none;
}


/* ---------------------------------------------------------
 * Hero Content
 * --------------------------------------------------------- */

.st-hero-content {
	position: relative;

	z-index: 3;

	width: 100%;

	box-sizing: border-box;

	padding-top: 100px;
	padding-bottom: 100px;

	color: #fff;
}


/* ---------------------------------------------------------
 * Kicker
 * --------------------------------------------------------- */

.st-hero-kicker {
	margin-top: 0;
	margin-bottom: 14px;

	font-size: 13px;
	font-weight: 600;

	line-height: 1.4;

	letter-spacing: 1.5px;

	text-transform: uppercase;

	color: #159cf5;
}


/* ---------------------------------------------------------
 * Heading
 * --------------------------------------------------------- */

.st-hero-content h1 {
	max-width: 700px;

	margin-top: 0;
	margin-bottom: 20px;

	font-size: clamp(40px, 5vw, 68px);

	line-height: 1.08;

	font-weight: 700;

	letter-spacing: -1px;

	color: #fff;
}


/* Highlight */

.st-hero-content h1 span {
	color: #159cf5;
}


/* ---------------------------------------------------------
 * Description
 * --------------------------------------------------------- */

.st-hero-description {
	max-width: 570px;

	margin-top: 0;
	margin-bottom: 30px;

	font-size: 16px;

	line-height: 1.7;

	color: rgba(255, 255, 255, 0.85);
}


/* ---------------------------------------------------------
 * Buttons
 * --------------------------------------------------------- */

.st-hero-buttons {
	display: flex;

	flex-wrap: wrap;

	gap: 12px;
}


/* Button */

.st-hero-buttons .wp-block-button__link {
	padding: 12px 24px;

	border-radius: 5px;

	font-size: 14px;

	font-weight: 600;

	line-height: 1.4;

	text-decoration: none;

	transition:
		background-color 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}


/* ---------------------------------------------------------
 * Primary Button
 * --------------------------------------------------------- */

.st-primary-button .wp-block-button__link {
	background-color: #159cf5;

	color: #fff;

	border: 1px solid #159cf5;
}


.st-primary-button .wp-block-button__link:hover {
	background-color: #0786dc;

	color: #fff;

	border-color: #0786dc;

	transform: translateY(-2px);
}


/* ---------------------------------------------------------
 * Outline Button
 * --------------------------------------------------------- */

.st-outline-button .wp-block-button__link {
	background-color: transparent;

	color: #fff;

	border: 1px solid rgba(255, 255, 255, 0.7);
}


.st-outline-button .wp-block-button__link:hover {
	background-color: #fff;

	color: #111;

	border-color: #fff;

	transform: translateY(-2px);
}


/* ---------------------------------------------------------
 * Slider Navigation
 * --------------------------------------------------------- */

.st-hero-navigation {
	position: absolute;

	inset: 0;

	z-index: 10;

	pointer-events: none;
}


/* ---------------------------------------------------------
 * Previous / Next Arrow
 * --------------------------------------------------------- */

.st-hero-prev,
.st-hero-next {
	position: absolute;

	top: 50%;

	display: flex;

	align-items: center;
	justify-content: center;

	width: 46px;
	height: 46px;

	margin: 0;
	padding: 0;

	border: 1px solid rgba(255, 255, 255, 0.45);

	border-radius: 50%;

	background: rgba(0, 0, 0, 0.25);

	color: #fff;

	font-family: inherit;

	font-size: 20px;

	line-height: 1;

	cursor: pointer;

	transform: translateY(-50%);

	pointer-events: auto;

	transition:
		background-color 0.25s ease,
		border-color 0.25s ease,
		transform 0.25s ease;
}


/* Previous */

.st-hero-prev {
	left: 100px;
}


/* Next */

.st-hero-next {
	right: 100px;
}


/* Hover */

.st-hero-prev:hover,
.st-hero-next:hover {
	background-color: #159cf5;

	border-color: #159cf5;

	color: #fff;

	transform: translateY(-50%) scale(1.05);
}


/* Focus */

.st-hero-prev:focus-visible,
.st-hero-next:focus-visible {
	outline: 2px solid #fff;

	outline-offset: 3px;
}


/* ---------------------------------------------------------
 * Gutenberg alignment protection
 * --------------------------------------------------------- */

.st-hero-slider.alignfull,
.st-slider.alignfull {
	width: 100vw;

	max-width: none;

	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}


/* Prevent constrained parent from limiting slider */

.wp-site-blocks .st-hero-slider,
.wp-site-blocks .st-slider {
	max-width: none;
}


/* ---------------------------------------------------------
 * Tablet
 * --------------------------------------------------------- */

@media (max-width: 1024px) {

	.st-hero-slider > .st-hero-slide {
		min-height: 520px;
	}

	.st-hero-content {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.st-hero-content h1 {
		font-size: 52px;
	}

	.st-hero-prev {
		left: 20px;
	}

	.st-hero-next {
		right: 20px;
	}

}


/* ---------------------------------------------------------
 * Mobile
 * --------------------------------------------------------- */

@media (max-width: 767px) {

	.st-hero-slider > .st-hero-slide {
		min-height: 600px;
	}

	.st-hero-content {
		padding-top: 80px;
		padding-bottom: 80px;
	}

	.st-hero-content h1 {
		font-size: 40px;

		line-height: 1.12;

		letter-spacing: -0.5px;
	}

	.st-hero-description {
		font-size: 14px;

		line-height: 1.65;
	}

	.st-hero-buttons {
		gap: 10px;
	}

	.st-hero-buttons .wp-block-button__link {
		padding: 11px 20px;
	}

	.st-hero-prev,
	.st-hero-next {
		width: 38px;
		height: 38px;

		font-size: 16px;
	}

	.st-hero-prev {
		left: 12px;
	}

	.st-hero-next {
		right: 12px;
	}

}


/* ---------------------------------------------------------
 * Small Mobile
 * --------------------------------------------------------- */

@media (max-width: 480px) {

	.st-hero-slider > .st-hero-slide {
		min-height: 620px;
	}

	.st-hero-content {
		padding-top: 70px;
		padding-bottom: 70px;
	}

	.st-hero-content h1 {
		font-size: 34px;

		line-height: 1.12;
	}

	.st-hero-description {
		font-size: 14px;

		margin-bottom: 25px;
	}

	.st-hero-buttons {
		display: flex;

		flex-direction: column;

		align-items: flex-start;
	}

	.st-hero-buttons .wp-block-button__link {
		min-width: 120px;

		padding: 11px 20px;

		text-align: center;
	}

	.st-hero-prev,
	.st-hero-next {
		width: 36px;
		height: 36px;

		font-size: 15px;
	}

	.st-hero-prev {
		left: 10px;
	}

	.st-hero-next {
		right: 10px;
	}

}


/* ---------------------------------------------------------
 * Reduced Motion
 * --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

	.st-hero-slider > .st-hero-slide {
		transition: none;
	}

	.st-hero-buttons .wp-block-button__link,
	.st-hero-prev,
	.st-hero-next {
		transition: none;
	}

}

/* ---------------------------------------------------------
 * Reusable Card Slider
 * Listings, client logos, projects, testimonials, etc.
 * --------------------------------------------------------- */

.st-card-slider {
	position: relative;
	overflow: hidden;
}

.st-card-slider-track {
	--st-card-slider-gap: var(--wp--preset--spacing--medium, 24px);
	display: flex !important;
	flex-wrap: nowrap !important;
	gap: var(--st-card-slider-gap);
	margin: 0 !important;
	transition: transform 0.45s ease;
	will-change: transform;
}

.st-card-slider-track > .st-card-slider-slide,
.st-card-slider-track > .wp-block-column {
	flex: 0 0 calc((100% - (var(--st-card-slider-gap) * (var(--st-card-slider-visible, 3) - 1))) / var(--st-card-slider-visible, 3)) !important;
	min-width: 0;
	margin: 0 !important;
}

.st-card-slider-navigation {
	display: flex;
	justify-content: center;
	gap: 10px;
	margin-top: 28px;
}

.st-card-slider-navigation button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--wp--preset--color--primary, #0693e3);
	border-radius: 50%;
	background: var(--wp--preset--color--background, #ffffff);
	color: var(--wp--preset--color--primary, #0693e3);
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.st-card-slider-navigation button:hover,
.st-card-slider-navigation button:focus-visible {
	background: var(--wp--preset--color--primary, #0693e3);
	color: var(--wp--preset--color--accent-text, #ffffff);
}

.st-card-slider-navigation button:disabled {
	opacity: 0.45;
	cursor: not-allowed;
}

/* Add .st-card-slider--arrows-sides to the outer slider group. */
.st-card-slider--arrows-sides .st-card-slider-navigation {
	position: absolute;
	top: 50%;
	left: 14px;
	right: 14px;
	justify-content: space-between;
	margin: 0;
	transform: translateY(-50%);
	pointer-events: none;
	z-index: 3;
}

.st-card-slider--arrows-sides .st-card-slider-navigation button {
	pointer-events: auto;
	box-shadow: 0 8px 24px rgba(8, 35, 80, 0.15);
}

@media (max-width: 767px) {
	.st-card-slider--arrows-sides .st-card-slider-navigation {
		left: 8px;
		right: 8px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.st-card-slider-track,
	.st-card-slider-navigation button {
		transition: none;
	}
}

/* ---------------------------------------------------------
 * Agency banner pattern
 * --------------------------------------------------------- */
/*.st-main-banner {
	overflow: hidden;
	background: linear-gradient(135deg, #ffffff 0%, #f3f7ff 100%);
}*/

.st-main-banner__image {
	position: relative;
	padding: 0 28px 28px 0;
}

.st-main-banner__image > figure > img {
	display: block;
	width: 100%;
	min-height: 480px;
	object-fit: cover;
	border-radius: 34px;
}

.st-main-banner__stat {
	position: absolute;
	z-index: 2;
	display: flex;
	gap: 12px;
	align-items: center;
	padding: 18px 22px;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 16px 40px rgba(13, 47, 99, 0.14);
}

.st-main-banner__stat--top { top: 42px; left: -34px; }
.st-main-banner__stat--bottom { right: -16px; bottom: 76px; }
.st-main-banner__stat .wp-block-heading { display: block; margin: 0; font-size: 24px; line-height: 1; }
.st-main-banner__stat p { margin: 4px 0 0; color: #5f6d82; font-size: 13px; }

.st-main-banner__projects {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: -34px;
	display: flex;
	gap: 12px;
}

.st-main-banner__project {
	width: 120px;
	padding: 6px;
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 10px 25px rgba(13, 47, 99, 0.12);
}

.st-main-banner__project img { display: block; width: 100%; height: 70px; object-fit: cover; border-radius: 10px; }
.st-main-banner__project p { margin: 7px 4px 2px; font-size: 12px; font-weight: 600; }

@media (max-width: 781px) {
	.st-main-banner__image { padding: 35px 15px 34px; }
	.st-main-banner__image > figure > img { min-height: 380px; }
	.st-main-banner__stat--top { top: 0; left: -10px; }
	.st-main-banner__stat--bottom { right: 0; bottom: 50px; }
	.st-main-banner__projects { left: -10px; }
	.st-main-banner__project { width: 105px; }
}

/* ---------------------------------------------------------
 * Real Estate property CTA pattern
 * Uses native Gutenberg blocks so it has the same structure
 * in the Site Editor and on the front end.
 * --------------------------------------------------------- */
.sen-pro-fse-property-cta__layout { max-width: 1240px; margin: 0 auto; overflow: hidden; border-radius: 18px; background: #f4f8f8; }
.sen-pro-fse-property-cta__photo figure, .sen-pro-fse-property-cta__photo img { width: 100%; height: 100%; margin: 0; }
.sen-pro-fse-property-cta__photo img { display: block; min-height: 410px; object-fit: cover; }
.sen-pro-fse-property-cta__details { display: flex; padding: 24px; background: #f4f8f8; }
.sen-pro-fse-property-cta__details > .wp-block-group { width: 100%; }
.sen-pro-fse-property-cta__details .wp-block-heading { margin: 0; color: #151515; }
.sen-pro-fse-property-cta__details p { margin-top: 0; margin-bottom: 0; }
.sen-pro-fse-property-cta__details .wp-block-button { margin: 0; }
.sen-pro-fse-property-cta__details .is-style-outline .wp-block-button__link { padding: 8px 15px; border-color: #151515; border-radius: 999px; color: #151515; }
.sen-pro-fse-property-cta__button .wp-block-button__link { padding: 10px 16px; border-radius: 999px; background: #151515; color: #fff; line-height: 1.05; }
.sen-pro-fse-property-cta__button small { font-size: 10px; font-weight: 400; }
@media (max-width: 781px) { .sen-pro-fse-property-cta__layout { border-radius: 14px; } .sen-pro-fse-property-cta__photo img { min-height: 280px; } .sen-pro-fse-property-cta__details { padding: 22px; } }

/* The transparent header is taken out of normal flow so the hero begins behind it. */
.sen-pro-fse-transparent-header { position: absolute; z-index: 20; top: 45px; right: 0; left: 0;background: rgba(0,0,0,0.1) }
.sen-pro-fse-transparent-header .wp-block-navigation__responsive-container-open { color: #fff; }
.sen-pro-fse-transparent-header .wp-block-navigation__responsive-container.is-menu-open { background-color: #fff; color: #151515; }
.sen-pro-fse-transparent-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.sen-pro-fse-transparent-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { color: #151515 !important; }
.sen-pro-fse-footer-two .wp-block-cover__inner-container { display: flex; min-height: 600px; flex-direction: column; justify-content: space-between; }
@media (max-width: 1599px) { .sen-pro-fse-transparent-header { top: 45px; } }
@media (max-width: 781px) { .sen-pro-fse-transparent-header { top: 45px; } .sen-pro-fse-footer-two .wp-block-cover__inner-container { min-height: 520px; } }
@media (min-width: 1599px) { .logged-in .sen-pro-fse-transparent-header { top: 80px !important; } }
@media (max-width: 1599px) { .logged-in .sen-pro-fse-transparent-header { top: 80px !important; } }
@media (max-width: 781px) { .logged-in .sen-pro-fse-transparent-header { top: 90px !important; } .sen-pro-fse-footer-two .wp-block-cover__inner-container { min-height: 520px; } }
