.recruitment-wrapper {
  background: #fafbfc;
  min-height: 100vh;
  padding-bottom: 40px;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: top 0.3s ease;
}

body.nav-scrolled .banner-container {
  top: 70px;
}

.recruitment-wrapper {
  /* padding-top: 240px; */
  padding-top: 150px;
  transition: padding-top 0.3s ease;
}

body.nav-scrolled .recruitment-wrapper {
  padding-top: 70px;
}

.recruitment-page-content-with-sidebar {
  display: flex;
  align-items: flex-start;
  width: 100%;
  gap: 30px;
}

.recruitment-page-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.recruitment-main-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 220px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  padding-bottom: 20px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 20px;
  font-weight: bold;
  color: #222;
  padding: 24px 0 16px 0;
  text-align: center;
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-list li {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 16px;
  cursor: pointer;
  border-left: 4px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.sidebar-list li.active,
.sidebar-list li:hover {
  background: #f5f7fa;
  color: #1a3c8b;
  border-left: 4px solid #1a3c8b;
}

.content-title {
  font-size: 24px;
  font-weight: bold;
  color: #222;
  margin-bottom: 24px;
  border-bottom: 2px solid #1a3c8b;
  padding-bottom: 12px;
}

.jobs-table-container {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.jobs-table {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.table-header,
.table-row {
  display: flex;
  padding: 16px 20px;
}

.table-header {
  background: #f5f7fa;
  font-weight: bold;
  color: #333;
  border-bottom: 1px solid #e8e8e8;
}

.table-row {
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  transition: background 0.3s ease;
}

.table-row:hover {
  background: #fafbfc;
}

.col-position {
  flex: 2;
  font-size: 16px;
}

.col-info {
  flex: 1;
  font-size: 14px;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.staff-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 20px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.staff-card:hover {
  box-shadow: 0 4px 16px rgba(26, 60, 139, 0.12);
  transform: translateY(-2px);
}

.staff-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #222;
}

.staff-date {
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.staff-desc {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

@media (max-width: 1100px) {
  .news-cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .recruitment-wrapper {
    padding-top: 60px;
  }

  .recruitment-page-content {
    padding: 0 15px;
  }

  .recruitment-page-content-with-sidebar {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .sidebar {
    width: 100%;
    max-width: 100%;
    order: 1;
    box-sizing: border-box;
  }

  .recruitment-main-content {
    order: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-table-container,
  .jobs-table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-table-container {
    padding: 24px 20px;
  }

  .jobs-table {
    width: 100%;
    max-width: 100%;
  }

  .table-header,
  .table-row {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    width: 100%;
  }

  .col-position,
  .col-info {
    width: 100%;
    flex: none;
  }

  .staff-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .recruitment-wrapper {
    padding-top: 60px;
  }

  .recruitment-page-content {
    padding: 0 15px;
  }

  .recruitment-page-content-with-sidebar {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
  }

  .sidebar {
    width: 100%;
    max-width: 100%;
    order: 1;
    box-sizing: border-box;
  }

  .recruitment-main-content {
    order: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-table-container,
  .jobs-table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-table-container {
    padding: 20px 15px;
  }

  .content-title {
    font-size: 20px;
  }

  .table-header,
  .table-row {
    padding: 12px 15px;
    width: 100%;
  }

  .col-position {
    font-size: 15px;
  }

  .col-info {
    font-size: 13px;
  }

  .news-cards-grid {
    gap: 15px;
  }

  .news-card {
    flex-direction: column;
    padding: 15px;
  }

  .news-card-img {
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
  }

  .news-card-title {
    font-size: 16px;
    margin-bottom: 8px;
  }

  .news-card-date {
    font-size: 12px;
  }

  .news-card-desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  .pagination-container {
    margin-bottom: 40px;
  }

  .pagination-button {
    padding: 6px 12px;
    font-size: 13px;
  }

  .page-info {
    font-size: 13px;
  }

  .breadcrumb {
    padding: 15px 0;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .recruitment-page-content {
    padding: 0 10px;
  }

  .recruitment-page-content-with-sidebar {
    width: 100%;
    max-width: 100%;
    align-items: stretch;
  }

  .sidebar,
  .recruitment-main-content {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-table-container,
  .jobs-table {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .jobs-table-container {
    padding: 15px 10px;
  }

  .content-title {
    font-size: 18px;
  }

  .table-header,
  .table-row {
    padding: 10px 12px;
    width: 100%;
  }

  .col-position {
    font-size: 14px;
  }

  .col-info {
    font-size: 12px;
  }

  .news-card {
    padding: 12px;
  }

  .news-card-img {
    height: 150px;
  }

  .news-card-title {
    font-size: 15px;
  }

  .news-card-desc {
    font-size: 12px;
  }

  .pagination-controls {
    gap: 6px;
  }

  .pagination-button {
    padding: 6px 10px;
    font-size: 12px;
  }
}