:root {
  /* Derived from your Tailwind configuration */
  --color-jd-white: #ffffff;
  --color-jd-light-gray: #f3f4f6;
  /* Adjust based on your actual config */
  --color-jd-text-main: #1c1c1c;
  --color-jd-blue: #0070F0;
  /* Derived from apply button shadow comment */
  --color-jd-red: #cc0000;
  /* Adjust to match your tailwind config */
  --color-jd-dark-red: #990000;
  --color-jd-dim-grey: #666666;

  --font-futura-pt: 'futura-pt', sans-serif;
  --font-source-sans: 'Source Sans Pro', sans-serif;
}


.job-detail ul,
.job-detail menu,
.job-detail dir {
  display: block;
  list-style-type: disc;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 4rem;
}

.job-detail ul,
.job-detail ol,
.job-detail menu {
  counter-reset: list-item;
}

.job-detail ol {
  display: block;
  list-style-type: decimal;
  margin-block-start: 1em;
  margin-block-end: 1em;
  padding-inline-start: 20px;
}

.job-detail li {
  display: list-item;
  text-align: match-parent;
}

.job-detail p {
  display: block;
  margin: 1rem 0;
  unicode-bidi: isolate;
}

/* =========================================
   Layout & Containers
   ========================================= */
.job-detail__container {
  max-width: 123rem;
  width: 100%;
  margin: 0 auto;
  padding: 8.8rem 2.4rem;
}

@media (min-width: 768px) {
  .job-detail__container {
    padding-left: 4.8rem;
    padding-right: 4.8rem;
  }
}

@media (min-width: 1024px) {
  .job-detail__container {
    padding-left: 10.4rem;
    padding-right: 10.4rem;
  }

  .job-detail__sidebar .job-detail__actions-container {
    display: flex !important;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.6rem;
  }
}

.job-detail__title {
  font-family: var(--font-futura-pt);
  margin-bottom: 3.2rem;
  /* Add global heading-quaternary styles here if required */
  color: #1C1C1C;
  font-size: 4.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.096px;
}

.job-detail__content {
  display: flex;
  flex-direction: column;
  /* flex-direction: column-reverse; */
  gap: 8.8rem;
}

@media (min-width: 1024px) {
  .job-detail__content {
    flex-direction: row-reverse;
  }
}

.job-detail__main {
  width: 100%;
}

.job-detail__sidebar {
  width: 100%;
  flex-shrink: 0;
  color: var(--color-jd-text-main);
}

@media (min-width: 768px) {
  .job-detail__sidebar {
    width: 30rem;
  }
}

/* =========================================
   Meta Information
   ========================================= */
.job-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem;
  margin-bottom: 3.6rem;
}

.job-detail__meta-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.job-detail__meta-icon {
  width: 2.4rem;
  height: auto;
  flex-shrink: 0;
}

.job-detail__meta-text {
  font-family: var(--font-futura-pt);
  font-size: 1.8rem;
  line-height: 2.2rem;
  color: var(--color-jd-text-main);
}

.job-detail__meta-dot-wrapper {
  width: 2.4rem;
  height: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.job-detail__meta-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background-color: var(--color-jd-blue);
}

/* =========================================
   Description
   ========================================= */
.job-detail__subtitle {
  text-transform: capitalize;
  font-family: var(--font-futura-pt);
  /* Add global heading-quinary styles here if required */
  color: #1C1C1C; 
  font-size: 26px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.052px;
}

.job-detail__description {
  margin-top: 1.6rem;
  margin-bottom: 3.6rem;
  font-family: var(--font-futura-pt);
  font-size: 1.8rem;
  line-height: 2.2rem;
}

/* =========================================
   Apply Buttons
   ========================================= */
.job-detail__sidebar .job-detail__actions-container {
  /* display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.6rem; */
  display: none;
}

.job-detail__actions-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}



.job-detail__apply-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.2rem 3.2rem;
  cursor: pointer;
  font-family: var(--font-futura-pt);
  background-color: #0070F0;
  color: var(--color-jd-white);
  transition: background-color 200ms ease-out;
  border-radius: 2rem;
  text-align: center;
  font-size: 1.6rem;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: -0.032px;
}

.job-detail__apply-btn:hover {
  background-color: #001731;
}

.job-detail__apply-btn--manual {
  margin-top: 1.6rem;
}

.job-detail__apply-btn--desktop {
  display: none;
}

@media (min-width: 768px) {
  .job-detail__apply-btn--desktop {
    display: flex;
  }
}

/* Styles mapped from the commented out outline button */
.job-detail__apply-btn--outline {
  padding: 1.6rem;
  box-shadow: inset 0 0 0 0.2rem var(--color-jd-blue);
  background-color: transparent;
  color: var(--color-jd-blue);
  border-radius: 0.6rem;
  margin-bottom: 2.4rem;
}

.location-btn__icon {
  width: 1.4rem;
  height: 1.4rem;
  margin-left: 1rem;
}

/* =========================================
   Sidebar Info Rows
   ========================================= */
.job-detail__info-row {
  margin-bottom: 0.8rem !important;
  margin-top: 0.8rem !important;
  color: #1C1C1C;
  font-size: 1.8rem;
  font-style: normal;
  font-weight: 500;
  line-height: 3rem;
  letter-spacing: 0.036px;
  font-family: var(--font-futura-pt);
}

.job-detail__info-row--last {
  margin-bottom: 2.4rem;
}

.job-detail__info-row:has(.job-detail__info-value:empty) {
  display: none;
}

.job-detail__info-label {
  /* Corresponds to global .text-body if any specific styles apply */
}

.job-detail__info-value {
  color: var(--color-jd-dim-grey);
}

/* =========================================
   Social Share Section
   ========================================= */
.job-detail__share-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin-top: 1.6rem;
}

.job-detail__share-header svg {
  width: 2.2rem;
  height: 2.2rem;
}

.job-detail__share-title {
  font-family: var(--font-futura-pt);
  color: #001731;
  /* other/p-bold */
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 26px;
  /* 144.444% */
}

.job-detail__share-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.job-detail__share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--color-jd-text-main);
  border-radius: 50%;
}

.job-detail__share-btn svg {
  width: 1.4rem;
  height: 1.4rem;
}

.job-detail__share-icon {
  font-size: 1.4rem;
}

.job-detail__share-svg {
  width: 1.4rem;
  /* Replaces Tailwind w-2/h-2 to cleanly match FontAwesome icon sizes */
  height: 1.4rem;
}

.job-detail__meta-text ul li:nth-child(3) {
  display: none;
}