/* BTS Home Preloader — CSS */
.bhp-preloader {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f5f5;
  z-index: 99999;
  opacity: 1;
  transition: opacity .45s ease, visibility .45s ease;
  visibility: visible;
  will-change: opacity;
}

.bhp-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bhp-logo {
  max-width: min(38vw, 220px);
  width: 180px;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  -webkit-user-drag: none;
  user-select: none;
  transform: translateZ(0);
}

/* Reduce motion: disable transitions */
@media (prefers-reduced-motion: reduce) {
  .bhp-preloader { transition: none; }
}

/* Screen-reader only text */
.bhp-visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0; padding: 0; margin: -1px;
}
