.twj-hotel-card {
    width: 100%;
    margin-bottom: 16px;
}

/* 外层卡片 */
.twj-hotel-card-inner {
    display: flex;
    border-radius: 10px;
    border: 1px solid #e2e2e2;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    padding: 16px;
    box-sizing: border-box;
}

/* 左侧图片区域 */
.twj-hotel-card-media {
    position: relative;
    flex: 0 0 260px;
    max-width: 260px;
    margin-right: 20px; /* 代替 gap */
}

.twj-hotel-card-thumb-link {
    display: block;
    border-radius: 10px;
    overflow: hidden;
}

/* 这里是重点：正常 img 写法 */
.twj-hotel-card-thumb {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    /* 可选：如果你想固定比例，可以打开下面一行
       aspect-ratio: 3 / 2;
    */
}

/* 没有特色图时的占位 */
.twj-hotel-card-thumb--placeholder {
    width: 100%;
    height: 0;
    padding-bottom: 66%;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #888;
}

/* 酒店类型徽章 */
.twj-hotel-badges {
    position: absolute;
    left: 10px;
    bottom: 10px;
}

.twj-hotel-badge {
    display: inline-block;
    font-size: 11px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0,0,0,0.75);
    color: #fff;
    margin-right: 6px;   /* 代替 gap */
    margin-bottom: 4px;
}

/* 右侧内容 */
.twj-hotel-card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 标题和标签 */
.twj-hotel-card-header {
    margin-bottom: 8px;
}

.twj-hotel-title {
    font-size: 20px;
    margin: 0 0 6px 0;
}

.twj-hotel-title a {
    text-decoration: none;
    color: #222;
}

.twj-hotel-title a:hover {
    color: #0b6efd;
}

/* 标签 chips */
.twj-hotel-tags {
    font-size: 0; /* 清除间隙 */
}

.twj-hotel-tag {
    display: inline-block;
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 999px;
    background: #f4f4f4;
    color: #555;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* 推荐理由 */
.twj-hotel-reason {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
}

.twj-hotel-reason-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ffe4c7;
    color: #b95b00;
    margin-right: 8px;
}

.twj-hotel-xhs-link {
    margin-left: 10px;
    font-size: 12px;
    color: #ff2442;
    text-decoration: none;
}

.twj-hotel-xhs-link:hover {
    text-decoration: underline;
}

/* 底部按钮区 */
.twj-hotel-card-footer {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.twj-trip-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 999px;
    background: #287DFA;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    margin-right: 12px;  /* 代替 gap */
    margin-bottom: 6px;
}

.twj-trip-btn:hover {
    background: #0b6efd;
}

.twj-hotel-detail-link {
    font-size: 13px;
    color: #555;
    text-decoration: underline;
    margin-bottom: 6px;
}

.twj-hotel-detail-link:hover {
    color: #0b6efd;
}

/* 无 Trip 文案 */
.twj-hotel-no-trip {
    margin: 0 12px 6px 0;
    font-size: 13px;
    color: #777;
}

/* 只在桌面显示的链接 */
.desktop-only {
    display: inline;
}

/* 手机端适配 */
@media (max-width: 768px) {
    .twj-hotel-card-inner {
        flex-direction: column;
        padding: 12px;
    }

    .twj-hotel-card-media {
        max-width: 100%;
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 12px;
    }

    .twj-trip-btn {
        width: 100%;
        justify-content: center;
    }

    .desktop-only {
        display: none;
    }
}
