[v-cloak] {
  opacity: 0;
  transition: opacity 0.3s;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


.no-data{
  display: flex;
  justify-content: center;
  width: 100%;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #666;
  height: 40vh;
}

.no-content{
  content: '';
  color: transparent; /* 文本透明 */
  background-color:aliceblue; /* 显式设置背景色 */
}

.no-content-image{
  width: 6vh;
  height: 6vh;
  opacity: 0;
  background-color: aliceblue;
}

.job-recruitment-site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  width: 100%;
}

.site-header img{
  width: 100%;
  height: 100%;
  display: block;
}

.site-nav {
  background-color: #0052D9;
  width: 100%;
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
}

.nav-item {
  padding: 0.625rem 1.5rem;
  color: white;
  font-size: clamp(0.875rem, 1vw, 1rem);
  cursor: pointer;
}

.nav-item.active {
  background-color: #0046BE;
}

.site-main {
  background-color: #F5F7FA;
  padding: 1.5rem;
  flex: 1;
}

.main-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

.site-footer {
  background-color: #0052D9;
  color: white;
  text-align: center;
  padding: 1rem;
  font-size: clamp(0.75rem, 1vw, 0.875rem);
}

.site-footer p {
  margin: 0;
}

.search-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-input-wrapper {
  position: relative;
  flex-grow: 1;
  min-width: 200px;
}

.search-input {
  width: 100%;
  padding: 0.5rem 0.5rem 0.5rem 2.25rem;
  border: 1px solid #dcdfe6;
  border-radius: 0.25rem 0 0 0.25rem;
  font-size: 0.875rem;
  line-height: 1.5;
  outline: none;
}

.search-icon {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23909399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-size: contain;
}

.search-button {
  padding: 0.5rem 1.25rem;
  background-color: #0052D9;
  color: white;
  border: none;
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
  font-size: 0.875rem;
  white-space: nowrap;
}
/* 高级搜索 */
.advanced-search-button {
  padding: 0.5rem 1rem;
  background-color: white;
  color: #333;
  border: 1px solid #dcdfe6;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.875rem;
  white-space: nowrap;
}

.filter-container {
  width: 100%;
  background-color: white;
  border: 1px solid #dcdfe6;
  border-radius: 0.25rem;
  padding: 1rem;
  margin-top: 0.5rem;
}

.filter-item {
  margin-bottom: 1rem;
  display: flex;
}

.filter-item:last-child {
  display: flex;
}

.filter-title {
  display: flex;
  white-space: nowrap;
  padding: 0.40rem 0.75rem;
  font-size: 1rem;
  color: #000000;
}

.filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
}

.filter-option {
  padding: 0.40rem 0.75rem;
  border-radius: 0.25rem;
  font-size: 0.9rem;
  color: #606266;
  cursor: pointer;
  transition: all 0.3s;
}

.filter-option:hover {
  background-color: #f5f7fa;
  color: #0052D9;
}

.filter-option.active {
  background-color: #e6f7ff;
  color: #0052D9;
  font-weight: 500;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

@media (max-width: 992px) {
  .job-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .job-grid {
    grid-template-columns: 1fr;
  }
}

.job-card {
  background-color: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.job-title {
  font-size: 16px;
  font-weight: 500;
  margin: 0;
  color: #333;
}

.salary {
  color: #ff6e0c;
  font-size: 15px;
  font-weight: 500;
}

.job-location {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #666;
  margin-bottom: 8px;
}

.job-location span:last-child{
  position: absolute;
  right: 4%;
}

.job-location .divider {
  height: 10px;
  width: 1px;
  background-color: #e0e0e0;
  margin: 0 8px;
}

.divider2 {
  border-top: 1px solid #f0f0f0;
  margin: 1rem 0;
}

.company-info {
  display: flex;
  justify-content:flex-start;
}

.company-logo img {
  width: 40px;
  height: 40px;
}

.company-details {
  font-size: 13px;
  margin-left: 4%;
}

.company-name {
  color: #333;
  margin: 0 0 4px 0;
  font-weight: 500;
}

.company-industry {
  color: #666;
  margin: 0;
}

.pagination-container { 
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 2%;
}

.el-pagination.is-background .el-pager li {
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  font-style: normal;
  font-weight: 400;
  font-size: 0.75rem;
  text-align: center;
  color: #000000;
  border: 1px solid #d1d1d1;
  background-color: #ffffff !important;
}

.el-pagination.is-background .el-pager li.active {
  background-color: #6498ec !important;
  color: white;
}
.el-pagination.is-background .btn-next, 
.el-pagination.is-background .btn-prev{
  background-color: #ffffff !important;
  border: 1px solid #d1d1d1;
  color: #000;
  width: 4rem;
  height: 2rem;
  margin-left: 0.5rem;
}
.jumpLast-btn{
  background-color: #ffffff !important;
  border: 1px solid #d1d1d1;
  color: #000;
  height: 2rem;
  font-size: 0.75rem !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 0.75rem;
}


/* ========== 政策列表样式 ========== */
.news-container {
  padding: 1% 5% 2% 5%;
  background-color: #ffffff;
}

.news-item {
  display: flex;
  align-items: center;
  padding: 1% 0;
  border-bottom: 1px solid #eaeaea;
  cursor: pointer;
}

.news-item:last-child {
  border-bottom: none;
}

.news-image{
  border-radius: 4px;
  margin-right: 1%; 
}

.news-image img {
  width: 6vh;
  height: 6vh;
  object-fit: cover;
  border-radius: 4px;
  margin-right: 1%; 
}

.news-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  margin-left: 2%;
}

.news-title {
  font-size: 16px;
  font-weight: bold;
  margin: 0 0 10px 0;
  color: #333;
}

.news-description {
  display: -webkit-box;
  font-size: 13px;
  color: #666;
  margin: 0 0 10px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.news-date {
  font-size: 13px;
  color: #999;
  display: flex;
  align-items: center;
}

.date-icon {
  display: inline-flex;
  margin-right: 5px;
}

@media (max-width: 768px) {
  .news-item {
    flex-direction: column;
  }

  .news-image img {
    width: 100%;
    height: auto;
    max-height: 200px;
  }
}

/* ========== 政策详情页样式 ========== */
.policy-details-container {
  background-color: #ffffff;
  width: 100%;
  padding: 10% 9% 2% 10%;
}

.policy-head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 3% 0 4% 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 2rem;
}

.policy-head span:first-child {
  font-size: 1.6rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 0.5rem;
}

.policy-head span:last-child {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.9rem;
  color: #666;
}

.policy-head span:last-child svg {
  margin-right: 5px;
}

.policy-content {
  line-height: 1.8;
  color: #333;
}

.policy-content p,
.policy-content ul,
.policy-content ol {
  margin-bottom: 1em;
}

.policy-content strong {
  font-weight: bold;
}

.policy-content ul, 
.policy-content ol {
  padding-left: 1.5em;
} 

.load-more{
  display: flex;
  padding: 1.2% 10%;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}