/* ==========================================================================
   Cile2026 - site styles (reproduces https://emploi.cile.be)
   Upload to <CDN>/Cile2026/Ressources/Styles/cile2026.css and link it AFTER default.css.
   Images and fonts are loaded from https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/ (the assets folder uploaded to the CDN).

   Reused as they are from NewCommon.css / default.css (not redefined here):
     - page skeleton of the WCAG engine (#header, #wrap-container, #sidebar-left, #main, #footer)
       and the "full-wide" layout that hides the left sidebar
     - share bar icons of the job details option bar (.jobdetail .share li a::before)
     - pager arrows (.pagePrec, .pageSuiv, .pageFirst, .pageLast) and pager flex layout
     - upload box (.tableBox, #upload-cv-container), Material UI field layout grids of the forms
     - My Profile step bar (.myjobsite-breadcrumb) and left menu structure (#leftMenu)
     - theme variables: --primary-color, --heading-color, --text-color, --font-family
   Added here: fonts, header, banner, jobsite buttons, footer, and the CILE look of cards,
   titles, buttons, pager, forms, login, profile and cookie banner.
   ========================================================================== */

/* ---------- Fonts (same files as the reference site) ---------- */
@font-face {
  font-family: "Montserrat";
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src:
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-light-webfont.woff2")
      format("woff2"),
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-light-webfont.woff")
      format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src:
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-regular-webfont.woff2")
      format("woff2"),
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-regular-webfont.woff")
      format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src:
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-semibold-webfont.woff2")
      format("woff2"),
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-semibold-webfont.woff")
      format("woff");
}
@font-face {
  font-family: "Montserrat";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src:
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-bold-webfont.woff2")
      format("woff2"),
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/fonts/montserrat-bold-webfont.woff")
      format("woff");
}

/* ---------- Variables ----------
   Theme form (back office): primary #1077CB, heading #113955, text #00192E. */
:root {
  --cile-font: "Montserrat", var(--font-family, sans-serif), sans-serif;
  --cile-primary-dark: #0060ad;
  --cile-primary-darker: #002847;
  --cile-primary-lighter: #e1f2ff;
  --cile-muted: rgba(17, 57, 85, 0.8);
  --cile-grey: #556776;
  --cile-line: #d1d1d1;
  --cile-surface: #fafafa;
  --cile-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  --cile-radius: 5px;
}

/* The site prints the theme form as a :root block inside <body>, after this file. Setting the
   CILE colours on body makes them win even when the theme form holds other values; default.css
   and NewCommon.css read the same variables, so their rules follow too. */
body {
  --primary-color: #1077cb;
  --heading-color: #113955;
  --text-color: #00192e;
}

/* ---------- Base ---------- */
html,
body {
  font-family: var(--cile-font);
}
body {
  color: var(--text-color);
  letter-spacing: -0.005em;
  background: #fff;
}
#wrap-container {
  background: #fff;
}
body a:hover {
  color: inherit;
  text-decoration: none;
}
body :is(strong, b) {
  font-weight: 600;
}

#header .container,
#footer .container,
#main-content,
#main-content .row {
  --bs-gutter-x: 30px;
}
@media (min-width: 1200px) {
  #header .container,
  #footer .container,
  #main-content {
    max-width: 1200px;
  }
}

/* Job, form and login pages are full width on the reference: no sidebar column there, whatever
   layout the page has in the builder (My Profile keeps its left menu). */
:is(body.jobs, body.fta, body.account) #sidebar-left {
  display: none;
}
:is(body.jobs, body.fta, body.account) #main {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
}

/* Bootstrap 4 classes still used by component markup, dead in Bootstrap 5 */
.text-right {
  text-align: right;
}
.mr-1 {
  margin-right: 0.25rem;
}
.mr-2 {
  margin-right: 0.5rem;
}
.ml-2 {
  margin-left: 0.5rem;
}

/* Titles */
body .main-title h1,
body h1.greenH1 {
  margin: 0;
  padding: 0 0 15px;
  font-size: 3rem;
  font-weight: 700 !important;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--heading-color);
}
body .title-Myjob-h1,
.jobs-details .main > h5 {
  margin: 0 0 20px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--primary-color) !important;
}

/* Cards */
#main .card {
  border: 0;
  border-radius: var(--cile-radius) !important;
  background: #fff;
  box-shadow: var(--cile-shadow);
}
#main .card > .card-body {
  padding: 20px;
}

/* Buttons: pill, uppercase.
   .cile-cta = jobsite buttons of the header (hover: primary dark);
   .btn-primary = buttons drawn by the components (hover: primary darker), as on the reference. */
.cile-cta {
  display: inline-block;
  padding: 12px 40px;
  border: 0;
  border-radius: 100px;
  background-color: var(--primary-color);
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  color: #fff !important;
  font-weight: 600;
  line-height: 1.3em;
  letter-spacing: 0.5px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 0.15s;
}
.cile-cta:is(:hover, :focus, :active) {
  background-color: var(--cile-primary-dark) !important;
  color: #fff !important;
}

:is(#main, #sidebar-left) .btn-primary {
  display: inline-block;
  padding: 16px;
  border: 1px solid var(--primary-color);
  border-radius: 100px;
  background-color: var(--primary-color);
  box-shadow: none;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.3s;
}
:is(#main, #sidebar-left) .btn-primary:is(:hover, :focus, :active) {
  border-color: var(--cile-primary-darker) !important;
  background-color: var(--cile-primary-darker) !important;
  color: #fff !important;
}
#main .btn-primary.apply-btn {
  width: 100%;
}

/* ---------- Header: top bar (Header-Level-1) ---------- */
.cile-skip:focus {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1100;
  padding: 8px 16px;
  border-radius: 4px;
  background: #fff;
  color: var(--primary-color);
}
.cile-topbar {
  background: var(--cile-surface);
  color: #363636;
}
.cile-topbar__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 20px;
  min-height: 118px;
}
.cile-topbar__logo {
  flex: 0 0 auto;
  padding: 5px 0;
}
.cile-topbar__logo img {
  display: block;
  width: 133px;
  height: 100px;
  object-fit: contain;
}
.cile-topbar__toggle {
  display: none;
  margin-left: auto;
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--cile-primary-darker);
  font-size: 1.5rem;
  line-height: 1;
}
.cile-topbar__nav {
  flex: 1 1 0;
  min-width: 0;
}
.cile-topbar ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cile-topmenu {
  padding: 1em 0;
  border-bottom: 1px solid var(--cile-line);
}
.cile-topmenu__list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.cile-topmenu__list > li {
  margin-left: 30px;
  line-height: 1em;
}
.cile-topmenu a {
  color: var(--cile-grey);
  font-size: 0.8em;
  font-weight: 600;
  text-decoration: none;
}
.cile-topmenu a:is(:hover, :focus, :active) {
  color: var(--primary-color);
}
.cile-topmenu__account a {
  display: flex;
  align-items: center;
  padding: 8px 20px 4px;
  border-radius: 50px;
  background-color: var(--primary-color);
  color: #fff;
}
.cile-topmenu__account a::after {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 0 4px 10px;
  background: url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/user-blanc.svg")
    center / contain no-repeat;
}
.cile-topmenu__account a:is(:hover, :focus, :active) {
  background-color: var(--cile-primary-dark);
  color: #fff;
}

.cile-mainmenu {
  padding: 17px 0;
}
.cile-mainmenu__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 30px;
}
.cile-mainmenu__list > li {
  line-height: 1;
}
.cile-mainmenu a {
  color: var(--text-color);
  font-size: 0.9em;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
}
.cile-mainmenu a:is(:hover, :focus, :active) {
  color: var(--primary-color);
}

@media (min-width: 992px) {
  .cile-topbar__nav.collapse {
    display: block !important;
    height: auto !important;
  }
}
@media (max-width: 991.98px) {
  .cile-topbar__inner {
    min-height: 80px;
  }
  .cile-topbar__logo img {
    width: 93px;
    height: 70px;
  }
  .cile-topbar__toggle {
    display: block;
  }
  .cile-topbar__nav {
    flex: 0 0 100%;
  }
  .cile-topmenu {
    border-bottom: 0;
    border-top: 1px solid var(--cile-line);
  }
  .cile-topmenu__list,
  .cile-mainmenu__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .cile-topmenu__list > li {
    margin-left: 0;
  }
  .cile-topmenu a,
  .cile-mainmenu a {
    font-size: 1em;
  }
  .cile-mainmenu {
    padding: 0 0 24px;
  }
}

/* ---------- Header: banner (Header-Level-3) ---------- */
.cile-banner {
  position: relative;
  height: 470px;
  overflow: hidden;
  clip-path: circle(7000px at 50% calc(100% - 7000px));
}
.cile-banner__image {
  position: absolute;
  inset: 0;
}
.cile-banner__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cile-banner__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(56, 124, 176, 0.7);
}
.cile-banner__slogan {
  position: absolute;
  top: calc(45% - 11px);
  left: max(15px, calc(50vw - 500px));
  width: 80%;
  max-width: 700px;
  transform: translateY(-50%);
}
.cile-banner__slogan img {
  display: block;
  width: 100%;
  height: auto;
}
@media (max-width: 767.98px) {
  .cile-banner {
    height: 280px;
  }
}

/* ---------- Header: jobsite buttons (Header-Sub-Header) ---------- */
.cile-jobnav {
  background: #fff;
}
.cile-jobnav__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 43px 0 16px;
}
@media (max-width: 991.98px) {
  .cile-jobnav__list {
    flex-direction: column;
    padding-top: 32px;
  }
}

/* ---------- Job listing ---------- */
.modules-jobs-listing.ourjobs .job-count h3 {
  margin: 0 0 16px;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-color);
}

body.jobs-listing div.jobs-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
}
body.jobs-listing div.jobs-list-container div.jobs-items {
  flex: 0 0 100%;
  max-width: 100%;
}
body.jobs-listing div.jobs-list-container div.jobs-items a.title-overflow-card {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
body.jobs-listing div.jobs-list-container div.jobs-items .card {
  height: 100%;
  border-radius: var(--cile-radius) !important;
  background: #fff;
  color: var(--text-color);
}
/* hover, as on the reference: the whole card turns primary, texts white, icons stay dark */
/* #main is needed to beat "#main .card { background: #fff }"; the card body stays transparent and
   square so NewCommon's own rounded blue body does not leave white corners. */
body.jobs-listing #main div.jobs-list-container div.jobs-items:hover .card {
  border-radius: var(--cile-radius) !important;
  background: var(--primary-color);
  color: #fff;
}
body.jobs-listing #main div.jobs-list-container div.jobs-items .card .card-body,
body.jobs-listing
  #main
  div.jobs-list-container
  div.jobs-items
  .card
  .card-body:hover {
  border-radius: 0;
  background: transparent;
}
body.jobs-listing
  div.jobs-list-container
  div.jobs-items:hover
  .card
  :is(
    h3.job-title,
    .job-info-container span,
    .teaser.job-teaser,
    .unpublished-date,
    .unpublished-date .undate-text
  ) {
  color: #fff !important;
}
body.jobs-listing
  div.jobs-list-container
  div.jobs-items:hover
  .card
  .unpublished-date {
  border-top-color: rgba(255, 255, 255, 0.4);
}

.jobs-items .job-title-container.has-logo {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.jobs-items .card-logo {
  flex: 0 0 auto;
  width: auto;
  max-width: 120px;
  max-height: 48px;
}
body.jobs-listing .jobs-items .card .card-body h3.job-title {
  margin: 0 0 12px;
  padding: 0 0 8px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text-color);
}
body.jobs-listing .jobs-items .card .card-body h3.job-title .title-overflow {
  display: block;
  max-height: none;
  line-height: inherit;
  overflow: visible;
  -webkit-line-clamp: unset;
}

.jobs-items .job-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 0;
  margin-top: -6px;
  font-weight: 700;
  line-height: 1.1;
}
.jobs-items .job-info-container > div {
  flex: 0 0 50%;
  max-width: 50%;
  padding-right: 15px;
}
.jobs-items .job-info-container i {
  margin-right: 4px;
  color: var(--cile-primary-darker);
}
body.jobs-listing .jobs-items .card .job-info-container span {
  color: var(--primary-color);
}

.jobs-items .job-cat-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.jobs-items .job-cat span {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  background: var(--cile-primary-lighter);
  color: var(--cile-primary-dark);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.4;
}

body.jobs-listing .jobs-items .card .card-body .teaser.job-teaser {
  flex-grow: 0;
  margin: 0;
  padding-top: 8px;
  color: var(--cile-muted);
  font-size: 1rem;
  line-height: 1.5;
}
.jobs-items .unpublished-date {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e9e9e9;
  color: var(--cile-muted);
  font-size: 0.875rem;
}
.jobs-items .unpublished-date i {
  margin-right: 4px;
  color: var(--cile-primary-darker);
}
.jobs-items .unpublished-date .undate-date {
  font-weight: 600;
}

body.jobs-listing .jobs-items .card .mission-picture-container {
  height: 180px;
  overflow: hidden;
  border-radius: var(--cile-radius) var(--cile-radius) 0 0;
  background-position: center;
  background-size: cover;
}
.jobs-items .mission-picture-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
}

/* "Columns" setting of the page (1 = the reference layout) */
@media (min-width: 576px) {
  body.jobs-listing
    div.jobs-list-container:is(.columns-2, .columns-3, .columns-4, .columns-5)
    div.jobs-items {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
@media (min-width: 992px) {
  body.jobs-listing div.jobs-list-container.columns-3 div.jobs-items {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
  body.jobs-listing div.jobs-list-container.columns-4 div.jobs-items {
    flex: 0 0 25%;
    max-width: 25%;
  }
  body.jobs-listing div.jobs-list-container.columns-5 div.jobs-items {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
.jobs-list-container:is(.columns-2, .columns-3, .columns-4, .columns-5)
  .job-info-container
  > div {
  flex: 0 0 100%;
  max-width: 100%;
  padding-right: 0;
}
@media (max-width: 575.98px) {
  .jobs-items .job-info-container > div {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
}

/* Empty state */
.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found {
  padding: 40px 20px;
  border: 0;
  border-radius: var(--cile-radius);
  background: #fff;
}
.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found
  .card-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--heading-color);
}
.jobs
  #modules-jobs-listing
  .modules-jobs-listing.ourjobs
  .content-container
  .card
  .card-body.no-job-found
  .card-text
  p {
  margin: 0;
  font-size: 1rem;
  line-height: 2rem;
  color: var(--text-color);
}

/* Pager */
.pager-container.ourjobsinfo .showing {
  color: var(--text-color);
  line-height: 1.5;
}
.pager-container.ourjobsinfo .showing span {
  margin: 0 0.3em;
}
.pager-content .pager-container.ourjobsinfo .showing span,
.pager-content .pager-container.ourjobsinfo .showing span a,
.pager-content .pager-container.ourjobsinfo .showing span a:hover {
  color: var(--cile-primary-darker) !important;
  font-weight: 700;
}
.pager-content span.pageNumDisabled {
  padding: 4px 10px;
  border: 1px solid var(--cile-primary-darker);
  border-radius: 4px;
  background-color: var(--cile-primary-darker);
  color: #fff !important;
}
.pager-content a.pageNumActive,
.pager-content a.page {
  padding: 4px 10px;
  border: 1px solid #fff;
  border-radius: 4px;
  background-color: #fff;
  color: var(--heading-color);
  text-decoration: none;
}
.pager-content a.pageNumActive:hover,
.pager-content a.page:hover {
  border-color: var(--cile-primary-darker);
  background-color: var(--cile-primary-darker);
  color: #fff;
}
.pager-content a.page :is(.pagePrec, .pageSuiv, .pageFirst, .pageLast),
.pager-content a.page :is(.pagePrec, .pageSuiv, .pageFirst, .pageLast):hover {
  border: 0;
  background: transparent;
  color: inherit;
}

/* ---------- Job details ---------- */
.jobdetail .share ul {
  overflow: hidden;
  margin: 15px 0 30px;
  padding: 0;
  background: #f1f1f1;
  list-style: none;
}
.jobdetail .share li a {
  background: #f1f1f1;
  color: var(--cile-primary-dark);
  font-size: 0.875rem;
}
.jobdetail .share li {
  border-right: 2px solid #fff;
}
.jobdetail .share li.back-to-list a {
  color: var(--cile-primary-dark) !important;
}
.jobdetail .share li a:is(:hover, :focus, :active) {
  background: var(--primary-color) !important;
  color: #fff !important;
}

.jobdetail .job-banner {
  margin-bottom: 30px;
}
.jobdetail .job-banner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--cile-radius);
}

.jobdetail .main .job-section + .job-section {
  margin-top: 3rem;
}
.jobdetail .main h3 {
  margin: 0 0 20px;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-color);
}
.jobdetail .main h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.8px;
  color: var(--text-color);
}
.jobdetail .main p {
  margin: 1rem 0;
  line-height: 2rem;
}
/* safety net: a text that still cannot wrap (long link, unbroken line) never runs under the side card */
.jobdetail .main {
  min-width: 0;
  overflow-wrap: break-word;
}
.jobdetail .main :is(ul, ol) {
  margin: 1rem 0;
  padding-left: 36px;
}
.jobdetail .main li {
  line-height: 2rem;
  color: var(--cile-muted);
}
.jobdetail .main li::marker {
  color: var(--primary-color);
}
.jobdetail .main a {
  color: #4d4d4d;
  text-decoration: none;
  box-shadow: inset 0 -1px 0 0 #4d4d4d;
}
.jobdetail .main a:hover {
  box-shadow: inset 0 -2px 0 0 #4d4d4d;
}
.jobdetail .main table {
  max-width: 100%;
  margin: 1rem 0;
  border-collapse: collapse;
  color: var(--heading-color);
}
.jobdetail .main td,
.jobdetail .main th {
  padding: 4px 12px;
  border: 1px solid #dee2e6;
  vertical-align: top;
}
.jobdetail .main td p {
  margin: 0;
}
.jobdetail .main img {
  max-width: 100%;
  height: auto;
}

.jobdetail .aside .card-body .well {
  min-height: 20px;
  margin: 1rem 0 20px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  line-height: 1.3;
}
.jobdetail .aside .card-body .well:last-child {
  margin-bottom: 0;
}
.jobdetail .aside .postion-opening ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.jobdetail
  .aside
  .postion-opening
  :is(li, .extra-info-content, .organization-info-content) {
  padding-bottom: 0.25rem;
}
.jobdetail .aside .postion-opening :is(strong, .content-title) {
  margin-right: 0.25rem;
  color: #6c757d !important;
  font-weight: 400;
}
.jobdetail .aside .postion-opening h3,
.jobdetail .aside .organization-info-content.organization-name {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.2;
}

.jobs-details-apply.card h3 {
  margin: 0 0 1rem;
  border: 0;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cile-primary-darker) !important;
}
.jobs-details-apply.card .text-apply {
  line-height: 1.5;
}

/* ---------- Component pages: application forms, login, password pages, My Profile ----------
   Markup is drawn by components (Material UI); only CSS here.
   body.fta = application + spontaneous form, body.account = login / password pages,
   body.myjobsite = logged-in profile pages. */
:is(body.fta, body.account, body.myjobsite)
  #main
  :is(
    .MuiTypography-root,
    .MuiInputBase-root,
    .MuiButton-root,
    .MuiFormLabel-root,
    .MuiAutocomplete-root
  ) {
  font-family: inherit;
  letter-spacing: inherit;
}

/* intro texts */
:is(body.fta, body.myjobsite) #main .intro > br,
body.account #main .content-container > br {
  display: none;
}
:is(body.fta, body.account, body.myjobsite) #main :is(.intro p, p.contentBlue) {
  margin: 1rem 0;
  line-height: 2rem;
}

/* section titles */
:is(body.fta, body.myjobsite) #main .form-template .title-Myjob-h1 {
  margin-top: 3rem;
}
:is(body.fta, body.myjobsite) #main #fast-track-forms > .title-Myjob-h1 {
  margin-top: 1.5rem;
}

/* labels */
:is(body.fta, body.account, body.myjobsite)
  #main
  :is(
    .talentfinder-textfield-label,
    .talentfinder-select-label,
    .talentfinder-autocompleter,
    .radio-group,
    .checkbox-group
  )
  > label,
:is(body.fta, body.account, body.myjobsite) #main .col-form-label {
  padding-top: 7px;
  margin-bottom: 0;
  color: var(--heading-color);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  text-transform: none;
}

/* fields: 38px high, light grey border, like the reference */
:is(body.fta, body.account, body.myjobsite) #main .MuiOutlinedInput-root {
  border-radius: 4px;
  background: #fff;
  color: #495057;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-root
  .MuiOutlinedInput-input {
  height: 24px;
  padding: 7px 12px;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-root.MuiInputBase-multiline {
  padding: 7px 12px;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-root.MuiInputBase-multiline
  .MuiOutlinedInput-input {
  height: auto;
  padding: 0;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiAutocomplete-root
  .MuiOutlinedInput-root {
  padding: 0 39px 0 0;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiSelect-select.MuiOutlinedInput-input {
  min-height: 24px;
  padding-right: 32px;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-notchedOutline {
  border: 1px solid #ced4da;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-root:hover
  .MuiOutlinedInput-notchedOutline {
  border-color: var(--cile-grey);
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-root.Mui-focused
  .MuiOutlinedInput-notchedOutline {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem
    color-mix(in srgb, var(--primary-color) 25%, transparent);
}
:is(body.fta, body.account, body.myjobsite)
  #main
  .MuiOutlinedInput-root.Mui-error
  .MuiOutlinedInput-notchedOutline {
  border-color: #db6060;
}
:is(body.fta, body.account, body.myjobsite) #main .form-control {
  border: 1px solid #ced4da;
  border-radius: 4px;
  color: #495057;
}

@media (max-width: 575.98px) {
  /* default.css puts label and field side by side; stack them on phones */
  :is(body.fta, body.myjobsite)
    #main
    .form-template
    .line
    :is(
      .radio-group,
      .checkbox-group,
      .talentfinder-textfield-label,
      .talentfinder-select-label,
      .talentfinder-autocompleter
    ) {
    grid-template-columns: 1fr !important;
  }
}

/* radios and checkboxes */
:is(body.fta, body.account, body.myjobsite) #main .MuiFormControlLabel-label {
  color: var(--text-color);
  font-size: 1rem;
  line-height: 1.5;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  :is(.MuiRadio-root, .MuiCheckbox-root).Mui-checked
  svg {
  fill: var(--heading-color) !important;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  :is(.custom-control-label, .gdpr-logon .text) {
  font-weight: 400;
  line-height: 1.5rem;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  :is(.custom-control-label, .gdpr-logon .text)
  :is(p, span, a, u) {
  margin-top: 0;
  font-family: inherit !important;
  font-size: inherit !important;
}
:is(body.fta, body.account, body.myjobsite)
  #main
  :is(.custom-control-label, .gdpr-logon .text)
  a {
  color: var(--primary-color);
}

/* upload boxes (layout reused from default.css) */
:is(body.fta, body.myjobsite) #main .tableBox .tableFoot {
  border-radius: var(--cile-radius);
}
:is(body.fta, body.myjobsite) #main .tableBox .tableFoot:hover {
  background: var(--cile-primary-lighter) !important;
}
:is(body.fta, body.myjobsite) #main .tableBox .tableTitle {
  border-color: #e9e9e9;
  color: var(--heading-color);
  font-weight: 700;
}
:is(body.fta, body.myjobsite) #main .message-container .title-file {
  color: var(--text-color);
}
:is(body.fta, body.myjobsite) #main .message-container .extension-file {
  color: var(--cile-grey);
}
:is(body.fta, body.myjobsite) #main #upload-cv-container button,
:is(body.fta, body.myjobsite) #main .MuiButton-containedPrimary {
  height: auto;
  padding: 12px 24px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
:is(body.fta, body.myjobsite)
  #main
  .tableFoot:hover
  #upload-cv-container
  button,
:is(body.fta, body.myjobsite) #main .MuiButton-containedPrimary:hover {
  border-color: var(--cile-primary-dark) !important;
  background: var(--cile-primary-dark) !important;
}
:is(body.fta, body.myjobsite) #main :is(table, .table) {
  color: var(--heading-color);
}

/* uploaded file row (application form, spontaneous form, My Profile).
   Markup: .curriculum-vitae > .file > .name + .size + .descripion + span.delete ("delete" as text).
   The delete text becomes a round bin button at the right end of the row, in the third column,
   so the three columns stay aligned with the table header. */
:is(body.fta, body.myjobsite) #main .tableBox .file {
  align-items: center;
}
:is(body.fta, body.myjobsite) #main .tableBox .file .name {
  min-width: 0;
  padding-right: 16px;
  overflow-wrap: anywhere;
}
:is(body.fta, body.myjobsite) #main .tableBox .file .name a {
  color: var(--primary-color);
  font-weight: 600;
}
:is(body.fta, body.myjobsite) #main .tableBox .file .name a:hover {
  color: var(--cile-primary-dark);
  text-decoration: underline;
}
:is(body.fta, body.myjobsite) #main .tableBox .file .descripion {
  grid-column: 3;
  grid-row: 1;
  min-width: 0;
}
:is(body.fta, body.myjobsite) #main .tableBox .file:has(> .delete) .descripion {
  padding-right: 52px;
}
:is(body.fta, body.myjobsite) #main .tableBox .file > .delete {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 !important;
  border: 1px solid #db6060;
  border-radius: 50%;
  background: #fff;
  color: #db6060;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  transition: all 0.3s;
}
:is(body.fta, body.myjobsite) #main .tableBox .file > .delete::before {
  content: "\f2ed";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome";
  font-size: 15px;
  font-weight: 900;
}
:is(body.fta, body.myjobsite) #main .tableBox .file > .delete:hover {
  background: #db6060;
  color: #fff;
}
@media (max-width: 575.98px) {
  /* phones: file name on its own line, size and description under it, bin at the top right */
  :is(body.fta, body.myjobsite) #main .tableBox .file {
    grid-template-columns: 1fr auto;
    row-gap: 4px;
    padding: 1rem;
  }
  :is(body.fta, body.myjobsite)
    #main
    .tableBox
    .file
    > :is(.name, .size, .descripion) {
    grid-column: 1;
    grid-row: auto;
    padding-right: 0;
  }
  :is(body.fta, body.myjobsite)
    #main
    .tableBox
    .file:has(> .delete)
    .descripion {
    padding-right: 0;
  }
  :is(body.fta, body.myjobsite) #main .tableBox .file > .delete {
    grid-column: 2;
    grid-row: 1;
  }
  :is(body.fta, body.myjobsite) #main .tableBox .tableTitle {
    display: none;
  }
  /* drop zone: text above, button below */
  :is(body.fta, body.myjobsite) #main .tableBox .tableFoot {
    padding: 16px;
  }
  :is(body.fta, body.myjobsite) #main #upload-cv-container {
    flex-direction: column;
    align-items: flex-start;
  }
  :is(body.fta, body.myjobsite) #main #upload-cv-container .message-container {
    width: 100%;
  }
}

/* submit button of the forms */
body.fta #main .jobs-details-apply-free-container {
  margin-top: 2rem;
}
body.fta #main .jobs-details-apply-free-container .btn-primary {
  width: 100%;
  max-width: 370px;
  padding: 16px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: normal;
}
body.fta #main #apply-btn {
  text-align: right;
}

/* login and password pages */
body.account #main div.content-Login {
  border: 0;
  border-radius: var(--cile-radius);
}
body.account #main .my-jobsite-logon-form.card-body {
  padding: 30px;
}
body.account #main .my-jobsite-logon-form :is(.left, .right) {
  padding: 0 30px !important;
}
body.account #main .my-jobsite-logon-form .right {
  border-left: 1px solid #e9e9e9;
}
body.account #main .my-jobsite-logon-form .talentfinder-textfield-label {
  display: block;
  margin-bottom: 1rem;
}
body.account
  #main
  div.content-Login
  .my-jobsite-logon-form
  :is(
    #MyJobSiteLogonFrmSubmit,
    #lostPasswordFrmSubmit,
    #MyJobSiteResetFrmSubmit
  ) {
  display: inline-block;
  width: 100%;
  padding: 16px;
  border-radius: 100px;
}
body.account #main .my-jobsite-logon-form .alert {
  border: 0;
}
@media (max-width: 767.98px) {
  body.account #main .my-jobsite-logon-form.card-body {
    padding: 20px;
  }
  body.account #main .my-jobsite-logon-form :is(.left, .right) {
    padding: 0 12px !important;
  }
  body.account #main .my-jobsite-logon-form .right {
    padding-top: 24px !important;
    border-top: 1px solid #e9e9e9;
    border-left: 0;
  }
}

/* My Profile */
body.myjobsite #leftMenu {
  margin-bottom: 30px;
  padding: 12px;
  border: 0;
  border-radius: var(--cile-radius);
  background: #fff;
  box-shadow: var(--cile-shadow);
}
#leftMenu #myjob-site-menu :is(.sub-item, .leftMenuMyJobSite) a {
  color: var(--heading-color) !important;
  font-weight: 600;
}
#leftMenu
  #myjob-site-menu
  :is(.sub-item, .leftMenuMyJobSite):is(.active, :hover) {
  background-color: var(--heading-color) !important;
}
body.myjobsite .row.myjobsite-breadcrumb h3 {
  margin-top: 0;
  color: var(--heading-color);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: none;
}
body.myjobsite #main .modules-myjobsite-history h3.title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--cile-primary-darker) !important;
}
body.myjobsite #main .modules-myjobsite-history .jobs-items .card {
  height: auto;
}
body.myjobsite h1.greenH1 {
  font-size: 2.25rem;
}
body.myjobsite #main div.content-Login {
  padding: 20px;
  border: 0;
  border-radius: var(--cile-radius);
  box-shadow: var(--cile-shadow);
}
body.myjobsite #main div.content-Login h2 {
  margin: 0 0 1rem;
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: 700;
}
body.myjobsite #main .successBox {
  margin: 1rem 0;
  padding: 12px 20px;
  border-radius: 4px;
  background: #e3f4e5;
  color: #1f6b28;
}
body.myjobsite #main form .my-jobsite-btn-container {
  gap: 16px;
  margin-top: 2rem;
}
body.myjobsite
  #main
  form
  .my-jobsite-btn-container
  button:is(.myjobsite-submit, .myjobsite-back) {
  width: auto;
  min-width: 160px;
}
body.myjobsite #main :is(.btnChangeAcces, .reset-container) .btn-primary {
  width: auto;
  min-width: 160px;
}
body.myjobsite #main .reset-container .btn-primary {
  margin-top: 1rem;
}

/* ---------- Cookie banner ---------- */
.rhc-banner.consent-banner {
  border-top: 0;
  background: #fff !important;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  font-family: var(--cile-font);
}
.rhc-banner.consent-banner .rhc-banner__content__message {
  color: var(--text-color) !important;
  line-height: 1.5;
}
.rhc-banner.consent-banner .rhc-banner__content__message a {
  color: var(--primary-color) !important;
}
.rhc-banner.consent-banner
  .rhc-banner__content
  :is(.consent-approve, .consent-decline) {
  padding: 12px 24px;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.rhc-banner.consent-banner .rhc-banner__content .consent-approve {
  background-color: var(--primary-color) !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  color: #fff !important;
}
.rhc-banner.consent-banner .rhc-banner__content .consent-approve:hover {
  background-color: var(--cile-primary-dark) !important;
}
.rhc-banner.consent-banner .rhc-banner__content .consent-decline {
  border: 1px solid var(--primary-color);
  background-color: #fff;
  color: var(--primary-color) !important;
}
.rhc-banner.consent-banner .rhc-banner__content .consent-decline:hover {
  border-color: var(--cile-primary-dark);
  background-color: var(--cile-primary-lighter);
  color: var(--cile-primary-dark) !important;
  text-decoration: none;
}

/* ---------- Footer (Footer-Sub-Footer) ---------- */
.cile-footer {
  margin-top: 90px;
  padding: 108px 0 54px;
  background:
    url("https://cdn.talentfinder.be/Cile2026/Ressources/Images/assets/footerBG.svg")
      center top / cover no-repeat,
    linear-gradient(
      to bottom,
      transparent 30px,
      var(--cile-primary-darker) 30px
    );
  color: #fff;
}
.cile-footer a {
  color: #fff;
  text-decoration: none;
}
.cile-footer a:is(:hover, :focus) {
  color: #fff;
  text-decoration: underline;
}
.cile-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.cile-footer__heading {
  display: inline-block;
  padding: 2px 0;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cile-footer__menus {
  display: flex;
  flex-wrap: wrap;
  padding-top: 20px;
}
.cile-footer__columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 80%;
  min-width: 300px;
}
.cile-footer__column .cile-footer__heading {
  margin-bottom: 0.5em;
}
.cile-footer__column li {
  padding: 11px 16px 11px 0;
  font-size: 0.875em;
  line-height: 1.5;
}
.cile-footer__side {
  width: 20%;
  min-width: 200px;
}
.cile-footer__side li {
  margin-bottom: 29px;
}
.cile-footer__second {
  padding: 2vh 0;
}
.cile-footer__second ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 60px;
}

.cile-footer__info {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-top: 60px;
  font-size: 0.875em;
  line-height: 1.5;
}
.cile-footer__logo img {
  display: block;
  width: 70px;
  height: 70px;
}
.cile-footer__address address {
  margin: 0;
  font-style: normal;
}
.cile-footer__social a {
  display: inline-block;
  width: 40px;
  height: 40px;
  margin: 20px 20px 20px 0;
}
.cile-footer__social img {
  display: block;
  width: 40px;
  height: 40px;
}
.cile-footer__info p {
  margin: 0;
  font-size: 1rem;
  line-height: 2rem;
}
.cile-footer__legal a {
  font-weight: 600;
}
.cile-footer__iso {
  width: 200px;
}
.cile-footer__iso img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767.98px) {
  .cile-footer {
    margin-top: 60px;
    padding: 72px 0 40px;
  }
  .cile-footer__columns {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .cile-footer__side {
    width: 100%;
    margin-top: 24px;
  }
  .cile-footer__second ul {
    justify-content: flex-start;
  }
  .cile-footer__info {
    flex-direction: column;
    margin-top: 32px;
  }
}

/* ---------- Home page ----------
   Three pictures, intro text, link cards (three in a row when there are three, else two per row), selection text. Buttons reuse .cile-cta. */
.cile-home__picture img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.cile-home .home-text p,
.cile-home__card p {
  margin: 1rem 0;
  line-height: 2rem;
}
.cile-home__title {
  margin: 0 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: var(--text-color);
}
.cile-home__blocks {
  margin-bottom: 3rem;
}
.cile-home__block {
  margin: 20px 0;
}
.cile-home__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 24px;
  border-radius: var(--cile-radius);
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}
.cile-home__action {
  margin-top: 24px;
}
/* three cards in one row (TFFT-4658): the three buttons have the same size (card width, 58px high);
   the label is centred and may use two lines, with the arrow beside it instead of alone on a line.
   Works with or without the --3 class on the row. */
@media (min-width: 992px) {
  .cile-home__blocks--3 .cile-home__action .cile-cta,
  .cile-home__block:is(.col-lg-4, .col-xl-4) .cile-home__action .cile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px 16px;
    font-size: 0.875rem;
  }
}
@media (max-width: 575.98px) {
  .cile-home__block {
    margin: 10px 0;
  }
  .cile-home__action .cile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 8px 24px;
  }
}


/* ---------- Disclaimer page (Extra / Disclaimer) ----------
   Long legal text: section titles as large as on the reference, 2rem line height.
   The same rules style a text typed in the back-office field. */
.modules-disclaimer .disclaimer-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1.125rem;
  line-height: 2rem;
  color: var(--cile-muted);
}
.disclaimer-text {
  color: var(--text-color);
}
.disclaimer-text p {
  margin: 1rem 0;
  line-height: 2rem;
}
.disclaimer-text :is(h1, h2) {
  margin: 3rem 0 1.5rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--text-color);
  scroll-margin-top: 24px;
}
.disclaimer-text :is(h3, h4) {
  margin: 2rem 0 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-color);
}
.disclaimer-text :is(ul, ol) {
  margin: 0 0 1rem;
  padding-left: 36px;
}
.disclaimer-text li {
  line-height: 2rem;
}
.disclaimer-text a {
  color: var(--cile-primary-dark);
  font-weight: 600;
  text-decoration: none;
}
.disclaimer-text a:hover {
  color: var(--cile-primary-dark);
  text-decoration: underline;
}
.disclaimer-text img,
.disclaimer-text table {
  max-width: 100%;
}
.disclaimer-toc {
  margin-bottom: 2rem;
}
.disclaimer-toc__title {
  margin: 0 0 0.5rem;
}
.disclaimer-text .disclaimer-toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.disclaimer-toc li {
  padding: 4px 0;
}

/* ---------- Small screens ---------- */
@media (max-width: 767.98px) {
  .disclaimer-text :is(h1, h2) {
    margin-top: 2rem;
    font-size: 1.75rem;
  }
  .disclaimer-text :is(ul, ol) {
    padding-left: 24px;
  }
  body .main-title h1,
  body h1.greenH1 {
    font-size: 2rem;
  }
  .jobs-details-apply.card h3 {
    font-size: 1.5rem;
  }
  .jobs-details-apply .right {
    text-align: left;
  }
}
