#recruitment-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  padding: 160px 0 250px 0;
}

#recruitment-section .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.recruitment-title {
  font-size: 3.75rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 40px;
}

.recruitment-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: #767676;
  text-align: center;
  line-height: 1.6;
}

.recruitment-container {
  margin-top: 120px;
  background-image: url('../img/careers-back.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: calc(100vw - 68px);
  max-width: none;
  height: 469px;
  display: flex;
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  border-radius: 40px;
}

.recruitment-container::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}

.recruitment-item {
  width: 20%;
  padding: 30px 38px;
  cursor: pointer;
  transition: all 0.3s ease;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
  min-height: 300px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.recruitment-item:first-child {
  margin-left: 0;
}

.recruitment-item:last-child {
  margin-right: 0;
}

.recruitment-item.disabled {
  cursor: default;
}

.recruitment-item-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 1.25rem;
}

.no-posting {
  background-color: #7e7e7e;
  color: #ececec;
  opacity: 0.5;
}

.recruitment-item-title-text {
  font-size: 1rem;
  padding: 8px 18px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.recruitment-item-team-text:first-child {
  font-weight: 700;
  font-size: 2.25rem;
  line-height: 1.4;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recruitment-item-team-text:last-child {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recruitment-item:hover {
  color: #fff;
  background: none;

  .recruitment-item-title-text:not(.no-posting) {
    background-color: #0066FF;
    color: #fff;
    border: none;
  }
}

.scrollbar {
  width: calc(100vw - 68px);
  max-width: none;
  height: 5px;
  background: #D9D9D9;
  position: relative;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 27px;
}

.scroll-thumb {
  height: 100%;
  background: #194079;
  border-radius: 4px;
  position: absolute;
  left: 0;
  top: 0;
}

@media (max-width: 1600px) {
  .recruitment-title {
    font-size: 3.2rem;
  }

  .recruitment-text {
    font-size: 1.375rem;
  }

  .recruitment-item {
    min-width: 350px;
    padding: 30px 20px;
    min-height: 280px;
  }

  .recruitment-item-team-text:first-child {
    font-size: 2rem;
    margin-bottom: 10px;
  }

  .recruitment-item-team-text:last-child {
    /* font-size: 16px; */
    font-size: 1rem;
  }

  .recruitment-container {
    height: 400px;
  }
}

@media (max-width: 992px) {
  .mobile-submenu li a {
    color: #111;
  }

  .mobile-nav-link {
    color: #111;
  }

  #recruitment-section {
    padding: 0px 18px 150px 18px;
  }

  .recruitment-title {
    font-size: 2.5rem;
  }

  .recruitment-text {
    font-size: 1.125rem;
  }

  .recruitment-item {
    min-width: 300px;
    min-height: 260px;
  }

  .recruitment-item-title-text {
    padding: 5px 10px;
  }

  .recruitment-item-team-text:first-child {
    font-size: 1.9rem;
  }

  .scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  .recruitment-title {
    font-size: 2rem;
    word-break: keep-all;
  }

  .recruitment-text {
    font-size: 1rem;
  }

  .recruitment-item {
    min-width: 250px;
    min-height: 240px;
  }

  .recruitment-container {
    height: 350px;
    margin-top: 60px;
  }

  .recruitment-item-team-text:first-child {
    /* font-size: 20.8px; */
    font-size: 1.4rem;
  }

  .recruitment-item-team-text:last-child {
    font-size: 1.1rem;
  }

  #recruitment-section .container {
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  #recruitment-section .container {
    /* padding: 0 20px */
  }

  .recruitment-container {
    flex-direction: column;
    height: auto;
    overflow-x: hidden;
    background-position: top;
    background-size: cover;
    border-radius: 40px;
    margin-top: 50px;
  }

  .recruitment-item {
    width: 100%;
    height: auto;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .recruitment-title {
    font-size: 1.6rem;
    margin-bottom: 30px;
  }

  .recruitment-text {
    font-size: 0.875rem;
    word-break: keep-all;
  }

  .recruitment-item-title-text {
    font-size: 0.8rem;
  }

  .recruitment-item-title {
    font-size: 1rem;
  }

  .recruitment-item-team-text:first-child {
    font-size: 1.3rem;
  }
}

/* 통일된 반응형 padding */
@media (max-width: 1600px) {
  #recruitment-section .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1200px) {
  #recruitment-section .container {
    padding-left: 60px;
    padding-right: 60px;
  }
}

@media (max-width: 992px) {
  #recruitment-section .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}

@media (max-width: 768px) {
  #recruitment-section .container {
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media (max-width: 480px) {
  #recruitment-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}