.job-container {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.job-header {
  padding: 100px 0;
  position: relative;
  background-color: #eee;
  color: #fff;
}

.job-header .job-header-title {
  padding-left: 15px !important;
  padding-right: 15px !important;
  position: relative;
  text-align: center;
  width: 100%;
  padding: 20px 0 40px;
  line-height: normal;
  color: #504f4f;
}

.job-header .job-header-title__eyebrow {
  margin-bottom: 20px;
  font-size: 20px;
  text-transform: uppercase;
  font-weight: bold;
}

.job-header .job-header-title__main {
  margin-bottom: 0;
  font-size: 50px;
  font-weight: 800;
  color:#504f4f;
}

@media screen and (min-width: 1024px) {
  .job-header .job-header-title__main {
    font-size: 60px;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
  }
}

.job-header .job-header-toolbar {
  width: 100%;
  position: relative;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
}

@media screen and (min-width: 1024px) {
  .job-header .job-header-toolbar {
    display: -ms-flexbox;
    left: 0;
    bottom: 0;
    align-items: center;
    justify-content: flex-end;
  }
}

.job-header .job-header-toolbar .back-to-search {
  all: unset;
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 20px;
  font-weight: 400;
  padding: 10px 20px;
  margin: 0 auto;
  width: -moz-fit-content;
  width: fit-content;
  cursor: pointer;
  color: #504f4f;
}

.job-header .job-header-toolbar .apply-button {
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

article {
  background-color: #f7f7f7;
}

.job-body {
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media screen and (min-width: 1024px) {
  .job-body {
    flex-direction: row;
  }
}

.job-body .job-content {
  width: 100%;
  background-color: #fff;
  padding: 32px;
}

@media screen and (min-width: 1024px) {
  .job-body .job-content {
    padding-bottom: 50px;
  }
}

.job-body .job-content .job-location {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 14px;
}

.job-body .job-content .job-location::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%23000000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-map-pin"%3E%3Cpath d="M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z"/%3E%3Ccircle cx="12" cy="10" r="3"/%3E%3C/svg%3E') no-repeat center/24px 24px;
}

.job-body .job-post-summary {
  flex-shrink: 0;
  position: relative;
  border-left: 1px solid #e7e7e7;
}

@media screen and (min-width: 1024px) {
  .job-body .job-post-summary {
    flex-shrink: 0;
    position: relative;
    border-left: 1px solid #e7e7e7;
    order: 1;
  }
}

.job-body .job-post-summary .summary-position-wrapper {
  padding: 32px;
  background-color: #f2f2f2;
}

.job-body .job-post-summary .summary-title {
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 24px;
  text-transform: uppercase;
  font-weight: 800;
}

.job-body .job-post-summary .summary-list {
  padding: 0;
  margin: 0 0 50px;
  list-style-type: none;
}

.job-body .job-post-summary .summary-list-item {
  margin: 0 0 20px;
  font-size: 16px;
  line-height: 24px;
  display: flex;
  flex-direction: column;
}

.job-body .job-post-summary .summary-list-item .summary-label {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: 700;
  color: #1c1c1c;
}

.job-body .job-post-summary .summary-list-item .summary-value {
  font-size: 14px;
  font-weight: 400;
  line-height: 24px;
  color: #595959;
  margin: 0;
}

.job-body .job-post-summary .summary-list-item:has(.summary-value:empty) {
  display: none;
}

.job-body .job-description {
  margin: 0 0 38px;
}

.job-body .job-post-apply .apply-button-group {
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
  gap: 10px;
}

.job-body .job-post-apply .apply-button-group .share-button {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper {
  display: inline-block;
  position: relative;
  width: 100%;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-button {
  margin-right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu {
  width: 100%;
  min-width: 180px;
  position: absolute;
  z-index: 800;
  background-color: #fff;
  border: 1px solid #e7e7e7;
  bottom: 100% !important;
  top: unset !important;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu.top {
  right: 0;
  left: auto;
  transform: none;
  display: block;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu.top:not(.dropdown-menu-show) {
  display: none;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  max-width: 1000px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  list-style-type: none;
  margin: 0;
  padding: 10px;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li {
  color: #000;
  font-size: 16px;
  font-weight: 500;
  padding: 5px;
  border-bottom: 1px solid rgba(0, 0, 0, 0);
  line-height: 24px;
  position: relative;
  width: 100%;
  text-transform: uppercase;
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li a {
  all: unset;
  display: block;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li:hover {
  background-color: #f2f2f2;
  color: #183761;
}

.job-body .job-post-apply .apply-button-group .dropdown-wrapper .dropdown-menu .dropdown-menu-list>li.dropdown-menu-divider {
  height: 1px;
  padding: 0;
  margin: 5px 0;
  flex-shrink: 1;
  background-color: #e7e7e7;
}

#job-details .apply-button {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: fit-content;
  text-align: center;
}

#job-details .job-header-info--wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#job-details .share-button svg path {
  transition: ease all 0.5s;
}

#job-details .share-button:hover svg path {
  fill: #F8EF26;
}