/* Included TE job layouts. Loaded only on job pages and the jobs directory. */
.te-job-page { background: #eaecf0; }
.te-job-page .te-job-hero {
  position: relative;
  padding: 0;
  background-color: transparent;
  background-size: cover, 100% 100%;
  background-position: bottom center, bottom center;
  background-repeat: no-repeat;
}
.te-job-page .te-job-hero__inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 38px 24px 140px !important;
  text-align: center;
}
.te-job-page .te-job-hero h1 {
  margin: 16px 0 24px;
  padding: 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.2 !important;
  font-weight: 800;
  overflow-wrap: anywhere;
}
.te-job-page .te-job-hero__subtitle {
  margin: 0 0 16px;
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.4;
  font-weight: 600;
}
.te-job-page .te-job-hero__details { margin: 0; font-size: 16px; line-height: 1.6; }
.te-job-hero__reviews { display: flex; justify-content: center; max-width: 100%; }
.te-job-page .te-job-hero__actions { display: flex; justify-content: center; margin-top: 24px; }
.te-job-page .te-job-hero__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  text-transform: none;
  text-decoration: none;
}
.te-job-page .single_job_listing .company .te-job-company-title {
  margin: 8px 0 0;
  padding: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: #333;
}
.te-job-page__content {
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 36px 24px 64px;
  color: #333;
  font-size: 17px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.te-job-page__content .job_description h2,
.te-job-page__content .job_description h3 { margin-top: 1.3em; line-height: 1.3; }
.te-job-page__content .job_description p { margin-bottom: 1.1em; }
.te-job-page__content .job_description ul,
.te-job-page__content .job_description ol { padding-left: 1.5em; margin-bottom: 1.2em; }
.te-job-page__content .job_description li { margin-bottom: .45em; }
.te-job-page__content .job_description img { max-width: 100%; height: auto; }
.te-job-page__content .job_description iframe { max-width: 100%; }
.te-job-page__content .job_application { margin-top: 32px; }
.te-job-page__content .te-job-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  text-transform: none;
  text-decoration: none;
}
/* Suppress the theme's duplicate page-title bar on individual jobs only. */
body.single-job_listing .lnbTitleBar1,
body.single-job_listing .hypercore-page-title-bar { display: none; }
@media (max-width: 600px) {
  .te-job-page .te-job-hero__inner { padding: 32px 20px 96px !important; }
  .te-job-page__content { padding: 24px 20px 44px; font-size: 16px; }
}

/* Compact individual job layout. Directory pages retain their own layout. */
:is(#te-job-main, #te-jobs-directory) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
  background: #eaecf0;
}
:is(#te-job-main, #te-jobs-directory) .te-job-hero {
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  min-height: 0 !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0;
  background-color: #10191f !important;
  background-size: cover, cover !important;
  background-position: center, center !important;
  overflow: hidden;
  color: #fff;
}
/* A separate curve leaves the background solid behind every mobile element. */
:is(#te-job-main, #te-jobs-directory) .te-job-hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -5%;
  bottom: -1px;
  width: 110%;
  height: 30px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: #eaecf0;
  pointer-events: none;
}
:is(#te-job-main, #te-jobs-directory) .te-job-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 900px;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 24px 24px 56px !important;
  background: none !important;
  border: 0;
  box-shadow: none;
  text-align: center;
}
:is(#te-job-main, #te-jobs-directory) .te-job-hero h1 {
  margin: 0 !important;
  padding: 0 !important;
  font-size: clamp(28px, 2.5vw, 36px) !important;
  line-height: 1.15 !important;
  font-weight: 800;
}
:is(#te-job-main, #te-jobs-directory) .te-job-hero__subtitle {
  margin: 0 !important;
  padding: 0;
  font-size: 19px !important;
  line-height: 1.4 !important;
  font-weight: 600;
}
:is(#te-job-main, #te-jobs-directory) .te-job-hero__details {
  margin: 0 !important;
  padding: 0;
  font-size: 15px !important;
  line-height: 1.5 !important;
}
:is(#te-job-main, #te-jobs-directory) .te-job-hero__reviews { flex: 0 0 auto; margin: 0 0 2px; width: 100%; max-width: 100%; }
:is(#te-job-main, #te-jobs-directory) .te-job-hero__reviews > * { max-width: 100%; }
:is(#te-job-main, #te-jobs-directory) .te-job-hero__actions { flex: 0 0 auto; margin: 6px 0 0 !important; padding: 0; }
:is(#te-job-main, #te-jobs-directory) .te-job-hero__apply { min-height: 44px; padding: 11px 26px; font-size: 16px; line-height: 1.3; }
:is(#te-job-main, #te-jobs-directory) .te-job-page__content { padding: 16px 24px 48px; font-size: 16px; }
:is(#te-job-main, #te-jobs-directory) .single_job_listing .meta { margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
:is(#te-job-main, #te-jobs-directory) .single_job_listing .meta li { margin: 0; }
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company {
  display: grid !important;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  position: static !important;
  min-height: 0 !important;
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company img.company_logo {
  display: block;
  position: static !important;
  float: none !important;
  width: 48px !important;
  height: 48px !important;
  max-width: 100%;
  margin: 0 !important;
  padding: 0;
  object-fit: contain;
  transform: none !important;
}
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company_header {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: static;
  float: none !important;
  min-width: 0;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company .name,
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company .tagline {
  position: static !important;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.45 !important;
}
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company .name { font-size: 15px; }
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company .te-job-company-title {
  position: static !important;
  float: none !important;
  clear: none;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 26px !important;
  line-height: 1.25 !important;
  font-weight: 700;
}
:is(#te-job-main, #te-jobs-directory) .single_job_listing .company .company_video { grid-column: 1 / -1; }
:is(#te-job-main, #te-jobs-directory) .job_description > :first-child { margin-top: 0; }
@media (max-width: 600px) {
  :is(#te-job-main, #te-jobs-directory) .te-job-hero__inner { gap: 9px; padding: 22px 20px 44px !important; }
  :is(#te-job-main, #te-jobs-directory) .te-job-hero::after { height: 18px; }
  :is(#te-job-main, #te-jobs-directory) .te-job-hero h1 { font-size: 28px !important; }
  :is(#te-job-main, #te-jobs-directory) .te-job-hero__subtitle { font-size: 16px !important; }
  :is(#te-job-main, #te-jobs-directory) .te-job-hero__details { font-size: 14px !important; }
  :is(#te-job-main, #te-jobs-directory) .te-job-page__content { padding: 14px 18px 36px; }
  :is(#te-job-main, #te-jobs-directory) .single_job_listing .meta { gap: 7px 12px; margin-bottom: 18px; font-size: 13px; }
  :is(#te-job-main, #te-jobs-directory) .single_job_listing .company { grid-template-columns: 40px minmax(0, 1fr); gap: 11px; margin-bottom: 20px !important; }
  :is(#te-job-main, #te-jobs-directory) .single_job_listing .company img.company_logo { width: 40px !important; height: 40px !important; }
  :is(#te-job-main, #te-jobs-directory) .single_job_listing .company .name { font-size: 14px; }
  :is(#te-job-main, #te-jobs-directory) .single_job_listing .company .te-job-company-title { font-size: 23px !important; }
}

/* Button styling belongs to this plugin, independent of child-theme assets. */
.te-job-page .te-job-hero__apply,
.te-job-page .te-job-apply {
  box-sizing: border-box;
  border: 0;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, #3d9bea 0%, #1575c6 100%);
  color: #fff !important;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: 0 2px 5px #0002;
}
.te-job-page .te-job-hero__apply:hover,
.te-job-page .te-job-apply:hover { background: #1264ac; }
.te-job-page .te-job-hero__apply:focus-visible,
.te-job-page .te-job-apply:focus-visible { outline: 3px solid #79baff; outline-offset: 3px; }
.te-job-page .te-job-hero h1,
.te-job-page .te-job-hero__subtitle,
.te-job-page .te-job-hero__details { color: #fff; }
