

/* --- Full Banner Layout for Single Property --- */
.single-property-page .full-banner-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* --- Full-Width Swiper Banner --- */
.trestle-single-gallery {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
}

.trestle-single-gallery .swiper {
  width: 100%;
  height: 65vh;
  min-height: 400px;
  border-radius: 0;
}

.trestle-single-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trestle-single-gallery .swiper-slide .trestle-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d6d8e0 0%, #b0b3c1 100%);
  color: #555;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  margin-bottom: 7px !important;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Swiper Navigation --- */
.trestle-single-gallery .swiper-button-prev,
.trestle-single-gallery .swiper-button-next {
  color: #fff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

/*
.trestle-single-gallery .swiper-button-prev:hover,
.trestle-single-gallery .swiper-button-next:hover {
  background: rgba(0, 0, 0, 0.6);
}
*/
/* --- Property Details Section --- */
.trestle-single-details {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
}

.trestle-single-details h1 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
}

.trestle-single-details .price {
  font-size: 24px;
  color: #0073aa;
  margin-bottom: 15px;
}

.trestle-single-details .address {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.trestle-single-details .description {
  line-height: 1.7;
  font-size: 16px;
  color: #333;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .trestle-single-gallery .swiper {
    height: 45vh;
  }
  .trestle-single-details {
    padding: 25px 15px;
  }
}


/* --- Property Listing Page Layout --- */
.trestle-property-layout {
  display: block;
  /* height: calc(100vh - 120px); */ /* Adjust based on your header height */
  overflow: visible;
  background: #f8f8fb;
}

.trestle-property-map-layout {
  display: grid;
  grid-template-columns: 775px auto !important;
  height: calc(100vh - 120px); /* Adjust based on your header height */
  overflow: visible;
  background: #f8f8fb;
}


/* Left side: Listing */
.et_pb_row 
{
  width: 100%;
}
.trestle-property-listing-panel {
  overflow-y: auto;
  padding: 0px;
  background: #fff;
  border-right: 1px solid #e3e3e3;
}
/*
.trestle-property-grid {
  display: flex;
  
}
*/
.trestle-property-listing-page {
 /* max-width: 1200px; */
  margin: 0 auto;
  padding: 20px 10px;
}

.trestle-property-grid {
  display: grid;
  flex-direction: column;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px 0px;
}
.trestle-property-card-body{
  position: relative;
  height: 222px;
}

/* --- InvisionOK Style Property Card --- */
.trestle-property-card {
  background: #525878; /* dark blue */
  color: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 370px;
}

.trestle-property-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Image & overlay section */
.property-image-wrap {
  position: relative;
  overflow: hidden;
  width: 370px;
  height: 222px;
}

.property-image-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

/* Status badge */
.status-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.4);
  color: #fff;
  font-size: 14px;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 500;
  z-index: 50;
}

.status-badge .status-dot {
  width: 8px;
  height: 8px;
  background: #00c853;
  border-radius: 50%;
  z-index: 50;
}

/* Favorite heart */
.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  color: #333;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 50;;
}

.favorite-btn:hover {
  background: #fff;
}

/* Details button overlay */
.details-btn {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  background: #3a4260;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  padding: 5px;
  transition: bottom 0.3s ease, opacity 0.3s ease;
  z-index: 5;
  bottom: 0px;
  opacity: 1;
  width: 99px;
  height: 33px;
  text-align: center;
}

/* Info section */
.property-info {
  padding: 3px 16px 15px;
  text-align: center;
  
}

.property-info h3 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 4px;
  color:#fff;
}

.property-info .address {
  font-size: 15px;
  margin-bottom: 5px;
  color: #ddd;
}

.property-info .price {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.property-info .meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 15px;
  color: #ddd;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding-left: 0;
  list-style: none;
  margin-top: 10px;;
}

.page-item {
  list-style: none;
  font-size: 13px;
}

.page-link {
  position: relative;
  display: block;
  padding: .5rem .75rem;
  margin-left: 0;
  line-height: 1.25;
  color: #333d68;
  background-color: transparent;
  border: 0 solid transparent;
}

.page-item.active .page-link {
  font-weight: bold;
  color: #1a2456;
}

.page-item.disabled .page-link {
  color: #999;
  pointer-events: none;
}


/* Swiper Arrows (white overlay style) */
.trestle-property-card .swiper-button-prev,
.trestle-property-card .swiper-button-next {
  color: #fff;
  width: 16px;
  height: 16px;
  display: block !important;
  font-size: 24px;
  background: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.trestle-property-card .swiper-button-prev::after,
.trestle-property-card .swiper-button-next::after {
  font-size: 16px;
}

.trestle-property-card:hover .swiper-button-prev,
.trestle-property-card:hover .swiper-button-next {
  opacity: 1;
  visibility: visible;
}
.swiper-slide .trestle-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d6d8e0 0%, #b0b3c1 100%);
  color: #555;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  height: 240px;
  position: relative;
  overflow: hidden;
  margin-bottom: 7px !important;
}
/*
.trestle-property-card .swiper-button-prev:hover,
.trestle-property-card .swiper-button-next:hover {
  background: rgba(0,0,0,0.7);
}

.property-carousel-wrapper {
    width: 100%;
}

/* Give some bottom space so cards don't collide with dots */
.property-carousel-swiper {
    padding-bottom: 0px;
}

/* External pagination under the swiper */
.property-carousel-pagination {
   position: relative !important;
    bottom: auto !important;
    margin-top: 15px;
}

/* Style bullets */
.property-carousel-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    opacity: 0.4;
    background: #525878;
}

.property-carousel-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

*/

/* Property Listing Page Map */
/* Map container */

/* Marker pin */
.trestle-map-pin .pin-dot {
 position: relative;
  background: #fff;
  color: #2c315e; /* Dark blue text */
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transform: translate(-50%, -50%);
  white-space: nowrap; 
}
.trestle-map-pin .pin-dot::after{
 content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #fff;
}
.trestle-map-pin .pin-dot:hover {
  position: relative;
  z-index: 99;
  background: #525878;
  color: #fff;
}
.trestle-map-pin .pin-dot:hover::after {
 content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 8px solid #525878;
}

/* Cluster bubbles (the number circles) */
.trestle-cluster {
  height: 52px;
  width: 52px;
  margin-top: -35px;
  margin-left: -25px;
  border-radius: 100%;
  font-size: 1rem;
  font-weight: 500;
  background-color: rgba(51,61,104,.95);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 8px rgba(51,61,104,.15);
  transition: .15s ease-in-out;
}
.trestle-cluster:hover {
  transform: scale(1.075, 1.075);
  background-color: #525878;
}


/* Highlight cards belonging to active cluster */
.trestle-property-card.active-cluster {
  height: 52px;
  width: 52px;
  margin-top: -35px;
  margin-left: -25px;
  border-radius: 100%;
  font-size: 1rem;
  font-weight: 500;
  background-color: rgba(51,61,104,.95);
  color: red;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 0px 8px rgba(51,61,104,.15);
  transition: .15s ease-in-out;
}
.trestle-property-card.active-cluster img {
  opacity: 0.9;
}

#trestle-property-map {
  width: 100%;
  height: 90vh;
  overflow: hidden;
}
/*
.trestle-map-column
{
  overflow: hidden;
}
*/
.trestle-map-area #trestle-property-map{
  height: 400px;
  width: 100%;
}

/* Responsive fallback */
@media (max-width: 992px) {
  .trestle-property-map-layout {
    grid-template-columns: 1fr;
  }
 
}

.cluster-bubble {
  background: #ffffff;
  color: #333;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid #aaa;
  font-size: 13px;
  font-family: sans-serif;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  white-space: nowrap;
}

.cluster-bubble-single {
  background: #1E88E5;
  color: #fff;
  padding: 6px 10px;
  border-radius: 20px;
  border: 1px solid #fff;
  font-size: 13px;
  font-family: sans-serif;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.35);
  white-space: nowrap;
}

@media (max-width:767px) {
    .trestle-map-column{display:none;!important;}
    .trestle-property-map-layout {grid-template-columns: 100% 45% !important;}
    
}

@media (max-width:730px) {
    .trestle-property-grid {
       grid-template-columns: repeat(auto-fill, minmax(100%, 1fr)); 
       padding-left: 5% !important;
       padding-right: 5% !important;
    }
    .trestle-property-card {width: 100% !important;}
    .property-image-wrap {width: 100% !important;}
   
}

.map-price-bubble {
  position: absolute;
  width: 42px;
  height: 42px;
  line-height: 42px;
  border-radius: 50%;
  background: #1E88E5;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border: 2px solid #fff;
  box-shadow: 0 3px 8px rgba(0,0,0,0.25);

  /* animation state */
  opacity: 0;
  transform: scale(0.5);
  transition:
    transform 0.25s cubic-bezier(0.19,1,0.22,1),
    opacity 0.25s ease-out,
    box-shadow 0.2s ease-out;
}

.map-price-bubble:hover {
  transform: scale(1.2) !important;
  box-shadow: 0 0 12px rgba(30,136,229,0.9);
}

/* non-blocking overlay hint */
.map-scroll-lock-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: none; /* CRITICAL: allow mouse wheel / page scroll through overlay */
  color: #fff;
  font-size: 18px;
  background: rgba(0,0,0,0.45);
  padding: 12px 22px;
  border-radius: 6px;
  text-align: center;
  white-space: nowrap;
}

#trestle-map-column {
    position: relative !important;
}

/* Floating CTRL zoom message */
#trestle-map-ctrl-msg {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 14px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 13px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 999999;
}




/* area profile css */
.trestle-pb-row{
  width: 100% !important;
  max-width: 100% !important;
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}
.trestle-pb-row-padding{
  padding-top: 0px !important;
  padding-bottom: 0px !important;
}

#post-785 div.et_pb_section.et_pb_section_0 {
  background-blend-mode: overlay;
  background-image: url(http://chrisk487.sg-host.com/wp-content/uploads/2025/12/tulsa_banner.webp) !important;
}

#post-785 .et_pb_section_0.et_pb_section {
  background-color: rgba(0,0,0,0.58) !important;
}
/*#post-785 .sub_banner {
  padding: 110px 0%;
}*/
.et_pb_text_0 h1 {
  color: #FFFFFF !important;
  text-align: center;
}
.et_pb_button_alignment_center {
  text-align: center;
}
#trestle-filter-bar {
  margin-top: 0px !important;
}
/* area profile css ends */
/* agent profile css */
.et_pb_blurb_0 .et_pb_blurb_content {
    text-align: left;
    max-width: 1100px;
}

.et_pb_main_blurb_image {
    display: inline-block;
    margin-bottom: 30px;
    line-height: 0;
    max-width: 100%;
}

.et_pb_blurb_0 .et_pb_main_blurb_image .et_pb_image_wrap {
    width: 125px;
}
.et_pb_blurb_0.et_pb_blurb .et_pb_image_wrap {
    margin: auto auto auto 0;
}
.et_pb_blurb_0 .et_pb_main_blurb_image .et_pb_only_image_mode_wrap, .et_pb_blurb_0 .et_pb_main_blurb_image .et-pb-icon {
    border-radius: 100% 100% 100% 100%;
    overflow: hidden;
    padding-top: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 10px !important;
    padding-left: 10px !important;
    background-color: #525878;
}

.et_pb_section .et_pb_button {
  color: #FFFFFF !important;
  border-color: #343e69;
  border-radius: 4px;
  letter-spacing: 0.8px;
  font-size: 16px;
  font-family: 'Roboto Condensed',Helvetica,Arial,Lucida,sans-serif !important;
  font-weight: 500 !important;
  background-color: #343e69;
}

.et_pb_button:hover {
  padding-top: 7px !important;
  padding-right: 50px !important;
  padding-bottom: 7px !important;
  padding-left: 50px !important;
}

.property_carousel_heading {
  font-size: 27px;
  font-weight: 500;
  line-height: 1.3em;
}
/*agent profile css end */

/* open house banner start */

.c-property-card__alert-banner {
    background-color: #333d68;
    cursor: pointer;
    color: #fff;
    font-size: 14px;
    text-align: center;
    margin-left: -12px;
    margin-top: -11px;
    width: calc(100% + 24px);
    right: 0;
    z-index: 1;
    margin-bottom: 10px;
}
.c-property-card__alert-banner-message {
    padding: 4px 0;
}

@media (min-width: 576px) {
    .c-property-card__openhouse-menu {
        height: 222px;
    }
}
.c-property-card__openhouse-menu {
    display: none;
    position: absolute;
    width: 100%;
    background-image: linear-gradient(-180deg, rgba(60, 62, 65, 0.91) 0%, rgba(35, 38, 40, 0.91) 99%);
    z-index: 3;
    transition: all .2s 
    ease-in-out;
    opacity: 0;
    padding: 15px 5px 20px 20px;
    overflow: visible;
}

.c-property-card__openhouse-menu.is-open {
    opacity: 1;
    display: block;
    z-index: 50;
    top: 0;
}

.text-left {
    text-align: left !important;
}

.c-property-card__openhouse-header {
    width: 100%;
    align-self: flex-start;
    font-size: 1rem;
    margin-bottom: .75rem;
}

.c-property-card__openhouse-list-parent{
  overflow: scroll;
  height: 180px;
}

.c-property-card__openhouse-list {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    width: 100%;
    overflow: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    font-size: 14px;
}
.c-property-card__openhouse-date {
    width: 100%;
    margin-bottom: .75rem;
}
.c-property-card__openhouse-close {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px 10px;
    font-size: 1.2rem;
}
.c-property-card__openhouse-close {
    position: absolute;
    right: 10px;
    top: 10px;
    padding: 10px 10px;
    font-size: 1.2rem;
}

/*Open House End*/

/* Agent Testimonial Start*/

.agent-testimonial-section {
    margin-top: 40px;
}

.agent-testimonial-title {
    margin-bottom: 20px;
    /*font-size: 26px;
    font-weight: 600;*/
    text-align:center;
}

.agent-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.agent-testimonial-grid-gap {
  gap: 10px 10px;
 }

.agent-testimonial-card {
    height: 230px;              
    /* fixed height changed as added agent name earlier it was 220px */
    overflow: hidden;
    position: relative;
    padding: 15px;
    border-radius: 10px;
    /*background: #f8f9fa;*/
    background:rgba(236,238,245,0.71);
    cursor: pointer;
}

/* Multi-line ellipsis with fade */
.agent-testimonial-card p {
    display: -webkit-box;
    -webkit-line-clamp: 5;       /* show 5 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    line-height: 1.4em;
    margin: 0;
}

/* Subtle fade-out gradient at bottom */
.agent-testimonial-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 40px;
    width: 100%;
}
.agent-testimonial-agent-name{
    color: #333d68;
    font-size: 14px;
    font-weight:700;
}
.agent-testimonial-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5; /* show only 5 lines */
    -webkit-box-orient: vertical;
}

.agent-testimonial-rating {
    font-size: 18px;
    color: #ffb400;
    margin-bottom: 10px;
}

.agent-testimonial-customer {
    color: #333d68;
    font-size: 14px;
    float: left;
    clear: both;
    font-weight:700;
}

.agent-testimonial-date {
    font-size: 13px;
    color: #777;
}

.agent-testimonial-swiper {
    padding: 10px 0 40px 0;
}

/* External pagination under the swiper */
.agent-testimonial-pagination {
   position: relative !important;
    bottom: auto !important;
    margin-top: 15px;
}

/* Style bullets */
.agent-testimonial-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    margin: 0 4px;
    opacity: 0.4;
    background: #525878;
}

.agent-testimonial-pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #000;
}

.rating {
    position: relative;
    display: flex;
    width: 90px;     /* width for 5 stars */
    height: 18px;
    background: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'>\
    <polygon fill='%23ddd' points='10,1 12,7 19,7 13,11 15,18 10,14 5,18 7,11 1,7 8,7'/>\
    </svg>") repeat-x;
    background-size: 18px 18px;
    top:2px;
    float: right;
}

.rating::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    background: url("data:image/svg+xml;utf8,\
    <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'>\
    <polygon fill='%23FFD700' points='10,1 12,7 19,7 13,11 15,18 10,14 5,18 7,11 1,7 8,7'/>\
    </svg>") repeat-x;
    background-size: 18px 18px;
    width: 0;
}

/* Rating values */
.rating--1::before { width: 20%; }
.rating--2::before { width: 40%; }
.rating--3::before { width: 60%; }
.rating--4::before { width: 80%; }
.rating--5::before { width: 100%; }


/* --- Modal Popup --- */
.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    background: rgba(0,0,0,0.55);
}

.testimonial-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    position: relative;
}

.testimonial-close {
    position: absolute;
    top: 12px;
    right: 18px;
    font-size: 24px;
    cursor: pointer;
}

#modal-testimonial-text {
    white-space: pre-line;
    margin-bottom: 15px;
}

/* Agent Testimonial End */
.agent_heading h2
{
	font-size:30px;
}
@media all and ( max-width:767px ) {
	.agent_heading h2
    {
        font-size:28px;
    }
}