/* ==================== 主播百科内容页样式 ==================== */
/* 作者：主播百科网 */
/* 版本：1.1 */

/* ==================== 主播信息卡片区域 ==================== */
.anchor-profile {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.anchor-avatar {
    flex-shrink: 0;
    text-align: center;
}

.anchor-avatar img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff6b6b;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.anchor-name {
    margin-top: 12px;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    text-align: center;
}

.anchor-info {
    flex: 1;
}

/* 双排布局 - 使用grid网格布局 */
.anchor-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 25px;
}

.anchor-info-item {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.anchor-info-label {
    width: 80px;
    color: #999;
    font-size: 14px;
    flex-shrink: 0;
}

.anchor-info-value {
    flex: 1;
    color: #333;
    font-size: 14px;
    word-break: break-all;
}

.category-tag {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 5px;
    margin-bottom: 4px;
    color: #666;
}

/* ==================== 直播间号链接样式 ==================== */
.room-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ff6b6b;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.room-link:hover {
    color: #ff5252;
    text-decoration: underline;
}

.room-link i {
    font-size: 12px;
    opacity: 0.8;
}

/* ==================== 微博链接样式 ==================== */
.weibo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ff8200;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.weibo-link:hover {
    color: #e76d00;
    text-decoration: underline;
}

.weibo-link i {
    font-size: 14px;
}

/* ==================== 文章内容样式 ==================== */
.entry-content h2 {
    font-size: 20px;
    margin: 25px 0 15px;
    padding-left: 12px;
    border-left: 4px solid #ff6b6b;
}

.entry-content h3 {
    font-size: 18px;
    margin: 20px 0 12px;
    color: #555;
}

.highlight-box {
    background: #f8f9fa;
    border-left: 4px solid #ff6b6b;
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 8px;
    line-height: 1.6;
    color: #555;
}

.entry-copyright {
    margin-top: 30px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 12px;
    color: #999;
    text-align: center;
}

/* ==================== 相关推荐 - 网格缩略图布局 ==================== */
.related-anchors {
    margin: 30px 0 20px;
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-left: 12px;
    border-left: 4px solid #ff6b6b;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.related-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.related-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #f5f5f5;
}

.related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-item:hover .related-img img {
    transform: scale(1.05);
}

.related-info {
    padding: 12px;
    text-align: center;
}

.related-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-info p {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* ==================== 响应式布局 ==================== */
/* 平板设备 */
@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .anchor-info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

/* 手机设备 */
@media (max-width: 768px) {
    .anchor-profile {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }
    .anchor-avatar img {
        width: 100px;
        height: 100px;
    }
    .anchor-name {
        font-size: 14px;
    }
    .anchor-info-label {
        width: 70px;
        font-size: 12px;
    }
    .anchor-info-value {
        font-size: 12px;
    }
    .anchor-info-item {
        justify-content: center;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .related-img {
        height: 120px;
    }
    .related-info h4 {
        font-size: 12px;
    }
    .entry-content h2 {
        font-size: 18px;
    }
    .entry-content h3 {
        font-size: 16px;
    }
    
    /* 移动端链接样式调整 */
    .room-link, .weibo-link {
        font-size: 12px;
    }
    .room-link i, .weibo-link i {
        font-size: 11px;
    }
}

/* 小手机设备 */
@media (max-width: 480px) {
    .anchor-profile {
        padding: 15px;
    }
    .anchor-avatar img {
        width: 80px;
        height: 80px;
    }
    .anchor-info-label {
        width: 60px;
        font-size: 11px;
    }
    .anchor-info-value {
        font-size: 11px;
    }
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .related-img {
        height: 100px;
    }
    .related-info {
        padding: 8px;
    }
    .related-info h4 {
        font-size: 11px;
    }
    .related-info p {
        font-size: 10px;
    }
    
    /* 小手机链接样式调整 */
    .room-link, .weibo-link {
        font-size: 11px;
    }
}