/* Bare Metal Cyber v0.2.10-R1 — typography and publication-integrity hotfix */
:root,
html {
  color-scheme: only light;
}

:where(h1, h2, h3, h4, h5, h6),
:where(.brand__words, .button, .main-nav, .eyebrow, .breadcrumbs, .sidebar-card, .wiki-connection-card) {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-stretch: normal !important;
  font-variation-settings: normal !important;
}

:where(.attack-recovery-hero, .mitigation-catalog-hero, .wiki-entry-hero, .book-page-hero) h1 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-stretch: normal !important;
  font-weight: 800 !important;
  letter-spacing: -0.045em !important;
  text-wrap: balance;
}

.attack-recovery-hero p:not(.eyebrow),
.mitigation-catalog-hero p:not(.eyebrow),
.wiki-entry-hero p:not(.eyebrow),
.book-page-hero p:not(.eyebrow),
.book-page-hero .book-subtitle {
  color: #e5edf1 !important;
  -webkit-text-fill-color: #e5edf1 !important;
}

.attack-recovery-nav-card h2,
.attack-recovery-card h2,
.attack-recovery-note h2,
.attack-recovery-nav-card h2 a,
.attack-recovery-card h2 a,
.attack-recovery-note h2 a {
  color: #f7fbfd !important;
  -webkit-text-fill-color: #f7fbfd !important;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-stretch: normal !important;
  text-decoration: none !important;
}

.attack-recovery-card h2 a:hover,
.attack-recovery-card h2 a:focus-visible,
.attack-recovery-nav-card h2 a:hover,
.attack-recovery-nav-card h2 a:focus-visible {
  text-decoration: underline !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 4px !important;
}

.attack-recovery-card p,
.attack-recovery-nav-card p,
.attack-recovery-note p {
  color: #cbd8de !important;
  -webkit-text-fill-color: #cbd8de !important;
}

.attack-recovery-card > a:last-child,
.attack-recovery-nav-card strong {
  color: #9ed8ef !important;
  -webkit-text-fill-color: #9ed8ef !important;
}

.attack-mapping h2,
.attack-object strong,
.wiki-article h2,
.wiki-article h3,
.page-wiki-entry .section-heading h2,
.page-wiki-entry .section-heading h3,
.page-book .section-heading h2,
.page-book .section-heading h3,
.book-page-layout h2,
.book-page-layout h3,
.book-toc-grid,
.mitigation-family-section > header h2,
.mitigation-card h3,
.mitigation-catalog-note h2 {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-stretch: normal !important;
}

.attack-mapping h2,
.attack-object strong,
.wiki-article h2,
.wiki-article h3,
.page-wiki-entry .section-heading h2,
.page-wiki-entry .section-heading h3,
.page-book .section-heading h2,
.page-book .section-heading h3,
.book-page-layout h2,
.book-page-layout h3,
.mitigation-family-section > header h2,
.mitigation-card h3,
.mitigation-catalog-note h2 {
  color: #15232c !important;
  -webkit-text-fill-color: #15232c !important;
}

.book-page-cover .book-cover-placeholder,
.book-page-cover .book-cover-placeholder b,
.book-page-cover .book-cover-placeholder strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.breadcrumbs,
.breadcrumbs ol {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 0.45rem !important;
}

.breadcrumbs ol {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.breadcrumbs > a,
.breadcrumbs > span,
.breadcrumbs li,
.breadcrumbs li a {
  line-height: 1.45 !important;
}

:where(.attack-recovery-hero, .mitigation-catalog-hero, .wiki-entry-hero, .book-page-hero) .breadcrumbs,
:where(.attack-recovery-hero, .mitigation-catalog-hero, .wiki-entry-hero, .book-page-hero) .breadcrumbs a,
:where(.attack-recovery-hero, .mitigation-catalog-hero, .wiki-entry-hero, .book-page-hero) .breadcrumbs span,
:where(.attack-recovery-hero, .mitigation-catalog-hero, .wiki-entry-hero, .book-page-hero) .breadcrumbs li {
  color: #dce8ed !important;
  -webkit-text-fill-color: #dce8ed !important;
}

.wiki-connection-card__title,
.wiki-connection-card__detail,
.wiki-connection-card__action,
.sidebar-card strong,
.sidebar-card a {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-stretch: normal !important;
}

@media (max-width: 760px) {
  :where(.attack-recovery-hero, .mitigation-catalog-hero, .wiki-entry-hero, .book-page-hero) h1 {
    letter-spacing: -0.035em !important;
    line-height: 1 !important;
  }
}
