/*
 * bobnoblog v2.3.5 — Seamless single-article layout.
 * Post-only visual treatment: the site header meets the masthead edge-to-edge,
 * then a full-width clean reading surface, then themed related reading.
 * Preserves the saved WP content, TOC/ads, Gutenberg/Cocoon body markup,
 * theme header/menu and existing horizontal link-card functionality.
 */
body.single-post .site-header { border-bottom-color: #24445c; }
body.single-post main.bnb-article-page--seamless.content-page {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  background: #ffffff;
  min-width: 0;
}
body.single-post .bnb-article-page--seamless > .bnb-article {
  width: 100%;
  max-width: none;
  min-width: 0;
  margin: 0;
  padding: 0;
}
/* No isolated rounded title box or dark gap below the global header. */
body.single-post .bnb-article-page--seamless .bnb-article-masthead {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid #28506e;
  background:
    radial-gradient(ellipse at 92% 24%, rgba(80,159,215,.17), transparent 47%),
    linear-gradient(100deg,#0a1c2d 0%,#102b43 70%,#143954 100%);
}
body.single-post .bnb-article-page--seamless .bnb-article-hero {
  box-sizing: border-box;
  width: min(calc(100% - 64px), 1680px);
  max-width: 1680px;
  min-height: 0;
  margin: 0 auto;
  padding: clamp(34px, 4.2vw, 64px) 0 clamp(38px, 4.8vw, 68px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero::after {
  display: none;
}
body.single-post .bnb-article-page--seamless .content-page__breadcrumb {
  display: flex;
  margin: 0 0 24px;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: #b5cde1;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero__category {
  margin-bottom: 12px;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero .content-page__title {
  max-width: 1150px;
  margin: 0;
  font-size: clamp(27px, 3.15vw, 42px);
  line-height: 1.48;
  color: #f4f9ff;
  text-wrap: pretty;
  overflow-wrap: anywhere;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero__summary {
  max-width: 1050px;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero__meta {
  max-width: 1150px;
  margin-top: 23px;
  padding-top: 16px;
}
/* The article body spans the viewport; only the text measure is limited. */
body.single-post .bnb-article-page--seamless .bnb-article-paper {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: clamp(36px, 5vw, 75px) clamp(16px, 4vw, 72px) clamp(50px, 7vw, 100px);
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  overflow: visible;
}
body.single-post .bnb-article-page--seamless .bnb-article-paper .bnb-article-reading {
  width: 100%;
  max-width: 1080px;
  min-width: 0;
  margin-inline: auto;
}
body.single-post .bnb-article-page--seamless .bnb-article-paper .bnb-article-content {
  max-width: 100%;
}
/* Related cards sit in a purpose-built section instead of a floating article card. */
body.single-post .bnb-article-page--seamless .bnb-article-related-surface {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: clamp(36px, 5vw, 68px) clamp(16px, 3vw, 40px) clamp(60px, 7vw, 96px);
  border-top: 1px solid #dfebf4;
  background: #f3f8fc;
}
body.single-post .bnb-article-page--seamless .bnb-article-related {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
}
body.single-post .bnb-article-page--seamless .bnb-article-related h2 {
  color: #11344e;
}
body.single-post .bnb-article-page--seamless .bnb-article-related__label {
  color: #276e9f;
}
/* Keep existing blue-glow-only hover styling: no image/card motion. */
body.single-post .bnb-article-page--seamless .bnb-article-related__card a,
body.single-post .bnb-article-page--seamless .bnb-article-related__card img {
  transform: none !important;
}
@media (max-width: 767px) {
  body.single-post .bnb-article-page--seamless .bnb-article-hero {
    width: calc(100% - 32px);
    padding-block: 30px 37px;
  }
  body.single-post .bnb-article-page--seamless .content-page__breadcrumb { margin-bottom: 18px; }
  body.single-post .bnb-article-page--seamless .bnb-article-hero .content-page__title {
    font-size: clamp(24px, 5.4vw, 34px);
  }
  body.single-post .bnb-article-page--seamless .bnb-article-paper {
    padding: 34px 24px 56px;
  }
}
@media (max-width: 600px) {
  body.single-post .bnb-article-page--seamless .bnb-article-hero {
    width: calc(100% - 28px);
    padding: 27px 0 32px;
  }
  body.single-post .bnb-article-page--seamless .bnb-article-hero .content-page__title {
    font-size: clamp(23px, 6.1vw, 30px);
    line-height: 1.48;
  }
  body.single-post .bnb-article-page--seamless .bnb-article-hero__meta { margin-top: 18px; }
  body.single-post .bnb-article-page--seamless .bnb-article-paper { padding: 28px 17px 48px; }
  body.single-post .bnb-article-page--seamless .bnb-article-related-surface { padding: 32px 14px 64px; }
}
@media (max-width: 360px) {
  body.single-post .bnb-article-page--seamless .bnb-article-paper { padding-inline: 14px; }
}
/* Ensure the small navigation pill stays legible against the dark-blue fill. */
body.single-post .bnb-article-page--seamless .bnb-article-nextstep a,
body.single-post .bnb-article-page--seamless .bnb-article-nextstep a:hover {
  color: #ffffff;
  text-decoration: none;
  transform: none;
}


/* v2.3.8: centered article headline and readable fixed-page breadcrumbs. */
body.single-post .bnb-article-page--seamless .bnb-article-hero .content-page__title {
  margin-inline:auto;text-align:center;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero__category {
  display:table;margin-inline:auto;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero__summary {
  margin-inline:auto;text-align:center;
}
body.single-post .bnb-article-page--seamless .bnb-article-hero__meta {
  margin-inline:auto;justify-content:center;
}
body.single-post .bnb-article-page--seamless .content-page__breadcrumb {
  flex-wrap:wrap;min-width:0;overflow-wrap:anywhere;
}
body.single-post .bnb-article-page--seamless .bnb-breadcrumb-current {
  overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(42ch,100%);
}
