/*
 * Coalition Header Stability Patch — HS-01
 * Purpose: neutralize global visual-hardening word-break bleed and keep the
 * shared header/logo stable across root, library, admin, signal, and sentinel
 * routes after public_html deployment.
 *
 * This file is intentionally loaded AFTER visual-hardening.css.
 */

.site-header .observatory,
.site-header .header-motto{
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

.site-header .observatory span,
.site-header .header-motto span{
  overflow-wrap: normal !important;
  word-break: normal !important;
}

.site-header .site-title,
.site-header .site-title-text-wordmark{
  min-width: 0;
  overflow: visible;
}

.site-header .coalition-header-wordmark,
.site-header .site-title-wordmark{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
  max-width: 100%;
  line-height: 1;
}

.site-header .coalition-header-wordmark .coalition-a,
.site-header .site-title-wordmark .coalition-a{
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-header .site-title-subtitle,
.site-header .site-title-creed{
  display: block;
  max-width: 100%;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 1180px){
  .site-header .header-motto{
    justify-items: center;
    text-align: center;
  }
}

@media (max-width: 720px){
  .site-header .site-title-subtitle,
  .site-header .site-title-creed{
    display: none;
  }
}
