/* Split heroes for article and breed hubs: text left, watercolor right, soft edges. */
body.kl-library.hub-split{background:#fffdf7}
body.kl-library.hub-split .kl-header{
  position:relative!important;
  inset:auto!important;
  background:linear-gradient(#fffdf7f5,#fffdf7e8),url('/images/services/watercolor.webp') center top/cover no-repeat;
  box-shadow:none!important;
  border:0!important
}
body.kl-library.hub-split .kl-header:after,
body.kl-library.hub-split .kl-header:before{display:none!important}
body.kl-library.hub-split .kl-header .kl-shell{
  width:min(1180px,calc(100% - 64px));
  max-width:1180px;
  min-height:120px;
  margin:0 auto;
  justify-content:flex-start;
  gap:30px
}
body.kl-library.hub-split .crumbs{
  position:static!important;
  width:min(1180px,calc(100% - 64px));
  margin:0 auto 8px;
  padding:0;
  top:auto!important;
  left:auto!important;
  opacity:.85
}

body.kl-library.hub-split .library-hero.hub-hero,
body.kl-library.hub-split .catalog-hero.hub-hero{
  position:relative;
  isolation:isolate;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
  /* Reserve space under the overlay header (logo + gold burger). */
  padding:max(140px, calc((35 + 60) * 100vw / 1200 + 24px)) 0 72px!important;
  background:linear-gradient(180deg,#fffdf7f2 0%,#fffdf7d9 42%,#fffdf7f0 100%),url('/images/services/watercolor.webp') center/cover no-repeat!important;
  background-color:#fffdf7!important;
  color:#52351f;
  overflow:visible
}
body.kl-library.hub-split .library-hero.hub-hero:after,
body.kl-library.hub-split .catalog-hero.hub-hero:after{
  content:'';
  position:absolute;
  pointer-events:none;
  left:0;right:0;bottom:-1px;
  height:160px;
  z-index:0;
  background:linear-gradient(180deg,rgba(255,253,247,0) 0%,rgba(255,253,247,.45) 45%,#fffdf7 100%);
  clip-path:none!important
}
body.kl-library.hub-split .hub-hero__grid,
body.kl-library.hub-split .library-hero.hub-hero>.hub-hero__grid,
body.kl-library.hub-split .library-hero.hub-hero>div.hub-hero__grid{
  display:grid!important;
  grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  gap:36px 48px;
  align-items:center;
  width:min(1180px,calc(100% - 64px))!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0!important;
  text-align:left!important
}
body.kl-library.hub-split .hub-hero__copy{text-align:left;max-width:620px}
body.kl-library.hub-split .hub-hero .eyebrow{
  margin:0 0 14px!important;
  text-align:left!important;
  color:#6b4122;
  font-size:12px!important;
  letter-spacing:.14em
}
body.kl-library.hub-split .hub-hero h1{
  font-size:clamp(32px,3.6vw,52px)!important;
  line-height:1.12!important;
  max-width:none!important;
  margin:0!important;
  text-align:left!important;
  text-wrap:balance
}
body.kl-library.hub-split .hub-hero :is(.catalog-hero__lead,.breed-hero__lead,.content-hero__lead,.hub-hero__lead){
  font-size:18px!important;
  line-height:1.5!important;
  max-width:none!important;
  margin:18px 0 26px!important;
  text-align:left!important
}
body.kl-library.hub-split .hub-hero__grid{position:relative;z-index:1}
body.kl-library.hub-split .hub-hero .btn{
  min-width:240px;
  position:relative;
  z-index:2;
  background:#6b4122!important;
  background-image:none!important;
  color:#fff!important;
  opacity:1!important;
  filter:none!important;
  mix-blend-mode:normal!important
}
body.kl-library.hub-split .hub-hero .btn-secondary{
  background:#fff!important;
  color:#52351f!important
}
body.kl-library.hub-split .hub-hero .catalog-hero__actions,
body.kl-library.hub-split .hub-hero .breed-hero__routes{
  justify-content:flex-start;
  margin-top:0
}

body.kl-library.hub-split .hub-hero__art{
  position:relative;
  display:block;
  width:100%;
  max-width:560px;
  justify-self:end;
  -webkit-mask-image:radial-gradient(ellipse 86% 82% at 50% 52%,#000 52%,transparent 78%);
  mask-image:radial-gradient(ellipse 86% 82% at 50% 52%,#000 52%,transparent 78%)
}
body.kl-library.hub-split .hub-hero__art img{
  display:block;
  width:100%;
  height:auto!important;
  max-height:480px;
  object-fit:contain!important;
  object-position:center!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  filter:none!important;
  mix-blend-mode:multiply
}

/* Compact category tiles on /stati */
body.kl-library.hub-split .hub-cats{padding:28px 0 56px}
body.kl-library.hub-split .hub-cats>h2{text-align:center;margin:0 auto 26px}
body.kl-library.hub-split .hub-cats .catalog-grid{gap:20px}
body.kl-library.hub-split .hub-cats .catalog-card picture{height:170px}
body.kl-library.hub-split .hub-cats .catalog-card__body{padding:18px 20px 20px!important}
body.kl-library.hub-split .hub-cats .catalog-card :is(h2,h3){font-size:26px!important}
body.kl-library.hub-split .hub-cats .catalog-card__count{
  display:block;
  margin-top:8px;
  color:#6b4122;
  font:500 13px/1.4 Gilroy,Arial,sans-serif
}
body.kl-library.hub-split .hub-cats .catalog-card__tag{
  margin-top:14px;
  background:#6b4122!important;
  color:#fff!important;
  padding:9px 14px;
  border-radius:8px!important;
  font:600 13px/1.3 Gilroy,Arial,sans-serif!important
}
body.kl-library.hub-split .hub-cats .catalog-card:hover .catalog-card__tag{background:#52351f!important}

@media(max-width:1100px){
  body.kl-library.hub-split .hub-hero__grid,
  body.kl-library.hub-split .library-hero.hub-hero>.hub-hero__grid{gap:24px}
  body.kl-library.hub-split .hub-hero h1{font-size:40px!important}
}
@media(max-width:700px){
  body.kl-library.hub-split .kl-header .kl-shell,
  body.kl-library.hub-split .crumbs,
  body.kl-library.hub-split .hub-hero__grid,
  body.kl-library.hub-split .library-hero.hub-hero>.hub-hero__grid{
    width:calc(100% - 36px)!important
  }
  body.kl-library.hub-split .kl-header .kl-shell{min-height:100px}
  body.kl-library.hub-split .library-hero.hub-hero,
  body.kl-library.hub-split .catalog-hero.hub-hero{
    padding:max(110px, calc((29 + 52) * 100vw / 640 + 20px)) 0 56px!important
  }
  body.kl-library.hub-split .hub-hero__grid,
  body.kl-library.hub-split .library-hero.hub-hero>.hub-hero__grid{
    grid-template-columns:1fr!important;
    gap:18px
  }
  body.kl-library.hub-split .hub-hero__copy{max-width:none}
  body.kl-library.hub-split .hub-hero h1{font-size:32px!important}
  body.kl-library.hub-split .hub-hero :is(.catalog-hero__lead,.hub-hero__lead){font-size:17px!important;margin:16px 0 22px!important}
  body.kl-library.hub-split .hub-hero .btn{width:100%;max-width:320px;min-width:0}
  body.kl-library.hub-split .hub-hero__art{max-width:100%;justify-self:center}
  body.kl-library.hub-split .hub-hero__art img{max-height:300px}
  body.kl-library.hub-split .hub-cats .catalog-card picture{height:190px}
}
