/* Publisher articles and indexes use the established main-site brand. */
body:has(.blog-shell), body:has(> main > article) {
  --ink: #40505a;
  --pearl: #fbf8ee;
  --green: #082c66;
  --gold: #c69a36;
  --line: #ccd1c9;
  background: #fbf8ee;
  color: #40505a;
  font-family: SIB, 'Trebuchet MS', sans-serif;
  font-size: 17px;
  line-height: 1.8;
}
.blog-shell, body:has(> main > article) > main {
  max-width: 1040px;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 4vw, 48px);
  margin-inline: auto;
  min-width: 0;
}
.blog-shell h1, body:has(> main > article) > main h1 {
  color: #082c66;
  font-size: clamp(2rem, 4.2vw, 3.65rem);
  line-height: 1.16;
  letter-spacing: -.025em;
  overflow-wrap: anywhere;
  text-wrap: balance;
  margin-block: 12px 28px;
}
.blog-shell h2, .blog-shell h3,
body:has(> main > article) > main h2 {
  color: #082c66;
  line-height: 1.3;
  text-wrap: balance;
}
.blog-shell article p, .blog-shell article li { max-width: 76ch; }
.blog-shell article a { text-underline-offset: .2em; }
.blog-shell .blog-hero {
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 8px;
  margin-block-end: 36px;
}
.blog-shell img, body:has(> main > article) > main img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.blog-shell :is(p,li,a,pre,td), body:has(> main > article) > main :is(p,li,a,td) {
  overflow-wrap: anywhere;
}
.blog-shell pre { white-space: pre-wrap; }
.blog-shell :is(.trend-cta,.trend-key-pages,.trend-sources,.trend-business-lens,.blog-service-cta) {
  background: #fffefb;
  border: 1px solid #ccd1c9;
  border-inline-start: 4px solid #c69a36;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 8px;
}
.blog-shell .blog-contact-cta { background: #082c66; color: #fffefb; }
.blog-shell .blog-contact-cta :is(h2,a) { color: #fffefb; }
.blog-shell .blog-contact-actions .contact-primary,
.blog-shell .blog-service-actions .service-primary {
  background: #b61914;
  border-color: #b61914;
  color: #fffefb;
}
.blog-shell :is(.blog-service-actions,.blog-contact-actions) a {
  min-height: 48px;
  text-decoration: none;
  line-height: 1.5;
}
body:has(> main > article) > main > article {
  background: #fffefb;
  border-color: #ccd1c9;
  padding: clamp(20px, 3vw, 32px);
  border-radius: 8px;
  margin-block: 20px;
}
body:has(> main > article) > main nav ul { gap: 10px; }
body:has(> main > article) > main nav a {
  color: #082c66;
  background: #fffefb;
  border-color: #ccd1c9;
  min-height: 44px;
}
.blog-shell a:focus-visible, body:has(> main > article) > main a:focus-visible {
  outline: 3px solid #0864b0;
  outline-offset: 4px;
}
@media (max-width: 620px) {
  .blog-shell, body:has(> main > article) > main { padding-inline: 18px; }
  .blog-shell .blog-service-actions { grid-template-columns: minmax(0, 1fr); }
  .blog-shell .blog-contact-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
}
