/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
@supports (--css: variables) {
  :root {
    /* 基础颜色系统 - 便于整体风格切换 */
    /* 主色调 */
    --primary-color: #1e88e5;
    --primary-dark: #0066cc;
    --primary-light: #3594fa;
    
    /* 辅助色 */
    --error-color: #ef5350;
    --warning-color: #ffe08a;
    
    /* 中性色 */
    --text-dark: #333;
    --text-medium: #666;
    --text-light: #999;
    --border-light: #ddd;
    --border-lighter: #eee;
    
    /* 背景色 */
    --bg-light: #f5f5f5;
    --bg-medium: #f8f9fa;
    --bg-white: #fff;
    
    /* 特殊颜色 */
    --burgundy: #800020;
    --marksgreen: #008c8c;
    --tiffany: #81d8d0;
    --deep-blue: #182C61;
    --navy: #2c3e50;
    --link-color: #111e36;
  }
}
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.pagination {
    margin: 30px 0;
    display: flex;
    justify-content: center;
    gap: 8px; /* 控制分页项间距 */
}
.pagination span {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}
.pagination .more {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--primary-light);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

.page-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-medium);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 36px;
    text-align: center;
}

.page-btn:hover:not(.disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
}

.page-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    background: var(--bg-medium);
    color: var(--text-light);
}
.back-button {
    padding: 8px 16px;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    background: var(--bg-medium);
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    min-width: 36px;
    text-align: center;
}
.pagination  a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    margin: 0 3px; /* 增加左右间距 */
}

.pagination a:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination a.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    cursor: default;
}

/* Category Navigation Styles */
.category-nav {
    background: var(--bg-white);
    padding: 10px 2%;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-radius: 6px;
}
.breadcrumbs {
    margin-bottom: 10px;
    padding: 5px 8px;
    background-color: var(--bg-medium);
    border-radius: 6px;
}
.breadcrumbs ol {
    display: inline-flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}
.breadcrumbs li:not(:first-child)::before {
    content: "/";          
    /* 或者 content: "›";  向前箭头 */
    margin: 0 6px;
    color: #666;
}
.breadcrumbs li:last-child span[name="name"] {
    font-weight: bold;
    color: #333;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
}
.breadcrumbs li:not(:first-child)::before {
    content: "/";          
    /* 或者 content: "›";  向前箭头 */
    margin: 0 6px;
    color: #666;
}
.breadcrumbs li:last-child span[name="name"] {
    font-weight: bold;
    color: #333;
}
.breadcrumbs li a {
    color: var(--text-dark);
    text-decoration: none;
}
.breadcrumbs li a:hover {
    color: var(--primary-color);
}
.breadcrumbs li a.active {
    color: var(--primary-color);
}
.search-box {
    margin-bottom: 5px;
    padding: 2px 10px;
    background: var(--bg-medium);
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.search-box a {
    display: inline-block;
    margin: 0 8px 8px 0;
    padding: 1px 10px;
    color: var(--text-dark);
    text-decoration: none;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: all 0.2s ease;
    font-size: 0.9em;
    /* 初始未选中状态 */
    /* 选中状态通过.active类控制 */
}

.search-box a:hover {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}

.search-box a.active {
    color: #fff;
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
}
/* Collapsible Navigation Styles */
.collapsible .nav-header {
    display: flex;
    justify-content: flex-start;
    align-items: left;
    cursor: pointer;
    padding: 4px 0;
}
.nav-title {
    width: 200px;
    margin-right: 10px;
    white-space: nowrap;
}
.nav-content {
    flex-grow: 1;
}
.nav-title  {
    width: auto;
    margin-right: 10px;
    white-space: nowrap;
}

.nav-content {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    line-clamp: 1;
    max-width: 85%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-content.expanded {
    -webkit-line-clamp: unset;
    line-clamp: unset;
    height: auto;
}

.toggle-btn {
    margin-left: auto;
    padding: 4px 12px;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    background: var(--bg-light);
    font-size: 0.9em;
    transition: all 0.3s ease;
    cursor: pointer;
}


.header  {
    color: var(--text-medium);
}
.header .tab-nav  {
    color: var(--primary-dark);
    padding: 5px 10px;
    margin-right: 10px;
    text-decoration: none;
    cursor: pointer;
    font-size:medium;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.header .tab-nav.active {
    color: var(--navy);
    cursor: not-allowed;
    pointer-events: none;
    font-size: unset;
}
.header .tab-nav a:hover {
    color: var(--primary-dark);
    transform: scale(1.05);
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(120deg, rgba(0,123,255,0.1) 0%, transparent 80%);
}
.header .h1pagetip {
    color: var(--text-medium);
    cursor: not-allowed;  
    font-size: 0.6em;
}


.header .tab-nav a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -3px;
    height: 2px;
    background: var(--primary-dark);
    animation: underline 0.3s ease-out;
}


/* 移动端适配 */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 10px 2%;
    }
    .header-logo img {
        height: 40px;
    }
    .main-nav {
        width: 100%;
        margin-bottom: 10px;
    }
    .main-nav ul {
        display: flex;
        gap: 10px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    .header-actions {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 10px;
        gap: 8px;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 5px;
    }
    .pagination a {
        padding: 6px 10px;
        margin: 2px;
    }
}   


/* 职位列表容器 */
.job-list {
  margin: 20px 0;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.detail-title-campus {
    text-align: center;
    color: var(--primary-color);
    margin: 1.2rem 0 1rem;
}

/* 职位元信息样式 */
.job-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 15px 15px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .job-meta {
    flex-wrap: wrap;
  }
  .job-meta > div:last-child {
    width: 100%;
    text-align: right;
    margin-top: 8px;
  }
}

.meta-item {
  display: inline-flex;
  align-items: center;
  color: #666;
}

.meta-item a {
  color: #666 !important;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.meta-item a:hover {
  opacity: 0.8;
}

.meta-item em.ps {
  color: #999;
  margin-right: 4px;
}

.meta-divider {
  color: #ddd;
  padding: 0 5px;
}

/* 来源声明容器 */
.sourcetips {
  margin: 12px 0;
  padding: 12px;
  background: #fff9e6;
  border-left: 2px solid #ffd90071;
  border-radius: 4px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}

.sourcetips > span {
  white-space: nowrap;
  font-size: 14px;
  color: #666;
  padding-top: 2px;
  font-weight: 600;
}

.sourcetips > p {
  margin: 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.detail-content {
    padding-left: 2em;
    margin: 1.5rem 0;
    line-height: 1.5;
}
.detail-departmentIntro,
.detail-jobRequirement,
.detail-highLight,
.detail-jobDuty {
    margin-top: 2px;
    padding: 2px 0;
    font-size: 18px;
    display: block;
}

.job-detail label {
    display: block;
    margin: 0.8rem 0;
    padding-left: 1.2em;
    font-style: normal;
}

.job-detail .i {
    font-weight: 500;
    color: var(--navy);
    margin-left: 0.5em;
}


  /* 移动端深度适配 */
  @media (max-width: 768px) {
    .sourcetips {
      padding: 0.8rem;
      margin: 1rem 0;
    }
    .job-detail label {
      padding-left: 0.8em;
      margin: 0.6rem 0;
    }
  }

/* 公司详情页样式 - mq_view */

.company-detail {
    background-color: var(--bg-white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.detail-header {
    display: flex;
    padding: 20px;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.logo-container {
    flex: 0 0 120px;
    margin-right: 20px;
}

.company-logo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    border: 1px solid #ccc;
}

.company-title {
    flex: 1;
    text-align: left;
}

.company-title h1 {
    margin: 0;
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.company-info-item {
    margin-bottom: 8px;
    font-size: 14px;
}

.company-info-item em.ps {
    color: var(--text-medium);
    margin-right: 5px;
    font-style: normal;
}

.company-info-item a {
    color: var(--primary-dark);
    text-decoration: none;
    transition: color 0.2s;
}

.company-info-item a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.company-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px 20px;
    background-color: var(--bg-medium);
    border-bottom: 1px solid var(--border-light);
}

.detail-content {
    padding: 20px;
    line-height: 1.6;
}

.detail-content h2 {
    margin-top: 0;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-size: 20px;
}

.navigation-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-light);
}

.prev-link, .next-link {
    flex: 1;
    min-width: 250px;
    display: flex;
    align-items: center;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    border: 1px solid #ccc;
    margin: 0 10px;
}

.related-companies {
    padding: 20px;
}

.company-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.related-company-item {
    display: flex;
    align-items: flex-start;
    padding: 5px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    height: 92px;
    transition: all 0.3s ease;
}

.related-company-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.related-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    border: 1px solid #ccc;
    margin: 0 10px 0 0;
    flex-shrink: 0;
}

.related-company-item a {
    flex: 1;
    display: flex;
    align-items: flex-start;
    text-align: left;
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 500;
    overflow: hidden;
    word-wrap: break-word;
    white-space: normal;
}

.no-record {
    text-align: center;
    padding: 20px;
    color: var(--text-light);
}


  
/* 列表头部 */
.list-header {
  padding: 10px;
  background: #f8f9fa;
}

.list-header-grid {
  display: grid;
  grid-template-columns: calc((100% - 120px - 40px) * 350 / 1030) calc((100% - 120px - 40px) * 300 / 1030) calc((100% - 120px - 40px) * 180 / 1030) calc((100% - 120px - 40px) * 200 / 1030) 120px;
  gap: 4px;
}
.header-item {
  font-weight: 600;
  color: #495057;
}

/* 列表主体 */
.list-body {
  padding: 0 2px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
/* Job List Styles */
#job-list {
    margin: 20px 0;
    display: grid;
    grid-gap: 15px;
}

.job-item {
  display: flex;
  flex-direction: row;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-item .logo-container {
  flex: 0 0 120px;
  margin-right: 15px;
}

.job-item .info-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.job-item .info-row {
    margin-bottom: 10px;
    width: 100%;
    box-sizing: border-box;
}
.info-row a{
    overflow: hidden;
    text-overflow: ellipsis;  
    white-space: nowrap;
    display: block;
    width: 100%;
}
.job-item .info-row:last-child {
  margin-bottom: 0;
}

.job-item .logo-container img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 1px solid #ccc;
}

.job-item > div {
  margin-bottom: 10px;
  width: 100%;
}

.job-item a {
  text-decoration: none;
  color: var(--primary-dark);
  font-weight: 500;
}

.job-item a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.job-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.job-item:last-child {
  border-bottom: none;
}
.job-item:hover {
  background-color: var(--bg-medium);
}
.job-item a:hover {
  color: var(--primary-light);
}
.list-body .job-item:nth-child(even) {
  background-color: var(--bg-medium);
}
.post-line{
    text-align: center;
    border: 0px solid #eee;
    padding: 12px; 
    gap: 12px;   
}
.post-button  {
    text-align: center;
    display: inline-block;
    margin: 0 10px 10px 0;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 6px;
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.post-tip-mouse {
    cursor: default;
}

.post-button:hover {
    background: white;
    color: var(--primary-color);
    border-color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(44,186,154,0.3));
    transform: translateY(-1px);
    padding-right: 21px;
}


.share-line{
    text-align: right;
    border: 0px solid #eee;
    padding: 12px; 
    gap: 12px;
}
.share-line > a {
    color: #666;
    margin-left: 12px;
}


/* 招聘帮助页面样式 */
.recruitment-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0px;
}
/* 招聘发布 */
.recruitment-guide {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    padding: 40px;
    padding-top: 20px;
    line-height: 1.8;
    color: #333;
}

/* 标题样式 */
.recruitment-guide h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 3px solid #3498db;
    text-align: center;
    font-weight: 700;
}

.recruitment-guide h2 {
    font-size: 22px;
    color: #2c3e50;
    margin: 20px 0 10px 0;
    padding-left: 15px;
    border-left: 4px solid #3498db;
    font-weight: 600;
}

.recruitment-guide h3 {
    font-size: 18px;
    color: #34495e;
    margin: 20px 0 10px 0;
    font-weight: 600;
}

/* 段落样式 */
.recruitment-guide p {
    
    text-indent: 2em;
}

/* 列表样式 */
.recruitment-guide ul {
    margin: 10px 0;
    padding-left: 40px;
}

.recruitment-guide li {
    margin-bottom: 10px;
    position: relative;
}

.recruitment-guide li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* 强调样式 */
.recruitment-guide strong {
    color: #e74c3c;
    font-weight: 600;
}

/* 链接样式 */
.recruitment-guide a {
    color: #3498db;
    text-decoration: none;
    border-bottom: 1px dotted #3498db;
    transition: all 0.3s ease;
}

.recruitment-guide a:hover {
    color: #2980b9;
    border-bottom: 1px solid #2980b9;
}

/* 图片样式 */
.recruitment-guide img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    display: block;
}

/* 步骤样式 */
.step-number {
    display: inline-block;
    background: #3498db;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    margin-right: 10px;
    font-weight: bold;
}

/* 页脚信息 */
.recruitment-guide .team-info {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
    color: #7f8c8d;
    font-style: italic;
}

/* 响应式适配 */
@media (max-width: 1280px) {
    .list-body {
        grid-template-columns: repeat(3, 1fr);
    }    
  .list-header-grid,
  .job-item {
    grid-template-columns: repeat(5, minmax(100px, 1fr));
  }

}

/* 移动端适配 */
@media (max-width: 1024px) {
    .list-body {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .list-body {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .list-body {
        grid-template-columns: 1fr;
    }
}