/* === Single Property Listing Styles (aligned with shortcode) === */

.single-property_listing #main {
  padding: 0;
}

.tina-single-property {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 0;
  font-family: inherit;
  color: #333;
  gap: 2rem;
}

.tina-main-property {
  width: 75%;
  display: flex;
  flex-direction: column;
}

.tina-similar-properties {
  width: 25%;
  display: flex;
  flex-direction: column;
  margin-top: 3rem;
}

.tina-listings {
  flex-direction: column !important;
}

/* Title */
.tina-single-property h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #1766a6;
}

.tina-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1766a6;
  margin-bottom: 1.5rem;
}

/* Gallery */
.tina-gallery {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tina-single-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
}

.tina-single-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

/* Section headings */
.tina-single-property section h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: #1766a6;
  border-bottom: 1px solid #eee;
  padding-bottom: 0.25rem;
}

/* Lists for property details */
.tina-single-property ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

.tina-main-property ul li {
  font-size: 0.95rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tina-main-property ul li i {
  color: #1766a6;
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* Address block */
.tina-single-property address {
  font-style: normal;
  font-size: 0.95rem;
  line-height: 1.4;
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

/* Description */
.tina-single-property .tina-description,
.tina-single-property section > div {
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Map */
.tina-map-section {
  margin: 2rem 0;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

#tina-property-map {
  height: 400px;
  width: 100%;
}

/* Floorplans / documents */
.tina-documents,
.tina-single-property section ul a {
  color: #1766a6;
  text-decoration: none;
}

.tina-documents a:hover,
.tina-single-property section ul a:hover {
  text-decoration: underline;
}

.tina-documents {
  background: #f9f9f9;
  border: 1px solid #eee;
  padding: 1rem;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .tina-single-property {
    flex-direction: column;
  }
  .tina-single-property {
    width: auto;
  }

  .tina-similar-properties {
    width: auto;
    margin-top: 3rem;
  }
}

/* Hide Avada page title bar only on single property_listing pages */
#wrapper > div.avada-page-titlebar-wrapper {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tina-modal {
  display: none;
  position: fixed;
  z-index: 99999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(50, 0, 37, 0.9);
}

.tina-modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 6px;
}

.tina-modal-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
}

.tina-contact {
  line-height: 1.2;
}

.tina-disclaimer {
  color: #666;
  font-size: 0.875rem;
}

/* in single-property.css */
.tina-property-aside {
  margin-top: 2rem;
}
.tina-property-aside .widget {
  margin-bottom: 45px;
}
.tina-property-aside .widget-title {
  margin: 0 0 12px;
  font-size: 1.125rem;
}
.tina-property-aside .widget p {
  margin: 0 0 0.35rem;
}
