/****************************/
/***** OBJECT LIST VIEW *****/
/****************************/

/*** FILTER ***/

.filter-wrapper {
	width:1100px;
	margin:0 auto 60px auto;
}

.filter-container {
    width: 100%;
    margin: 2em auto;
    background-color: #EE7F00;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
	border-radius:10px;
}

.filter-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 80%;
    margin: auto;
	padding: 1em;
}

/* Select styles */
.custom-select-wrapper {
    width: 45%;
    font-weight: 600;
}

.custom-select {
    position: relative;
    background-color: white;
    cursor: pointer;
    padding: 10px;
}

.custom-select__trigger {
    background-color: white;
	font-family: "Open Sans", Sans-serif;
    font-weight:600;
}

.custom-select__trigger span {
    flex-grow: 1; 
}

.arrow {
    font-size: 14px;
    color: black; 
}

/* Change the icon for the open state */
.custom-select.open .custom-select__trigger .fa-chevron-down {   
    transform: rotate(180deg);
}

/* Option styles */
.custom-options {
    position: absolute;
    display: none;
    top: 100%;
    right: 0;
    width: 100%;
	font-family: "Open Sans", Sans-serif !important;
	font-weight:600;
}

.custom-option {
    width: 100%;
    padding: 10px 20px;
    cursor: pointer;
    background-color: white;
}

.custom-option:hover {
    background-color: #EE7F00;
    color: white;
}

/* When select field is open */
.custom-select.open .custom-options {
    display: grid;
}



/*** OBJECTS ***/
.object-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2em;
}

.object-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 12px;
    box-sizing: border-box;
    width: 100%; /* Default to full width for smallest screens */
}

.object-column h2 {
	color: #ee7f00;
    font-family: "Gelasio", Sans-serif;
    font-size: 34px;
    font-weight: 500;
}
.object-column h4 {
	color: #363636;
    font-family: "Open Sans", Sans-serif;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.object-column img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.object-content-container {
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    background-color: #fff;
    margin-bottom: 30px;	
}
/* If this is for all objects we want to add a box shadow and increase margin */
.objects-all {
	box-shadow:6px 11px 22px 6px rgba(237.99999999999997, 127.00000000000001, 0, 0.06);
	margin-bottom: 60px;
}

.object-content-wrapper {
    padding: 2em 1em;
}

.text-meta {
	margin-bottom:12px;
}
.object-list-table {
	font-size: .9em;
}
.object-list-table>tbody>tr>td {
   	padding: 4px;
   	margin: 0px;
	font-family:"Open Sans";
}

.object-list-tr:hover>td {
   background-color:inherit !important;
}

.text-meta-title {
	font-weight:600;
	width:20%;
}
.text-meta-value {
	padding-left:1em;
}

.object-more-link>i {
	font-size:2.5em;
	float:right;
	padding-right:0.5em;
}



/* Mobile */
@media (max-width: 768px) { 
	
	/* Filter */
	.filter-wrapper {
		width:94%;
		margin: 0 auto;
	}
	.filter-container {
	}
	.filter-row {
		width:90%;
		padding:0em;
	}
	.custom-select-wrapper {
		width: 49%;
		font-weight: 600;
		font-size:12px;
	}

}

/* Adjust columns to 2 per row for tablets and similar sized devices */
@media (min-width: 768px) {
		
    .object-column {
        width: 50%; /* 2 columns */
        padding: 0 1em;
    }
}

/* Adjust columns to 3 per row for desktops and larger devices */
@media (min-width: 992px) {
    .object-column {
        width: 33.333333%; /* 3 columns */
        padding: 0 1em;
    }
}


/********************************/
/***** SPECIFIC OBJECT PAGE *****/
/********************************/

/* Genereal */
.single-object-main-container h1 {
	font-size:3.5em !important;
}
.single-object-main-container h2 {
	font-family: "Gelasio", Sans-serif;
	font-size: 42px;
    font-weight: 600;
    line-height: 49px;
    letter-spacing: -1.1px;
}

.single-object-main-container p {
	font-family: "Open Sans" !important;
	font-weight:400;
}

.single-object-divider {
	display: inline-block; 
    width: 8%; 
    height: 4px; 
    background-color: #EE7F00; 
    margin-bottom: 16px; 
}

.single-object-black-divider {
	display: inline-block; 
    width: 40%; 
    height: 1px; 
    background-color: #000;
	margin-top:30px;
    margin-bottom: 30px; 
}

.object-notice {
	width:60%;
	margin:30px auto;
	text-align:center;
}
.notice p{
	font-weight:600;
	font-size:1em;
}

/* Some container classes */
.single-object-container {
	max-width:1420px;
	margin: 30px auto;
	padding:1em;
}
.content-width {
	width:1100px;
	margin: 0 auto;
}

.content-width-small {
	max-width:800px !important;
	margin:auto;
}

.content-center {
	text-align:center !important;
}

/* The hero */
.hero-section {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
	background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background: #fff;
    color: #fff;
    text-align: center;
}
.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay; adjust the opacity (0.5) as needed */
    z-index: 1;
}
.hero-text {
    position: relative;
    z-index: 2; /* Ensure the text appears above the overlay */
	color:#fff;
}
.hero-text h1 {
	color:#fff !important;
}


/* First text section */
.text-container {
    max-width: 100%;
    margin: 60px auto;
    text-align: left;
}
.text-container h2 {
    
    font-size: 42px;
    font-weight: 600;
    letter-spacing: -1px;
}

.desc-heading {
	color: #EE7F00;
	text-transform:uppercase;
	font-size:16px;
}


/* Table and Swiper section */
.single-object-two-column-section {
    display: flex;
    height: 100%;   
    width: 100%;
}

.single-object-left-column, .single-object-right-column {
    padding: 0; 
}

.single-object-left-column {
    flex: 0 0 30%; 
    background-color: #F0E9D68A;
	font-size:20px;
	display: flex;
    align-items: center;
    justify-content: center;
	padding-left:5%;
	padding-right:5%;
}

.single-object-right-column {
    flex: 0 0 70%; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
}

/* table specific */
.object-table {
	font-size: 0.9em;
	width:100%;
	
}
.object-table>tbody>tr>td {
   padding: 10px 0 10px 0;
   margin: 0px;
}
.object-tr:hover>td {
   background-color: inherit !important;
}

.object-tr > .text-meta-title {
	width:40%;
}

/* Swiper container */
/* Swiper container */
.swiper.object-swiper {
    width: 100%;
    height: 800px; /* Fixed height instead of aspect-ratio */
}

/* Individual slides */
.swiper.object-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.swiper.object-swiper .swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    overflow: hidden;
    position: relative;
}

/* Image styling - more specific selector */
.swiper.object-swiper .swiper-slide img.single-object-img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
}

/* Rest of your styling remains the same */
.swiper-button-prev,
.swiper-button-next {
    font-size: 44px;
    color: #EE7F00 !important;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.swiper-button-prev {
    left: 30px !important;
}

.swiper-button-next {
    right: 30px !important;
}

.swiper-pagination-bullet {
    height: 18px;
    width: 18px;
    background-color: #fff !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background-color: #EE7F00 !important;
}

@media screen and (max-width: 768px) {
    .swiper.object-swiper {
        height: 400px; /* Smaller height for mobile */
    }
}

/* Attribute/Icon section */

.icon-section {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* Space between items */
    min-height: 200px;
	margin-top:30px;
	margin-bottom:30px;
}

.icon-wrapper {
    display: flex;
    justify-content: left;
    align-items: center; 
    width: calc(33.333% - 20px);
	padding-left:7%;
}

.attribute-icon-img {
    width: 50px; /* Adjust based on your icons' size */
    height: auto;
    margin-right: 10px;
	
}

.attribute-icon-txt {
    font-family: "Open Sans", Sans-serif !important;
    font-size: 20px;
    font-weight: 600;
    text-align: center; /* Ensures the text is centered, helpful for multiline text */
    margin: 0; /* Resets default margin of <p> tag */
}



/* District and document section */
.district-container {
	background-image:linear-gradient(180deg, #f0e9d68a 0%, #ffffff 30%);
	max-width: 100%;
    margin: 0px auto;
    padding: 1em;
}

.pdf-icon {
	width: 40px;
    margin: auto;
}

/* Google maps */
#map-container {
	height: 600px;
	width:100%
}

/* Contact section */
.contact-container > .text-container > h2 {
	padding:0% 15% 0% 15% !important;
}

.contact-row {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-wrap: wrap;
}

.contact-column {
	width:50%;
	margin:60px 0 60px 0;
	font-size:14px;
	display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;
    flex: 1; 

}
.contact-column-image {
	order: 2;
}

.contact-column p{
	text-align:left;
	line-height:34px;
}

.contact-column .fa-solid {
	margin-right:1em;
	font-size:18px;
}

.contact-img {
	border-radius: 50% !important;
	width:80%;
	max-width:300px !important;
	margin:auto;
}

/* Estate section */
.estate-row {
    display: flex;
    text-align: left;
	flex-wrap: wrap;
}
.estate-column:first-of-type {
	background-color: #F0E9D68A;
}
.estate-column {
	width:50%;
	display: flex;
    flex-direction: column;
    justify-content: center; 
    flex: 1; 
}
.estate-content {
	width:80%;
	margin:auto;
	padding: 30px 1em;
}

.estate-content>.object-table>tbody>tr>td {
   padding: 5px 0 5px 0;
   margin: 0px;
}

.estate-content>.single-object-divider {
	width:15%;
}

.related-container {
	
}

.related-container .object-column {
	box-shadow: 6px 11px 22px 6px rgba(48, 70.99999999999999, 129, 0.1);
	width: 31%;
    padding: 0;
    margin: 0 auto;
}

.related-container .object-column h2 {
	font-size:2em;
}


.icons-section {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 80%;
    margin: 40px auto;
    flex-wrap: wrap;
}

.icon-item {
    text-align: center;
    margin: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
	
	/* General */
	.single-object-main-container h1 {
		font-size:2.5em !important;
	}
	.single-object-main-container h2 {
		font-size:2em !important;
	}
	.single-object-divider {
		width:20%;
	}
	.content-width {
		width:100%;
	}
	
	/* Table and Swiper section */
    .single-object-two-column-section {
        flex-direction: column; /* Stack columns vertically on mobile */
    }
	
	.single-object-left-column{
        padding: 60px 1em 60px 1em;
    }

    .single-object-left-column, .single-object-right-column {
        flex-basis: 100%; /* Each column takes full width */
    }
	
	/* Icons / attributes */
	.icon-wrapper {
		padding-left: 5%;
		width: 50%;
	}
	
	/* Contact section */
	.contact-column, .contact-image-column {
        flex-basis: 100%;
    }
	.contact-column {
		order:2;
		margin: 20px 0 20px 0;
	}
    .contact-image-column {
        order: 1; 
    }
	.contact-column p {
		text-align: center;
	}
	
	/* Estate section */
	.estate-container {
		padding:0px;
	}
	
	.estate-column {
        width: 100%; 
    }

    .estate-row {
        flex-direction: column;
    }

    .estate-content {
        width: 100%;
		padding: 60px 1em 60px 1em;
    }
	
	/* Related section */
	.related-container .object-column {
		width: 100%;
		padding: 0 1em;
    	margin: 1em 0;
	}

}

