@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* General Colors */
:root {
  --xlg-dark-blue: #0b1f3f;
  --xlg-medium-blue: #1c529b;
  --xlg-text-gray: #6c757d;
  --xlg-bg-blue: #001e46;
  --xlg-light-bg: #f4f8fa;
}

html,
body {
  font-family: "Montserrat", sans-serif;
}

.container .content .intro {
  padding-bottom: 0.5rem !important;
}

/* BANNER */

/* Main Banner Containers */
.header-container,
.header-container-isHomepage,
.header-container-isJobListing {
  position: relative;
  width: 100%;
  background-size: cover;
  background-position: center;
}

/* Home banner video: fills the banner, the photo behind it stays as the fallback */
.header-container-isHomepage {
  overflow: hidden;
  /* The height follows the window width, so a narrow window doesn't get a very tall banner */
  height: clamp(360px, 45vw, 600px);
}

/* On phones the banner stays tall: the video is vertical there */
@media (max-width: 767px) {
  .header-container-isHomepage {
    height: clamp(420px, 135vw, 600px);
  }
}

.header-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  pointer-events: none;
}

/* Same gradient as the photo, so the slogan stays readable over the video */
.header-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 30, 70, 0.75) 0%,
    rgba(0, 30, 70, 0.35) 60%,
    rgba(0, 30, 70, 0.15) 100%
  );
  pointer-events: none;
}

.header-container-isHomepage .slogan-container {
  position: relative;
  z-index: 1;
}

/* Visitors who asked their system for less motion keep the photo */
@media (prefers-reduced-motion: reduce) {
  .header-video {
    display: none;
  }
}

/* Slogan Container positioning (Bottom-Left alignment) */
.header-container-isHomepage .slogan-container,
.header-container .slogan-container {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Pushes text to the bottom */
  align-items: flex-start !important; /* Aligns text to the left */
  padding: 0 80px 60px 80px; /* Adjust left and bottom padding to match layout */
  height: 100%;
}

/* Homepage hero (Figma: title bottom-left, aligned with page content) */
.header-container-isHomepage .slogan-container {
  padding: 0 1.5rem 96px 1.5rem;
}

.header-container-isHomepage .slogan-title {
  margin: 0;
  max-width: 760px;
}

/* Typography for Homepage Slogan */
.header-container-isHomepage .slogan-text {
  display: block;
  color: #ffffff;
  font-family: var(--xlg-heading-font);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-align: left;
}

/* Job Listing Slogan Styling */
.header-container-isJobListing .slogan-container {
  padding: 0 50px;
  align-items: flex-start !important;
}

.header-container-isJobListing .slogan-banner h1 {
  color: #ffffff;
  font-weight: 800;
  font-size: 2.2rem;
  margin-top: 10px;
}

.jobs-breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-bottom: 5px;
}

/* Responsive adjustments for mobile screens */
@media (max-width: 768px) {
  .header-container-isHomepage .slogan-container,
  .header-container .slogan-container {
    padding: 0 1rem 48px 1rem;
  }

  .header-container-isHomepage .slogan-text {
    font-size: 1.9rem; /* Scales down gracefully on smaller screens */
  }
}

/* home page */

.container:has([class*="about-xlg-wrapper"]) {
  max-width: 100%;
}

#main:has([class*="about-xlg-wrapper"]) {
  padding: 0 !important;
}

/* HOME PAGE - FIGMA SECTIONS */

:root {
  --xlg-red: #d7282f;
  --xlg-card-navy: #0a2a5c;
  --xlg-border: #e3e9f1;
  --xlg-number-blue: #a8c0e0;
  --xlg-heading-font: "Montserrat", sans-serif;
}

.xlg-main-title,
.stat-number {
  font-family: var(--xlg-heading-font);
  font-weight: 700;
}

/* Remove the gap between the last home section and the footer */
body:has(.xlg-cta) .custom-footer {
  margin-top: 0 !important;
}

.xlg-section {
  padding: 72px 1.5rem;
}

.xlg-section--navy {
  background-color: var(--xlg-bg-blue);
}

/* All home headings share one size (client feedback) */
.xlg-section-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.xlg-section--navy .xlg-section-title {
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.xlg-section-lead {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.xlg-sub-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 72px 0 24px;
}

.xlg-red-bar {
  display: block;
  width: 32px;
  height: 3px;
  background-color: var(--xlg-red);
  margin: 14px 0 16px;
}

/* Mission & values */
.xlg-mission-title {
  max-width: none;
}

.xlg-mission-text {
  max-width: none;
}

.xlg-values {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.xlg-value {
  border-top: 2px solid var(--xlg-red);
  padding-top: 20px;
}

.xlg-value-title {
  color: var(--xlg-dark-blue);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.xlg-value-desc {
  color: var(--xlg-text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* "Ce que XLG propose" grid */
.xlg-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--xlg-border);
  border-left: 1px solid var(--xlg-border);
}

.xlg-benefit {
  padding: 28px 28px 32px;
  border-right: 1px solid var(--xlg-border);
  border-bottom: 1px solid var(--xlg-border);
}

.xlg-benefit-num {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #d6e4f5;
  font-family: var(--xlg-heading-font);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1;
}

.xlg-benefit-num::after {
  content: "";
  width: 24px;
  height: 2px;
  background-color: var(--xlg-red);
}

.xlg-benefit-title {
  color: var(--xlg-dark-blue);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.3;
  margin: 16px 0 10px;
}

.xlg-benefit-desc {
  color: var(--xlg-text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* Striped placeholder shown until a real image is set */
.xlg-job-card-media,
.xlg-video-card-media {
  background-color: #1c4a8f;
  background-image: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.04) 0 12px,
    transparent 12px 24px
  );
  background-size: cover;
  background-position: center;
}

/* "Nos offres d'emploi" cards */
.xlg-job-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.xlg-job-card,
.xlg-video-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: var(--xlg-card-navy);
  color: #ffffff;
  text-decoration: none !important;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.xlg-job-card:hover,
.xlg-video-card:hover {
  color: #ffffff;
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.xlg-job-card-media {
  aspect-ratio: 443 / 410;
  background-position: center top;
}

/* Text on a see-through navy panel over the bottom of the photo / video */
.xlg-job-card-body,
.xlg-video-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 42, 92, 0.72);
}

.xlg-job-card-body {
  padding: 24px 28px 28px;
}

.xlg-job-card-title,
.xlg-video-card-title {
  color: #ffffff;
  font-family: var(--xlg-heading-font);
  font-weight: 700;
  font-size: 1.75rem;
  margin: 0;
}

.xlg-job-card-link,
.xlg-video-card-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* "XLG en images" video cards */
.xlg-video-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.xlg-video-card-media {
  position: relative;
  aspect-ratio: 9 / 16; /* YouTube Shorts format */
  background: #0d0d0d;
  overflow: hidden;
}

.xlg-video-card-media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Red bar across the top of the video: it covers the YouTube title */
.xlg-video-tag {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  pointer-events: none;
  background-color: var(--xlg-red);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  /* the extra bottom space also covers the YouTube avatar and channel name */
  padding: 16px;
}

/* Solid panel (the YouTube text must not show through). Clicks go through to the video */
.xlg-video-card-body {
  padding: 18px 20px 22px;
  background-color: var(--xlg-card-navy);
  pointer-events: none;
}

.xlg-video-card-title {
  font-size: 1rem;
  line-height: 1.3;
}

.xlg-video-card-desc {
  font-size: 0.8rem;
}

/* CTA band */
.xlg-cta {
  background-color: #eef4fb;
  padding: 40px 1.5rem;
}

.xlg-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.xlg-cta-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin: 0;
}

.xlg-solid-btn {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.xlg-solid-btn:hover {
  background-color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
  color: #ffffff;
}

@media (max-width: 1199px) {
  .xlg-values,
  .xlg-benefits {
    grid-template-columns: repeat(3, 1fr);
  }

  .xlg-video-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

@media (max-width: 767px) {
  .xlg-benefit {
    padding: 24px 20px 28px;
  }
}

@media (max-width: 767px) {
  .xlg-section {
    padding: 48px 1rem;
  }

  .xlg-section-title,
  section.about-xlg-wrapper .xlg-main-title,
  .xlg-sub-title,
  .xlg-cta-title {
    font-size: 1.4rem;
  }

  .xlg-values,
  .xlg-benefits,
  .xlg-job-cards {
    grid-template-columns: 1fr;
  }

  .xlg-cta {
    padding: 32px 1rem;
  }
}

@media (max-width: 575px) {
  .xlg-video-cards {
    grid-template-columns: 1fr;
  }
}

.about-xlg-wrapper .about-content {
  margin: 0 12px;
}
/* Text & Typography */
/* "section" prefix so this wins over the home page's own inline CSS */
section .xlg-over-title {
  color: var(--xlg-medium-blue);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

section .xlg-main-title {
  color: var(--xlg-dark-blue);
  font-weight: 700;
  font-size: 1.75rem;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

/* Client request: in the two top sections the section label is the big heading,
   and the sentence under it is the small one (sizes swapped) */
section .xlg-over-title {
  font-size: 1.75rem;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

section .xlg-main-title,
.xlg-section-title.xlg-mission-title {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  section .xlg-over-title {
    font-size: 1.4rem;
  }

  section.about-xlg-wrapper .xlg-main-title,
  .xlg-section-title.xlg-mission-title {
    font-size: 0.85rem;
  }
}

.xlg-text-content p {
  color: var(--xlg-text-gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Button */
.xlg-outline-btn {
  border: 1px solid var(--xlg-medium-blue);
  color: var(--xlg-medium-blue);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 0;
  transition: all 0.3s ease;
}

.xlg-outline-btn:hover {
  background-color: var(--xlg-medium-blue);
  color: #ffffff;
}

/* Video Placeholder */

.yt-text {
  color: var(--xlg-text-gray);
  font-family: monospace;
  font-size: 0.75rem;
}

.decorative-bubble {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--xlg-medium-blue);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.p-bubble-left {
  top: 35%;
  left: 30%;
}

.p-bubble-right {
  bottom: 30%;
  right: 25%;
}

/* Stats Section */
.xlg-stats-section {
  background-color: var(--xlg-light-bg);
}

.xlg-stats-section .container {
  max-width: 100%;
}

.stat-block {
  border-left: 3px solid var(--xlg-medium-blue);
  padding-left: 20px;
  height: 100%;
}

.stat-number {
  color: var(--xlg-medium-blue);
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-subtitle {
  color: var(--xlg-dark-blue);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.stat-desc {
  color: #8da1bc; /* Lighter muted blue-gray */
  font-size: 0.85rem;
} /* Responsive Video Container */
.xlg-video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* Maintains the standard video aspect ratio */
  border-radius: 0; /* Optional: adds a slight curve to the video corners */
  overflow: hidden;
  background-color: #0d0d0d; /* Fills empty space while video loads */
}

/* Force iframe to fill the container completely */
.xlg-video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.main-title h1,
h1.greenH1 {
  font-size: 2.25rem;
  line-height: 1.2;
  position: relative;
  font-weight: 700 !important;
  font-family: var(--xlg-heading-font);
  color: var(--xlg-dark-blue);
}

/* no job */
.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found {
  display: flex;
  padding: 32px;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
  border: 1px solid var(--xlg-border);
  background: var(--xlg-light-bg);
}

.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card:has(.card-body.no-job-found) {
  border: none !important;
}

.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found
  h5 {
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
}

.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found
  .card-text
  p {
  color: var(--xlg-dark-blue);
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

/* for disable filter dropdown */
.disabled-dropdown {
  pointer-events: none;
  opacity: 0.5;
}
/* Joblist */
.modules-jobs-listing.ourjobs .job-count h3 {
  color: var(--xlg-dark-blue);
  text-align: start !important;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
}

.wave-overlay {
  position: absolute;
  bottom: -5px;
  width: 100%;
  height: auto;
  transform: rotateY(180deg);
}

.wave-overlay h1.greenH1 {
  color: #fff !important;
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translate(-55%, -150%) scaleX(-1);
}

.mm-container {
  width: 100%;
}

a.title-overflow-card {
  width: 100%;
}

a {
  color: var(--xlg-dark-blue);
  text-decoration: unset;
}

a:hover {
  color: var(--xlg-medium-blue);
  /* opacity: 0.8; */
}

.text-primary {
  color: var(--xlg-medium-blue) !important;
}

.btn-primary {
  background-color: var(--xlg-medium-blue);
  border-color: var(--xlg-medium-blue);
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
  /* opacity: 0.8; */
}

.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
  /* opacity: 0.8; */
}

.btn-primary:not(:disabled):not(.disabled).active:focus,
.btn-primary:not(:disabled):not(.disabled):active:focus,
.show > .btn-primary.dropdown-toggle:focus,
.btn-primary.focus,
.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem
    color-mix(in srgb, var(--xlg-medium-blue) 40%, transparent);
}

div.vacatures-accordion div.my-accordion-header div.new-version:after {
  color: var(--xlg-medium-blue);
}

/* div.jobs-list-container div.jobs-items .card .card-body:hover,
div.vacatures-accordion .card.card-body:hover {
  background: var(--xlg-medium-blue);
  border-radius: 0 !important;
} */

div.jobs-list-container div.jobs-items .card,
div.vacatures-accordion .card {
  border-radius: 0 !important;
}

div.jobs-list-container div.jobs-items .card .card-body,
div.vacatures-accordion .card.card-body {
  transition: all 0.05s ease-in-out !important;
}

div.jobs-list-container div.jobs-items div.location:before,
div.jobs-list-container div.jobs-items div.date:before,
div.vacatures-accordion div.jobs-items div.location:before,
div.vacatures-accordion div.jobs-items div.date:before {
  color: var(--xlg-medium-blue);
}

.job-item-container.jobs-items a:hover {
  text-decoration: none;
}

/* 2 column display job list */
div.jobs-list-container.columns-2 div.jobs-items .card,
div.jobs-list-container.columns-3 div.jobs-items .card,
div.jobs-list-container.columns-4 div.jobs-items .card,
div.jobs-list-container.columns-5 div.jobs-items .card {
  min-height: 100%;
}

div.jobs-list-container.columns-2 div.jobs-items .card .card-body,
div.jobs-list-container.columns-3 div.jobs-items .card .card-body,
div.jobs-list-container.columns-4 div.jobs-items .card .card-body,
div.jobs-list-container.columns-5 div.jobs-items .card .card-body {
  display: flex;
  flex-direction: column;
}

div.jobs-list-container.columns-2 div.jobs-items .card .card-body .teaser,
div.jobs-list-container.columns-3 div.jobs-items .card .card-body .teaser,
div.jobs-list-container.columns-4 div.jobs-items .card .card-body .teaser,
div.jobs-list-container.columns-5 div.jobs-items .card .card-body .teaser {
  flex-grow: 1;
}

div.jobs-list-container div.jobs-items .card:hover {
  background: var(--xlg-medium-blue);
  border-radius: 0 !important;
  color: #fff;
}

div.jobs-list-container div.jobs-items .card .mission-picture-container {
  overflow: hidden;
}

div.jobs-list-container div.jobs-items .card:hover .teaser.card-text.job-teaser,
div.jobs-list-container div.jobs-items .card:hover .job-info-container span {
  color: #fff;
}

div.jobs-list-container
  div.jobs-items
  .card
  .card-body
  .title.item.card-title
  .title-overflow {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  max-height: calc(1.5em * 2);
}

/* Job cat chip */
.job-item-container
  .title-overflow-card
  .card
  .card-body
  .job-info-container
  .job-info.job-cat
  span {
  display: flex;
  height: 30px;
  padding: 8px 16px;
  justify-content: center;
  align-items: center;
  gap: 4px;
  border-radius: 0;
  border: 1px solid var(--xlg-medium-blue);
  background: var(--White, #fff);
  color: var(--xlg-medium-blue);

  /* text detail */
  font-size: 12px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%; /* 14.4px */
  letter-spacing: -0.24px;
  text-transform: capitalize;
}

.card .card-body .teaser.card-text.job-teaser,
.job-info-container .job-date div span,
.job-info-container .job-location div span {
  color: #000000;
}

div.jobs-list-container
  div.jobs-items
  .card
  .card-body:hover
  .teaser.card-text.job-teaser,
div.jobs-list-container
  div.jobs-items
  .card
  .card-body:hover
  .job-info-container
  .job-date
  div
  span,
div.jobs-list-container
  div.jobs-items
  .card
  .card-body:hover
  .job-info-container
  .job-location
  div
  span {
  color: #ffff;
}

div.jobs-list-container
  div.jobs-items
  .card
  .card-body:hover
  div.location:before,
div.jobs-list-container div.jobs-items .card .card-body:hover div.date:before,
div.vacatures-accordion
  div.jobs-items
  .card
  .card-body:hover
  div.location:before,
div.vacatures-accordion div.jobs-items .card .card-body:hover div.date:before {
  color: var(--xlg-dark-blue);
}

.olContainer ul li .delete-cat-icons:after {
  color: var(--xlg-medium-blue);
}

.btn-outline-secondary {
  color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
}

.btn-outline-secondary:not(:disabled):not(.disabled).active,
.btn-outline-secondary:not(:disabled):not(.disabled):active,
.show > .btn-outline-secondary.dropdown-toggle,
.btn-outline-secondary:hover {
  color: #fff;
  background-color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
}

.btn-outline-secondary:not(:disabled):not(.disabled).active:focus,
.btn-outline-secondary:not(:disabled):not(.disabled):active:focus,
.show > .btn-outline-secondary.dropdown-toggle:focus,
.btn-outline-secondary.focus,
.btn-outline-secondary:focus {
  box-shadow: 0 0 0 0.2rem
    color-mix(in srgb, var(--xlg-dark-blue) 40%, transparent);
}

.list-group-item.active {
  background-color: var(--xlg-medium-blue);
  border-color: var(--xlg-medium-blue);
}

.badge-primary {
  background-color: var(--xlg-medium-blue);
}

.list-group-item.active .badge-primary {
  background-color: var(--xlg-dark-blue);
}

.active .badge-primary {
  color: var(--xlg-medium-blue);
}

/* CHECKBOX & RADIO BUTTONS */

.custom-control-input:checked ~ .custom-control-label::before {
  border-color: var(--xlg-dark-blue);
  background-color: var(--xlg-dark-blue);
}

/* NAVBAR */

/* Header Container Styles */
#header.main-header {
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

#header .navbar {
  background-color: #ffffff !important;
  padding: 15px 0;
}

.container-nav {
  width: 100%;
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
  margin: 0 1.5rem;
}

/* Logo Sizing */
#header .navbar-brand {
  padding: 0;
  margin-right: 40px;
}

.logo-image {
  max-height: 60px;
  width: auto;
}

/* Navbar Links / Menu Items */
#header .navbar-nav .nav-link {
  color: var(--xlg-dark-blue) !important;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 15px !important;
  transition: color 0.2s ease;
  text-align: center;
}

#header .navbar-nav .nav-link:hover,
#header .navbar-nav:last-of-type .nav-link.nav-lang:hover {
  color: var(--xlg-medium-blue) !important;
}

/* Active Link Underline Indicator (matches the red line in the image) */
#header .navbar-nav .nav-item.active .nav-link {
  color: var(--xlg-medium-blue) !important;
  position: relative;
}

#header .navbar-nav .nav-item.active .nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 15px;
  right: 15px;
  height: 2px;
  background-color: var(
    --xlg-red
  ); /* Red highlight line shown under active item */
}

/* Language Switcher Styling (FR | NL | EN) */
#header .navbar-nav:last-of-type {
  align-items: center;
  gap: 5px;
}

#header .navbar-nav:last-of-type .nav-link.nav-lang.active {
  color: var(--xlg-dark-blue) !important;
}

#header .navbar-nav:last-of-type .nav-link.nav-lang {
  font-weight: 600;
  color: var(--xlg-text-gray) !important;
  padding: 5px 8px !important;
}

/* "Voir les offres" Button Styling */
#header .item-job-offers .nav-link {
  background-color: var(--xlg-bg-blue) !important; /* Solid blue button */
  color: #ffffff !important;
  font-weight: 600;
  padding: 10px 22px !important;
  margin-left: 15px;
  transition: background-color 0.2s ease;
  text-align: center;
}

#header .item-job-offers .nav-link:hover {
  opacity: 0.8;
  color: #ffffff !important;
}

/* Ensure proper alignment on desktop view */
@media (min-width: 992px) {
  #header .navbar-collapse {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
  }
}

/* Mobile Toggle (Hidden on Desktop) */
.mob-navbar-header {
  display: none;
}

.navbar-toggle {
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.navbar-toggle .icon-bar {
  display: block;
  width: 27px;
  height: 3px;
  background-color: var(--xlg-dark-blue);
  margin: 4px 0;
}

/* Responsive Logic */
@media (max-width: 991px) {
  .mob-navbar-header {
    display: block;
  }

  #header .navbar-light .navbar-nav .nav-link.active,
  #header .navbar-light .navbar-nav .active > .nav-link,
  #header .navbar-light .navbar-nav .nav-link.show {
    padding: 0.5rem 0;
  }

  #header .navbar-light .navbar-nav .nav-link {
    padding: 0.5rem 0;
  }

  #header .navbar-light .navbar-nav .nav-item.dropdown > .nav-link,
  #header .navbar-light .navbar-nav .nav-item.dropdown.show > .nav-link {
    width: fit-content;
    margin: auto;
  }

  /* Hamburger to "X" Animation */
  .navbar-toggle.active .icon-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar-toggle.active .icon-bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active .icon-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .navbar-toggle .icon-bar {
    transition: all 0.3s ease;
    display: block;
    width: 22px;
    height: 2px;
    background-color: #333;
    margin: 6px 0;
  }

  .main_nav .menu {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
    align-items: flex-start;
  }

  .header-content-wrapper {
    padding: 10px 20px;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
  }
}

/* PAGINATION */

/* Target the specific pager wrapper that is trapped in the columns */
.pager-container.ourjobsinfo
  .pager-content.col-xs-12.col-sm-4.col-md-6.col-lg-6 {
  width: 100% !important;
  max-image-width: 100% !important;
  flex: 0 0 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  float: none !important; /* Forces it out of the older float-based grids */
}

/* Ensure the inner pager container is a flexbox for space-between */
.pager-container.ourjobsinfo .pager-container.ourjobsinfo {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
}

/* Ensure the results text and page numbers are on opposite sides */
.showing {
  flex: 1;
  text-align: left;
}

.pager-content {
  flex: 1;
  text-align: right;
}

.pager-center {
  display: inline-flex !important;
  justify-content: flex-end;
  gap: 8px;
}

.pager-content .pager-container.ourjobsinfo .showing span,
.pager-content .pager-container.ourjobsinfo .showing span a {
  color: var(--xlg-medium-blue);
  font-weight: 700;
}

.pager-content .pager-container.ourjobsinfo .showing span a:hover {
  text-decoration: none;
  color: var(--xlg-medium-blue) !important;
}

.pager-content span.pageNumDisabled {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
  color: #fff !important;
}

.pager-content a.pageNumActive {
  color: var(--xlg-medium-blue);
}

.pager-content a.pageNumActive:hover {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
}

.pager-content a.page .pagePrec {
  color: var(--xlg-medium-blue);
}

.pager-content a.page .pagePrec:hover {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
}

.pager-content a.page .pageFirst {
  color: var(--xlg-medium-blue);
}

.pager-content a.page .pageFirst:hover {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
}

.pager-content a.page .pageSuiv {
  color: var(--xlg-medium-blue);
}

.pager-content a.page .pageSuiv:hover {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
}

.pager-content a.page .pageLast {
  color: var(--xlg-medium-blue);
}

.pager-content a.page .pageLast:hover {
  background-color: var(--xlg-medium-blue);
  border: 1px solid var(--xlg-medium-blue);
}

/* JOB DETAILS SHARING BAR */

.jobdetail .share li a:hover::before,
.jobdetail .share li a:active::before,
.jobdetail .share li a:focus::before,
.jobdetail .share li.pdf a:hover::before,
.jobdetail .share li.pdf a:focus::before,
.jobdetail .share li.pdf a:active::before {
  background: var(--xlg-medium-blue);
}

.jobdetail .share li a:hover,
.jobdetail .share li a:active,
.jobdetail .share li a:focus {
  background: var(--xlg-medium-blue) !important;
}

/* TITLES */

.jobs-details .main > h5,
.title-Myjob-h1 {
  color: var(--xlg-medium-blue) !important;
}

/* Cookie "manage consent" button (bottom-left): XLG blob icon instead of the round cookie button.
   The button has inline styles, so the overrides need !important. */
.consent-reopen-button {
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230e55bb' d='M21.662 2.821C18.866.025 11.663-.252 5.124 5.422-.987 10.725-.89 17.107 3.87 20.613c4.443 3.272 10.542 3.802 15.191-1.256 5.648-6.144 5.399-13.74 2.601-16.536'/%3E%3Cpath fill='%23fff' d='M8.104 14.644a.567.567 0 0 1-.804 0h-.001l-2.53-2.529a.57.57 0 0 1 .805-.807l2.128 2.127 6.186-6.185a.57.57 0 0 1 .805.805zm4.895-1.92a.546.546 0 0 1-.387-.93l4.047-4.047a.55.55 0 0 1 .774 0 .55.55 0 0 1 0 .774l-4.046 4.047a.55.55 0 0 1-.388.156m4.964 1.236-1.593 1.591a.544.544 0 0 1-.773 0 .55.55 0 0 1 0-.774l1.594-1.594a.547.547 0 1 1 .79.755l-.016.017zm0-2.985-3.085 3.084a.549.549 0 0 1-.774-.775l3.087-3.087a.549.549 0 0 1 .774.775z'/%3E%3C/svg%3E")
    center / contain no-repeat !important;
  color: transparent !important;
  font-size: 0 !important;
  filter: drop-shadow(0 2px 6px rgba(11, 31, 63, 0.25));
  transition: transform 0.2s ease;
}

.consent-reopen-button i {
  display: none;
}

.consent-reopen-button:hover,
.consent-reopen-button:focus-visible {
  transform: scale(1.08);
}

/* COOKIES - floating card, bottom-left (text stays as configured) */

.rhc-banner {
  position: fixed !important;
  left: 24px !important;
  right: auto !important;
  bottom: 24px !important;
  width: min(525px, calc(100% - 48px)) !important;
  padding: 0 !important;
  background: #fff !important;
  border: 0 !important;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(11, 31, 63, 0.18);
  overflow: hidden;
}

.rhc-banner .rhc-banner__content {
  display: flex !important;
  flex-wrap: wrap;
  align-items: stretch;
  max-width: none;
  margin: 0;
  padding: 0 !important;
}

.rhc-banner__content__message {
  flex: 1 0 100%;
  padding: 28px 28px 22px;
  color: #4a5568 !important;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.5em !important;
}

.rhc-banner__content__message p {
  margin: 0;
}

.rhc-banner__content__message p:empty {
  display: none;
}

.rhc-banner__content__message a {
  display: inline-block;
  margin-top: 6px;
  text-decoration: underline !important;
  color: var(--xlg-medium-blue) !important;
  font-weight: 500 !important;
}

.rhc-banner__content__message a:hover {
  text-decoration: none !important;
  color: var(--xlg-dark-blue) !important;
}

/* Buttons: equal text buttons in a bottom row, separated by thin lines */
.rhc-banner__content .consent-decline,
.rhc-banner__content .consent-approve {
  flex: 1 1 0;
  min-width: 0;
  height: 56px;
  margin: 0 !important;
  padding: 0 16px;
  background-color: #fff !important;
  border: 0;
  border-top: 1px solid var(--xlg-border);
  border-radius: 0;
  box-shadow: none !important;
  color: #1f2937 !important;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  transition: background-color 0.2s ease;
}

.rhc-banner__content .consent-decline {
  border-right: 1px solid var(--xlg-border);
}

.rhc-banner__content .consent-approve {
  color: var(--xlg-dark-blue) !important;
  font-weight: 700;
}

.rhc-banner__content .consent-decline:hover,
.rhc-banner__content .consent-approve:hover {
  background-color: var(--xlg-light-bg) !important;
  border-color: var(--xlg-border);
  box-shadow: none !important;
  color: var(--xlg-dark-blue) !important;
  text-decoration: none;
}

@media (max-width: 575px) {
  .rhc-banner {
    left: 16px !important;
    bottom: 16px !important;
    width: calc(100% - 32px) !important;
  }

  .rhc-banner__content__message {
    padding: 22px 20px 18px;
    font-size: 0.9rem;
  }
}

/* 
.cc-message .cc-link,
.cc-banner .cc-btn.cc-deny {
  color: var(--xlg-medium-blue) !important;
}

.cc-message .cc-link:hover,
.cc-message .cc-link:focus,
.cc-banner .cc-btn.cc-deny:hover,
.cc-banner .cc-btn.cc-deny:focus {
  color: var(--xlg-dark-blue) !important;
}

.cc-animate.cc-revoke.cc-bottom {
  color: var(--xlg-medium-blue) !important;
  border-top: 3px solid var(--xlg-dark-blue) !important;
  background: #f8f9fa !important;
} */

/* SELECT2 */

.select2-container--bootstrap4 .select2-results__option--highlighted,
.select2-container--bootstrap4
  .select2-results__option--highlighted.select2-results__option[aria-selected="true"] {
  background-color: var(--xlg-medium-blue) !important;
}

div.talentfinder-autocompleter.label
  div.MuiAutocomplete-root.MuiAutocomplete-root {
  width: 100% !important;
}
/* APPLICATION FORMS (Figma) - self-application + job application, and any future form */

/* Upload buttons are Material UI widgets with their own Roboto font: use the site font */
.MuiButtonBase-root,
.MuiTypography-root,
.MuiInputBase-root {
  font-family: "Montserrat", sans-serif !important;
}

/* --- Page header --- */
.application_form {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 0 64px;
}

.application_form .main-title {
  padding-bottom: 0 !important;
}

.application_form .main-title h1.greenH1,
.application_form .main-title .greenH1 {
  color: var(--xlg-dark-blue) !important;
  font-family: var(--xlg-heading-font);
  font-size: 2rem;
  font-weight: 700 !important;
  line-height: 1.2;
  margin: 0 0 24px;
}

.application_form .intro {
  color: #4a5568;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.application_form .intro p {
  margin: 0 0 4px;
}

.application_form .intro br {
  display: none;
}

.application_form .intro .nonEditableClient {
  color: var(--xlg-dark-blue);
}

/* --- Sections --- */
.form-template .form-plugin {
  margin-bottom: 32px;
}

.form-template .title-Myjob-h1,
.application_form .title-Myjob-h1 {
  color: var(--xlg-dark-blue) !important;
  font-family: var(--xlg-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 40px 0 20px !important;
}

.form-template .title-Myjob-h1::after,
.application_form .title-Myjob-h1::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 8px;
  background-color: var(--xlg-red);
}

/* --- Rows: label on the left, field on the right --- */
.form-template .line {
  margin-bottom: 12px;
}

.form-template label,
.form-template .radio-group > label,
.form-template .checkbox-group > label {
  color: #1f2937;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0;
}

#questioninfo #complete-form-container .contact-info .line .radio-group,
#questioninfo
  #complete-form-container
  .contact-info
  .line
  .talentfinder-textfield-label,
#questioninfo
  #complete-form-container
  .address-info
  .line
  .talentfinder-textfield-label,
#questioninfo
  #complete-form-container
  .address-info
  .line
  .talentfinder-select-label,
#questioninfo
  #complete-form-container
  .address-info
  .line
  .talentfinder-autocompleter,
.position-preference
  .application-from
  .line
  .geographical-area
  .checkbox-group.inline-label,
.form-template .radio-group.inline-label,
.form-template .checkbox-group.inline-label {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
}

#questioninfo
  #complete-form-container
  .address-info
  .line.address-postalCode
  div.talentfinder-autocompleter.label
  div.MuiAutocomplete-root.MuiAutocomplete-root {
  width: 100% !important;
}

/* Stacked label (label above field) */
.position-preference .line .talentfinder-select-label,
.position-preference .remuneration-package .line .talentfinder-select-label,
.position-profile
  .remuneration-package
  .line.input-select
  .talentfinder-select-label,
#self-application-disclaimer
  .person-base
  #self-application-disclaimer
  .line
  .talentfinder-select-label,
#self-application-disclaimer
  .person-base
  #self-application-disclaimer
  .line
  .talentfinder-textfield-label,
#self-application-disclaimer
  .person-legal
  #self-application-disclaimer
  .line
  .talentfinder-select-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* --- Text fields, selects, autocompleters, textareas (MUI outlined) --- */
.form-template .MuiOutlinedInput-root {
  background-color: #ffffff;
  border-radius: 0;
  color: #1f2937;
  font-family: inherit;
  font-size: 0.9rem;
}

.form-template .MuiOutlinedInput-input,
.form-template .MuiSelect-select {
  padding: 9px 12px;
  height: auto;
  min-height: 20px;
}

.form-template .MuiInputBase-multiline {
  padding: 10px 12px;
}

.form-template .MuiAutocomplete-root .MuiOutlinedInput-root {
  padding: 3px 40px 3px 6px;
}

.form-template .MuiOutlinedInput-notchedOutline {
  border-color: #c9d2dd;
  border-radius: 0;
}

.form-template .MuiOutlinedInput-root:hover .MuiOutlinedInput-notchedOutline {
  border-color: #8a97a8;
}

.form-template
  .MuiOutlinedInput-root.Mui-focused
  .MuiOutlinedInput-notchedOutline {
  border-color: var(--xlg-medium-blue);
  border-width: 1px;
}

.form-template
  .MuiOutlinedInput-root.Mui-error
  .MuiOutlinedInput-notchedOutline {
  border-color: var(--xlg-red);
}

.form-template .MuiFormHelperText-root {
  margin: 4px 0 0;
  font-size: 0.75rem;
}

.form-template .MuiFormHelperText-root.Mui-error {
  color: var(--xlg-red);
}

/* Selects: label above, full width (MUI Select uses autoWidth) */
.form-template .talentfinder-select-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-template .talentfinder-select-label .MuiInputBase-root {
  width: 100%;
}

/* --- Radios & checkboxes --- */
.form-template .MuiFormGroup-root {
  column-gap: 16px;
}

.form-template .MuiFormControlLabel-root {
  margin-left: -6px;
  margin-right: 0;
}

.form-template .MuiRadio-root,
.form-template .MuiCheckbox-root {
  padding: 6px;
  color: #9aa5b1;
}

.form-template .MuiRadio-root svg,
.form-template .MuiCheckbox-root svg {
  width: 18px;
  height: 18px;
}

.MuiRadio-colorPrimary svg,
.MuiCheckbox-colorPrimary svg {
  fill: currentColor !important;
}

.MuiRadio-colorPrimary.Mui-checked,
.MuiCheckbox-colorPrimary.Mui-checked {
  color: var(--xlg-dark-blue) !important;
}

.form-template .MuiFormControlLabel-label {
  color: #374151;
  font-family: inherit;
  font-size: 0.85rem;
}

/* --- File upload (CV + extra documents) --- */
.tableBox {
  display: flex;
  flex-direction: column;
}

.tableBox .tableFoot {
  order: 1;
  padding: 20px 24px;
  background-color: var(--xlg-card-navy);
  border: 0;
  border-radius: 0;
  transition: background-color 0.2s ease;
}

.tableBox .tableFoot:hover {
  background-color: #0d3470 !important;
}

.tableBox .upload-img {
  display: none;
}

#upload-cv-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.message-container {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.message-container .title-file {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  padding-bottom: 4px;
}

.message-container .extension-file {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  font-weight: 400;
  padding-bottom: 0.5rem;
}

#upload-cv-container button,
.tableFoot:hover #upload-cv-container button {
  flex: none;
  width: fit-content;
  height: 38px;
  padding: 0 20px;
  background: var(--xlg-dark-blue) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 0;
  box-shadow: none;
  color: #ffffff !important;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  outline: none;
}

#upload-cv-container button:hover {
  background: #000000 !important;
}

.tableBox .tableTitle {
  order: 3;
  display: grid;
  grid-template-columns: 5fr 2fr 3fr 1fr;
  margin-top: 24px;
  padding: 1.75rem;
  border-top: 0;
  border-bottom: 1px solid var(--xlg-border);
  color: #6b7280;
  font-size: 0.75rem;
  vertical-align: bottom;
}

.tableBox .curriculum-vitae,
.tableBox .emply {
  order: 3;
}

.application-files .file {
  padding: 1.75rem;
  align-items: center;
  display: grid;
  grid-template-columns: 2fr 2fr 2fr;
}

#uploadcv .file {
  padding: 1.75rem;
  align-items: center;
  display: grid;
  /* grid-template-columns: 2fr 2fr 2fr; */
  grid-template-columns: 5fr 2fr 3fr 1fr;
}

.tableBox .curriculum-vitae .file .delete {
  text-align: end;
  color: var(--xlg-text-gray) !important;
  margin-top: 0 !important;
}

.tableBox .curriculum-vitae .file .delete:hover {
  color: var(--xlg-red) !important;
}

/* --- Disclaimer / GDPR checkboxes --- */
.form-template .disclaimer-blocks-content {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-left: 0;
}

.form-template .disclaimer-blocks-content .custom-control-label.text::before,
.form-template .disclaimer-blocks-content .custom-control-label.text::after {
  display: none;
}

.form-template .disclaimer-blocks-content .custom-control-label.text p {
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 6px 0 0;
}

.form-template .disclaimer-blocks-content a {
  color: var(--xlg-medium-blue) !important;
  font-family: "Montserrat", sans-serif !important;
}

/* --- Submit --- */
.form-template .jobs-details-apply-free-container #apply-btn,
.form-template .jobs-details-apply-free-container .application-forms {
  width: 100%;
}

.form-template .fta-detail-submit,
.form-template .fta-detail-submit.btn-primary {
  width: 100%;
  height: 48px;
  margin: 16px 0 0 !important;
  background-color: var(--xlg-red);
  border: 1px solid var(--xlg-red);
  border-radius: 0;
  box-shadow: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
}

.form-template .fta-detail-submit:hover,
.form-template .fta-detail-submit:focus,
.form-template
  .fta-detail-submit.btn-primary:not(:disabled):not(.disabled):active {
  background-color: #b51f25;
  border-color: #b51f25;
  box-shadow: none;
}

@media (max-width: 767px) {
  .application_form {
    padding: 24px 0 40px;
  }

  .application_form .main-title h1.greenH1,
  .application_form .main-title .greenH1 {
    font-size: 1.6rem;
  }

  #questioninfo #complete-form-container .contact-info .line .radio-group,
  #questioninfo
    #complete-form-container
    .contact-info
    .line
    .talentfinder-textfield-label,
  #questioninfo
    #complete-form-container
    .address-info
    .line
    .talentfinder-textfield-label,
  #questioninfo
    #complete-form-container
    .address-info
    .line
    .talentfinder-select-label,
  #questioninfo
    #complete-form-container
    .address-info
    .line
    .talentfinder-autocompleter,
  .position-preference
    .application-from
    .line
    .geographical-area
    .checkbox-group.inline-label,
  .form-template .radio-group.inline-label,
  .form-template .checkbox-group.inline-label {
    grid-template-columns: 1fr;
    row-gap: 6px;
  }

  #upload-cv-container {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* language form */
.myjobsite-language-table {
  display: inline-table !important;
}

#language-skills
  table.myjobsite-language-table
  td
  .talentfinder-select-label
  .MuiInputBase-root.MuiOutlinedInput-root {
  width: 75% !important;
}

/* My Profile */

.row.myjobsite-breadcrumb .backgroundcolor.current::before {
  background: var(--xlg-medium-blue) !important;
}

.row.myjobsite-breadcrumb .backgroundcolor.current::after {
  border: 4px solid var(--xlg-medium-blue) !important;
  background: #fff !important;
}

.row.myjobsite-breadcrumb .backgroundcolor::before {
  background: var(--xlg-medium-blue) !important;
}

.row.myjobsite-breadcrumb .backgroundcolor::after {
  border: 4px solid var(--xlg-medium-blue) !important;
  background: var(--xlg-medium-blue) !important;
}

.modules-myjobsite-personal #form-candidate-image .upload-image-container,
.modules-myjobsite-personal
  #form-candidate-image
  .upload-image-container
  .button-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.modules-myjobsite-personal
  #form-candidate-image
  .upload-image-container
  .button-container {
  margin-top: 2rem;
}

/* language */
.myjobsite-language-table {
  display: inline-table !important;
}

#language-skills
  table.myjobsite-language-table
  td
  .talentfinder-select-label
  .MuiInputBase-root.MuiOutlinedInput-root {
  width: 75% !important;
}

/* jobdetail page */

.jobdetail .content-container .jobs-details .row div p img {
  width: 100%;
}

/* div.apply-option-container {
  display: none;
} */

.postion-opening .extra-info-content .content-title,
.postion-opening .organization-info-content .content-title {
  color: var(--xlg-text-gray) !important;
}

a.info-website-text {
  color: var(--xlg-medium-blue) !important;
  text-decoration: none;
  cursor: pointer;
}

.postion-opening.organization-info
  .organization-info-content.organization-name {
  font-weight: 500;
  line-height: 1.2;
}

.jobdetail .share li.back-to-list a {
  color: var(--xlg-medium-blue) !important;
}

.jobdetail .share li.show_all a:hover {
  background: var(--xlg-medium-blue) !important;
  color: #fff !important;
}

/* LOGO HEADER */

.logo-container img.logo-image {
  width: auto;
  height: 40px;
  flex-shrink: 0;
}

#header .bg-light.navbar {
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.4);
  padding: 12px;
}

/* slogan */

.career-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.career-intro span {
  color: var(--xlg-text-gray);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%; /* 43.2px */
}

.career-intro h1 {
  color: var(--xlg-dark-blue);
  font-size: 56px;
  font-style: normal;
  font-weight: 600;
  line-height: 120%;
  text-align: center;
  font-family: var(--xlg-heading-font);
}

.career-intro h2 {
  font-size: 28px;
}

.career-intro p {
  color: var(--xlg-dark-blue);
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 180%;
  font-family: var(--font-family);
}

/* header button */

.button-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 24px 0 0;
  justify-content: center;
}

.menu-button a {
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.menu-button {
  border: 1px solid #000;
  background-color: #fff;
  color: #000;
  font-size: 14px;

  display: flex;
  width: 180px;
  height: 60px;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 12px;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;

  /* for button that not assign link yet */
  color: #000;
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.menu-button.active,
.menu-button.active a {
  background-color: var(--xlg-medium-blue);
  color: #fff;
  border-color: transparent;
}
.menu-button:hover:not(.active) {
  background-color: var(--xlg-light-bg) !important;
}

.menu-button a:hover:not(.active) {
  text-decoration: none;
}

/* filter */

/* Hide Checkboxes and Plugin Header junk */
.filter input[type="checkbox"],
.filter .plugins-title,
.filter .card-header,
.filter .main-category .cat-item-count {
  display: none !important;
}

.filter-container .navbar-nav .nav-item .nav-link.dropdown-toggle {
  color: var(--xlg-dark-blue) !important;
}

.filter-container {
  gap: 24px;
  /* for not overlay b/w 2 filter use 5em */
}

.filter-container .dropdown-menu.filter-menu {
  position: absolute !important;
  border: none;
}

.filter-container .navbar-nav:first-of-type .dropdown-menu.filter-menu {
  transform: translateX(-140px);
}

.filter-container .navbar-nav:last-of-type .dropdown-menu.filter-menu {
  transform: translateX(0px);
}

.filter-container .dropdown-menu.filter-menu .card .card-body .plugins-title {
  display: none;
}
.filter-container .dropdown-menu.filter-menu .card .card-body {
  width: max-content;
}

.filter-container .dropdown-menu.filter-menu .card .card-body .main-category a {
  font-weight: 700;
  color: var(--xlg-dark-blue) !important;
}

.filter-container
  .dropdown-menu.filter-menu
  .card
  .card-body
  .main-category
  .cat-item-count {
  display: none;
}

.filter-container
  .dropdown-menu.filter-menu
  .card
  .card-body
  .sub-category
  .sub-item
  label.custom-control-label:not(:has(a)) {
  display: none;
}

/* JOB LISTING FILTER (Figma) */

.filter-card {
  background-color: #ffffff;
  border: 0;
  border-bottom: 1px solid var(--xlg-border);
  border-radius: 0;
  padding: 28px 0 28px;
  margin-bottom: 32px;
  position: relative;
  z-index: 10;
}

.filter-main-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 0 16px;
}

/* 3 columns like the design (the Statut column is not used yet) */
.filter-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.filter-item {
  position: relative;
  min-width: 0;
}

.filter-label {
  display: block;
  color: var(--xlg-dark-blue);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* --- SELECT BOX TRIGGER --- */
.filter-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 44px;
  padding: 0 14px;
  background-color: #ffffff;
  border: 1px solid #c9d2dd;
  border-radius: 0;
  color: #3c4858 !important;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: border-color 0.2s ease;
}

.filter-toggle:hover,
.filter-item.activated .filter-toggle {
  border-color: var(--xlg-medium-blue);
}

.filter-toggle i {
  color: var(--xlg-dark-blue);
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.filter-item.activated .filter-toggle i {
  transform: rotate(180deg);
}

.selected-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-item.is-selected .selected-label {
  color: var(--xlg-dark-blue);
  font-weight: 600;
}

/* --- DROPDOWN LIST (opened by custom.js: .activated / .deactivated) --- */
.filter-item .dropdown-menu.filter-menu.actionMenuContent {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  min-width: 0;
  margin-top: 4px;
  padding: 6px 0;
  background-color: #ffffff;
  border: 1px solid #c9d2dd;
  border-radius: 0;
  box-shadow: 0 12px 24px rgba(11, 31, 63, 0.12);
  z-index: 1000;
  max-height: 320px;
  overflow-y: auto;
}

/* Remove the plugin's own card / checkbox / title chrome */
.filter-menu #accordion,
.filter-menu .card,
.filter-menu .card-body {
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.filter-menu input[type="checkbox"],
.filter-menu .plugins-title,
.filter-menu .card-header,
.filter-menu .icon,
.filter-menu .custom-control-label::before,
.filter-menu .custom-control-label::after {
  display: none !important;
}

.filter-menu .custom-control {
  padding-left: 0;
  min-height: 0;
}

.filter-menu .custom-control-label {
  display: block;
  margin: 0;
}

/* --- LIST ROWS --- */
.filter-menu a {
  display: block;
  padding: 9px 14px;
  background-color: transparent;
  color: #3c4858 !important;
  font-size: 0.9rem;
  font-weight: 400;
  text-decoration: none !important;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
}

.filter-menu a:hover {
  background-color: #eef4fb;
  color: var(--xlg-medium-blue) !important;
}

/* "View all" row */
.filter-menu .main-category.reset-link {
  display: block;
  padding: 0;
  margin: 0 0 4px;
  border: 0;
  border-bottom: 1px solid var(--xlg-border);
  border-radius: 0;
  text-align: left;
}

.filter-menu .main-category.reset-link a {
  color: var(--xlg-medium-blue) !important;
  font-weight: 600;
}

/* Job categories: main categories with their sub-categories indented underneath */
.filter-menu .sub-category a {
  padding-left: 32px;
  font-size: 0.85rem;
}

.filter-menu .cat-item-count {
  margin-left: 4px;
  color: var(--xlg-text-gray);
}

/* Sub-category rows: the count sits next to the link (not inside it), keep both on one line */
.filter-menu .sub-item .custom-control-label {
  display: flex;
  align-items: center;
}

.filter-menu .sub-item .custom-control-label > a {
  flex: 1 1 auto;
  min-width: 0;
}

.filter-menu .sub-item .cat-item-count {
  flex: none;
  padding-right: 14px;
}

/* Selected value */
.filter-menu .isActive > label > a,
.filter-menu .isActive .custom-control-label > a,
.filter-menu .sub-item.isActive a {
  background-color: #eef4fb;
  color: var(--xlg-medium-blue) !important;
  font-weight: 700;
}

/* Job counts */
.filter-menu .cat-item-count {
  background-color: transparent;
  color: var(--xlg-text-gray);
  font-size: 0.8rem;
  font-weight: 400;
  padding: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 767px) {
  .filter-card {
    padding: 20px 0;
  }

  .filter-row {
    grid-template-columns: 1fr;
  }
}

/* JOB LISTING CARDS (Figma) */

.card-img,
.card-img-top {
  border-top-right-radius: 0 !important;
}

/* TFFT-4648: equal columns, so every card (and so every picture) has the same width.
   The columns-N class is set by the platform. */
div.jobs-list-container.jobs-dynamic-grid.columns-1 {
  grid-template-columns: 1fr;
}

div.jobs-list-container.jobs-dynamic-grid.columns-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

div.jobs-list-container.jobs-dynamic-grid.columns-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

div.jobs-list-container.jobs-dynamic-grid.columns-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

div.jobs-list-container.jobs-dynamic-grid div.jobs-items {
  min-width: 0;
}

/* TFFT-4648: every job card picture gets the same area, whatever the uploaded size.
   The image fills it and is cropped, never stretched. */
div.jobs-list-container
  div.jobs-items
  .card.xlg-job
  .mission-picture-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: var(--xlg-light-bg);
  flex: 0 0 auto;
}

div.jobs-list-container div.jobs-items .card.xlg-job .mission-picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* A job published without a picture keeps the same area: XLG logo on the dark blue */
div.jobs-list-container
  div.jobs-items
  .card.xlg-job
  .mission-picture-container.is-empty {
  background-color: var(--xlg-dark-blue);
  background-image: url("https://cdn.talentfinder.be/xlg2026/Ressources/Images/XLG-logo-white.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 96px auto;
}

/* Cards in the same row keep the same height */
div.jobs-list-container div.jobs-items .xlg-job-link {
  display: flex;
  height: 100%;
}

div.jobs-list-container div.jobs-items .card.xlg-job {
  height: 100%;
}

div.jobs-list-container div.jobs-items .card.xlg-job .card-body.xlg-job-main {
  flex: 1 1 auto;
}

div.jobs-list-container div.jobs-items .card.xlg-job {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  color: inherit;
  border: 1px solid var(--xlg-border);
  border-left: 4px solid var(--xlg-dark-blue);
  border-radius: 0 !important;
  box-shadow: none;
  overflow: hidden;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

div.jobs-list-container div.jobs-items .card.xlg-job:hover {
  background-color: #ffffff;
  color: inherit;
  border-radius: 0 !important;
  border-left-color: var(--xlg-medium-blue);
  box-shadow: 0 8px 24px rgba(11, 31, 63, 0.08);
}

.jobs-items .xlg-job-link,
.jobs-items .xlg-job-link:hover {
  color: inherit;
  text-decoration: none !important;
}

div.jobs-list-container div.jobs-items .card.xlg-job .card-body.xlg-job-main {
  display: block;
  padding: 24px 28px;
}

/* Older/common rules paint .card-body in the primary color on hover: keep the card white */
div.jobs-list-container
  div.jobs-items
  .card.xlg-job
  .card-body.xlg-job-main:hover,
div.jobs-list-container
  div.jobs-items
  .card.xlg-job:hover
  .card-body.xlg-job-main {
  background: transparent !important;
  border-radius: 0 !important;
  color: inherit !important;
}

div.jobs-list-container div.jobs-items .card.xlg-job:hover .xlg-job-teaser {
  color: #4a5568 !important;
}

div.jobs-list-container div.jobs-items .card.xlg-job:hover .xlg-job-title,
div.jobs-list-container div.jobs-items .card.xlg-job:hover .xlg-job-title span {
  color: var(--xlg-dark-blue) !important;
}

div.jobs-list-container div.jobs-items .card.xlg-job:hover .xlg-chip {
  color: #4a5568 !important;
}

.xlg-job-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
}

.xlg-job-heading {
  min-width: 0;
}

.xlg-job-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.xlg-chip {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  background-color: #ffffff;
  border: 1px solid #c9d2dd;
  color: #4a5568;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1;
}

/* Solid chip (e.g. organization) - ready for when the API sends it */
.xlg-chip--solid {
  background-color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.xlg-job .xlg-job-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
  padding: 0;
}

.xlg-job-logo {
  flex: none;
  max-width: 96px;
  max-height: 48px;
  object-fit: contain;
}

.xlg-job-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 18px;
  background-color: #ffffff;
  border: 1px solid var(--xlg-dark-blue);
  color: var(--xlg-dark-blue);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.xlg-job:hover .xlg-job-btn {
  background-color: var(--xlg-dark-blue);
  color: #ffffff;
}

.xlg-job .xlg-job-teaser {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 900px;
  margin: 16px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bottom strip: columns share the width equally (location + date for now) */
.xlg-job-meta {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  border-top: 1px solid var(--xlg-border);
}

.xlg-job-meta-item {
  min-width: 0;
  padding: 18px 28px;
}

.xlg-job-meta-item + .xlg-job-meta-item {
  border-left: 1px solid var(--xlg-border);
}

.xlg-job-meta-label {
  display: block;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.xlg-job-meta-value {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #1f2937;
  font-size: 0.95rem;
}

.xlg-job-meta-value svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--xlg-dark-blue);
}

.xlg-job-meta-value span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* No job found state in XLG colors */
.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found {
  background: #ffffff;
  border: 1px solid var(--xlg-border);
  border-left: 4px solid var(--xlg-dark-blue);
  border-radius: 0;
  padding: 40px 28px;
}

.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found
  h5 {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-size: 1.5rem;
  font-weight: 700;
}

.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found
  .card-text
  p {
  color: var(--xlg-text-gray);
  font-size: 1rem;
  margin: 0;
}

@media (max-width: 767px) {
  div.jobs-list-container div.jobs-items .card.xlg-job .card-body.xlg-job-main {
    padding: 20px;
  }

  .xlg-job-head {
    flex-direction: column;
    gap: 16px;
  }

  .xlg-job .xlg-job-title {
    font-size: 1.25rem;
  }

  .xlg-job-meta {
    grid-auto-flow: row;
  }

  .xlg-job-meta-item {
    padding: 14px 20px;
  }

  .xlg-job-meta-item + .xlg-job-meta-item {
    border-left: 0;
    border-top: 1px solid var(--xlg-border);
  }
}

/* JOB DETAIL PAGE (Figma) */

.xlg-jd .jobs-details {
  padding-top: 40px;
}

.xlg-jd h1.greenH1.xlg-jd-title {
  color: var(--xlg-dark-blue) !important;
  font-family: var(--xlg-heading-font);
  font-size: 2.25rem;
  font-weight: 700 !important;
  line-height: 1.2;
  margin: 0 0 20px;
}

/* "Voir toutes les offres" tab on a light-blue strip */
.xlg-jd-tabs {
  display: flex;
  margin-bottom: 40px;
  background-color: #eef4fb;
}

.xlg-jd-tab {
  display: inline-block;
  padding: 10px 16px;
  background-color: #ffffff;
  color: var(--xlg-dark-blue) !important;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.2s ease;
  border: 1px solid var(--xlg-border);
}

.xlg-jd-tab:hover {
  color: var(--xlg-medium-blue) !important;
}

/* Two columns: content + sticky sidebar */
.xlg-jd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 56px;
  align-items: start;
  padding-bottom: 64px;
}

.xlg-jd-main {
  max-width: 720px;
}

.xlg-jd-aside {
  position: sticky;
  top: 110px;
}

/* Content sections */
.xlg-jd-section {
  margin-bottom: 40px;
}

.xlg-jd-section-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 16px;
}

.xlg-jd-section-title::after {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  margin-top: 8px;
  background-color: var(--xlg-red);
}

.xlg-jd-content {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.7;
}

.xlg-jd-content p {
  margin: 0 0 12px;
}

.xlg-jd-content strong,
.xlg-jd-content b {
  color: var(--xlg-dark-blue);
}

.xlg-jd-content h3,
.xlg-jd-content h4,
.xlg-jd-content h5 {
  color: var(--xlg-dark-blue);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 20px 0 8px;
}

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

.xlg-jd-content ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.xlg-jd-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  background-color: var(--xlg-red);
}

.xlg-jd-content ul li p {
  margin: 0;
}

.xlg-jd-content ol {
  margin: 0 0 16px;
  padding-left: 20px;
}

.xlg-jd-content img {
  max-width: 100%;
  height: auto;
}

.xlg-jd-content a,
.xlg-jd-doc-link {
  color: var(--xlg-medium-blue);
}

.xlg-jd-doc-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
}

.xlg-jd-doc-link:hover {
  color: var(--xlg-dark-blue);
}

/* Red apply button (sidebar + interested box) */
.xlg-jd-apply {
  display: block;
  width: 100%;
  padding: 14px 16px;
  background-color: var(--xlg-red);
  border: 1px solid var(--xlg-red);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.xlg-jd-apply:hover {
  background-color: #b51f25;
  border-color: #b51f25;
}

.xlg-jd-apply--inline {
  flex: none;
  width: auto;
  padding: 12px 24px;
}

/* Sidebar card */
.xlg-jd-card {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid var(--xlg-border);
}

.xlg-jd-facts {
  margin: 16px 0 0;
}

.xlg-jd-fact {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--xlg-border);
  font-size: 0.85rem;
}

.xlg-jd-fact dt {
  color: #6b7280;
  font-weight: 400;
}

.xlg-jd-fact dd {
  margin: 0;
  color: var(--xlg-dark-blue);
  font-weight: 700;
  text-align: right;
}

.xlg-jd-org {
  margin-top: 20px;
  color: #4a5568;
  font-size: 0.85rem;
  line-height: 1.6;
}

.xlg-jd-org-name {
  color: var(--xlg-dark-blue);
  font-weight: 700;
  margin-bottom: 4px;
}

.xlg-jd-share {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--xlg-border);
}

.xlg-jd-share-label {
  display: block;
  color: #6b7280;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.xlg-jd-share-buttons {
  display: flex;
  gap: 8px;
}

.xlg-jd-share-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #c9d2dd;
  color: var(--xlg-dark-blue) !important;
  font-size: 0.8rem;
  text-decoration: none !important;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.xlg-jd-share-btn:hover {
  background-color: var(--xlg-dark-blue);
  border-color: var(--xlg-dark-blue);
  color: #ffffff !important;
}

/* "Interested?" box */
.xlg-jd-interested {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 28px;
  border: 1px solid var(--xlg-border);
}

.xlg-jd-interested-title {
  color: var(--xlg-dark-blue);
  font-family: var(--xlg-heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.xlg-jd-recruiter-name {
  color: var(--xlg-dark-blue);
  font-size: 0.95rem;
  font-weight: 700;
}

/* TFFT-4648: the recruiter's email and phone stay hidden, only the name is shown.
   The whole line is removed, so no empty space or separator is left behind. */
.xlg-jd-recruiter-contact {
  display: none;
  color: #4a5568;
  font-size: 0.85rem;
}

.xlg-jd-recruiter-contact a {
  color: var(--xlg-medium-blue);
}

.xlg-jd-sep {
  margin: 0 6px;
}

.container:has([class*="modules-jobs-details"]) {
  padding-bottom: 0 !important;
}

/* Full-width CTA band inside the page container (no horizontal scroll) */
.xlg-cta--bleed {
  box-shadow: 0 0 0 100vmax #eef4fb;
  clip-path: inset(0 -100vmax);
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 991px) {
  .xlg-jd-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .xlg-jd-aside {
    position: static;
    order: -1;
  }

  .xlg-jd-main {
    max-width: none;
  }
}

@media (max-width: 575px) {
  .xlg-jd h1.greenH1.xlg-jd-title {
    font-size: 1.6rem;
  }

  .xlg-jd-interested {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }

  .xlg-jd-apply--inline {
    width: 100%;
  }
}

/* Footer */
.custom-footer {
  background-color: var(--xlg-bg-blue);
  color: #ffffff;
}

.custom-footer .container {
  width: auto; /* 100% width + side margins made the page scroll horizontally */
  max-width: 100%;
  padding: 0 12px;
  margin: 0 1.5rem;
}

/* Logo Box Placeholder */
.footer-logo-box {
  border: 1px dashed #5d7599;
  color: #8da1bc;
  font-size: 12px;
  text-align: center;
  padding: 20px 30px;
  width: fit-content;
  font-family: monospace;
}

/* Typography */
.footer-tagline {
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
}

/* Social Icons */
.social-sq-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #364b6d;
  color: #ffffff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
}

.social-sq-btn:hover {
  background-color: var(--xlg-dark-blue);
  border-color: #ffffff;
  color: #ffffff;
}

/* Social icons (Font Awesome brands) */
.footer-social {
  gap: 28px;
}

.social-icon-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  font-size: 24px;
  line-height: 1;
  text-decoration: none !important;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.social-icon-btn:hover,
.social-icon-btn:focus {
  color: #ffffff;
  opacity: 0.8;
  transform: translateY(-2px);
}

/* Navigation Links */
.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.footer-links a:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

/* Minor alignment tweaks for larger screens */
@media (min-width: 992px) {
  .footer-left-block {
    padding-right: 50px;
  }
}

/* Logon page */

.my-jobsite-logon .row .main-title h1 {
  color: var(--xlg-dark-blue);
  text-transform: uppercase;
  font-size: 2.25rem;
  font-weight: 700;
  font-family: var(--xlg-heading-font);
  line-height: 1.2;
  position: relative;
}

.my-jobsite-logon .content-container p.contentBlue {
  color: var(--xlg-dark-blue);
  line-height: 160%;
}

div.content-Login
  .my-jobsite-logon-form
  .logon_myjobsite
  #MyJobSiteLogonFrmSubmit,
div.content-Login .my-jobsite-logon-form #lostPasswordFrmSubmit {
  border-radius: 0;
  font-weight: 700;
  display: flex;
  padding: 8px 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
}

.modules-myjobsite-history #contentCenterTexte .content-Login div p {
  text-align: start !important;
  padding: 2rem 0;
}

.modules-myjobsite-history #contentCenterTexte .content-Login {
  padding: 0 2rem;
}

.my-jobsite-logon-form .left {
  padding: 0 44px 0 40px !important;
}

.my-jobsite-logon-form .left form .gdpr-logon {
  padding-left: 0px !important;
}

.my-jobsite-logon-form .left form .gdpr-logon .checkbox label {
  text-align: left;
  padding-top: 8px;
  font-size: 0.9rem;
}

.my-jobsite-logon-form .right {
  padding: 0 40px 0 44px !important;
}

.my-jobsite-logon-form a {
  color: var(--xlg-dark-blue);
  font-weight: 600;
}

.modules-myjobsite-personal #form-candidate-image #upload-image-container,
.modules-myjobsite-personal
  #form-candidate-image
  #upload-image-container
  .button-container {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.modules-myjobsite-personal
  #form-candidate-image
  #upload-image-container
  .button-container {
  margin-top: 2rem;
}

/* reset password */

.my-jobsite-logon-form.reset-password.card-body {
  padding: 2.25rem 4.25rem;
}

.my-jobsite-logon-form.reset-password.card-body
  .reset-container
  form
  .logon_myjobsite
  #MyJobSiteResetFrmSubmit {
  display: flex;
  padding: 8px 12px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: 0;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
}

/* Disclaimer */

.privacy-policy {
  line-height: 1.6;
  margin: 2rem;
  color: var(--xlg-dark-blue);
}
.privacy-policy h1 {
  font-size: 2rem;
  font-weight: bold;
  font-family: var(--xlg-heading-font);
}
.privacy-policy h2 {
  font-size: 1.2rem;
  margin-top: 1.5rem;
}
.privacy-policy p {
  margin: 0.5rem 0;
}
.privacy-policy ul {
  margin: 0.5rem 0 1rem 1.5rem;
  padding-left: 1rem;
}
.privacy-policy li {
  margin-bottom: 0.5rem;
}
.privacy-policy .subtitle {
  font-size: 0.95rem;
  color: var(--xlg-text-gray);
  margin-bottom: 2rem;
}
.privacy-policy .section {
  margin-bottom: 2rem;
}

.privacy-policy .main-section {
  border-radius: 0;
  border: 1px solid var(--xlg-border);
  padding: 80px;
}

/* about page */
.about-section {
  padding: 100px 40px;
  max-width: 1200px;
  margin: auto;
}

.about-title {
  font-size: 42px;
  text-align: center;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  font-family: var(--xlg-heading-font);
}

.about-subtitle {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 60px auto;
  color: var(--xlg-text-gray);
}

.about-highlight {
  font-weight: 600;
}

.about-flex-bio {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 60px;
}

.about-paragraphs {
  flex: 1 1 400px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--xlg-text-gray);
}

.about-founders-stacked {
  position: relative;
  width: 400px; /* or adjust as needed */
  height: 320px;
  margin: 0 auto;
}

.founder-card {
  position: absolute;
  width: 220px;
}

.founder-card img {
  width: 100%;
  border: 4px solid var(--White, #fff);
}

/* Left founder - on top, aligned left */
.founder-left {
  left: 0;
  top: 40px;
  z-index: 2;
  text-align: left;
}

/* Right founder - behind, aligned right */
.founder-right {
  right: 0;
  top: 0;
  z-index: 1;
  text-align: right;
}

.about-founder-name {
  font-size: 14px;
  font-weight: 600;
  margin-top: 10px;
}

.about-founder-role {
  font-size: 12px;
  color: var(--xlg-text-gray);
  margin: 0;
}

.about-stats {
  background-color: #f5f5f5;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.about-stat {
  text-align: center;
  margin: 20px;
}

.about-stat h3 {
  color: var(--xlg-dark-blue);
  font-size: 64px;
  font-style: normal;
  font-weight: 600;
  line-height: 64px; /* 100% */
  font-family: var(--xlg-heading-font);
}

.about-stat p {
  color: var(--xlg-dark-blue);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.about-stat p::before {
  content: "";
  display: block;
  height: 2px;
  background-color: var(--xlg-red);
  margin: 24px 0;
  width: 128px;
  margin-left: auto;
  margin-right: auto;
}

.about-team-section {
  text-align: center;
  padding: 80px 20px 60px;
}

.about-team-header h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 10px;
  font-family: var(--xlg-heading-font);
}

.about-team-header p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--xlg-text-gray);
  max-width: 700px;
  margin: auto;
}

.about-team-image img {
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
  display: block;
  border-radius: 2px;
}

.about-value-section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px 100px;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.about-value-block {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.about-value-block.reverse {
  flex-direction: row-reverse;
}

.about-value-image {
  flex: 1 1 400px;
}

.about-value-image img {
  width: 100%;
  border-radius: 2px;
}

.about-value-text {
  flex: 1 1 500px;
}

.about-value-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  font-family: var(--xlg-heading-font);
}

.about-value-text p {
  font-size: 15px;
  color: var(--xlg-text-gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .about-flex-bio,
  .about-value-block,
  .about-value-block.reverse {
    flex-direction: column !important;
    align-items: center;
  }

  .about-paragraphs,
  .about-founders,
  .about-value-image,
  .about-value-text {
    flex: 1 1 100%;
  }
}

/*  my profile */

form .my-jobsite-btn-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  direction: rtl;
}

form .my-jobsite-btn-container button.myjobsite-submit {
  width: 126px;
  background-color: var(--xlg-medium-blue) !important;
}

form .my-jobsite-btn-container button.myjobsite-back {
  width: 126px;
  justify-self: end;
  background-color: var(--xlg-medium-blue) !important;
  direction: ltr;
}

/* form .my-jobsite-btn-container button.myjobsite-back::before {
  content: "< ";
  font-weight: bold;
  font-size: 20px;
}

form .my-jobsite-btn-container button.myjobsite-submit::before {
  content: "< ";
  font-weight: bold;
  font-size: 20px;
} */

.modules-myjobsite-categories .content-container .intro p:nth-of-type(2),
.modules-myjobsite-professional .content-container .intro p:nth-of-type(2),
.modules-myjobsite-personal .content-container .intro p:nth-of-type(2) {
  display: none;
}

.content-container
  form
  .job-category
  .wish-category
  #csa_form
  .talentfinder-autocompleter
  label {
  display: none !important;
}

#leftMenu #myjob-site-menu .item div .sub-item,
#leftMenu #myjob-site-menu div #content-Profil .sub-item,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite {
  padding: 8px 16px;
}

#leftMenu #myjob-site-menu .item div .sub-item a,
#leftMenu #myjob-site-menu div #content-Profil .sub-item a,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite a {
  color: var(--xlg-dark-blue) !important;
  padding: 8px 16px;
}

#leftMenu #myjob-site-menu .item div .sub-item a:hover,
#leftMenu #myjob-site-menu div #content-Profil .sub-item a:hover,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite a:hover {
  text-decoration: none;
}

#leftMenu #myjob-site-menu .item div .sub-item:hover,
#leftMenu #myjob-site-menu div #content-Profil .sub-item:hover,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite:hover {
  background-color: var(--xlg-medium-blue);
  border-radius: 0;
}

#leftMenu #myjob-site-menu .item div .sub-item:hover a,
#leftMenu #myjob-site-menu div #content-Profil .sub-item:hover a,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite:hover a {
  color: #fff !important;
  text-decoration: none;
}

#leftMenu #myjob-site-menu .item div .sub-item.active,
#leftMenu #myjob-site-menu div #content-Profil .sub-item.active,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite.active {
  background-color: var(--xlg-medium-blue);
  border-radius: 0;
}

#leftMenu #myjob-site-menu .item div .sub-item.active a,
#leftMenu #myjob-site-menu div #content-Profil .sub-item.active a,
#leftMenu #myjob-site-menu div #content-Profil .leftMenuMyJobSite.active a {
  color: #fff !important;
  text-decoration: none;
}
