main > .topContainer {
  background-image: url(../img/recrutement/image1.png);
  background-position: 70% 50%;
}
.topContainer > div > h2 {
  background-color: #00000077;
}
.textContainer > img {
  width: 100%;
  max-width: 170px;
  object-fit: contain;
  margin: 20px 0;
}
body > .modal {
  display: none;
  position: fixed;
  z-index: 3000;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.jobContextContainer {
  overflow: visible;
}
.jobContextContainer > .subTitleContainer > h3 {
  font-size: 28px;
}
.jobContextContainer > h4 {
  margin-bottom: -40px;
  margin-top: 15px;
}
main > .textContainer > p {
  text-align: left;
  max-width: 100%;
}
.modal-content {
  background-color: var(--heritageWhite);
  color: var(--heritageBlack);
  font-family: var(--subtitles-font-family);
  margin: 5% auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
}

.close {
  color: var(--heritageBlack);
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.close:hover,
.close:focus {
  color: var(--heritageBeige);
  text-decoration: none;
  cursor: pointer;
  transform: scale(120%);
}
.textList {
  width: calc(100% - 15px);
}
.titleLine {
  top: 60px;
}
.jobItem {
  overflow: hidden;
  width: 100%;
}

.jobSummary {
  font-size: 16px;
  font-family: var(--subtitles-font-family);
  color: var(--heritageWhite);
  background-color: var(--heritageBlack);
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
}
.jobSummary > h5 {
  margin: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: fit-content;
  gap: 20px;
}
.jobSummary > h5 > .material-symbols-outlined {
  transform: rotate(90deg);
}
.jobSummary:hover {
  background-color: var(--heritageBrown);
}
.jobSummary:focus {
  background-color: var(--heritageBeige);
}

.jobDate {
  color: #666;
  font-size: 0.9em;
}

.jobContent {
  padding: 20px;
  background-color: var(--heritageWhite);
}

.jobMeta {
  padding-bottom: 15px;
  margin-bottom: 25px;
  border-bottom: 1px solid #eee;
}

.jobMeta .startDate {
  color: #666;
  font-style: italic;
  margin: 0;
}
.mailLink {
  text-decoration: none;
  color: var(--heritageWhite);
  cursor: pointer;
  transition: all 0.3s ease;
}
.mailLink:hover,
.mailLink:focus {
  color: var(--heritageBeige);
}
.jobSection {
  margin-bottom: 20px;
}

.jobSection h4 {
  color: #444;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.jobSection p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.jobFooter {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.noJobs {
  text-align: center;
  color: #666;
  padding: 40px;
  font-style: italic;
}

.error {
  color: #dc3545;
  text-align: center;
  padding: 20px;
}

.jobActions {
  margin-top: 20px;
  text-align: right;
}

.jobActions > .applyBtn {
  max-width: 200px;
  margin-left: auto;
  font-size: 20px;
}

.formGroup {
  margin-bottom: 20px;
}

.formGroup label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.formGroup input[type="text"],
.formGroup input[type="email"],
.formGroup textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  box-sizing: border-box;
}

.formGroup textarea {
  min-height: 100px;
  resize: vertical;
}

.formGroup input[type="file"] {
  width: 100%;
  padding: 8px;
  background-color: #f8f9fa;
  border: 1px dashed #ddd;
  border-radius: 4px;
  box-sizing: border-box;
  font-family: var(--subtitles-font-family);
  color: var(--heritageBlack);
}
.formGroup input[type="file"]::file-selector-button {
  box-sizing: border-box;
  text-align: center;
  width: 200px;
  color: var(--heritageWhite);
  cursor: pointer;
  border: 1px solid transparent;
  font-size: var(--body-font-size);
  font-family: var(--subtitles-font-family);
  font-weight: var(--body-font-weight);
  padding: 5px;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
  border-color: var(--heritageBlack);
  background-color: var(--heritageBlack);
}
.formGroup:hover input[type="file"]::file-selector-button {
  border-color: var(--heritageWhite);
  background-color: var(--heritageBrown);
}
.fileHelp {
  display: block;
  color: #666;
  font-size: 0.85em;
  margin-top: 4px;
}
@media screen and (min-width: 800px) {
  main > .topContainer {
    background-position: center;
  }
  .jobContextContainer > .subTitleContainer > h3 {
    font-size: 40px;
  }
  .titleLine {
    top: 20px;
    width: 40%;
  }
  .jobContextContainer > img {
    position: absolute;
    right: 100px;
    top: 250px;
    z-index: 10;
    max-height: 500px;
  }
}
