/* ColVa recruiting prose — front (.mod-editor) + block editor + ACF */
/* style.css overrides: loaded after style.min.css on recruiting singular */

/* recruiting prose (front)
============================================================ */
.mod-editor {
  box-sizing: border-box;
  color: #141414;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  letter-spacing: 0.05em;
}
.mod-editor *,
.mod-editor *::before,
.mod-editor *::after {
  box-sizing: inherit;
}
.mod-editor > * + * {
  margin-top: 1.125rem;
}
.mod-editor p {
  margin: 0;
  font-size: inherit !important;
  line-height: 2 !important;
}
.mod-editor h1,
.mod-editor h2,
.mod-editor h3,
.mod-editor h4,
.mod-editor h5,
.mod-editor h6 {
  clear: both;
  margin: 0;
  color: #141414;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.mod-editor h1 {
  margin-top: 1.125rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.329em;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.mod-editor h2 {
  margin-top: 2.25rem;
  padding-bottom: 0.5625rem;
  border-bottom: 1px solid #ddd;
  font-size: 1.329em;
  font-weight: 700;
}
.mod-editor h3 {
  margin-top: 1.875rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #141414;
  font-size: 1.1428571429em;
  font-weight: 700;
}
.mod-editor h4 {
  margin-top: 1.125rem;
  padding-bottom: 0;
  padding-left: 0.75rem;
  border-bottom: none;
  border-left: 3px solid #141414;
  font-size: 1.0714285714em;
  font-weight: 700;
}
.mod-editor h5,
.mod-editor h6 {
  margin-top: 1.125rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1em;
  font-weight: 600;
}
.mod-editor h2 + *,
.mod-editor h3 + *,
.mod-editor h4 + * {
  margin-top: 1.125rem;
}
/* block spacing */
.mod-editor * + p {
  margin-top: 1.125rem;
}
.mod-editor * + ul {
  margin-top: 1.125rem;
}
.mod-editor * + ol {
  margin-top: 1.125rem;
}
.mod-editor * + table {
  margin-top: 1.125rem;
}
.mod-editor * + blockquote {
  margin-top: 1.125rem;
}
.mod-editor * + pre {
  margin-top: 1.125rem;
}
.mod-editor * + hr {
  margin-top: 1.125rem;
}
.mod-editor * + figure {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-image {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-table {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-list {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-paragraph {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-heading {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-quote {
  margin-top: 1.125rem;
}
.mod-editor * + .wp-block-group {
  margin-top: 1.125rem;
}
.mod-editor > * + * {
  margin-top: 1.125rem;
}
.mod-editor a {
  color: #0e94e9;
  text-decoration: underline;
  opacity: 1;
  transition: none;
}
.mod-editor a:hover {
  color: #0e94e9;
  text-decoration: underline;
  opacity: 1;
}
.mod-editor u {
  background: linear-gradient(transparent 70%, rgba(255, 229, 0, 0.5) 70%);
  text-decoration: none;
}
.mod-editor hr {
  display: block;
  width: 100% !important;
  margin: 0;
  border: none;
  border-top: 1px solid #ddd;
}
.mod-editor blockquote {
  margin: 0;
  padding: 0.625rem 1.25rem;
  border-left: 5px solid #999;
  border-radius: 0.125rem;
  font-size: 0.875em;
}
.mod-editor pre {
  margin: 0;
  padding: 0.6875rem 1.25rem;
  border-radius: 0.125rem;
  background-color: #f5f5f5;
  font-size: 0.875em;
}
.mod-editor ul,
.mod-editor ol {
  margin: 0;
  padding-left: 1.5em;
}
.mod-editor ul {
  list-style: disc;
}
.mod-editor ol {
  list-style: decimal;
}
.mod-editor li {
  margin-bottom: 0.5em;
}
.mod-editor li:last-child {
  margin-bottom: 0;
}
.mod-editor table {
  width: auto;
  max-width: 100%;
  margin: 0;
  margin-bottom: 1.125rem;
  border: none;
  border-collapse: collapse;
  table-layout: auto;
  font-size: 0.875em;
}
.mod-editor table th,
.mod-editor table td {
  padding: 0.5625rem 0.625rem;
  border: 1px solid #ddd;
  vertical-align: top;
}
.mod-editor table th {
  background-color: #f5f5f5;
  font-weight: 700;
}
.mod-editor table td {
  background-color: #fff;
}
.mod-editor table[border=""],
.mod-editor table[border="0"] {
  border: none;
}
.mod-editor table[border=""] th,
.mod-editor table[border=""] td,
.mod-editor table[border="0"] th,
.mod-editor table[border="0"] td {
  border: none;
}
.mod-editor img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.mod-editor iframe {
  max-width: 100%;
}
.mod-editor .alignRight,
.mod-editor .alignright,
.mod-editor .alignLeft,
.mod-editor .alignleft {
  display: block;
  float: none;
  max-width: 100%;
  margin: 0 auto 1.125rem;
}
.mod-editor .alignCenter,
.mod-editor .aligncenter {
  display: block;
  margin-right: auto;
  margin-bottom: 1.125rem;
  margin-left: auto;
}
.mod-editor .wp-block-coblocks-alert {
  margin: 0 0 1.125rem;
}
.mod-editor .wp-block-coblocks-alert :last-child {
  margin-bottom: 0;
}
.mod-editor .red {
  color: #c00;
}
.mod-editor .green {
  color: #080;
}
.mod-editor .blue {
  color: #558ec0;
}
.mod-editor .yellow {
  color: #996600;
}
.mod-editor :first-child {
  margin-top: 0 !important;
}
.mod-editor :not(img):last-child {
  margin-bottom: 0 !important;
}

/* recruiting prose (admin)
============================================================ */
/* Block editor canvas — horizontal breathing room (TinyMCE: padding 15px) */
.editor-styles-wrapper {
  padding-right: 15px;
  padding-left: 15px;
}
@media screen and (min-width: 782px) {
  .editor-styles-wrapper {
    padding-right: 24px;
    padding-left: 24px;
  }
}
.editor-styles-wrapper,
.mceContentBody.mod-editor {
  box-sizing: border-box;
  color: #141414;
  font-size: 0.875rem;
  line-height: 1.6;
  overflow-wrap: break-word;
  letter-spacing: 0.05em;
}
.editor-styles-wrapper *,
.mceContentBody.mod-editor *,
.editor-styles-wrapper *::before,
.mceContentBody.mod-editor *::before,
.editor-styles-wrapper *::after,
.mceContentBody.mod-editor *::after {
  box-sizing: inherit;
}
body.mceContentBody.mod-editor {
  padding: 15px !important;
  text-align: left;
}
.mceContentBody.mod-editor > * + * {
  margin-top: 1.125rem;
}
.editor-styles-wrapper p,
.mceContentBody.mod-editor p {
  margin: 0;
  font-size: inherit !important;
  line-height: 2;
}
.editor-styles-wrapper h1,
.mceContentBody.mod-editor h1,
.editor-styles-wrapper h2,
.mceContentBody.mod-editor h2,
.editor-styles-wrapper h3,
.mceContentBody.mod-editor h3,
.editor-styles-wrapper h4,
.mceContentBody.mod-editor h4,
.editor-styles-wrapper h5,
.mceContentBody.mod-editor h5,
.editor-styles-wrapper h6,
.mceContentBody.mod-editor h6 {
  clear: both;
  margin: 0;
  color: #141414;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
.editor-styles-wrapper h1,
.mceContentBody.mod-editor h1 {
  margin-top: 1.125rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1.329em;
  font-weight: 700;
}
.editor-styles-wrapper h2,
.mceContentBody.mod-editor h2 {
  margin-top: 2.25rem;
  padding-bottom: 0.5625rem;
  border-bottom: 1px solid #ddd;
  font-size: 1.329em;
  font-weight: 700;
}
.editor-styles-wrapper h3,
.mceContentBody.mod-editor h3 {
  margin-top: 1.875rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid #141414;
  font-size: 1.1428571429em;
  font-weight: 700;
}
.editor-styles-wrapper h4,
.mceContentBody.mod-editor h4 {
  margin-top: 1.125rem;
  padding-bottom: 0;
  padding-left: 0.75rem;
  border-bottom: none;
  border-left: 3px solid #141414;
  font-size: 1.0714285714em;
  font-weight: 700;
}
.editor-styles-wrapper h5,
.mceContentBody.mod-editor h5,
.editor-styles-wrapper h6,
.mceContentBody.mod-editor h6 {
  margin-top: 1.125rem;
  padding-bottom: 0;
  border-bottom: none;
  font-size: 1em;
  font-weight: 600;
}
.mceContentBody.mod-editor h2 + *,
.mceContentBody.mod-editor h3 + *,
.mceContentBody.mod-editor h4 + * {
  margin-top: 1.125rem;
}
/* block spacing — ACF TinyMCE only (.editor-styles-wrapper uses recruiting prose spacing below) */
.mceContentBody.mod-editor * + p {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + ul {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + ol {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + table {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + blockquote {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + pre {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + hr {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + figure {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-image {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-table {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-list {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-paragraph {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-heading {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-quote {
  margin-top: 1.125rem;
}
.mceContentBody.mod-editor * + .wp-block-group {
  margin-top: 1.125rem;
}
.editor-styles-wrapper a,
.mceContentBody.mod-editor a {
  color: #558ec0;
  text-decoration: underline;
  opacity: 1;
  transition: none;
}
.editor-styles-wrapper a:hover,
.mceContentBody.mod-editor a:hover {
  color: #558ec0;
  text-decoration: underline;
  opacity: 1;
}

/* PDF link badge — prose (front + block editor + ACF) */
.mod-editor a[href$=".pdf" i]::after,
.mod-editor a[href*=".pdf?" i]::after,
.mod-editor a[href*=".pdf#" i]::after,
.editor-styles-wrapper a[href$=".pdf" i]::after,
.editor-styles-wrapper a[href*=".pdf?" i]::after,
.editor-styles-wrapper a[href*=".pdf#" i]::after,
.mceContentBody.mod-editor a[href$=".pdf" i]::after,
.mceContentBody.mod-editor a[href*=".pdf?" i]::after,
.mceContentBody.mod-editor a[href*=".pdf#" i]::after {
  content: "PDF";
  display: inline-block;
  margin-right: 0.35em;
  margin-left: 0.35em;
  padding: 0.05em 0.45em 0;
  border: 1px solid #cf8f8c;
  border-radius: 999px;
  color: #cf8f8c;
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 0.625em;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  letter-spacing: 0.02em;
  vertical-align: middle;
  -webkit-transform: translateY(-0.05em);
  transform: translateY(-0.05em);
}
.mod-editor a[href$=".pdf" i]:hover::after,
.mod-editor a[href*=".pdf?" i]:hover::after,
.mod-editor a[href*=".pdf#" i]:hover::after,
.editor-styles-wrapper a[href$=".pdf" i]:hover::after,
.editor-styles-wrapper a[href*=".pdf?" i]:hover::after,
.editor-styles-wrapper a[href*=".pdf#" i]:hover::after,
.mceContentBody.mod-editor a[href$=".pdf" i]:hover::after,
.mceContentBody.mod-editor a[href*=".pdf?" i]:hover::after,
.mceContentBody.mod-editor a[href*=".pdf#" i]:hover::after {
  border-color: #c88888;
  color: #c88888;
}
.editor-styles-wrapper u,
.mceContentBody.mod-editor u {
  background: linear-gradient(transparent 70%, rgba(255, 229, 0, 0.5) 70%);
  text-decoration: none;
}
.editor-styles-wrapper hr,
.mceContentBody.mod-editor hr {
  display: block;
  width: 100% !important;
  margin: 0;
  border: none;
  border-top: 1px solid #ddd;
}
.editor-styles-wrapper blockquote,
.mceContentBody.mod-editor blockquote {
  margin: 0;
  padding: 0.625rem 1.25rem;
  border-left: 5px solid #999;
  border-radius: 0.125rem;
  font-size: 0.875em;
}
.editor-styles-wrapper pre,
.mceContentBody.mod-editor pre {
  margin: 0;
  padding: 0.6875rem 1.25rem;
  border-radius: 0.125rem;
  background-color: #f5f5f5;
  font-size: 0.875em;
}
.editor-styles-wrapper code,
.mceContentBody.mod-editor code {
  margin: 0 2px;
  padding: 0 3px;
  border: 1px solid #ddd;
  border-radius: 0.25rem;
  background-color: #f5f5f5;
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 0.875em;
}
.editor-styles-wrapper kbd,
.mceContentBody.mod-editor kbd {
  margin: 0 2px;
  padding: 0 3px;
  border: 1px solid #ddd;
  border-bottom-width: 3px;
  border-radius: 0.25rem;
  background-color: #f5f5f5;
  font-family: YuGothic, "Yu Gothic", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", sans-serif;
  font-size: 0.875em;
}
.editor-styles-wrapper ul,
.mceContentBody.mod-editor ul,
.editor-styles-wrapper ol,
.mceContentBody.mod-editor ol {
  margin: 0;
  padding-left: 1.5em;
}
.editor-styles-wrapper ul,
.mceContentBody.mod-editor ul {
  list-style: disc;
}
.editor-styles-wrapper ol,
.mceContentBody.mod-editor ol {
  list-style: decimal;
}
.editor-styles-wrapper li,
.mceContentBody.mod-editor li {
  margin-bottom: 0.5em;
}
.editor-styles-wrapper li:last-child,
.mceContentBody.mod-editor li:last-child {
  margin-bottom: 0;
}
.editor-styles-wrapper table,
.mceContentBody.mod-editor table {
  width: auto;
  max-width: 100%;
  margin: 0;
  margin-bottom: 1.125rem;
  border-collapse: collapse;
  font-size: 0.875em;
}
.editor-styles-wrapper .wp-block-table {
  margin-bottom: 1.125rem;
}
.editor-styles-wrapper .wp-block-table table {
  margin-bottom: 0;
}
.editor-styles-wrapper table th,
.mceContentBody.mod-editor table th,
.editor-styles-wrapper table td,
.mceContentBody.mod-editor table td {
  padding: 0.5625rem 0.625rem;
  border: 1px solid #ddd;
  vertical-align: top;
}
.editor-styles-wrapper table th,
.mceContentBody.mod-editor table th {
  background-color: #f5f5f5;
  font-weight: 700;
}
.editor-styles-wrapper table td,
.mceContentBody.mod-editor table td {
  background-color: #fff;
}
.editor-styles-wrapper .is-style-stripes table {
  border: none;
}
.editor-styles-wrapper .is-style-stripes table th,
.editor-styles-wrapper .is-style-stripes table td {
  border: none;
}
.editor-styles-wrapper .is-style-stripes table tr:nth-child(even) td {
  background-color: #f5f5f5;
}
.editor-styles-wrapper table[border=""],
.mceContentBody.mod-editor table[border=""],
.editor-styles-wrapper table[border="0"],
.mceContentBody.mod-editor table[border="0"] {
  border: none;
}
.editor-styles-wrapper table[border=""] th,
.mceContentBody.mod-editor table[border=""] th,
.editor-styles-wrapper table[border=""] td,
.mceContentBody.mod-editor table[border=""] td,
.editor-styles-wrapper table[border="0"] th,
.mceContentBody.mod-editor table[border="0"] th,
.editor-styles-wrapper table[border="0"] td,
.mceContentBody.mod-editor table[border="0"] td {
  border: none;
}
.editor-styles-wrapper img,
.mceContentBody.mod-editor img {
  width: auto;
  max-width: 100%;
  height: auto;
}
.editor-styles-wrapper iframe,
.mceContentBody.mod-editor iframe {
  max-width: 100%;
}
.editor-styles-wrapper .alignRight,
.mceContentBody.mod-editor .alignRight,
.editor-styles-wrapper .alignright,
.mceContentBody.mod-editor .alignright,
.editor-styles-wrapper .alignLeft,
.mceContentBody.mod-editor .alignLeft,
.editor-styles-wrapper .alignleft,
.mceContentBody.mod-editor .alignleft {
  display: block;
  float: none;
  max-width: 100%;
  margin: 0 auto 1.125rem;
}
.editor-styles-wrapper .alignCenter,
.mceContentBody.mod-editor .alignCenter,
.editor-styles-wrapper .aligncenter,
.mceContentBody.mod-editor .aligncenter {
  display: block;
  margin-right: auto;
  margin-bottom: 1.125rem;
  margin-left: auto;
}
.editor-styles-wrapper .wp-block-coblocks-alert,
.mceContentBody.mod-editor .wp-block-coblocks-alert {
  margin: 0 0 1.125rem;
}
.editor-styles-wrapper .wp-block-coblocks-alert :last-child,
.mceContentBody.mod-editor .wp-block-coblocks-alert :last-child {
  margin-bottom: 0;
}
.editor-styles-wrapper .red,
.mceContentBody.mod-editor .red {
  color: #c00;
}
.editor-styles-wrapper .green,
.mceContentBody.mod-editor .green {
  color: #080;
}
.editor-styles-wrapper .blue,
.mceContentBody.mod-editor .blue {
  color: #558ec0;
}
.editor-styles-wrapper .yellow,
.mceContentBody.mod-editor .yellow {
  color: #996600;
}
.editor-styles-wrapper :first-child,
.mceContentBody.mod-editor :first-child {
  margin-top: 0 !important;
}
.editor-styles-wrapper :not(img):last-child,
.mceContentBody.mod-editor :not(img):last-child {
  margin-bottom: 0 !important;
}

/* Mediaquery — style.css と同一（min-width: 376px / 821px） */
@media screen and (min-width: 376px) {
  .mod-editor .alignRight,
  .mod-editor .alignright {
    display: block;
    float: right;
    max-width: 40%;
    margin: 0 0 1.125rem 1.125rem;
  }
  .mod-editor .alignLeft,
  .mod-editor .alignleft {
    display: block;
    float: left;
    max-width: 40%;
    margin: 0 1.125rem 1.125rem 0;
  }
  .editor-styles-wrapper .alignRight,
  .mceContentBody.mod-editor .alignRight,
  .editor-styles-wrapper .alignright,
  .mceContentBody.mod-editor .alignright {
    display: block;
    float: right;
    max-width: 40%;
    margin: 0 0 1.125rem 1.125rem;
  }
  .editor-styles-wrapper .alignLeft,
  .mceContentBody.mod-editor .alignLeft,
  .editor-styles-wrapper .alignleft,
  .mceContentBody.mod-editor .alignleft {
    display: block;
    float: left;
    max-width: 40%;
    margin: 0 1.125rem 1.125rem 0;
  }
  .editor-styles-wrapper .img-right img,
  .editor-styles-wrapper .img-left img {
    max-width: 40%;
  }
}
@media screen and (min-width: 821px) {
  /* block spacing — generic .mod-editor + ACF TinyMCE */
  .mod-editor * + p,
  .mceContentBody.mod-editor * + p {
    margin-top: 1.25rem;
  }
  .mod-editor * + ul,
  .mceContentBody.mod-editor * + ul {
    margin-top: 1.25rem;
  }
  .mod-editor * + ol,
  .mceContentBody.mod-editor * + ol {
    margin-top: 1.25rem;
  }
  .mod-editor * + table,
  .mceContentBody.mod-editor * + table {
    margin-top: 1.25rem;
  }
  .mod-editor * + blockquote,
  .mceContentBody.mod-editor * + blockquote {
    margin-top: 1.25rem;
  }
  .mod-editor * + pre,
  .mceContentBody.mod-editor * + pre {
    margin-top: 1.25rem;
  }
  .mod-editor * + hr,
  .mceContentBody.mod-editor * + hr {
    margin-top: 1.25rem;
  }
  .mod-editor * + figure,
  .mceContentBody.mod-editor * + figure {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-image,
  .mceContentBody.mod-editor * + .wp-block-image {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-table,
  .mceContentBody.mod-editor * + .wp-block-table {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-list,
  .mceContentBody.mod-editor * + .wp-block-list {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-paragraph,
  .mceContentBody.mod-editor * + .wp-block-paragraph {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-heading,
  .mceContentBody.mod-editor * + .wp-block-heading {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-quote,
  .mceContentBody.mod-editor * + .wp-block-quote {
    margin-top: 1.25rem;
  }
  .mod-editor * + .wp-block-group,
  .mceContentBody.mod-editor * + .wp-block-group {
    margin-top: 1.25rem;
  }
  .mod-editor > * + *,
  .mceContentBody.mod-editor > * + * {
    margin-top: 1.25rem;
  }
  .mod-editor h2 {
    margin-top: 2.8125rem;
  }
  .mod-editor h3 {
    margin-top: 2.25rem;
  }
  .mod-editor h4 {
    margin-top: 1.25rem;
  }
  .mod-editor h5,
  .mod-editor h6 {
    margin-top: 1.25rem;
  }
  .mceContentBody.mod-editor h2 {
    margin-top: 2.8125rem;
  }
  .mceContentBody.mod-editor h3 {
    margin-top: 2.25rem;
  }
  .mceContentBody.mod-editor h4 {
    margin-top: 1.25rem;
  }
  .mceContentBody.mod-editor h5,
  .mceContentBody.mod-editor h6 {
    margin-top: 1.25rem;
  }
  .mod-editor:not(.mceContentBody) {
    font-size: 1.3rem;
  }
  .editor-styles-wrapper,
  .mceContentBody.mod-editor {
    font-size: 16px;
  }
  .mod-editor p {
    line-height: 2.25 !important;
  }
  .mod-editor h2 {
    padding-bottom: 0.75rem;
  }
  .mod-editor h3 {
    padding-bottom: 0.5rem;
  }
  .editor-styles-wrapper p,
  .mceContentBody.mod-editor p {
    line-height: 2.25;
  }
  .editor-styles-wrapper h2,
  .mceContentBody.mod-editor h2 {
    padding-bottom: 0.75rem;
  }
  .editor-styles-wrapper h3,
  .mceContentBody.mod-editor h3 {
    padding-bottom: 0.5rem;
  }
  .mod-editor .alignRight,
  .mod-editor .alignright,
  .mod-editor .alignLeft,
  .mod-editor .alignleft,
  .editor-styles-wrapper .alignRight,
  .mceContentBody.mod-editor .alignRight,
  .editor-styles-wrapper .alignright,
  .mceContentBody.mod-editor .alignright,
  .editor-styles-wrapper .alignLeft,
  .mceContentBody.mod-editor .alignLeft,
  .editor-styles-wrapper .alignleft,
  .mceContentBody.mod-editor .alignleft,
  .editor-styles-wrapper .img-right img,
  .editor-styles-wrapper .img-left img {
    max-width: none;
  }
}

/* recruiting prose spacing — front detail + block editor */
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) {
  --recruiting-gap: 1.125rem;
  --recruiting-gap-h1h2: 3.125rem;
  --recruiting-gap-h3: 2.25rem;
  --recruiting-gap-h4h6: 1.125rem;
  --recruiting-gap-heading-block: 3.125rem;
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) > :first-child {
  margin-top: 0 !important;
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h1,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h2 {
  margin-top: var(--recruiting-gap-h1h2);
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h3 {
  margin-top: var(--recruiting-gap-h3);
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h4,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h5,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h6 {
  margin-top: var(--recruiting-gap-h4h6);
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h1 + *,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h2 + *,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h3 + *,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) h4 + * {
  margin-top: var(--recruiting-gap);
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) > * + *,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + p,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + ul,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + ol,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + table,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + blockquote,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + pre,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + hr,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + figure,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-image,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-table,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-list,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-paragraph,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-quote,
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-group {
  margin-top: var(--recruiting-gap);
}
:is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) * + .wp-block-heading {
  margin-top: var(--recruiting-gap-heading-block);
}
.editor-styles-wrapper.is-layout-flow > * + *,
.editor-styles-wrapper .is-layout-flow > * + * {
  margin-block-start: 0;
}
@media screen and (min-width: 821px) {
  :is(.editor-styles-wrapper, .p-recruiting-detail__editor-inner .mod-editor) {
    --recruiting-gap: 1.25rem;
    --recruiting-gap-h1h2: 3.75rem;
    --recruiting-gap-h3: 2.5rem;
    --recruiting-gap-h4h6: 1.25rem;
    --recruiting-gap-heading-block: 3.75rem;
  }
}
