/* 局部隔离，不污染全局页面 */
.loupan-main * {
    box-sizing: border-box;
}
.w1200 {
    width: 1200px;
    margin: 0 auto;
}
/* 主容器：左880px 右300px 中间20px间隙 */
.loupan-main {
    display: flex;
    gap: 20px;
    margin: 24px auto;
    width: 1200px;
}
.loupan-left {
    width: 880px;
    flex-shrink: 0;
}
.loupan-right {
    width: 300px;
    flex-shrink: 0;
}
.loupan-left-wrap {
    border: 1px solid #eee;
    background: #ffffff;
}

/* 顶部标签栏 */
.loupan-tab-bar {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #eee;
	background-color: #f5f5f5 !important;
}
/* 当前选中项：红色文字 */
.loupan-tab-bar .tab-item.active {
    color: #f53333 !important;
}

/* 鼠标经过：红色文字 */
.loupan-tab-bar .tab-item:hover {
    color: #f53333 !important;
}
.tab-item {
	flex: 1;
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-size: 16px;
	color: #333;
	text-decoration: none;
	border-right: 1px solid #dedede;
}
.tab-item:last-child {
    border-right: none;
}
.tab-item.active {
    color: #f53333;
}
.tab-spacer {
    flex-grow: 2;
    border-right: 1px solid #eee;
    height: 100%;
}
.tab-map {
    flex: 0 0 140px;
}

/* 统计排序行 */
.loupan-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #eee;
}
.tip-text {
    font-size: 15px;
    color: #666;
}
.sort-group .sort-item {
    margin-left: 20px;
    font-size: 15px;
    color: #666;
    cursor: pointer;
}
.sort-group .sort-item.active {
    color: #f53333;
}

/* 楼盘单项布局 */
.loupan-item {
    display: flex;
    gap: 10px;
    padding: 18px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}
.loupan-item:hover {
    background: #f8f9fa;
}

/* 左侧外层大框 总宽度250px */
.loupan-img-wrap {
    width: 250px;
    flex-shrink: 0;
}
/* 内部图片区域 210*160，左右自动留白 */
.loupan-img-box {
    width: 210px;
    height: 160px;
    position: relative;
    margin: 0;
}
.loupan-img-box img {
    width: 210px;
    height: 160px;
    object-fit: cover;
    border-radius: 4px;
}
.img-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    padding: 2px 8px;
    font-size: 12px;
    border-radius: 12px;
}
/* 图片链接容器 */
.img-link {
    display: block;
    position: relative;
}
/* 悬浮遮罩层 */
.img-link::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0);
    border-radius: inherit;
    transition: background 0.2s ease;
    pointer-events: none;
}
/* 鼠标经过，黑色半透明遮罩变暗 */
.img-link:hover::after {
    background: rgba(0,0,0,0.2);
}
/* 按钮、标签层级置顶，不阻挡点击 */
.img-tag,
.play-ico {
    pointer-events: none;
}
.play-ico {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 62px;
    height: 62px;
    border-radius: 50%;
    /* 删除半透明黑色背景 */
    background: transparent;
    background-image: url("img/videods.png");
    /* 图片铺满整个62px容器 */
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
}
.circle-ico {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 36px;
    height: 36px;
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
}

/* 自定义小喇叭图标 - 统一18px大小 */
.lp-speaker-icon,
.img-bottom-desc .lp-speaker-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("../img/news.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 6px;
    vertical-align: middle;
    font-size: 0;
    line-height: 1;
    flex-shrink: 0;
}
/* 兼容旧类名 */
.icon-speaker {
    display: inline-block !important;
    width: 18px !important;
    height: 18px !important;
    background-image: url("../img/news.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    margin-right: 6px !important;
    vertical-align: middle !important;
    font-size: 0 !important;
    line-height: 1 !important;
}
.img-bottom-desc .icon-speaker {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("../img/news.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 6px;
}
.group-tag .icon-hui {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("../img/youhui.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-right: 6px;
}

/* 图片下方播报文字，占满250px外层宽度，完整显示 */
.img-bottom-desc {
	margin-top: 10px;
	font-size: 14px;
	color: #333333;
	display: flex;
	align-items: center;
	gap: 0;
	width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}
/* 团购行 */
.group-tag {
    font-size: 14px;
    color: #f53333;
    display: flex;
    align-items: center;
    gap: 0;
    margin-top: 8px;
}

/* 中间楼盘信息区域 */
.loupan-info {
    flex: 1;
    min-width: 0;
}
.loupan-title-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.loupan-title {
    font-size: 22px;
    color: #111;
    font-weight: 600;
}
.hot-tag {
	color: #fff;
	padding: 2px 9px;
	font-size: 13px;
	border-radius: 3px;
	border-radius: 12px;
	background-color: #FF6600;
}
.loupan-base {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}
.loupan-base .pipe {
    color: #ccc;
    margin: 0 10px;
}
.loupan-location {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}
.dot {
    color: #3366ff;
    margin-left: 8px;
    cursor: pointer;
}
/* 在售标签 */
.status-tag {
    display: inline-block;
    border: 1px solid #f53333;
    color: #f53333;
    padding: 1px 12px;
    font-size: 14px;
    background: #fff;
    margin-bottom: 10px;
	border-radius: 12px;
}

/* 右侧价格咨询区域 */
.loupan-price-box {
    width: 250px;
    flex-shrink: 0;
    text-align: right;
}
.price-main {
    font-size: 14px;
    color: #333;
    margin-bottom: 6px;
}
.price-main i.fa-circle-info {
    width: 18px !important;
    height: 18px !important;
    display: inline-block !important;
    vertical-align: middle !important; /* 垂直居中，解决上下跑偏 */
    margin-left: 4px !important;
    background-image: url("img/i.png") !important;
    background-size: 100% 100% !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    font-family: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    border: none !important;
    background-color: transparent !important;
}
.price-num {
	font-size: 28px;
	color: #FF3300;
	font-weight: bold;
}
.price-tip {
    font-size: 14px;
    color: #999;
    margin-bottom: 16px;
}
.consult-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-bottom: 10px;
}
.consult-row img,
.consult-row .consult-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}
.word-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e4393c;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}
.consult-name {
	font-size: 16px;
	color: #333;
	font-weight: 700;
}
.consult-btn {
	background: #f53333;
	color: #FF0;
	border: none;
	padding: 4px 12px;
	border-radius: 22px;
	font-size: 14px;
	cursor: pointer;
	margin-left: 8px;
	box-shadow: 0 2px 6px rgba(245,51,51,0.3);
}
.tel-text {
	font-size: 18px;
	color: #222;
	font-weight: 700;
	margin-top: 20px;
}

/* 分页样式：当前页红色底色，hover灰色底色 */
.page-box {
    margin: 30px 0;
    text-align: center;
    position: relative;
    z-index: 10;
}
.page-inner {
    display: block;
}
.page-btn,
.page-num {
    min-width: 38px;
    height: 38px;
    padding: 0 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
    border-radius: 3px;
}
.page-num.active {
    background: #f53333;
    color: #fff;
    border-color: #f53333;
}
.page-btn:hover,
.page-num:hover:not(.active) {
    background: #eee;
}
.page-dot {
    padding: 0 6px;
    color: #666;
}
.page-text {
    margin: 0 10px;
    font-size: 14px;
    color: #666;
}
.page-go-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}
.page-go-wrap input {
    width: 42px;
    height: 38px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 14px;
}
.go-btn {
    height: 38px;
    padding: 0 14px;
    background: #ff7800;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

/* 右侧边栏通用 */
.right-fixed-wrap {
    position: sticky;
    top: 30px;
    z-index: 5;
}
.right-block {
    border: 1px solid #eee;
    background: #fff;
    margin-bottom: 16px;
}
.block-title {
    padding: 12px 16px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #333;
}

/* 购房团模块 */
.group-inner {
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.group-text {
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}
.join-btn {
    background: #f53333;
    color: #fff;
    border: none;
    padding: 8px 18px;
    border-radius: 20px;
    cursor: pointer;
}

/* 热搜榜/人气榜切换 */
.rank-tab-row {
    display: flex;
    border-bottom: 1px solid #eee;
}
.rank-tab {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 15px;
    color: #666;
    cursor: pointer;
    position: relative;
}
.rank-tab.active {
    color: #f53333;
}
.rank-tab.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #f53333;
}
.rank-list-wrap .rank-list {
    display: none;
    padding: 10px 16px;
}
.rank-list-wrap .rank-list.active {
    display: block;
}
.rank-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}
.rank-num {
    width: 24px;
    height: 24px;
    text-align: center;
    line-height: 24px;
    border-radius: 2px;
    margin-right: 10px;
}
.rank-item:nth-child(1) .rank-num {
    background: #f53333;
    color: #fff;
}
.rank-item:not(:nth-child(1)) .rank-num {
    background: #eee;
    color: #666;
}
.rank-name {
    flex: 1;
    color: #333;
}
.rank-price {
    color: #888;
}

/* 推荐楼盘外层容器 */
.tuijian_loupan_you {
    padding: 12px 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}
/* 推荐楼盘图片 目标尺寸112*82px */
.tuijian_loupan_img {
    width: 112px;
    height: 82px;
    object-fit: cover;
    border: 1px solid #eee;
    flex-shrink: 0;
    border-radius: 3px;
    display: block;
}
/* 推荐楼盘文字信息容器 */
.tuijian_loupan_info {
    flex: 1;
    min-width: 0;
}
/* 楼盘名称 */
.tuijian_loupan_name {
    font-size: 15px;
    color: #333;
    margin-bottom: 4px;
}
/* 楼盘价格 */
.tuijian_loupan_price {
    font-size: 16px;
    color: #d60000;
    font-weight: 500;
    margin-bottom: 4px;
}
/* 区域位置 */
.tuijian_loupan_area {
    font-size: 13px;
    color: #888;
}

/* Destoon分页样式 */
.pages {padding:24px 0;text-align:center;font-size:12px;color:#666666;clear:both;position:relative;z-index:10;}
.pages a:link,.pages a:visited,.pages a:active {background:#FFFFFF;border:#ccc 1px solid;padding:6px;text-decoration:none;margin-right:6px;}
.pages a:hover {background:#FF5C6A;border:#FF5C6A 1px solid;color:#FFFFFF;padding:6px;text-decoration:none;}
.pages strong {background:#FF5C6A;border:#FF5C6A 1px solid;padding:6px;color:#FFFFFF;margin-right:6px;}
.pages_inp {width:32px;border:#EEEEEE 1px solid;color:#666666;padding:4px;text-align:center;}
.pages_btn {width:32px;border:#FF6600 1px solid;color:#FFFFFF;padding:4px 6px;background:#FF6600;font-weight:bold;font-size:12px;}
.pages label {background:#FFFFFF;border:#EEEEEE 1px solid;color:#666666;padding:6px 6px;}
.pages label em {color:red;font-weight:bold;font-style:normal;}
.pages label span {font-weight:bold;}
.pages cite {font-style:normal;}