:root{
  --hub-accent:#bb9b49;
  --hub-dark:#0a272c;
  --hub-text:#1d1d1f;
  --hub-muted:#5f6368;
  --hub-line:#e6e6e6;
  --hub-bg:#ffffff;
  --hub-soft:#f8f7f3;
  --hub-radius:18px;
  --hub-shadow:0 8px 28px rgba(0,0,0,.07)
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--hub-text);background:#fff}
img{max-width:100%;display:block;height:auto}
a{text-decoration:none}
.hub-shell{width:min(1200px,calc(100% - 32px));margin:0 auto}
.hub-section{padding:28px 0}
.hub-section--tight{padding-top:18px;padding-bottom:18px}
.hub-section--hero{padding-top:24px;padding-bottom:24px}
.hub-breadcrumb{
  list-style:none;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
  padding:0;
  color:var(--hub-muted);
  font-size:.95rem
}
.hub-breadcrumb li{list-style:none}
.hub-breadcrumb li+li::before{content:"/";margin-right:8px;color:var(--hub-muted)}
.hub-breadcrumb a{color:var(--hub-muted)}
.hub-breadcrumb a:hover{color:var(--hub-accent)}
.hub-hero{
  text-align:center;
  background:linear-gradient(180deg,#faf8f1 0%,#fff 100%);
  border:1px solid var(--hub-line);
  border-radius:22px;
  padding:30px 18px;
  box-shadow:var(--hub-shadow)
}
.hub-hero h1{
  margin:0 0 10px;
  font-size:clamp(2rem,4.8vw,3rem);
  line-height:1.1;
  color:#111
}
.hub-hero .hub-subheading{
  margin:0 auto 14px;
  max-width:850px;
  color:var(--hub-muted);
  font-size:1.05rem;
  line-height:1.7
}
.hub-intro{max-width:940px;margin:0 auto;text-align:center}
.hub-intro p{margin:0 0 14px;line-height:1.8;color:#30343a}
.hub-cta-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin-top:18px
}
.hub-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 18px;
  border-radius:12px;
  font-weight:800;
  border:2px solid var(--hub-accent);
  transition:.2s ease;
  text-align:center
}
.hub-btn--primary{background:var(--hub-accent);color:#fff}
.hub-btn--secondary{background:#fff;color:var(--hub-accent)}
.hub-btn:hover,.hub-btn:focus-visible{transform:translateY(-1px);outline:none}
.hub-grid-2{display:grid;grid-template-columns:1.2fr .8fr;gap:24px}
.hub-card,.hub-info-box,.hub-compare,.hub-testimonial,.hub-faq-wrap{
  background:var(--hub-bg);
  border:1px solid var(--hub-line);
  border-radius:var(--hub-radius);
  box-shadow:var(--hub-shadow)
}
.hub-card{
  overflow:hidden;
  height:100%;
  display:flex;
  flex-direction:column
}

/* Corrective image treatment: preserve the full supplied image artwork without cropping. */
.hub-card__media{
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--hub-soft);
  display:flex;
  align-items:center;
  justify-content:center
}
.hub-card__media>a{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%
}
.hub-card__media img{
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
  object-position:center;
  background:var(--hub-soft)
}
.hub-card__content{
  padding:18px;
  display:flex;
  flex-direction:column;
  gap:12px;
  flex:1
}
.hub-card__title{margin:0;font-size:1.2rem;line-height:1.35}
.hub-card__title a{color:#111}
.hub-card__title a:hover{color:var(--hub-accent)}
.hub-card__desc{
  margin:0;
  color:#34373c;
  line-height:1.7;
  font-size:.98rem;
  flex:1
}
.hub-card__desc a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.hub-card__actions{margin-top:auto}

/* The featured item now sits inside a clustered three-column grid. Span it across the cluster before applying its two-column layout. */
.hub-featured{
  grid-column:1/-1;
  display:grid;
  grid-template-columns:1.08fr .92fr;
  gap:0;
  overflow:hidden
}
.hub-featured .hub-card__media{
  aspect-ratio:4/3;
  min-height:0
}
.hub-featured .hub-card__content{padding:26px}
.hub-kicker{
  display:inline-block;
  margin:0 0 8px;
  color:var(--hub-accent);
  font-weight:800;
  letter-spacing:.02em;
  text-transform:uppercase;
  font-size:.82rem
}
.hub-box{padding:22px}
.hub-box h2,.hub-box h3{margin:0 0 10px;line-height:1.3}
.hub-box p{margin:0 0 14px;line-height:1.75;color:#34373c}
.hub-link-list{margin:0;padding-left:18px}
.hub-link-list li{margin:0 0 10px}
.hub-link-list a{color:#111;text-decoration:underline;text-underline-offset:2px}
.hub-link-list a:hover{color:var(--hub-accent)}
.hub-section-title{text-align:center;margin:0 0 10px;font-size:clamp(1.5rem,3vw,2rem)}
.hub-section-intro{text-align:center;max-width:820px;margin:0 auto 20px;color:var(--hub-muted);line-height:1.75}
.hub-articles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.hub-compare table{width:100%;border-collapse:collapse}
.hub-compare th,.hub-compare td{padding:14px 16px;text-align:left;border-bottom:1px solid var(--hub-line)}
.hub-compare thead th{background:var(--hub-accent);color:#fff}
.hub-compare tbody tr:last-child td{border-bottom:none}
.hub-pill-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.hub-pill-links a{
  display:inline-flex;
  align-items:center;
  min-height:40px;
  padding:9px 14px;
  border-radius:999px;
  background:#f3f3f3;
  border:1px solid #e7e7e7;
  color:#222
}
.hub-pill-links a:hover{border-color:var(--hub-accent);color:var(--hub-accent)}
#blog-hub-faq{background:var(--hub-dark);border-radius:22px;color:#fff;padding:30px 18px}
#blog-hub-faq h2{color:var(--hub-accent);text-align:center;margin:0 0 10px}
#blog-hub-faq .faq-intro{color:rgba(255,255,255,.86);text-align:center;max-width:820px;margin:0 auto 20px;line-height:1.75}
#blog-hub-faq .faq-list{max-width:900px;margin:0 auto}
#blog-hub-faq details.details-summary{
  margin:0 0 12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.03);
  padding:12px 14px
}
#blog-hub-faq details.details-summary>summary{cursor:pointer;font-weight:900;color:var(--hub-accent);list-style:none}
#blog-hub-faq details.details-summary>summary::-webkit-details-marker{display:none}
#blog-hub-faq details.details-summary>p{margin:10px 0 0;color:rgba(255,255,255,.86);line-height:1.7}
#blog-hub-faq details.details-summary:hover,#blog-hub-faq details.details-summary[open]{border-color:rgba(255,255,255,.22)}
.hub-testimonial blockquote{margin:0;padding:24px 22px;text-align:center}
.hub-testimonial p{margin:0 0 10px;line-height:1.8;font-size:1.05rem}
.hub-testimonial footer{color:var(--hub-muted);font-weight:700}
.sticky-cta{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  display:none;
  gap:8px;
  padding:10px;
  background:rgba(0,0,0,.92);
  z-index:9999
}
.sticky-cta__btn{
  flex:1;
  text-align:center;
  padding:12px 10px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  color:#fff;
  background:#bb9b49
}
.sticky-cta__btn:nth-child(2),.sticky-cta__btn:nth-child(3){background:transparent;border:2px solid #bb9b49;color:#bb9b49}
.sticky-cta-desktop{
  position:fixed;
  right:22px;
  bottom:86px;
  z-index:9999;
  opacity:0;
  pointer-events:none;
  transition:.2s;
  display:flex;
  flex-direction:column;
  gap:10px;
  width:260px;
  max-width:calc(100vw - 44px)
}
.sticky-cta-desktop.is-visible{opacity:1;pointer-events:auto}
.sticky-cta-desktop__primary,.sticky-cta-desktop__secondary{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 16px;
  border-radius:14px;
  text-align:center;
  text-decoration:none;
  font-weight:800;
  font-size:14px;
  line-height:1.2
}
.sticky-cta-desktop__primary{background:#bb9b49;color:#fff;border:2px solid #bb9b49}
.sticky-cta-desktop__secondary{background:#bb9b49;color:#000;border:2px solid #000}
.sticky-cta-mobile{
  position:fixed;
  left:16px;
  right:16px;
  bottom:calc(56px + env(safe-area-inset-bottom,0px));
  z-index:9999;
  display:none;
  gap:8px;
  opacity:0;
  pointer-events:none;
  transition:.2s
}
.sticky-cta-mobile.is-visible{opacity:1;pointer-events:auto}
.sticky-cta-mobile.sticky-lift{bottom:calc(180px + env(safe-area-inset-bottom,0px))}
.sticky-cta-mobile .sticky-cta__btn{
  flex:1;
  text-align:center;
  padding:12px 10px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  color:#fff;
  background:#bb9b49;
  min-height:48px;
  display:flex;
  align-items:center;
  justify-content:center
}
.sticky-cta-mobile .sticky-cta__btn:nth-child(2),.sticky-cta-mobile .sticky-cta__btn:nth-child(3){background:transparent;border:2px solid #bb9b49;color:#bb9b49}
#toTop{
  position:fixed!important;
  right:var(--toTop-right)!important;
  bottom:var(--toTop-bottom)!important;
  width:52px!important;
  height:52px!important
}

/* PSI accessibility/performance hardening - dog training blog hub */
.hub-btn,.hub-btn:visited,.hub-pill-links a,.hub-link-list a{
  min-height:44px;
  min-width:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.35rem;
  text-decoration:none;
  line-height:1.25
}
.hub-btn--primary,.hub-btn--primary:visited{background:#111;border:2px solid #111;color:#fff}
.hub-btn--secondary,.hub-btn--secondary:visited{background:#fff;border:2px solid #111;color:#111}
.hub-btn:hover,.hub-btn:focus,.hub-btn:focus-visible{
  background:#bb9b49;
  border-color:#111;
  color:#111;
  outline:3px solid #111;
  outline-offset:3px
}
.hub-kicker{background:#111;border:1px solid #111;color:#fff;display:inline-block;font-weight:700;letter-spacing:.04em}
.hub-card,.hub-featured{background:#fff;color:#111}
.hub-card__title a,.hub-card__title a:visited,.hub-card__desc a,.hub-card__desc a:visited,
.hub-link-list a,.hub-link-list a:visited,.hub-pill-links a,.hub-pill-links a:visited{
  color:#111;
  text-decoration:underline;
  text-decoration-thickness:2px;
  text-underline-offset:3px
}
.hub-card__title a:hover,.hub-card__title a:focus,.hub-card__desc a:hover,.hub-card__desc a:focus,
.hub-link-list a:hover,.hub-link-list a:focus,.hub-pill-links a:hover,.hub-pill-links a:focus{
  color:#000;
  background:#f6edd8;
  outline:3px solid #111;
  outline-offset:3px
}
.hub-compare th{background:#111;color:#fff}
.hub-compare td{color:#111}
.sticky-cta-desktop a,.sticky-cta-mobile a,.sticky-cta__btn,.sticky-cta-desktop__primary,.sticky-cta-desktop__secondary{
  min-height:44px;
  min-width:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center
}
.sticky-cta-desktop__primary,.sticky-cta-desktop__primary:visited{background:#111;color:#fff;border:2px solid #111}
.sticky-cta-desktop__secondary,.sticky-cta-desktop__secondary:visited,.sticky-cta__btn,.sticky-cta__btn:visited{background:#fff;color:#111;border:2px solid #111}
footer a,footer a:visited{color:#fff;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:3px}
footer a:hover,footer a:focus{color:#bb9b49;outline:3px solid #fff;outline-offset:3px}
.services-mega-menu a,.areas-mega-menu a,.btn-outline-maincolor{
  min-height:44px;
  min-width:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:.75rem 1rem;
  margin:.15rem
}
@media (max-width:1080px){
  .hub-articles{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hub-grid-2{grid-template-columns:1fr}
  .hub-featured{grid-template-columns:1fr}
}
@media (max-width:768px){
  .hub-shell{width:min(100% - 20px,1200px)}
  .hub-articles{grid-template-columns:1fr}
  .hub-featured{grid-column:auto}
  .hub-hero{padding:24px 14px}
  .hub-box{padding:18px}
  .hub-card__content{padding:16px}
  .sticky-cta{display:flex}
  body{padding-bottom:140px}
  .sticky-cta-desktop{display:none!important}
  .sticky-cta-mobile{display:flex}
  :root{
    --toTop-right:16px;
    --toTop-bottom:120px
  }
}
@media (min-width:769px){
  .sticky-cta-desktop{display:flex}
  .sticky-cta-mobile{display:none!important}
  :root{
    --toTop-right:22px;
    --toTop-bottom:22px
  }
}
