
#jd img {
  display: block;
  max-width: 100%;
}

/* ==========================================================================
        Hero / Header
        ========================================================================== */
.jd-hero {
  position: relative;
  width: 100%;
  min-height: 260px;
  padding: 24px 0 32px;
  background-color: #0a1d79;
  color: #ffffff;
  overflow: hidden;
}

.jd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 61.857%, rgba(0, 0, 0, 0.4) 95.476%),
    linear-gradient(90deg, rgba(10, 29, 121, 0.3) 0%, rgba(10, 29, 121, 0.3) 100%);
}

.jd-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 1520px;
  margin: 0 auto;
  padding: 50px 20px;
}

.jd-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  padding: 4px 0;
  align-self: flex-start;
}

.jd-hero__back:hover {
  text-decoration: underline;
}

.jd-hero__back-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.jd-hero__title {
  margin: 8px 0 0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.4px;
  color: #ffffff;
  word-wrap: break-word;
}

.jd-hero__location {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 20px;
  line-height: 1.3;
  color: #ffffff;
}

.jd-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  background-color: #ffffff;
  color: #0a1d79;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 8px;
}

.jd-hero__cta:hover {
  background-color: #f0f0f0;
}

@media (min-width: 768px) {
  .jd-hero {
    min-height: 320px;
    padding: 40px 0 48px;
  }

  .jd-hero__inner {
    padding: 50px 40px;
  }

  .jd-hero__title {
    font-size: 56px;
    line-height: 1.1;
  }

  .jd-hero__location {
    font-size: 26px;
  }
}

@media (min-width: 1025px) {
  .jd-hero {
    min-height: 320px;
    padding: 100px 0 44px;
  }

  .jd-hero__inner {
    padding: 50px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto auto;
    column-gap: 32px;
    align-items: end;
  }

  .jd-hero__back {
    grid-column: 1 / -1;
    margin-bottom: 20px;
  }

  .jd-hero__title {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    font-size: clamp(48px, 5vw, 72px);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.4px;
  }

  .jd-hero__location {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
    font-size: 30px;
    line-height: 1.26;
    margin-top: 8px;
  }

  .jd-hero__cta {
    grid-column: 2 / 3;
    grid-row: 2 / 4;
    align-self: end;
    margin: 0;
    white-space: nowrap;
  }
}

/* ==========================================================================
        Main content container
        ========================================================================== */
.jd-main {
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  padding: 40px 20px 64px;
  background-color: #ffffff;
  overflow-x: clip;
}

.jd-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  min-width: 0;
}

@media (min-width: 768px) {
  .jd-main {
    padding: 56px 40px 80px;
  }
}

@media (min-width: 1025px) {
  .jd-main {
    padding: 80px 50px;
  }

  .jd-container {
    flex-direction: row;
    align-items: flex-start;
    gap: 60px;
  }
}

/* ==========================================================================
        Description column (left)
        ========================================================================== */
.jd-description {
  display: flex;
  flex-direction: column;
  gap: 40px;
  order: 0;
  min-width: 0;
}

.jd-description__body,
.jd-description .description {
  overflow-wrap: anywhere;
  word-wrap: break-word;
}

.jd-description img,
.jd-description video,
.jd-description iframe,
.jd-description table {
  max-width: 100%;
  height: auto;
}

.jd-description a {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.jd-description .description {
  font-size: 18px;
  line-height: 28px;
  font-weight: 400;
}

.jd-description:has(.description, .extended_description) p,
.jd-description:has(.description, .extended_description) p > span,
.jd-description:has(.description, .extended_description) ul li,
.jd-description:has(.description, .extended_description) ul li > span,
.jd-description:has(.description, .extended_description) p > strong,
.jd-description:has(.description, .extended_description) p > a {
  font-size: 18px!important;
}

.jd-description:has(.description, .extended_description) p > a,
.jd-description:has(.description, .extended_description) a {
  text-decoration: underline;
}

.jd-description__section {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.jd-description__heading {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.4px;
  color: #270101;
}

.jd-description__body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.18px;
  color: #270101;
}

.jd-description__body p {
  margin: 0 0 20px;
}

.jd-description__body p:last-child {
  margin-bottom: 0;
}

.jd-description__body ul {
  margin: 0;
  padding-left: 24px;
  list-style: disc;
}

.jd-description__body ul ul {
  margin-top: 16px;
  padding-left: 28px;
}

.jd-description__body li {
  margin-bottom: 16px;
  line-height: 1.55;
}

.jd-description__body li:last-child {
  margin-bottom: 0;
}

.jd-description__body a {
  color: #270101;
  text-decoration: underline;
}

.jd-description__body a:hover {
  color: #0a1d79;
}

@media (min-width: 1025px) {
  .jd-description {
    flex: 1 1 0;
    min-width: 0;
    /* max-width: 820px; */
    padding-right: 60px;
    border-right: 1px solid rgba(26, 36, 46, 0.3);
    gap: 50px;
    order: 0;
  }

  .jd-description__section {
    gap: 32px;
  }

  .jd-description__heading {
    font-size: 36px;
    line-height: 44px;
  }

  .jd-description__body {
    font-size: 18px;
    line-height: 28px;
  }

  .jd-description__body p {
    margin: 0 0 24px;
  }

  .jd-description__body li {
    margin-bottom: 24px;
  }
}

/* ==========================================================================
        Info sidebar (right)
        ========================================================================== */
.jd-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  order: 1;
  min-width: 0;
}

.jd-info__heading {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 1.22;
  letter-spacing: -0.4px;
  color: #270101;
}

.jd-info__table {
  display: grid;
  grid-template-columns: minmax(120px, auto) minmax(0, 1fr);
  gap: 16px 24px;
  font-family: "Helvetica Neue", "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #270101;
  min-width: 0;
}

.jd-info__table.--header {
  color: #fff;
  gap: 0;
  margin-top: 20px;
  font-size: 18px;
}

.jd-info__label {
  font-weight: 400;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.jd-info__label--bold {
  font-family: "Inter", sans-serif;
  font-weight: 600;
}

.jd-info__value {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.18px;
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.jd-info__value ul {
  margin: 0;
  padding-left: 0;
  list-style-type: none;
}

.jd-info__value ul li {
  margin-bottom: 4px;
}

.jd-info__value ul li:last-child {
  margin-bottom: 0;
}

.jd-info__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 13px 40px;
  background-color: #0a1d79;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.jd-info__apply:hover {
  background-color: #0c2395;
}

.jd-info__closing {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.18px;
  color: #270101;
}

.jd-info__share {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jd-info__share-label {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: #270101;
}

.jd-info__share-list {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0.5;
}

.jd-info__share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: #270101;
}

.jd-info__share-link:hover {
  opacity: 0.7;
}

.jd-info__share-link svg {
  width: 100%;
  height: 100%;
}

.jd-info__video {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jd-info__video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 420 / 260;
  background-color: #1a242e;
  overflow: hidden;
  cursor: pointer;
}

.jd-info__video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.jd-info__video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 77px;
  height: 77px;
  color: #ffffff;
  transition: transform 0.2s ease;
}

.jd-info__video-wrapper:hover .jd-info__video-play {
  transform: translate(-50%, -50%) scale(1.08);
}

.jd-info__video-caption {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  letter-spacing: 0.18px;
  color: #270101;
}

@media (min-width: 1025px) {
  .jd-info {
    flex: 0 0 420px;
    max-width: 420px;
    gap: 40px;
    order: 1;
  }

  .jd-info__heading {
    font-size: 36px;
    line-height: 44px;
  }

  .jd-info__table {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 24px 28px;
    font-size: 18px;
    line-height: 28px;
  }

  .jd-info__closing,
  .jd-info__share-label,
  .jd-info__video-caption {
    font-size: 18px;
  }
}

/* ==========================================================================
        Footer info boxes
        ========================================================================== */
.jd-footer {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.jd-footer__box:not(.jd-footer__box--image) {
  position: relative;
  display: flex;
  flex-direction: column;
  /* gap: 20px; */
  padding: 48px 32px;
  min-height: 320px;
  overflow: hidden;
  justify-content: flex-start;
}

.jd-footer__box--image {
  width: 100%;
  height: auto;
}

/* .jd-footer__box--image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("https://cdn.sites.paradox.ai/media-public/17505/12359842-88e9-459e-b74a-ac4b524e84b8/image/17843261345443864color-block.webp");
  background-size: cover;
  background-position: center;
} */

.jd-footer__box--blue {
  background-color: #6c8cc4;
  color: #ffffff;
  justify-content: center;
}

.jd-footer__box--navy {
  background-color: #0a1d79;
  color: #ffffff;
  justify-content: center;
}

.jd-footer__title {
  margin: 0;
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  letter-spacing: -0.4px;
  color: #ffffff;
  margin-bottom: 70px;
}

.jd-footer__title.--align-top {
  margin-bottom: auto;
}

.jd-footer__copy {
  margin: 0;
  font-family: "Helvetica Neue", "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  max-width: 420px;
  margin-bottom: 80px;
}

.jd-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 40px;
  background-color: #0a1d79;
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  align-self: flex-start;
  width: fit-content;
  min-width: 219px;
}

.jd-footer__cta:hover {
  background-color: #0c2395;
}

@media (min-width: 768px) {
  .jd-footer__box {
    padding: 64px 48px;
    min-height: 420px;
  }

  .jd-footer__box--image {
    min-height: 360px;
    padding: 0;
  }

  .jd-footer__title {
    font-size: 44px;
    line-height: 1.15;
  }

  .jd-footer__copy {
    font-size: 18px;
    line-height: 1.5;
  }
}

@media (min-width: 1025px) {
  .jd-footer {
    grid-template-columns: repeat(3, 1fr);
  }

  .jd-footer__box {
    padding: 84px 52px;
    min-height: 710px;
  }

  .jd-footer__box--image {
    padding: 0;
    min-height: 710px;
  }

  .jd-footer__title {
    font-size: clamp(40px, 3.6vw, 60px);
    line-height: 1.2;
  }

  .jd-footer__copy {
    font-size: 20px;
    line-height: 30px;
  }

  .jd-footer__box--image {
    height: 100%;
    object-fit: cover;
    object-position: top;
  }
}

@media screen and (min-width: 1600px) {
  .jd-footer__box--image {
    height: auto;
    object-fit: initial;
    object-position: initial;
  }
}

.jd-description .description :is(h1,p),
.jd-description .description+.extended_description :is(h1,p) {
  margin-bottom: 1rem;
}

.jd-description .description ul,
.jd-description .description + .extended_description ul {
  list-style-type: disc;
  margin-left: 2rem;
}

.jd-description .description+.extended_description ul {
  margin-bottom: 1rem;
}