/* Custom CSS for Leadtime Kutt customization */

/* Hide the "Kutt" text inside the logo link */
div.main-wrapper > header > div.logo-wrapper > a.logo.nav {
  font-size: 0 !important;
  line-height: 0 !important;
  color: transparent !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
}

/* Ensure only the image is visible in the logo link */
div.main-wrapper > header > div.logo-wrapper > a.logo.nav img {
  display: block !important;
  font-size: initial !important;
  line-height: initial !important;
}

div.main-wrapper > header > div.logo-wrapper > a.logo.nav::after,
div.main-wrapper > header > div.logo-wrapper > a.logo.nav::before,
div.main-wrapper > header > div.logo-wrapper > a.logo.nav > *:not(img) {
  display: none !important;
}

/* Hide GitHub link - target common GitHub link patterns */
a[href*="github"],
a[href*="GitHub"],
div.main-wrapper > header a[href*="github"],
div.main-wrapper > header a[title*="GitHub"],
div.main-wrapper > header a[title*="github"],
header nav a[href*="github"],
header nav a[href*="GitHub"] {
  display: none !important;
}

.logo-text,
.site-name,
h1.site-name,
.header .site-name,
nav .site-name {
  display: none !important;
}

/* Fix logo width - make it normal size instead of small 18x24 */
div.main-wrapper > header > div.logo-wrapper > a.logo nav > img,
div.main-wrapper > header > div.logo-wrapper > a.logo > img,
div.main-wrapper > header img[src*="logo"],
img[src="/images/logo.png"],
img[alt="kutt"] {
  width: auto !important;
  max-width: 200px !important;
  height: auto !important;
  max-height: 60px !important;
  object-fit: contain !important;
}

/* Ensure logo container doesn't stretch */
div.main-wrapper > header > div.logo-wrapper,
div.main-wrapper > header > div.logo-wrapper > a.logo {
  width: auto !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
}

/* Fix header layout */
div.main-wrapper > header {
  align-items: center !important;
}

