:root {
  font-family: "Roboto", system-ui, sans-serif;
  font-size-adjust: 0.52;
  background: #f1f5f9;
  color: #0f172a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-height: 100vh;
  background: #f1f5f9;
}

.app {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  width: 100%;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  overflow-x: hidden;
}

.include-fragment[data-include$="footer.html"] {
  /* min-height: 140px; */
  width: 100%;
  margin-top: auto;
}

.include-fragment[data-include$="header.html"] {
  min-height: clamp(118px, 12vw, 146px);
  width: 100%;
}

p {
  line-height: 1.6;
}

.btn {
  width: 100%;
  padding: 14px;
  background: #2563eb;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  margin: 12px 0;
}

.btn:hover {
  background: #1d4ed8;
}

.site-header {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: #fff;
  padding: 15px 0 0;
  box-sizing: border-box;
}

.header-inner {
  max-width: 1450px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  box-sizing: border-box;
  background-color: #fff;
}

.header-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-bottom: 15px;
}

.header-logo {
  display: block;
  max-width: 100%;
  line-height: 0;
  text-decoration: none;
}

.header-logo img {
  display: block;
  width: clamp(200px, 62vw, 460px);
  max-width: 100%;
  height: auto;
}

.header-logo:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
  border-radius: 4px;
}

.header-nav {
  width: 100%;
  max-width: 100%;
  background-color: #2563eb;
  padding: 0;
  /* margin-top: 10px; */
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.header-nav::-webkit-scrollbar {
  height: 6px;
}

.header-nav::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.35);
  border-radius: 999px;
}

.nav-menu {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: clamp(10px, 2vw, 28px);
  list-style: none;
  margin: 0 auto;
  padding-block: 8px;
  padding-inline: clamp(12px, 3vw, 20px);
  width: max-content;
  box-sizing: border-box;
}

.nav-item {
  margin: 0;
  flex-shrink: 0;
}

.nav-text {
  white-space: nowrap;
  font-size: clamp(15px, 0.85vw + 12.5px, 19px);
}

.nav-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-weight: bold;
  font-size: clamp(15px, 0.85vw + 12.5px, 19px);
  padding: 8px 20px;
  cursor: pointer;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  flex-shrink: 0;
}

.nav-btn:hover {
  color: #000;
}

.nav-btn.active {
  color: #000;
}

.nav-btn.trending-btn::before {
  content: none;
}

.nav-btn.qualification-btn::before {
  content: none;
}

.nav-btn.jobtype-btn::before {
  content: none;
}

.nav-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.nav-btn:hover .nav-icon {
  filter: brightness(0);
}

.btn.primary {
  background: #0d6efd;
  color: #fff;
}

.btn.secondary {
  background: #f1f1f1;
  color: #333;
}

.ad-loader-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(255, 255, 255, 0.88);
  align-items: center;
  justify-content: center;
}

.ad-loader-overlay.active {
  display: flex;
}

.ad-loader-spinner {
  width: 42px;
  height: 42px;
  border: 4px solid #e2e8f0;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: ad-loader-spin 0.7s linear infinite;
}

@keyframes ad-loader-spin {
  to {
    transform: rotate(360deg);
  }
}

html.ad-lock,
html.ad-lock body {
  overflow: hidden;
}

.site-footer {
  width: 100%;
  background: #1d4ed8;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
}

.footer-inner {
  max-width: 1450px;
  margin: 0 auto;
  padding: 20px max(16px, env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px))
    max(16px, env(safe-area-inset-left, 0px));
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.footer-brand {
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo {
  width: 100%;
  display: inline-block;
}

.footer-logo img {
  width: clamp(180px, 32vw, 360px);
  height: auto;
  object-fit: contain;
}

.footer-groups {
  width: 100%;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.footer-group {
  width: 100%;
  max-width: 420px;
}

.footer-heading {
  margin: 0 0 8px;
  font-size: clamp(18px, 4.6vw, 22px);
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
}

.footer-links {
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 8px 4px;
  color: inherit;
  font-size: clamp(15px, 3.6vw, 16px);
  line-height: 1.3;
  text-decoration: none;
}

.footer-link:hover {
  color: #dbeafe;
}

.footer-copyright {
  margin: 12px 0 0;
  padding: 0;
  max-width: 100%;
  font-size: clamp(12px, 3.2vw, 13px);
  line-height: 1.5;
  color: #fff;
}

@media (min-width: 768px) {
  .header-logo img {
    width: 380px;
  }

  .footer-inner {
    padding-top: 28px;
    padding-bottom: 20px;
  }

  .footer-groups {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 48px;
  }

  .footer-group {
    flex: 1 1 0;
    min-width: 0;
  }

  .footer-heading {
    font-size: 22px;
  }

  .footer-links {
    gap: 6px 22px;
  }

  .footer-link {
    font-size: 16px;
  }
}

.info-text {
  text-align: justify;
}

.static-page {
  flex: 1 0 auto;
  width: 100%;
  padding: clamp(16px, 4vw, 32px) 0 clamp(24px, 5vw, 48px);
  box-sizing: border-box;
}

.static-page > .container {
  max-width: min(1240px, 100%);
  margin-left: auto;
  margin-right: auto;
}

.static-page h1 {
  margin: 0 0 clamp(10px, 2vw, 16px);
  font-size: clamp(1.35rem, 0.6rem + 2.8vw, 1.85rem);
  line-height: 1.2;
  font-weight: 700;
  color: #0f172a;
}

.static-page h1 + p {
  margin-bottom: 0.35em;
}

.static-page h2 {
  margin: clamp(1.35rem, 4vw, 1.85rem) 0 0.5rem;
  padding-bottom: 0.35rem;
  font-size: clamp(1.05rem, 0.55rem + 1.4vw, 1.25rem);
  line-height: 1.3;
  font-weight: 700;
  color: #2563eb;
  border-bottom: 1px solid #e2e8f0;
}

.static-page p,
.static-page li {
  margin: 0 0 0.75em;
  font-size: clamp(0.9375rem, 0.32rem + 0.9vw, 1.0625rem);
  line-height: 1.65;
  color: #334155;
  overflow-wrap: anywhere;
}

.static-page ul {
  margin: 0 0 1rem;
  padding-left: clamp(1.1rem, 3.5vw, 1.45rem);
}

.static-page li {
  margin-bottom: 0.4em;
}

.static-page a {
  color: #1d4ed8;
  text-underline-offset: 2px;
}

.static-page a:hover {
  color: #1e40af;
}

.static-page p.about-par {
  margin-bottom: 1.15em;
}

.static-page p.about-signoff {
  margin-bottom: 0;
}

.about-title {
  background: #2563eb;
  text-align: center;
  width: 100%;
  padding: 5px;
  border-radius: 0;
}

.static-page h1.about-title {
  color: #fff;
}

.contact-page,
.about-page,
.faq-page {
  max-width: 760px;
}

.contact-hero,
.about-hero {
  margin-bottom: clamp(16px, 3vw, 24px);
}

.contact-subhead,
.about-subhead {
  margin: 12px 0 0;
  text-align: center;
}

.contact-grid,
.about-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card,
.about-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: clamp(14px, 3vw, 20px);
}

.static-page .contact-card h2,
.static-page .about-card h2 {
  margin: 0 0 12px;
  padding-bottom: 8px;
}

.tip-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-item {
  padding: 10px 12px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: clamp(0.9375rem, 0.32rem + 0.9vw, 1.0625rem);
  line-height: 1.65;
  color: #334155;
}

.tip-item strong {
  color: #0f172a;
}

.static-page p.acknowledgement {
  font-weight: 700;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 14px 16px;
  border: none;
  background: transparent;
  color: #0f172a;
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  content: "+";
  flex: 0 0 auto;
  font-size: 1.25rem;
  line-height: 1;
  color: #2563eb;
}

.faq-item.open .faq-question::after {
  content: "–";
}

.faq-answer {
  display: none;
  padding: 0 16px 14px;
  font-size: clamp(0.9375rem, 0.32rem + 0.9vw, 1.0625rem);
  line-height: 1.65;
  color: #334155;
}

.faq-item.open .faq-answer {
  display: block;
}

.faq-answer a {
  color: #1d4ed8;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  color: #0f172a;
  font: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #2563eb;
  border-color: #2563eb;
}

.contact-form button {
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button:hover {
  background: #1d4ed8;
}

.char-counter {
  margin: -2px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: #64748b;
  text-align: right;
}

.char-counter.limit {
  color: #b91c1c;
  font-weight: 700;
}

.form-toast {
  display: none;
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #dcfce7;
  color: #166534;
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-toast.show {
  display: block;
}

.email-link {
  display: inline-block;
  margin: 4px 0 12px;
  font-weight: 700;
  word-break: break-all;
}

.jobs-section {
  padding: 5px 0;
}

.jobs-section > .container {
  --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
  --job-card-title-size: clamp(13.5px, 0.65vw + 11px, 15.5px);
  --job-card-date-label-size: clamp(11px, 0.4vw + 9.25px, 12.75px);
  --job-card-date-detail-size: clamp(11.5px, 0.42vw + 9.5px, 13.25px);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 12px;
}

.jobs-toolbar {
  margin: 14px 0px;
}

.home-hub {
  margin: 10px 0 4px;
}

.home-hub-block--qual,
.home-hub-block--type {
  position: relative;
  border-bottom: none;
}

.home-hub-block--qual::after,
.home-hub-block--type::after {
  content: "";
  display: block;
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100vw;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transform: translateX(-50%);
  border-bottom: 2px dashed #0f172a;
  pointer-events: none;
}

.home-hub-block--qual {
  padding-bottom: clamp(10px, 2vw, 16px);
  margin-bottom: 0;
}

.home-hub-block--type {
  padding-top: clamp(10px, 2vw, 16px);
  padding-bottom: clamp(10px, 2vw, 16px);
  margin-bottom: clamp(14px, 3vw, 22px);
}

.home-hub-heading {
  margin: 0 0 clamp(6px, 1.5vw, 10px);
  text-align: center;
  font-size: clamp(13px, 0.42vw + 11.1px, 16px);
  font-weight: 700;
  color: #000;
  text-decoration: underline;
  text-underline-offset: clamp(2px, 0.5vw, 4px);
}

.home-hub-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  margin: 0;
  padding-inline: clamp(2px, 1.5vw, 10px);
  box-sizing: border-box;
  font-size: clamp(12px, 0.35vw + 10.35px, 14.5px);
  line-height: 1.5;
  font-weight: 600;
  column-gap: 0;
  row-gap: 0.25em;
}

.home-hub-links a {
  color: #2563eb;
  text-decoration: none;
  white-space: nowrap;
  flex: 0 1 auto;
}

.home-hub-links a:hover {
  color: #000;
}

.home-hub-sep {
  flex: 0 0 auto;
  white-space: nowrap;
  color: #64748b;
  padding: 0 0.3em;
  font-weight: 500;
}

.home-top-picks {
  margin: 0 0 28px;
}

.home-section-banner {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 0 0 14px;
  padding: 10px max(12px, env(safe-area-inset-left, 0px)) 10px
    max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  transform: translateX(-50%);
  text-align: center;
  background-color: #2563eb;
  color: #fff;
  font-size: var(--page-title-size, clamp(15px, 0.85vw + 12.5px, 19px));
  line-height: 1.25;
  border-radius: 0;
  font-weight: 700;
}

.home-top-picks-grid {
  margin-bottom: 14px;
}

.home-top-picks-more-wrap {
  text-align: center;
  margin: 0;
}

.home-top-picks-more {
  display: inline-block;
  background-color: #2563eb;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 22px;
  border-radius: 6px;
  font-size: clamp(14px, 0.85vw + 12px, 16px);
  transition: background-color 150ms ease;
}

.home-top-picks-more:hover {
  background-color: #1d4ed8;
  color: #fff;
}

.home-top-picks-grid > .info-text {
  grid-column: 1 / -1;
  text-align: center;
  margin: 12px 0;
}

body.jobs-loading #home-top-selected-list:empty::before {
  content: "Loading...";
  display: block;
  grid-column: 1 / -1;
  text-align: center;
  color: #64748b;
  font-weight: 600;
  padding: 12px 0;
}

body.jobs-loading #home-top-selected-list {
  min-height: clamp(160px, 18vw, 220px);
}

.search-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #334155;
}

.jobs-search-wrap {
  position: relative;
  width: 100%;
}

.jobs-search-input {
  width: 100%;
  border: 2px solid #cbd5e1;
  border-radius: 13px;
  border-right: 0;
  padding: 14px 56px 14px 12px;
  font-size: 1em;
  text-align: center;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.jobs-search-input.is-typing {
  text-align: left;
}

.jobs-search-input:focus {
  border: 2px solid #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}

.jobs-search-input::-webkit-search-decoration,
.jobs-search-input::-webkit-search-cancel-button,
.jobs-search-input::-webkit-search-results-button,
.jobs-search-input::-webkit-search-results-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-icon {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  color: #fff;
  width: 44px;
  border: 2px solid #2563eb;
  border-left: 0;
  border-radius: 0 13px 13px 0;
  background-color: #2563eb;
  line-height: 1;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trending-card {
  position: relative;
}

.qualification-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 16px auto 8px;
  width: min(100%, 460px);
}

.qualification-card {
  display: block;
  text-decoration: none;
  background: #f7f7f7;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow:
    0 0 0 0 transparent,
    0 6px 16px rgba(2, 6, 23, 0.12);
  transition:
    transform 140ms ease,
    box-shadow 140ms ease,
    border-color 140ms ease,
    background-color 140ms ease;
}

.qualification-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  background-color: #e7f1ff;
  box-shadow:
    0 0 0 2px #93c5fd,
    0 10px 20px rgba(2, 6, 23, 0.16);
}

.qualification-title {
  margin: 0;
  line-height: 1.35;
  color: #000;
  text-align: center;
}

.page-heading-line {
  margin: 6px 0 18px;
  padding: 0 max(12px, env(safe-area-inset-left, 0px)) 2px
    max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  text-align: center;
  font-size: var(--page-title-size, clamp(15px, 0.85vw + 12.5px, 19px));
  line-height: 1.25;
  font-weight: 700;
  color: #2563eb;
  background: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
}

.page-heading-line::after {
  content: "";
  display: block;
  position: relative;
  left: 50%;
  width: 80vw;
  max-width: none;
  margin: clamp(10px, 2vw, 14px) 0 0;
  transform: translateX(-50%);
  box-sizing: border-box;
  border-bottom: 2px dashed #0f172a;
}

.job-detail-section--loading .page-heading-line::after {
  display: none;
}

.no-border {
  margin-bottom: 1px;
}

.no-border::after {
  display: none;
}

.job-detail-section--loading .home-hub,
.job-detail-section--loading .related-jobs-section {
  display: none;
}

.main-title {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 0px 0px 12px 0px;
  padding: 6px max(12px, env(safe-area-inset-left, 0px)) 10px
    max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  transform: translateX(-50%);
  font-size: var(--page-title-size, clamp(15px, 0.85vw + 12.5px, 19px));
  line-height: 1.25;
  text-align: center;
  color: #333;
  border-radius: 0;
  border-bottom: 1px dashed #333;
}

.gov-job-title {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 6px 0 18px;
  padding: 10px max(12px, env(safe-area-inset-left, 0px)) 10px
    max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  transform: translateX(-50%);
  font-size: var(--page-title-size, clamp(15px, 0.85vw + 12.5px, 19px));
  line-height: 1.25;
  text-align: center;
  background-color: #2563eb;
  color: #fff;
  border-radius: 0;
}
.page-title {
  position: relative;
  left: 50%;
  width: 100vw;
  max-width: none;
  margin: 6px 0 18px;
  padding: 10px max(12px, env(safe-area-inset-left, 0px)) 10px
    max(12px, env(safe-area-inset-right, 0px));
  box-sizing: border-box;
  transform: translateX(-50%);
  font-size: var(--page-title-size, clamp(15px, 0.85vw + 12.5px, 19px));
  line-height: 1.25;
  text-align: center;
  background-color: #2563eb;
  color: #fff;
  border-radius: 0;
}

.jobs-section > .container .search-label {
  font-size: min(
    calc(var(--page-title-size) - 3px),
    max(13px, calc(var(--page-title-size) * 0.78))
  );
}

.jobs-section > .container .jobs-search-input {
  font-size: min(
    calc(var(--page-title-size) - 2px),
    max(14px, calc(var(--page-title-size) * 0.84))
  );
}

.jobs-section > .container .articles,
.jobs-section > .container .jobs-grid,
.jobs-section > .container .home-top-picks-grid,
.jobs-section > .container .qualification-grid {
  font-size: min(
    calc(var(--page-title-size) - 2px),
    max(14px, calc(var(--page-title-size) * 0.86))
  );
}

.jobs-section > .container .info-text {
  font-size: min(
    calc(var(--page-title-size) - 2px),
    max(14px, calc(var(--page-title-size) * 0.84))
  );
}

.jobs-section > .container .entry-title {
  font-size: var(--job-card-title-size);
}

.jobs-section > .container .qualification-title {
  font-size: min(
    calc(var(--page-title-size) - 1px),
    max(15px, calc(var(--page-title-size) * 0.94))
  );
}

.jobs-section > .container .job-title {
  font-size: min(
    calc(var(--page-title-size) - 1px),
    max(15px, calc(var(--page-title-size) * 0.91))
  );
}

.jobs-section > .container .job-meta,
.jobs-section > .container .job-qualification {
  font-size: min(
    calc(var(--page-title-size) - 3px),
    max(13px, calc(var(--page-title-size) * 0.8))
  );
}

.jobs-section > .container .entry-job-date {
  font-size: var(--job-card-date-label-size);
  font-weight: 400;
  color: #444;
}

.jobs-section > .container .entry-job-date-details {
  font-size: var(--job-card-date-detail-size);
  font-weight: 700;
  color: #000;
}

.jobs-section > .container .job-card .btn {
  font-size: min(
    calc(var(--page-title-size) - 2px),
    max(13px, calc(var(--page-title-size) * 0.8))
  );
}

.jobs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

body.jobs-loading .jobs-grid {
  min-height: 60vh;
}

body.jobs-loading .jobs-grid:empty::before {
  content: "Loading jobs...";
  color: #64748b;
  font-weight: 600;
}

.jobs-page-loader {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 88px;
  margin: 0 0 16px;
  /* border: 1px solid #e6eefb;
  border-radius: 14px; */
  background: rgba(255, 255, 255, 0.92);
}

body.jobs-loading .jobs-page-loader {
  display: flex;
}

.jobs-page-loader__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.jobs-page-loader__ring {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: #2563eb;
  animation: jobs-page-spin 0.75s linear infinite;
}

@keyframes jobs-page-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jobs-page-loader__ring {
    animation: none;
    border-top-color: #2563eb;
    opacity: 0.85;
  }
}

.job-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border: 1px solid #e6eefb;
  border-radius: 10px;
  background: #fff;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
}

.job-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(16, 24, 40, 0.06);
}

.job-card-body {
  flex: 1 1 auto;
}

.job-title {
  margin: 0 0 6px;
  font-weight: 700;
  color: #0f172a;
}

.job-meta {
  margin: 0 0 8px;
  color: #64748b;
}

.job-qualification {
  margin: 0;
  font-weight: 600;
  color: #0b3b75;
}

.job-card-actions {
  margin-left: 12px;
  display: flex;
  align-items: center;
}

.job-card .btn {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  width: auto;
}

.job-detail-section {
  padding: 22px 0 30px;
}

.job-detail-section__wrap {
  position: relative;
  min-height: min(70vh, 520px);
}

.job-detail-loader {
  position: absolute;
  inset: 0;
  z-index: 4;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(2px);
  border-radius: 14px;
}

.job-detail-section--loading .job-detail-loader {
  display: flex;
}

.job-detail-loader__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.job-detail-loader__ring {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid #e2e8f0;
  border-top-color: #2563eb;
  animation: job-detail-spin 0.75s linear infinite;
}

@keyframes job-detail-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .job-detail-loader__ring {
    animation: none;
    border-top-color: #2563eb;
    opacity: 0.85;
  }
}

.job-detail-card {
  background: #fff;
  border: 1px solid #e6eefb;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(2, 6, 23, 0.06);
  max-width: 1200px;
  margin: 0 auto;
}

.job-detail-title {
  margin: 0 0 10px;
  font-size: 28px;
  line-height: 1.3;
  color: #0f172a;
}

.job-detail-card .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  font-size: 14px;
  color: #475569;
}

.job-detail-card .job-sep {
  color: #94a3b8;
}

.job-content {
  margin-top: 16px;
  line-height: 1.75;
  color: #0f172a;
  font-size: clamp(14px, 0.55vw + 12px, 16px);
}

.job-content p {
  margin: 0 0 14px;
}

.job-content h2,
.job-content h3,
.job-content h4 {
  margin: 20px 0 10px;
  line-height: 1.35;
  color: #0b3b75;
}

.job-content ul,
.job-content ol {
  margin: 0 0 14px 20px;
  padding: 0;
}

.job-content li {
  margin-bottom: 6px;
}

.job-content a {
  color: #1d4ed8;
  text-underline-offset: 2px;
}

.job-content a:hover {
  color: #1e40af;
}

.job-apply {
  margin-top: 18px;
}

.related-jobs-section {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid #e6eefb;
  --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
  --job-card-title-size: clamp(13.5px, 0.65vw + 11px, 15.5px);
  --job-card-date-label-size: clamp(11px, 0.4vw + 9.25px, 12.75px);
  --job-card-date-detail-size: clamp(11.5px, 0.42vw + 9.5px, 13.25px);
}

.related-jobs-section__header {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.related-jobs-section__title {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  color: #0f172a;
}

.related-jobs-section__loading {
  margin: 0;
  color: #64748b;
  font-weight: 600;
}

.related-jobs-grid {
  margin-top: 0;
}

.related-jobs-section .entry-title {
  font-size: var(--job-card-title-size);
}

.related-jobs-section .entry-job-date {
  font-size: var(--job-card-date-label-size);
  font-weight: 400;
  color: #444;
}

.related-jobs-section .entry-job-date-details {
  font-size: var(--job-card-date-detail-size);
  font-weight: 700;
  color: #000;
}

.related-job-card .job-title {
  font-size: 16px;
}

.job-detail-section--not-found .job-detail-card {
  max-width: 860px;
  padding: clamp(20px, 2vw, 34px);
}

.job-detail-section--not-found .job-detail-card > header,
.job-detail-section--not-found .ads,
.job-detail-section--not-found .job-apply {
  display: none;
}

.job-detail-section--not-found .job-content {
  margin-top: 0;
}

.job-detail-section--not-found .job-content > :first-child {
  margin-top: 0;
}

.job-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  min-height: clamp(280px, 42vh, 460px);
  padding: clamp(18px, 2vw, 32px) 0;
}

.job-not-found__eyebrow {
  margin: 0;
  font-size: clamp(18px, 1.4vw + 14px, 28px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
  color: #1e40af;
}

.job-not-found__title {
  margin: 0;
  font-size: clamp(24px, 2.1vw + 16px, 40px);
  line-height: 1.15;
  color: #0f172a;
}

.job-not-found__text {
  margin: 0;
  max-width: 48ch;
  font-size: clamp(14px, 0.9vw + 11px, 18px);
  line-height: 1.7;
  color: #475569;
}

.job-not-found__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 10px;
  background: #1e40af;
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(14px, 0.45vw + 13px, 16px);
  box-shadow: 0 10px 18px rgba(30, 64, 175, 0.22);
}

.job-not-found__action:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 12px 20px rgba(30, 64, 175, 0.28);
}

.articles {
  max-width: 1240px;
  margin: 10px auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 0 12px;
}

.content_link {
  background: white;
  text-decoration: none;
  color: #444;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  display: block;
  padding: 12px;
  border: 1px solid #e6eefb;
  transition:
    box-shadow 160ms ease,
    transform 160ms ease;
  height: 100%;
}

.content_link:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.entry-title {
  font-weight: 700;
  color: #2563eb;
  padding-top: 1px;
  min-height: calc(1.35em * 2);
  overflow: hidden;
  display: -webkit-box;
  display: box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.35em;
}

.bfooter {
  display: block;
  text-align: left;
  margin-top: 6px;
  color: #222;
  line-height: 1.6;
}

.content_link {
  display: flex;
  flex-direction: column;
}

.content_link .bfooter {
  margin-top: auto;
}

.pagination-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin: 18px 0 6px;
}

.pagination-btn {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #1e293b;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  min-width: 40px;
}

.pagination-btn:hover:not(:disabled) {
  border-color: #93c5fd;
}

.pagination-btn.active {
  background: #2563eb;
  border-color: #2563eb;
  color: #fff;
}

.pagination-btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-dots {
  color: #64748b;
  padding: 0 4px;
  font-weight: 600;
}

.content_link .entry-title + .bfooter {
  border-top: 1px solid #e6e6e6;
  padding-top: 8px;
  margin-top: 8px;
}

.entry-job-liner-1 {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 6px;
  align-items: center;
}

.entry-job-date {
  color: #444;
  font-weight: 400;
}

.entry-job-date-details {
  color: #000;
  font-weight: 700;
  text-align: right;
}

.articles {
  grid-auto-columns: 1fr;
  align-items: start;
}

.articles > .content_link {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.qualification-quick-links {
  display: grid;
  gap: 12px;
  width: 95vw;
  max-width: 95vw;
  margin: 8px calc(50% - 47.5vw) 20px;
  --ql-heading: 18px;
  --ql-text: 19px;
  --ql-icon: 23px;
  background-color: rgba(255, 255, 255, 0.8)
}

.qualification-quick-links-heading {
  grid-column: 1 / -1;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 2px;
  padding: 5px;
  text-align: center;
  font-size: var(--ql-heading);
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
  background: none;
  border: none;
  background-color: #2563eb;
  box-sizing: border-box;
}

.qualification-quick-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(8px, 1.2vw, 14px);
  background: #b71c1c;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  min-height: clamp(50px, 2.75vw + 40px, 58px);
  padding: clamp(8px, 1vw, 5px) clamp(12px, 2vw, 18px);
  box-shadow: 0 5px 14px rgba(183, 28, 28, 0.4);
  font-size: var(--ql-text);
  font-weight: 700;
  line-height: 1.28;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.qualification-quick-link:hover {
  background: #000;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
}

.qualification-quick-link .quick-link-icon,
.qualification-quick-link .quick-link-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 1em;
  font-size: var(--ql-icon);
  font-weight: 700;
  line-height: 1;
  color: #fff;
}

.quick-link-arrow {
  font-size: 45px !important;
}

.qualification-quick-link .quick-link-text {
  min-width: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
  color: #fff;
  overflow-wrap: break-word;
  text-wrap: balance;
}

#customers {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0;
  font-size: 15px;
  overflow: hidden;
}

#customers th,
#customers td {
  border: 1px solid #e6eefb;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

#customers thead th {
  background: #f8fafc;
  font-weight: 700;
  color: #0f172a;
}

#customers tbody tr:nth-child(even) {
  background: #fafafa;
}

.bsectioncol {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  margin-bottom: 12px;
}

.job-content table,
.bsectioncol table {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.job-content th,
.bsectioncol th {
  text-align: center;
  vertical-align: middle;
  padding: 8px 10px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.job-content td,
.bsectioncol td {
  text-align: justify;
  text-justify: inter-word;
  vertical-align: middle;
  padding: 10px 16px;
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
}

/* Advertisement */
.ads {
  max-width: 1200px;
  width: 100%;
  text-align: center;
  display: flex;
  margin: 10px auto;
  flex-direction: column;
}

#div-gpt-ad-1790836701267-0,
#div-gpt-ad-1790836720383-0,
#div-gpt-ad-1790836740739-0 {
  min-width: 300px;
  min-height: 10px !important;
}

.ads-text {
  padding: 10px 0;
  font-size: 18px;
}

.ads-prompt {
  font-size: 12px;
  color: #d5c5c5;
  font-family: auto;
  margin: 0 auto;
}

.adsbygoogle[data-ad-status="unfilled"] {
  display: none !important;
}

.view-details {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.view-details-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #2563eb;
  color: #ffffff;
  padding: 8px 20px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.view-details-btn:hover {
  background-color: #1d4ed8;
  transform: translateY(-1px);
}

.btn-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: transparent;
  border: 2px solid #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
}

.info-i {
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  font-style: normal;
}

.info-text {
  width: 100%;
  padding: 2px;
  margin: 0;
  text-align: center;
  border-radius: 8px;
  box-sizing: border-box;
}

.articles:has(.info-text) {
  display: block;
}

/* Large desktop: slightly larger card type than default clamp floor */
@media (min-width: 1440px) {
  .jobs-section > .container {
    --job-card-title-size: clamp(14.5px, 0.52vw + 12.5px, 16.5px);
    --job-card-date-label-size: clamp(12px, 0.34vw + 10px, 13.5px);
    --job-card-date-detail-size: clamp(12.5px, 0.37vw + 10.25px, 14px);
  }

  .related-jobs-section {
    --job-card-title-size: clamp(14.5px, 0.52vw + 12.5px, 16.5px);
    --job-card-date-label-size: clamp(12px, 0.34vw + 10px, 13.5px);
    --job-card-date-detail-size: clamp(12.5px, 0.37vw + 10.25px, 14px);
  }

  .qualification-quick-links {
    --ql-heading: 19px;
    --ql-text: 20px;
    --ql-icon: 24px;
  }
}

@media (max-width: 1024px) {
  .header-logo img {
    width: 320px;
  }

  .nav-btn {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(13.25px, 0.6vw + 10.5px, 15px);
    --job-card-date-label-size: clamp(10.75px, 0.38vw + 9.1px, 12.5px);
    --job-card-date-detail-size: clamp(11.25px, 0.4vw + 9.35px, 13px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(13.25px, 0.6vw + 10.5px, 15px);
    --job-card-date-label-size: clamp(10.75px, 0.38vw + 9.1px, 12.5px);
    --job-card-date-detail-size: clamp(11.25px, 0.4vw + 9.35px, 13px);
  }

  .qualification-quick-links {
    --ql-heading: 16px;
    --ql-text: 17px;
    --ql-icon: 20px;
  }

  .quick-link-arrow {
    font-size: 40px !important;
  }

  .job-detail-section--not-found .job-detail-card {
    max-width: 760px;
  }

  .job-not-found {
    min-height: clamp(260px, 40vh, 400px);
  }

  .quick-link-text {
    font-size: 22px !important;
  }
}

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

  .job-detail-title {
    font-size: 24px;
  }

  .job-detail-card {
    padding: 18px;
  }

  .articles {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-btn {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(13.5px, 0.6vw + 10.75px, 15.25px);
    --job-card-date-label-size: clamp(11.25px, 0.4vw + 9.25px, 12.5px);
    --job-card-date-detail-size: clamp(11.75px, 0.42vw + 9.5px, 13.25px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(13.5px, 0.6vw + 10.75px, 15.25px);
    --job-card-date-label-size: clamp(11.25px, 0.4vw + 9.25px, 12.5px);
    --job-card-date-detail-size: clamp(11.75px, 0.42vw + 9.5px, 13.25px);
  }

  .qualification-quick-links {
    --ql-heading: 16px;
    --ql-text: 16px;
    --ql-icon: 19px;
  }
}

@media (max-width: 768px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-btn {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
  }

  .footer-links {
    gap: 2px 14px;
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(14.75px, 0.64vw + 11.25px, 16px);
    --job-card-date-label-size: clamp(12.25px, 0.43vw + 9.65px, 13.75px);
    --job-card-date-detail-size: clamp(12.75px, 0.45vw + 9.85px, 14.25px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(14.75px, 0.64vw + 11.25px, 16px);
    --job-card-date-label-size: clamp(12.25px, 0.43vw + 9.65px, 13.75px);
    --job-card-date-detail-size: clamp(12.75px, 0.45vw + 9.85px, 14.25px);
  }

  .quick-link-arrow {
    font-size: 35px !important;
  }

  .page-title {
    padding: 9px max(10px, env(safe-area-inset-left, 0px)) 9px
      max(10px, env(safe-area-inset-right, 0px));
  }

  .page-heading-line::after {
    width: 99%;
    left: 0;
    transform: none;
    margin-left: auto;
    margin-right: auto;
  }

  .qualification-quick-links {
    --ql-heading: 16px;
    --ql-text: 16px;
    --ql-icon: 18px;
  }

  .job-detail-section--not-found .job-detail-card {
    padding: 18px;
  }

  .job-not-found {
    min-height: clamp(240px, 38vh, 360px);
    gap: 12px;
  }

  .ads-text {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .site-header {
    padding: 8px 0 0;
  }

  .header-inner {
    padding-left: max(10px, env(safe-area-inset-left, 0px));
    padding-right: max(10px, env(safe-area-inset-right, 0px));
  }

  .header-brand {
    margin-bottom: 10px;
  }

  .header-nav {
    justify-content: stretch;
    overflow-x: hidden;
  }

  .nav-menu {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding-block: 0px;
    padding-inline: max(8px, env(safe-area-inset-left, 0px))
      max(8px, env(safe-area-inset-right, 0px));
    gap: 2px;
    box-sizing: border-box;
  }

  .nav-item {
    min-width: 0;
  }

  .nav-btn {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    min-width: 0;
    min-height: 64px;
    box-sizing: border-box;
    padding: 7px 2px 9px;
    border-radius: 8px;
  }

  .nav-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }

  .nav-text {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    max-width: 100%;
  }

  .quick-link-text {
    font-size: 20px !important;
  }
}

@media (max-width: 600px) {
  .header-logo img {
    width: clamp(200px, 62vw, 460px);
  }

  .main-title {
    font-size: 16px;
  }
  .pagination-controls {
    flex-wrap: nowrap;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 2px 0 6px;
    gap: 6px;
  }

  .pagination-btn,
  .pagination-dots {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .pagination-btn {
    padding: 6px 9px;
    min-width: 34px;
    font-size: 13px;
  }

  .jobs-search-input {
    padding: 10px 32px 10px 10px;
  }

  .ads-text {
    font-size: 15px;
  }

  .quick-link-text {
    font-size: 17px !important;
  }

  .quick-link-icon {
    font-size: 21px !important;
  }

  #customers thead th {
    font-size: 15px;
  }
  #customers td {
    font-size: 15px;
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(14.5px, 0.6vw + 10.9px, 16px);
    --job-card-date-label-size: clamp(12px, 0.41vw + 9.55px, 13.5px);
    --job-card-date-detail-size: clamp(12.5px, 0.43vw + 9.75px, 13.75px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(14.5px, 0.6vw + 10.9px, 16px);
    --job-card-date-label-size: clamp(12px, 0.41vw + 9.55px, 13.5px);
    --job-card-date-detail-size: clamp(12.5px, 0.43vw + 9.75px, 13.75px);
  }

  .page-title {
    padding: 8px max(10px, env(safe-area-inset-left, 0px)) 8px
      max(10px, env(safe-area-inset-right, 0px));
  }

  .jobs-section > .container .articles,
  .jobs-section > .container .jobs-grid,
  .jobs-section > .container .home-top-picks-grid {
    font-size: min(
      calc(var(--page-title-size) - 2px),
      max(15px, calc(var(--page-title-size) * 0.91))
    );
  }

  .jobs-section > .container .job-title {
    font-size: min(
      calc(var(--page-title-size) - 1px),
      max(16px, calc(var(--page-title-size) * 0.95))
    );
  }

  .jobs-section > .container .job-meta,
  .jobs-section > .container .job-qualification {
    font-size: min(
      calc(var(--page-title-size) - 2px),
      max(14px, calc(var(--page-title-size) * 0.85))
    );
  }

  .jobs-section > .container .job-card .btn {
    font-size: min(
      calc(var(--page-title-size) - 2px),
      max(14px, calc(var(--page-title-size) * 0.84))
    );
  }

  .jobs-section > .container .info-text {
    font-size: min(
      calc(var(--page-title-size) - 2px),
      max(15px, calc(var(--page-title-size) * 0.88))
    );
  }

  .qualification-quick-links {
    --ql-heading: 15px;
    --ql-text: 15px;
    --ql-icon: 17px;
  }
}

@media (max-width: 480px) {
  .nav-menu {
    padding-block: 0px;
    padding-inline: max(10px, env(safe-area-inset-left, 0px))
      max(10px, env(safe-area-inset-right, 0px));
    gap: 2px;
  }

  .nav-btn {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
    min-height: 66px;
    padding: 8px 2px 10px;
    gap: 3px;
  }

  .nav-icon {
    width: 26px;
    height: 26px;
  }

  .nav-text {
    font-size: clamp(15px, 0.85vw + 12.5px, 19px);
  }

  .footer-groups {
    gap: 18px;
  }

  .footer-links {
    gap: 2px 12px;
  }

  .header-brand {
    margin-bottom: 8px;
  }

  .footer-link {
    font-size: 15px;
    padding: 8px 2px;
  }

  .job-detail-section--not-found .job-detail-card {
    border-radius: 12px;
    padding: 14px;
  }

  .job-not-found {
    min-height: clamp(220px, 36vh, 320px);
    gap: 10px;
    padding: 12px 0;
  }

  .job-not-found__title {
    font-size: clamp(22px, 6vw, 28px);
  }

  .job-not-found__text {
    line-height: 1.6;
  }

  .job-not-found__action {
    max-width: none;
  }

  .jobs-grid {
    grid-template-columns: 1fr;
  }
  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .job-card-actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }

  .job-detail-section {
    padding: 16px 0 22px;
  }

  .job-detail-loader {
    border-radius: 10px;
  }

  .job-detail-card {
    border-radius: 10px;
    padding: 14px;
  }

  .job-detail-title {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .job-detail-card .job-meta {
    font-size: 14px;
    gap: 6px;
  }

  .job-content {
    font-size: 16px;
    line-height: 1.7;
  }

  .job-content h2,
  .job-content h3,
  .job-content h4 {
    font-size: 18px;
  }

  .articles {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .qualification-grid {
    gap: 12px;
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(14.25px, 0.56vw + 10.65px, 15.5px);
    --job-card-date-label-size: clamp(11.75px, 0.39vw + 9.35px, 13.25px);
    --job-card-date-detail-size: clamp(12.25px, 0.41vw + 9.55px, 13.75px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.85vw + 12.5px, 19px);
    --job-card-title-size: clamp(14.25px, 0.56vw + 10.65px, 15.5px);
    --job-card-date-label-size: clamp(11.75px, 0.39vw + 9.35px, 13.25px);
    --job-card-date-detail-size: clamp(12.25px, 0.41vw + 9.55px, 13.75px);
  }

  .page-title {
    padding: 8px max(8px, env(safe-area-inset-left, 0px)) 8px
      max(8px, env(safe-area-inset-right, 0px));
  }

  .page-heading-line::after {
    width: 100vw;
    max-width: none;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
  }

  .qualification-quick-links {
    --ql-heading: 15px;
    --ql-text: 14px;
    --ql-icon: 16px;
  }

  .job-detail-section--not-found .job-detail-card {
    padding: 16px;
  }

  .job-not-found__action {
    width: 100%;
    max-width: 280px;
  }

  #customers thead th {
    padding: 2px;
  }

  #customers td {
    font-size: 12px;
    padding: 2px;
  }
}

@media (max-width: 426px) {
  .header-brand {
    margin-bottom: 8px;
  }
}

@media (max-width: 425px) {
  .job-detail-title {
    font-size: 19px;
  }

  .job-detail-card .job-meta {
    row-gap: 4px;
  }

  .job-detail-card .job-sep {
    display: none;
  }

  .job-content {
    font-size: 15px;
  }

  .pagination-controls {
    gap: 5px;
  }

  .pagination-btn {
    padding: 6px 9px;
    min-width: 34px;
    font-size: 14px;
  }

  .nav-btn {
    min-height: 64px;
    padding: 8px 1px 9px;
    gap: 3px;
  }

  .nav-icon {
    width: 25px;
    height: 25px;
  }

  .nav-text {
    font-size: clamp(15px, 3vw, 13.5px);
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.45vw + 9.5px, 16px);
    --job-card-title-size: clamp(14px, 0.52vw + 10.4px, 15.25px);
    --job-card-date-label-size: clamp(11.5px, 0.37vw + 9.15px, 13px);
    --job-card-date-detail-size: clamp(12px, 0.39vw + 9.35px, 13.5px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.45vw + 9.5px, 16px);
    --job-card-title-size: clamp(14px, 0.52vw + 10.4px, 15.25px);
    --job-card-date-label-size: clamp(11.5px, 0.37vw + 9.15px, 13px);
    --job-card-date-detail-size: clamp(12px, 0.39vw + 9.35px, 13.5px);
  }

  .page-title {
    padding: 7px max(8px, env(safe-area-inset-left, 0px)) 7px
      max(8px, env(safe-area-inset-right, 0px));
  }
}

@media (max-width: 375px) {
  .job-detail-card {
    padding: 12px;
  }

  .job-detail-title {
    font-size: 18px;
  }

  .job-content h2,
  .job-content h3,
  .job-content h4 {
    font-size: 17px;
  }

  .job-not-found {
    min-height: clamp(200px, 34vh, 300px);
  }

  .job-not-found__title {
    font-size: 20px;
  }

  .job-not-found__text {
    font-size: 14px;
  }

  .container {
    padding: 0 10px;
  }

  .pagination-controls {
    gap: 4px;
  }

  .pagination-btn {
    padding: 6px 8px;
    min-width: 32px;
    font-size: 13px;
    border-radius: 7px;
  }

  .qualification-card {
    padding: 14px 10px;
  }

  .nav-btn {
    min-height: 62px;
    padding: 7px 1px 8px;
    gap: 3px;
  }

  .nav-icon {
    width: 24px;
    height: 24px;
  }

  .nav-text {
    font-size: clamp(14px, 2.85vw, 13px);
  }

  .jobs-section > .container {
    --page-title-size: clamp(15px, 0.4vw + 9px, 16px);
    --job-card-title-size: clamp(13.75px, 0.5vw + 10.2px, 15px);
    --job-card-date-label-size: clamp(11.25px, 0.35vw + 8.85px, 12.75px);
    --job-card-date-detail-size: clamp(11.75px, 0.37vw + 9.05px, 13.25px);
  }

  .related-jobs-section {
    --page-title-size: clamp(15px, 0.4vw + 9px, 16px);
    --job-card-title-size: clamp(13.75px, 0.5vw + 10.2px, 15px);
    --job-card-date-label-size: clamp(11.25px, 0.35vw + 8.85px, 12.75px);
    --job-card-date-detail-size: clamp(11.75px, 0.37vw + 9.05px, 13.25px);
  }

  .page-title {
    padding: 7px max(10px, env(safe-area-inset-left, 0px)) 7px
      max(10px, env(safe-area-inset-right, 0px));
  }

  .qualification-quick-links {
    --ql-heading: 14px;
    --ql-text: 13px;
    --ql-icon: 15px;
  }
}

@media (max-width: 320px) {
  .nav-menu {
    gap: 2px;
    padding-block: 0px;
    padding-inline: max(8px, env(safe-area-inset-left, 0px))
      max(8px, env(safe-area-inset-right, 0px));
  }

  .nav-btn {
    min-height: 60px;
    padding: 7px 1px 8px;
    gap: 3px;
  }

  .nav-text {
    font-size: 12.5px;
  }

  .nav-icon {
    width: 22px;
    height: 22px;
  }

  .jobs-section > .container {
    --page-title-size: 16px;
    --job-card-title-size: 14px;
    --job-card-date-label-size: 11.5px;
    --job-card-date-detail-size: 12.25px;
  }

  .related-jobs-section {
    --page-title-size: 16px;
    --job-card-title-size: 14px;
    --job-card-date-label-size: 11.5px;
    --job-card-date-detail-size: 12.25px;
  }

  .job-detail-section--not-found .job-detail-card {
    padding: 12px;
  }

  .job-not-found {
    min-height: 180px;
    gap: 8px;
  }

  .job-not-found__eyebrow {
    font-size: 12px;
  }

  .job-not-found__title {
    font-size: 18px;
  }

  .job-not-found__text {
    font-size: 13px;
  }

  .page-title {
    padding: 6px max(8px, env(safe-area-inset-left, 0px)) 6px
      max(8px, env(safe-area-inset-right, 0px));
  }

  .job-detail-title {
    font-size: 17px;
  }

  .job-detail-card .job-meta {
    font-size: 13px;
  }

  .job-content {
    font-size: 15px;
  }

  .pagination-controls {
    gap: 3px;
  }

  .pagination-btn {
    padding: 5px 7px;
    min-width: 30px;
    font-size: 13px;
  }

  .pagination-dots {
    padding: 0 2px;
    font-size: 13px;
  }

  .qualification-quick-links {
    --ql-heading: 13px;
    --ql-text: 12px;
    --ql-icon: 14px;
  }
}
