/* Việc tìm người / Người tìm việc — home */
.hot-jobs-section {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.hot-jobs-section .hot-jobs-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.hot-jobs-section .hot-jobs-card-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 45%, #0d9488 100%);
  color: #fff;
  padding: 1.5rem 1.5rem 1.25rem;
  border: none;
}

.hot-jobs-section .hot-jobs-card-header h2 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hot-jobs-section .hot-jobs-card-header p {
  margin: 0;
  opacity: 0.88;
  font-size: 0.9rem;
}

.hot-jobs-section .hot-jobs-nav {
  gap: 0.5rem;
}

.hot-jobs-section .hot-jobs-nav .nav-item {
  flex: 1;
  min-width: 0;
}

.hot-jobs-section .hot-jobs-nav .nav-link {
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.65rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 600;
  padding: 0.65rem 1rem;
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.hot-jobs-section .hot-jobs-nav .nav-link:hover,
.hot-jobs-section .hot-jobs-nav .nav-link:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.hot-jobs-section .hot-jobs-nav .nav-link.active {
  background: #fff;
  color: #0f172a;
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.hot-jobs-section .hot-jobs-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.hot-jobs-section .tab-pane {
  display: none;
}

.hot-jobs-section .tab-pane.active {
  display: block;
  animation: hotJobsPaneIn 0.28s ease-out;
}

@keyframes hotJobsPaneIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hot-jobs-section .hot-jobs-slide {
  position: relative;
}

.hot-jobs-section .hot-jobs-slide .swiper-container {
  position: relative;
  z-index: 2;
  padding-left: 48px;
  padding-right: 48px;
}

.hot-jobs-section .hot-jobs-slide .swiper-wrapper,
.hot-jobs-section .hot-jobs-slide .swiper-slide {
  position: relative;
  z-index: 2;
}

.hot-jobs-section .hot-jobs-slide .swiper-prev,
.hot-jobs-section .hot-jobs-slide .swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.12);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}

.hot-jobs-section .hot-jobs-slide .swiper-prev:hover,
.hot-jobs-section .hot-jobs-slide .swiper-next:hover {
  background: #f8fafc;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.14);
}

.hot-jobs-section .hot-jobs-slide .swiper-prev {
  left: 0;
}

.hot-jobs-section .hot-jobs-slide .swiper-next {
  right: 0;
}

.hot-jobs-section .hot-jobs-slide .swiper-bottom {
  margin-top: 1rem;
  text-align: center;
}

.hot-jobs-section .hot-jobs-slide .main-pagination {
  margin: 0 auto;
  overflow: hidden;
}

.hot-jobs-section .view-more {
  margin-top: 1rem;
  text-align: center;
}

.hot-jobs-section .view-more a {
  font-weight: 600;
}

@media (max-width: 575px) {
  .hot-jobs-section .hot-jobs-nav {
    flex-direction: column;
  }

  .hot-jobs-section .hot-jobs-slide .swiper-prev,
  .hot-jobs-section .hot-jobs-slide .swiper-next {
    width: 36px;
    height: 36px;
  }
}

/* Một thẻ <a> bọc cả ảnh + nội dung (server VB) */
.hot-jobs-section a.job-item-full-link {
  display: block;
  position: relative;
  z-index: 3;
  text-decoration: none;
  color: inherit;
  border-radius: 0.5rem;
  transition: box-shadow 0.2s, transform 0.15s;
}

.hot-jobs-section a.job-item-full-link:hover,
.hot-jobs-section a.job-item-full-link:focus {
  text-decoration: none;
  color: inherit;
  outline: none;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
  transform: translateY(-1px);
}

.hot-jobs-section a.job-item-full-link .job-item-full-link__title {
  margin: 0 0 0.35rem;
}
