/* ── Yu Gothic Font Family ── */
@font-face {
  font-family: 'Yu Gothic';
  src: url('fonts/Yu Gothic Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* ── Aptos Font Family ── */ src: url('fonts/Aptos.ttf') format('truetype'); font-weight: 400; font-style: normal; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-Light-Italic.ttf') format('truetype'); font-weight: 300; font-style: italic; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-SemiBold-Italic.ttf') format('truetype'); font-weight: 600; font-style: italic; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-Bold-Italic.ttf') format('truetype'); font-weight: 700; font-style: italic; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; }
@font-face { font-family: 'Aptos'; src: url('fonts/Aptos-Black.ttf') format('truetype'); font-weight: 900; font-style: normal; }

/* Custom cookie consent styling */
.cookie-consent {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  background-color: rgba(0, 20, 44, 0.96);
  color: #fff;
  z-index: 100000;
  padding: 18px 0;
}
.cookie-consent .container {
  max-width: 1200px;
}
.cookie-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-consent__message {
  flex: 1 1 60%;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #fff;
  margin: 0;
  min-width: 0;
}
.cookie-consent__message p {
  margin: 0;
  color: inherit;
}
.cookie-consent__agree {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 170px;
  padding: 12px 24px;
  border: none;
  background-color: #0f218b;
  color: #fff;
  cursor: pointer;
  border-radius: 30px;
  font-weight: 600;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}
.cookie-consent__agree:hover,
.cookie-consent__agree:focus {
  background-color: #071652;
  outline: none;
}
@media (max-width: 767px) {
  .cookie-container {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .cookie-consent__message {
    flex: 1 1 100%;
  }
  .cookie-consent__agree {
    width: 100%;
    max-width: 100%;
  }
}

/* ── Badge dot label (hình vuông xanh/vàng) ── */
.badge-dot-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 18px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: left;
  color: #2f2f2f;
}

/* ── Badge dot hình vuông ── */
.badge-dot {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background: #0f218b;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 6px;
}

.badge-dot-yellow {
  width: 12px;
  height: 12px;
  min-width: 12px;
  background: #ffcc00;
  display: inline-block;
  flex-shrink: 0;
  margin-right: 6px;
}

.summary_about_home {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  color: #2f2f2f;
}

.summary_vision {
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -0.64px;
  text-align: left;
  color: #2f2f2f;
}

.Hng-i-Mc-ch-v-Cam-kt {

  font-family: 'Aptos', sans-serif;
  font-size: 32px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.14;
  letter-spacing: -1.12px;
  color: #2f2f2f;
}

.Cc-hnh-thc-tuyn-dng-ti-Si-Gn-Precion {
  font-family: 'Aptos', sans-serif;
  font-size: 40px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.2;
  letter-spacing: -0.8px;
  text-align: center;
  color: #2f2f2f;
}

.Chng-trnh-thc-tp-sinh {
  font-family: 'Aptos', sans-serif;
  font-size: 24px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: left;
  color: #2f2f2f;
}

.Thng-tin-lin-h {
  font-family: 'Aptos', sans-serif;
  font-size: 32px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.14;
  letter-spacing: -1.12px;
  text-align: center;
  color: #2f2f2f;
}

.Hy-lin-h-qua-bt-k-knh-no-di-y-v-chng-ti-s-phn-hi-nhanh-chng {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: center;
  color: #2f2f2f;
}

.a-im-ca-chng-ti {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  color: #575757;
}

.t-icon {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.6;
  letter-spacing: normal;
  text-align: left;
  color: #2f2f2f;
}

.relating-sites {
  font-family: 'Aptos', sans-serif;
  font-size: 32px;
  font-weight: 600;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.14;
  letter-spacing: -1.12px;
  text-align: center;
  color: #2f2f2f;
}

/* ── Header nav menu ── */
#header .header-nav-main nav > ul > li > a.dropdown-item {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: center;
  color: #575757 !important;
}

/* ── Block vision description ── */
@media (min-width: 768px) {
  .summary_vision .col-md-6 > *,
  .summary_vision [class*="col-md-"] > * {
    max-width: 90%;
  }
}

/* ── Summary vision col heading (thẻ b) ── */
.summary_vision [class*="col-md-"] b,
.summary_vision [class*="col-md-"] strong {
  align-self: stretch;
  font-family: 'DM Sans', sans-serif;
  font-size: 32px;
  font-weight: 500;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.25;
  letter-spacing: -0.64px;
  text-align: left;
  color: #2f2f2f;
  display: block;
}

/* ── Bỏ border top/bottom khi hover menu ── */
#header .header-nav-main nav > ul > li > a:before,
#header .header-nav-main nav > ul > li > a:after,
#header .header-nav.header-nav-line > ul > li > a:before,
#header .header-nav.header-nav-line > ul > li > a:after,
#header .header-nav.header-nav-bottom-line > ul > li > a:before,
#header .header-nav.header-nav-bottom-line > ul > li > a:after {
  display: none !important;
  border: none !important;
}

/* ── Menu hover color ── */
#header .header-nav-main nav > ul > li > a.dropdown-item:hover,
#header .header-nav-main nav > ul > li:hover > a.dropdown-item {
  color: #0f218b !important;
}

/* ── Menu active color ── */
#header .header-nav-main nav > ul > li > a.dropdown-item.active {
  color: #0f218b !important;
  font-weight: 600 !important;
}

.company-overview {
  font-family: 'Aptos', sans-serif !important;
  font-size: 24px !important;
  font-weight: bold !important;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.33;
  letter-spacing: normal;
  text-align: left;
  color: #fff !important;
}

.company-information {

  font-family: 'DM Sans', sans-serif !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: left;
  color: #c7c7c7 !important;
}

.text_address {
  font-family: 'Aptos', sans-serif !important;
  font-size: 16px !important;
  font-weight: bold !important;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
}

/* ── Header height: chỉ áp dụng cho màn hình >= 1200px ── */
@media (min-width: 1200px) {
  #header .header-body {
    min-height: 42px !important;
  }
  #header .header-container {
    min-height: 42px !important;
  }
  #header .header-row {
    min-height: 42px !important;
  }
}

/* ── Header 992px–1199px: container full width + logo nhỏ hơn ── */
@media (min-width: 992px) and (max-width: 1199.98px) {
  #header .header-container.container {
    max-width: 100% !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

/* ── Factory carousel nav buttons ── */
.factory-carousel-nav { position: relative; }
.factory-carousel-nav .owl-nav {
  position: absolute;
  top: -50px;
  right: 0;
  left: auto !important;
  margin: 0 !important;
  display: flex !important;
  gap: 8px;
  width: auto !important;
}
.factory-carousel-nav .owl-nav .owl-prev,
.factory-carousel-nav .owl-nav .owl-next {
  position: static !important;
  transform: none !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 4px !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 16px !important;
  line-height: 1 !important;
}
/* Ẩn pseudo-element Porto dùng cho double arrow */
.factory-carousel-nav .owl-nav .owl-prev:before,
.factory-carousel-nav .owl-nav .owl-next:before,
.factory-carousel-nav .owl-nav .owl-prev:after,
.factory-carousel-nav .owl-nav .owl-next:after { display: none !important; }
/* Prev: nền trắng, border xám, icon tối */
.factory-carousel-nav .owl-nav .owl-prev {
  background: #fff !important;
  border: 1px solid #ccc !important;
  color: #333 !important;
}
/* Next: nền xanh navy, icon trắng */
.factory-carousel-nav .owl-nav .owl-next {
  background: #0f218b !important;
  border: none !important;
  color: #fff !important;
}
.factory-carousel-nav .owl-nav .owl-prev:hover { background: #f0f0f0 !important; }
.factory-carousel-nav .owl-nav .owl-next:hover { background: #1a2e6e !important; }
/* Đảm bảo icon FA hiện đúng màu */
.factory-carousel-nav .owl-nav .owl-prev i { color: #333 !important; font-size: 14px !important; }
.factory-carousel-nav .owl-nav .owl-next i { color: #fff !important; font-size: 14px !important; }

/* ── QR block desktop left align ── */
@media (min-width: 768px) {
  .qr-col { text-align: left !important; }
}

/* ── Product page – Hero section ── */
.product-hero-section {
  overflow: hidden;
}
.product-hero-title {
  font-family: 'Aptos', sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #2f2f2f;
  margin: 0;
}
.product-hero-desc {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #000 !important;
  margin: 0;
}
.product-hero-image {
  width: 100%;
  overflow: hidden;
}
@media (max-width: 767.98px) {
  .product-hero-title { font-size: 28px; }
  .product-hero-desc  { font-size: 15px; }
}

/* ── Product page – Item card (section 2, 3, ...) ── */
.product-item-section + .product-item-section {
  padding-top: 0;
}
.product-item-card {
  border: 1px solid #fff;
  border-radius: 12px;
  padding: 32px;
  background: #fff;
}
.product-item-category {
  font-family: 'Aptos', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0f218b;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.product-item-name {
  font-family: 'Aptos', sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
  color: #1a1a1a;
  margin-bottom: 24px;
}
.product-item-img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #d0d0d0;
  border-radius: 10px;
}
.product-item-desc {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.75;
  color: #3a3a3a;
}
.product-item-desc p {
  margin-bottom: 12px;
}
.product-item-desc p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .product-item-card { padding: 20px 16px; }
  .product-item-name { font-size: 26px; }
}

/* ── Recruitment Page Styles ── */
.recruitment-page {
  min-height: 100vh;
}

.recruitment-section {
  background: #fff;
  padding-top: 60px;
  padding-bottom: 60px;
}

.recruitment-title {
  font-family: 'Aptos', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.96px;
  color: #2f2f2f;
  margin-bottom: 48px;
}

/* Job Card */
.job-card {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  height: 100%;
}

.job-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.job-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.job-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.job-location {
  font-family: 'Aptos', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
  margin: 0;
  text-transform: capitalize;
}

.job-title {
  font-family: 'Aptos', sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2f2f;
  margin: 0 0 12px 0;
}

.job-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.job-experience {
  font-family: 'Aptos', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #888;
}

.job-duration {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #2f2f2f;
}

/* Responsive */
@media (max-width: 767.98px) {
  .recruitment-title {
    font-size: 32px;
    margin-bottom: 32px;
  }
  
  .job-card .row {
    flex-direction: column;
  }
  
  .job-card .col-5,
  .job-card .col-7 {
    width: 100%;
    max-width: 100%;
  }
  
  .job-card-img {
    height: 200px;
  }
}

/* ── Recruitment Process Section ── */
.recruitment-process-section {
  background: #f5f5f5;
  padding-top: 80px;
  padding-bottom: 80px;
}

.process-main-title {
  font-family: 'Aptos', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.96px;
  color: #2f2f2f;
  margin: 0;
}

.process-description {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #575757;
  margin: 0;
}

.process-subtitle {
  font-family: 'Aptos', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.64px;
  color: #2f2f2f;
  margin-bottom: 32px;
}

.process-subtitle-main {
  font-family: 'Aptos', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
  color: #2f2f2f;
  margin-bottom: 32px;
}

.process-step {
  padding: 12px 0;
  border-bottom: none;
}

.process-step:last-child {
  border-bottom: none;
}

.step-number-title {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.step-number {
  font-family: 'Aptos', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #2f2f2f;
  flex-shrink: 0;
}

.step-title {
  font-family: 'Aptos', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: #2f2f2f;
  margin: 0;
}

.step-desc {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #575757;
  margin: 0;
  padding-left: 28px;
}

.step-desc-vi {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.6;
  color: #575757;
  margin: 0;
  padding-left: 28px;
}

.step-desc-en {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.6;
  color: #888;
  margin: 0;
  font-style: italic;
}

.process-image {
  margin-top: 48px;
}

.process-image-fullwidth {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 48px;
}

.process-image-fullwidth img {
  width: 100%;
  display: block;
}

/* Responsive */
@media (max-width: 767.98px) {
  .recruitment-process-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .process-main-title {
    font-size: 32px;
  }
  
  .process-subtitle {
    font-size: 24px;
  }
  
  .step-title {
    font-size: 18px;
  }
  
  .step-desc-vi {
    padding-left: 0;
    margin-top: 8px;
  }
  
  .step-desc-en {
    margin-top: 12px;
  }
}

/* ── Why Choose Section ── */
.why-choose-section {
  background: #f5f5f5;
  padding-top: 80px;
  padding-bottom: 80px;
}

.why-choose-title {
  font-family: 'Aptos', sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.96px;
  color: #000;
  margin: 0;
}

.why-choose-intro {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #000;
  margin: 0;
  max-width: 100%;
}

.reason-card {
  background: transparent;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.reason-number {
  font-family: 'Aptos', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2f2f2f;
  margin: 0 0 8px 0;
}

.reason-title {
  font-family: 'Aptos', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2f2f;
  margin: 0 0 16px 0;
}

.reason-content {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #575757;
}

.reason-content p {
  margin-bottom: 12px;
}

.reason-content p:last-child {
  margin-bottom: 0;
}

.reason-content ul {
  margin: 12px 0 0 0;
  padding-left: 20px;
  list-style: none;
}

.reason-content ul li {
  position: relative;
  padding-left: 12px;
  margin-bottom: 8px;
}

.reason-content ul li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2f2f2f;
  font-weight: 600;
}

.reason-content ul li:last-child {
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .why-choose-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .why-choose-title {
    font-size: 32px;
  }
  
  .reason-title {
    font-size: 18px;
  }
}

/* ── Recruitment Types Section ── */
.recruitment-types-section {
  background: #fff;
  padding-top: 80px;
  padding-bottom: 80px;
}

.recruitment-types-title {
  font-family: 'Aptos', sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.96px;
  color: #2f2f2f;
  margin: 0;
}

.recruitment-type-card {
  background: #f8f9fa;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.type-card-image {
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.type-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.type-card-body {
  padding: 32px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.type-card-title {
  font-family: 'Aptos', sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2f2f;
  margin: 0 0 16px 0;
}

.type-card-desc {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #575757;
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .recruitment-types-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .recruitment-types-title {
    font-size: 32px;
    margin-bottom: 32px !important;
  }
  
  .type-card-body {
    padding: 24px 20px;
  }
  
  .type-card-title {
    font-size: 20px;
  }
}

/* ── Recruitment Details Page ── */
.recruitment-details-page {
  min-height: 100vh;
}

/* Breadcrumb */
.breadcrumb-section {
  background: #0f218b;
  padding: 0;
}

.breadcrumb-bar {
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-link {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s;
}

.breadcrumb-link:hover {
  opacity: 0.8;
  color: #fff;
}

.breadcrumb-separator {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  color: #fff;
}

.breadcrumb-current {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #fff;
}

/* Job Detail Content */
.job-detail-content {
  padding-top: 48px;
  padding-bottom: 48px;
}

.job-detail-hero-image {
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
}

.job-detail-hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

.job-detail-title {
  font-family: 'Aptos', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #2f2f2f;
  margin: 0;
}

.job-detail-description {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: #575757;
}

.job-detail-description p {
  margin-bottom: 16px;
}

.job-detail-description p:last-child {
  margin-bottom: 0;
}

.job-detail-subtitle {
  font-family: 'Aptos', sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2f2f;
  margin: 0;
}

.job-detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-detail-list li {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #575757;
  padding-left: 24px;
  position: relative;
  margin-bottom: 12px;
}

.job-detail-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #2f2f2f;
  font-weight: 600;
  font-size: 18px;
}

.job-detail-list li:last-child {
  margin-bottom: 0;
}

/* Sidebar */
.job-sidebar {
  position: sticky;
  top: 100px;
}

.related-jobs-list {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
}

.related-job-item {
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.related-job-item:first-child {
  padding-top: 0;
}

.related-job-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.related-job-title {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #2f2f2f;
  margin: 0 0 8px 0;
}

.related-job-link {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #888;
  text-decoration: none;
  transition: color 0.2s;
}

.related-job-link:hover {
  color: #0f218b;
}

/* Job Tags */
.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  display: inline-block;
  padding: 6px 16px;
  background: #0f218b;
  color: #fff;
  font-family: 'Aptos', sans-serif;
  font-size: 12px;
  font-weight: 500;
  border-radius: 20px;
  white-space: nowrap;
}

/* Apply Button */
.btn-apply {
  display: block;
  width: 100%;
  padding: 16px 24px;
  background: #0f218b;
  color: #fff;
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.3s;
}

.btn-apply:hover {
  background: #071652;
  color: #fff;
}

/* Responsive */
@media (max-width: 991.98px) {
  .job-sidebar {
    position: static;
  }
  
  .job-detail-title {
    font-size: 32px;
  }
  
  .job-detail-subtitle {
    font-size: 24px;
  }
}

@media (max-width: 767.98px) {
  .breadcrumb-bar {
    padding: 12px 16px;
  }
  
  .job-detail-content {
    padding-top: 32px;
    padding-bottom: 32px;
  }
  
  .job-detail-title {
    font-size: 28px;
  }
  
  .job-detail-subtitle {
    font-size: 22px;
  }
}

/* ── Other Jobs Section ── */
.other-jobs-section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.other-jobs-title {
  font-family: 'Aptos', sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.8px;
  color: #2f2f2f;
  margin: 0;
}

.other-jobs-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.other-job-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.other-job-number {
  font-family: 'Aptos', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #2f2f2f;
  flex-shrink: 0;
  min-width: 32px;
}

.other-job-content {
  flex: 1;
}

.other-job-title {
  font-family: 'Aptos', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2f2f;
  margin: 0 0 8px 0;
}

.other-job-desc {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: #888;
  margin: 0;
}

/* Responsive */
@media (max-width: 767.98px) {
  .other-jobs-section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  
  .other-jobs-title {
    font-size: 32px;
  }
  
  .other-jobs-list {
    gap: 24px;
  }
  
  .other-job-title {
    font-size: 18px;
  }
  
  .other-job-number {
    font-size: 20px;
  }
}

/* ── Job Info Grid ── */
.job-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
}

.job-info-grid p {
  margin: 0;
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #2f2f2f;
}

.job-info-grid strong {
  font-weight: 600;
  color: #0f218b;
}

@media (max-width: 767.98px) {
  .job-info-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* ── Job Card Link ── */
.job-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a:hover .job-card {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

a .job-card .job-title {
  color: #2f2f2f;
  transition: color 0.3s ease;
}

a:hover .job-card .job-title {
  color: #0f218b;
}

/* ── Job Navigation Menu ── */
.job-nav-menu {
  background: #fff;
  border-radius: 8px;
  padding: 24px;
}

.job-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.job-nav-list li {
  margin-bottom: 12px;
}

.job-nav-list li:last-child {
  margin-bottom: 0;
}

.job-nav-link {
  display: block;
  padding: 12px 16px;
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2f2f2f;
  text-decoration: none;
  border-radius: 6px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.job-nav-link:hover {
  background: #f8f9fa;
  color: #0f218b;
  border-left-color: #0f218b;
  padding-left: 20px;
}

.job-nav-link.active {
  background: #e8eaf6;
  color: #0f218b;
  border-left-color: #0f218b;
  font-weight: 600;
}

/* ── Apply Modal ── */
#applyModal .modal-header {
  background: #0f218b !important;
  color: #fff !important;
  border-bottom: none;
}

#applyModal .modal-header .modal-title {
  color: #fff !important;
  font-family: 'Aptos', sans-serif;
  font-size: 20px;
  font-weight: 600;
}

#applyModal .modal-header .btn-close {
  filter: brightness(0) invert(1);
  opacity: 1;
}

#applyModal .modal-header .btn-close:hover {
  opacity: 0.8;
}

.modal-body .form-label {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #2f2f2f;
  margin-bottom: 8px;
}

.modal-body .form-control {
  font-family: 'Aptos', sans-serif;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 10px 12px;
}

.modal-body .form-control:focus {
  border-color: #0f218b;
  box-shadow: 0 0 0 0.2rem rgba(15, 33, 139, 0.15);
}

.modal-footer .btn-primary {
  background: #0f218b;
  border: none;
  padding: 10px 24px;
  font-family: 'Aptos', sans-serif;
  font-weight: 600;
}

.modal-footer .btn-primary:hover {
  background: #071652;
}

.modal-footer .btn-secondary {
  padding: 10px 24px;
  font-family: 'Aptos', sans-serif;
}

/* ── Alert Messages ── */
.alert {
  font-family: 'Aptos', sans-serif;
  font-size: 15px;
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
}

.alert-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.alert-danger {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.alert ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.alert .btn-close {
  padding: 8px;
}
/* ── Preloader ── */
div#preloader {
  margin: auto;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 9999999;
}
div#preloader .image {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* ── Multilingual Font Support ── */
/* Tiếng Việt và Tiếng Anh: Aptos (Body) */
html[lang="vi"] body,
html[lang="en"] body {
  font-family: 'Aptos', sans-serif;
}
html[lang="vi"] p, html[lang="en"] p,
html[lang="vi"] span, html[lang="en"] span,
html[lang="vi"] div, html[lang="en"] div,
html[lang="vi"] li, html[lang="en"] li,
html[lang="vi"] a, html[lang="en"] a,
html[lang="vi"] h1, html[lang="en"] h1,
html[lang="vi"] h2, html[lang="en"] h2,
html[lang="vi"] h3, html[lang="en"] h3,
html[lang="vi"] h4, html[lang="en"] h4,
html[lang="vi"] h5, html[lang="en"] h5,
html[lang="vi"] h6, html[lang="en"] h6 {
  font-family: 'Aptos', sans-serif !important;
}

/* Tiếng Nhật: Yu Gothic (Body Asian) */
html[lang="ja"] body {
  font-family: 'Yu Gothic', 'Yu Gothic Medium', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
}
html[lang="ja"] p,
html[lang="ja"] span,
html[lang="ja"] div,
html[lang="ja"] li,
html[lang="ja"] a,
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3,
html[lang="ja"] h4,
html[lang="ja"] h5,
html[lang="ja"] h6 {
  font-family: 'Yu Gothic', 'Yu Gothic Medium', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif !important;
}

/* Menu tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đậm hơn */
html[lang="ja"] #header .header-nav-main nav > ul > li > a.dropdown-item {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
}
html[lang="ja"] #header .header-nav-main nav > ul > li > a.dropdown-item.active {
  font-weight: 700 !important;
}

/* Section Liên hệ tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đậm hơn */
html[lang="ja"] .Thng-tin-lin-h {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
}
html[lang="ja"] .Hy-lin-h-qua-bt-k-knh-no-di-y-v-chng-ti-s-phn-hi-nhanh-chng,
html[lang="ja"] .a-im-ca-chng-ti,
html[lang="ja"] .t-icon {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
}
html[lang="ja"] #contact-section a {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 600 !important;
}

/* Section Chứng chỉ tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đậm hơn */
html[lang="ja"] #certificates-section h2 {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
}
html[lang="ja"] #certificates-section .cms-content-text,
html[lang="ja"] #certificates-section .badge-dot-label {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
}

/* Trang Sản phẩm tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đen đậm hơn */
html[lang="ja"] .product-hero-title {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
}
html[lang="ja"] .product-hero-desc {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

/* Quy trình tuyển dụng tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đen đậm hơn cho tiêu đề */
html[lang="ja"] .recruitment-process-section .process-subtitle-main,
html[lang="ja"] .recruitment-process-section .step-title,
html[lang="ja"] .recruitment-process-section .step-number,
html[lang="ja"] .recruitment-process-section h1,
html[lang="ja"] .recruitment-process-section h2,
html[lang="ja"] .recruitment-process-section h3,
html[lang="ja"] .recruitment-process-section h4,
html[lang="ja"] .recruitment-process-section h5,
html[lang="ja"] .recruitment-process-section h6 {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
  color: #000000 !important;
}
html[lang="ja"] .recruitment-process-section .step-desc,
html[lang="ja"] .recruitment-process-section .step-desc-vi,
html[lang="ja"] .recruitment-process-section .process-description {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
}

/* Section Vì sao lựa chọn tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đen đậm hơn */
html[lang="ja"] .why-choose-title {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
}
html[lang="ja"] .why-choose-intro {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
  color: #000000 !important;
}
html[lang="ja"] .why-choose-section .cms-content-text {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
}

/* Section Hình thức tuyển dụng tiếng Nhật: dùng font Yu Gothic Medium, sans-serif và chữ đen đậm hơn */
html[lang="ja"] .type-card-title {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
  color: #000000 !important;
}
html[lang="ja"] .type-card-desc {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 500 !important;
  color: #000000 !important;
}

/* Card các công ty thành viên */
.related-site-card:hover {
  border-color: #0f218b !important;
  box-shadow: 0 4px 20px rgba(15, 33, 139, 0.08) !important;
  transform: translateY(-2px);
}
html[lang="ja"] .relating-sites {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
}
html[lang="ja"] .related-site-card h4 {
  font-family: 'Yu Gothic Medium', sans-serif !important;
  font-weight: 700 !important;
}

/* Default fallback */
body {
  font-family: 'Aptos', sans-serif;
}

/* ── Footer Styles ── */
.text-footer {
  font-family: 'Aptos', sans-serif;
  font-size: 16px;
  font-weight: bold;
  font-stretch: normal;
  font-style: normal;
  line-height: 1.63;
  letter-spacing: normal;
  text-align: left;
  color: #fff;
}

.footer-company-name {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
  .newsletter-box {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px 16px !important;
  }
  .newsletter-row {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Force bold for WYSIWYG editor content */
b, strong {
  font-weight: bold !important;
}

/* Ẩn pseudo-element Porto dùng cho Owl Carousel để không bị lỗi đè icon */
.owl-carousel .owl-nav .owl-prev:before,
.owl-carousel .owl-nav .owl-prev:after,
.owl-carousel .owl-nav .owl-next:before,
.owl-carousel .owl-nav .owl-next:after {
  display: none !important;
}
/* Force headers to follow original casing from admin panel */
h1, h2, h3, h4, h5, h6 {
    text-transform: none !important;
}

/* Force Vietnamese Font Fallback for Recruitment Page (With High Specificity for Japanese Page) */
.vi-font,
.vi-font *,
html[lang="ja"] .vi-font,
html[lang="ja"] .vi-font p,
html[lang="ja"] .vi-font span,
html[lang="ja"] .vi-font div,
html[lang="ja"] .vi-font li,
html[lang="ja"] .vi-font a,
html[lang="ja"] .vi-font h1,
html[lang="ja"] .vi-font h2,
html[lang="ja"] .vi-font h3,
html[lang="ja"] .vi-font h4,
html[lang="ja"] .vi-font h5,
html[lang="ja"] .vi-font h6 {
  font-family: 'Aptos', sans-serif !important;
}

/* Color Config for CMS Content Blocks (Easy to modify globally) */
:root {
  --cms-content-color: #000000;
}

/* Global Selector for CMS Content Blocks */
.cms-content-text,
.cms-content-text p,
.cms-content-text span,
.cms-content-text li,
.cms-content-text div,
.job-detail-description,
.job-detail-description p,
.job-detail-description span,
.job-detail-description li,
.job-detail-description div {
  color: var(--cms-content-color);
}

/* ===== Contact Form — font-size 16px, text #000 ===== */
#contactForm .form-label,
#contactForm .form-control,
#contactForm textarea.form-control {
    font-size: 16px;
    color: #000000;
}
#contactForm .form-control::placeholder,
#contactForm textarea.form-control::placeholder {
    color: #000000;
    opacity: 1;
}
#contactSubmitBtn {
    font-size: 16px;
    color: #ffffff !important;
}

/* Custom address block styling */
.address-block .address-box {
  background: #f5f5f5;
  border-radius: 8px;
  overflow: hidden;
  margin: 0;
}

.address-block .address-list-col {
  max-height: 480px;
  overflow-y: auto;
}

.address-block .address-title {
  font-size: 32px;
  color: #000;
}

.address-block .address-subtitle {
  font-size: 1.3rem;
  color: #000;
}

.address-block .address-description,
.address-block .factory-address,
.address-block .address-box .text-muted {
  font-size: 16px;
  line-height: 1.6;
  color: #000 !important;
}

.address-block .factory-item {
  cursor: pointer;
}

.address-block .factory-num {
  min-width: 20px;
  color: #000;
}

.address-block .factory-name {
  font-size: 16px;
  color: #000;
}

.address-block .factory-item.active .factory-name,
.address-block .factory-item:hover .factory-name {
  color: #1a2e6e !important;
}

.address-block .factory-item.active .factory-num,
.address-block .factory-item:hover .factory-num {
  color: #1a2e6e !important;
}

.address-block #factory-map {
  height: 480px;
  background: #e8e8e8;
}

.address-block #factory-map iframe {
  width: 100% !important;
  height: 480px !important;
  border: 0;
  display: block;
}

.address-block .address-list-col::-webkit-scrollbar {
  width: 4px;
}

.address-block .address-list-col::-webkit-scrollbar-thumb {
  background: #1a2e6e;
  border-radius: 10px;
}

.address-block .address-list-col::-webkit-scrollbar-track {
  background: #f1f1f1;
}


/* ── Hero slide: Arial Bold override ── */
html[lang="vi"] h3.slide_title,
html[lang="en"] h3.slide_title,
html[lang="ja"] h3.slide_title,
html[lang="vi"] h3.slide_title *,
html[lang="en"] h3.slide_title *,
html[lang="ja"] h3.slide_title * {
  font-family: Arial, sans-serif !important;
  font-weight: 700 !important;
}
