/* Shared menu = home t450: 290px #e8f5f9 side panel, dimmed backdrop, 0.3s slide.
   Open-state selectors MUST match or exceed closed-state specificity.
   body.kl-library / body.kl-service + .kl-menu.kl-nav-panel is (0,3,1);
   .kl-menu.kl-nav-panel.is-open is only (0,3,0) and lost, leaving the
   panel at translateX(100%) (offscreen, ~x=1945 in a 1920px window). */

html.kl-nav-open{overflow:hidden!important}

.kl-nav-backdrop{
  display:block!important;
  position:fixed!important;
  inset:0!important;
  z-index:99990!important;
  background:#000!important;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease-in-out
}
.kl-nav-backdrop.is-open{opacity:.6;pointer-events:auto}

/* Closed / base panel. High-specificity copies cover library, service and editorial pages. */
.kl-menu.kl-nav-panel,
body.kl-editorial-v2>.kl-header .kl-menu.kl-nav-panel,
body.kl-editorial-v2 .kl-menu.kl-nav-panel,
body.kl-library .kl-menu.kl-nav-panel,
body.kl-service .kl-menu.kl-nav-panel,
body.kl-service-v2 .kl-menu.kl-nav-panel,
body.kl-service-v3 .kl-menu.kl-nav-panel,
body.hub-split .kl-menu.kl-nav-panel,
body.breed-guide .kl-menu.kl-nav-panel,
body.breed-catalog .kl-menu.kl-nav-panel,
body.content-guide .kl-menu.kl-nav-panel,
.kl-header .kl-menu.kl-nav-panel{
  position:fixed!important;
  top:0!important;
  right:0!important;
  bottom:0!important;
  left:auto!important;
  width:100%!important;
  max-width:290px!important;
  height:100%!important;
  max-height:none!important;
  margin:0!important;
  padding:42px 25px 25px!important;
  background:#e8f5f9!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  z-index:99999!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  transform:translateX(100%)!important;
  transition:transform .3s ease-in-out;
  display:flex!important;
  flex-direction:column!important;
  visibility:visible!important;
  opacity:1!important;
  pointer-events:none
}
.kl-menu.kl-nav-panel[hidden]{display:flex!important}

/* Open state: same selectors + .is-open / html.kl-nav-open so they always win. */
.kl-menu.kl-nav-panel.is-open,
html.kl-nav-open .kl-menu.kl-nav-panel,
body.kl-editorial-v2>.kl-header .kl-menu.kl-nav-panel.is-open,
body.kl-editorial-v2 .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.kl-editorial-v2 .kl-menu.kl-nav-panel,
body.kl-library .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.kl-library .kl-menu.kl-nav-panel,
body.kl-service .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.kl-service .kl-menu.kl-nav-panel,
body.kl-service-v2 .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.kl-service-v2 .kl-menu.kl-nav-panel,
body.kl-service-v3 .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.kl-service-v3 .kl-menu.kl-nav-panel,
body.hub-split .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.hub-split .kl-menu.kl-nav-panel,
body.breed-guide .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.breed-guide .kl-menu.kl-nav-panel,
body.breed-catalog .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.breed-catalog .kl-menu.kl-nav-panel,
body.content-guide .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open body.content-guide .kl-menu.kl-nav-panel,
.kl-header .kl-menu.kl-nav-panel.is-open,
html.kl-nav-open .kl-header .kl-menu.kl-nav-panel{
  transform:translateX(0)!important;
  right:0!important;
  left:auto!important;
  top:0!important;
  bottom:0!important;
  pointer-events:auto!important
}

.kl-nav-close{
  position:absolute;top:5px;right:5px;z-index:2;
  width:40px;height:40px;padding:0;border:0;
  background:#e8f5f9;color:#272727;cursor:pointer;
  display:flex;align-items:center;justify-content:center
}
.kl-nav-close-icon{position:relative;width:24px;height:20px;display:block}
.kl-nav-close-icon span{
  display:block;position:absolute;left:0;width:100%;height:2px;background:currentColor
}
.kl-nav-close-icon span:nth-child(1),
.kl-nav-close-icon span:nth-child(4){display:none}
.kl-nav-close-icon span:nth-child(2){top:9px;transform:rotate(45deg)}
.kl-nav-close-icon span:nth-child(3){top:9px;transform:rotate(-45deg)}

.kl-nav-panel__logo{display:block;margin:0 0 25px;max-width:160px}
.kl-nav-panel__logo img{display:block;width:100%;height:auto;max-width:160px}

.kl-menu.kl-nav-panel nav{
  display:block!important;
  width:100%;
  margin:0;
  padding:0;
  flex:1 1 auto
}
.kl-menu.kl-nav-panel nav>a,
.kl-menu.kl-nav-panel .t-menu__link-item{
  display:block!important;
  position:static!important;
  margin:0 0 15px!important;
  padding:0!important;
  color:#272727!important;
  text-decoration:none!important;
  font:400 16px/1.45 Gilroy,Arial,sans-serif!important;
  letter-spacing:0!important;
  text-transform:none!important;
  background:none!important;
  border:0!important;
  box-shadow:none!important;
  min-height:0!important;
  height:auto!important;
  width:auto!important
}
.kl-menu.kl-nav-panel nav>a:hover{color:#76afc2!important}

.kl-menu.kl-nav-panel .kl-articles{margin:0;padding:0}
.kl-menu.kl-nav-panel .kl-articles>summary{
  font:400 16px/1.45 Gilroy,Arial,sans-serif!important;
  color:#272727!important;
  padding:0!important;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;cursor:pointer;list-style:none
}
.kl-menu.kl-nav-panel .kl-articles>summary::-webkit-details-marker{display:none}
.kl-menu.kl-nav-panel .kl-articles>summary:after{content:'+';font-size:22px;line-height:1;color:#6b4122}
.kl-menu.kl-nav-panel .kl-articles[open]>summary:after{content:'−'}
.kl-menu.kl-nav-panel .kl-articles__links{
  display:grid!important;
  gap:0!important;
  margin:10px 0 0!important;
  padding:8px 0 4px!important;
  background:transparent!important;
  box-shadow:none!important;
  border-radius:0!important
}
.kl-menu.kl-nav-panel .kl-articles__links a{
  display:block!important;
  margin:0!important;
  padding:7px 0!important;
  font:400 14px/1.4 Gilroy,Arial,sans-serif!important;
  color:#272727!important;
  text-decoration:none!important
}
.kl-menu.kl-nav-panel .kl-articles__links a:hover{color:#76afc2!important}

.kl-nav-panel__socials{margin-top:auto;padding-top:28px;display:flex;gap:10px;align-items:center}
.kl-nav-panel__socials a{display:block;line-height:0}
.kl-nav-panel__socials img{width:30px;height:30px;object-fit:contain}

/* Header logo: original 158×94 cloud mark, not the inflated 176×108 / 130px bar. */
body.kl-editorial-v2>.kl-header,
body.kl-library .kl-header,
body.kl-service .kl-header,
body.kl-service-v2 .kl-header,
body.kl-service-v3 .kl-header{
  box-shadow:none!important;
  border:0!important
}
body.kl-editorial-v2>.kl-header:before,
body.kl-editorial-v2>.kl-header:after{display:none!important;content:none!important}

body.kl-editorial-v2>.kl-header .kl-shell,
body.kl-library .kl-header .kl-shell,
body.kl-service .kl-header .kl-shell,
body.kl-service-v2 .kl-header .kl-shell{
  display:flex!important;
  justify-content:space-between!important;
  align-items:center!important;
  min-height:112px!important;
  padding:8px 0!important;
  width:min(1180px,calc(100% - 64px))
}

body.kl-editorial-v2>.kl-header .kl-header__logo,
body.kl-library .kl-header__logo,
body.kl-service .kl-header__logo,
body.kl-service-v2 .kl-header__logo{
  flex:0 0 158px!important;
  max-width:158px!important;
  margin:0!important
}
body.kl-editorial-v2>.kl-header .kl-header__logo img,
body.kl-library .kl-header__logo img,
body.kl-service .kl-header__logo img,
body.kl-service-v2 .kl-header__logo img{
  width:158px!important;
  height:94px!important;
  object-fit:contain!important
}

/* Gold circle burger = home t396 #e0b676 60px, white 28×2 lines, 6px gap.
   Fixed to the same 1200px-grid right edge as home (left: 50% - 600 + 1120).
   position:fixed so library pages with flex-start cannot park it next to the logo. */
.kl-menu-button,
body.kl-editorial-v2>.kl-header .kl-menu-button,
body.kl-library .kl-menu-button,
body.kl-service .kl-menu-button,
body.kl-service-v2 .kl-menu-button,
body.kl-service-v3 .kl-menu-button,
.kl-nav-fab.kl-menu-button{
  position:fixed!important;
  top:35px!important;
  right:max(20px, calc(50% - 580px))!important;
  width:60px!important;
  height:60px!important;
  flex:0 0 60px!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#e0b676!important;
  box-shadow:none!important;
  cursor:pointer;
  display:flex!important;
  align-items:center;
  justify-content:center;
  z-index:99980!important
}
.kl-menu-button span,
.kl-menu-button span:before,
.kl-menu-button span:after,
body.kl-editorial-v2>.kl-header .kl-menu-button span,
body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
body.kl-library .kl-menu-button span,
body.kl-library .kl-menu-button span:before,
body.kl-library .kl-menu-button span:after,
body.kl-service .kl-menu-button span,
body.kl-service .kl-menu-button span:before,
body.kl-service .kl-menu-button span:after{
  display:block!important;
  width:28px!important;
  height:2px!important;
  background:#fff!important;
  border-radius:0!important;
  position:relative!important;
  box-shadow:none!important
}
.kl-menu-button span:before,
.kl-menu-button span:after{
  content:''!important;
  position:absolute!important;
  left:0!important
}
.kl-menu-button span:before{top:-6px!important}
.kl-menu-button span:after{top:6px!important}

/* Tablet artboard (home max-width: 1199): 52px circle, top 29px. */
@media(max-width:1199px){
  .kl-menu-button,
  body.kl-editorial-v2>.kl-header .kl-menu-button,
  body.kl-library .kl-menu-button,
  body.kl-service .kl-menu-button,
  body.kl-service-v2 .kl-menu-button,
  .kl-nav-fab.kl-menu-button{
    top:29px!important;
    right:max(16px, calc(50% - 309px))!important;
    width:52px!important;
    height:52px!important;
    flex-basis:52px!important
  }
  .kl-menu-button span,
  .kl-menu-button span:before,
  .kl-menu-button span:after{width:24px!important}
}

/* Mobile artboard (home max-width: 639): 42px circle, top 14px. */
@media(max-width:639px){
  body.kl-editorial-v2>.kl-header .kl-shell,
  body.kl-library .kl-header .kl-shell,
  body.kl-service .kl-header .kl-shell{
    min-height:94px!important;
    width:calc(100% - 36px)!important;
    padding:6px 0!important
  }
  body.kl-editorial-v2>.kl-header .kl-header__logo,
  body.kl-library .kl-header__logo,
  body.kl-service .kl-header__logo{flex-basis:132px!important;max-width:132px!important}
  body.kl-editorial-v2>.kl-header .kl-header__logo img,
  body.kl-library .kl-header__logo img,
  body.kl-service .kl-header__logo img{width:132px!important;height:82px!important}
  .kl-menu-button,
  body.kl-editorial-v2>.kl-header .kl-menu-button,
  body.kl-library .kl-menu-button,
  body.kl-service .kl-menu-button,
  body.kl-service-v2 .kl-menu-button,
  .kl-nav-fab.kl-menu-button{
    top:14px!important;
    right:max(16px, calc(50% - 150px))!important;
    width:42px!important;
    height:42px!important;
    flex-basis:42px!important
  }
  .kl-menu-button span,
  .kl-menu-button span:before,
  .kl-menu-button span:after{width:19px!important}
  .kl-menu-button span:before{top:-5px!important}
  .kl-menu-button span:after{top:5px!important}
  .kl-menu.kl-nav-panel{max-width:min(290px,100%)!important}
}

/* Bridge between home's 639px and the site's usual 700px mobile breakpoint. */
@media(min-width:640px) and (max-width:700px){
  body.kl-editorial-v2>.kl-header .kl-shell,
  body.kl-library .kl-header .kl-shell,
  body.kl-service .kl-header .kl-shell{
    min-height:100px!important;
    width:calc(100% - 36px)!important
  }
  body.kl-editorial-v2>.kl-header .kl-header__logo,
  body.kl-library .kl-header__logo,
  body.kl-service .kl-header__logo{flex-basis:132px!important;max-width:132px!important}
  body.kl-editorial-v2>.kl-header .kl-header__logo img,
  body.kl-library .kl-header__logo img,
  body.kl-service .kl-header__logo img{width:132px!important;height:82px!important}
}

@media(prefers-reduced-motion:reduce){
  .kl-nav-backdrop,.kl-menu.kl-nav-panel{transition:none}
}

/* ===== nav4: match home logo/burger, compact on scroll, panel typography ===== */

/* Home logo (#rec1363414451 .kl-logo-cloud): 176×auto at 36/18, not scaled with the artboard. */
body.kl-editorial-v2>.kl-header,
body.kl-library .kl-header,
body.kl-service .kl-header,
body.kl-service-v2 .kl-header,
body.kl-service-v3 .kl-header,
body.hub-split .kl-header,
body.breed-guide .kl-header,
body.breed-catalog .kl-header,
body.content-guide .kl-header{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  width:100%!important;
  background:none!important;
  background-image:none!important;
  box-shadow:none!important;
  border:0!important;
  z-index:80!important;
  min-height:0!important;
  height:auto!important;
  pointer-events:none;
  transition:background-color .2s ease,box-shadow .2s ease,height .2s ease,min-height .2s ease
}
body.kl-editorial-v2>.kl-header .kl-shell,
body.kl-library .kl-header .kl-shell,
body.kl-service .kl-header .kl-shell,
body.kl-service-v2 .kl-header .kl-shell,
body.kl-service-v3 .kl-header .kl-shell,
body.hub-split .kl-header .kl-shell,
body.breed-guide .kl-header .kl-shell,
body.breed-catalog .kl-header .kl-shell,
body.content-guide .kl-header .kl-shell{
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  height:auto!important;
  padding:0!important;
  margin:0!important;
  display:block!important;
  pointer-events:none
}
body.kl-editorial-v2>.kl-header .kl-header__logo,
body.kl-library .kl-header__logo,
body.kl-service .kl-header__logo,
body.kl-service-v2 .kl-header__logo,
body.kl-service-v3 .kl-header__logo,
body.hub-split .kl-header__logo,
body.breed-guide .kl-header__logo,
body.breed-catalog .kl-header__logo{
  position:absolute!important;
  top:18px!important;
  left:36px!important;
  flex:none!important;
  max-width:none!important;
  width:auto!important;
  margin:0!important;
  z-index:14;
  pointer-events:auto;
  transition:top .2s ease,left .2s ease
}
body.kl-editorial-v2>.kl-header .kl-header__logo img,
body.kl-library .kl-header__logo img,
body.kl-service .kl-header__logo img,
body.kl-service-v2 .kl-header__logo img,
body.kl-service-v3 .kl-header__logo img,
body.hub-split .kl-header__logo img,
body.breed-guide .kl-header__logo img,
body.breed-catalog .kl-header__logo img{
  display:block!important;
  width:176px!important;
  height:auto!important;
  max-height:none!important;
  object-fit:contain!important;
  transition:width .2s ease,height .2s ease
}
@media screen and (max-width:1199px){
  body.kl-editorial-v2>.kl-header .kl-header__logo,
  body.kl-library .kl-header__logo,
  body.kl-service .kl-header__logo,
  body.kl-service-v2 .kl-header__logo,
  body.kl-service-v3 .kl-header__logo,
  body.hub-split .kl-header__logo,
  body.breed-guide .kl-header__logo,
  body.breed-catalog .kl-header__logo{top:14px!important;left:26px!important}
  body.kl-editorial-v2>.kl-header .kl-header__logo img,
  body.kl-library .kl-header__logo img,
  body.kl-service .kl-header__logo img,
  body.kl-service-v2 .kl-header__logo img,
  body.kl-service-v3 .kl-header__logo img,
  body.hub-split .kl-header__logo img,
  body.breed-guide .kl-header__logo img,
  body.breed-catalog .kl-header__logo img{width:156px!important;height:auto!important}
}
@media screen and (max-width:639px){
  body.kl-editorial-v2>.kl-header .kl-header__logo,
  body.kl-library .kl-header__logo,
  body.kl-service .kl-header__logo,
  body.kl-service-v2 .kl-header__logo,
  body.kl-service-v3 .kl-header__logo,
  body.hub-split .kl-header__logo,
  body.breed-guide .kl-header__logo,
  body.breed-catalog .kl-header__logo{top:10px!important;left:8px!important}
  body.kl-editorial-v2>.kl-header .kl-header__logo img,
  body.kl-library .kl-header__logo img,
  body.kl-service .kl-header__logo img,
  body.kl-service-v2 .kl-header__logo img,
  body.kl-service-v3 .kl-header__logo img,
  body.hub-split .kl-header__logo img,
  body.breed-guide .kl-header__logo img,
  body.breed-catalog .kl-header__logo img{width:132px!important;height:auto!important}
}

/* Burger: copy home t396 artboard, scaled to 100vw (1200 / 640 / 320). */
.kl-menu-button,
body.kl-editorial-v2>.kl-header .kl-menu-button,
body.kl-library .kl-menu-button,
body.kl-service .kl-menu-button,
body.kl-service-v2 .kl-menu-button,
body.kl-service-v3 .kl-menu-button,
body.hub-split .kl-menu-button,
body.breed-guide .kl-menu-button,
body.breed-catalog .kl-menu-button,
.kl-nav-fab.kl-menu-button{
  position:fixed!important;
  top:calc(35 * 100vw / 1200)!important;
  right:calc(20 * 100vw / 1200)!important;
  left:auto!important;
  width:calc(60 * 100vw / 1200)!important;
  height:calc(60 * 100vw / 1200)!important;
  flex:none!important;
  pointer-events:auto;
  transition:top .2s ease,right .2s ease,width .2s ease,height .2s ease,opacity .2s ease
}
.kl-menu-button span,
.kl-menu-button span:before,
.kl-menu-button span:after,
body.kl-editorial-v2>.kl-header .kl-menu-button span,
body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
body.kl-library .kl-menu-button span,
body.kl-library .kl-menu-button span:before,
body.kl-library .kl-menu-button span:after,
body.kl-service .kl-menu-button span,
body.kl-service .kl-menu-button span:before,
body.kl-service .kl-menu-button span:after{
  width:calc(28 * 100vw / 1200)!important;
  height:max(2px, calc(2 * 100vw / 1200))!important
}
.kl-menu-button span:before{top:calc(-6 * 100vw / 1200)!important}
.kl-menu-button span:after{top:calc(6 * 100vw / 1200)!important}

@media(max-width:1199px){
  .kl-menu-button,
  body.kl-editorial-v2>.kl-header .kl-menu-button,
  body.kl-library .kl-menu-button,
  body.kl-service .kl-menu-button,
  body.kl-service-v2 .kl-menu-button,
  body.kl-service-v3 .kl-menu-button,
  .kl-nav-fab.kl-menu-button{
    top:calc(29 * 100vw / 640)!important;
    right:calc(9 * 100vw / 640)!important;
    width:calc(52 * 100vw / 640)!important;
    height:calc(52 * 100vw / 640)!important
  }
  .kl-menu-button span,
  .kl-menu-button span:before,
  .kl-menu-button span:after{width:calc(24 * 100vw / 640)!important;height:max(2px, calc(2 * 100vw / 640))!important}
  .kl-menu-button span:before{top:calc(-6 * 100vw / 640)!important}
  .kl-menu-button span:after{top:calc(6 * 100vw / 640)!important}
}
@media(max-width:639px){
  .kl-menu-button,
  body.kl-editorial-v2>.kl-header .kl-menu-button,
  body.kl-library .kl-menu-button,
  body.kl-service .kl-menu-button,
  body.kl-service-v2 .kl-menu-button,
  .kl-nav-fab.kl-menu-button{
    top:calc(14 * 100vw / 320)!important;
    right:calc(10 * 100vw / 320)!important;
    width:calc(42 * 100vw / 320)!important;
    height:calc(42 * 100vw / 320)!important
  }
  .kl-menu-button span,
  .kl-menu-button span:before,
  .kl-menu-button span:after{width:calc(19 * 100vw / 320)!important;height:max(2px, calc(2 * 100vw / 320))!important}
  .kl-menu-button span:before{top:calc(-5 * 100vw / 320)!important}
  .kl-menu-button span:after{top:calc(5 * 100vw / 320)!important}
}

/* Hide the burger while the panel is open, as on home. */
html.kl-nav-open .kl-menu-button,
html.kl-nav-open body.kl-editorial-v2>.kl-header .kl-menu-button,
html.kl-nav-open .kl-nav-fab.kl-menu-button{
  opacity:0!important;
  visibility:hidden!important;
  pointer-events:none!important
}

/* Panel typography and padding = home t450 + rec1363606511. */
.kl-menu.kl-nav-panel,
body.kl-editorial-v2>.kl-header .kl-menu.kl-nav-panel,
body.kl-editorial-v2 .kl-menu.kl-nav-panel,
body.kl-library .kl-menu.kl-nav-panel,
body.kl-service .kl-menu.kl-nav-panel,
body.kl-service-v2 .kl-menu.kl-nav-panel,
body.kl-service-v3 .kl-menu.kl-nav-panel,
body.hub-split .kl-menu.kl-nav-panel,
body.breed-guide .kl-menu.kl-nav-panel,
body.breed-catalog .kl-menu.kl-nav-panel,
body.content-guide .kl-menu.kl-nav-panel,
.kl-header .kl-menu.kl-nav-panel{
  padding:48px 40px 38px!important
}
@media screen and (max-width:640px){
  .kl-menu.kl-nav-panel,
  body.kl-editorial-v2 .kl-menu.kl-nav-panel,
  body.kl-library .kl-menu.kl-nav-panel,
  body.kl-service .kl-menu.kl-nav-panel,
  body.hub-split .kl-menu.kl-nav-panel,
  body.breed-guide .kl-menu.kl-nav-panel,
  .kl-header .kl-menu.kl-nav-panel{
    padding:42px 25px 25px!important
  }
}
.kl-nav-panel__logo{margin:0 0 25px;max-width:160px}
.kl-nav-panel__logo img{display:block;width:auto;height:auto;max-width:160px;max-height:56px}
.kl-menu.kl-nav-panel nav>a,
.kl-menu.kl-nav-panel .t-menu__link-item{
  font:400 18px/1.45 Gilroy,Arial,sans-serif!important;
  color:#272727!important;
  margin:0 0 15px!important
}
.kl-menu.kl-nav-panel .kl-articles>summary{
  font:400 18px/1.45 Gilroy,Arial,sans-serif!important;
  color:#6b4122!important;
  font-weight:400!important
}
.kl-menu.kl-nav-panel .kl-articles>summary:after{color:#6b4122}
.kl-nav-panel__socials{margin-top:auto;padding-top:24px;display:flex;gap:4px;align-items:center}
@media screen and (max-width:480px){
  .kl-menu.kl-nav-panel nav>a,
  .kl-menu.kl-nav-panel .t-menu__link-item,
  .kl-menu.kl-nav-panel .kl-articles>summary{font-size:16px!important}
}

/* Compact header after ~80px of scroll (class toggled from JS; never on home). */
html.kl-nav-compact body.kl-editorial-v2>.kl-header,
html.kl-nav-compact body.kl-library .kl-header,
html.kl-nav-compact body.kl-service .kl-header,
html.kl-nav-compact body.kl-service-v2 .kl-header,
html.kl-nav-compact body.kl-service-v3 .kl-header,
html.kl-nav-compact body.hub-split .kl-header,
html.kl-nav-compact body.breed-guide .kl-header,
html.kl-nav-compact body.breed-catalog .kl-header,
html.kl-nav-compact body.content-guide .kl-header{
  position:fixed!important;
  top:0!important;
  height:64px!important;
  min-height:64px!important;
  background:#fffdf7!important;
  background-image:none!important;
  box-shadow:0 6px 18px rgba(82,53,31,.10)!important;
  pointer-events:auto
}
html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-shell,
html.kl-nav-compact body.kl-library .kl-header .kl-shell,
html.kl-nav-compact body.kl-service .kl-header .kl-shell,
html.kl-nav-compact body.hub-split .kl-header .kl-shell,
html.kl-nav-compact body.breed-guide .kl-header .kl-shell{
  min-height:64px!important;
  height:64px!important
}
html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-header__logo,
html.kl-nav-compact body.kl-library .kl-header__logo,
html.kl-nav-compact body.kl-service .kl-header__logo,
html.kl-nav-compact body.hub-split .kl-header__logo,
html.kl-nav-compact body.breed-guide .kl-header__logo,
html.kl-nav-compact body.breed-catalog .kl-header__logo{
  top:10px!important;
  left:24px!important
}
html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-header__logo img,
html.kl-nav-compact body.kl-library .kl-header__logo img,
html.kl-nav-compact body.kl-service .kl-header__logo img,
html.kl-nav-compact body.hub-split .kl-header__logo img,
html.kl-nav-compact body.breed-guide .kl-header__logo img,
html.kl-nav-compact body.breed-catalog .kl-header__logo img{
  width:70px!important;
  height:auto!important
}
html.kl-nav-compact .kl-menu-button,
html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-menu-button,
html.kl-nav-compact body.kl-library .kl-menu-button,
html.kl-nav-compact body.kl-service .kl-menu-button,
html.kl-nav-compact .kl-nav-fab.kl-menu-button{
  top:10px!important;
  right:20px!important;
  width:44px!important;
  height:44px!important
}
html.kl-nav-compact .kl-menu-button span,
html.kl-nav-compact .kl-menu-button span:before,
html.kl-nav-compact .kl-menu-button span:after{
  width:20px!important;
  height:2px!important
}
html.kl-nav-compact .kl-menu-button span:before{top:-5px!important}
html.kl-nav-compact .kl-menu-button span:after{top:5px!important}

@media(max-width:700px){
  html.kl-nav-compact body.kl-editorial-v2>.kl-header,
  html.kl-nav-compact body.kl-library .kl-header,
  html.kl-nav-compact body.kl-service .kl-header,
  html.kl-nav-compact body.hub-split .kl-header,
  html.kl-nav-compact body.breed-guide .kl-header,
  html.kl-nav-compact body.breed-catalog .kl-header{
    height:56px!important;
    min-height:56px!important
  }
  html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-shell,
  html.kl-nav-compact body.kl-library .kl-header .kl-shell,
  html.kl-nav-compact body.kl-service .kl-header .kl-shell{
    min-height:56px!important;
    height:56px!important
  }
  html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-header__logo,
  html.kl-nav-compact body.kl-library .kl-header__logo,
  html.kl-nav-compact body.kl-service .kl-header__logo,
  html.kl-nav-compact body.breed-guide .kl-header__logo{
    top:8px!important;
    left:12px!important
  }
  html.kl-nav-compact .kl-menu-button,
  html.kl-nav-compact body.kl-editorial-v2>.kl-header .kl-menu-button,
  html.kl-nav-compact body.kl-library .kl-menu-button,
  html.kl-nav-compact body.kl-service .kl-menu-button,
  html.kl-nav-compact .kl-nav-fab.kl-menu-button{
    top:8px!important;
    right:12px!important;
    width:40px!important;
    height:40px!important
  }
  html.kl-nav-compact .kl-menu-button span,
  html.kl-nav-compact .kl-menu-button span:before,
  html.kl-nav-compact .kl-menu-button span:after{width:18px!important}
}

/* Breed breadcrumbs: align to the same 1180 / 64px-inset container, not the window edge. */
body.breed-guide nav.wrap.crumbs,
body.kl-library nav.wrap.crumbs,
body.breed-guide .crumbs,
body.kl-library .crumbs{
  left:0!important;
  right:0!important;
  width:min(1180px,calc(100% - 64px))!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-inline:0!important;
  box-sizing:border-box
}
@media(max-width:700px){
  body.breed-guide nav.wrap.crumbs,
  body.kl-library nav.wrap.crumbs,
  body.breed-guide .crumbs,
  body.kl-library .crumbs{
    width:calc(100% - 36px)!important
  }
}

@media(prefers-reduced-motion:reduce){
  body.kl-editorial-v2>.kl-header,
  body.kl-library .kl-header,
  body.kl-service .kl-header,
  .kl-menu-button,
  .kl-header__logo,
  .kl-header__logo img{transition:none!important}
}


/* ===== 20261112-seam1: overlay-header clearance on hubs / catalogs =====
   After nav4 the header is position:absolute, so hub heroes with 8–12px
   padding were sitting under the logo and gold burger. Articles and
   service landings already pad their heroes and are left untouched. */
body.hub-split .library-hero.hub-hero,
body.hub-split .catalog-hero.hub-hero,
body.kl-library.hub-split .library-hero.hub-hero,
body.kl-library.hub-split .catalog-hero.hub-hero{
  padding-top:max(140px, calc((35 + 60) * 100vw / 1200 + 24px))!important
}
@media(max-width:1199px){
  body.hub-split .library-hero.hub-hero,
  body.hub-split .catalog-hero.hub-hero,
  body.kl-library.hub-split .library-hero.hub-hero,
  body.kl-library.hub-split .catalog-hero.hub-hero{
    padding-top:max(120px, calc((29 + 52) * 100vw / 640 + 20px))!important
  }
}
@media(max-width:700px){
  body.hub-split .library-hero.hub-hero,
  body.hub-split .catalog-hero.hub-hero,
  body.kl-library.hub-split .library-hero.hub-hero,
  body.kl-library.hub-split .catalog-hero.hub-hero{
    padding-top:max(110px, calc((29 + 52) * 100vw / 640 + 20px))!important
  }
}
@media(max-width:639px){
  body.hub-split .library-hero.hub-hero,
  body.hub-split .catalog-hero.hub-hero,
  body.kl-library.hub-split .library-hero.hub-hero,
  body.kl-library.hub-split .catalog-hero.hub-hero{
    padding-top:max(100px, calc((14 + 42) * 100vw / 320 + 16px))!important
  }
}


/* ===== 20261112-seam2: mobile burger lines = home (24×2px, centred) =====
   The vw/1200 span rules are more specific (body.kl-library .kl-menu-button span)
   than the 639px query, so on hubs the lines shrank to ~9px and looked like Ξ.
   Repeat the high-specificity selectors at every breakpoint. */
.kl-menu-button span,
.kl-menu-button span:before,
.kl-menu-button span:after,
body.kl-editorial-v2>.kl-header .kl-menu-button span,
body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
body.kl-library .kl-menu-button span,
body.kl-library .kl-menu-button span:before,
body.kl-library .kl-menu-button span:after,
body.kl-service .kl-menu-button span,
body.kl-service .kl-menu-button span:before,
body.kl-service .kl-menu-button span:after,
body.kl-service-v2 .kl-menu-button span,
body.kl-service-v3 .kl-menu-button span,
body.hub-split .kl-menu-button span,
body.hub-split .kl-menu-button span:before,
body.hub-split .kl-menu-button span:after,
body.breed-guide .kl-menu-button span,
body.breed-catalog .kl-menu-button span,
body.content-guide .kl-menu-button span{
  width:28px!important;
  height:2px!important;
  background:#fff!important;
  border-radius:0!important
}
.kl-menu-button span:before,
body.kl-library .kl-menu-button span:before,
body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
body.hub-split .kl-menu-button span:before{top:-6px!important;left:0!important}
.kl-menu-button span:after,
body.kl-library .kl-menu-button span:after,
body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
body.hub-split .kl-menu-button span:after{top:6px!important;left:0!important}

@media(max-width:1199px){
  .kl-menu-button span,
  .kl-menu-button span:before,
  .kl-menu-button span:after,
  body.kl-editorial-v2>.kl-header .kl-menu-button span,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
  body.kl-library .kl-menu-button span,
  body.kl-library .kl-menu-button span:before,
  body.kl-library .kl-menu-button span:after,
  body.kl-service .kl-menu-button span,
  body.kl-service .kl-menu-button span:before,
  body.kl-service .kl-menu-button span:after,
  body.hub-split .kl-menu-button span,
  body.hub-split .kl-menu-button span:before,
  body.hub-split .kl-menu-button span:after,
  body.breed-guide .kl-menu-button span,
  body.breed-catalog .kl-menu-button span{
    width:24px!important;
    height:2px!important
  }
  body.kl-library .kl-menu-button span:before,
  body.hub-split .kl-menu-button span:before,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:before{top:-6px!important}
  body.kl-library .kl-menu-button span:after,
  body.hub-split .kl-menu-button span:after,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:after{top:6px!important}
}

@media(max-width:639px){
  .kl-menu-button span,
  .kl-menu-button span:before,
  .kl-menu-button span:after,
  body.kl-editorial-v2>.kl-header .kl-menu-button span,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
  body.kl-library .kl-menu-button span,
  body.kl-library .kl-menu-button span:before,
  body.kl-library .kl-menu-button span:after,
  body.kl-service .kl-menu-button span,
  body.kl-service .kl-menu-button span:before,
  body.kl-service .kl-menu-button span:after,
  body.hub-split .kl-menu-button span,
  body.hub-split .kl-menu-button span:before,
  body.hub-split .kl-menu-button span:after,
  body.breed-guide .kl-menu-button span,
  body.breed-catalog .kl-menu-button span,
  body.content-guide .kl-menu-button span{
    width:24px!important;
    height:2px!important;
    background:#fff!important
  }
  .kl-menu-button span:before,
  body.kl-library .kl-menu-button span:before,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:before,
  body.kl-service .kl-menu-button span:before,
  body.hub-split .kl-menu-button span:before,
  body.breed-guide .kl-menu-button span:before{top:-6px!important;left:0!important}
  .kl-menu-button span:after,
  body.kl-library .kl-menu-button span:after,
  body.kl-editorial-v2>.kl-header .kl-menu-button span:after,
  body.kl-service .kl-menu-button span:after,
  body.hub-split .kl-menu-button span:after,
  body.breed-guide .kl-menu-button span:after{top:6px!important;left:0!important}
}
