.careers-block {
  display: block;
  width: 100%;
}

.careers-content-section {
  display: block;
  width: 100%;
}

.careers-content-section--align-left {
  text-align: left;
}

.careers-content-section--align-center {
  text-align: center;
}

.careers-content-section--align-right {
  text-align: right;
}

.careers-tagline {
  margin: 0;
}

.careers-heading {
  margin: 0;
}

.careers-body {
  margin: 0;
}

.careers-body > *:first-child {
  margin-top: 0;
}

.careers-body > *:last-child {
  margin-bottom: 0;
}

.careers-divider {
  border: 0;
  display: block;
  margin: 0;
}

.careers-jobs-section {
  display: block;
  width: 100%;
}

.careers-jobs-section ul.careers-jobs-section,
ul.careers-jobs-section {
  list-style: none;
  padding: 0;
  margin: 0;
}

.careers-job {
  width: 100%;
  box-sizing: border-box;
}

.careers-job-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.careers-job-title {
  margin: 0;
  flex: 1;
  min-width: 0;
}

.careers-job-apply-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.careers-job-apply {
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.careers-job-apply:hover,
.careers-job-apply:focus {
  opacity: 0.9;
  text-decoration: none;
}

.careers-job-meta {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--careers-meta-gap, 20px);
}

.careers-job-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}

.careers-meta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.careers-meta-icon img,
.careers-meta-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.careers-job-meta-text {
  line-height: 1.3;
}

.careers-job-description {
  margin-top: 12px;
}

.careers-job-description > *:first-child {
  margin-top: 0;
}

.careers-job-description > *:last-child {
  margin-bottom: 0;
}

@media (max-width: 990px) {
  .careers-job-header {
    flex-direction: column;
    align-items: stretch;
  }

  .careers-job-apply-wrap {
    align-self: flex-start;
  }

  .careers-job-apply {
    display: inline-block;
  }
}

/* Editor-only helpers */
.careers-job--edit .careers-job-link-config {
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px dashed #ddd;
}

.careers-job--edit .careers-job-controls {
  opacity: 0.6;
}

.careers-job--edit:hover .careers-job-controls {
  opacity: 1;
}
