/* ==========================================================================
   EXAL Malaysia - Careers & Recruitment Styles (Light Theme)
   Palette: Clean Modern Light (#ffffff, #f8f9fc), Warm Gold Accent (#D1A14F),
   Deep Charcoal Typography (#121621), and Smooth Micro-Interactions.
   ========================================================================== */

/* --- BeTheme Header & Subheader Overrides (Zero white-screen flash/gap) --- */
body.page-template-page-careers,
body.single-vacancy {
  background-color: #f8f9fc !important;
}

.page-template-page-careers #Subheader,
.single-vacancy #Subheader,
body.page-template-page-careers #Subheader,
body.single-vacancy #Subheader {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  visibility: hidden !important;
}

.single-vacancy #Header_wrapper,
body.single-vacancy #Header_wrapper {
  background-color: #f8f9fc !important;
  background-image: none !important;
}

.page-template-page-careers #Header_wrapper,
body.page-template-page-careers #Header_wrapper,
.page-template-page-careers #Header,
body.page-template-page-careers #Header {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: none !important;
  box-shadow: none !important;
}

.page-template-page-careers #Wrapper,
.single-vacancy #Wrapper {
  background-color: #f8f9fc !important;
}

.single-vacancy #Content,
body.single-vacancy #Content {
  padding-top: 100px !important;
  /* Proper clearance for floating #Top_bar */
  padding-bottom: 0 !important;
  background-color: #f8f9fc !important;
}

.page-template-page-careers #Content,
body.page-template-page-careers #Content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  background-color: #f8f9fc !important;
}

.page-template-page-careers .content_wrapper,
.single-vacancy .content_wrapper {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* --- Career Page Wrapper --- */
.career-page-wrapper {
  color: #2d3748;
  font-family: inherit;
  overflow-x: hidden;
  background-color: #f8f9fc;
}

/* ==========================================================================
   1. Purpose-led page introduction
   ========================================================================== */
.career-purpose-section {
  position: relative;
  padding: 150px 0 96px;
  background-color: #ffffff;
}

.career-purpose-copy {
  max-width: 980px;
  position: relative;
}


/* --- Hero Golden Accent Line --- */
.career-hero-line {
  --line-draw: 0;
  --glow-y: -0.1;
  position: absolute;
  left: -28px;
  top: 0;
  bottom: 0;
  width: 2px;
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

/* The vertical line itself, drawn via scaleY */
.career-hero-line::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(209, 161, 79, 0.15) 0%,
    rgba(209, 161, 79, 0.35) 50%,
    rgba(209, 161, 79, 0.15) 100%
  );
  transform: scaleY(var(--line-draw));
  transform-origin: top center;
  will-change: transform;
}

/* Travelling glow highlight */
.career-hero-line__glow {
  position: absolute;
  left: 0;
  top: calc(var(--glow-y) * 100%);
  width: 2px;
  height: 48px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(209, 161, 79, 0.6) 30%,
    rgba(227, 188, 113, 0.85) 50%,
    rgba(209, 161, 79, 0.6) 70%,
    transparent 100%
  );
  border-radius: 1px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* During the entrance animation, show the glow */
.career-hero-line:not(.career-hero-line--revealed) .career-hero-line__glow {
  opacity: 1;
}

/* After reveal: line stays, glow becomes very faint */
.career-hero-line--revealed::before {
  transform: scaleY(1);
  background: linear-gradient(
    180deg,
    rgba(209, 161, 79, 0.08) 0%,
    rgba(209, 161, 79, 0.22) 50%,
    rgba(209, 161, 79, 0.08) 100%
  );
}

.career-hero-line--revealed .career-hero-line__glow {
  opacity: 0;
}

/* Reduced-motion static display */
.career-hero-line--static {
  opacity: 1 !important;
}

.career-hero-line--static::before {
  transform: scaleY(1);
}

/* Subtle box-shadow glow on the line */
.career-hero-line::after {
  content: '';
  position: absolute;
  inset: 0;
  box-shadow: 0 0 6px 1px rgba(209, 161, 79, 0.12);
  transform: scaleY(var(--line-draw));
  transform-origin: top center;
  will-change: transform;
}

.career-hero-line--revealed::after {
  transform: scaleY(1);
  box-shadow: 0 0 4px 1px rgba(209, 161, 79, 0.08);
}

.career-purpose-kicker {
  display: block;
  color: #9a6d24;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.35px;
  margin-bottom: 20px;
}

.career-purpose-title {
  color: #121621;
  font-size: clamp(42px, 5.3vw, 68px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 24px;
  max-width: 22ch;
  text-wrap: balance;
}

.career-purpose-title span {
  color: #b88735;
}

@media (prefers-reduced-motion: no-preference) {
  .career-purpose-title {
    animation: career-hero-arrive 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .career-purpose-title span {
    animation: career-hero-gold-reveal 650ms ease-out 500ms both;
  }
}

@keyframes career-hero-arrive {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes career-hero-gold-reveal {
  from { opacity: 0; }
  to { opacity: 1; }
}

.career-purpose-desc {
  color: #4a5568;
  font-size: clamp(17px, 1.65vw, 20px);
  line-height: 1.7;
  margin: 0 0 34px;
  max-width: 800px;
  text-wrap: pretty;
}

.career-purpose-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 24px;
}

.career-purpose-link {
  color: #121621 !important;
  border-bottom: 1px solid rgba(18, 22, 33, 0.32);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  padding: 5px 0 4px;
  text-decoration: none !important;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.career-purpose-link:hover {
  color: #9a6d24 !important;
  border-color: #9a6d24;
}

.career-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #D1A14F;
  color: #121621 !important;
  padding: 14px 34px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(209, 161, 79, 0.28);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.career-btn-primary:hover {
  background-color: #be8e3f;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(209, 161, 79, 0.38);
}

.career-btn-primary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.career-btn-primary:hover svg {
  transform: translateX(4px);
}

.career-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #121621 !important;
  border: 1px solid #d2d6dc;
  padding: 14px 30px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.career-btn-secondary:hover {
  background: #f7fafc;
  border-color: #a0aec0;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

/* ========================================================================== 
   2. Company Vision & Values
   ========================================================================== */
.vision-values-section {
  padding: 96px 0;
  background-color: #eef2fc;
  position: relative;
  overflow: hidden;
}

/* BeBuilder's default gutters must not inset the moved full-width section. */
body.exal-about-page {
  overflow-x: hidden !important;
}

.exal-vision-host {
  background-color: #eef2fc;
}

.exal-vision-host > .section_wrapper {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.exal-vision-host .exal-vision-column > .mcb-column-inner {
  margin: 0;
}

.vision-values-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(48px, 7vw, 88px);
  align-items: stretch;
}

.exal-vision-host .vision-values-layout {
  box-sizing: border-box;
  width: 1420px;
  max-width: calc(100% - 40px);
  padding: 0;
}

.vision-manifesto,
.values-panel {
  min-width: 0;
}

.vision-manifesto {
  display: flex;
  flex-direction: column;
}

.vision-badge {
  display: inline-block;
  color: #b88a3b;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 28px;
}

.vision-year {
  color: rgba(184, 138, 59, 0.2);
  font-size: clamp(76px, 9.5vw, 132px);
  font-weight: 600;
  line-height: 0.78;
  letter-spacing: -0.065em;
  margin: 0 0 34px -0.06em;
}

.vision-heading {
  color: #121621;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.08;
  font-weight: 600;
  letter-spacing: -0.035em;
  max-width: 13ch;
  margin: 0 0 24px;
}

.vision-heading span.vision-highlight {
  color: #b88735;
}

.vision-reveal-word {
  display: inline-block;
}

.vision-subtext {
  color: #4a5568;
  font-size: 16px;
  max-width: 52ch;
  margin: 0 0 36px;
  line-height: 1.7;
}

.vision-media {
  aspect-ratio: 5 / 3;
  margin: auto 0 0;
  overflow: hidden;
  border: 1px solid rgba(18, 22, 33, 0.1);
  border-radius: 16px;
  background: #dfe3e9;
  box-shadow: 0 22px 54px rgba(52, 61, 76, 0.12);
}

.vision-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-panel {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 4vw, 48px);
  border: 1px solid rgba(18, 22, 33, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 24px 60px rgba(52, 61, 76, 0.08);
}

@media (min-width: 992px) {
  .values-panel {
    align-self: stretch;
    justify-content: flex-start;
  }
}

.values-intro {
  margin-bottom: 30px;
  flex-shrink: 0;
}

.values-intro h3 {
  color: #121621;
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin: 0 0 12px;
}

.values-intro p {
  color: #4a5568;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 46ch;
  margin: 0;
}

.values-accordion {
  border-top: 1px solid rgba(18, 22, 33, 0.14);
  flex-shrink: 0;
}

.value-item {
  position: relative;
  border-bottom: 1px solid rgba(18, 22, 33, 0.14);
}

.value-item::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 2px;
  background: #D1A14F;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.value-item.is-active::before {
  transform: scaleY(1);
}

.value-trigger {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 28px;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 22px 6px 22px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #121621;
  font: inherit;
  text-align: left;
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .value-item:hover > .value-trigger {
    background: rgba(255, 255, 255, 0.58);
  }
}

.value-trigger:active {
  transform: scale(0.995);
}

.value-trigger:focus-visible {
  outline: 2px solid #926620;
  outline-offset: -2px;
}

.value-number {
  color: #718096;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.25s ease;
}

.value-label {
  font-size: 19px;
  font-weight: 600;
  line-height: 1.3;
}

.value-item.is-active .value-number,
.value-item.is-active .value-label {
  color: #926620;
}

.value-toggle {
  position: relative;
  width: 24px;
  height: 24px;
}

.value-toggle::before,
.value-toggle::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease;
}

.value-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.value-item.is-active .value-toggle::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
}

.value-content {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.25s ease,
    visibility 0s linear 0.3s;
}

.value-item.is-active .value-content {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.value-content-inner {
  min-height: 0;
  overflow: hidden;
}

.value-content-body {
  padding: 0 34px 26px 76px;
}

.value-content p {
  color: #4a5568;
  font-size: 14.5px;
  line-height: 1.65;
  margin: 0;
}

.value-content .value-statement {
  color: #121621;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: 8px;
}

/* --- Section Containers --- */
.career-section {
  padding: 85px 0;
  position: relative;
}

.career-section.bg-light {
  background-color: #ffffff;
}

.career-section.bg-light-soft {
  background-color: #f8f9fc;
}

.career-section.bg-pattern {
  background-color: #f8f9fc;
  background-image: radial-gradient(rgba(209, 161, 79, 0.12) 1px, transparent 0);
  background-size: 32px 32px;
}

.career-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.career-section-header {
  margin-bottom: 50px;
}

.career-section-header.text-center {
  text-align: center;
}

.career-section-header .sub-title {
  color: #b88a3b;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  display: block;
}

.career-section-header h2 {
  color: #121621;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.25;
  margin-bottom: 16px;
  font-weight: 600;
}

.career-section-header p {
  color: #4a5568;
  font-size: 16px;
  line-height: 1.65;
  max-width: 680px;
}

.career-section-header.text-center p {
  margin: 0 auto;
}

/* --- 4. Working Life Section --- */
.working-life-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.working-life-lead {
  color: #2d3748;
  font-size: 16.5px;
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 500;
}

.working-life-text {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.7;
}

.working-life-media {
  position: relative;
}

.working-life-media img {
  border-radius: 24px;
  width: 100%;
  height: auto;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
}

.working-life-badge-floating {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: #ffffff;
  border: 1px solid rgba(209, 161, 79, 0.4);
  border-radius: 20px;
  padding: 18px 24px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
  max-width: 240px;
}

.working-life-badge-floating h5 {
  color: #b88a3b;
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 600;
}

.working-life-badge-floating p {
  color: #4a5568;
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
}

.working-perks-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.working-perk-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.working-perk-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(209, 161, 79, 0.15);
  color: #b88a3b;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.working-perk-item h4 {
  color: #121621;
  font-size: 16px;
  margin: 0 0 4px;
  font-weight: 600;
}

.working-perk-item p {
  color: #4a5568;
  font-size: 13.5px;
  margin: 0;
  line-height: 1.5;
}

/* --- 5. Message From HR Section (Architectural Editorial Layout) --- */
.hr-testimonial-section {
  position: relative;
  overflow: hidden;
}

.hr-quote-card {
  --mouse-x: -999px;
  --mouse-y: -999px;
  position: relative;
  background: 
    radial-gradient(460px circle at var(--mouse-x) var(--mouse-y), rgba(209, 161, 79, 0.09), transparent 65%),
    linear-gradient(135deg, #ffffff 0%, #fdfbf7 100%);
  border: 1px solid rgba(209, 161, 79, 0.32);
  border-radius: 28px;
  padding: 56px 64px;
  box-shadow: 0 16px 44px rgba(18, 22, 33, 0.05);
  max-width: 980px;
  margin: 0 auto;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.hr-quote-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 60px rgba(18, 22, 33, 0.08);
}

/* Subtle gold top border accent line (smoothly dims on hover as active cursor border takes over) */
.hr-quote-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 12%;
  right: 12%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #D1A14F, transparent);
  transition: opacity 0.4s ease;
  z-index: 1;
}

.hr-quote-card:hover::before {
  opacity: 0.2;
}

/* Dynamic Reactive Border that becomes darker, bolder, and tracks the cursor along the shape */
.hr-quote-card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 3px; /* Bold stroke thickness */
  background: radial-gradient(
    320px circle at var(--mouse-x) var(--mouse-y),
    #543604 0%,      /* Darkest, bold deep bronze-gold near cursor */
    #7a5210 25%,     /* Rich dark gold */
    #a87b28 50%,     /* Bold amber gold */
    #d1a14f 70%,     /* Brand gold */
    transparent 88%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 4;
}

.hr-quote-card:hover::after {
  opacity: 1;
}

/* Background watermark quote icon */
.hr-quote-watermark {
  position: absolute;
  top: 28px;
  right: 40px;
  width: 115px;
  height: 115px;
  color: rgba(209, 161, 79, 0.09);
  pointer-events: none;
  line-height: 1;
  transform-origin: center center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s ease;
}

.hr-quote-card:hover .hr-quote-watermark {
  transform: scale(1.08) rotate(-4deg);
  color: rgba(209, 161, 79, 0.18);
}

.hr-quote-inner {
  position: relative;
  z-index: 1;
}

.hr-quote-lead {
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 600;
  line-height: 1.42;
  color: #121621;
  margin-bottom: 20px;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.hr-quote-body {
  font-size: 16px;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 28px;
  text-wrap: pretty;
}

.hr-quote-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hr-pill-tag {
  background: #fdfaf4;
  border: 1px solid rgba(209, 161, 79, 0.28);
  color: #a4782b;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.hr-pill-tag:hover {
  background: #fcf4e4;
  border-color: #D1A14F;
  transform: translateY(-1px);
}

.hr-author-box {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 24px;
  border-top: 1px solid #edf2f7;
}

.hr-author-badge {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, #121621 0%, #1e2535 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #D1A14F;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  border: 1px solid rgba(209, 161, 79, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.hr-author-name {
  color: #121621;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 3px;
}

.hr-author-role {
  color: #718096;
  font-size: 13.5px;
  margin: 0;
}

/* --- 6. Inside EXAL Working Life Gallery --- */
.inside-exal-section {
	position: relative;
	overflow: hidden;
	background: #ffffff;
}

.inside-exal-section::before {
	content: "";
	position: absolute;
	top: 8%;
	right: -10%;
	width: 420px;
	height: 420px;
	border: 1px solid rgba(209, 161, 79, 0.12);
	border-radius: 50%;
	pointer-events: none;
}

.inside-exal-header {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.7fr);
	gap: 48px;
	align-items: end;
	margin-bottom: 48px;
	text-align: left;
}

.inside-exal-header h2 {
	margin-bottom: 0;
}

.inside-exal-header > p {
	max-width: 430px;
	margin: 0;
	justify-self: end;
}

.inside-exal-gallery {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	grid-template-rows: repeat(2, minmax(260px, 1fr)) minmax(360px, auto);
	gap: 22px;
}

.inside-exal-card {
	position: relative;
	min-width: 0;
	margin: 0;
	overflow: hidden;
	isolation: isolate;
	border: 1px solid rgba(209, 161, 79, 0.22);
	border-radius: 22px;
	background: #121621;
	box-shadow: 0 18px 46px rgba(18, 22, 33, 0.12);
	transition:
		transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.45s ease,
		border-color 0.45s ease;
}

.inside-exal-card--anchor {
	grid-column: 1 / span 8;
	grid-row: 1 / span 2;
	min-height: 590px;
}

.inside-exal-card--support {
	grid-column: 9 / -1;
	min-height: 284px;
}

.inside-exal-card--community {
	grid-row: 1;
}

.inside-exal-card--milestones {
	grid-row: 2;
}

.inside-exal-card--wide {
	grid-column: 1 / -1;
	grid-row: 3;
	min-height: 390px;
}

.inside-exal-card img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.inside-exal-card--anchor img {
	object-position: center 42%;
}

.inside-exal-card--community img {
	object-position: center 44%;
}

.inside-exal-card--milestones img {
	object-position: center 42%;
}

.inside-exal-card--wide img {
	object-position: center 49%;
}

.inside-exal-card::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background:
		linear-gradient(180deg, rgba(10, 12, 18, 0.02) 34%, rgba(10, 12, 18, 0.82) 100%),
		linear-gradient(90deg, rgba(10, 12, 18, 0.14), transparent 45%);
	pointer-events: none;
}

.inside-exal-caption {
	position: absolute;
	right: 28px;
	bottom: 26px;
	left: 28px;
	z-index: 2;
	display: flex;
	gap: 24px;
	align-items: flex-end;
	justify-content: space-between;
	color: #ffffff;
}

.inside-exal-caption-copy {
	display: inline-flex;
	gap: 12px;
	align-items: center;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.45);
}

.inside-exal-rule {
	flex: 0 0 auto;
	width: 26px;
	height: 2px;
	background: #d1a14f;
	transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.inside-exal-number {
	flex: 0 0 auto;
	color: #e3bc71;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
}

.inside-exal-card:hover {
	transform: translateY(-5px);
	border-color: rgba(209, 161, 79, 0.62);
	box-shadow: 0 25px 58px rgba(18, 22, 33, 0.2);
}

.inside-exal-card:hover img {
	transform: scale(1.035);
}

.inside-exal-card:hover .inside-exal-rule {
	width: 44px;
}

@media (prefers-reduced-motion: reduce) {
	.career-hero-line,
	.career-hero-line::before,
	.career-hero-line::after,
	.career-hero-line__glow {
		transition: none !important;
		animation: none !important;
	}

	.value-item::before,
	.value-trigger,
	.value-number,
	.value-toggle::before,
	.value-toggle::after,
	.value-content,
	.inside-exal-card,
	.inside-exal-card img,
	.inside-exal-rule {
		transition: none;
	}

	.inside-exal-card:hover {
		transform: none;
	}

	.inside-exal-card:hover img {
		transform: none;
	}
}

/* --- 7. Vacancies Grid --- */
.vacancies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 26px;
}

.vacancy-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.vacancy-card:hover {
  background: #ffffff;
  border-color: rgba(209, 161, 79, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.vacancy-card-header {
  margin-bottom: 20px;
}

.vacancy-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.badge-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  background: #edf2f7;
  color: #4a5568;
}

.badge-tag.department {
  background: #fdf8ee;
  color: #b88a3b;
  border: 1px solid rgba(209, 161, 79, 0.25);
}

.badge-tag.type {
  background: #edfbf3;
  color: #276749;
}

.vacancy-card-title {
  color: #121621;
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 12px;
  font-weight: 600;
}

.vacancy-location {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #718096;
  font-size: 13.5px;
  margin-bottom: 16px;
}

.vacancy-location svg {
  width: 14px;
  height: 14px;
  fill: #D1A14F;
  flex-shrink: 0;
}

.vacancy-excerpt {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.vacancy-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #edf2f7;
}

.vacancy-view-link {
  color: #b88a3b;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.vacancy-card:hover .vacancy-view-link {
  gap: 12px;
}

.vacancy-view-link svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.empty-vacancies-card {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 30px;
  background: #ffffff;
  border: 1px dashed #cbd5e0;
  border-radius: 20px;
}

.empty-vacancies-card h3 {
  color: #121621;
  font-size: 22px;
  margin-bottom: 12px;
}

.empty-vacancies-card p {
  color: #4a5568;
  max-width: 500px;
  margin: 0 auto 24px;
}

/* --- Spontaneous Application Box --- */
.talent-network-box {
  background: linear-gradient(135deg, rgba(209, 161, 79, 0.12) 0%, #f7f9fd 100%);
  border: 1px solid rgba(209, 161, 79, 0.35);
  border-radius: 24px;
  padding: 50px 40px;
  text-align: center;
  margin-top: 60px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
}

.talent-network-box h3 {
  color: #121621;
  font-size: 26px;
  margin-bottom: 14px;
  font-weight: 600;
}

.talent-network-box p {
  color: #4a5568;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

/* General internship applications */
.internship-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.internship-departments {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 32px;
  padding: 0;
}

.internship-departments li {
  padding: 16px 20px;
  margin: 0;
  border: 1px solid rgba(209, 161, 79, 0.35);
  border-radius: 12px;
  background: #ffffff;
  color: #121621;
  font-weight: 600;
}

.internship-layout .job-apply-card {
  position: static;
  min-width: 0;
  scroll-margin-top: 110px;
}

.internship-layout > div > h3 {
  font-size: 22px;
  line-height: 1.3;
}

.internship-layout .job-apply-card .gfield {
  margin-bottom: 0 !important;
}

.internship-layout .ginput_container input,
.internship-layout .ginput_container select {
  margin-bottom: 0 !important;
}

.internship-layout textarea {
  height: 120px !important;
}

/* ==========================================================================
   Single Vacancy Page Layout & Styles (Light Theme)
   ========================================================================== */
.single-vacancy-wrapper {
  background-color: #f8f9fc;
  color: #2d3748;
  padding-bottom: 100px;
}

.single-vacancy-header {
  padding: 40px 0 50px;
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
}

.single-vacancy-breadcrumbs {
  margin-bottom: 24px;
  font-size: 14px;
  color: #718096;
}

.single-vacancy-breadcrumbs a {
  color: #b88a3b !important;
}

.single-vacancy-breadcrumbs span.separator {
  margin: 0 10px;
}

.single-vacancy-title-area {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.single-vacancy-title-area h1 {
  color: #121621;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.2;
  margin: 0 0 20px;
  font-weight: 600;
}

.single-vacancy-meta-chips {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f3f7;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 14px;
  color: #2d3748;
}

.meta-chip svg {
  width: 15px;
  height: 15px;
  fill: #D1A14F;
}

/* Two-column layout for single job */
.single-vacancy-content-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 50px;
  margin-top: 50px;
  align-items: start;
}

.job-details-col {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 44px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.job-details-col h2,
.job-details-col h3 {
  color: #121621;
  font-size: 22px;
  margin-top: 36px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(209, 161, 79, 0.25);
  font-weight: 600;
}

.job-details-col h2:first-child,
.job-details-col h3:first-child {
  margin-top: 0;
}

.job-details-col p {
  color: #4a5568;
  font-size: 15.5px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.job-details-col ul,
.job-details-col ol {
  color: #4a5568;
  list-style-position: outside;
  padding-left: 24px;
  margin-bottom: 26px;
}

.job-details-col ul {
  list-style-type: disc;
}

.job-details-col ol {
  list-style-type: decimal;
}

.job-details-col li {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

/* Application Form Card */
.job-apply-card {
  background: #ffffff;
  border: 1px solid rgba(209, 161, 79, 0.35);
  border-radius: 24px;
  padding: 40px;
  position: sticky;
  top: 100px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
}

.job-apply-card h3 {
  color: #121621;
  font-size: 24px;
  margin: 0 0 10px;
  font-weight: 600;
}

.job-apply-card p.apply-intro {
  color: #4a5568;
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 26px;
}

/* Gravity Forms Custom Styling (Light Theme) */
.job-apply-card .gform_wrapper {
  margin: 0;
}

.job-apply-card .gfield {
  margin-bottom: 20px !important;
}

.job-apply-card .gfield_label {
  color: #2d3748 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  margin-bottom: 8px !important;
  display: block;
}

.job-apply-card .gfield_required {
  color: #D1A14F !important;
  margin-left: 4px;
}

.job-apply-card input[type="text"],
.job-apply-card input[type="email"],
.job-apply-card input[type="tel"],
.job-apply-card input[type="url"],
.job-apply-card select,
.job-apply-card textarea {
  width: 100% !important;
  background: #f8f9fa !important;
  border: 1px solid #cbd5e0 !important;
  border-radius: 12px !important;
  color: #1a202c !important;
  padding: 13px 16px !important;
  font-size: 14.5px !important;
  outline: none !important;
  transition: border-color 0.25s, background-color 0.25s;
  box-sizing: border-box !important;
}

.job-apply-card input:focus,
.job-apply-card select:focus,
.job-apply-card textarea:focus {
  border-color: #D1A14F !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(209, 161, 79, 0.15) !important;
}

.job-apply-card textarea {
  min-height: 90px;
  resize: vertical;
}

.job-apply-card .ginput_container_fileupload {
  background: rgba(209, 161, 79, 0.05);
  border: 2px dashed rgba(209, 161, 79, 0.4);
  border-radius: 14px;
  padding: 20px;
  text-align: center;
  transition: border-color 0.3s;
}

.job-apply-card .ginput_container_fileupload:hover {
  border-color: #D1A14F;
  background: rgba(209, 161, 79, 0.09);
}

.job-apply-card input[type="file"] {
  color: #4a5568 !important;
  font-size: 13px !important;
  cursor: pointer;
}

.job-apply-card .gfield_description {
  color: #718096 !important;
  font-size: 12px !important;
  margin-top: 6px !important;
}

/* The global footer arrow uses fixed offsets intended for the contact form.
   Anchor the application arrow to the button itself instead. */
.job-apply-card .gform_footer::before {
  content: none;
}

.job-apply-card .gform_footer input[type="submit"],
.job-apply-card .gform_footer button {
  width: 100% !important;
  box-sizing: border-box;
  background: #D1A14F url("/wp-content/uploads/2025/06/arrow-icon.svg") no-repeat right 24px center / 8px 16px !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 15px 44px !important;
  line-height: 1.5 !important;
  text-align: center;
  white-space: normal;
  font-size: 15px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 10px 0 0 !important;
  box-shadow: 0 6px 18px rgba(209, 161, 79, 0.28) !important;
}

.job-apply-card .gform_footer input[type="submit"]:hover,
.job-apply-card .gform_footer button:hover {
  background-color: #be8e3f !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(209, 161, 79, 0.38) !important;
}

.job-apply-card .gform_confirmation_message {
  background: #f0fff4;
  border: 1px solid #9ae6b4;
  color: #22543d;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 991px) {
  .internship-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .vision-values-layout {
    grid-template-columns: 1fr;
    gap: 56px;
    align-items: start;
  }

  .vision-manifesto {
    display: block;
  }

  .vision-heading {
    max-width: 16ch;
  }

  .vision-media {
    margin: 0;
    aspect-ratio: 16 / 9;
  }

  .values-panel {
    display: block;
    height: auto;
  }

  .career-hero-line {
    left: -22px;
  }

  .career-purpose-section {
    padding-top: 132px;
  }

  .working-life-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .working-life-badge-floating {
    position: static;
    margin-top: 20px;
    max-width: 100%;
  }

  .single-vacancy-content-grid {
    grid-template-columns: 1fr;
  }

  .job-apply-card {
    position: static;
  }

  .hr-quote-card {
    padding: 46px 36px;
  }

  .hr-quote-watermark {
    width: 90px;
    height: 90px;
    right: 28px;
    top: 22px;
  }

  .inside-exal-header {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .inside-exal-header > p {
    max-width: 680px;
    justify-self: start;
  }

  .inside-exal-gallery {
    grid-template-rows: auto;
    grid-auto-rows: minmax(260px, auto);
  }

  .inside-exal-card--anchor {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 480px;
  }

  .inside-exal-card--support {
    grid-column: span 6;
    grid-row: auto;
    min-height: 290px;
  }

  .inside-exal-card--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  body.page-template-page-careers #Header_wrapper {
    position: absolute !important;
    inset: 0 0 auto;
    z-index: 100;
  }

  .career-hero-line {
    left: -16px;
    width: 1px;
  }

  .career-hero-line__glow {
    height: 32px;
    width: 1px;
  }

  .career-hero-line::after {
    box-shadow: 0 0 4px 0.5px rgba(209, 161, 79, 0.08);
  }

  .career-purpose-section {
    padding: 112px 0 56px;
  }

  .career-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .exal-vision-host .vision-values-layout {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
  }

  .career-purpose-kicker {
    margin-bottom: 16px;
  }

  .career-purpose-title {
    font-size: clamp(34px, 10.2vw, 44px);
    max-width: none;
  }

  .career-purpose-desc {
    font-size: 17px;
    line-height: 1.65;
    margin-bottom: 30px;
  }

  .career-purpose-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .career-purpose-actions .career-btn-primary {
    justify-content: center;
    padding: 14px 20px;
    box-sizing: border-box;
    text-align: center;
  }

  .career-purpose-actions svg {
    flex-shrink: 0;
  }

  .career-purpose-link {
    align-self: center;
  }

  .career-section,
  .vision-values-section {
    padding: 56px 0;
  }

  .career-section-header {
    margin-bottom: 32px;
  }

  .vision-year {
    font-size: clamp(70px, 22vw, 96px);
    margin-bottom: 28px;
  }

  .vision-heading {
    font-size: clamp(34px, 9.5vw, 44px);
    max-width: 13ch;
  }

  .vision-subtext {
    margin-bottom: 28px;
  }

  .vision-media {
    aspect-ratio: 4 / 3;
  }

  .values-panel {
    padding: 28px 20px;
  }

  .values-intro {
    margin-bottom: 24px;
  }

  .values-intro h3 {
    font-size: 28px;
  }

  .value-trigger {
    grid-template-columns: 34px minmax(0, 1fr) 24px;
    gap: 10px;
    padding: 20px 4px 20px 12px;
  }

  .value-label {
    font-size: 17px;
  }

  .value-content-body {
    padding: 0 4px 24px 56px;
  }

  .hr-quote-card {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .hr-quote-watermark {
    width: 65px;
    height: 65px;
    right: 18px;
    top: 18px;
    opacity: 0.6;
  }

  .hr-quote-lead {
    font-size: 19px;
    line-height: 1.45;
  }

  .hr-quote-body {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 24px;
  }

  .hr-quote-tags {
    gap: 8px;
    margin-bottom: 24px;
  }

  .hr-pill-tag {
    font-size: 12px;
    padding: 5px 12px;
  }

  .hr-author-badge {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 11px;
  }

  .career-page-wrapper .job-apply-card input,
  .career-page-wrapper .job-apply-card select,
  .career-page-wrapper .job-apply-card textarea {
    min-width: 0;
    max-width: 100%;
    font-size: 16px !important;
  }

  .working-perks-list {
    grid-template-columns: 1fr;
  }

  .vacancies-grid {
    grid-template-columns: 1fr;
  }

  .job-details-col {
    padding: 28px 20px;
  }

  .job-apply-card {
    padding: 28px 20px;
  }

  .inside-exal-header {
    gap: 14px;
    margin-bottom: 32px;
  }

  .inside-exal-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }

  .inside-exal-card--anchor,
  .inside-exal-card--support,
  .inside-exal-card--wide {
    grid-column: 1;
    grid-row: auto;
  }

  .inside-exal-card--anchor {
    min-height: 360px;
  }

  .inside-exal-card--support {
    min-height: 280px;
  }

  .inside-exal-card--wide {
    min-height: 300px;
  }

  .inside-exal-caption {
    right: 20px;
    bottom: 20px;
    left: 20px;
  }

  .inside-exal-caption-copy {
    gap: 9px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .inside-exal-rule {
    width: 20px;
  }
}
