/* 政策推荐和政策解读样式 */
.policy-section {
    background-color: #f8f9fa;
    padding: 20px 0;
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 15px;
}

.policy-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.policy-tabs h2 {
    margin: 0;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #f8f9fa;
    color: #6c757d;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-bottom: none;
}

.policy-tabs h2.active {
    color: white;
    background-color: #e70012;
    border-radius: 20px;
}

.policy-tabs h2:hover {
    background-color: #e9ecef;
    color: #495057;
}

.policy-tabs h2.active:hover {
    background-color: #ff0000;
    color: white;
}

.policy-view-more {
    display: flex;
    align-items: center;
    gap: 20px;
}

.policy-view-more a {
    color: #6c757d;
    text-decoration: none;
    font-size: 14px;
}

.policy-view-more a:hover {
    color: #007bff;
}

.policy-grid {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

.policy-grid.active {
    display: grid;
}

/* 图片切换样式 */
.interpretation-thumbs {
    display: flex;
    gap: 10px;
    padding: 15px 20px;
    background-color: #f8f9fa;
    justify-content: center;
}

.interpretation-thumbs img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.interpretation-thumbs img:hover {
    border-color: #007bff;
    transform: scale(1.05);
}

.interpretation-thumbs img.thumb-active {
    border-color: #007bff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.interpretation-image {
    transition: background-image 0.3s ease;
}

/* 新项目模块样式 - 完全按照效果图设计 */
.projects-section {
    padding: 60px 0;
    background-color: #ffebee; /* 淡红色背景，替代效果图的浅蓝色 */
    margin: 40px 0;
    position: relative;
    overflow: hidden;
}

.projects-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.projects-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.projects-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 一行四个排列 */
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.project-card {
    background-color: rgba(255, 255, 255, 0.9); /* 半透明白色背景 */
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 320px; /* 竖屏式矩形模块 */
    padding: 40px 30px;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* 确保文字内容不受图片影响 */
.project-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2; /* 文字内容在最上层 */
}

.project-title {
    font-size: 22px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
    text-align: left;
}

.project-description {
    font-size: 15px;
    color: #6c757d;
    margin-bottom: 15px; /* 与链接保持适当距离 */
    line-height: 1.6;
    position: relative;
    z-index: 2;
    text-align: left;
    display: block;
}

.project-link {
    display: inline-block;
    font-size: 15px;
    color: #e91e63; /* 淡红色主题色 */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin-top: 0;
    text-align: left;
}

.project-link:hover {
    color: #c2185b;
    transform: translateX(5px);
}

/* 右下角透明图片占位符 - 作为背景的上一层，文字的下一层 */
.project-image-placeholder {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%; /* 覆盖整个卡片 */
    height: 100%; /* 覆盖整个卡片 */
    z-index: 1; /* 图片在文字下方，背景上方 */
    pointer-events: none; /* 图片不响应鼠标事件，不影响文字操作 */
}

.transparent-image {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 180" fill="none"><rect width="200" height="180" fill="rgba(255, 182, 193, 0.2)"/><rect x="40" y="30" width="120" height="100" rx="10" fill="rgba(255, 255, 255, 0.3)" stroke="rgba(233, 30, 99, 0.3)" stroke-width="2"/><rect x="60" y="50" width="80" height="20" fill="rgba(233, 30, 99, 0.2)" rx="5"/><rect x="60" y="80" width="80" height="20" fill="rgba(233, 30, 99, 0.2)" rx="5"/><rect x="60" y="110" width="50" height="20" fill="rgba(233, 30, 99, 0.2)" rx="5"/><circle cx="140" cy="120" r="10" fill="rgba(233, 30, 99, 0.4)"/></svg>');
    background-size: 160px auto;
    background-repeat: no-repeat;
    background-position: bottom 30px right 30px; /* 固定在右下角，与文字保持距离 */
    opacity: 0.8;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }
    
    .project-card {
        height: 280px;
        padding: 30px 25px;
    }
    
    .transparent-image {
        background-size: 120px auto;
        background-position: bottom 20px right 20px;
    }
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        max-width: 400px;
        margin: 0 auto;
        height: auto;
        min-height: 250px;
    }
    
    .projects-title {
        font-size: 28px;
    }
    
    .projects-subtitle {
        font-size: 16px;
    }
}

.policy-card {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* 优势模块样式 - 严格按照效果图设计：两个优势对应一张图片 */
/* 通栏广告条样式 */
.banner-ad {
    width: 100%;
    display: block;
    overflow: hidden;
    position: relative;
    height: 149px;
}

.banner-ad img {
    width: 100%;
    height: 149px;
    display: block;
    object-fit: cover;
    object-position: top;
}

.banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
}

.banner-placeholder span {
    color: white;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

/* 优势模块标题样式 */
.advantages-section-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 0 20px;
}

.advantages-main-title {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.3;
}

.advantages-subtitle {
    font-size: 18px;
    color: #6c757d;
    margin: 0;
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto;
}

.advantages-section {
    margin: 50px 0;
    padding: 0 20px;
}

/* 优势组容器：两个优势 + 一张图片 */
.advantage-group {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    gap: 50px;
    flex-wrap: wrap;
}

/* 第一组和第三组：左文右图 */
.advantage-group-1-2,
.advantage-group-5-6 {
    flex-direction: row;
}

/* 第二组：左图右文 */
.advantage-group-3-4 {
    flex-direction: row;
}

/* 优势内容容器 */
.advantages-content {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* 单个优势项 */
.advantage-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 编号和标题的容器，使其在同一行显示 */
.advantage-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.advantage-number {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e70012;
    color: white;
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 4px;
    flex-shrink: 0;
}

.advantage-title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 0;
    line-height: 1.3;
    flex-grow: 1;
}

.advantage-description {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}

/* 优势图片容器 */
.advantages-image {
    flex: 1;
    min-width: 350px;
    max-width: 500px;
    height: 350px;
    background-color: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* 图片占位符 */
.placeholder-image {
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 350" fill="%23e0e0e0"><rect width="500" height="350" fill="%23e0e0e0"/><text x="250" y="175" font-size="20" text-anchor="middle" fill="%23999">图片占位符</text></svg>');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .advantage-group {
        gap: 40px;
    }
    
    .advantage-title {
        font-size: 22px;
    }
    
    .advantages-image {
        height: 300px;
        min-width: 300px;
    }
    
    .advantages-content {
        min-width: 300px;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .advantage-group,
    .advantage-group-3-4 {
        flex-direction: column;
        gap: 30px;
    }
    
    .advantages-content,
    .advantages-image {
        min-width: 100%;
        max-width: 100%;
    }
    
    .advantage-title {
        font-size: 20px;
    }
    
    .advantages-image {
        height: 250px;
    }
    
    .advantages-content {
        gap: 25px;
    }
}

.policy-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    line-height: 1.4;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.policy-time {
    color: #dc3545;
    font-weight: bold;
}

.policy-amount {
    color: #28a745;
    font-weight: bold;
}

.policy-tag {
    color: #17a2b8;
    font-weight: bold;
}

.policy-issuer {
    color: #6c757d;
    margin-bottom: 10px;
    font-size: 14px;
}

.policy-views {
    color: #6c757d;
    font-size: 12px;
}

.policy-content {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.policy-main {
    flex: 1;
}

.policy-sidebar {
    width: 350px;
}

.policy-interpretation {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.interpretation-header {
    background-color: #007bff;
    color: white;
    padding: 15px 20px;
    font-size: 18px;
    font-weight: bold;
}

.interpretation-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 350 200" fill="%23e3f2fd"><rect width="350" height="200" fill="%23e3f2fd"/><circle cx="80" cy="80" r="40" fill="%23bbdefb"/><circle cx="270" cy="120" r="30" fill="%23bbdefb"/><rect x="100" y="60" width="150" height="80" fill="white" stroke="%2390caf9" stroke-width="2"/><line x1="100" y1="80" x2="250" y2="80" stroke="%2390caf9" stroke-width="2"/><line x1="100" y1="100" x2="250" y2="100" stroke="%2390caf9" stroke-width="2"/><line x1="100" y1="120" x2="250" y2="120" stroke="%2390caf9" stroke-width="2"/></svg>');
}

.interpretation-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 20px;
}

.interpretation-btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    color: #495057;
    text-decoration: none;
}

.interpretation-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.interpretation-btn i {
    display: block;
    font-size: 24px;
    margin-bottom: 5px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .policy-content {
        flex-direction: column;
    }
    
    .policy-sidebar {
        width: 100%;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .policy-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .policy-tabs {
        width: 100%;
        justify-content: space-between;
    }
    
    .policy-tabs h2 {
        font-size: 20px;
    }
}

/* 企业内训定制服务流程样式 */
.training-process-section {
    margin: 60px 0;
    padding: 40px 20px;
    background-color: #f8f9fa;
}

.training-process-header {
    text-align: center;
    margin-bottom: 40px;
}

.training-process-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.training-process-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.process-step {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 250px;
    background-color: white;
    border-radius: 8px;
    padding: 30px 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background-color: #e70012;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.process-step:hover::before {
    width: 8px;
}

.step-number {
    font-size: 36px;
    font-weight: bold;
    color: #e70012;
    margin-bottom: 15px;
    display: block;
    line-height: 1;
}

.step-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.step-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* 流程步骤响应式设计 */
@media (max-width: 992px) {
    .process-step {
        flex: 0 0 calc(50% - 15px);
    }
    
    .training-process-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .process-step {
        flex: 0 0 100%;
        max-width: 400px;
    }
    
    .training-process-section {
        padding: 30px 15px;
        margin: 40px 0;
    }
    
    .training-process-container {
        gap: 20px;
    }
    
    .process-step {
        padding: 25px 15px;
    }
    
    .step-number {
        font-size: 30px;
        margin-bottom: 12px;
    }
    
    .step-title {
        font-size: 16px;
    }
}