/**
 * sidebar-recommend-card.css —— 侧边栏推荐卡公共样式（组件）
 *
 * 适用结构（includes/card_helper.php 的 renderDetailSidebar / renderSidebarSimilarCard 输出）：
 *   .right-card > .right-card-head + .right-hot-list > .right-hot-item > .rhi-img + .rhi-info(.rhi-name/.rhi-area/.rhi-price)
 *
 * 背景：property.css / detail-sale-property.css 内已有同款样式，但仅 property/coworking
 *       详情页加载了它们；sale / building / creative / oldhouse 详情页不加载，导致
 *       侧边栏推荐卡完全无样式（条目挤在一起、图片溢出、卡片无边框）。
 *       本组件为这四个页面提供等价样式，视觉对齐 property 详情页。
 * 版本号：由 filemtime 自动控制（引用处统一 ?v=filemtime）。
 */
.right-card {
    background: #fff;
    margin-bottom: 14px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0, 0, 0, .05);
}
.right-card-head {
    background: #17A1E6;
    color: #fff;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
}
.right-hot-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.right-hot-item {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    transition: background .15s;
    text-decoration: none;
    color: #555;
    align-items: center;
}
.right-hot-item:last-child { border-bottom: none; }
.right-hot-item:hover { background: #f9f9f9; }
.rhi-img {
    width: 72px;
    height: 52px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
    background: #eee;
}
.rhi-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
}
.rhi-name {
    font-size: 13px;
    font-weight: 600;
    color: #555;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}
.right-hot-item:hover .rhi-name { color: #17A1E6; }
.rhi-area {
    font-size: 11px;
    color: #aaa;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rhi-price {
    font-size: 13px;
    color: #CC2929;
    font-weight: 600;
    margin-top: 2px;
}

@media (max-width: 767px) {
    .right-card { margin-bottom: 12px; }
    .right-hot-item { padding: 10px 14px; }
}
