/**
 * Property Statistics Styles
 *
 * Styles for property statistics display (bedrooms, bathrooms, area)
 */

/* Stats container layout */
.stats-container {
  margin-bottom: 15px;
}

.property-stats-wrapper {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 15px;
}

/* Stat container general styling */
.stat-container {
  margin-right: 10px;
  flex: 0 1 auto;
}

/* Bedrooms styling */
.bedrooms {
  display: flex;
  align-items: center;
}

.bedrooms:after {
  content: '';
  background-image: url('../images/bedroom-icon-gold.svg');
  height: 18px;
  width: 27px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 0.5rem;
}

/* Bathrooms styling */
.bathrooms {
  display: flex;
  align-items: center;
}

.bathrooms:after {
  content: '';
  background-image: url('../images/bathroom-icon-gold.svg');
  height: 22px;
  width: 28px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 0.5rem;
}

/* House area styling */
.house-area {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.house-area:after {
  content: '';
  background-image: url('../images/area-icon-gold.svg');
  height: 25px;
  width: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 0.5rem;
}

/* Resident count styling */
.resident-count {
  display: flex;
  align-items: center;
  white-space: nowrap;
}

.resident-count:after {
  content: '';
  background-image: url('../images/units-icon-gold.svg');
  height: 20px;
  width: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  display: inline-block;
  margin-left: 0.5rem;
}

/* Features List Styling */
ul.features-list {
  -moz-column-count: 3;
  -webkit-column-count: 3;
  column-count: 3;
  padding-left: 1rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Style for the list markers */
ul.features-list li::marker {
  color: #deb88f;
  font-size: 23px;
}

/* Responsive columns for smaller screens */
@media (max-width: 768px) {
  ul.features-list {
    -moz-column-count: 2;
    -webkit-column-count: 2;
    column-count: 2;
  }
}

@media (max-width: 480px) {
  ul.features-list {
    -moz-column-count: 1;
    -webkit-column-count: 1;
    column-count: 1;
  }
}

/* Hover state for properties */
article.properties:hover .container-div,
article.property:hover .container-div {
  background-color: #c5a47e; /* Using the gold color */
}

article.properties:hover .container-div .bedrooms:after,
article.property:hover .container-div .bedrooms:after {
  background-image: url('../images/bedroom-icon-white.svg');
}

article.properties:hover .container-div .bathrooms:after,
article.property:hover .container-div .bathrooms:after {
  background-image: url('../images/bathroom-icon-white.svg');
}

article.properties:hover .container-div .house-area:after,
article.property:hover .container-div .house-area:after {
  background-image: url('../images/area-icon-white.svg');
}

article.properties:hover .container-div .resident-count:after,
article.property:hover .container-div .resident-count:after,
article.developments:hover .container-div .resident-count:after {
  background-image: url('../images/units-icon-white.svg');
}


/* Custom Social Share Styling */
.share-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: var(--wp--preset--spacing--small);
    margin-bottom: var(--wp--preset--spacing--small);
}

.share-title {
    font-weight: 500;
    margin-right: 5px;
}

.share-main-icon {
    margin: 0 5px;
}

.custom-social-share {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.social-share-item {
    display: inline-block;
}

.social-share-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.social-share-item svg {
    width: 24px;
    height: 24px;
    transition: transform 0.2s ease;
}

.social-share-item svg:hover {
    transform: scale(1.1);
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal;
}