.single-job__sidebar {
  width: 100%;
}
.single-job__related-item {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-block: 3.2rem;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.13);
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
}
.single-job__related-item:first-child {
  border-top: 1px solid rgba(var(--color-foreground), 0.13);
}
.single-job__related-item:hover .single-job__related-title {
  color: rgb(var(--color-foreground));
}
.single-job__related-item:hover .single-job__related-arrow {
  opacity: 1;
}
.single-job__related-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.single-job__related-title-wrap {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.single-job__related-title {
  color: rgba(var(--color-foreground), 0.7);
  transition: color 0.3s;
}
.single-job__related-arrow {
  width: 2.4rem !important;
  height: 2.4rem !important;
  opacity: 0;
  transition: opacity 0.3s;
  flex-shrink: 0;
}
.single-job__related-metas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
  color: rgba(var(--color-foreground), 0.3);
  font-family: var(--font-body-family);
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.6rem;
}
.single-job__related-metas li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.single-job__related-metas li:not(:first-child):before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(var(--color-foreground), 0.3);
  flex-shrink: 0;
}
.single-job__main {
  flex-grow: 1;
  min-width: 0;
}
.single-job__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.single-job__tags .jobs-item__tag {
  color: rgb(var(--color-foreground));
}
.single-job__title {
  color: rgb(var(--color-foreground));
}
.single-job__description p:first-child:empty + p {
  margin-top: 0;
}
@media (min-width: 768px) {
  .single-job__description {
    padding-block-start: 1.6rem;
    max-width: 78rem;
  }
}
.single-job__meta-bar {
  grid-template-columns: repeat(2, 1fr);
  padding-block: 2.4rem;
  border-block: 1px solid rgba(var(--color-foreground), 0.13);
}
.single-job__section {
  padding-block: var(--row-padding-block);
  border-bottom: 1px solid rgba(var(--color-foreground), 0.13);
}
.single-job__section-title {
  color: rgb(var(--color-foreground));
  flex-shrink: 0;
}
.single-job__section-list > ul {
  padding: 0;
}
.single-job__section-list :is(h2, h3, h4, h5, h6) {
  color: rgb(var(--color-foreground));
}
.single-job__form {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}
.single-job__form-row {
  width: 100%;
}
.single-job__form-row--2col {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.single-job__form-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}
.single-job__form-input-wrap {
  position: relative;
  border-bottom: 1px solid rgba(var(--color-foreground), 0.2);
  padding-block: 1rem;
}
.single-job__form-input-wrap::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgb(var(--color-foreground));
  transition: transform var(--animation-long);
  transform: scaleX(0);
  transform-origin: right;
}
.single-job__form-input-wrap:has(:focus, :focus-visible)::after {
  transform: scaleX(1);
  transform-origin: left;
}
.single-job__form-input-wrap--textarea {
  padding-bottom: 0;
}
.single-job__form-input {
  appearance: none;
  background: transparent;
  border: none;
  outline: none;
  color: rgb(var(--color-foreground));
  font-family: var(--font-body-family);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 3.2rem;
  width: 100%;
  padding: 0;
}
.single-job__form-input::placeholder {
  color: rgba(var(--color-foreground), 0.3);
  transition: opacity 0.3s;
}
.single-job__form-input:focus::placeholder {
  opacity: 0;
}
.single-job__form-input:-webkit-autofill, .single-job__form-input:-webkit-autofill:hover, .single-job__form-input:-webkit-autofill:focus {
  -webkit-text-fill-color: rgb(var(--color-foreground));
  -webkit-box-shadow: 0 0 0px 1000px rgb(var(--color-background)) inset;
  transition: background-color 5000s ease-in-out 0s;
}
.single-job__form-textarea {
  resize: vertical;
  min-height: 12rem;
}
.single-job__form-upload {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-block: 4.8rem;
  padding-inline: 1.6rem;
  text-align: center;
  cursor: pointer;
}
.single-job__form-upload::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(var(--color-foreground), 0.3);
  mask-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg' fill='none'%3e%3crect width='100%25' height='100%25' fill='none' stroke='white' stroke-width='1' stroke-dasharray='6%2c 12' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e");
  mask-size: 100% 100%;
  transition: background-color 0.3s;
  pointer-events: none;
}
.single-job__form-upload:hover::before {
  background-color: rgb(var(--color-foreground));
}
.single-job__form-file-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.single-job__form-upload-text {
  font-family: var(--font-body-family);
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 3.2rem;
  color: rgba(var(--color-foreground), 0.8);
  margin: 0;
}
.single-job__form-upload-hint {
  font-family: var(--font-body-family);
  font-weight: 500;
  font-size: 1.4rem;
  line-height: 2.4rem;
  color: rgba(var(--color-foreground), 0.3);
  margin: 0.8rem 0 0;
}
.single-job__form-upload-preview {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.2rem 2rem;
  margin-top: 1.2rem;
  border: 1px solid rgba(var(--color-foreground), 0.2);
  border-radius: 0.8rem;
  background: rgba(var(--color-foreground), 0.03);
}
.single-job__form-upload-preview.has-error {
  border-color: #dc2626;
  background: rgba(220, 38, 38, 0.04);
}
.single-job__form-upload-preview.has-error .single-job__form-upload-preview-filename, .single-job__form-upload-preview.has-error .single-job__form-upload-preview-filesize {
  color: #dc2626;
}
.single-job__form-upload-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.single-job__form-upload-filename {
  font-size: 1.6rem;
  font-weight: 500;
  color: rgb(var(--color-foreground));
  word-break: break-all;
}
.single-job__form-upload-error-msg {
  font-size: 1.3rem;
  color: #dc2626;
}
.single-job__form-upload-filesize {
  font-size: 1.4rem;
  color: rgba(var(--color-foreground), 0.7);
  white-space: nowrap;
  flex-shrink: 0;
}
.single-job__form-upload-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  flex-shrink: 0;
  width: 3.2rem;
  height: 3.2rem;
  background: none;
  border: 1px solid rgba(var(--color-foreground), 0.15);
  border-radius: 50%;
  color: rgba(var(--color-foreground), 0.3);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s, border-color 0.2s, background-color 0.2s;
}
.single-job__form-upload-remove .icon {
  width: 1.4rem;
  height: 1.4rem;
}
.single-job__form-upload-remove:hover {
  color: #c0392b;
  border-color: #c0392b;
  background-color: rgba(192, 57, 43, 0.06);
}
.single-job__form-notice {
  padding: 1.6rem 2.4rem;
  border-radius: 0.8rem;
  font-size: 1.6rem;
  line-height: 2.4rem;
}
.single-job__form-notice p {
  margin: 0;
}
.single-job__form-notice--success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}
.single-job__form-notice--error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
.single-job__form-submit {
  padding-block-start: 0;
}
.single-job__bottom-cta-info {
  max-width: 51.3rem;
}
.single-job__bottom-cta-action {
  display: flex;
  align-items: center;
}
.single-job__browse-link {
  display: inline-flex;
  align-items: center;
  gap: 2.4rem;
  text-decoration: none;
  color: rgb(var(--color-foreground));
}
.single-job__browse-link:hover .single-job__browse-text {
  background-size: 100% 2px;
}
.single-job__browse-arrow {
  width: 7.4rem !important;
  height: 7.4rem !important;
}
.single-job__browse-text {
  padding-bottom: 0.4rem;
  background-image: linear-gradient(rgb(var(--color-foreground)), rgb(var(--color-foreground)));
  background-size: 100% 2px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size 0.3s;
}
@media (max-width: 767.98px) {
  .single-job__header-inner {
    display: contents;
  }
  .single-job__header-action {
    order: 9;
    padding-top: 2.4rem;
  }
  .single-job__section:last-child {
    border-bottom: 0;
  }
}
@media (min-width: 768px) {
  .single-job__meta-bar {
    grid-template-columns: repeat(4, 1fr);
    padding-block-end: 6rem;
  }
  .single-job__section-title {
    width: clamp(25%, 38rem, 38%);
  }
  .single-job__form-row--2col {
    flex-direction: row;
    gap: 6rem;
  }
}
@media (min-width: 1024px) {
  .single-job__sidebar {
    width: 25%;
    flex-shrink: 0;
    position: sticky;
    top: calc(var(--sticky-offset, 2rem) + var(--wp-admin--admin-bar--height, 0px));
    max-height: calc(100vh - var(--sticky-offset, 2rem) - var(--wp-admin--admin-bar--height, 0px));
    order: -1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .single-job__sidebar::-webkit-scrollbar {
    display: none;
  }
  body.header-pinned .single-job__sidebar {
    top: calc(var(--sticky-offset, 2rem) + var(--header-height) + var(--wp-admin--admin-bar--height, 0px));
    max-height: calc(100vh - var(--sticky-offset, 2rem) - var(--header-height) - var(--wp-admin--admin-bar--height, 0px));
  }
  .single-job__main {
    padding-inline-start: var(--main-content-offset, 0);
  }
  .single-job__browse-arrow {
    width: 5.6rem !important;
    height: 5.6rem !important;
  }
}
@media (max-width: 1023.98px) {
  .single-job__sidebar {
    margin-top: 8rem;
    padding-top: 4.8rem;
    border-top: 0.1rem solid rgba(var(--color-border));
  }
}
