.jobseeker-page-theme .jobseeker-hero {
  height: auto;
  min-height: 280px;
  padding-top: 100px;
  padding-bottom: 55px;
}

.jobseeker-hero > div {
  padding-top: 35px;
  padding-bottom: 35px;
}

.jobseeker-page-theme .jobseeker-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
}

.current-openings {
  position: relative;
  z-index: 20;
  max-width: 1240px;
  margin: 0 auto 65px;
  padding: 38px 32px 24px;
  background: #fff;
  color: #0f294a;
  border: 1px solid #e6eaf0;
  border-top: 4px solid #ef7524;
  border-radius: 16px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  scroll-margin-top: 90px;
}

.openings-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.openings-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 700;
  color: #0f294a !important;
}

#openings-count {
  font-weight: 400;
}

.openings-description,
.openings-reviewed,
.openings-footer {
  color: #64748b;
  font-size: 12px;
  line-height: 1.7;
}

.openings-description {
  margin: 0;
  font-size: 14px;
}

.openings-reviewed {
  margin: 5px 0 0;
  text-align: right;
}

.openings-reviewed a,
.opening-source {
  color: #003366;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.openings-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) 1fr 1fr;
  gap: 18px;
  margin-bottom: 25px;
}

.openings-filter label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
}

.openings-filter input,
.openings-filter select {
  width: 100%;
  height: 46px;
  border: 1px solid #d7dee8;
  border-radius: 7px;
  padding: 0 12px;
  background: #fff;
  color: #0f294a;
  font: inherit;
  font-size: 13px;
}

.current-openings :is(input, select, button, a):focus-visible {
  outline: 3px solid #ef7524;
  outline-offset: 3px;
}

.openings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.openings-table th {
  padding: 16px 12px;
  border-top: 1px solid #e6eaf0;
  border-bottom: 1px solid #e6eaf0;
  font-size: 12px;
  font-weight: 700;
}

.openings-table th button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.opening-sort-icon {
  font-size: 14px;
  opacity: 0.55;
}

.openings-table th[aria-sort='ascending'] .opening-sort-icon::before { content: '↑'; }
.openings-table th[aria-sort='descending'] .opening-sort-icon::before { content: '↓'; }
.openings-table th[aria-sort='none'] .opening-sort-icon::before { content: '↕'; }

.openings-table td {
  padding: 21px 12px;
  border-bottom: 1px solid #edf0f4;
  vertical-align: middle;
  line-height: 1.6;
}

.openings-table tbody tr:hover {
  background: #fafbfd;
}

.openings-table tr[hidden] {
  display: none !important;
}

.openings-table th:first-child { width: 38%; }
.openings-table th:nth-child(2) { width: 23%; }
.openings-table th:nth-child(3) { width: 14%; }
.openings-table th:nth-child(4) { width: 13%; }

.opening-title {
  display: block;
  font-weight: 600;
  color: #003366;
}

.opening-note {
  display: block;
  margin-top: 5px;
  color: #64748b;
  font-size: 11px;
  line-height: 1.5;
}

.opening-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 105px;
  min-height: 42px;
  padding: 10px 17px;
  border-radius: 4px;
  background: #003366;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s;
}

.opening-apply:hover {
  background: #ef7524;
  color: #fff;
}

.openings-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.openings-pagination {
  display: flex;
  align-items: center;
  gap: 15px;
}

.openings-pagination button,
#openings-reset {
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid #d7dee8;
  border-radius: 5px;
  color: #003366;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.openings-pagination button:disabled {
  color: #94a3b8;
  cursor: default;
}

#openings-empty td {
  padding: 42px 12px;
  text-align: center;
}

#openings-empty p {
  margin-bottom: 15px;
}

@media (max-width: 1280px) {
  .current-openings { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 767px) {
  .current-openings { padding: 26px 20px 22px; margin-left: 15px; margin-right: 15px; }
  .openings-heading { flex-direction: column; gap: 10px; }
  .openings-reviewed { text-align: left; }
  .openings-filters { grid-template-columns: 1fr 1fr; gap: 14px; }
  .openings-filter:first-child { grid-column: 1 / -1; }
  .openings-table thead { display: none; }
  .openings-table,
  .openings-table tbody { display: block; }
  .openings-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 16px;
    padding: 6px 10px 12px;
    border: 1px solid #e6eaf0;
    border-radius: 8px;
  }
  .openings-table td {
    display: block;
    padding: 10px;
    border: 0;
  }
  .openings-table td::before {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 10px;
    font-weight: 600;
    content: attr(data-label);
  }
  .openings-table td:first-child { grid-column: 1 / -1; }
  .openings-table td:last-child { align-self: end; }
  .openings-table td:last-child::before,
  #openings-empty td::before { content: none; }
  .opening-apply { width: 100%; }
  .openings-footer { align-items: flex-start; flex-direction: column; }
  .openings-pagination { justify-content: space-between; width: 100%; }
}

@media (max-width: 479px) {
  .openings-filters { grid-template-columns: 1fr; }
}
