/* 下拉菜单样式 */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    top: 100%;
    left: 0;
    pointer-events: auto;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    font-size: 14px;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
    color: #0078d4;
}

.dropdown-content a.active {
    color: #0078d4;
    font-weight: bold;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* 全屏封面图样式 */
.fullscreen-banner {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* recruitment页面的全屏头图样式 */
.recruitment-page .fullscreen-banner {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    height: auto;
}

.recruitment-page .banner-image {
    width: 100%;
    height: auto;
    display: block;
    max-width: 100%;
}

.recruitment-page .page-footer-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: block;
}

/* 封面内容样式 */
.fullscreen-banner .container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* intelligence.html的banner-content左对齐 */
.banner-content {
    text-align: left;
    color: white;
    max-width: 480px;
}

/* assets.html的banner-content右对齐 */
.zichan-page .fullscreen-banner .container {
    justify-content: flex-end;
}

.zichan-page .banner-content {
    text-align: right;
}

.zichan-page .banner-description {
    padding-left: 0;
    padding-right: 30px;
}

.zichan-page .banner-description::after {
    left: auto;
    right: 0;
}

.banner-title {
    font-size: 48px;
    margin-bottom: 30px;
    color: white;
    font-weight: bold;
}

.banner-description {
    font-size: 24px;
    line-height: 1.5;
    color: white;
    text-align: justify;
    position: relative;
    padding-left: 30px;
}

.banner-description::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 12px;
    height: 100%;
    background-color: #C9A063;
}

/* 职位列表样式 */
.job-list-section {
    padding: 50px 0;
    background-color: #f9f9f9;
}

.job-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.job-list .job-card:nth-child(4) {
    grid-column: 1 / 2;
}

.job-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 0 0 20px 0;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    /* 移除 flex 相关属性，让内容自然排列 */
}

.job-image-container {
    width: 100%;
    height: 180px;
    background-color: #f5f5f5;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    overflow: hidden;
    position: relative;
}

.job-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.job-header {
    padding: 15px 25px;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.job-title {
    margin: 15px 20px 10px 20px;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.job-tags {
    margin: 0 20px 15px 20px;
    display: flex;
    gap: 8px;
}

.job-location-tag {
    background-color: #C9A063;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.job-type-tag {
    background-color: #888;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.job-meta {
    margin: 0 20px 15px 20px;
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
}

.job-author {
    font-style: italic;
}

/* 职位详情页面样式 */
.job-detail-section {
    padding: 40px 0;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.job-detail-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.job-detail-main {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 30px;
}

.job-detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.back-btn {
    background: #C9A063;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    margin-bottom: 20px;
    transition: background-color 0.3s;
}

.back-btn:hover {
    background: #b08a53;
}

.job-basic-info {
    margin-bottom: 30px;
}

.job-info h3 {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.job-detail-tags {
    margin-bottom: 15px;
}

.job-detail-tags .job-location-tag,
.job-detail-tags .job-type-tag {
    display: inline-block;
    padding: 6px 12px;
    margin-right: 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.job-detail-tags .job-location-tag {
    background-color: #e3f2fd;
    color: #1976d2;
}

.job-detail-tags .job-type-tag {
    background-color: #f3e5f5;
    color: #7b1fa2;
}

.job-detail-meta {
    color: #666;
    font-size: 14px;
}

.job-detail-meta .job-author,
.job-detail-meta .job-date {
    margin-right: 20px;
}

.job-section {
    margin-bottom: 30px;
}

.job-section h4 {
    color: #333;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #C9A063;
    display: inline-block;
}

.job-section p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

#job-detail-requirements ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#job-detail-requirements li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.job-section ul {
    padding-left: 0;
    list-style: none;
}

.job-section li {
    color: #555;
    line-height: 1.6;
    margin-bottom: 10px;
    padding-left: 0;
    position: relative;
    list-style: none;
}

.job-apply-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.job-apply-btn {
    background: linear-gradient(135deg, #C9A063, #b08a53);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(201, 160, 99, 0.3);
}

.job-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 160, 99, 0.4);
}

/* 联系按钮样式 */
.job-contact {
    text-align: right;
    padding-top: 20px;
    margin-top: 20px;
}

.contact-btn {
    background: linear-gradient(135deg, #C9A063, #b08a53);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 3px 10px rgba(201, 160, 99, 0.3);
}

.contact-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(201, 160, 99, 0.4);
    background: linear-gradient(135deg, #b08a53, #9a7749);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .job-detail-main {
        padding: 20px;
        margin: 0 10px 20px;
        border-radius: 8px;
    }
    
    .job-info h3 {
        font-size: 20px;
    }
    
    .job-section h4 {
        font-size: 18px;
    }
    
    .job-apply-btn {
        padding: 12px 30px;
        font-size: 16px;
    }
    
    /* 移动端联系按钮居中 */
     .job-contact {
         text-align: center;
     }
     
     .contact-btn {
         font-size: 13px;
         padding: 10px 20px;
         width: 100%;
         box-sizing: border-box;
     }
}

.job-date {
    color: #999;
}

.job-detail-btn {
    display: block;
    width: calc(100% - 30px);
    margin: 15px auto 0;
    padding: 10px 0;
    background-color: #C9A063;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.job-detail-btn:hover {
    background-color: #b08a53;
}


/* 响应式字体大小 */
@media (max-width: 768px) {
    .job-detail-btn {
        font-size: 16px;
    }
}



.job-department {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
}

.job-requirements {
    color: #777;
    font-size: 20px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .job-requirements {
        font-size: 14px;
    }
}



.job-type {
    background-color: #f0f0f0;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.apply-btn {
    color: #C9A063;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.apply-btn:hover {
    color: #a88445;
}

/* 职位列表移动端响应式设计 */
@media (max-width: 768px) {
    .job-list {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .job-list .job-card:nth-child(4) {
        grid-column: 1;
    }
    
    .job-card {
        padding: 0 0 20px 0;
    }
    
    .job-title {
        font-size: 16px;
        font-weight: bold;
    }
    
    .job-header {
        flex-direction: column;
        align-items: flex-start;
    }
    

    
    .job-list-section {
        padding: 30px 0;
    }
    
    .section-title {
        font-size: 24px;
    }
}

.banner-description .highlight {
    color: #C9A063;
}

/* 第二张图片样式 */
.second-image-section {
    position: relative;
    margin-top: -110px;
    z-index: 2;
    width: 100%;
    padding: 0;
    margin-bottom: 0;
    overflow: hidden;
    display: inline-block; /* 使用inline-block使容器适应内容高度 */
    line-height: 0; /* 消除行高导致的间隙 */
    font-size: 0; /* 消除字体大小导致的间隙 */
    box-sizing: border-box; /* 确保盒模型计算包含边框和内边距 */
}

.second-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    vertical-align: bottom;
    margin: 0;
    padding: 0;
}

/* 确保图片正确显示并且容器高度与图片一致 */
.second-image-section img {
    display: block;
    margin: 0;
    padding: 0;
}

/* 媒体查询，确保在768px宽度下容器高度与图片一致 */
@media screen and (max-width: 768px) {
    .second-image-section {
        height: auto !important; /* 强制使用auto高度 */
        min-height: 0 !important; /* 移除最小高度限制 */
    }
}

/* 详细内容部分样式 */
.detail-content-section {
    background-color: #031C3F;
    color: white;
    padding: 10px 0 60px 0; /* 上10px 右0 下60px 左0 */
    margin-top: 0; /* 移除负边距 */
    font-size: 16px; /* 恢复字体大小 */
    line-height: 1.5; /* 恢复行高 */
    position: relative; /* 添加定位 */
    margin-bottom: 0; /* 确保底部也没有间隙 */
}

.detail-content-section h2 {
    font-size: 36px;
    margin-bottom: 30px;
    color: #C9A063;
}

.detail-content-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    background-color: rgba(255, 255, 255, 0);
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #C9A063;
}

.feature-item p {
    font-size: 16px;
    margin-bottom: 0;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: 1fr;
        margin: 0;
    }
    .feature-item {
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .feature-item img {
        transform: scale(0.8);
    }
    
    /* 移动端说明文字缩小20% */
    .feature-grid h3 {
        font-size: 25.6px !important; /* 32px * 0.8 = 25.6px (缩小20%) */
    }
    
    .feature-grid p {
        font-size: 19.2px !important; /* 24px * 0.8 = 19.2px (缩小20%) */
    }
    
    /* 双平台战略标题移动端样式 */
    .strategy-title {
        font-size: 24px !important;
    }
    
    /* 双平台容器移动端上下排列 */
    .platform-grid {
        flex-direction: column !important;
        align-items: center;
        gap: 0px !important;
    }
    
    .platform-container {
        margin-bottom: 30px;
    }
    .dropdown-content {
        position: static;
        box-shadow: none;
        background-color: transparent;
        padding-left: 20px;
    }
    
    .dropdown-content a {
        color: #fff;
        padding: 8px 0;
    }
    
    .dropdown-content a:hover,
    .dropdown-content a.active {
        background-color: transparent;
    }
    
    /* 移动端封面内容样式 */
    .fullscreen-banner .container {
        padding: 0 20px;
    }
    
    .banner-content {
        max-width: 400px;
    }
    
    .banner-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .banner-description {
        font-size: 16px;
    }
    
    /* 移动端第二张图片样式 */
    .second-image-section {
        height: 60vh;
    }
}