/* 主内容容器样式 */
.careers-main {
    max-width: 100%;
    margin: calc(var(--nav-height)) auto 20px;
    padding: 0 5%;
    flex: 1; /* 撑满剩余空间 */
    transition: margin-top 0.3s ease;
}

/* 默认的 :root 变量 */
@media (min-width: 769px) {
    :root {
      --nav-height: 70px;
      --footer-height: 60px;
    }
  }

.jobs-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 20px auto;
}

.job-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
}

.job-card i {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.job-card h3 {
    color: #34495e;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.job-details {
    color: #7f8c8d;
}

.job-details ul {
    list-style-type: none;
    padding-left: 1.2rem;
}

.job-details li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.job-details li::before {
    content: "•";
    color: #3498db;
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {   
    .jobs-container {
        grid-template-columns: 1fr;
        width: 100%;
        /* overflow-x: hidden;
        overflow-y: hidden;
        padding: 0 15px; */
    }
    
    .job-card {
        min-width: 0;
        word-wrap: break-word;
    }
}
