        :root {
            --ht-primary: #a41626;
            --ht-gradient: linear-gradient(135deg, #a41626, #c2185b);
            --text-color: #333;
            --light-bg: #f8f9fa;
            --white: #ffffff;
            --gray: #6c757d;
            --transition: all 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
        }
        
        body {
            color: var(--text-color);
            line-height: 1.6;
            overflow-x: hidden;
        }
        
        /* 隐藏滚动条 */
        body::-webkit-scrollbar,
        .position-details-container::-webkit-scrollbar {
            display: none;
        }
        
        body,
        .position-details-container {
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        
        a {
            text-decoration: none;
            color: inherit;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 导航栏样式 */
        header {
            background-color: var(--white);
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
        }
        
        nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 0;
        }
        
        .logo {
            font-size: 24px;
            font-weight: bold;
            background: var(--ht-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        .nav-links {
            display: flex;
            list-style: none;
        }
        
        .nav-links li {
            margin-left: 30px;
        }
        
        .nav-links a {
            font-weight: 500;
            transition: var(--transition);
        }
        
        .nav-links a:hover {
            background: var(--ht-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        /* 视频/图片区域 */
        .hero-section {
            height: 500px;
            margin-top: 60px;
            position: relative;
            overflow: hidden;
        }
        
        .hero-video {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        .hero-placeholder {
            width: 100%;
            height: 100%;
            background: var(--ht-gradient);
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            font-size: 24px;
        }
        
        /* 为什么选择霍桐 */
        .why-section {
            padding: 80px 0;
            background-color: var(--light-bg);
        }
        
        /*.section-title {
            text-align: center;
            margin-bottom: 50px;
            font-size: 32px;
            color: #000;  标题色改为黑色
        }
         */
        .advantages {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .advantage-item {
            flex: 0 0 23%;
            margin-bottom: 30px;
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            overflow: hidden;
        }
        
        .advantage-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .advantage-img {
            width: 100%;
            height: 180px;
            object-fit: cover;
            background-color: #e9ecef;
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--gray);
        }
        
        .advantage-content {
            padding: 25px;
        }
        
        .advantage-item h3 {
            background: var(--ht-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin-bottom: 15px;
            font-size: 15px;
        }
        
        /* 探索未来部分 */
        .explore-section {
            padding: 80px 0;
        }
        
        .position-categories {
            display: flex;
            justify-content: space-between;
            margin-bottom: 40px;
        }
        
.position-category {
    flex: 0 0 48%; /* 改为48%宽度，留出间距 */
    text-align: center;
    padding: 0px 0px 15px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
        
        .position-category.active {
            background: var(--ht-gradient);
            color: var(--white);
            transform: translateY(-5px);
        }
        
        .position-category:hover {
            background: var(--ht-gradient);
            color: var(--white);
            transform: translateY(-5px);
        }
        
        .position-category h3 {
            font-size: 18px;
            margin-bottom: 10px;
        }
        
        .position-category-img {
            width: 100%;
            height: 120px;
            object-fit: cover;
            border-radius: 6px;
            margin-bottom: 15px;
        }
        
        .position-details-container {
            height: 600px; /* 固定高度，避免影响底部布局 */
            overflow-y: auto;
            margin-bottom: 30px;
        }
        
        .position-details {
            display: none;
            padding: 30px;
            background-color: var(--light-bg);
            border-radius: 8px;
            animation: fadeIn 0.6s ease;
        }
        
        .position-details.active {
            display: block;
        }
        
        .position-list {
            margin-bottom: 20px;
        }
        
        .position-item {
            margin-bottom: 15px;
            padding: 20px;
            background-color: var(--white);
            border-radius: 8px;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
            transition: var(--transition);
            cursor: pointer;
            position: relative;
            overflow: hidden;
            display: flex;
            flex-direction: column;
        }
        
        .position-item:hover {
            background: var(--ht-gradient);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(164, 22, 38, 0.2);
        }
        
        .position-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 10px;
        }
        
.position-title {
    font-weight: 700;
    font-size: 18px;
    flex: 1;
    color: #666; /* 不展开时的颜色 - 中灰色 */
    transition: var(--transition);
}

.position-item:hover .position-title {
    color: #fff; /* 展开时的颜色 - 白色 */
}
        
        .position-description {
            color: #666;
            font-size: 14px;
            margin-bottom: 15px;
            flex: 1;
            transition: var(--transition);
        }
        
        .position-item:hover .position-description {
            color: rgba(255, 255, 255, 0.9);
        }
        
        .position-resume-btn {
            padding: 8px 20px;
            background-color: var(--ht-primary);
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
            font-size: 14px;
            white-space: nowrap;
            margin-left: 15px;
        }
        
        .position-item:hover .position-resume-btn {
            background-color: rgba(255,255,255,0.2);
            border: 1px solid rgba(255,255,255,0.4);
        }
        
        .position-detail {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                        opacity 0.4s ease, 
                        margin-top 0.4s ease;
            opacity: 0;
            margin-top: 0;
        }
        
        .position-item:hover .position-detail {
            max-height: 500px;
            opacity: 1;
            margin-top: 15px;
        }
        
        .detail-item {
            margin-bottom: 10px;
            display: flex;
            padding: 5px 0;
            transition: var(--transition);
            color: rgba(255, 255, 255, 0.9);
        }
        
        .detail-label {
            min-width: 100px;
            /*font-weight: 600;*/
            opacity: 0.95;
        }
        
        .detail-content {
            flex: 1;
            font-weight: 400;
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            margin-top: 20px;
        }
        
        .page-btn {
            padding: 8px 15px;
            margin: 0 5px;
            background-color: var(--white);
            border: 1px solid #ddd;
            border-radius: 4px;
            cursor: pointer;
            transition: var(--transition);
        }
        
        .page-btn.active, .page-btn:hover {
            background: var(--ht-gradient);
            color: var(--white);
            border-color: transparent;
        }
        
        .resume-btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--ht-gradient);
            color: white;
            border-radius: 6px;
            transition: var(--transition);
            border: none;
            cursor: pointer;
            font-size: 16px;
            font-weight: 500;
            box-shadow: 0 4px 10px rgba(164, 22, 38, 0.3);
        }
        
        .resume-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(164, 22, 38, 0.4);
        }
        
        /* 公司活动部分 */
        .activities-section {
            padding: 80px 0;
            background-color: var(--light-bg);
        }
        
        .activities-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 20px;
        }
        
        .left-activities {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .right-activities {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .activity-card {
            height: 250px;
            border-radius: 8px;
            overflow: hidden;
            position: relative;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
            cursor: pointer;
        }
        
        .activity-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
        }
        
        .activity-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }
        
        .activity-card:hover .activity-img {
            transform: scale(1.05);
        }
        
        .activity-title {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 15px;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            color: white;
            font-size: 18px;
        }
        
        /* 办公环境部分 */
        .environment-section {
            padding: 80px 0;
        }
        
        .environment-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 20px;
        }
        
        .environment-img {
            width: 100%;
            height: 200px;
            object-fit: cover;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            transition: var(--transition);
        }
        
        .environment-img:hover {
            transform: scale(1.03);
        }
        
        /* 底部部分 */
        footer {
            background: var(--ht-gradient);
            color: white;
            padding: 60px 0 30px;
            text-align: center;
        }
        
        .footer-slogan {
            font-size: 28px;
            margin-bottom: 20px;
            font-weight: 300;
        }
        
        .footer-cta {
            font-size: 18px;
            margin-bottom: 40px;
        }
        
        .copyright {
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.2);
            font-size: 14px;
            color: rgba(255,255,255,0.7);
        }
        
        /* 弹窗样式 */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(5px);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            animation: fadeIn 0.4s ease;
        }
        
        .modal-overlay.active {
            display: flex;
        }
        
        .modal-content {
            background-color: var(--white);
            border-radius: 12px;
            width: 90%;
            max-width: 600px;
            padding: 40px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
            animation: slideUp 0.5s ease;
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: 20px;
            right: 20px;
            font-size: 24px;
            cursor: pointer;
            color: var(--gray);
            transition: var(--transition);
        }
        
        .close-modal:hover {
            background: var(--ht-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            transform: rotate(90deg);
        }
        
        .modal-title {
            color: #000; /* 标题色改为黑色 */
            margin-bottom: 25px;
            text-align: center;
            font-size: 24px;
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-label {
            display: block;
            margin-bottom: 8px;
            font-weight: 500;
            color: #000; /* 标题色改为黑色 */
        }
        
        .form-control {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 6px;
            font-size: 16px;
            transition: var(--transition);
        }
        
        .form-control:focus {
            border-color: var(--ht-primary);
            box-shadow: 0 0 0 3px rgba(164, 22, 38, 0.1);
            outline: none;
        }
        
        .form-row {
            display: flex;
            gap: 15px;
        }
        
        .form-row .form-group {
            flex: 1;
        }
        
        .submit-btn {
            width: 100%;
            padding: 14px;
            background: var(--ht-gradient);
            color: white;
            border: none;
            border-radius: 6px;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: var(--transition);
            margin-top: 10px;
        }
        
        .submit-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(164, 22, 38, 0.3);
        }
        
        .success-message {
            display: none;
            text-align: center;
            padding: 30px 0;
        }
        
        .success-icon {
            font-size: 60px;
            color: #28a745;
            margin-bottom: 20px;
        }
        
        .success-message h3 {
            color: #000; /* 标题色改为黑色 */
            margin-bottom: 15px;
        }
        
        /* 淡入淡出动画 */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideUp {
            from { 
                opacity: 0;
                transform: translateY(30px);
            }
            to { 
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .fade-in {
            animation: fadeIn 1s ease;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .advantages {
                flex-wrap: wrap;
            }
            
            .advantage-item {
                flex: 0 0 48%;
                margin-bottom: 20px;
            }
            
            .position-categories {
                flex-wrap: wrap;
            }
            
            .position-category {
                flex: 0 0 48%;
                margin-bottom: 15px;
            }
            
            .activities-grid {
                grid-template-columns: 1fr;
            }
            
            .environment-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .form-row {
                flex-direction: column;
                gap: 0;
            }
        }
        
        @media (max-width: 768px) {
            .advantage-item {
                flex: 0 0 100%;
            }
            
            .position-category {
                flex: 0 0 100%;
            }
            
            .position-list {
                grid-template-columns: 1fr;
            }
            
            .environment-grid {
                grid-template-columns: 1fr;
            }
            
            .nav-links {
                display: none;
            }
            
            .modal-content {
                padding: 30px 20px;
            }
            
            .position-header {
                flex-direction: column;
            }
            
            .position-resume-btn {
                margin-left: 0;
                margin-top: 10px;
                align-self: flex-start;
            }
        }


        /*新增的职位信息*/
        .position-item {
    margin-bottom: 15px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.position-item:hover {
    background: var(--ht-gradient);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(164, 22, 38, 0.2);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.position-info {
    flex: 1;
}

.position-title {
    font-weight: 600;
    font-size: 18px;
    color: #000;
    margin-bottom: 8px;
}

.position-salary {
    font-weight: 700;
    font-size: 20px;
    color: #e74c3c;
    margin-bottom: 12px;
}

.position-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: rgba(164, 22, 38, 0.1);
    color: var(--ht-primary);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.position-company {
    text-align: right;
    min-width: 180px;
    margin-left: 20px;
}

.company-name {
    font-weight: 600;
    font-size: 14px;
    color: #000;
    margin-bottom: 4px;
}

.company-info {
    font-size: 12px;
    color: #666;
    margin-bottom: 12px;
}

.position-resume-btn {
    padding: 8px 20px;
    background: var(--ht-gradient);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
    width: 100%;
}

.position-item:hover .position-resume-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.position-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.4s ease, 
                margin-top 0.4s ease;
    opacity: 0;
    margin-top: 0;
}

.position-item:hover .position-detail {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.detail-section {
    margin-bottom: 20px;
}

.detail-section h4 {
    font-weight: 600;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.95);
    font-size: 16px;
}

.detail-item {
    margin-bottom: 10px;
    display: flex;
    padding: 5px 0;
    color: rgba(255, 255, 255, 0.9);
}

.detail-label {
    min-width: 80px;
    font-weight: 600;
    opacity: 0.95;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    font-weight: 400;
    line-height: 1.5;
}

/* 悬停时文字颜色变化 */
.position-item:hover .position-title,
.position-item:hover .company-name {
    color: rgba(255, 255, 255, 0.95);
}

.position-item:hover .position-salary {
    color: rgba(255, 255, 255, 0.9);
}

.position-item:hover .tag {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.position-item:hover .company-info {
    color: rgba(255, 255, 255, 0.8);
}
.detail-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
}

