/**
 * @file
 * Temporary header logo override.
 *
 * Hides the default SVG logo and shows a custom logo via background image.
 * Replace the url() below with your logo path, or place your logo at
 * adaptnsw_logo_override/images/custom-logo.png (SVG/PNG recommended).
 *
 * To restore the default logo: disable the adaptnsw_logo_override module.
 */

/* Hide the default Waratah SVG (link still has .sr-only "NSW Government" for screen readers) */
.nsw-header__waratah .nsw-header__waratah-gov {
  display: none;
}

/* Make the logo link a block and give it header-appropriate dimensions */
.nsw-header__waratah a {
  position: relative;
  display: block;
  min-width: 70.3px;
  min-height: 76px;
}

/* Show custom logo as background (same aspect as original ~259x280) */
.nsw-header__waratah a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-image: url("/modules/custom/adaptnsw_logo_override/images/waratah-logo.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
