/* 参照 suban88.com/xiaoqu/remenloupan.html 样式 */

.position {
    width: 100%;
    background: #f5f5f5;
    border-bottom: 1px solid #ddd;
}
.position .container {
    width: 1200px;
    margin: 0 auto;
    padding: 10px 0;
    font-size: 13px;
    color: #999;
}
.position a { color: #666; text-decoration: none; }
.position a:hover { color: #e74c3c; }

/* 筛选栏 */
.list-choose {
    width: 1200px;
    padding: 20px 30px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 6px #ccc;
    border-radius: 4px;
}
.list-choose .list {
    display: flex;
    justify-content: flex-start;
    line-height: 32px;
    flex-wrap: wrap;
}
.list-choose .list span {
    font-size: 13px;
    font-weight: bold;
    color: #333;
    display: block;
    width: 50px;
}
.list-choose .list a {
    font-size: 13px;
    color: #666;
    padding: 0 14px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
}
.list-choose .list a:hover,
.list-choose .list a.hover {
    background: #e74c3c;
    color: #fff;
}

/* 列表主区域 */
.list-main {
    width: 1200px;
    margin: 20px auto 0;
}
.list-main .left {
    width: 100%;
}

/* 每条楼盘 */
.list-main .list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 20px 15px 20px 0;
    border-bottom: 1px solid #e0e0e0;
    background-color: #fff;
    transition: 0.3s all;
    position: relative;
}
.list-main .list:hover {
    background-color: #fafafa;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 图片 */
.list-main .list .pic {
    width: 270px;
    height: 180px;
    overflow: hidden;
    border-radius: 5px;
    flex-shrink: 0;
}
.list-main .list .pic img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.list-main .list:hover .pic img {
    transform: scale(1.05);
}

/* 价格标签 */
.list-main .list .price.lou {
    position: absolute;
    left: 15px;
    bottom: 20px;
    background: rgba(231, 76, 60, 0.9);
    color: #fff;
    padding: 4px 12px;
    border-radius: 3px;
    font-size: 13px;
    z-index: 2;
}
.list-main .list .price.lou span {
    font-weight: bold;
    font-size: 20px;
}

/* 文字信息 */
.list-main .list .text {
    flex: 1;
    padding: 0 20px;
    min-width: 0;
}
.list-main .list .text h2 {
    margin-bottom: 12px;
}
.list-main .list .text h2 a {
    display: block;
    color: #333;
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.list-main .list .text h2 a:hover {
    color: #e74c3c;
}
.list-main .list .text p.t1 {
    font-size: 13px;
    color: #888;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.list-main .list .text p.t1 span {
    color: #555;
}
.list-main .list .text p.t1 i {
    margin: 0 6px;
    color: #ccc;
    font-style: normal;
}

/* 标签区域 - 面积 */
.list-main .list .text p.t3 {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.list-main .list .text p.t3 a {
    display: inline-block;
    font-size: 12px;
    color: #17a1e6;
    background: #eef7ff;
    padding: 2px 10px;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.2s;
}
.list-main .list .text p.t3 a:hover {
    background: #17a1e6;
    color: #fff;
}

/* 右侧价格 */
.list-main .list .price {
    width: 160px;
    text-align: right;
    padding-top: 5px;
    flex-shrink: 0;
}
.list-main .list .price p.t1 {
    color: #888;
    font-size: 14px;
    margin-bottom: 10px;
}
.list-main .list .price p.t1 span {
    font-weight: bold;
    color: #e74c3c;
    font-size: 28px;
    padding-right: 4px;
}

/* 无数据 */
.list-main .no-data {
    text-align: center;
    padding: 80px 0;
    color: #999;
    font-size: 15px;
}

/* 分页 */
.pagination {
    text-align: center;
    padding: 30px 0;
}
.pagination a {
    display: inline-block;
    padding: 6px 14px;
    margin: 0 3px;
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}
.pagination a:hover,
.pagination a.active {
    background: #e74c3c;
    color: #fff;
    border-color: #e74c3c;
}

/* 商圈下拉 - 子选项间距 */
#sub-district-items a {
    margin: 0 4px;
}

/* 商圈选项 - 字体小一号，颜色浅一些 */
#sub-district-items a {
    font-size: 15px !important;
    color: #373535 !important;
}
#sub-district-items a:hover,
#sub-district-items a.hover {
    background: #e74c3c;
    color: #fff !important;
}

/* 动态区域链接（前台从数据库加载） */
#area-links a {
    font-size: 13px;
    color: #666;
    padding: 0 14px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s;
}
#area-links a:hover,
#area-links a.hover {
    background: #e74c3c;
    color: #fff;
}
