/*
 * Yooper article refinement v2.7.139.
 * A wider publication sheet, calmer headline scale, and aligned story header.
 */

body.single-post.yhseo-publication-article main#wp--skip-link--target {
  width: min(1180px, calc(100% - 48px)) !important;
  max-width: 1180px !important;
  padding: clamp(38px, 4vw, 64px) !important;
}

/* The article shell shares the flex nav in daily-edition.css; the former
   8-equal-column grid here wrapped long labels onto two lines. */

body.single-post.yhseo-publication-article.yhseo-post-read-active main#wp--skip-link--target > .wp-block-columns.alignwide > .wp-block-column:first-child {
  max-width: 100% !important;
  flex-basis: 100% !important;
}

body.single-post.yhseo-publication-article main#wp--skip-link--target :is(.wp-block-post-title, .entry-title) {
  width: 100% !important;
  max-width: 1000px !important;
  margin-top: 14px !important;
  font-size: clamp(44px, 4.25vw, 58px) !important;
  line-height: 1.04 !important;
  letter-spacing: -.028em !important;
}

body.single-post.yhseo-publication-article main#wp--skip-link--target .taxonomy-category.has-text-align-center {
  width: 100% !important;
  max-width: 1000px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  text-align: left !important;
}

body.single-post.yhseo-publication-article main#wp--skip-link--target .wp-block-post-title + .wp-block-group.is-layout-flex {
  width: 100% !important;
  max-width: 1000px !important;
  margin: 12px auto 0 !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

body.single-post.yhseo-publication-article main#wp--skip-link--target .wp-block-post-featured-image {
  width: 100% !important;
  max-width: 980px !important;
  margin-top: 34px !important;
  margin-bottom: 38px !important;
}

body.single-post.yhseo-publication-article main#wp--skip-link--target .wp-block-post-featured-image > .yh-photo-caption {
  overflow-wrap: anywhere;
}

@media (max-width: 1119px) {
  body.single-post.yhseo-publication-article .yhseo-daily-site-header__nav {
    display: none;
  }
}

@media (max-width: 900px) {
  body.single-post.yhseo-publication-article main#wp--skip-link--target {
    width: calc(100% - 24px) !important;
    padding: 34px clamp(24px, 5vw, 44px) 52px !important;
  }

  body.single-post.yhseo-publication-article main#wp--skip-link--target :is(.wp-block-post-title, .entry-title) {
    font-size: clamp(40px, 6.4vw, 50px) !important;
    line-height: 1.055 !important;
  }
}

@media (max-width: 700px) {
  /* Reclaims 12px of reading column on a phone. The article sheet inset 8px
     from the viewport and then padded 16px a side, leaving ~333px for the text.
     4px and 12px keep the sheet reading as a sheet while giving the line
     somewhere to go; paired with the smaller body size in article-lean.css this
     moves the measure from 33 characters per line to about 38. */
  body.single-post.yhseo-publication-article main#wp--skip-link--target {
    width: calc(100% - 4px) !important;
    margin-top: 6px !important;
    padding: 22px 12px 40px !important;
  }

  /* House headlines run long (two sentences, 110-130 characters). At 9vw a
     124-character hed set 7 lines and 253px tall, which with the category chip,
     date and byline rows pushed the lead photograph to 566px on a 375px screen
     and left it barely inside the first viewport. Smaller type with more leading
     reads better at this measure and buys the photograph roughly 70px. */
  body.single-post.yhseo-publication-article main#wp--skip-link--target :is(.wp-block-post-title, .entry-title) {
    margin-top: 12px !important;
    font-size: clamp(26px, 7.2vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: -.02em !important;
  }

  body.single-post.yhseo-publication-article main#wp--skip-link--target .wp-block-post-title + .wp-block-group.is-layout-flex {
    margin-top: 10px !important;
    column-gap: 7px !important;
    row-gap: 5px !important;
  }

  body.single-post.yhseo-publication-article main#wp--skip-link--target .wp-block-post-featured-image {
    margin-top: 18px !important;
    margin-bottom: 30px !important;
  }
}
