/* =========================================================================
 * Single job opening - single-job_opening.php
 *
 * Follows the live a3logics.com job page: the role and its facts on the left,
 * the apply button on the right, then the description. Type and spacing come
 * from the careers listing so a role reads as the same family of page as the
 * card it was reached from.
 * ========================================================================= */

.a3-job {
  padding: 56px 0 88px;
}

.a3-job__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  color: #52525b;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.a3-job__back:hover {
  color: var(--primary);
}

.a3-job__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e4e4e7;
}

.a3-job__intro {
  min-width: 0;
}

.a3-job__title {
  margin: 16px 0 0;
  font-size: 44px;
  line-height: 1.15;
  letter-spacing: -1.2px;
  font-weight: 700;
  color: #18181b;
}

.a3-job__line {
  margin: 12px 0 0;
  font-size: 18px;
  color: #52525b;
}

.a3-job__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.a3-job__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.a3-job__meta-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: #a1a1aa;
}

.a3-job__meta-value {
  font-size: 16px;
  font-weight: 500;
  color: #18181b;
}

.a3-job__cta {
  flex-shrink: 0;
}

/* The description is editor output, so every rule here is scoped to the
   wrapper rather than to markup this template controls. */
.a3-job__body {
  max-width: 820px;
  padding-top: 40px;
}

.a3-job__body h2 {
  margin: 40px 0 16px;
  font-size: 24px;
  line-height: 1.3;
  font-weight: 700;
  color: #18181b;
}

.a3-job__body h2:first-child {
  margin-top: 0;
}

.a3-job__body ul {
  margin: 0;
  padding-left: 22px;
  list-style: disc;
}

.a3-job__body li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 26px;
  color: #3f3f46;
}

.a3-job__body li:last-child {
  margin-bottom: 0;
}

.a3-job__body p {
  font-size: 16px;
  line-height: 26px;
  color: #3f3f46;
}

.a3-job__foot {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e4e4e7;
}

@media (max-width: 767px) {

  .a3-job {
    padding: 32px 0 56px;
  }

  .a3-job__header {
    flex-direction: column;
    gap: 24px;
    padding-bottom: 28px;
  }

  .a3-job__title {
    font-size: 30px;
    letter-spacing: -0.6px;
  }

  .a3-job__line {
    font-size: 16px;
  }

  .a3-job__meta {
    gap: 12px 28px;
  }

  .a3-job__cta,
  .a3-job__cta .a3-btn,
  .a3-job__foot .a3-btn {
    width: 100%;
  }

  .a3-job__body {
    padding-top: 28px;
  }

  .a3-job__body h2 {
    margin: 28px 0 12px;
    font-size: 20px;
  }
}
