/* The cover URL comes from the current WOS slider record in both themes. */
.hero-slide.hero-one {
  background-color: #071d30;
  background-image: linear-gradient(90deg,rgba(5,24,41,.88),rgba(5,24,41,.3)),var(--hero-image,none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Override the legacy dark background shorthand without dropping the photo. */
html[data-theme="dark"] .hero-slide.hero-one {
  background-color: #08090a !important;
  background-image: linear-gradient(90deg,rgba(5,5,7,.86),rgba(5,5,7,.22)),var(--hero-image,none) !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}
html[data-theme="dark"] .hero-slide.hero-one::after {
  background: radial-gradient(circle at 80% 42%,rgba(210,32,42,.12),transparent 38%) !important;
  pointer-events: none;
}

/* BORISTRAK header logo sizing — 2026-11-10.
   Keep the WOS light/dark image sources and the original artwork proportions. */
.site-header .navbar-brand.brand-image {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  line-height: 0;
}
.site-header .navbar-brand.brand-image img {
  display: block;
  width: 250px;
  height: 66px;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
/* Keep enough room for the expanded navigation and B2B/language controls. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .site-header .navbar-brand.brand-image img { width: 220px; }
}
/* The navigation collapses below 1200px. */
@media (max-width: 1199.98px) {
  .site-header .navbar-brand.brand-image img { width: 230px; height: 58px; }
}
@media (max-width: 575.98px) {
  .site-header .navbar-brand.brand-image img { width: 200px; height: 50px; }
}
@media (max-width: 359.98px) {
  .site-header .navbar-brand.brand-image img { width: 176px; height: 46px; }
}
