/* ========== 魔力宝贝职业页面 - 中间1200px内容区 ========== */
/* 主容器：1200px居中，适配整体布局 */
.profession-container {
    width: 1200px;
    margin: 0 auto;
    padding: 25px 0 80px; /* 底部留足页脚空间 */
    position: relative;
    z-index: 2; /* 高于背景层 */
}

/* 页面标题栏：强化SEO+视觉层级（暖调风格） */
.profession-header {
    background: #f0e8d8; /* 奶油木色背景，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框，替换紫色 */
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15); /* 暖调轻阴影 */
}
.profession-header h1 {
    color: #e69a88; /* 浅杏色标题，替换浅紫 */
    font-size: 28px;
    text-shadow: 0 0 10px rgba(230, 154, 136, 0.5); /* 暖调发光 */
    margin-bottom: 10px;
}
.profession-header p {
    color: #584830; /* 深木纹文字，替换浅紫 */
    font-size: 15px;
    line-height: 1.6;
}

/* 职业分类卡片：复用暖调卡片样式 */
.profession-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框 */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15);
    transition: all 0.3s ease;
    position: relative; /* 新增：配合before伪元素定位 */
}
.profession-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* 暖调渐变，替换紫色渐变 */
    background: linear-gradient(90deg, #e69a88, #e87a6f, #f0b888);
    border-radius: 8px 8px 0 0;
}
.profession-card:hover {
    box-shadow: 0 6px 20px rgba(230, 154, 136, 0.3); /* 暖调阴影，替换白色 */
    transform: translateY(-3px);
    border-color: rgba(230, 154, 136, 0.6); /* 浅杏色边框 */
}

/* 分类标题 */
.profession-card h2 {
    color: #e87a6f; /* 珊瑚红，替换深紫 */
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
    display: flex;
    align-items: center;
    gap: 10px;
}
.profession-card h2::before {
    content: "★";
    color: #e69a88; /* 浅杏色，替换深紫 */
    font-size: 18px;
}

/* 子分类标题 */
.profession-card h3 {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 18px;
    margin: 18px 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.profession-card h3::before {
    content: "●";
    color: #e69a88; /* 浅杏色，替换紫色 */
    font-size: 14px;
}

/* 职业列表：网格布局，适配1200px宽度 */
.profession-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列均分，适配1200px */
    gap: 15px;
    margin-top: 15px;
}

/* 单个职业项：交互+视觉强化（暖调） */
.profession-item {
    /* 暖调渐变背景，替换紫色 */
    background: linear-gradient(135deg, rgba(230, 154, 136, 0.05), rgba(232, 122, 111, 0.05));
    border-radius: 8px;
    padding: 15px;
    border-left: 4px solid #e69a88; /* 浅杏色边框，替换深紫 */
    transition: all 0.3s ease;
}
.profession-item:hover {
    /* 暖调发光阴影，替换紫色 */
    box-shadow: 0 0 15px rgba(230, 154, 136, 0.3), inset 0 0 10px rgba(232, 122, 111, 0.2);
    background: rgba(230, 154, 136, 0.1); /* 浅杏色半透 */
    transform: translateY(-2px);
}

/* 职业名称+描述 */
.profession-name {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}
.profession-desc {
    color: #7a6953; /* 浅木纹，替换浅紫 */
    font-size: 13px;
    line-height: 1.5;
}

/* 职业称号/晋阶表格：适配暖调风格 */
.profession-table {
    width: 100%;
    margin: 15px 0;
    border-collapse: collapse;
}
.profession-table th,
.profession-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(230, 154, 136, 0.2); /* 浅杏色分隔线 */
}
.profession-table th {
    color: #584830; /* 深木纹 */
    background: rgba(230, 154, 136, 0.1); /* 浅杏色半透 */
    font-size: 14px;
}
.profession-table td {
    color: #7a6953; /* 浅木纹 */
    font-size: 13px;
}
.profession-table tr:hover {
    background: rgba(230, 154, 136, 0.08); /* 浅杏色hover */
}

/* 响应式适配：1200px内自动调整 */
@media (max-width: 1200px) {
    .profession-container {
        width: 95%;
        padding: 20px 0;
    }
    .profession-list {
        grid-template-columns: repeat(3, 1fr); /* 小屏3列 */
    }
}
@media (max-width: 768px) {
    .profession-list {
        grid-template-columns: repeat(2, 1fr); /* 移动端2列 */
    }
}

/* 职业晋阶/称号/转职板块：复用暖调卡片风格 */
.profession-section-card {
    background: #f0e8d8; /* 奶油木色，替换黑色半透 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框 */
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(168, 136, 96, 0.15);
    transition: all 0.3s ease;
    position: relative; /* 新增：配合before伪元素定位 */
}
.profession-section-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    /* 暖调渐变，替换紫色 */
    background: linear-gradient(90deg, #e69a88, #e87a6f, #f0b888);
    border-radius: 8px 8px 0 0;
}
.profession-section-card:hover {
    box-shadow: 0 6px 20px rgba(230, 154, 136, 0.3); /* 暖调阴影 */
    transform: translateY(-3px);
    border-color: rgba(230, 154, 136, 0.6); /* 浅杏色边框 */
}

/* 板块标题 */
.section-title {
    color: #e87a6f; /* 珊瑚红，替换蓝色 */
    font-size: 22px;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(230, 154, 136, 0.3); /* 浅杏色分隔线 */
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: "★";
    color: #e69a88; /* 浅杏色，替换深紫 */
    font-size: 18px;
}

/* 板块正文 */
.section-content {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 14px;
    line-height: 1.8;
}
.section-content p {
    margin-bottom: 12px;
}
.section-content a {
    color: #e69a88; /* 浅杏色，替换深紫 */
    text-decoration: none;
}
.section-content a:hover {
    color: #e87a6f; /* 珊瑚红hover */
    text-decoration: underline;
}

/* 职业称号表格：完全适配暖调风格 */
.title-table {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: #f0e8d8; /* 奶油木色，替换黑色 */
    border: 1px solid rgba(168, 136, 96, 0.35); /* 浅木色边框 */
}
.title-table th,
.title-table td {
    padding: 10px 15px;
    text-align: center;
    border: 1px solid rgba(230, 154, 136, 0.2); /* 浅杏色边框 */
}
.title-table th {
    color: #fff; /* 白色文字 */
    background: #e69a88; /* 浅杏色表头，替换深蓝 */
    font-size: 14px;
}
.title-table td {
    color: #584830; /* 深木纹，替换浅紫 */
    font-size: 13px;
}
.title-table tr:nth-child(even) {
    background: rgba(230, 154, 136, 0.05); /* 浅杏色隔行 */
}
.title-table tr:hover {
    background: rgba(230, 154, 136, 0.1); /* 浅杏色hover */
}