/* ===== Join Sections ===== */
.join-section {
  padding: 0;
}

.join-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  padding: 80px 0 32px;
  color: var(--text);
}

.join-section:last-child {
  padding-bottom: 0;
}

.recruit-filter.active .card-overlay {
  background: rgba(212, 0, 0, 0.55);
}

.recruit-filter.active .card-label {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Jobs Section ===== */
.jobs-section {
  padding: 48px 0 80px;
  background: #fff;
}

.jobs-toolbar {
  margin-bottom: 8px;
}

.jobs-search {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.jobs-search input {
  flex: 1;
  height: 44px;
  padding: 0 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition);
}

.jobs-search input:focus {
  border-color: var(--primary);
}

.jobs-search button {
  height: 44px;
  padding: 0 28px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}

.jobs-search button:hover {
  background: var(--primary-dark);
}

.jobs-filters {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
  line-height: 36px;
  flex-shrink: 0;
}

.filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-tag {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.filter-tag.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.jobs-summary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e8;
}

.jobs-list {
  background: #fff;
}

.job-item {
  border-bottom: 1px solid #e8e8e8;
}

.job-item-header {
  position: relative;
  padding: 20px 0;
  cursor: pointer;
  transition: background var(--transition);
}

.job-item-header:hover {
  background: #fafafa;
}

.job-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.job-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.4;
  flex: 1;
  min-width: 0;
}

.job-salary {
  font-size: 1.15rem;
  font-weight: 700;
  color: rgb(255, 153, 0);
  flex-shrink: 0;
  white-space: nowrap;
}

.job-meta {
  font-size: 0.9rem;
  color: var(--text-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.job-meta-divider {
  color: #ccc;
}

.job-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.job-item.open .job-detail {
  max-height: 800px;
}

.job-detail-inner {
  background: #f5f5f5;
  padding: 24px;
  margin-bottom: 4px;
}

.job-block {
  margin-bottom: 20px;
}

.job-block h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
}

.job-block ol {
  padding-left: 20px;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.8;
}

.job-block ol li {
  margin-bottom: 6px;
}

.job-email {
  font-size: 0.9rem;
  color: var(--text);
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
}

.job-email a {
  color: var(--primary);
}

.jobs-loading,
.jobs-end,
.jobs-empty {
  text-align: center;
  padding: 24px;
  color: var(--text-light);
  font-size: 0.9rem;
}

.jobs-loading,
.jobs-end {
  display: none;
}

@media (max-width: 768px) {
  .jobs-section {
    padding: 32px 0 48px;
  }

  .jobs-search {
    flex-direction: column;
    gap: 12px;
  }

  .jobs-search input {
    width: 100%;
    height: 52px;
    min-height: 52px;
    font-size: 16px;
    padding: 14px 16px;
    box-sizing: border-box;
    -webkit-appearance: none;
  }

  .jobs-search button {
    width: 100%;
    height: 52px;
    min-height: 52px;
    font-size: 16px;
    padding: 14px 28px;
  }

  .jobs-filters {
    flex-direction: column;
    gap: 8px;
  }

  .filter-label {
    line-height: 1.5;
  }

  .job-title,
  .job-salary {
    font-size: 1.05rem;
  }

  .job-detail-inner {
    padding: 16px;
  }
}

.image-row {
  display: flex;
  width: 100%;
}

.image-card {
  flex: 1;
  position: relative;
  overflow: hidden;
  display: block;
}

.image-card img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.6s ease;
}

.image-card:hover img {
  transform: scale(1.08);
  filter: brightness(1.1);
}

.image-card .card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(212, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.image-card:hover .card-overlay {
  background: rgba(212, 0, 0, 0.45);
}

.image-card .card-label {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.image-card:hover .card-label {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .image-row { flex-direction: column; }
  .image-card img { height: 260px; }
  .image-card .card-label { font-size: 1.4rem; opacity: 1; transform: none; }
  .image-card .card-overlay { background: rgba(0,0,0,0.3); }

  .join-section h2 { padding-top: 48px; }
  .jobs-section { padding-bottom: 48px; }
}
