.job-openings__title {
  font-size: var(--font-size-xxl);
  color: var(--color-black);
  font-weight: 700;
  line-height: 1.3;
  margin: 1.25rem 0;
  text-align: center;

  @media screen and (min-width: 768px) {
    font-size: var(--font-size-2xxl);
  }

  @media screen and (min-width: 1024px) {
    font-size: var(--font-size-3xxl);
  }
}

.job-openings__description {
  font-size: var(--heading-3);
  color: var(--color-black);
  font-family: var(--font-cairo);
  font-weight: 400;
  line-height: 1.34;
  margin: 2rem 0 1.25rem;
  text-align: center;
}

.job-openings {
  margin-top: 1.5rem;
  overflow-x: scroll;

  @media screen and (min-width: 768px) {
    margin-top: 7.5rem;
    overflow-x: hidden;
  }
}

.job-openings__list {
  min-width: 37.5rem;
  list-style: none;
  padding: 0;
}

.job-openings__item {
  display: grid;
  grid-template-columns: 40% 20% 20% 20%;
  padding: 2.5rem 0;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 1rem;

  & .title, & .mode, & .location, & .type {
    font-size: var(--font-size-sm);
  }

  & .title {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.3;
  }

  & .mode {
    color: var(--color-black);
    font-weight: 700;
    line-height: 1.3;
  }

  & .location, & .type {
    color: var(--color-black);
    font-weight: 400;
    line-height: 1.3;
  }

  @media screen and (min-width: 768px) {
    & .title, & .mode, & .location, & .type {
      font-size: var(--paragraph-size);
    }
  }
}

.anchor {
  font-size: var(--paragraph-size);
  color: var(--color-blue);
  font-weight: 700;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
  margin-top: 2.5rem;
}