/* ========================================
   就业网 · 补充样式
   ======================================== */

.emp-site-home .about-banner {
  display: none;
}

.emp-brand-bar.about-sidenav-title {
  padding: 14px 18px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 2px;
}

/* 门户首页 */
.emp-hero {
  position: relative;
  background: #1e2a24;
  overflow: hidden;
}

.emp-hero-inner {
  position: relative;
  min-height: 400px;
  height: min(58vh, 520px);
}

.emp-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.85s ease;
  background-size: cover;
  background-position: center;
}

.emp-hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.emp-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(30, 60, 50, 0.88) 0%, rgba(107, 20, 20, 0.45) 55%, rgba(25, 30, 28, 0.65) 100%);
}

.emp-hero-content {
  position: absolute;
  left: clamp(24px, 5vw, 56px);
  bottom: clamp(32px, 5vw, 52px);
  z-index: 3;
  color: #fff;
  max-width: 560px;
}

.emp-hero-content h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 4vw, 38px);
  margin-bottom: 8px;
}

.emp-hero-dots {
  position: absolute;
  right: 36px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.emp-hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.emp-hero-dot.active {
  background: var(--color-gold);
  border-color: var(--color-gold);
}

.emp-portal-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin: -36px auto 28px;
  padding: 0 24px;
  max-width: var(--content-max, 1200px);
  position: relative;
  z-index: 5;
}

.emp-portal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 12px;
  background: #fff;
  border: 1px solid #e8e0da;
  border-radius: 6px;
  box-shadow: 0 6px 20px rgba(40, 50, 45, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
}

.emp-portal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(45, 100, 75, 0.35);
}

.emp-portal-icon {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, #2d6450 0%, var(--color-primary) 100%);
  border-radius: 10px;
}

.emp-portal-card span {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.emp-portal-card small {
  font-size: 11px;
  color: #888;
  text-align: center;
}

.emp-home-body {
  max-width: var(--content-max, 1200px);
  margin: 0 auto;
  padding: 0 24px 48px;
}

.emp-stats-charts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.emp-chart-card {
  background: #fff;
  border: 1px solid #e8e0da;
  border-radius: 6px;
  overflow: hidden;
}

.emp-chart-head {
  padding: 14px 18px;
  background: var(--color-bg-pink, #faf6f3);
  border-bottom: 1px solid #eee5e2;
}

.emp-chart-head h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--color-primary);
  margin: 0;
}

.emp-chart-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #888;
}

.emp-chart-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  align-items: center;
  padding: 18px 20px 22px;
}

.emp-pie {
  width: 148px;
  height: 148px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
  flex-shrink: 0;
}

.emp-pie-hole {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.03);
}

.emp-pie-hole strong {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-primary);
  line-height: 1.1;
}

.emp-pie-hole span {
  font-size: 10px;
  color: #999;
  margin-top: 2px;
}

.emp-chart-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.emp-chart-legend li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #444;
}

.emp-legend-swatch {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  flex-shrink: 0;
}

.emp-chart-years {
  list-style: none;
  margin: 0;
  padding: 10px 0 0;
  border-top: 1px dashed #e8e0da;
  display: flex;
  flex-direction: column;
  gap: 6px;
  grid-column: 2;
}

.emp-chart-years li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #666;
}

.emp-chart-years strong {
  color: #2d6450;
  font-weight: 600;
}

.emp-tag-index {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.emp-tag-index a {
  padding: 6px 14px;
  font-size: 12px;
  background: rgba(45, 100, 75, 0.08);
  border: 1px solid #e8e0da;
  border-radius: 20px;
  color: #2d6450;
  text-decoration: none;
  transition: background 0.2s;
}

.emp-tag-index a:hover {
  background: rgba(45, 100, 75, 0.15);
}

.emp-survey-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  margin-top: 32px;
  background: linear-gradient(135deg, rgba(45, 100, 75, 0.06) 0%, rgba(140, 28, 28, 0.05) 100%);
  border: 1px solid #e8e0da;
  border-radius: 6px;
}

.emp-survey-banner h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  color: var(--color-primary);
}

.emp-news-search {
  margin-bottom: 16px;
}

.emp-news-search input {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* 列表 */
.emp-news-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.emp-news-thumb {
  width: 140px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}

.emp-search-bar {
  margin-bottom: 16px;
}

.emp-search-bar input {
  width: 100%;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* 创新教育 */
.emp-comp-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.emp-comp-card {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e8e0da;
  border-radius: 4px;
  background: #fff;
}

.emp-comp-card img {
  width: 120px;
  height: 90px;
  object-fit: cover;
  border-radius: 4px;
}

.emp-award-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  background: rgba(45, 100, 75, 0.1);
  color: #2d6450;
  border-radius: 2px;
  margin-right: 6px;
}

.emp-case-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.emp-case-card {
  border: 1px solid #e8e0da;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.emp-case-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.emp-case-body {
  padding: 14px;
}

/* 政策法规 */
.emp-policy-item {
  padding: 16px 18px;
  margin-bottom: 12px;
  background: #faf8f6;
  border-left: 3px solid #2d6450;
  border-radius: 0 4px 4px 0;
}

.emp-policy-meta {
  font-size: 12px;
  color: #888;
  margin: 6px 0;
}

/* 问卷调查 */
.emp-survey-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.emp-survey-card {
  padding: 20px;
  border: 1px solid #e8e0da;
  border-radius: 6px;
  background: #fff;
}

.emp-survey-card h4 {
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.emp-survey-meta {
  font-size: 12px;
  color: #888;
  margin: 4px 0;
}

.emp-survey-module {
  display: inline-block;
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(45, 100, 75, 0.1);
  color: #2d6450;
  border-radius: 2px;
  margin-bottom: 8px;
}

.emp-miniprogram-box {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 24px;
  background: linear-gradient(135deg, #faf8f6 0%, rgba(45, 100, 75, 0.06) 100%);
  border: 1px solid #e8e0da;
  border-radius: 6px;
}

.emp-qr-placeholder {
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px dashed #ccc;
  border-radius: 8px;
  font-size: 12px;
  color: #999;
  text-align: center;
  padding: 10px;
}

.emp-guide-steps {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 14px;
  color: #555;
  line-height: 1.9;
}

.emp-jobs-intro {
  margin-bottom: 24px;
}

/* 档案查询 */
.emp-archive-wrap {
  max-width: 880px;
}

.emp-archive-brand {
  text-align: right;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.emp-archive-box {
  border: 1px solid #e8e0da;
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.emp-archive-bar {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 12px 16px;
}

.emp-archive-form {
  padding: 22px 24px 12px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.emp-archive-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 10px 16px;
}

.emp-archive-row label {
  flex: 0 0 auto;
  min-width: 260px;
  font-size: 14px;
  color: #444;
  line-height: 1.5;
}

.emp-archive-row input {
  flex: 0 0 auto;
  width: 220px;
  max-width: 100%;
  height: 38px;
  padding: 0 12px;
  border: 1px solid #d9d0c8;
  border-radius: 3px;
  font-size: 14px;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.emp-archive-row input:focus {
  outline: none;
  border-color: #2d6450;
  box-shadow: 0 0 0 3px rgba(45, 100, 75, 0.12);
}

.emp-archive-row-action {
  margin-bottom: 4px;
}

.emp-archive-input-action {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

.emp-archive-input-action input {
  width: 220px;
}

.emp-archive-input-action .po-btn {
  flex-shrink: 0;
  min-width: 72px;
  height: 38px;
  padding: 0 18px;
}

.emp-archive-table-wrap {
  border-top: 1px solid #e8e0da;
}

.emp-archive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.emp-archive-table thead th {
  background: var(--color-primary);
  color: #fff;
  font-weight: 500;
  text-align: left;
  padding: 12px 14px;
  border: none;
}

.emp-archive-table tbody td {
  padding: 14px;
  border-bottom: 1px solid #f0ebe6;
  color: #333;
  vertical-align: top;
  line-height: 1.6;
}

.emp-archive-empty td {
  text-align: center;
  color: #999;
  padding: 28px 14px;
}

.emp-archive-fail td {
  color: #8c1c1c;
}

.emp-archive-note {
  margin-top: 18px;
  font-size: 13px;
  color: #555;
  line-height: 1.85;
}

.emp-archive-demo {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
}

.emp-archive-demo code {
  padding: 1px 6px;
  background: rgba(45, 100, 75, 0.08);
  border-radius: 2px;
  color: #2d6450;
  font-size: 12px;
}

/* 友情链接 */
.emp-links-group {
  margin-bottom: 28px;
}

.emp-links-group .about-section-title {
  margin-bottom: 14px;
}

.emp-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.emp-link-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 18px;
  border: 1px solid #e8e0da;
  border-left: 3px solid #2d6450;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.emp-link-card:hover {
  background: rgba(45, 100, 75, 0.04);
  border-color: #2d6450;
  transform: translateY(-1px);
}

.emp-link-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-primary);
}

.emp-link-card small {
  font-size: 12px;
  color: #777;
  line-height: 1.5;
}

.emp-link-url {
  font-size: 11px;
  color: #2d6450;
  word-break: break-all;
}

@media (max-width: 1100px) {
  .emp-portal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .emp-portal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .emp-stats-charts {
    grid-template-columns: 1fr;
  }
  .emp-survey-grid {
    grid-template-columns: 1fr;
  }
  .emp-links-grid {
    grid-template-columns: 1fr;
  }
  .emp-comp-grid,
  .emp-case-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .emp-portal-grid {
    grid-template-columns: 1fr;
    margin-top: -24px;
  }
  .emp-archive-row,
  .emp-archive-row-action {
    flex-direction: column;
    align-items: flex-start;
  }
  .emp-archive-row label {
    min-width: 0;
  }
  .emp-archive-row input,
  .emp-archive-input-action,
  .emp-archive-input-action input {
    width: 100%;
  }
  .emp-archive-input-action {
    flex-direction: column;
    align-items: stretch;
  }
  .emp-archive-brand {
    text-align: left;
    font-size: 16px;
  }
  .emp-archive-table {
    display: block;
    overflow-x: auto;
  }
  .emp-news-item {
    flex-direction: column;
  }
  .emp-news-thumb {
    width: 100%;
    height: 140px;
  }
  .emp-comp-card {
    grid-template-columns: 1fr;
  }
  .emp-miniprogram-box {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
}
