/* ========================================
   LINCOLNLAND JOB HUB
   GLOBAL CSS
   ======================================== */


/* ========================================
   1. JOBS PAGE HERO
   ======================================== */

& {
  --s-layout-padding-top: 1rem;
  --s-layout-padding-bottom: .25rem;
  --s-layout-padding-x: 0rem;
  --s-layout-margin-top: 0rem;
  --s-layout-margin-bottom: 0rem;
  --s-title-style-font-size: 3rem;
  --s-subtitle-style-font-size: 1.5rem;
}

h1 + p {
  width: 505px !important;
  max-width: 100% !important;
  color: #0a203c !important;
  white-space: normal !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

h1 + p::after {
  content: none !important;
  display: none !important;
}


/* ========================================
   2. JOBS HERO — MOBILE
   ======================================== */

@media screen and (max-width: 767px) {

  & {
    min-height: 0 !important;
    height: auto !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background-image: none !important;
    isolation: isolate !important;
  }

  > div.absolute.inset-0 > img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: 75% center !important;
  }

  > div.absolute.inset-0::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(
      90deg,
      rgba(255,255,255,.94) 0%,
      rgba(255,255,255,.80) 35%,
      rgba(255,255,255,.15) 75%,
      transparent 100%
    ) !important;
    pointer-events: none !important;
  }

  > div.relative {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    padding: 12px 20px !important;
    gap: 0 !important;
    background: transparent !important;
    box-sizing: border-box !important;
  }

  h1 {
    width: 225px !important;
    max-width: 225px !important;
    margin: 0 0 5px !important;
    color: #0a203c !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.6px !important;
    white-space: normal !important;
    text-wrap: initial !important;
  }

  h1 + p {
    width: 285px !important;
    max-width: 285px !important;
    margin: 0 0 8px !important;
    color: #0a203c !important;
    font-size: 14px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    letter-spacing: -.2px !important;
    white-space: pre-line !important;
    text-wrap: initial !important;
  }
}


/* ========================================
   3. JOBS HERO — PHONE AND TABLET
   ======================================== */

@media screen and (max-width: 1024px) {

  h1 {
    width: 100% !important;
    max-width: 100% !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: normal !important;
  }

  h1::before {
    content: "Find Work";
    display: block !important;
    color: #0a203c !important;
    font-size: clamp(30px, 6vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.6px !important;
    white-space: nowrap !important;
  }

  h1::after {
    content: "Close to Home";
    display: block !important;
    color: #0a203c !important;
    font-size: clamp(30px, 6vw, 48px) !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.6px !important;
    white-space: nowrap !important;
  }
}


/* ========================================
   4. EMPLOYER JOB DASHBOARD BUTTONS
   ======================================== */

.ljh-job-action {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: auto !important;
  min-height: 34px;
  padding: 7px 11px !important;
  border: 1px solid #29765e !important;
  border-radius: 6px;
  background-color: #e8f3ed !important;
  color: #17365d !important;
  -webkit-text-fill-color: #17365d !important;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  gap: 5px;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .2s ease;
}

/* Hover appearance */

.ljh-job-action:hover {
  background-color: #d6e9de !important;
  color: #17365d !important;
  -webkit-text-fill-color: #17365d !important;
}

/* Pencil and trash icon buttons */

.ljh-job-action.ljh-job-icon {
  width: 34px !important;
  min-width: 34px;
  height: 34px;
  padding: 7px !important;
}

/* Consistent icon sizing */

.ljh-job-action svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Keyboard accessibility */

.ljh-job-action:focus-visible {
  outline: 2px solid #17365d;
  outline-offset: 2px;
}

/* EMPLOYER DASHBOARD — APPLICATIONS BUTTON */

a[aria-label="Applications"][href*="/applications"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-height: 34px !important;
  padding: 7px 11px !important;
  background: #e8f3ed !important;
  border: 1px solid #29765e !important;
  border-radius: 6px !important;
  color: #17365d !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  gap: 5px;
}

/* Show the existing Applications label */
a[aria-label="Applications"][href*="/applications"] .sr-only {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: visible !important;
  clip: auto !important;
  white-space: nowrap !important;
}

/* Remove the document icon */
a[aria-label="Applications"][href*="/applications"] svg {
  display: none !important;
}

a[aria-label="Applications"][href*="/applications"]:hover {
  background: #d6e9de !important;
}

/* EMPLOYER DASHBOARD — BOOST BUTTON */

#ljh-boost {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;

  height: 44px !important;
  min-height: 44px !important;

  padding: 0 20px !important;
  margin: 0 12px 0 auto !important;

  background: #e8f3ed !important;
  border: 1px solid #29765e !important;
  border-radius: 9999px !important;

  color: #17365d !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
align-self: center !important;
transform: translateY(-10px);
  vertical-align: middle !important;
  cursor: pointer;
}

#ljh-boost:hover {
  background: #d6e9de !important;
}

#ljh-boost:focus-visible {
  outline: 2px solid #17365d;
  outline-offset: 2px;
}

