/**
 * Property Title & Location Elementor Widget Styles
 */

.lgap-property-title-location-widget {
  position: relative;
  width: 100%;
}

/* Layout Styles */
.lgap-property-title-location-widget.lgap-layout-vertical {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lgap-property-title-location-widget.lgap-layout-horizontal {
  display: flex;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
}

/* Title and Rating Container */
.lgap-property-title-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Property Title */
.lgap-property-title {
  font-family: "Playfair Display", sans-serif;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
  color: #000;
  flex: 1;
}

.lgap-property-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lgap-property-title a:hover {
  color: #FFB800;
  text-decoration: none;
}

/* Rating Badge */
/* .lgap-rating-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  cursor: help;
} */
 .lgap-rating-badge.border-none {
  border: none;
 }

.lgap-rating-stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.lgap-rating-stars i {
  color: #FFB800;
  font-size: 16px;
}

.lgap-rating-stars .lgap-star-empty {
  color: #e0e0e0;
}

.lgap-rating-badge-text {
  font-family: "Josefin Sans", sans-serif;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
}

/* Location & Type Container */
.lgap-property-location-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Individual Location/Type Items */
.lgap-property-location {
  display: flex;
  align-items: center;
  gap: 6px;
}

.lgap-property-location i {
  color: #FFB800;
  font-size: 14px;
  flex-shrink: 0;
}

.lgap-property-location span {
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #666;
  white-space: nowrap;
}

/* Separator */
.lgap-property-location-separator {
  font-family: "Josefin Sans", sans-serif;
  font-size: 14px;
  color: #999;
  margin: 0 4px;
}

/* Placeholder for editor */
.lgap-title-location-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background-color: #f7f7f7;
  border: 2px dashed #ddd;
  border-radius: 4px;
  color: #666;
  font-family: "Josefin Sans", sans-serif;
  text-align: center;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .lgap-property-title-location-widget.lgap-layout-horizontal {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .lgap-property-title-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .lgap-property-location-rating {
    gap: 6px;
  }
  
  .lgap-property-location span {
    font-size: 13px;
  }
  
  .lgap-property-location i {
    font-size: 13px;
  }
  
  .lgap-rating-stars i {
    font-size: 14px;
  }
  
  .lgap-rating-badge-text {
    font-size: 11px;
  }
}

@media (max-width: 767px) {
  .lgap-property-title-location-widget.lgap-layout-vertical {
    gap: 6px;
  }
  
  .lgap-property-title-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  
  .lgap-property-location-rating {
    gap: 4px;
    flex-wrap: wrap;
  }
  
  .lgap-property-location {
    gap: 4px;
  }
  
  .lgap-property-location span {
    font-size: 12px;
  }
  
  .lgap-property-location i {
    font-size: 12px;
  }
  
  .lgap-property-location-separator {
    font-size: 12px;
    margin: 0 2px;
  }
  
  .lgap-rating-stars i {
    font-size: 12px;
  }
  
  .lgap-rating-badge-text {
    font-size: 10px;
  }
  
  .lgap-rating-badge {
    gap: 6px;
  }
}

/* Accessibility */
.lgap-property-title:focus {
  outline: 2px solid #FFB800;
  outline-offset: 2px;
  border-radius: 2px;
}

.lgap-property-title a:focus {
  outline: 2px solid #FFB800;
  outline-offset: 2px;
  border-radius: 2px;
}

/* Dark Mode Support */

/* Print Styles */
@media print {
  .lgap-property-title-location-widget {
    break-inside: avoid;
  }
  
  .lgap-property-title a {
    color: inherit !important;
    text-decoration: underline;
  }
}
