/* Job Detail Page Styles */

.job-detail-wrapper {
  padding: 60px 0;
}

/* Job Header */
.job-header {
  margin-bottom: 60px;
}

.job-header-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

.job-image {
  width: 100%;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
}

.job-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.job-header-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.job-title {
  font-size: 36px;
  font-weight: 800;
  color: #333;
  line-height: 1.3;
  margin: 0;
}

.job-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.job-meta-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.meta-label {
  font-size: 14px;
  color: #8c8c8c;
  font-weight: 500;
}

.meta-value {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.meta-value.salary {
  color: #da9841;
}

.apply-btn {
  align-self: flex-start;
  padding: 16px 40px;
  background-color: #b21c24;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.apply-btn:hover {
  background-color: #8a1519;
  transform: scale(1.05);
}

/* Job Content Section */
.job-content-section {
  display: flex;
  flex-direction: column;
}

.job-content-main {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.job-section {
  background-color: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.section-heading {
  font-size: 28px;
  font-weight: 800;
  color: #333;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #ffd591;
}

.section-content {
  font-size: 16px;
  line-height: 1.8;
  color: #555;
}

.section-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-top: 24px;
  margin-bottom: 16px;
}

.section-content ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0;
}

.section-content ul li {
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.section-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #da9841;
  font-size: 24px;
  line-height: 1;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-item strong {
  font-size: 14px;
  color: #8c8c8c;
  font-weight: 600;
}

.contact-item span {
  font-size: 16px;
  color: #333;
  font-weight: 600;
}

.contact-btn {
  width: 100%;
  padding: 14px 20px;
  background-color: #da9841;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-btn:hover {
  background-color: #c08535;
}

/* Responsive */
@media (max-width: 968px) {
  .job-header-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .job-image {
    height: 250px;
  }
}

@media (max-width: 768px) {
  .job-detail-wrapper {
    padding: 40px 0;
  }

  .job-header {
    margin-bottom: 40px;
  }

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

  .job-meta {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .job-section {
    padding: 30px 20px;
  }

  .section-heading {
    font-size: 24px;
  }
}

@media (max-width: 480px) {
  .job-title {
    font-size: 24px;
  }

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

  .job-section {
    padding: 24px 16px;
  }

  .section-heading {
    font-size: 20px;
  }

  .section-content {
    font-size: 14px;
  }
}
