/* Editorially selected pacing elements for Yooper long-form stories. */

body.single-post.yhseo-publication-article .wp-block-post-content > :is(.yhpub23-body-figure, .is-style-yh-documentary-wide),
.editor-styles-wrapper .is-root-container > .is-style-yh-documentary-wide {
  width: min(1120px, calc(100vw - 32px)) !important;
  max-width: none !important;
  margin: 48px 0 52px 50% !important;
  transform: translateX(-50%);
}

body.single-post.yhseo-publication-article .wp-block-post-content > :is(.yhpub23-body-figure, .is-style-yh-documentary-wide) img,
.editor-styles-wrapper .is-root-container > .is-style-yh-documentary-wide img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 760px;
  object-fit: contain;
  background: #e7eceb;
  border-radius: 5px;
}

body.single-post.yhseo-publication-article .wp-block-post-content > :is(.yhpub23-body-figure, .is-style-yh-documentary-wide) figcaption,
.editor-styles-wrapper .is-root-container > .is-style-yh-documentary-wide figcaption {
  width: min(860px, 100%);
  margin: 11px auto 0 !important;
  padding: 0 !important;
  color: #65767b !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: Mulish, Arial, sans-serif !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
}

body.single-post.yhseo-publication-article .wp-block-post-content > .is-style-yh-map-document,
.editor-styles-wrapper .is-root-container > .is-style-yh-map-document {
  width: min(980px, calc(100vw - 32px)) !important;
  max-width: none !important;
  margin: 44px 0 48px 50% !important;
  padding: 18px !important;
  background: #e9e4d8;
  border: 1px solid #c8c0b0;
  border-radius: 4px;
  box-shadow: 0 16px 36px rgba(18, 42, 54, .1);
  transform: translateX(-50%);
}

body.single-post.yhseo-publication-article .wp-block-post-content > .is-style-yh-map-document img,
.editor-styles-wrapper .is-root-container > .is-style-yh-map-document img {
  display: block;
  width: 100%;
  height: auto;
  background: #fff;
  border: 1px solid rgba(50, 57, 55, .18);
}

body.single-post.yhseo-publication-article .wp-block-post-content > :is(h2.wp-block-heading, .is-style-yh-chapter-marker),
.editor-styles-wrapper .is-root-container > .is-style-yh-chapter-marker {
  position: relative;
  margin: 68px 0 22px !important;
  padding-top: 16px;
  color: #122a36 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(27px, 3.7vw, 35px) !important;
  font-weight: 600 !important;
  letter-spacing: -.018em !important;
  line-height: 1.12 !important;
  border-top: 1px solid rgba(18, 42, 54, .2);
}

body.single-post.yhseo-publication-article .wp-block-post-content > :is(h2.wp-block-heading, .is-style-yh-chapter-marker)::before,
.editor-styles-wrapper .is-root-container > .is-style-yh-chapter-marker::before {
  display: block;
  margin-bottom: 9px;
  color: #14765f;
  font-family: Mulish, Arial, sans-serif;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  text-transform: uppercase;
  content: "Chapter";
}

body.single-post.yhseo-publication-article .wp-block-post-content > blockquote.is-style-yh-documentary-pullquote,
.editor-styles-wrapper .is-root-container > blockquote.is-style-yh-documentary-pullquote {
  width: min(960px, calc(100vw - 32px));
  max-width: none;
  margin: 54px 0 56px 50% !important;
  padding: 28px clamp(20px, 5vw, 58px) !important;
  color: #123a3f !important;
  background: transparent;
  border: 0 !important;
  border-top: 2px solid #14765f !important;
  border-bottom: 1px solid rgba(18, 42, 54, .22) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(28px, 4.5vw, 42px) !important;
  font-style: normal !important;
  font-weight: 500;
  line-height: 1.2 !important;
  text-align: center;
  transform: translateX(-50%);
}

body.single-post.yhseo-publication-article .wp-block-post-content > blockquote.is-style-yh-documentary-pullquote p,
.editor-styles-wrapper .is-root-container > blockquote.is-style-yh-documentary-pullquote p {
  margin: 0 !important;
  font: inherit !important;
}

body.single-post.yhseo-publication-article .wp-block-post-content > blockquote.is-style-yh-documentary-pullquote cite,
.editor-styles-wrapper .is-root-container > blockquote.is-style-yh-documentary-pullquote cite {
  margin-top: 16px;
  color: #5a6f76 !important;
  font: 800 12px/1.4 Mulish, Arial, sans-serif !important;
  letter-spacing: .02em;
}

body.single-post.yhseo-publication-article .wp-block-post-content > p.is-style-yh-passage-source,
.editor-styles-wrapper .is-root-container > p.is-style-yh-passage-source {
  margin: -10px 0 32px !important;
  padding: 9px 0 9px 13px;
  color: #5a6f76 !important;
  border-left: 2px solid #71cdb8;
  font-family: Mulish, Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1.5 !important;
}

body.single-post.yhseo-publication-article .wp-block-post-content > p.is-style-yh-passage-source a,
.editor-styles-wrapper .is-root-container > p.is-style-yh-passage-source a {
  color: #0f654f !important;
  font-weight: 850;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.single-post.yhseo-publication-article .wp-block-post-content > .is-style-yh-document-excerpt,
.editor-styles-wrapper .is-root-container > .is-style-yh-document-excerpt {
  width: min(940px, calc(100vw - 32px));
  max-width: none;
  margin: 46px 0 50px 50% !important;
  padding: clamp(24px, 4vw, 42px) !important;
  color: #26393f;
  background: #f1ecdf;
  border: 1px solid #cec5b4;
  border-radius: 3px;
  box-shadow: 0 13px 30px rgba(18, 42, 54, .08);
  transform: translateX(-50%);
}

body.single-post.yhseo-publication-article .wp-block-post-content > .is-style-yh-document-excerpt p,
.editor-styles-wrapper .is-root-container > .is-style-yh-document-excerpt p {
  color: #26393f !important;
}

body.single-post.yhseo-publication-article .wp-block-post-content .yh-document-excerpt__label,
.editor-styles-wrapper .is-root-container .yh-document-excerpt__label {
  margin: 0 0 14px !important;
  color: #8b4d2c !important;
  font: 900 10px/1 Mulish, Arial, sans-serif !important;
  letter-spacing: .09em !important;
  text-transform: uppercase;
}

/* One consolidated, readable source ledger instead of a stack of dark cards. */
body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger {
  margin-top: 58px !important;
  padding: clamp(24px, 4vw, 36px) !important;
  color: #203943 !important;
  background: #f7f4eb !important;
  border: 1px solid #d7d2c5 !important;
  border-top: 4px solid #0f654f !important;
  border-left-width: 1px !important;
  border-radius: 6px !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger :is(h2, h3, p, li, strong, span) {
  color: #203943 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger > .yh-after-kicker {
  margin-bottom: 6px !important;
  color: #0f654f !important;
  font-size: 10px !important;
  letter-spacing: .07em !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger > h2 {
  margin: 0 0 14px !important;
  color: #122a36 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(27px, 3.4vw, 36px) !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
  line-height: 1.08 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__state {
  margin: 0 0 22px !important;
  padding: 10px 12px !important;
  color: #385057 !important;
  background: #f5ead1 !important;
  border: 0 !important;
  border-radius: 4px;
  font: 650 12.5px/1.5 Mulish, Arial, sans-serif !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content [data-yhseo-source-ready="true"] .yhseo-source-ledger__state {
  background: #e5f1e8 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 24px !important;
  padding: 14px 0;
  border-top: 1px solid #d7d2c5 !important;
  border-bottom: 1px solid #d7d2c5 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary p {
  display: block;
  margin: 0 !important;
  padding: 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  border-left: 1px solid #dfdbd0 !important;
  border-radius: 0 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary p:first-child {
  padding-left: 0 !important;
  border-left: 0 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary strong {
  display: block;
  margin-bottom: 4px;
  color: #64767b !important;
  font: 900 9px/1.2 Mulish, Arial, sans-serif !important;
  letter-spacing: .055em !important;
  text-transform: uppercase;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary span {
  display: block;
  color: #203943 !important;
  font: 750 12.5px/1.35 Mulish, Arial, sans-serif !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__update,
body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__pending {
  margin: 0 0 24px !important;
  padding: 12px 14px !important;
  color: #385057 !important;
  background: #ece8dd !important;
  border: 0 !important;
  border-left: 2px solid #8aa49d !important;
  font: 600 12.5px/1.5 Mulish, Arial, sans-serif !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__group + .yhseo-source-ledger__group {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #d7d2c5;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__group h3 {
  margin: 0 0 6px !important;
  color: #122a36 !important;
  font: 850 15px/1.25 Mulish, Arial, sans-serif !important;
  letter-spacing: -.01em !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__group ol {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__group li {
  margin: 0 !important;
  padding: 12px 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-top: 1px solid #e1ddd3 !important;
  border-radius: 0 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__citation,
body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__dates,
body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__claim,
body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__note {
  margin: 0 !important;
  padding: 0 !important;
  color: #52666d !important;
  border: 0 !important;
  font: 600 12px/1.48 Mulish, Arial, sans-serif !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__citation {
  color: #203943 !important;
  font-size: 13.5px !important;
  font-weight: 800 !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__dates {
  margin-top: 3px !important;
  color: #718086 !important;
  font-size: 10.5px !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__claim,
body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__note {
  margin-top: 5px !important;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger a {
  color: #0f654f !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger > .yhseo-story-trust-links {
  margin-top: 20px !important;
  padding-top: 13px !important;
  color: #65767b !important;
  border-top: 1px solid #d7d2c5 !important;
  font-size: 11px !important;
}

@media (max-width: 700px) {
  body.single-post.yhseo-publication-article .wp-block-post-content > :is(.yhpub23-body-figure, .is-style-yh-documentary-wide),
  .editor-styles-wrapper .is-root-container > .is-style-yh-documentary-wide {
    width: calc(100vw - 12px) !important;
    margin-top: 36px !important;
    margin-bottom: 40px !important;
  }

  body.single-post.yhseo-publication-article .wp-block-post-content > :is(.yhpub23-body-figure, .is-style-yh-documentary-wide) figcaption,
  .editor-styles-wrapper .is-root-container > .is-style-yh-documentary-wide figcaption {
    width: calc(100% - 20px);
  }

  body.single-post.yhseo-publication-article .wp-block-post-content > :is(.is-style-yh-map-document, .is-style-yh-document-excerpt),
  .editor-styles-wrapper .is-root-container > :is(.is-style-yh-map-document, .is-style-yh-document-excerpt) {
    width: calc(100vw - 12px) !important;
    padding: 16px !important;
  }

  body.single-post.yhseo-publication-article .wp-block-post-content > :is(h2.wp-block-heading, .is-style-yh-chapter-marker),
  .editor-styles-wrapper .is-root-container > .is-style-yh-chapter-marker {
    margin-top: 52px !important;
    font-size: 28px !important;
  }

  body.single-post.yhseo-publication-article .wp-block-post-content > blockquote.is-style-yh-documentary-pullquote,
  .editor-styles-wrapper .is-root-container > blockquote.is-style-yh-documentary-pullquote {
    width: calc(100vw - 20px);
    margin-top: 42px !important;
    margin-bottom: 44px !important;
    padding: 24px 15px !important;
    font-size: 29px !important;
  }

  body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger {
    margin-top: 46px !important;
    padding: 22px 16px !important;
  }

  body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 14px;
  }

  body.yhseo-publication-article main#wp--skip-link--target .wp-block-post-content .yhseo-source-ledger__summary p:nth-child(3) {
    padding-left: 0 !important;
    border-left: 0 !important;
  }
}
