/*
 Theme Name:   Astra Child
 Template:     astra
 Version:      1.0.0
*/

body {
  /* 可写一些自定义样式 */
}

#load-more-btn.elementor-button {
  display: block;
  margin: 40px auto 0 auto;
  padding: 12px 28px;
  background-color: var(--e-global-color-primary);
  color: var(--e-global-color-text);
  border: none;
  cursor: pointer;
}

#load-more-btn.elementor-button:hover {
  background-color: var(--e-global-color-primary-hover, #000);
  color: #fff;
}

/* 外部容器：Flex布局，每行3列 */
#property-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    row-gap: 40px;
    column-gap: 3%;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 0;
}

/* 单个卡片 - 高端设计 */
.property-card {
    flex: 0 0 31%;
    background: #ffffff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(139, 115, 85, 0.08),
        0 2px 8px rgba(139, 115, 85, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.property-card:hover {
    transform: translateY(-12px);
    box-shadow: 
        0 20px 48px rgba(139, 115, 85, 0.15),
        0 8px 16px rgba(139, 115, 85, 0.08);
}

.property-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* 房源图片区域 */
.property-image {
    height: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-radius: 4px 4px 0 0;
}

/* 顶部标签容器 */
.property-top-info {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 20;
}

/* 评分标签 - 优雅设计 */
.property-rating-tag {
    width: 75px;
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    color: #8b7355;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.property-rating-tag.new {
    background: linear-gradient(135deg, #8b7355 0%, #a69383 100%);
    color: white;
}

/* Superhost 标签 */
.superhost-tag {
    background: linear-gradient(135deg, #8b7355 0%, #a69383 100%);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(139, 115, 85, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 卡片内容区域 */
.property-content {
    padding: 24px;
    background: white;
}

/* 标题 */
.property-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c2c2c;
    line-height: 1.4;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 位置信息 */
.property-location {
    color: #8b7355;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 图标信息区域 */
.property-amenities {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #f0ece6;
}

.amenity-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #8b7355;
    gap: 8px;
}

/* 数字样式 */
.amenity-value {
    font-size: 14px;
    font-weight: 600;
    color: #2c2c2c;
}

/* 图标容器 */
.amenity-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.amenity-icon img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(51%) sepia(17%) saturate(484%) hue-rotate(10deg) brightness(96%) contrast(87%);
}

/* 分隔线 */
.amenity-separator {
    width: 1px;
    height: 24px;
    background: linear-gradient(to bottom, transparent, #e8e2d6, transparent);
    margin: 0 8px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .property-card {
        flex: 0 0 48%;
    }
}

@media (max-width: 768px) {
    .property-card {
        flex: 0 0 100%;
    }
    
    .property-content {
        padding: 20px;
    }
    
    .property-title {
        font-size: 16px;
    }
    
    .amenity-icon img {
        width: 14px;
        height: 14px;
    }
}