:root {
  --yh-shell-bg: #eef2f2;
  --yh-shell-surface: #fff;
  --yh-shell-navy: #071f2e;
  --yh-shell-text: #122a36;
  --yh-shell-muted: #60747b;
  --yh-shell-accent: #14765f;
  --yh-shell-accent-hover: #0f5f4c;
  --yh-shell-rule: rgba(18, 42, 54, .16);
  --yh-shell-max: 1180px;
  --yh-shell-reading: 760px;
  --yh-shell-space-1: 8px;
  --yh-shell-space-2: 16px;
  --yh-shell-space-3: 24px;
  --yh-shell-space-4: 32px;
  --yh-shell-space-5: 48px;
  --yh-shell-space-6: 64px;
}

body.yhseo-publication-shell {
  margin: 0;
  padding-top: 0 !important;
  color: var(--yh-shell-text);
  background: var(--yh-shell-bg) !important;
  font-family: Mulish, Arial, sans-serif;
}

body.yhseo-publication-shell,
body.yhseo-publication-shell * {
  box-sizing: border-box;
}

body.yhseo-publication-shell > .yh-mobile-native-menu,
body.yhseo-publication-shell .floatyheader,
body.yhseo-publication-shell .floatyheader-wrapper {
  display: none !important;
}

body.yhseo-publication-shell .wp-site-blocks {
  padding: 0 !important;
  background: transparent !important;
}

body.yhseo-publication-shell main#wp--skip-link--target {
  width: min(960px, calc(100% - 32px)) !important;
  max-width: 960px !important;
  margin: var(--yh-shell-space-4) auto var(--yh-shell-space-6) !important;
  padding: clamp(28px, 5vw, 64px) !important;
  overflow: visible !important;
  color: var(--yh-shell-text) !important;
  background: var(--yh-shell-surface) !important;
  border: 1px solid var(--yh-shell-rule);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(7, 31, 46, .05);
}

body.yhseo-publication-shell main#wp--skip-link--target > :is(.alignwide, .alignfull, .wp-block-columns, .wp-block-group),
body.yhseo-publication-shell main#wp--skip-link--target .wp-block-columns.alignwide {
  width: 100% !important;
  max-width: 100% !important;
  margin-right: auto !important;
  margin-left: auto !important;
  transform: none !important;
}

body.yhseo-publication-shell main#wp--skip-link--target .wp-block-column {
  min-width: 0;
}

body.yhseo-publication-shell :is(.wp-block-post-title, .entry-title) {
  max-width: 820px;
  margin-right: auto !important;
  margin-left: auto !important;
  color: var(--yh-shell-text) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: clamp(42px, 6vw, 68px) !important;
  font-weight: 600 !important;
  letter-spacing: -.025em !important;
  line-height: 1.06 !important;
  text-align: left !important;
  text-wrap: balance;
}

body.yhseo-publication-shell :is(.wp-block-post-excerpt, .wp-block-post-excerpt__excerpt, .entry-summary) {
  max-width: var(--yh-shell-reading);
  margin-right: auto !important;
  margin-left: auto !important;
  color: var(--yh-shell-muted) !important;
  font-family: Mulish, Arial, sans-serif !important;
  font-size: clamp(18px, 2vw, 22px) !important;
  line-height: 1.5 !important;
}

body.yhseo-publication-shell :is(.wp-block-post-date, .wp-block-post-author, .taxonomy-category, .taxonomy-post_tag) {
  color: var(--yh-shell-muted) !important;
  font-family: Mulish, Arial, sans-serif !important;
}

body.yhseo-publication-shell .wp-block-post-featured-image {
  width: 100%;
  max-width: 840px;
  margin: var(--yh-shell-space-4) auto !important;
  overflow: hidden;
  border-radius: 8px;
}

body.yhseo-publication-shell .wp-block-post-featured-image img {
  width: 100%;
  height: auto;
}

body.yhseo-publication-shell main#wp--skip-link--target :is(.wp-block-image, figure) img,
body.yhseo-publication-shell main#wp--skip-link--target .wp-block-post-content img {
  max-width: 100%;
  height: auto;
}

body.yhseo-publication-shell .wp-block-post-content,
body.yhseo-publication-about .entry-content {
  width: 100% !important;
  max-width: var(--yh-shell-reading) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  color: var(--yh-shell-text) !important;
  background: transparent !important;
}

body.yhseo-publication-about main#wp--skip-link--target :is(p, li),
body.yhseo-publication-about main#wp--skip-link--target :is(h1, h2, h3, h4) {
  color: var(--yh-shell-text) !important;
}

body.yhseo-publication-about main#wp--skip-link--target h1 {
  margin-top: 0 !important;
  margin-bottom: var(--yh-shell-space-4) !important;
}

body.yhseo-publication-about main#wp--skip-link--target h2,
body.yhseo-publication-about main#wp--skip-link--target h3 {
  margin-top: var(--yh-shell-space-5) !important;
  margin-bottom: var(--yh-shell-space-2) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-weight: 600 !important;
  line-height: 1.14 !important;
}

body.yhseo-publication-about main#wp--skip-link--target p,
body.yhseo-publication-about main#wp--skip-link--target li {
  font-size: 18px !important;
  line-height: 1.65 !important;
}

body.yhseo-publication-shell :is(.wp-element-button, .wp-block-button__link, button:not(.wpconsent-button)) {
  color: #fff !important;
  background: var(--yh-shell-accent) !important;
  border: 0 !important;
  border-radius: 5px !important;
  font-family: Mulish, Arial, sans-serif !important;
  font-weight: 900 !important;
}

body.yhseo-publication-shell :is(.wp-element-button, .wp-block-button__link, button:not(.wpconsent-button)):hover {
  background: var(--yh-shell-accent-hover) !important;
}

body.yhseo-publication-shell main#wp--skip-link--target a:not(.wp-element-button):not(.wp-block-button__link) {
  color: var(--yh-shell-accent);
  text-underline-offset: .16em;
}

body.yhseo-publication-shell :is(.yhseo-source-standard, .yhseo-source-ledger, .yhseo-publisher-identity) {
  color: #eaf5f4 !important;
  background: var(--yh-shell-navy) !important;
  border-color: rgba(113, 220, 198, .28) !important;
  border-radius: 8px !important;
}

body.yhseo-publication-shell :is(.yhseo-source-standard, .yhseo-source-ledger, .yhseo-publisher-identity) :is(h2, h3, p, li, strong) {
  color: inherit !important;
}

body.yhseo-publication-shell main#wp--skip-link--target :is(.yhseo-source-standard, .yhseo-source-ledger, .yhseo-publisher-identity) *,
body.yhseo-publication-shell :is(.yhseo-source-standard, .yhseo-source-ledger, .yhseo-publisher-identity) * {
  color: #eaf5f4 !important;
}

body.yhseo-publication-shell main#wp--skip-link--target :is(.yhseo-source-standard, .yhseo-source-ledger, .yhseo-publisher-identity) a,
body.yhseo-publication-shell :is(.yhseo-source-standard, .yhseo-source-ledger, .yhseo-publisher-identity) a {
  color: #8ce7d5 !important;
}

body.yhseo-publication-about > :is(.yhad-site-trust, .yhhe-receipt) {
  display: none !important;
}

@media (max-width: 700px) {
  body.yhseo-publication-shell main#wp--skip-link--target {
    width: calc(100% - 12px) !important;
    margin-top: 8px !important;
    margin-bottom: 32px !important;
    padding: 24px 18px 40px !important;
    border-radius: 7px;
  }

  body.yhseo-publication-shell :is(.wp-block-post-title, .entry-title) {
    font-size: clamp(36px, 11vw, 48px) !important;
    line-height: 1.1 !important;
  }

  body.yhseo-publication-shell .wp-block-post-content,
  body.yhseo-publication-about .entry-content {
    max-width: 100% !important;
  }

  body.yhseo-publication-about main#wp--skip-link--target p,
  body.yhseo-publication-about main#wp--skip-link--target li {
    font-size: 18px !important;
    line-height: 1.68 !important;
  }
}
