/* 热搜榜单 */
.hot-search-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    margin-bottom: 16px;
}

.hot-search-header .hot-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.hot-search-header .hot-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
}

.hot-search-header .hot-desc {
    font-size: 13px;
    color: #94a3b8;
    margin-left: auto;
}

/* 热搜排名列表 */
.hot-rank-list {
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 8px 0;
    margin-bottom: 16px;
}

/* Tab 面板切换 */
.hot-tab-panel {
    display: none;
}

.hot-tab-panel.active {
    display: block;
}

/* 空数据提示 */
.hot-rank-empty {
    padding: 32px 20px;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
}

/* Tab 按钮 */
.hot-tabs {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 16px;
}

.hot-tab {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    font-size: 14px;
    font-weight: 500;
    color: #64748b;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.hot-tab:hover {
    color: #1e293b;
}

.hot-tab.active {
    color: #fff;
    background: #00b386;
    font-weight: 600;
}

.hot-rank-item {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #f8fafc;
}

.hot-rank-item:last-child {
    border-bottom: none;
}

.hot-rank-item:hover {
    background: #f8fafc;
}

.hot-rank-item .rank-num {
    width: 28px;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    flex-shrink: 0;
    color: #94a3b8;
}

.hot-rank-item:nth-child(1) .rank-num,
.hot-rank-item:nth-child(2) .rank-num,
.hot-rank-item:nth-child(3) .rank-num {
    color: #fff;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 6px;
    font-size: 13px;
}

.hot-rank-item:nth-child(1) .rank-num {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

.hot-rank-item:nth-child(2) .rank-num {
    background: linear-gradient(135deg, #ffa502, #ff6348);
}

.hot-rank-item:nth-child(3) .rank-num {
    background: linear-gradient(135deg, #ffa502, #eccc68);
}

.hot-rank-item .rank-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    margin: 0 12px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hot-rank-item .rank-name:hover {
    color: #00b386;
}

.hot-rank-item .rank-pv {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
    white-space: nowrap;
}

/* 热门内容 */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 0 12px;
}

.section-header .section-ln {
    display: inline-block;
    width: 4px;
    height: 18px;
    border-radius: 2px;
    background: #00b386;
    flex-shrink: 0;
}

.section-header .section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.hot-content-list .item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.hot-content-list .item:hover {
    border-color: #c6f0e5;
    background: #e6f7f2;
}

.hot-content-list .item .thumb-wrap {
    flex-shrink: 0;
}

.hot-content-list .item .thumb-wrap img {
    width: 72px;
    height: 54px;
    border-radius: 8px;
    object-fit: cover;
    background: #f1f5f9;
    display: block;
}

.hot-content-list .item .content-info {
    flex: 1;
    min-width: 0;
}

.hot-content-list .item .content-info .content-title {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-content-list .item .content-info .content-intro {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.hot-content-list .item .hot-badge {
    font-size: 11px;
    color: #fff;
    background: #ff6b6b;
    padding: 2px 8px;
    border-radius: 4px;
    flex-shrink: 0;
    font-weight: 500;
}

/* 分隔线 */
.hot-divider {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 0 8px;
}

.hot-divider-line {
    flex: 1;
    height: 1px;
    background: #eef0f4;
}

.hot-divider-text {
    font-size: 14px;
    color: #94a3b8;
    white-space: nowrap;
}

/* 板块头部 - 查看更多 */
.section-header .section-more {
    margin-left: auto;
    font-size: 13px;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-header .section-more:hover {
    color: #00b386;
}

/* 热搜医院列表 */
.hot-hospital-list {
    margin-bottom: 8px;
}

.hot-hospital-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
    color: inherit;
}

.hot-hospital-item:hover {
    border-color: #dbeafe;
    background: #fafcff;
}

.hot-hospital-item .hosp-logo-wrap {
    flex-shrink: 0;
}

.hot-hospital-item .hosp-logo-wrap img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    object-fit: cover;
    background: #f1f5f9;
    display: block;
}

.hot-hospital-item .hosp-info {
    flex: 1;
    min-width: 0;
}

.hot-hospital-item .hosp-info .hosp-name {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
    margin-bottom: 3px;
}

.hot-hospital-item .hosp-info .hosp-intro {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.hot-hospital-item .hosp-arrow {
    color: #cbd5e1;
    font-size: 20px;
    flex-shrink: 0;
    font-weight: 300;
    transition: all 0.2s ease;
}

.hot-hospital-item:hover .hosp-arrow {
    color: #00b386;
    transform: translateX(3px);
}

/* 热搜药品网格 */
.hot-drugs-grid {
    margin-top: 4px;
}

.hot-drugs-col {
    margin-bottom: 10px;
    padding: 0 6px;
}

.hot-drugs-item {
    display: block;
    text-decoration: none;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.hot-drugs-item .drug-thumb-wrap {
    overflow: hidden;
    border-radius: 10px;
}

.hot-drugs-item .drug-thumb-wrap img {
    display: block;
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.hot-drugs-item:hover .drug-thumb-wrap img {
    transform: scale(1.08);
}

.hot-drugs-item .drug-name {
    font-size: 0.85rem;
    color: #1e293b;
    text-align: center;
    font-weight: 500;
    margin-top: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
