/* Long-form copy: policy pages, blog posts, term-archive intros. */

.mp-prose-page { background: var(--mp-surface-blue); color: var(--mp-ink); }
.mp-prose-page__title { font-size: var(--mp-fs-section); margin-bottom: .6em; }

/* Live renders post body copy at #292929, not the #868686 body token (which is
   for UI captions on white). Match live: it also clears axe's contrast finding
   (#868686 on white is 3.5:1, below AA). */

.mp-prose { max-width: 760px; }
.mp-prose > * + * { margin-top: 1.1em; }
.mp-prose h2 { font-size: var(--mp-fs-h3); margin-top: 1.8em; }
.mp-prose h3 { font-size: var(--mp-fs-card); margin-top: 1.5em; }
.mp-prose ul, .mp-prose ol { padding-left: 1.3em; }
.mp-prose li + li { margin-top: .4em; }
.mp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.mp-prose img { border-radius: var(--mp-radius); margin-block: 1.4em; }
.mp-prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-left: 3px solid var(--mp-pink);
  background: var(--mp-glass);
  border-radius: 0 var(--mp-radius) var(--mp-radius) 0;
}
.mp-prose table { width: 100%; border-collapse: collapse; }
.mp-prose th, .mp-prose td { padding: 10px 12px; border-bottom: 1px solid var(--mp-hairline); text-align: left; }
.mp-prose pre { overflow-x: auto; padding: 14px; background: rgba(0,0,0,.35); border-radius: var(--mp-radius); }

/* single post ------------------------------------------------------------- */





/* Page title shown only when no block on the page carries an H1 (live does the
   same on /job-openings/). */
.mp-page-title { padding-block: 48px 8px; }
.mp-page-title__h1 { margin: 0; font-size: 45px; font-weight: 500; line-height: 1.1; }
@media (max-width: 767px) { .mp-page-title__h1 { font-size: 30px; } }

/* /job-openings/ on live: Hello Elementor's entry-title in the kit H1 (50px/1.2
   700, -1px) inside a 1140px container (x=150), 26px above the first band. */
.mp-page-title.mp-page-title--kit { padding-block: 8px 6px; }   /* + the 20px header strip; H1 to the first eyebrow 86px as on live */
.mp-page-title--kit .mp-inner { max-width: 1180px; }
.mp-page-title--kit .mp-page-title__h1 {
  font-family: var(--mp-font-kit);
  font-size: 50px; font-weight: 700; line-height: 1.2; letter-spacing: -1px;
  color: var(--e-global-color-secondary, #292929);
}
@media (max-width: 767px) {
  .mp-page-title--kit .mp-page-title__h1 { font-size: 29px; }
  .mp-page-title--kit .mp-inner { padding-inline: 10px; }   /* live x 10: the container's padding */
}

/* ---------------------------------------------------------------------------
   Single post — port of live's Elementor Pro template 1627 (see single.php).
   --------------------------------------------------------------------------- */
.mp-post__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 10% 8%;
  background: #292929;
}
.mp-post__hero-img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.mp-post__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: #292929;
  opacity: .5;
}
.mp-post__title {
  margin: 0;
  text-align: center;
  font-family: var(--mp-font-kit);
  font-size: 65px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -2.9px;
  color: #fff;
}

.mp-post__body { margin-top: 8%; padding: 0 8%; background: #fff; }
.mp-post__body-in { max-width: 1600px; margin: 0 auto; display: flex; flex-direction: column; gap: 50px; }

.mp-post__content {
  font-family: var(--mp-font-kit);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #292929;
}
.mp-post__content p { margin: 0 0 14.4px; }
.mp-post__content :is(h1, h2, h3, h4, h5, h6) {
  margin: 8px 0 16px;
  font-family: var(--mp-font-kit);
  font-weight: 700;
  color: #292929;
}
.mp-post__content h1 { font-size: 50px; line-height: 1.2; letter-spacing: -1px; }
.mp-post__content h2 { font-size: 37px; line-height: 1.2; letter-spacing: -.5px; }
.mp-post__content h3 { font-size: 28px; line-height: 1.3; }
.mp-post__content h4 { font-size: 21px; line-height: 1.3; }
.mp-post__content h5 { font-size: 16px; line-height: 1.4; }
.mp-post__content h6 { font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.mp-post__content :is(ul, ol) { margin: 0; padding-left: 40px; }
.mp-post__content li + li { margin-top: 0; }
.mp-post__content img { border-radius: 0; margin: 0; }
.mp-post__content a { color: #292929; text-decoration: none; }
.mp-post__content a:hover, .mp-post__content a:focus-visible { color: #3e71db; }
/* Hello Elementor's table reset, which live paints on the 37 posts with tables;
   blockquotes get no rule at all (live: the browser's plain 40px indent) */
.mp-post__content table {
  width: 100%;
  margin: 0 0 15px;
  border-spacing: 0;
  border-collapse: collapse;
  font-size: .9em;
  background: transparent;
}
.mp-post__content :is(td, th) {
  padding: 15px;
  line-height: 1.5;
  vertical-align: top;
  text-align: start;
  border: 1px solid rgba(128, 128, 128, .5);
}
.mp-post__content th { font-weight: 700; }
.mp-post__content tbody > tr:nth-child(odd) > :is(td, th) { background: rgba(128, 128, 128, .07); }

/* the type sits on the nav itself: with line-height 1 only on the inline links,
   each span kept the body's 24px line box and Related Posts landed 8px low */
.mp-post__nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3%;
  padding-top: 30px;
  border-top: 1px solid #1C244B;
  font-size: 16px;
  line-height: 1;
}
.mp-post__nav a {
  font-family: "Poppins", var(--mp-font-kit);
  font-size: 16px;
  font-style: italic;
  line-height: 1;
  text-decoration: underline;
  text-transform: capitalize;
  color: #1C244B;
}
.mp-post__nav a:hover, .mp-post__nav a:focus-visible { color: #3e71db; }

.mp-post__share {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 42px;
  font-family: "Poppins", var(--mp-font-kit);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.5;
  color: #324A6D;
}
.mp-post__share-list { display: flex; align-items: center; gap: 22px; margin: 0; padding: 0; list-style: none; }
.mp-post__share-list a { display: block; color: #467FF7; }
.mp-post__share-list a:hover, .mp-post__share-list a:focus-visible { color: #C8D5DC; }
.mp-post__share-list svg { width: 22px; height: 22px; }
.mp-post__share-list svg, .mp-post__share-list svg path { fill: currentColor; }

.mp-related { margin-top: 12%; padding: 0 8%; }
.mp-related__in { max-width: 970px; margin: 0 auto; display: flex; flex-direction: column; gap: 100px; }
.mp-related__title {
  margin: 0;
  text-align: center;
  font-family: "Poppins", var(--mp-font-kit);
  font-size: 65px;
  font-weight: 600;
  line-height: 1.2;
  color: #1C244B;
}
.mp-related__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 60px; row-gap: 80px; }
.mp-related__media { position: relative; display: block; padding-bottom: 80%; overflow: hidden; }
.mp-related__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.mp-related__text { margin: 40px 0 16px; }
.mp-related__heading { margin: 0 0 8px; font-family: "Poppins", var(--mp-font-kit); font-size: 22px; font-weight: 600; line-height: 1.2; }
.mp-related__heading a { color: #1C244B; text-decoration: none; }
.mp-related__heading a:hover, .mp-related__heading a:focus-visible { color: #3e71db; }
.mp-related__excerpt { margin: 0 0 25px; font-family: var(--mp-font-kit); font-size: 14px; line-height: 1.5; color: #767676; }   /* live #777 is 4.48:1; one step darker passes AA */
.mp-related__more {
  display: inline-block;
  font-family: "Poppins", var(--mp-font-kit);
  font-size: 16px;
  font-style: italic;
  line-height: 1;
  text-decoration: underline;
  color: #3e71db;
}

@media (max-width: 1024px) {
  .mp-post__title { font-size: 45px; }
  .mp-post__body { padding: 0 5%; }
  .mp-post__content { font-size: 14px; }
  /* the kit's tablet/mobile heading scale (583e54c, 5d167aa, d3dae9a, 83682a1,
     7044a64, 84ca66e): live's mobile post H2s are 24px, not 37 */
  .mp-post__content h1 { font-size: 29px; }
  .mp-post__content h2 { font-size: 24px; }
  .mp-post__content h3 { font-size: 20px; }
  .mp-post__content h4 { font-size: 16px; }
  .mp-post__content h5 { font-size: 15px; }
  .mp-post__content h6 { font-size: 13px; }
  @media (max-width: 767px) {
    .mp-post__content h5 { font-size: 14px; }
    .mp-post__content h6 { font-size: 12px; }
  }
  .mp-post__nav a, .mp-post__share { font-size: 14px; }
  .mp-related { padding: 0 5%; }
  .mp-related__in { gap: 50px; }
  .mp-related__title { font-size: 45px; }
  .mp-related__grid { row-gap: 71px; }
}
@media (max-width: 767px) {
  .mp-post__title { font-size: 28px; line-height: 1.1; }
  .mp-post__body-in { gap: 25px; }
  .mp-post__share { margin-top: 5%; }
  .mp-post__share-list { gap: 16px; }
  .mp-post__share-list svg { width: 18px; height: 18px; }
  .mp-related { margin-top: 35%; }
  .mp-related__in { gap: 20px; }
  .mp-related__title { font-size: 28px; line-height: 1.1; }
  .mp-related__grid { grid-template-columns: 1fr; column-gap: 30px; row-gap: 30px; }
  /* Elementor Pro's phone item ratio (.5 when the widget sets none) and the
     widget's phone title: 18px / 1.1, 9px above the excerpt */
  .mp-related__media { padding-bottom: 50%; }
  .mp-related__heading { margin-bottom: 9px; font-size: 18px; line-height: 1.1; }
}

/* Live's link blue #467FF7 is 3.7:1 on white; text links use #3e71db, the
   nearest shade that passes AA (4.58:1). The share icons keep #467FF7 (3:1 is
   enough for graphics). */

/* The kit page title band sits in Hello Elementor's .site-main, whose width
   steps with the viewport (live /job-openings/ H1 at x 84 on a 768px tablet),
   in the kit's tablet H1 (29px). */
@media (max-width: 1199px) { .mp-page-title--kit .mp-inner { max-width: 800px; padding-inline: 0; } }
@media (max-width: 991px) { .mp-page-title--kit .mp-inner { max-width: 600px; } }
@media (max-width: 1024px) { .mp-page-title--kit .mp-page-title__h1 { font-size: 29px; } }
@media (max-width: 767px) { .mp-page-title--kit .mp-inner { max-width: 500px; } }
@media (max-width: 575px) { .mp-page-title--kit .mp-inner { max-width: none; padding-inline: 10px; } }
