/* RF Popular Categories Carousel */
.job-categories-section__inner.rf-pcc-ready {
  position: relative;
  padding: 0 44px;
}

.job-categories-section__inner.rf-pcc-ready ul.job-categories {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin: 0;
  padding: 4px 2px 8px;
  list-style: none;
}
.job-categories-section__inner.rf-pcc-ready ul.job-categories::-webkit-scrollbar {
  height: 0;
  display: none;
}

.job-categories-section__inner.rf-pcc-ready ul.job-categories > li.job-category {
  flex: 0 0 auto;
  width: 220px;
  max-width: 70vw;
  margin: 0 !important;
}

.rf-pcc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: #ffffff;
  color: #1f2937;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 5;
  transition: background .2s, color .2s, opacity .2s;
}
.rf-pcc-arrow:hover {
  background: #2563eb;
  color: #ffffff;
}
.rf-pcc-prev { left: 0; }
.rf-pcc-next { right: 0; }

.rf-pcc-arrow.rf-pcc-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

@media (max-width: 600px) {
  .job-categories-section__inner.rf-pcc-ready { padding: 0 34px; }
  .job-categories-section__inner.rf-pcc-ready ul.job-categories > li.job-category { width: 170px; }
  .rf-pcc-arrow { width: 34px; height: 34px; font-size: 14px; }
}
