/* style/tuyen-dung.css */

/* General Styles */
.page-tuyen-dung {
  font-family: 'Arial', sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

.page-tuyen-dung__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-tuyen-dung__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-tuyen-dung__section-title--light {
  color: #ffffff;
}

.page-tuyen-dung__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-tuyen-dung__section-description--light {
  color: #f0f0f0;
}

.page-tuyen-dung__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  max-width: 100%; /* Important for responsiveness */
  box-sizing: border-box; /* Important for responsiveness */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
}

.page-tuyen-dung__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
}

.page-tuyen-dung__btn-primary:hover {
  opacity: 0.9;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-tuyen-dung__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Main color */
  border: 2px solid #2F6BFF;
}

.page-tuyen-dung__btn-secondary:hover {
  background: #f0f0f0;
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.1);
}

.page-tuyen-dung__list {
  list-style-type: disc;
  padding-left: 25px;
  margin-bottom: 20px;
}

.page-tuyen-dung__list--light {
  color: #f0f0f0;
}

.page-tuyen-dung__list li {
  margin-bottom: 10px;
}

/* Hero Section */
.page-tuyen-dung__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, relying on shared.css for body padding */
  padding-bottom: 80px;
  background-color: #F4F7FB; /* Background */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.page-tuyen-dung__hero-image-wrapper {
  width: 100%;
  max-height: 500px; /* Adjust as needed */
  overflow: hidden;
  margin-bottom: 40px;
}

.page-tuyen-dung__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-tuyen-dung__hero-content {
  max-width: 900px;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.page-tuyen-dung__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
  color: #000000; /* Custom Color_1776249996415 */
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-tuyen-dung__hero-description {
  font-size: 1.2em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 40px;
}

/* About Section */
.page-tuyen-dung__about-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Card BG */
}

.page-tuyen-dung__content-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-tuyen-dung__text-block {
  flex: 1;
}

.page-tuyen-dung__image-block {
  flex: 1;
  text-align: center;
}

.page-tuyen-dung__image-block img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* Culture Section */
.page-tuyen-dung__culture-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
}

.page-tuyen-dung__culture-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-tuyen-dung__culture-card {
  background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white for dark bg */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-tuyen-dung__culture-card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-top: 20px;
}

.page-tuyen-dung__card-title {
  font-size: 1.8em;
  margin-bottom: 20px;
  color: #ffffff;
}

/* Benefits Section */
.page-tuyen-dung__benefits-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tuyen-dung__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-tuyen-dung__benefit-item {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #D6E2FF; /* Border color */
  text-align: center;
}

.page-tuyen-dung__benefit-title {
  font-size: 1.5em;
  color: #2F6BFF; /* Main color */
  margin-bottom: 15px;
  font-weight: 600;
}

/* Openings Section */
.page-tuyen-dung__openings-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tuyen-dung__opening-card {
  background-color: #FFFFFF; /* Card BG */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  margin-bottom: 30px;
  border: 1px solid #D6E2FF; /* Border color */
}

.page-tuyen-dung__opening-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.page-tuyen-dung__opening-illustration {
  width: 200px; /* Display at least 200px */
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid #6FA3FF; /* Aux color */
  min-width: 200px; /* Ensure minimum display size */
  min-height: 150px; /* Ensure minimum display size */
}

.page-tuyen-dung__opening-title {
  font-size: 1.8em;
  color: #2F6BFF; /* Main color */
  font-weight: 700;
}

.page-tuyen-dung__opening-description {
  margin-bottom: 25px;
}

/* Process Section */
.page-tuyen-dung__process-section {
  padding: 80px 0;
  background-color: #FFFFFF; /* Card BG */
}

.page-tuyen-dung__process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.page-tuyen-dung__step-item {
  background-color: #F4F7FB; /* Background */
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  border: 1px solid #D6E2FF; /* Border color */
}

.page-tuyen-dung__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 0 0 5px rgba(47, 107, 255, 0.2); /* Glow */
}

.page-tuyen-dung__step-title {
  font-size: 1.5em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 15px;
}

/* Apply Section */
.page-tuyen-dung__apply-section {
  padding: 80px 0;
  background-color: #2F6BFF; /* Main color */
  color: #ffffff;
  text-align: center;
}

/* FAQ Section */
.page-tuyen-dung__faq-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
}

.page-tuyen-dung__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-tuyen-dung__faq-item {
  background-color: #FFFFFF; /* Card BG */
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border: 1px solid #D6E2FF; /* Border color */
  overflow: hidden;
}

.page-tuyen-dung__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.1em;
  font-weight: 600;
  color: #1F2D3D; /* Text Main */
  cursor: pointer;
  list-style: none; /* For details/summary */
}

.page-tuyen-dung__faq-question::-webkit-details-marker {
  display: none;
}

.page-tuyen-dung__faq-item[open] .page-tuyen-dung__faq-toggle {
  transform: rotate(45deg);
}

.page-tuyen-dung__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #2F6BFF; /* Main color */
}

.page-tuyen-dung__faq-answer {
  padding: 0 20px 20px 20px;
  color: #333333;
  line-height: 1.6;
}

/* CTA Bottom Section */
.page-tuyen-dung__cta-bottom-section {
  padding: 80px 0;
  background-color: #F4F7FB; /* Background */
  text-align: center;
}

.page-tuyen-dung__cta-bottom-content {
  background-color: #FFFFFF; /* Card BG */
  padding: 50px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  border: 1px solid #D6E2FF; /* Border color */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-tuyen-dung__container {
    padding: 0 15px;
  }

  .page-tuyen-dung__section-title {
    font-size: 2em;
  }

  .page-tuyen-dung__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

  .page-tuyen-dung__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-tuyen-dung {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-tuyen-dung__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* HERO 主图区域 */
  .page-tuyen-dung__hero-section {
    padding-top: 10px; /* Small top padding */
    padding-bottom: 50px;
  }

  .page-tuyen-dung__hero-image-wrapper {
    max-height: 250px;
  }

  .page-tuyen-dung__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    padding: 0 10px;
  }

  .page-tuyen-dung__hero-description {
    font-size: 1em;
    padding: 0 10px;
  }

  /* 长文区 */
  .page-tuyen-dung__about-section,
  .page-tuyen-dung__culture-section,
  .page-tuyen-dung__benefits-section,
  .page-tuyen-dung__openings-section,
  .page-tuyen-dung__process-section,
  .page-tuyen-dung__apply-section,
  .page-tuyen-dung__faq-section,
  .page-tuyen-dung__cta-bottom-section {
    padding: 50px 0;
  }

  .page-tuyen-dung__content-wrapper {
    flex-direction: column;
  }

  /* General grid items (for sections like culture, benefits, process) */
  .page-tuyen-dung__culture-grid,
  .page-tuyen-dung__benefits-grid,
  .page-tuyen-dung__process-steps {
    grid-template-columns: 1fr; /* Single column */
  }

  /* 通用图片与容器 */
  .page-tuyen-dung img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-tuyen-dung__image-block img,
  .page-tuyen-dung__culture-card img {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-tuyen-dung__opening-illustration {
    width: 100% !important;
    min-width: 200px !important;
    height: auto !important;
  }
  
  .page-tuyen-dung__opening-header {
    flex-direction: column;
    text-align: center;
  }
  
  /* 按钮与按钮容器 */
  .page-tuyen-dung__cta-button,
  .page-tuyen-dung__btn-primary,
  .page-tuyen-dung__btn-secondary,
  .page-tuyen-dung a[class*="button"],
  .page-tuyen-dung a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    margin-bottom: 15px; /* Add spacing between stacked buttons */
  }

  .page-tuyen-dung__cta-buttons,
  .page-tuyen-dung__button-group,
  .page-tuyen-dung__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
  }

  .page-tuyen-dung__faq-question {
    font-size: 1em;
    padding: 15px;
  }

  .page-tuyen-dung__faq-answer {
    padding: 0 15px 15px 15px;
  }

  .page-tuyen-dung__cta-bottom-content {
    padding: 30px 15px;
  }
}

@media (max-width: 480px) {
  .page-tuyen-dung__section-title {
    font-size: 1.8em;
  }

  .page-tuyen-dung__main-title {
    font-size: clamp(1.5em, 8vw, 2.2em);
  }

  .page-tuyen-dung__card-title,
  .page-tuyen-dung__benefit-title,
  .page-tuyen-dung__opening-title,
  .page-tuyen-dung__step-title {
    font-size: 1.3em;
  }

  .page-tuyen-dung__cta-button {
    padding: 12px 20px;
  }
}