/* 网站信息模板样式 - site-info.css */
.site-info-template {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Microsoft Yahei', sans-serif;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* 头部区域 */
.site-info-template .info-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.site-info-template .keyword-item {
    margin-bottom: 10px;
    line-height: 1.6;
}

.site-info-template .desc-item {
    line-height: 1.6;
    color: #333;
}

/* 主要内容区域 - 图文混合 */
.site-info-template .main-content {
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.site-info-template .screenshot-wrap {
    flex: 0 0 300px;
    margin-right: 20px;
    margin-bottom: 15px;
}

.site-info-template .screenshot-wrap img {
    width: 100%;
    border: 1px solid #eee;
    border-radius: 4px;
}

.site-info-template .info-details {
    flex: 1;
    min-width: 280px;
    line-height: 2.2;
}

.site-info-template .info-details p {
    margin-bottom: 8px;
}

/* 按钮样式 */
.site-info-template .enter-btn {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    padding: 6px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.2s ease;
}

.site-info-template .enter-btn:hover {
    background-color: #e65c00;
    text-decoration: none;
}

/* 表格容器 - 支持横向滚动 */
.site-info-template .table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* 表格样式 */
.site-info-template table {
    width: 100%;
    border-collapse: collapse;
}

.site-info-template th {
    border: 1px solid #eee;
    padding: 8px;
    text-align: center;
    background-color: #f8f8f8;
    font-weight: 600;
    white-space: nowrap;
}

.site-info-template td {
    border: 1px solid #eee;
    padding: 8px;
    text-align: center;
}

/* 权重圆圈 */
.site-info-template .weight-badge {
    display: inline-block;
    width: 20px;
    height: 20px;
    line-height: 20px;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    margin-right: 5px;
    text-align: center;
}

/* 各搜索引擎权重颜色 */
.site-info-template .weight-baidu { background-color: #0066cc; }
.site-info-template .weight-360 { background-color: #00a650; }
.site-info-template .weight-shenma { background-color: #ff6600; }
.site-info-template .weight-sogou { background-color: #ff0000; }
.site-info-template .weight-google { background-color: #4285f4; }

/* 表格中的链接 */
.site-info-template td a {
    color: #0066cc;
    text-decoration: none;
}

.site-info-template td a:hover {
    text-decoration: underline;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .site-info-template .screenshot-wrap {
        flex: 0 0 100%;
        margin-right: 0;
    }
    
    /* 小屏时表格文字稍微小一点 */
    .site-info-template th,
    .site-info-template td {
        padding: 6px 4px;
        font-size: 14px;
    }
}