/* 招聘信息页面样式 */
.job-info-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 40px;
  margin: 30px 0;
}

.banner_content {
	position: absolute;
	left: 0;
	top: 0;
	padding-top: 193px;
	padding-left: 295px;
	height: 100%;
	width: 100%;
}
.banner_content .banner_title {
	font-size: 80px;
	font-weight: 700;
}

.job-title {
  font-size: 28px;
  color: #D8241E;
  margin-bottom: 15px;
  font-weight: bold;
}

.job-subtitle {
  font-size: 18px;
  color: #666;
  margin-bottom: 10px;
}

.job-description {
  padding: 20px 0;
}

.job-description p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  text-align: justify;
  margin-bottom: 20px;
}

/* 招聘职位样式 */
.job-positions {
  margin-top: 40px;
}

.positions-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 25px;
  position: relative;
  padding-left: 15px;
  font-weight: bold;
}

.positions-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  background-color: #D8241E;
}

.lawyer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: row dense;
  gap: 20px;
  margin-bottom: 40px;
}

.lawyer-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  height: fit-content;
  align-self: flex-start;
}

.lawyer-card:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transform: translateY(-5px);
}

.lawyer-title {
  font-size: 20px;
  color: #D8241E;
  padding: 20px 20px 10px;
  margin: 0;
  font-weight: bold;
}

.lawyer-location {
  font-size: 14px;
  color: #666;
  padding: 0 20px 15px;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.lawyer-details-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  color: #333;
  font-size: 14px;
}

.toggle-icon {
  width: 20px;
  height: 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.toggle-icon:before, .toggle-icon:after {
  content: '';
  position: absolute;
  background-color: #666;
  transition: all 0.3s ease;
}

.toggle-icon:before {
  width: 2px;
  height: 10px;
  top: 5px;
  left: 9px;
}

.toggle-icon:after {
  width: 10px;
  height: 2px;
  top: 9px;
  left: 5px;
}

.lawyer-card.active .toggle-icon:before {
  transform: rotate(90deg);
  opacity: 0;
}

.lawyer-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: #f9f9f9;
}

.lawyer-card.active .lawyer-details {
  max-height: 2000px;
}

.lawyer-card.active {
  z-index: 1;
}

.lawyer-requirements, .lawyer-benefits, .lawyer-contact {
  padding: 15px 20px;
  border-bottom: 1px solid #eee;
}

.lawyer-requirements h5, .lawyer-benefits h5 {
  font-size: 16px;
  color: #333;
  margin: 0 0 10px;
  font-weight: bold;
}

.lawyer-requirements ul, .lawyer-benefits ul {
  padding-left: 20px;
  margin: 0;
}

.lawyer-requirements li, .lawyer-benefits li {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 8px;
}

.lawyer-contact p {
  font-size: 14px;
  color: #666;
  margin: 5px 0;
}

.apply-btn {
  display: block;
  width: calc(100% - 40px);
  margin: 20px auto;
  padding: 10px 0;
  background-color: #D8241E;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #b71c17;
}

/* 联系方式样式 */
.contact-info {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
  margin-bottom: 40px;
}

.contact-title {
  font-size: 20px;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  padding-left: 15px;
}

.contact-title:before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 18px;
  background-color: #D8241E;
}

.contact-details p {
  font-size: 15px;
  color: #666;
  margin: 10px 0;
  line-height: 1.6;
}

.contact-details strong {
  color: #333;
  margin-right: 10px;
}

/* 响应式调整 */
@media screen and (max-width: 1024px) {
  .job-info-container {
    padding: 20px;
    margin: 20px 0;
  }
  
  .job-title {
    font-size: 24px;
    line-height: 24px;
  }
  
  .job-subtitle {
    font-size: 16px;
    line-height: 18px;
  }
  .job-description{
    padding: 0;
  }
  .job-description p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
  }
  
  .lawyer-grid {
    grid-template-columns: 1fr;
  }
  
  .positions-title, .contact-title {
    font-size: 20px;
  }
  
  .lawyer-title {
    font-size: 18px;
  }
  
  .apply-btn {
    font-size: 15px;
  }
  .job-positions{
    margin-top: 0;
  }
  .positions-title{
    margin-bottom: 16px;
  }
  .lawyer-grid{
    gap: 16px;
    margin-bottom: 16px;
  }
  .contact-info{
    margin-bottom: 0;
  }
  /* Banner区域适配 */
	.banner {
		height: 300px;
		background-size: cover;
		background-position: center;
	}
	.banner_content {
		padding-top: 0px;
		padding-left: 24px;
		text-align: left;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}
	.banner .banner_title {
		font-size: 36px;
	}
	.banner .banner_subtitle {
		font-size: 18px;
		margin-bottom: 20px;
	}
	.banner .banner_btn {
		width: 160px;
		height: 40px;
		font-size: 16px;
    line-height: 40px;
    text-align: center;
	}
}
