/**
 * Single Job Posting Styles
 */
/* Job Hero Section */
.job-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--background-default-secondary);
}

.job-hero .hero-background {
  position: relative;
  min-height: 360px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-start;
}

.job-hero .container {
  position: absolute !important;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: 100%;
}

.job-hero .hero-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.job-hero .hero-text {
  flex: 1;
}

.job-hero .hero-heading {
  font-size: 68px;
  font-weight: 550;
  font-family: var(--font-family-title);
  color: #ffffff;
  margin: 0 0 24px 0;
  line-height: 72px;
}

.job-hero .hero-description {
  font-size: 14px;
  line-height: 20px;
  color: #ffffff;
  margin: 0;
  font-weight: 400;
}

.job-hero .hero-button {
  flex-shrink: 0;
  align-self: center;
}

.single-job-container {
  padding: 40px 0 80px;
  background: #fff;
}

.job-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 30px 0;
}

.job-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.job-logo img {
  max-height: 200px;
  width: auto;
}

.job-header-buttons {
  display: flex;
  gap: 12px;
}

.job-header-btn {
  padding: 10px 20px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.job-header-btn:hover {
  background: #e5e5e5;
  border-color: #ccc;
}

.job-content-wrapper {
  max-width: 900px;
}

.job-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px 0;
  color: #000;
}

.job-meta {
  display: flex;
  gap: 10px;
}

.job-location,
.job-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #666;
}

.job-location svg,
.job-date svg {
  width: 16px;
  height: 16px;
  fill: #666;
}

.job-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 50px;
}

.job-content h2,
.job-content h3 {
  font-weight: 700;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000;
}

.job-content h2 {
  font-size: 24px;
}

.job-content h3 {
  font-size: 20px;
}

.job-content p {
  margin-bottom: 16px;
}

.job-content ul,
.job-content ol {
  margin: 16px 0;
  padding-left: 30px;
}

.job-content li {
  margin-bottom: 8px;
}

/* .job-apply-section {
  padding: 40px 0;
} */
.btn-apply {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(315deg, #dbb172 20.73%, #f5e0ba 73.39%, #ebcc96 87.72%);
  color: #000;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
}

.btn-apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media (max-width: 1040px) {
  .job-hero .hero-heading {
    font-size: 54px;
    line-height: 60px;
    margin: 0 0 20px 0;
  }

  .job-hero .hero-content {
    flex-direction: column;
    gap: 24px;
  }

  .job-hero .hero-button {
    align-self: flex-start;
  }

  .job-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .job-header-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

  .job-header-btn {
    flex: 1;
    text-align: center;
    min-width: 150px;
  }
}

@media (max-width: 640px) {
  .job-hero .hero-heading {
    font-size: 46px;
    line-height: 52px;
  }

  .single-job-container {
    padding: 20px 0 60px;
  }

  .job-header {
    padding: 20px 0;
    margin-bottom: 30px;
  }

  .job-logo img {
    max-height: 150px;
  }

  .job-header-buttons {
    flex-direction: column;
    width: 100%;
  }

  .job-content h2 {
    margin-top: 0;
  }

  .job-content-wrapper {
    margin-top: -15px;
  }

  .job-header-btn {
    width: 100%;
    text-align: center;
  }

  .job-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .job-meta {
    gap: 12px;
    margin-bottom: 0;
  }

  .job-content {
    font-size: 15px;
    margin-bottom: 40px;
  }

  .btn-apply {
    width: 100%;
    padding: 14px 32px;
  }

  .job-title-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
}