/*
 Theme Name: Hello Elementor Child
 Template: hello-elementor
 Description: A child theme for Hello Elementor
 Version: 1.0
 Author: Elementor Team
 Text Domain: hello-elementor-child
*/

/*Listing Grid Nav Icon*/
.jet-listing-grid__slider-icon.slick-arrow > svg {
    display: none !important; 
}

/* Next Arrow Normal*/
.jet-listing-grid__slider-icon.next-arrow.slick-arrow {
    width: 48px; 
    height: 48px; 
    background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/Button-previous-slide.svg') no-repeat center center !important;
    background-size: contain !important;
	z-index:1;
}

/* Prev Arrow Normal */
.jet-listing-grid__slider-icon.prev-arrow.slick-arrow {
    width: 48px; 
    height: 48px; 
    background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/Button-previous-slide.svg') no-repeat center center !important;
    background-size: contain !important;
	z-index:1;
}

@media only screen and (max-width: 1023px) {
	.jet-listing-grid__slider-icon {
    width: 36px !important; 
    height: 36px !important; 
}
}
/*End Listing Grid Nav Icon*/

/* Developments Lisiting Full Width */
body {
  overflow-x: hidden;
}


.developments-listing-container {
	width: clamp(70vw, 89vw, 99vw);
	position: relative;
	padding: 4px 0 100px 15px;
	margin: -4px 0 0 -15px;
	overflow-x: clip; 
}


@media only screen and (min-width: 1401px) and (max-width: 1540px) {
	.developments-listing-container {
		width: 90vw;
	}
}
@media only screen and (min-width: 1300px) and (max-width: 1400px) {
	.developments-listing-container {
		width: 96vw;
	}
}
@media only screen and (max-width: 1299px) {
	.developments-listing-container {
		width: 100vw;
	}
}
@media only screen and (min-width: 1600px) {
	.developments-listing-container {
		padding-bottom: 10.5%;
	}
}


.developments-custom-grid {
	border-radius: 12px;
	position: relative;
	width: 100%;
}

.dev-grid-track {
	display: flex;
	transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	will-change: transform;
}

.dev-grid-item {
	min-width: 27.6%;
	margin-right: 24px;
	border-radius:16px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
	height: fit-content;
}

.dev-grid-item:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.dev-item-header {
	height: 78.15%;
	border-radius: 16px 16px 0 0;
	position: relative;
	overflow: hidden;
}

.dev-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.dev-item-content {
	padding: 16px;
	border-radius: 0 0 16px 16px;
	background: #E8ECEF;
}

.dev-item-content-inner {
	padding: 16px;
	border-radius: 8px;
	background: #FCFCFC;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.dev-item-info {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.dev-location-info {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
}

.dev-location-icon {
	width: 20px;
	height: 20px;
	background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/SVG-5.svg');
}

.dev-property-name {
	font-family: Instrument Sans;
	font-weight: 400;
	font-size: 20px;
	line-height: 26px;
	letter-spacing: -0.6px;
	color: #012B5D;
	margin: 0;
}

.dev-property-location {
	font-family: Instrument Sans;
	font-weight: 400;
	font-size: 14px;
	line-height: 19.88px;
	letter-spacing: -0.008px;
	color: #565656;
	margin: 0;
}

.dev-view-button {
	display: inline-flex;
	align-items: center;
	padding: 10px;
	background: #E8ECEF;
	color: #111111;
	border-radius: 12px;
	font-family: Instrument Sans;
	font-weight: 400;
	font-size: 14px;
	line-height: 21px;
	letter-spacing: -0.011px;
	transition: all 0.3s ease;
	width: 45%;
    text-align: center;
    line-height: 1.2em;
}

.dev-view-button:hover {
	color: white;
	background: #012B5D;
}

button.dev-nav-arrow.dev-prev, button.dev-nav-arrow.dev-next  {
	padding: 0;
}

.dev-nav-arrow {
	position: absolute;
	top: 110%;
	width: 48px;
	height: 48px;
	border: none;
}

.dev-nav-arrow:hover {
	cursor: pointer;
}

.dev-prev {
	left: 40%;
	background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/Button-previous-slide.svg');
}

.dev-next {
	left: 45%;
	background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/Button-next-slide.svg');
}

.dev-nav-arrow:disabled {
	opacity: 0.3;
	cursor: not-allowed;
}

/* Responsive */
@media (max-width: 1023px) {
	.developments-listing-container {
	padding-bottom:75px;
}
	
	.dev-item-header {
		height: 72.5%;
		border-radius: 12px 12px 0 0;
	}
	
	.dev-item-content {
	padding: 12px;
	border-radius: 0 0 12px 12px;
}
	.dev-item-info {
	gap: 8px;
}

.dev-location-info {
	display: flex;
	flex-direction: row;
	gap: 8px;
}

.dev-property-name {
	font-size: 16px;
	line-height: 16px;
}

.dev-property-location {
	font-size: 10px;
	line-height: 10px;
}

.dev-view-button {
	padding: 10px;
	background: #E8ECEF;
	border-radius: 8px;
	font-size: 12px;
	line-height: 1.2em;
	letter-spacing: -0.011px;
}

	.dev-nav-arrow {
	top: 109%;
	max-width: 36px; 
	max-height: 36px;
}


.dev-prev {
	left: 43%;
	background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/Button-previous-slide-2.svg');
}

.dev-next {
	left: 50%;
	background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/09/Button-next-slide-1.svg');
}
}
@media (min-width: 768px) and (max-width: 1023px) {
	.dev-grid-item {
		min-width: 40.1%;
	}
}
@media (max-width: 767px) {
	.dev-grid-item {
		min-width: 72.6%;
	}
	.dev-prev {
	left: 38% !important;
}
}
/* End Developments Lisiting Full Width */

@media only screen and (min-width: 1024px) and (max-width: 1176px) {
	div:not(.developments-listing-container) {
		max-width: 100%;
	}
}

/*Developments Gallery Shortcode*/
.development-single-gallery {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}
.gallery-slider {
    position: relative;
    width: 100%;
    height: 668px;
    border-radius: 16px;
    overflow: hidden;
    margin: 0;
}
.gallery-images {
    position: relative;
    width: 100%;
    max-height: 585px;
    object-fit: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-image {
    position: absolute;
    border-radius: 16px;
	height: 100%;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
}
.gallery-image img {
	width: 100%;
	height: 100% !important;
}
/* Main active image (center) */
.gallery-image.active {
    width: 67.6%;
    height: 100%;
    z-index: 3;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
    pointer-events: auto;
}
/* Previous image (left side) - 70px gap from active image */
.gallery-image.prev-image {
    width: 45%;
    height: 384px;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    right: calc(50% + (67.6% / 2) + 70px);
    pointer-events: auto;
}
/* Next image (right side) - 70px gap from active image */
.gallery-image.next-image {
    width: 45%;
    height: 384px;
    object-fit: cover;
    z-index: 1;
    opacity: 0.7;
    left: calc(50% + (67.6% / 2) + 70px);
    pointer-events: auto;
}
/* Images that are sliding out to the left (when going forward) */
.gallery-image.slide-out-left {
    left: 0;
    transform: translateX(-150%);
    opacity: 0;
    z-index: 0;
}
/* Images that are sliding out to the right (when going backward) */
.gallery-image.slide-out-right {
    right: 0;
    transform: translateX(150%);
    opacity: 0;
    z-index: 0;
}
/* Images waiting off-screen to the right (before they become next-image) */
.gallery-image.waiting-right {
    left: 100%;
    transform: translateX(0);
    opacity: 0;
    z-index: 0;
}
/* Images waiting off-screen to the left (before they become prev-image) */
.gallery-image.waiting-left {
    right: 100%;
    transform: translateX(0);
    opacity: 0;
    z-index: 0;
}
.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Navigation Buttons */
.gallery-navigation {
    position: absolute;
    bottom: 7.5%;
    left: 0;
    right: 0;
    display: flex;
    z-index: 10;
    pointer-events: auto;
}
button.nav-btn.prev-btn, button.nav-btn.next-btn {
    padding: 0;
}
.nav-btn:hover {
    cursor: pointer;
}
.nav-btn {
    position: absolute;
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 12px;
}
.nav-btn.prev-btn {
    left: 47%;
    background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/10/Button-previous-slide-4.svg');
}
.nav-btn.next-btn {
    left: 52%;
    background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/10/Button-previous-slide-5.svg');
}
/* Disabled button state */
.nav-btn:disabled,
.nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed !important;
    pointer-events: none;
}
.nav-btn:disabled:hover,
.nav-btn.disabled:hover {
    cursor: not-allowed !important;
}

.none-found {
	text-align: center;
}

/* Tablet and Mobile Responsive */
@media only screen and (max-width: 1023px) {
    .nav-btn {
        width: 36px;
        height: 36px;
    }
    .nav-btn.prev-btn {
        background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/10/Button-previous-slide-6.svg');
    }
    .nav-btn.next-btn {
        background: url('https://kentgush2025.digitalfoldstaging.co.za/wp-content/uploads/2025/10/Button-next-slide-3.svg');
    }
}

/* Tablet - 768px to 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-navigation {
        bottom: 11%;
    }
    .gallery-slider {
        height: 377px;
    }
    .gallery-images {
        height: 306px;
    }
    .gallery-image.active {
        width: 67.6%;
        height: 100%;
    }
    .gallery-image.prev-image {
        width: 45%;
        height: 200px;
        right: calc(50% + (67.6% / 2) + 32px);
    }
    .gallery-image.next-image {
        width: 45%;
        height: 200px;
        left: calc(50% + (67.6% / 2) + 32px);
    }
    .nav-btn.prev-btn {
        left: 44%;
    }
    .nav-btn.next-btn {
        left: 51%;
    }
}

/* Mobile - 767px and below */
@media only screen and (max-width: 767px) {
    .gallery-navigation {
        bottom: 14%;
    }
    .gallery-slider {
        height: 326px;
    }
    .gallery-images {
        height: 266px;
    }
    .gallery-image.active {
        width: 67.6%;
        height: 205.88px;
    }
    /* Previous image (left side) - 16px gap from active image */
    .gallery-image.prev-image {
        width: 45%;
        height: 135px;
        object-fit: cover;
        z-index: 1;
        opacity: 0.7;
        right: calc(50% + (67.6% / 2) + 16px);
        left: auto;
        pointer-events: auto;
    }
    /* Next image (right side) - 16px gap from active image */
    .gallery-image.next-image {
        width: 45%;
        height: 135px;
        object-fit: cover;
        z-index: 1;
        opacity: 0.7;
        left: calc(50% + (67.6% / 2) + 16px);
        right: auto;
        pointer-events: auto;
    }
    .nav-btn.prev-btn {
        left: 39.5%;
    }
    .nav-btn.next-btn {
        left: 50.5%;
    }
}

/* Desktop - 1024px and above */
@media (min-width: 1024px) {
    .gallery-slider {
        height: 668px;
    }
    .gallery-images {
        height: 668px;
    }
}

/* Force full width - override any parent container constraints */
.development-single-gallery {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    margin-right: calc(-50vw + 50%) !important;
}
/*End Developments Gallery Shortcode*/
