.job-hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  padding-top: 54px;
  padding-bottom: 54px;
}
@media (min-width: 1199px) {
  .job-hero {
    width: calc(100% + 40px);
    left: -20px;
    right: -20px;
  }
}
.job-hero__cover-img {
  position: absolute;
  inset: 0;
}
.job-hero__mask {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(18, 31, 62, 0.9) 0%, rgba(18, 31, 62, 0) 100%);
  -webkit-backdrop-filter: blur(16px);
          backdrop-filter: blur(16px);
}
.rtl .job-hero__mask {
  background: linear-gradient(270deg, rgba(18, 31, 62, 0.9) 0%, rgba(18, 31, 62, 0) 100%);
}
.dark-mode .job-hero__mask {
  background: linear-gradient(90deg, rgba(170, 184, 197, 0.9) 0%, rgba(170, 184, 197, 0) 100%);
}
.dark-mode.rtl .job-hero__mask {
  background: linear-gradient(270deg, rgba(170, 184, 197, 0.9) 0%, rgba(170, 184, 197, 0) 100%);
}
.job-hero__content {
  width: calc(100% - 348px);
}
@media (max-width: 991px) {
  .job-hero__content {
    width: 100%;
  }
}
.job-hero__title {
  min-height: 40px;
}

.job-tabs-card {
  top: -34px;
  margin-bottom: -34px;
  z-index: 4;
}
@media (max-width: 991px) {
  .job-tabs-card {
    top: 0;
    margin-bottom: 0;
  }
}
.job-tabs-card__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 12px;
  opacity: 0.5;
  background: var(--white);
}
.job-tabs-card .navbar-item {
  height: 61px;
}
.job-tabs-card .navbar-item .job-tab-counter {
  min-width: 23px;
  min-height: 23px;
  background-color: var(--gray-100);
  color: var(--gray-500);
}
.job-tabs-card .navbar-item.active .job-tab-counter {
  background-color: var(--primary-saturated);
  color: var(--white);
}

.job-body-side {
  width: calc(100% - 348px);
}
@media (max-width: 991px) {
  .job-body-side {
    width: 100%;
  }
}

.job-right-side {
  width: 324px;
  min-width: 324px;
  border-radius: 16px 16px 0 0;
  top: -224px;
  margin-bottom: -224px;
  z-index: 4;
}
.job-right-side__thumbnail {
  width: 100%;
  height: 224px;
  border-radius: 16px 16px 0 0;
}
.job-right-side__thumbnail img {
  border-radius: 16px 16px 0 0;
}
.job-right-side__thumbnail .has-video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 4px solid var(--white);
  background-color: rgba(255, 255, 255, 0.3);
  -webkit-backdrop-filter: blur(5px);
          backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}
.dark-mode .job-right-side__thumbnail .has-video-icon {
  background-color: rgba(30, 31, 38, 0.3);
}
.job-right-side__thumbnail:hover .has-video-icon {
  transform: translate(-50%, -50%) scale(1.04);
}
@media (max-width: 991px) {
  .job-right-side {
    top: 0;
    margin-bottom: 0;
    width: 100%;
    min-width: 100%;
  }
}
.job-right-side-section__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 16px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
}
.job-right-side__teacher-rate-card {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.job-right-side__teacher-verified-badge {
  position: absolute;
  right: 2px;
  bottom: 2px;
  z-index: 3;
}
.rtl .job-right-side__teacher-verified-badge {
  right: auto;
  left: 2px;
}
.job-right-side .sidebar-ads {
  width: 100%;
  height: 230px;
  max-height: 230px;
}

.job-extra-card {
  position: relative;
}
.job-extra-card__title {
  position: relative;
  top: -28px;
  margin-bottom: -28px;
  z-index: 2;
}
.job-extra-card__float-img {
  position: absolute;
  right: 0;
  bottom: -28px;
  width: 120px;
  height: 120px;
  z-index: 3;
}
.rtl .job-extra-card__float-img {
  right: auto;
  left: 0;
}

.job-company-logos {
  max-width: 105px;
  max-height: 75px;
}
.job-company-logos img {
  mix-blend-mode: luminosity;
}

.course-prerequisite-card {
  width: 100%;
  height: 225px;
}
.course-prerequisite-card__mask {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(1deg, rgba(18, 31, 62, 0.9) 0%, rgba(18, 31, 62, 0) 100%);
  z-index: 1;
}
.dark-mode .course-prerequisite-card__mask {
  background: linear-gradient(1deg, rgba(170, 184, 197, 0.9) 0%, rgba(170, 184, 197, 0) 100%);
}
.course-prerequisite-card__body {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 3;
}
.course-prerequisite-card__body .card-title {
  min-height: 42px;
}
.course-prerequisite-card__required {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 8px 4px 4px;
  z-index: 5;
  display: inline-flex;
}
.rtl .course-prerequisite-card__required {
  left: auto;
  right: 12px;
}

.job-about-instructor-card__mask {
  position: absolute;
  inset: 8px;
  bottom: -8px;
  border-radius: 16px;
  opacity: 0.5;
  background: var(--white);
  z-index: 1;
}
.job-about-instructor-card__secondary-img {
  width: 308px;
  height: 316px;
  bottom: 0;
  top: -40px;
  margin-bottom: -40px;
}
@media (max-width: 991px) {
  .job-about-instructor-card__secondary-img {
    display: none;
  }
}
.job-about-instructor-card__details {
  width: calc(100% - 332px);
}
@media (max-width: 991px) {
  .job-about-instructor-card__details {
    width: 100%;
  }
}
.job-about-instructor-card__book-meeting-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 48px;
  border: 8px solid var(--white);
  background-color: var(--primary);
  min-width: 226px;
}

.job-bottom-fixed-card {
  position: fixed;
  bottom: -150%;
  left: 0;
  right: 0;
  padding: 16px 0;
  box-shadow: 0 4px 20px 0 rgba(0, 0, 0, 0.02);
  transition: all 0.5s ease;
  z-index: 50;
}
.job-bottom-fixed-card.show {
  bottom: 0;
}
.job-bottom-fixed-card__job-img {
  width: 67px;
  height: 48px;
}
.job-bottom-fixed-card__progress {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: transparent;
  z-index: 55;
}
.job-bottom-fixed-card__progress .progress-line {
  width: 0;
  height: 100%;
  background-color: var(--primary);
}

.job-report-icon {
  border: 4px solid var(--gray);
  background: linear-gradient(44deg, #FFA200 7.39%, rgba(255, 162, 0, 0.5) 94.13%);
}

.job-show-description {
  color: var(--gray-500);
  line-height: 1.8;
  background-color: var(--gray-100);
  border-radius: 16px;
  padding: 20px 24px;
}
.job-show-description > *:first-child {
  margin-top: 0;
}
.job-show-description p {
  color: var(--gray-500);
  margin-bottom: 16px;
}
.job-show-description h1, .job-show-description h2, .job-show-description h3, .job-show-description h4, .job-show-description h5, .job-show-description h6 {
  display: flex;
  align-items: center;
  color: var(--dark);
  margin: 24px 0 16px;
}
.job-show-description h1::before, .job-show-description h2::before, .job-show-description h3::before, .job-show-description h4::before, .job-show-description h5::before, .job-show-description h6::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 1em;
  border-radius: 4px;
  background-color: var(--primary);
  margin-inline-end: 8px;
}
.job-show-description strong, .job-show-description b {
  color: var(--dark);
}
.job-show-description img {
  max-width: 100% !important;
  border-radius: 16px;
}
.job-show-description ul, .job-show-description ol {
  margin-bottom: 16px;
}
.job-show-description ul {
  padding-inline-start: 8px;
}
.job-show-description ul li {
  list-style: none;
  position: relative;
  padding-inline-start: 30px;
  margin-bottom: 10px;
}
.job-show-description ul li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 5px;
  width: 18px;
  height: 18px;
  background-color: var(--primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 5.5 12.7 4 14.2 9 19 20 8l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 5.5 12.7 4 14.2 9 19 20 8l-1.5-1.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.job-show-description ol {
  padding-inline-start: 24px;
}
.job-show-description ol li {
  margin-bottom: 10px;
}
.job-show-description ol li::marker {
  color: var(--primary);
  font-weight: bold;
}

.job-deadline-alert {
  background-color: rgba(255, 162, 0, 0.08);
  border: 1px dashed var(--warning);
}
.job-deadline-alert__icon {
  background-color: var(--warning);
}
.job-deadline-alert__badge {
  background-color: var(--warning);
  color: var(--white);
}
.job-deadline-alert.is-expired {
  background-color: rgba(234, 84, 85, 0.08);
  border-color: var(--danger);
}
.job-deadline-alert.is-expired .job-deadline-alert__icon,
.job-deadline-alert.is-expired .job-deadline-alert__badge {
  background-color: var(--danger);
}

.job-map-container {
  width: 100%;
  height: 392px;
}

.job-report-icon {
  border: 4px solid var(--gray);
  background: linear-gradient(44deg, #FFA200 7.39%, rgba(255, 162, 0, 0.5) 94.13%);
}
