/* 人物技能页核心容器 */
.skill-wrapper {
    width: 1200px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 8fr 3fr; /* 主内容区+侧边栏 - 布局保留 */
    gap: 25px;
}

/* 主内容卡片 - 暖调替换 */
.skill-main-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框，替换紫色 */
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15); /* 暖调轻阴影 */
    position: relative; /* 配合伪元素定位 */
}

.skill-main-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 325px); /* 适配侧边栏宽度 - 布局保留 */
    height: 3px;
    /* 暖调渐变，替换紫色渐变 */
    background: linear-gradient(90deg, #e69a88, #e87a6f, #f0b888);
    border-radius: 8px 8px 0 0;
    width:100%;
}

/* 面包屑导航 - 暖调适配 */
.skill-breadcrumb {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 14px;
    margin-bottom: 20px;
}

.skill-breadcrumb a {
    color: #e69a88; /* 浅杏色，替换紫色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.skill-breadcrumb a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换浅紫 */
    text-decoration: underline;
}

.skill-breadcrumb span {
    margin: 0 8px;
    color: #e69a88; /* 浅杏色，替换深紫 */
}

/* 技能页面标题 - 暖调替换 */
.skill-title {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(230, 154, 136, 0.5); /* 暖调发光，替换紫色 */
}

/* 技能介绍文本 - 暖调替换 */
.skill-intro {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

/* 技能表格样式 - 仿示例布局+暖调美化 */
.skill-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

/* 表格表头 - 暖调渐变 */
.skill-table thead tr {
    background: linear-gradient(90deg, #e69a88, #e87a6f); /* 暖调渐变，替换紫色 */
}

.skill-table th {
    color: #fff; /* 白色文字保留 */
    font-size: 16px;
    font-weight: 600;
    padding: 12px 15px;
    text-align: left;
    border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框，替换紫色 */
}

/* 表格内容行 - 暖调替换 */
.skill-table tbody tr {
    background: rgba(230, 154, 136, 0.08); /* 浅杏色半透，替换紫色 */
    transition: background 0.3s ease;
}

.skill-table tbody tr:nth-child(even) {
    background: rgba(230, 154, 136, 0.05); /* 暖调隔行变色，替换紫色 */
}

.skill-table tbody tr:hover {
    background: rgba(230, 154, 136, 0.15); /* 暖调hover高亮，替换紫色 */
}

.skill-table td {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 15px;
    padding: 12px 15px;
    border: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色边框，替换紫色 */
}

/* 表格内A标签样式（SEO友好）- 暖调替换 */
.skill-table td a {
    color: #e69a88; /* 浅杏色，替换白色 */
    text-decoration: none;
    transition: color 0.3s ease;
}

.skill-table td a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换浅紫 */
    text-decoration: none;
}

/* 侧边栏样式 - 布局保留 */
.skill-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 分类卡片 - 暖调替换 */
.search-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框，替换紫色 */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15); /* 暖调轻阴影 */
}

/* 分类标题 - 暖调替换 */
.sidebar-title {
    color: #e87a6f; /* 珊瑚红，替换紫色 */
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线，替换紫色 */
}

/* 分类列表 - 布局保留，暖调文字 */
.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    margin-bottom: 10px;
}

.category-list a {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    padding: 6px 8px;
    border-radius: 4px;
}

.category-list a:hover {
    color: #e87a6f; /* 珊瑚红hover，替换白色 */
    background: rgba(230, 154, 136, 0.2); /* 暖调背景，替换紫色 */
    padding-left: 12px;
}

/* 分页样式（SEO友好+适配技能页）- 暖调替换 */
.skill-pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.skill-pagination-btn {
    background: rgba(230, 154, 136, 0.2); /* 暖调背景，替换紫色 */
    border: 1px solid rgba(230, 154, 136, 0.5); /* 浅杏色边框，替换紫色 */
    color: #584830; /* 深木纹，替换浅紫 */
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none; /* 去掉A标签下划线 - 保留 */
}

.skill-pagination-btn:hover {
    background: rgba(232, 122, 111, 0.3); /* 珊瑚红背景，替换紫色 */
    color: #e87a6f; /* 珊瑚红文字，替换浅紫 */
    border-color: #e87a6f; /* 珊瑚红边框，替换紫色 */
}

.skill-pagination-btn.active {
    background: linear-gradient(135deg, #e69a88, #e87a6f); /* 暖调渐变，替换紫色 */
    color: #fff; /* 白色文字保留 */
    border-color: #e87a6f; /* 珊瑚红边框，替换紫色 */
    box-shadow: 0 0 10px rgba(230, 154, 136, 0.4); /* 暖调发光，替换紫色 */
}

