.lsjb-job-card {
  position: relative;
  display: block;
  cursor: pointer;
  text-decoration: none;
  padding: 24px 40px;
  border: 0;
  border-radius: 15px;
  background: #ffffff;
  box-shadow: var(--lsjb-theme-shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lsjb-job-card:hover,
.lsjb-job-card:focus-within {
  transform: translateY(-2px);
  box-shadow: 0 20px 80px rgba(164, 169, 183, 0.2);
}

.lsjb-job-card-grid,
.lsjb-job-main,
.lsjb-job-info,
.lsjb-job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}

.lsjb-job-card-grid {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.lsjb-job-main {
  flex: 1 1 720px;
  flex-wrap: nowrap;
  align-items: center;
  gap: 18px;
}

.lsjb-job-logo {
  flex: 0 0 72px;
  height: 3.5rem;
  width: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: var(--lsjb-company-bg, #ffffff);
  color: var(--lsjb-company-fg, #475569);
  padding: 6px;
}

.lsjb-job-logo img {
  height: 3.5rem;
  width: 3.5rem;
  object-fit: contain;
}

.lsjb-job-logo span {
  font-size: 1.375rem;
  font-weight: 700;
  color: inherit;
}

.lsjb-job-copy {
  flex: 1 1 auto;
  display: grid;
  gap: 10px;
}

.lsjb-job-title {
  margin: 0;
  color: var(--lsjb-theme-heading);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.6;
}

.lsjb-job-title a {
  position: relative;
  z-index: 3;
  color: inherit;
  text-decoration: none;
}

.lsjb-job-title a:hover,
.lsjb-job-title a:focus-visible,
.lsjb-job-info-link:hover,
.lsjb-job-info-link:focus-visible {
  color: var(--lsjb-theme-blue);
}

.lsjb-job-info {
  gap: .5rem;
  color: var(--lsjb-theme-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.lsjb-job-info * {
  font-size: inherit;
}

.lsjb-job-info-item {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--lsjb-theme-muted);
  font-style: normal;
  font-weight: inherit;
}

.lsjb-job-locations-text,
.lsjb-job-info-locations .lsjb-job-info-link,
.lsjb-job-location-text,
.lsjb-job-location-separator,
.lsjb-job-location-country {
  display: inline;
  color: inherit;
  font-style: inherit;
  font-weight: inherit;
}

.lsjb-job-info-locations .lsjb-job-info-link:hover,
.lsjb-job-info-locations .lsjb-job-info-link:focus-visible {
  color: var(--lsjb-theme-blue);
}

.lsjb-job-info-icon {
  flex: 0 0 auto;
  width: 0.8rem;
  height: 0.8rem;
  color: currentColor;
}

.lsjb-job-info-item+.lsjb-job-info-item::before {
  content: "";
  flex: 0 0 auto;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--lsjb-theme-muted);
}

.lsjb-company-link {
  position: relative;
  z-index: 3;
  font-weight: 400;
  color: #475569FF;
  text-decoration: none;
}

.lsjb-job-info-link {
  position: relative;
  z-index: 3;
  color: inherit;
  text-decoration: none;
}

.lsjb-job-info-link:hover,
.lsjb-job-info-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lsjb-job-tags {
  gap: 8px;
  margin-top: 2px;
}

.lsjb-job-tag {
  padding: 7px 14px;
  border: 1px solid #bfd2ea;
  border-radius: 999px;
  background: #f8fbff;
  color: #4a6484;
  font-size: .875rem;
  font-weight: 500;
}

.lsjb-job-meta {
  flex: 0 0 auto;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  margin-left: auto;
  min-height: 48px;
  min-width: 132px;

}

.lsjb-job-time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lsjb-theme-muted);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.6;
  white-space: nowrap;
}

.lsjb-job-time svg {
  flex: 0 0 auto;
  color: #667085;
}

.lsjb-job-apply {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  background: #336aff;
  border: 1px solid #336aff;
  min-width: 80px;
  padding: .375rem .75rem;
  font-size: 16px;
  color: #fff;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transform: translateY(-50%) scale(0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  min-width: max-content;
}

.lsjb-job-apply:hover,
.lsjb-job-apply:focus-visible {
  background: var(--lsjb-button-hover-bg, #ffffff);
  border-color: var(--lsjb-button-hover-border, var(--lsjb-button-border, var(--lsjb-theme-blue)));
  color: var(--lsjb-button-hover-color, var(--lsjb-theme-blue));
  outline: none;
}

.lsjb-job-card:hover .lsjb-job-time,
.lsjb-job-card:focus-within .lsjb-job-time {
  opacity: 0;
  visibility: hidden;
}

.lsjb-job-card:hover .lsjb-job-apply,
.lsjb-job-card:focus-within .lsjb-job-apply {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}
@media (max-width: 1600px) {
  .lsjb-job-card {
    padding: 24px 30px;
  }
  .lsjb-job-card-grid {
    gap: 12px;
  }
}

@media (max-width: 991px) {

  .lsjb-job-card-grid,
  .lsjb-job-main {
    align-items: flex-start;
    gap: 1rem;
  }

  .lsjb-job-copy {
    gap: 0.5rem;
  }



  .lsjb-job-main {
    flex-wrap: wrap;
  }

  .lsjb-job-meta {
    width: 100%;
    margin-left: 0;
    min-width: 0;
    gap: 12px;
    justify-content: space-between;
  }

  .lsjb-job-title {
    font-size: 1.625rem;
  }

  .lsjb-job-apply {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .lsjb-job-card:hover .lsjb-job-time,
  .lsjb-job-card:focus-within .lsjb-job-time {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .lsjb-job-card:hover .lsjb-job-apply,
  .lsjb-job-card:focus-within .lsjb-job-apply {
    transform: none;
  }
  .lsjb-job-apply {
    min-height: 40px;
  }
}

@media (max-width: 640px) {
  .lsjb-job-card {
    padding:12px 12px;
    padding-top: 20px;
  }

  .lsjb-job-title {
    font-size: 18px;
  }
  .lsjb-job-info-item+.lsjb-job-info-item::before {
   
  }

  .lsjb-job-info,
  .lsjb-job-time {
    font-size: 14px;
  }
}
