/* PharmaOpenings site UI overrides */
/* Also copied to public/pharma-openings/assets/css/site-overrides.css (loaded last via SiteStyles). */

body.po-preloader-active {
  overflow: hidden;
}

.po-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.po-preloader--exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.po-preloader__logo {
  width: min(200px, 52vw);
  height: auto;
  object-fit: contain;
  transform-origin: center center;
  animation: po-preloader-logo-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  will-change: transform, opacity;
}

@keyframes po-preloader-logo-in {
  from {
    opacity: 0;
    transform: scale(0);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Job listing (home) — no category icon */
.job-block-one .inner-box .title-box.title-box--no-icon {
  padding-left: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* —— About section visual —— */
.po-about-visual {
  position: relative;
  max-width: 540px;
  margin: 0 auto;
  padding: 48px 24px 32px 8px;
  min-height: 420px;
}

.po-about-visual__main {
  position: relative;
  z-index: 2;
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 4px 6px rgba(26, 61, 46, 0.04),
    0 24px 56px rgba(26, 61, 46, 0.12);
  border: 4px solid #ffffff;
}

.po-about-visual__main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.po-about-visual__accent {
  position: absolute;
  z-index: 3;
  width: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d4e0d8;
  box-shadow: 0 12px 32px rgba(26, 61, 46, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.po-about-visual__accent img {
  display: block;
  width: 100%;
  height: 88px;
  object-fit: cover;
}

.po-about-visual__tag {
  display: block;
  padding: 8px 10px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: #4a7f0f;
  background: linear-gradient(180deg, #f8fbf5 0%, #eef6e6 100%);
}

.po-about-visual__accent--tl {
  top: 12px;
  left: 0;
  transform: rotate(-6deg);
}

.po-about-visual__accent--br {
  right: 0;
  bottom: 24px;
  transform: rotate(5deg);
}

.po-about-visual__accent--tl:hover,
.po-about-visual__accent--br:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 16px 40px rgba(124, 181, 24, 0.18);
}

.po-about-visual::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 12%;
  top: 18%;
  width: 76%;
  height: 72%;
  border-radius: 24px;
  background: linear-gradient(145deg, #eef6e4 0%, #e2f0d6 100%);
  transform: rotate(-3deg);
}

@media only screen and (max-width: 991px) {
  .po-about-visual {
    max-width: 480px;
    margin-bottom: 40px;
    padding: 40px 16px 24px;
    min-height: 360px;
  }

  .po-about-visual__accent {
    width: 120px;
  }

  .po-about-visual__accent img {
    height: 72px;
  }

  .po-about-visual__accent--tl {
    top: 4px;
    left: 4px;
  }

  .po-about-visual__accent--br {
    right: 4px;
    bottom: 12px;
  }
}

@media only screen and (max-width: 575px) {
  .po-about-visual__accent {
    width: 100px;
  }

  .po-about-visual__accent img {
    height: 60px;
  }

  .po-about-visual__tag {
    font-size: 10px;
    padding: 6px 8px;
  }
}

/* —— Hero (banner) —— */

.banner-section.po-hero {
  position: relative;
  overflow: visible;
}

.banner-section.po-hero .author-box .author {
  overflow: visible;
  text-align: center;
}

.banner-section.po-hero .author-box .author-thumb {
  position: relative;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
  background: #fff;
}

.banner-section.po-hero .author-box .author-1 .author-thumb,
.banner-section.po-hero .author-box .author-6 .author-thumb {
  width: 140px;
  height: 140px;
}

.banner-section.po-hero .author-box .author-2 .author-thumb,
.banner-section.po-hero .author-box .author-4 .author-thumb {
  width: 110px;
  height: 110px;
}

.banner-section.po-hero .author-box .author-3 .author-thumb,
.banner-section.po-hero .author-box .author-5 .author-thumb {
  width: 90px;
  height: 90px;
}

.banner-section.po-hero .author-box .author-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
}

.banner-section.po-hero .author-box .author span {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  z-index: 2;
  white-space: nowrap;
  padding: 4px 14px;
  font-size: 13px;
  line-height: 18px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.banner-section.po-hero .author-box .author-4 span {
  font-size: 12px;
  padding: 4px 12px;
}

.banner-section.po-hero .content-box p {
  margin-bottom: 36px;
}

.banner-section.po-hero .content-box .banner-search-form {
  margin-top: 4px;
}

.banner-search-form .form-group fieldset {
  gap: 14px 16px;
}

@media only screen and (max-width: 991px) {
  .banner-section.po-hero {
    padding: 180px 0 120px;
  }

  .banner-section.po-hero .content-box h2 {
    font-size: clamp(32px, 6vw, 48px);
    line-height: 1.15;
  }

  .banner-section.po-hero .content-box p {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 32px;
  }

}

/* —— Site header (pill bar: logo | nav | CTAs) —— */

.po-site-header .po-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.po-site-header .logo-box {
  flex-shrink: 0;
  margin: 0;
  padding: 12px 0 12px 8px;
}

.po-site-header .logo-box img {
  max-height: 44px;
  width: auto;
  display: block;
}

.po-site-header .po-header-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.po-site-header .po-header-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.po-nav-link {
  position: relative;
  display: inline-block;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--title-color, #1a3d2e);
  text-decoration: none;
  white-space: nowrap;
  padding: 6px 2px;
  transition:
    color 0.2s ease,
    font-weight 0.2s ease;
}

.po-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--theme-color, #7cb518);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.po-nav-link:hover {
  color: var(--theme-color, #7cb518);
}

.po-nav-link:hover::after,
.po-nav-link.is-active::after {
  transform: scaleX(1);
}

.po-nav-link.is-active {
  color: var(--theme-color, #7cb518);
  font-weight: 600;
}

.po-nav-link:focus-visible {
  outline: 2px solid var(--theme-color, #7cb518);
  outline-offset: 4px;
  border-radius: 4px;
}

.po-site-header .po-header-nav-list a {
  /* inherits .po-nav-link */
}

.po-site-header .po-header-actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
}

.po-site-header .po-logo-link {
  display: block;
  border-radius: 8px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.po-site-header .po-logo-link:hover {
  opacity: 0.88;
  transform: scale(1.02);
}

.po-site-header .po-logo-link:focus-visible {
  outline: 2px solid var(--theme-color, #7cb518);
  outline-offset: 4px;
}

.po-site-header .po-header-login {
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: var(--title-color, #1a3d2e);
  text-decoration: none;
  white-space: nowrap;
  padding: 8px 4px;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.po-site-header .po-header-login:hover {
  color: var(--theme-color, #7cb518);
  background-color: rgba(124, 181, 24, 0.08);
}

.po-site-header .po-header-login:focus-visible {
  outline: 2px solid var(--theme-color, #7cb518);
  outline-offset: 2px;
}

.po-site-header .po-header-register.theme-btn {
  padding: 10px 22px;
  white-space: nowrap;
  transition:
    filter 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.po-site-header .po-header-register.theme-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(124, 181, 24, 0.35);
}

.po-site-header .po-header-register.theme-btn:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

/* —— User avatar —— */
.po-user-avatar-wrap {
  display: inline-flex;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b8e86a 0%, #7cb518 48%, #5a9a12 100%);
  box-shadow: 0 4px 14px rgba(90, 154, 18, 0.28);
}

.po-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #ffffff;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.08);
}

.po-user-avatar__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.po-user-avatar__initials {
  font-family: var(--title-font, "Outfit", sans-serif);
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  user-select: none;
}

.po-user-avatar--sm .po-user-avatar__initials {
  font-size: 13px;
}

.po-user-avatar--md .po-user-avatar__initials {
  font-size: 15px;
}

.po-user-avatar--lg .po-user-avatar__initials {
  font-size: 18px;
}

/* —— Account menu (desktop) —— */
.po-header-actions--loading {
  min-width: 148px;
  min-height: 48px;
}

.po-header-account-skeleton {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px 6px 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f2f6ee 0%, #e8efe3 50%, #f2f6ee 100%);
  background-size: 200% 100%;
  animation: po-shimmer 1.4s ease-in-out infinite;
}

.po-header-account-skeleton__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #dce8d6;
}

.po-header-account-skeleton__lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.po-header-account-skeleton__line {
  display: block;
  height: 10px;
  width: 72px;
  border-radius: 6px;
  background: #dce8d6;
}

.po-header-account-skeleton__line--short {
  width: 48px;
}

@keyframes po-shimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.po-header-account-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 12px 5px 5px;
  border: 1px solid rgba(197, 212, 200, 0.9);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf5 100%);
  box-shadow:
    0 2px 8px rgba(26, 61, 46, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.po-header-account-trigger:hover {
  border-color: rgba(124, 181, 24, 0.55);
  box-shadow:
    0 6px 20px rgba(124, 181, 24, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.po-header-account-trigger:focus-visible {
  outline: 2px solid var(--theme-color, #7cb518);
  outline-offset: 2px;
}

.po-header-account-trigger[data-state="open"] {
  border-color: var(--theme-color, #7cb518);
  box-shadow: 0 6px 22px rgba(124, 181, 24, 0.2);
}

.po-header-account-trigger-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1px;
  min-width: 0;
  text-align: left;
}

.po-header-account-name {
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: var(--title-color, #1a3d2e);
  max-width: 108px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.po-header-account-sub {
  font-size: 11px;
  font-weight: 500;
  color: #6b7f72;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1;
}

.po-header-account-chevron {
  flex-shrink: 0;
  margin-left: 2px;
  color: #6b7f72;
  transform: rotate(90deg);
  transition: transform 0.2s ease, color 0.2s ease;
}

.po-header-account-trigger[data-state="open"] .po-header-account-chevron {
  transform: rotate(-90deg);
  color: var(--theme-color, #7cb518);
}

.po-header-account-dropdown {
  z-index: 1100 !important;
  min-width: 288px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid #d4e0d8 !important;
  background: #ffffff !important;
  box-shadow:
    0 4px 6px rgba(26, 61, 46, 0.04),
    0 20px 48px rgba(26, 61, 46, 0.14) !important;
}

.po-header-account-dropdown-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 16px;
  background: linear-gradient(135deg, #f6faf2 0%, #ecf5e4 55%, #e8f2de 100%);
  border-bottom: 1px solid #dce8d4;
}

.po-header-account-dropdown-meta {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
}

.po-header-account-dropdown-name {
  margin: 0;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 16px;
  font-weight: 600;
  color: #1a3d2e;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.po-header-account-dropdown-email {
  margin: 0;
  font-size: 13px;
  color: #5c6f72;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.po-header-account-dropdown-body {
  padding: 8px;
}

.po-header-account-dropdown-sep {
  height: 1px;
  margin: 6px 8px;
  background: #e8efe8;
}

.po-header-account-menu-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 12px;
  background: transparent;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #1a3d2e;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.18s ease,
    color 0.18s ease;
}

.po-header-account-menu-row:hover {
  background: #f3f8ef;
  color: #4a7f0f;
}

.po-header-account-menu-row:focus-visible {
  outline: 2px solid var(--theme-color, #7cb518);
  outline-offset: -2px;
}

.po-header-account-menu-row.is-danger {
  color: #b42318;
}

.po-header-account-menu-row.is-danger:hover {
  background: #fef3f2;
  color: #912018;
}

.po-header-account-menu-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #eef6e4;
  color: #5a9a12;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.po-header-account-menu-row:hover .po-header-account-menu-icon {
  background: #e2f0d4;
  color: #4a7f0f;
}

.po-header-account-menu-icon.is-danger {
  background: #fef3f2;
  color: #b42318;
}

.po-header-account-menu-row.is-danger:hover .po-header-account-menu-icon {
  background: #fee4e2;
  color: #912018;
}

.po-header-account-menu-label {
  flex: 1;
  min-width: 0;
}

/* Mobile: compact avatar in pill bar */
.po-header-mobile-avatar-link {
  display: none;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 50%;
  background: linear-gradient(145deg, #b8e86a, #7cb518);
  box-shadow: 0 4px 12px rgba(90, 154, 18, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.po-header-mobile-avatar-link:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(90, 154, 18, 0.35);
}

.po-header-mobile-avatar-link:focus-visible {
  outline: 2px solid var(--theme-color, #7cb518);
  outline-offset: 3px;
}

.po-header-mobile-avatar-link .po-user-avatar-wrap {
  box-shadow: none;
}

/* Mobile drawer — account */
.po-mobile-account-guest {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.po-mobile-account-link--ghost {
  background: #f7faf5 !important;
}

.po-mobile-account-user {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.po-mobile-account-profile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbf5 0%, #eef6e6 100%);
  border: 1px solid #d0ddd4;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(26, 61, 46, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.po-mobile-account-profile:hover {
  border-color: rgba(124, 181, 24, 0.5);
  box-shadow: 0 8px 24px rgba(124, 181, 24, 0.14);
  transform: translateY(-1px);
}

.po-mobile-account-profile-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}

.po-mobile-account-name {
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 17px;
  font-weight: 600;
  color: #1a3d2e;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.po-mobile-account-email {
  font-size: 13px;
  color: #5c6f72;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.po-mobile-account-chevron {
  flex-shrink: 0;
  color: #8a9b90;
}

.po-mobile-account-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.po-mobile-account-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid #d4e0d8;
  background: #ffffff;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: #1a3d2e;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.po-mobile-account-chip:hover {
  border-color: rgba(124, 181, 24, 0.45);
  background: #f7fbf3;
  color: #4a7f0f;
}

.po-mobile-account-chip--primary {
  background: linear-gradient(180deg, #8ed12f 0%, #7cb518 100%);
  border-color: #6da816;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(124, 181, 24, 0.3);
}

.po-mobile-account-chip--primary:hover {
  background: linear-gradient(180deg, #9ad93a 0%, #85c21f 100%);
  border-color: #6da816;
  color: #ffffff;
}

.po-mobile-account-chip--logout {
  color: #b42318;
  background: #fffafa;
  border-color: #f5d0cc;
}

.po-mobile-account-chip--logout:hover {
  background: #fef3f2;
  border-color: #f0aba4;
  color: #912018;
}

/* —— Mobile drawer (light, high contrast) —— */
/* Template header.css sets nav links to #fff — override after those styles load. */

.po-mobile-menu.mobile-menu .menu-box {
  background: #ffffff !important;
  border-left: 1px solid #c5d4c8;
  box-shadow: -8px 0 32px rgba(26, 61, 46, 0.14);
}

/* Beat .mobile-menu .navigation li > a { color: #fff } from template */
.po-mobile-menu.mobile-menu .navigation li > a,
.po-mobile-menu.mobile-menu .navigation li > a.po-nav-link,
.po-mobile-menu.mobile-menu .navigation li > a.po-mobile-nav-link {
  color: #1a3d2e !important;
  -webkit-text-fill-color: #1a3d2e;
  text-transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.po-mobile-menu .menu-backdrop {
  border: none;
  padding: 0;
  cursor: pointer;
  background-color: rgba(26, 61, 46, 0.55);
}

.po-mobile-menu .close-btn {
  border: none;
  padding: 0;
  background: transparent;
  color: #1a3d2e;
  cursor: pointer;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.po-mobile-menu .close-btn:hover {
  background-color: #eef4ea;
}

.po-mobile-menu .nav-logo {
  padding: 28px 24px 20px;
}

.po-mobile-menu .nav-logo img {
  max-height: 40px;
  width: auto;
}

.po-mobile-menu .navigation li {
  border-top-color: #dce8df;
}

.po-mobile-menu .navigation li > a:before {
  display: none;
}

.po-mobile-menu .po-mobile-nav-list .po-nav-link,
.po-mobile-menu .po-mobile-nav-list .po-mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 500;
  color: #1a3d2e !important;
  -webkit-text-fill-color: #1a3d2e;
  text-transform: none;
}

.po-mobile-menu .po-mobile-nav-list .po-nav-link::after,
.po-mobile-menu .po-mobile-nav-list .po-mobile-nav-link::after {
  display: none;
}

.po-mobile-menu .po-mobile-nav-list .po-nav-link:hover,
.po-mobile-menu .po-mobile-nav-list .po-mobile-nav-link:hover {
  background-color: #f3f8ef;
  color: #4a7f0f !important;
  -webkit-text-fill-color: #4a7f0f;
}

.po-mobile-menu .po-mobile-nav-list .po-nav-link.is-active,
.po-mobile-menu .po-mobile-nav-list .po-mobile-nav-link.is-active {
  background-color: #eef6e4;
  color: #4a7f0f !important;
  -webkit-text-fill-color: #4a7f0f;
  font-weight: 600;
  border-left: 4px solid var(--theme-color, #7cb518);
  padding-left: 20px;
}

.po-mobile-menu.mobile-menu .contact-info.po-mobile-account {
  padding: 20px 24px 32px !important;
  border-top: 1px solid #dce8df;
}

.po-mobile-menu.mobile-menu .contact-info.po-mobile-account h4 {
  color: #1a3d2e !important;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.po-mobile-menu.mobile-menu .contact-info.po-mobile-account ul li {
  color: #1a3d2e !important;
}

.po-mobile-menu .po-mobile-account ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.po-mobile-menu .po-mobile-account li + li {
  margin-top: 10px;
}

.po-mobile-menu.mobile-menu .contact-info.po-mobile-account ul li {
  display: block;
  width: 100%;
}

.po-mobile-menu.mobile-menu .contact-info.po-mobile-account ul li a,
.po-mobile-menu .po-mobile-account-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  color: #1a3d2e !important;
  -webkit-text-fill-color: #1a3d2e;
  text-decoration: none;
  border: 1px solid #c5d4c8;
  background: #fff;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.po-mobile-menu.mobile-menu .contact-info.po-mobile-account ul li a:hover,
.po-mobile-menu .po-mobile-account-link:hover {
  color: #4a7f0f !important;
  -webkit-text-fill-color: #4a7f0f;
  border-color: #7cb518;
  background: #f3f8ef;
}

.po-mobile-menu .po-mobile-register-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  min-height: 48px;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff;
}

body.po-mobile-nav-open {
  overflow: hidden;
}

.po-site-header .po-header-mobile-toggle {
  display: none;
  flex-shrink: 0;
  border: none;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--theme-color, #7cb518);
  cursor: pointer;
  transition:
    filter 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.po-site-header .po-header-mobile-toggle:hover {
  filter: brightness(1.08);
  box-shadow: 0 4px 14px rgba(124, 181, 24, 0.4);
}

.po-site-header .po-header-mobile-toggle:active {
  transform: scale(0.96);
}

.po-site-header .po-header-mobile-toggle:focus-visible {
  outline: 2px solid var(--title-color, #1a3d2e);
  outline-offset: 3px;
}

.po-site-header .po-header-mobile-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  margin-bottom: 5px;
  background: #fff;
}

.po-site-header .po-header-mobile-toggle .icon-bar:last-child {
  margin-bottom: 0;
}

/* Floating pill sticky bar (gap from viewport top — not edge-to-edge) */
.po-site-header {
  --po-header-float-top: 24px;
  --po-header-float-inline: 24px;
}

.po-site-header.header-style-one {
  position: absolute;
  top: 28px;
  left: 0;
  width: 100%;
  z-index: 999;
}

.po-site-header.header-style-one .header-lower {
  position: static;
  background: transparent;
}

.po-site-header .po-sticky-header {
  display: block !important;
  position: fixed;
  top: var(--po-header-float-top);
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  margin: 0;
  padding: 0 var(--po-header-float-inline);
  box-sizing: border-box;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition:
    opacity 0.35s ease,
    visibility 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.po-site-header.fixed-header .po-sticky-header,
.fixed-header.po-site-header .po-sticky-header {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.po-site-header .po-sticky-header .auto-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 15px;
  padding-right: 15px;
}

.po-site-header .po-sticky-header .outer-box.po-header-bar {
  background: #ffffff;
  border: 1px solid #c5d4c8;
  border-radius: 60px;
  box-shadow: 0 10px 36px rgba(26, 61, 46, 0.14);
}

/* High-contrast header pill (all breakpoints; stronger on small screens) */
.po-site-header .outer-box.po-header-bar {
  background: #ffffff;
  border: 1px solid #c5d4c8;
  box-shadow: 0 4px 20px rgba(26, 61, 46, 0.1);
}

.po-site-header .header-lower .outer-box.po-header-bar::before {
  display: none;
}

@media only screen and (min-width: 992px) {
  .po-site-header .po-header-nav {
    display: flex !important;
  }
}

@media only screen and (max-width: 1200px) {
  .po-site-header {
    --po-header-float-top: 18px;
    --po-header-float-inline: 16px;
  }

  .po-site-header.header-style-one {
    top: 20px;
  }

  .po-site-header .auto-container,
  .po-site-header .po-sticky-header .auto-container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media only screen and (max-width: 991px) {
  .po-site-header {
    --po-header-float-top: 14px;
    --po-header-float-inline: 12px;
  }

  .po-site-header .po-sticky-header .outer-box.po-header-bar {
    border-radius: 16px;
  }

  .po-site-header .po-header-nav {
    display: none !important;
  }

  .po-site-header .po-header-mobile-toggle {
    display: block;
  }

  .po-site-header .po-header-actions .po-header-login {
    display: none;
  }

  .po-site-header .po-header-actions--user {
    display: none !important;
  }

  .po-site-header .po-header-mobile-avatar-link {
    display: inline-flex;
  }

  .po-site-header .po-header-register {
    padding: 8px 16px;
    font-size: 14px;
  }

  .po-site-header .outer-box.po-header-bar {
    border-radius: 16px;
    padding: 4px 8px 4px 4px;
  }

  .auto-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Content cards / sections — clearer surfaces on small screens (not About text) */
  .job-block-one .inner-box,
  .category-block-one .inner-box,
  .process-block-one .inner-box,
  .po-jobs-filter-panel,
  .po-job-card,
  .po-jobs-toolbar {
    background: #ffffff;
    border: 1px solid #d4e0d8;
    box-shadow: 0 6px 24px rgba(26, 61, 46, 0.08);
  }

  .about-section .content_block_one,
  .about-section .content_block_one .content-box,
  .about-section .content_block_one .text-box {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .job-block-one .inner-box {
    border-radius: 12px;
  }
}

@media only screen and (min-width: 992px) {
  .po-site-header .po-header-mobile-avatar-link {
    display: none !important;
  }
}

@media only screen and (max-width: 599px) {
  .po-site-header .po-header-actions:not(.po-header-actions--user) {
    display: none;
  }

  .po-mobile-menu.mobile-menu {
    width: 100%;
    padding-right: 0;
  }
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .po-nav-link::after {
    transition: none;
  }
}

/* Footer link hovers */
.main-footer .links-list a {
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}

.main-footer .links-list a:hover {
  color: var(--theme-color, #7cb518);
}

.main-footer .po-footer-link {
  display: inline-block;
}

.main-footer .po-footer-link:hover {
  padding-left: 4px;
}

.main-footer .footer-logo {
  margin: 0 0 20px;
}

.main-footer .footer-logo a {
  display: inline-block;
  transition: opacity 0.2s ease;
}

.main-footer .footer-logo a:hover {
  opacity: 0.88;
}

.main-footer .footer-logo img {
  display: block;
  width: auto;
  max-width: 200px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
}

.banner-search-form .form-group fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
  margin: 24px auto 0;
}

.banner-search-form .form-control {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.95);
}

/* —— Auth: login, register, OTP —— */

.po-auth-layout-root {
  --po-auth-header-offset: 112px;
  --po-auth-placeholder: #8aa396;
  --po-auth-brand: #1a3d2e;
  --po-auth-brand-hover: #2d5a28;
  min-height: 100dvh;
  background: linear-gradient(180deg, #f4f8f5 0%, #fafcf9 28%, #ffffff 100%);
}

.po-auth-page {
  padding: calc(var(--po-auth-header-offset) + clamp(12px, 3vw, 28px)) 0 clamp(72px, 12vw, 112px);
}

.po-auth-page__container {
  max-width: 840px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

.po-auth-page__intro {
  max-width: 540px;
  margin: 0 auto clamp(24px, 4vw, 36px);
  text-align: center;
}

.po-auth-page__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 12px;
  font-size: 14px;
}

.po-auth-page__crumbs a {
  color: #3d5244;
  font-weight: 500;
  text-decoration: none;
}

.po-auth-page__crumbs a:hover {
  color: var(--theme-color, #5a9a12);
}

.po-auth-page__crumbs span[aria-current="page"] {
  color: #1a3d2e;
  font-weight: 600;
}

.po-auth-page__crumbs-sep {
  color: #8aa396;
}

.po-auth-page__step {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5c7268;
}

.po-auth-page__title {
  margin: 0 0 10px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  color: #1a3d2e;
}

.po-auth-page__lead {
  margin: 0 auto;
  max-width: 480px;
  font-size: clamp(15px, 2.5vw, 16px);
  line-height: 1.55;
  color: #3d5244;
}

.po-auth-card {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 22px);
  width: 100%;
  max-width: min(100%, 440px);
  margin: 0 auto;
  padding: clamp(22px, 4vw, 32px) clamp(18px, 4vw, 28px);
  background: #fff;
  border: 1px solid #d4e0d8;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26, 61, 46, 0.08);
  box-sizing: border-box;
}

.po-auth-card--wide {
  max-width: min(100%, 720px);
}

.po-auth-page__switch {
  margin: clamp(20px, 4vw, 28px) auto 0;
  max-width: min(100%, 440px);
  padding: 0 4px;
  text-align: center;
  font-size: 15px;
  line-height: 1.5;
  color: #4a6356;
}

.po-auth-page__container:has(.po-auth-card--wide) .po-auth-page__switch {
  max-width: min(100%, 720px);
}

.po-auth-page__switch-link {
  font-weight: 600;
  color: var(--po-auth-brand-hover, #2d5a28);
  text-decoration: none;
}

.po-auth-page__switch-link:hover {
  text-decoration: underline;
}

.po-auth-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 3vw, 20px);
}

.po-auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.po-auth-label,
.po-auth-label-block {
  font-size: 14px;
  font-weight: 600;
  color: #1a3d2e;
}

.po-auth-label-block {
  display: block;
}

.po-auth-label-block--spaced {
  margin-top: 12px;
}

.po-auth-label-block .po-auth-input,
.po-auth-label-block .po-auth-select,
.po-auth-label-block .po-auth-file {
  display: block;
  margin-top: 8px;
}

.po-auth-label-hint,
.po-auth-field-hint {
  font-size: 12px;
  font-weight: 500;
  color: #6b8276;
}

.po-auth-required {
  color: #c2410c;
  margin-left: 2px;
}

.po-auth-input,
.po-auth-select {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d4e0d8;
  border-radius: 10px;
  background: #fafcf9;
  font-size: 15px;
  color: #1a3d2e;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.po-auth-input::placeholder {
  color: var(--po-auth-placeholder, #8aa396);
  opacity: 1;
}

.po-auth-layout-root .po-auth-input::-webkit-input-placeholder {
  color: var(--po-auth-placeholder, #8aa396);
  opacity: 1;
}

.po-auth-layout-root .po-auth-input::-moz-placeholder {
  color: var(--po-auth-placeholder, #8aa396);
  opacity: 1;
}

.po-auth-layout-root .po-auth-input:-ms-input-placeholder {
  color: var(--po-auth-placeholder, #8aa396);
}

.po-auth-input:focus,
.po-auth-select:focus {
  outline: none;
  border-color: #5a8f4a;
  box-shadow: 0 0 0 3px rgba(45, 90, 40, 0.14);
  background: #fff;
}

.po-auth-select--placeholder,
.po-auth-layout-root select.po-auth-input:invalid,
.po-auth-layout-root select.po-auth-select:invalid {
  color: var(--po-auth-placeholder, #8aa396);
}

.po-auth-select option,
.po-auth-layout-root select.po-auth-input option {
  color: #1a3d2e;
}

.po-auth-select option[value=""],
.po-auth-layout-root select.po-auth-input option[value=""] {
  color: var(--po-auth-placeholder, #8aa396);
}

.po-auth-input--readonly,
.po-auth-input--disabled,
.po-auth-select:disabled {
  cursor: not-allowed;
  background: #eef2ee;
  color: #5c7268;
}

.po-auth-select:disabled.po-auth-select--placeholder,
.po-auth-layout-root select.po-auth-input:disabled:invalid {
  color: var(--po-auth-placeholder, #8aa396);
}

.po-auth-file {
  display: block;
  width: 100%;
  margin-top: 8px;
  font-size: 14px;
  color: #4a6356;
}

.po-auth-file::file-selector-button {
  margin-right: 12px;
  min-height: 40px;
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  background: #eef5ea;
  color: #1a3d2e;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.po-auth-field-error {
  margin: 6px 0 0;
  font-size: 13px;
  color: #b45309;
}

.po-auth-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.po-auth-actions--split {
  flex-direction: row;
  flex-wrap: wrap;
}

.po-auth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    opacity 0.2s ease;
}

.po-auth-btn:disabled {
  cursor: not-allowed;
}

.po-auth-btn--secondary:disabled,
.po-auth-btn--accent:disabled {
  opacity: 0.55;
}

.po-auth-btn--grow {
  flex: 1 1 140px;
}

.po-auth-btn--block {
  width: 100%;
}

.po-auth-btn--link {
  text-decoration: none;
  text-align: center;
}

.po-auth-btn--primary {
  background: var(--po-auth-brand, #1a3d2e);
  color: #fff;
  border-color: var(--po-auth-brand, #1a3d2e);
}

.po-auth-btn--primary:hover:not(:disabled) {
  background: var(--po-auth-brand-hover, #2d5a28);
  border-color: var(--po-auth-brand-hover, #2d5a28);
}

.po-auth-btn--primary:disabled {
  background: #e8eee9;
  border-color: #d4e0d8;
  color: #8aa396;
  opacity: 1;
}

.po-auth-btn--secondary {
  background: #fff;
  border-color: #d4e0d8;
  color: #1a3d2e;
}

.po-auth-btn--secondary:hover:not(:disabled) {
  border-color: var(--theme-color, #7cb518);
  background: #f4f9ef;
}

.po-auth-btn--accent {
  background: #1a3d2e;
  color: #fff;
}

.po-auth-btn--accent:hover:not(:disabled) {
  background: #2d5a28;
}

.po-auth-alert {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #1a3d2e;
}

.po-auth-alert--error {
  border: 1px solid #f0c4a8;
  background: #fff8ed;
}

.po-auth-alert--info {
  border: 1px solid #d4e8c8;
  background: #f4f9ef;
}

.po-auth-alert--warning {
  border: 1px solid #f0d4a8;
  background: #fff8ed;
}

.po-auth-alert--success {
  border: 1px solid #b8dfc8;
  background: #f0faf3;
}

.po-auth-alert__row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.po-auth-alert__dismiss {
  flex-shrink: 0;
  padding: 4px 10px;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  font-weight: 600;
  color: #5c7268;
  cursor: pointer;
}

.po-auth-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.po-auth-panel__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: #1a3d2e;
}

.po-auth-panel__text {
  margin: 0;
  font-size: 14px;
  color: #4a6356;
}

.po-auth-otp-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  border: 1px solid #e8efe9;
  border-radius: 12px;
  background: #fafcf9;
}

.po-auth-otp-label {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #1a3d2e;
}

.po-auth-otp-hint {
  margin: -4px 0 0;
  font-size: 13px;
  color: #6b8276;
}

.po-otp-boxes {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
}

.po-otp-box {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  padding: 0;
  border: 1px solid #d4e0d8;
  border-radius: 12px;
  background: #fff;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  color: #1a3d2e;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.po-otp-box:focus {
  outline: none;
  border-color: var(--theme-color, #7cb518);
  box-shadow: 0 0 0 3px rgba(124, 181, 24, 0.2);
}

.po-otp-box:disabled {
  background: #eef2ee;
  color: #8aa396;
  cursor: not-allowed;
}

.po-auth-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.po-auth-chip {
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #d4e0d8;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #4a6356;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.po-auth-chip:hover {
  border-color: #b8cfbc;
}

.po-auth-chip--active {
  border-color: #5a8f4a;
  background: #eef5ea;
  color: #1a3d2e;
}

@media only screen and (min-width: 576px) {
  .po-auth-page__container {
    padding-left: 24px;
    padding-right: 24px;
  }

  .po-auth-card {
    max-width: min(100%, 460px);
  }

  .po-auth-card--wide {
    max-width: min(100%, 680px);
  }
}

@media only screen and (min-width: 992px) {
  .po-auth-layout-root {
    --po-auth-header-offset: 128px;
  }

  .po-auth-card--wide {
    max-width: min(100%, 720px);
  }
}

@media only screen and (max-width: 575px) {
  .po-auth-layout-root {
    --po-auth-header-offset: 100px;
  }

  .po-auth-page {
    padding-top: calc(var(--po-auth-header-offset) + 12px);
    padding-bottom: 64px;
  }

  .po-auth-page__intro {
    margin-bottom: 20px;
    text-align: left;
  }

  .po-auth-page__lead {
    margin-left: 0;
    margin-right: 0;
  }

  .po-auth-card {
    padding: 20px 16px 18px;
    border-radius: 14px;
  }

  .po-auth-actions--split {
    flex-direction: column;
  }

  .po-auth-btn--grow {
    flex: 1 1 auto;
    width: 100%;
  }

  .po-otp-box {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 18px;
  }

  .po-otp-boxes {
    gap: 8px;
    justify-content: space-between;
  }

  .po-auth-page__switch {
    max-width: 100%;
  }
}

/* Apply flow — match auth card styling */
.po-auth-layout-root .sign-section {
  padding: 0 0 100px;
  background: transparent;
}

.po-auth-layout-root .sign-section .pattern-layer {
  display: none;
}

.po-auth-layout-root .sign-section .form-inner.po-auth-form,
.po-auth-layout-root .sign-section .auto-container.centred.po-auth-form {
  max-width: 640px;
  margin: 0 auto;
  padding: 28px 24px 24px;
  text-align: left;
  background: #fff;
  border: 1px solid #d4e0d8;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26, 61, 46, 0.08);
}

.po-auth-layout-root .sign-section .auto-container.centred.po-auth-form {
  text-align: center;
}

.po-auth-layout-root .sign-section .form-inner.po-auth-form h2,
.po-auth-layout-root .sign-section .auto-container.po-auth-form h2 {
  margin: 0 0 8px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 24px;
  color: #1a3d2e;
}

.po-auth-layout-root .sign-section .po-auth-subtitle {
  margin: 0 0 20px;
  text-align: left;
  font-size: 15px;
  color: #4a6356;
}

.po-auth-layout-root .sign-section .form-inner.po-auth-form .theme-btn,
.po-auth-layout-root .sign-section .auto-container.po-auth-form .theme-btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
}

/* Apply page — dedicated shell (matches login/register) */
.po-apply-page {
  padding: 110px 0 80px;
  min-height: 60vh;
  background: linear-gradient(180deg, #f4f8f5 0%, #fafcf9 40%, #ffffff 100%);
}

.po-apply-page__container {
  max-width: 720px;
}

.po-apply-page__intro--centred {
  text-align: center;
}

.po-apply-page__intro--centred .po-auth-page__crumbs {
  justify-content: center;
}

.po-apply-page__subtitle {
  margin-bottom: 0;
}

.po-apply-page__job-ref {
  margin: 12px 0 0;
  font-size: 14px;
  font-weight: 600;
  color: #2d5a28;
}

.po-apply-page__crumb-item {
  display: inline;
}

.po-apply-form {
  text-align: left;
}

.po-apply-form__body > .po-auth-alert + .po-auth-alert,
.po-apply-form__body > .po-auth-alert + .po-apply-form__fields {
  margin-top: 16px;
}

.po-apply-form__fields {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.po-apply-form__fields > .po-auth-field + .po-auth-field,
.po-apply-form__fields > .po-auth-field + .po-apply-module,
.po-apply-form__fields > .po-apply-module + .po-apply-resume,
.po-apply-form__fields > .po-apply-resume + .po-auth-actions {
  margin-top: 16px;
}

.po-apply-module {
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #d4e0d8;
  background: #f4f8f5;
}

.po-apply-module__label {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b8a78;
}

.po-apply-module__value {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
  color: #1a3d2e;
}

.po-apply-resume .po-auth-field {
  margin-top: 0;
}

.po-apply-resume__link {
  display: inline-flex;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #2d5a28;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.po-apply-resume__link:hover {
  color: #1a3d2e;
}

.po-apply-resume__empty {
  margin: 4px 0 0;
  font-size: 14px;
  color: #6b8a78;
}

.po-apply-resume__choose {
  margin-top: 12px;
}

.po-apply-resume__file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #d4e0d8;
  background: #fff;
}

.po-apply-resume__file-name {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  color: #1a3d2e;
}

.po-apply-resume__file-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: #2d5a28;
}

.po-apply-resume__remove {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #6b8a78;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.po-apply-resume__remove:hover {
  background: #eef2ee;
  color: #1a3d2e;
}

.po-apply-resume__remove-icon {
  width: 16px;
  height: 16px;
}

.po-apply-status {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #4a6356;
  text-align: center;
}

.po-apply-status--emph {
  font-weight: 600;
  color: #1a3d2e;
}

.po-apply-page .po-auth-card > .po-auth-btn--block {
  margin-top: 4px;
}

@media (max-width: 767px) {
  .po-apply-page {
    padding: 96px 0 64px;
  }
}

/* —— /jobs browse page —— */

.po-jobs-layout-root {
  background: linear-gradient(180deg, #f4f8f5 0%, #fafcf9 28%, #ffffff 100%);
}

.po-jobs-page {
  position: relative;
  padding: 28px 0 100px;
}

.po-jobs-page__intro {
  max-width: 720px;
  margin: 0 0 32px;
  padding-bottom: 4px;
}

.po-jobs-page__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.4;
}

.po-jobs-page__crumbs a {
  color: #3d5244;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.po-jobs-page__crumbs a:hover {
  color: var(--theme-color, #5a9a12);
}

.po-jobs-page__crumbs span[aria-current="page"] {
  color: #1a3d2e;
  font-weight: 600;
}

.po-jobs-page__crumbs-sep {
  color: #8aa396;
  user-select: none;
}

.po-jobs-page__title {
  margin: 0 0 10px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #1a3d2e;
}

.po-jobs-page__lead {
  margin: 0;
  max-width: 560px;
  font-size: 16px;
  line-height: 1.55;
  color: #3d5244;
}

.po-jobs-layout {
  display: grid;
  grid-template-columns: minmax(260px, 300px) minmax(0, 1fr);
  gap: 28px 32px;
  align-items: start;
}

.po-jobs-sidebar {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.po-jobs-filter-panel {
  background: #fff;
  border: 1px solid #d4e0d8;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(26, 61, 46, 0.07);
  max-width: 100%;
  overflow-x: clip;
}

.po-jobs-filter-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid #e8efe9;
  background: linear-gradient(180deg, #fafcf9 0%, #fff 100%);
}

.po-jobs-filter-panel__title {
  margin: 0;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 18px;
  font-weight: 700;
  color: var(--title-color, #1a3d2e);
}

.po-jobs-filter-panel__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 999px;
  background: var(--theme-color, #7cb518);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.po-jobs-filter__form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px 22px 22px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow-x: clip;
}

.po-jobs-filter__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.po-jobs-filter__label {
  font-size: 13px;
  font-weight: 600;
  color: #3d5244;
}

.po-jobs-filter__label--sub {
  font-size: 12px;
  font-weight: 500;
  color: #5c7268;
}

.po-jobs-filter__input {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid #d4e0d8;
  border-radius: 10px;
  background: #fafcf9;
  font-size: 14px;
  color: var(--title-color, #1a3d2e);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.po-jobs-filter__input::placeholder {
  color: #7a9188;
}

.po-jobs-filter__input:focus {
  outline: none;
  border-color: var(--theme-color, #7cb518);
  box-shadow: 0 0 0 3px rgba(124, 181, 24, 0.18);
  background: #fff;
}

.po-jobs-filter__group {
  margin: 0;
  padding: 0;
  border: none;
  min-width: 0;
  max-width: 100%;
}

.po-jobs-filter__legend {
  display: block;
  float: none;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5c7268;
}

.po-jobs-filter__options {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.po-jobs-filter__option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--title-color, #1a3d2e);
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.po-jobs-filter__option:hover {
  background: #f0f5f1;
}

.po-jobs-filter__checkbox,
.po-jobs-filter__radio {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--theme-color, #7cb518);
  cursor: pointer;
}

.po-jobs-filter__dates {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin-top: 12px;
  padding: 12px;
  box-sizing: border-box;
  border: 1px solid #e8efe9;
  border-radius: 10px;
  background: #fafcf9;
  overflow: hidden;
}

.po-jobs-filter__date-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.po-jobs-filter__input--date {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.po-jobs-filter__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid #e8efe9;
}

.po-jobs-filter__hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  color: #6b8276;
}

.po-jobs-filter__reset {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #d4e0d8;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: #3d5244;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background-color 0.2s ease;
}

.po-jobs-filter__reset:hover {
  border-color: var(--theme-color, #7cb518);
  color: var(--title-color, #1a3d2e);
  background: #f4f9ef;
}

.po-jobs-main {
  min-width: 0;
}

.po-jobs-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 20px;
  margin-bottom: 24px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #d4e0d8;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(26, 61, 46, 0.05);
}

.po-jobs-toolbar__count {
  margin: 0;
  font-size: 16px;
  color: #3d5244;
}

.po-jobs-toolbar__count strong {
  color: var(--title-color, #1a3d2e);
  font-weight: 700;
}

.po-jobs-toolbar__filters {
  margin: 4px 0 0;
  font-size: 13px;
  color: #6b8276;
}

.po-jobs-toolbar__clear {
  font-size: 14px;
  font-weight: 600;
  color: var(--theme-color, #5a9a12);
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.po-jobs-toolbar__clear:hover {
  color: var(--title-color, #1a3d2e);
  border-bottom-color: var(--theme-color, #7cb518);
}

.po-jobs-alert {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid #f0d4a8;
  background: #fff8ed;
  color: #6b4e12;
  font-size: 15px;
  line-height: 1.5;
}

.po-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.po-jobs-sort-note {
  margin: 0 0 14px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid #c5d8c0;
  background: #e6efe4;
  font-size: 13px;
  font-weight: 600;
  color: #2f5630;
  text-align: center;
}

/* Home — featured jobs (same cards as /jobs) */
.po-featured-jobs__header {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.po-featured-jobs__eyebrow {
  margin: 0 0 10px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--theme-color, #7cb518);
}

.po-featured-jobs__title {
  margin: 0 0 12px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--title-color, #1a3d2e);
}

.po-featured-jobs__lead {
  margin: 0 auto;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.55;
  color: #3d5244;
}

.po-featured-jobs__list {
  max-width: 960px;
  margin: 0 auto;
}

.po-job-card {
  background: #fff;
  border: 1px solid #d4e0d8;
  border-radius: 14px;
  box-shadow: 0 6px 28px rgba(26, 61, 46, 0.06);
  overflow: hidden;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.po-job-card:hover {
  border-color: #b8cfbc;
  box-shadow: 0 10px 36px rgba(26, 61, 46, 0.1);
}

.po-job-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  padding: 12px 22px;
  border-bottom: 1px solid #e8efe9;
  background: #fafcf9;
  font-size: 13px;
  color: #5c7268;
}

.po-job-card__posted {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #4a6356;
  font-size: 13px;
}

.po-job-card__posted-icon {
  flex-shrink: 0;
  color: #5c7268;
}

.po-job-card__posted-date {
  font-weight: 600;
  color: #1a3d2e;
}

.po-job-card__posted--legacy {
  font-size: inherit;
}

.job-block-one .po-job-card__posted-row {
  display: flex;
  align-items: center;
}

.po-job-card__code {
  font-size: 12px;
  font-weight: 600;
  color: #6b8276;
}

.po-job-card__code-value {
  margin-left: 4px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  letter-spacing: 0.03em;
  color: #2d5a28;
}

.po-job-reference,
.po-auth-subtitle .po-job-reference {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #2d5a28;
}

.po-job-reference-note {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  font-size: 15px;
  line-height: 1.55;
  color: #4a6356;
}

.job-sidebar .po-job-reference {
  font-size: 15px;
}

.po-job-card__body {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px 24px;
  padding: 22px 24px 24px;
}

.po-job-card__title {
  margin: 0 0 8px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: clamp(20px, 2.5vw, 24px);
  font-weight: 700;
  line-height: 1.25;
}

.po-job-card__title a {
  color: var(--title-color, #1a3d2e);
  text-decoration: none;
  transition: color 0.2s ease;
}

.po-job-card__title a:hover {
  color: var(--theme-color, #5a9a12);
}

.po-job-card__location {
  margin: 0 0 14px;
  font-size: 15px;
  color: #4a6356;
}

.po-job-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.po-job-card__tag {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: #eef5ea;
  border: 1px solid #d4e8c8;
  font-size: 12px;
  font-weight: 600;
  color: #2d5a28;
}

.po-job-card__tag--muted {
  background: #f4f6f5;
  border-color: #dce6df;
  color: #4a6356;
}

.po-job-card__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 160px;
}

.po-job-card__link {
  text-align: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  color: #3d5244;
  text-decoration: none;
  border-radius: 10px;
  border: 1px solid #d4e0d8;
  background: #fff;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.po-job-card__link:hover {
  border-color: var(--theme-color, #7cb518);
  background: #f4f9ef;
  color: var(--title-color, #1a3d2e);
}

.po-job-card__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px !important;
  font-size: 14px;
  white-space: nowrap;
}

/* —— Job fit score (logged-in candidates) —— */
.po-job-fit {
  --po-fit-accent: #3a6b34;
  --po-fit-accent-hover: #2f5630;
  --po-fit-accent-soft: #e6efe4;
  --po-fit-accent-border: #c5d8c0;
  --po-fit-text: #1a3d2e;
  --po-fit-muted: #5a7262;

  border-top: 1px solid #e8efe9;
  background: #fff;
}

.po-job-fit--fair {
  --po-fit-accent: #8a6d12;
  --po-fit-accent-hover: #735f10;
  --po-fit-accent-soft: #f7f2e6;
  --po-fit-accent-border: #e8dcc0;
}

.po-job-fit--low {
  --po-fit-accent: #9a5c32;
  --po-fit-accent-hover: #7f4c2a;
  --po-fit-accent-soft: #f8f0ea;
  --po-fit-accent-border: #e8d4c4;
}

.po-job-fit__inner {
  padding: 12px 20px 14px;
}

.po-job-fit__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
}

.po-job-fit__score-group {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1 1 200px;
}

.po-job-fit__ring-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  flex-shrink: 0;
}

.po-job-fit__ring {
  width: 52px;
  height: 52px;
  display: block;
}

.po-job-fit__ring-bg {
  fill: none;
  stroke: #e4ebe6;
  stroke-width: 3.5;
}

.po-job-fit__ring-fill {
  fill: none;
  stroke: var(--po-fit-accent);
  stroke-width: 3.5;
  stroke-linecap: round;
}

.po-job-fit__ring-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 15px;
  font-weight: 700;
  color: var(--po-fit-text);
}

.po-job-fit__copy {
  min-width: 0;
}

.po-job-fit__title {
  margin: 0;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--po-fit-text);
}

.po-job-fit__title-sep {
  margin: 0 4px;
  font-weight: 500;
  color: #9aaea4;
}

.po-job-fit__title-score {
  color: var(--po-fit-accent);
}

.po-job-fit__sub {
  margin: 3px 0 0;
  font-size: 12px;
  line-height: 1.4;
  color: var(--po-fit-muted);
}

.po-job-fit__sub strong {
  color: var(--po-fit-accent);
  font-weight: 700;
}

.po-job-fit__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid var(--po-fit-accent);
  background: var(--po-fit-accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(47, 86, 48, 0.18);
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

.po-job-fit__cta:hover {
  background: var(--po-fit-accent-hover);
  border-color: var(--po-fit-accent-hover);
  color: #fff;
  box-shadow: 0 3px 10px rgba(47, 86, 48, 0.22);
}

.po-job-fit__cta:focus-visible {
  outline: 2px solid var(--po-fit-accent);
  outline-offset: 2px;
}

.po-job-fit__tips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.po-job-fit__tip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 5px 10px;
  border-radius: 8px;
  background: var(--po-fit-accent-soft);
  border: 1px solid var(--po-fit-accent-border);
}

.po-job-fit__tip-label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--po-fit-text);
}

.po-job-fit__tip-boost {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  color: var(--po-fit-accent);
}

@media (max-width: 575px) {
  .po-job-fit__inner {
    padding: 12px 16px 14px;
  }

  .po-job-fit__cta {
    width: 100%;
  }
}

.po-jobs-empty {
  text-align: center;
  padding: 48px 28px;
  background: #fff;
  border: 1px dashed #c5d4ca;
  border-radius: 16px;
}

.po-jobs-empty h3 {
  margin: 0 0 12px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 22px;
  color: var(--title-color, #1a3d2e);
}

.po-jobs-empty p {
  margin: 0 auto;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.6;
  color: #4a6356;
}

.po-jobs-empty__cta {
  margin-top: 24px;
}

.po-jobs-empty__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 24px;
}

.po-jobs-empty__secondary {
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-color, #5a9a12);
  text-decoration: none;
}

.po-jobs-empty__secondary:hover {
  text-decoration: underline;
}

.po-jobs-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  margin-top: 36px;
  padding-top: 8px;
}

.po-jobs-pagination__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid #d4e0d8;
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  color: var(--title-color, #1a3d2e);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.po-jobs-pagination__btn:hover:not(.po-jobs-pagination__btn--disabled) {
  border-color: var(--theme-color, #7cb518);
  background: #f4f9ef;
  box-shadow: 0 4px 16px rgba(124, 181, 24, 0.15);
}

.po-jobs-pagination__btn--disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.po-jobs-pagination__status {
  font-size: 14px;
  font-weight: 600;
  color: #5c7268;
  padding: 0 4px;
}

@media only screen and (min-width: 992px) {
  .po-jobs-sidebar {
    position: sticky;
    top: calc(var(--po-header-float-top, 16px) + 88px);
  }
}

@media only screen and (max-width: 991px) {
  .po-jobs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .po-jobs-page__intro {
    margin-bottom: 24px;
  }

  .po-job-card__actions {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .po-job-card__link,
  .po-job-card__apply {
    flex: 1 1 140px;
  }
}

@media only screen and (max-width: 575px) {
  .po-jobs-toolbar {
    padding: 14px 16px;
  }

  .po-job-card__body {
    padding: 18px 16px 20px;
  }

  .po-job-card__meta {
    padding: 10px 16px;
  }

  .po-job-card__actions {
    flex-direction: column;
  }
}

.job-details-content .theme-btn {
  display: inline-block;
}

/* —— 404 / not found —— */

.po-not-found {
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - 220px);
  padding: clamp(88px, 14vw, 140px) 20px clamp(72px, 10vw, 100px);
  overflow: hidden;
  text-align: center;
  box-sizing: border-box;
}

.po-not-found__glow {
  position: absolute;
  left: 50%;
  top: 42%;
  z-index: 0;
  width: min(520px, 90vw);
  height: min(320px, 55vw);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(124, 181, 24, 0.22) 0%,
    rgba(124, 181, 24, 0.08) 42%,
    transparent 72%
  );
  pointer-events: none;
}

.po-not-found__inner {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 36rem;
  flex-direction: column;
  align-items: center;
}

.po-not-found__code {
  margin: 0 0 8px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: clamp(4.5rem, 16vw, 7.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: #1a3d2e;
}

.po-not-found__title {
  margin: 0 0 14px;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: #1a3d2e;
}

.po-not-found__lead {
  margin: 0;
  max-width: 32rem;
  font-size: clamp(0.9375rem, 2.2vw, 1.0625rem);
  line-height: 1.65;
  color: #5c7268;
}

.po-not-found__lead strong {
  font-weight: 600;
  color: #3d5244;
}

.po-not-found__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 32px);
}

.po-not-found__btn.theme-btn {
  min-height: 48px;
  padding: 12px 28px;
  font-weight: 600;
  color: #1a3d2e !important;
}

.po-not-found__btn--secondary {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid #d4e0d8;
  border-radius: 999px;
  background: #fff;
  font-family: var(--title-font, "Outfit", sans-serif);
  font-size: 15px;
  font-weight: 600;
  color: #1a3d2e;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.po-not-found__btn--secondary:hover {
  border-color: #5a8f4a;
  background: #f4f9ef;
  color: #1a3d2e;
}

@media only screen and (max-width: 575px) {
  .po-not-found__actions {
    flex-direction: column;
    width: 100%;
  }

  .po-not-found__btn.theme-btn,
  .po-not-found__btn--secondary {
    width: 100%;
    max-width: 280px;
  }
}
