/* =====================================================
   HOA LONG INVEST - Recruitment Pages
   ===================================================== */

.recruitment-banner .page-banner-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 39, 75, 0.88), rgba(1, 128, 69, 0.7));
}

.recruitment-banner .page-banner-bg img {
  opacity: 0.42;
}

.recruitment-subnav {
  top: 80px;
}

.recruitment-intro,
.workplace-section,
.policy-section,
.jobs-section,
.job-detail-section,
.application-section {
  padding: 70px 0;
}

.recruitment-intro,
.policy-section,
.application-section {
  background: var(--bg-primary);
}

.workplace-section,
.jobs-section,
.job-detail-section {
  background: var(--bg-secondary);
}

.recruitment-split,
.policy-layout,
.jobs-header,
.application-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
  gap: 44px;
  align-items: center;
}

.recruitment-copy p,
.policy-content p,
.application-intro p,
.jobs-header p,
.job-detail-heading p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.02rem;
}

.policy-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0 0;
}

.policy-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.policy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 20px;
  height: 20px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23018045' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.culture-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 26px;
}

.culture-values div,
.workplace-item,
.sidebar-panel,
.application-form {
  border: 1px solid rgba(10, 39, 75, 0.08);
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.culture-values div {
  padding: 18px;
}

.culture-values strong {
  display: block;
  color: var(--dark-navy);
  font-size: 1rem;
  margin-bottom: 6px;
}

.culture-values span {
  display: block;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.55;
}

.recruitment-visual,
.policy-media {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.recruitment-visual img,
.policy-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* WORKPLACE GRID MOVED TO BOTTOM */

.job-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 28px 0;
}

.job-info-grid div {
  padding: 16px;
  border-radius: 8px;
  background: var(--bg-secondary);
  border: 1px solid rgba(10, 39, 75, 0.08);
}

.job-info-grid span,
.sidebar-panel dt {
  display: block;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.job-info-grid strong,
.sidebar-panel dd {
  display: block;
  margin-top: 4px;
  color: var(--dark-navy);
  font-weight: 800;
}

.job-content-block {
  padding-top: 28px;
  margin-top: 28px;
  border-top: 1px solid rgba(10, 39, 75, 0.1);
}

.job-content-block h3,
.sidebar-panel h3 {
  color: var(--dark-navy);
  font-size: 1.3rem;
  margin-bottom: 14px;
}

.job-detail-sidebar {
  position: sticky;
  top: 120px;
}

.sidebar-panel {
  padding: 26px;
}

.sidebar-panel dl {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.sidebar-panel dl div {
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(10, 39, 75, 0.08);
}

.application-layout {
  align-items: start;
}

.application-form {
  padding: 28px;
}

.application-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.application-form .form-group {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.application-form label {
  color: var(--dark-navy);
  font-weight: 800;
  font-size: 0.94rem;
}

.application-form label span {
  color: #c0392b;
}

.application-form input,
.application-form textarea,
.application-form select {
  width: 100%;
  border: 1px solid rgba(10, 39, 75, 0.16);
  border-radius: 6px;
  background: var(--white);
  color: var(--text-primary);
  font: inherit;
  padding: 12px 14px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.application-form input:focus,
.application-form textarea:focus,
.application-form select:focus {
  border-color: var(--eco-green);
  box-shadow: 0 0 0 3px rgba(1, 128, 69, 0.12);
}

.application-form textarea {
  resize: vertical;
}

.application-form small,
.form-message {
  color: var(--text-muted);
  font-size: 0.86rem;
}

.consent-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  margin: 8px 0 20px;
  color: var(--text-secondary) !important;
  font-weight: 500 !important;
}

.consent-check input {
  width: 18px;
  height: 18px;
  margin-top: 4px;
  flex: 0 0 auto;
}

.form-message {
  min-height: 1.4em;
  margin-top: 14px;
}

.form-message.success {
  color: var(--eco-green);
  font-weight: 700;
}

.form-message.error {
  color: #c0392b;
  font-weight: 700;
}

.footer-logo-link {
  display: block;
  margin-bottom: 30px;
}

.footer-logo-img {
  width: 240px;
  height: auto;
  max-width: none;
}

.footer-map-new iframe {
  border: 0;
}


/* =====================================================
   Jobs Section (Restored Styles)
   ===================================================== */
.department-filter {
  display: flex;
  gap: 12px;
  margin: 32px 0;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid rgba(10, 39, 75, 0.12);
  border-radius: 30px;
  background: var(--white);
  color: var(--text-primary);
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--eco-green);
  color: var(--white);
  border-color: var(--eco-green);
  box-shadow: 0 4px 12px rgba(1, 128, 69, 0.2);
}

.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px;
  background: var(--white);
  border: 1px solid rgba(10, 39, 75, 0.08);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  box-sizing: border-box;
}

.job-row:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(1, 128, 69, 0.3);
}

.job-main {
  flex: 1;
}

.job-department {
  font-size: 0.85rem;
  color: var(--eco-green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: inline-block;
}

.job-main h3 {
  font-size: 1.25rem;
  color: var(--dark-navy);
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

.job-row:hover .job-main h3 {
  color: var(--eco-green);
}

.job-main p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 0;
  max-width: 600px;
  line-height: 1.6;
}

.job-meta {
  display: flex;
  gap: 24px;
  margin: 0 40px;
}

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

.job-link {
  padding: 12px 28px;
  background: var(--dark-navy);
  color: var(--white);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background 0.3s ease;
  white-space: nowrap;
}

.job-row:hover .job-link,
.job-link:hover {
  background: var(--eco-green);
  color: var(--white);
}

@media (max-width: 1024px) {
  .recruitment-split,
  .policy-layout,
  .jobs-header,
  .job-detail-layout,
  .application-layout {
    grid-template-columns: 1fr;
  }

  .job-detail-sidebar {
    position: static;
  }

  .job-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .job-meta {
    margin: 12px 0 0 0;
    flex-wrap: wrap;
    gap: 16px;
  }
  .job-link {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
  }

  .job-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .recruitment-intro,
  .workplace-section,
  .policy-section,
  .jobs-section,
  .job-detail-section,
  .application-section {
    padding: 46px 0;
    overflow-x: hidden;
  }

  .culture-values,
  .application-form .form-row {
    grid-template-columns: 1fr;
  }

  .job-detail-content,
  .application-form,
  .sidebar-panel,
  .job-row {
    padding: 20px;
  }

  .job-info-grid {
    grid-template-columns: 1fr;
  }

  .jobs-section {
    overflow-x: hidden;
  }

  .department-filter {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
    width: 100%;
    box-sizing: border-box;
  }

  .filter-btn {
    flex: 0 0 auto;
  }

  .recruitment-copy .section-label,
  .policy-content .section-label,
  .jobs-header .section-label {
    display: flex;
    justify-content: center;
  }

  .recruitment-copy .section-title,
  .policy-content .section-title,
  .jobs-header .section-title {
    text-align: center;
  }
}


.recruitment-visual.circle-layout {
  position: relative;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  aspect-ratio: 1;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  max-width: 450px;
  margin: 0 auto;
}

.recruitment-visual.circle-layout img {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.recruitment-visual.circle-layout img.circle-img-front {
  width: 75%;
  height: 75%;
  z-index: 2;
  bottom: 0;
  right: 0;
  border: 10px solid #fff;
}

.recruitment-visual.circle-layout img.circle-img-back {
  width: 60%;
  height: 60%;
  z-index: 1;
  top: 0;
  left: 0;
  border: 8px solid #fff;
}


.recruitment-visual.circle-layout::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  background: rgba(1, 128, 69, 0.25);
  border-radius: 50%;
  bottom: -5%;
  right: -5%;
  z-index: 0;
  filter: blur(45px);
}

/* WORKPLACE SECTION - LIGHT ABSTRACT BACKGROUND */
.workplace-section {
  position: relative;
  background: #f4f7f9;
  overflow: hidden;
  z-index: 1;
}

.workplace-section::before,
.workplace-section::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.workplace-section::before {
  width: 500px;
  height: 500px;
  background: rgba(1, 128, 69, 0.12);
  top: -150px;
  left: -100px;
}

.workplace-section::after {
  width: 600px;
  height: 600px;
  background: rgba(10, 39, 75, 0.08);
  bottom: -200px;
  right: -100px;
}

/* =====================================================================
   WORKPLACE GRID LAYOUT (Image Cards)
   ===================================================================== */
.workplace-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.workplace-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.3s ease;
  display: block;
  background: var(--bg-secondary);
  border: none;
  padding: 0;
}

.workplace-item:hover {
  box-shadow: var(--shadow-lg);
  transform: none;
}

.workplace-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.workplace-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.workplace-item:hover .workplace-bg img {
  transform: scale(1.08);
}

.workplace-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 16px;
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  z-index: 2;
  transition: transform 0.3s ease;
}

.workplace-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-navy);
  margin-bottom: 12px;
  line-height: 1.4;
  margin-top: 0;
}

.workplace-content p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .workplace-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .workplace-grid {
    grid-template-columns: 1fr;
  }
  .workplace-item {
    height: 380px;
  }
}
