/* WYSIWYG editor — ported from CMS11 _wysiwyg.scss and _button-container.scss for career pages */

body.career-template .wysiwyg {
  padding: 3rem 1.5625rem;
  max-width: calc(75rem + 6rem);
  margin-left: auto;
  margin-right: auto;
}

body.career-template .wysiwyg .wysiwyg-content {
  max-width: 60rem;
  padding: 2rem 1rem;
}

body.career-template .padded .wysiwyg,
body.career-template .padded-std .wysiwyg,
body.career-template .one-col__content .wysiwyg,
body.career-template .two-col__sidebar .wysiwyg {
  padding: 1.5625rem;
}

@media screen and (min-width: 64em) {
  body.career-template .wysiwyg {
    padding: 3rem;
  }

  body.career-template .padded .wysiwyg,
  body.career-template .padded-std .wysiwyg,
  body.career-template .one-col__content .wysiwyg,
  body.career-template .two-col__sidebar .wysiwyg {
    padding: 3rem;
  }
}

/* CMS11 fonts.css effective sizes on career pages (SourceSerifPro headings) */
body.career-template .wysiwyg h1 {
  font-size: 2.5rem !important;
  font-family: SourceSerifPro, serif;
  font-weight: 600 !important;
  line-height: 1;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

body.career-template .wysiwyg h2 {
  font-size: 2rem !important;
  font-family: SourceSerifPro, serif;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  margin-bottom: 1.5rem;
}

body.career-template .wysiwyg h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

body.career-template .wysiwyg h4 {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

body.career-template .wysiwyg h5 {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

body.career-template .wysiwyg p,
body.career-template .wysiwyg ul,
body.career-template .wysiwyg ol {
  font-size: 1rem;
}

@media screen and (min-width: 48em) {
  body.career-template .wysiwyg p,
  body.career-template .wysiwyg ul,
  body.career-template .wysiwyg ol {
    font-size: 1.25rem;
  }
}

body.career-template .wysiwyg p,
body.career-template .wysiwyg li,
body.career-template .wysiwyg img {
  margin-bottom: 1.5rem;
}

body.career-template .wysiwyg h6,
body.career-template .wysiwyg small {
  font-size: 0.625rem;
  font-weight: 500;
  line-height: 1.5;
}

body.career-template .wysiwyg a {
  color: inherit;
}

body.career-template .wysiwyg .thumb-list {
  list-style: outside none;
  margin: 0;
  padding: 0;
}

body.career-template .wysiwyg .attribute-summary,
body.career-template .wysiwyg .space-btm {
  margin-bottom: 2rem;
}

body.career-template .wysiwyg img {
  max-width: 100%;
}

body.career-template .wysiwyg p:empty,
body.career-template .wysiwyg h1:empty,
body.career-template .wysiwyg h2:empty,
body.career-template .wysiwyg h3:empty,
body.career-template .wysiwyg h4:empty,
body.career-template .wysiwyg h5:empty {
  display: none;
}

body.career-template .wysiwyg .embed-responsive {
  position: relative;
  padding-bottom: 62.5%;
}

body.career-template .wysiwyg .embed-responsive iframe {
  position: absolute;
  width: 100%;
  height: 100%;
}

body.career-template .wysiwyg-container {
  height: 100%;
}

body.career-template .wysiwyg-container.light {
  background-color: #ffffff;
  color: var(--career-text-dark);
}

body.career-template .wysiwyg-container.dark {
  background-color: var(--career-text-dark);
  color: var(--career-text-light);
}

body.career-template .wysiwyg-container.primary-light {
  background-color: var(--career-primary-light);
  color: var(--career-text-dark);
}

body.career-template .wysiwyg-container.secondary-light {
  background-color: var(--career-secondary-light);
  color: var(--career-text-dark);
}

body.career-template .wysiwyg-container.primary-dark {
  background-color: var(--career-primary-dark);
  color: var(--career-text-light);
}
body.career-template h1,
body.career-template h2,
body.career-template h3,
body.career-template h4,
body.career-template h5 {
  color: inherit;
}
body.career-template .wysiwyg-container.secondary-dark {
  background-color: var(--career-secondary-dark);
  color: var(--career-text-light);
}

/* CMS11 migrated sidebar content (_wysiwyg.scss .two-col__sidebar) */
body.career-template .two-col__sidebar p:empty,
body.career-template .two-col__sidebar h1:empty,
body.career-template .two-col__sidebar h2:empty,
body.career-template .two-col__sidebar h3:empty,
body.career-template .two-col__sidebar h4:empty,
body.career-template .two-col__sidebar h5:empty {
  display: none;
}

body.career-template .two-col__sidebar h2:not([class]) {
  font-size: 1.5rem;
  line-height: 1.22;
  font-weight: 700;
  margin-bottom: 1rem;
}

body.career-template .two-col__sidebar h3:not([class]) {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

body.career-template .two-col__sidebar h4:not([class]) {
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

body.career-template .two-col__sidebar h5:not([class]) {
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

body.career-template .two-col__sidebar p:not([class]),
body.career-template .two-col__sidebar ul:not([class]),
body.career-template .two-col__sidebar ol:not([class]) {
  margin-bottom: 1rem;
}

body.career-template .button-container {
  padding-top: 1rem;
}

body.career-template .button-container .btn {
  width: 100%;
  margin-bottom: 0.5rem;
}

@media screen and (min-width: 48em) {
  body.career-template .button-container .btn {
    width: auto;
    margin: 0;
  }
}

body.career-template .button-container.-align {
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 48em) {
  body.career-template .button-container.-align {
    flex-direction: row;
  }
}

body.career-template .button-container.-align.-left {
  justify-content: flex-start;
}

body.career-template .button-container.-align.-center {
  justify-content: center;
}

body.career-template .button-container.-align.-right {
  justify-content: flex-end;
}

body.career-template .button-container.-align .btn {
  margin: 0.5rem 0;
}

@media screen and (min-width: 48em) {
  body.career-template .button-container.-align .btn {
    margin: 0 0.5rem;
  }
}

/* Content Card on career pages — CMS11 Full Overlay parity via wysiwyg-container display modes */
body.career-template .career-content-block {
  width: 100%;
}

body.career-template .career-content-block .content-block__subheading.h-3 {
  font-size: 1.5rem;
  line-height: 1.22;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

body.career-template .career-content-block .button-container {
  padding-top: 1rem;
}
